Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed routes in ATS, MKTG, hris #583

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/api/src/accounting/account/account.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/account')
@Controller('accounting/account')
@ApiTags('accounting/accounts')
@Controller('accounting/accounts')
export class AccountController {
constructor(
private readonly accountService: AccountService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/address/address.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/address')
@Controller('accounting/address')
@ApiTags('accounting/addresses')
@Controller('accounting/addresses')
export class AddressController {
constructor(
private readonly addressService: AddressService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/attachment')
@Controller('accounting/attachment')
@ApiTags('accounting/attachments')
@Controller('accounting/attachments')
export class AttachmentController {
constructor(
private readonly attachmentService: AttachmentService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/balancesheet')
@Controller('accounting/balancesheet')
@ApiTags('accounting/balancesheets')
@Controller('accounting/balancesheets')
export class BalanceSheetController {
constructor(
private readonly balancesheetService: BalanceSheetService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/cashflowstatement')
@Controller('accounting/cashflowstatement')
@ApiTags('accounting/cashflowstatements')
@Controller('accounting/cashflowstatements')
export class CashflowStatementController {
constructor(
private readonly cashflowstatementService: CashflowStatementService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/companyinfo')
@Controller('accounting/companyinfo')
@ApiTags('accounting/companyinfos')
@Controller('accounting/companyinfos')
export class CompanyInfoController {
constructor(
private readonly companyinfoService: CompanyInfoService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/contact/contact.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/contact')
@Controller('accounting/contact')
@ApiTags('accounting/contacts')
@Controller('accounting/contacts')
export class ContactController {
constructor(
private readonly contactService: ContactService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/creditnote')
@Controller('accounting/creditnote')
@ApiTags('accounting/creditnotes')
@Controller('accounting/creditnotes')
export class CreditNoteController {
constructor(
private readonly creditnoteService: CreditNoteService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/expense/expense.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/expense')
@Controller('accounting/expense')
@ApiTags('accounting/expenses')
@Controller('accounting/expenses')
export class ExpenseController {
constructor(
private readonly expenseService: ExpenseService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/incomestatement')
@Controller('accounting/incomestatement')
@ApiTags('accounting/incomestatements')
@Controller('accounting/incomestatements')
export class IncomeStatementController {
constructor(
private readonly incomestatementService: IncomeStatementService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/invoice/invoice.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/invoice')
@Controller('accounting/invoice')
@ApiTags('accounting/invoices')
@Controller('accounting/invoices')
export class InvoiceController {
constructor(
private readonly invoiceService: InvoiceService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/item/item.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/item')
@Controller('accounting/item')
@ApiTags('accounting/items')
@Controller('accounting/items')
export class ItemController {
constructor(
private readonly itemService: ItemService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/journalentry')
@Controller('accounting/journalentry')
@ApiTags('accounting/journalentries')
@Controller('accounting/journalentries')
export class JournalEntryController {
constructor(
private readonly journalentryService: JournalEntryService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/payment/payment.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/payment')
@Controller('accounting/payment')
@ApiTags('accounting/payments')
@Controller('accounting/payments')
export class PaymentController {
constructor(
private readonly paymentService: PaymentService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/phonenumber')
@Controller('accounting/phonenumber')
@ApiTags('accounting/phonenumbers')
@Controller('accounting/phonenumbers')
export class PhoneNumberController {
constructor(
private readonly phonenumberService: PhoneNumberService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/purchaseorder')
@Controller('accounting/purchaseorder')
@ApiTags('accounting/purchaseorders')
@Controller('accounting/purchaseorders')
export class PurchaseOrderController {
constructor(
private readonly purchaseorderService: PurchaseOrderService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/taxrate/taxrate.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/taxrate')
@Controller('accounting/taxrate')
@ApiTags('accounting/taxrates')
@Controller('accounting/taxrates')
export class TaxRateController {
constructor(
private readonly taxrateService: TaxRateService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/trackingcategory')
@Controller('accounting/trackingcategory')
@ApiTags('accounting/trackingcategories')
@Controller('accounting/trackingcategories')
export class TrackingCategoryController {
constructor(
private readonly trackingcategoryService: TrackingCategoryService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/transaction')
@Controller('accounting/transaction')
@ApiTags('accounting/transactions')
@Controller('accounting/transactions')
export class TransactionController {
constructor(
private readonly transactionService: TransactionService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('accounting/vendorcredit')
@Controller('accounting/vendorcredit')
@ApiTags('accounting/vendorcredits')
@Controller('accounting/vendorcredits')
export class VendorCreditController {
constructor(
private readonly vendorcreditService: VendorCreditService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/activity/activity.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/activity')
@Controller('ats/activity')
@ApiTags('ats/activities')
@Controller('ats/activities')
export class ActivityController {
constructor(
private readonly activityService: ActivityService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/application/application.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/application')
@Controller('ats/application')
@ApiTags('ats/applications')
@Controller('ats/applications')
export class ApplicationController {
constructor(
private readonly applicationService: ApplicationService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/attachment/attachment.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/attachment')
@Controller('ats/attachment')
@ApiTags('ats/attachments')
@Controller('ats/attachments')
export class AttachmentController {
constructor(
private readonly attachmentService: AttachmentService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/candidate/candidate.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/candidate')
@Controller('ats/candidate')
@ApiTags('ats/candidates')
@Controller('ats/candidates')
export class CandidateController {
constructor(
private readonly candidateService: CandidateService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/department/department.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/department')
@Controller('ats/department')
@ApiTags('ats/departments')
@Controller('ats/departments')
export class DepartmentController {
constructor(
private readonly departmentService: DepartmentService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/interview/interview.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/interview')
@Controller('ats/interview')
@ApiTags('ats/interviews')
@Controller('ats/interviews')
export class InterviewController {
constructor(
private readonly interviewService: InterviewService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/job/job.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/job')
@Controller('ats/job')
@ApiTags('ats/jobs')
@Controller('ats/jobs')
export class JobController {
constructor(
private readonly jobService: JobService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/jobinterviewstage')
@Controller('ats/jobinterviewstage')
@ApiTags('ats/jobinterviewstages')
@Controller('ats/jobinterviewstages')
export class JobInterviewStageController {
constructor(
private readonly jobinterviewstageService: JobInterviewStageService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/offer/offer.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/offer')
@Controller('ats/offer')
@ApiTags('ats/offers')
@Controller('ats/offers')
export class OfferController {
constructor(
private readonly offerService: OfferService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/office/office.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/office')
@Controller('ats/office')
@ApiTags('ats/offices')
@Controller('ats/ offices')
export class OfficeController {
constructor(
private readonly officeService: OfficeService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/rejectreason/rejectreason.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/rejectreason')
@Controller('ats/rejectreason')
@ApiTags('ats/rejectreasons')
@Controller('ats/rejectreasons')
export class RejectReasonController {
constructor(
private readonly rejectreasonService: RejectReasonService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/scorecard/scorecard.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/scorecard')
@Controller('ats/scorecard')
@ApiTags('ats/scorecards')
@Controller('ats/scorecards')
export class ScoreCardController {
constructor(
private readonly scorecardService: ScoreCardService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/tag/tag.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/tag')
@Controller('ats/tag')
@ApiTags('ats/tags')
@Controller('ats/tags')
export class TagController {
constructor(
private readonly tagService: TagService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('ats/user')
@Controller('ats/user')
@ApiTags('ats/users')
@Controller('ats/users')
export class UserController {
constructor(
private readonly userService: UserService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/hris/bankinfo/bankinfo.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import {
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('hris/bankinfo')
@Controller('hris/bankinfo')
@ApiTags('hris/bankinfos')
@Controller('hris/bankinfos')
export class BankinfoController {
constructor(
private readonly bankinfoService: BankInfoService,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/hris/benefit/benefit.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
@ApiTags('hris/benefit')
@Controller('hris/benefit')
@ApiTags('hris/benefits')
@Controller('hris/benefits')
export class BenefitController {
constructor(
private readonly benefitService: BenefitService,
Expand Down
Loading
Loading