From 78a2294322463c6e5eaf1cfd6a61cbd98dd56b98 Mon Sep 17 00:00:00 2001 From: nael Date: Wed, 24 Jul 2024 07:41:32 +0200 Subject: [PATCH] :bug: Swagger File Updated --- .../accounting/account/account.controller.ts | 8 +- .../accounting/address/address.controller.ts | 6 +- .../attachment/attachment.controller.ts | 8 +- .../balancesheet/balancesheet.controller.ts | 6 +- .../cashflowstatement.controller.ts | 6 +- .../companyinfo/companyinfo.controller.ts | 6 +- .../accounting/contact/contact.controller.ts | 8 +- .../creditnote/creditnote.controller.ts | 6 +- .../accounting/expense/expense.controller.ts | 8 +- .../incomestatement.controller.ts | 6 +- .../accounting/invoice/invoice.controller.ts | 8 +- .../src/accounting/item/item.controller.ts | 6 +- .../journalentry/journalentry.controller.ts | 8 +- .../accounting/payment/payment.controller.ts | 8 +- .../phonenumber/phonenumber.controller.ts | 6 +- .../purchaseorder/purchaseorder.controller.ts | 8 +- .../accounting/taxrate/taxrate.controller.ts | 6 +- .../trackingcategory.controller.ts | 6 +- .../transaction/transaction.controller.ts | 6 +- .../vendorcredit/vendorcredit.controller.ts | 6 +- .../src/ats/activity/activity.controller.ts | 10 +- .../ats/application/application.controller.ts | 16 +- .../ats/attachment/attachment.controller.ts | 8 +- .../src/ats/candidate/candidate.controller.ts | 8 +- .../ats/department/department.controller.ts | 4 +- .../api/src/ats/eeocs/eeocs.controller.ts | 6 +- .../src/ats/interview/interview.controller.ts | 8 +- packages/api/src/ats/job/job.controller.ts | 6 +- .../jobinterviewstage.controller.ts | 6 +- .../api/src/ats/offer/offer.controller.ts | 6 +- .../api/src/ats/office/office.controller.ts | 6 +- .../rejectreason/rejectreason.controller.ts | 4 +- .../src/ats/scorecard/scorecard.controller.ts | 6 +- packages/api/src/ats/tag/tag.controller.ts | 6 +- packages/api/src/ats/user/user.controller.ts | 6 +- .../api/src/crm/company/company.controller.ts | 8 +- .../api/src/crm/contact/contact.controller.ts | 2 +- packages/api/src/crm/deal/deal.controller.ts | 8 +- .../crm/engagement/engagement.controller.ts | 8 +- packages/api/src/crm/note/note.controller.ts | 8 +- .../api/src/crm/stage/stage.controller.ts | 6 +- packages/api/src/crm/task/task.controller.ts | 8 +- packages/api/src/crm/user/user.controller.ts | 6 +- .../src/filestorage/drive/drive.controller.ts | 6 +- .../src/filestorage/file/file.controller.ts | 8 +- .../filestorage/folder/folder.controller.ts | 8 +- .../src/filestorage/group/group.controller.ts | 6 +- .../src/filestorage/user/user.controller.ts | 2 + .../src/hris/bankinfo/bankinfo.controller.ts | 6 +- .../src/hris/benefit/benefit.controller.ts | 6 +- .../src/hris/company/company.controller.ts | 4 +- .../hris/dependent/dependent.controller.ts | 6 +- .../src/hris/employee/employee.controller.ts | 16 +- .../employeepayrollrun.controller.ts | 6 +- .../employerbenefit.controller.ts | 6 +- .../hris/employment/employment.controller.ts | 6 +- .../api/src/hris/group/group.controller.ts | 6 +- .../src/hris/location/location.controller.ts | 6 +- .../src/hris/paygroup/paygroup.controller.ts | 6 +- .../hris/payrollrun/payrollrun.controller.ts | 4 +- .../src/hris/timeoff/timeoff.controller.ts | 8 +- .../timeoffbalance.controller.ts | 6 +- packages/api/src/main.ts | 8 +- .../action/action.controller.ts | 8 +- .../automation/automation.controller.ts | 8 +- .../campaign/campaign.controller.ts | 8 +- .../contact/contact.controller.ts | 4 +- .../email/email.controller.ts | 2 + .../event/event.controller.ts | 2 + .../list/list.controller.ts | 2 + .../message/message.controller.ts | 2 + .../template/template.controller.ts | 2 + .../user/user.controller.ts | 2 + .../ticketing/account/account.controller.ts | 6 +- .../attachment/attachment.controller.ts | 42 +- .../collection/collection.controller.ts | 6 +- .../ticketing/comment/comment.controller.ts | 42 +- .../ticketing/contact/contact.controller.ts | 6 +- .../api/src/ticketing/tag/tag.controller.ts | 6 +- .../api/src/ticketing/team/team.controller.ts | 6 +- .../src/ticketing/ticket/ticket.controller.ts | 8 +- .../api/src/ticketing/user/user.controller.ts | 6 +- packages/api/swagger/swagger-spec.yaml | 977 ++++++++++-------- 83 files changed, 885 insertions(+), 686 deletions(-) diff --git a/packages/api/src/accounting/account/account.controller.ts b/packages/api/src/accounting/account/account.controller.ts index 601c1e084..e4a5a65b6 100644 --- a/packages/api/src/accounting/account/account.controller.ts +++ b/packages/api/src/accounting/account/account.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { AccountService } from './services/account.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/account') @Controller('accounting/account') export class AccountController { @@ -40,7 +42,7 @@ export class AccountController { } @ApiOperation({ - operationId: 'getAccountingAccounts', + operationId: 'listAccountingAccounts', summary: 'List a batch of Accounts', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class AccountController { } @ApiOperation({ - operationId: 'getAccountingAccount', + operationId: 'retrieveAccountingAccount', summary: 'Retrieve a Account', description: 'Retrieve a account from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class AccountController { } @ApiOperation({ - operationId: 'addAccount', + operationId: 'createAccountingAccount', summary: 'Create a Account', description: 'Create a account in any supported Accounting software', }) diff --git a/packages/api/src/accounting/address/address.controller.ts b/packages/api/src/accounting/address/address.controller.ts index cad14883b..1ef29583d 100644 --- a/packages/api/src/accounting/address/address.controller.ts +++ b/packages/api/src/accounting/address/address.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { AddressService } from './services/address.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/address') @Controller('accounting/address') export class AddressController { @@ -40,7 +42,7 @@ export class AddressController { } @ApiOperation({ - operationId: 'getAddresss', + operationId: 'listAccountingAddress', summary: 'List a batch of Addresss', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class AddressController { } @ApiOperation({ - operationId: 'getAddress', + operationId: 'retrieveAccountingAddress', summary: 'Retrieve a Address', description: 'Retrieve a address from any connected Accounting software', }) diff --git a/packages/api/src/accounting/attachment/attachment.controller.ts b/packages/api/src/accounting/attachment/attachment.controller.ts index 33c99408e..8039fa2a7 100644 --- a/packages/api/src/accounting/attachment/attachment.controller.ts +++ b/packages/api/src/accounting/attachment/attachment.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { AttachmentService } from './services/attachment.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/attachment') @Controller('accounting/attachment') export class AttachmentController { @@ -40,7 +42,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getAccountingAttachments', + operationId: 'listAccountingAttachments', summary: 'List a batch of Attachments', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getAccountingAttachment', + operationId: 'retrieveAccountingAttachment', summary: 'Retrieve a Attachment', description: 'Retrieve a attachment from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'addAccountingAttachment', + operationId: 'createAccountingAttachment', summary: 'Create a Attachment', description: 'Create a attachment in any supported Accounting software', }) diff --git a/packages/api/src/accounting/balancesheet/balancesheet.controller.ts b/packages/api/src/accounting/balancesheet/balancesheet.controller.ts index baa485274..b61f34ce4 100644 --- a/packages/api/src/accounting/balancesheet/balancesheet.controller.ts +++ b/packages/api/src/accounting/balancesheet/balancesheet.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { BalanceSheetService } from './services/balancesheet.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/balancesheet') @Controller('accounting/balancesheet') export class BalanceSheetController { @@ -40,7 +42,7 @@ export class BalanceSheetController { } @ApiOperation({ - operationId: 'getBalanceSheets', + operationId: 'listAccountingBalanceSheets', summary: 'List a batch of BalanceSheets', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class BalanceSheetController { } @ApiOperation({ - operationId: 'getBalanceSheet', + operationId: 'retrieveAccountingBalanceSheet', summary: 'Retrieve a BalanceSheet', description: 'Retrieve a balancesheet from any connected Accounting software', diff --git a/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts b/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts index 2e84477f5..8ba1edd70 100644 --- a/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts +++ b/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { CashflowStatementService } from './services/cashflowstatement.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/cashflowstatement') @Controller('accounting/cashflowstatement') export class CashflowStatementController { @@ -40,7 +42,7 @@ export class CashflowStatementController { } @ApiOperation({ - operationId: 'getCashflowStatements', + operationId: 'listAccountingCashflowStatement', summary: 'List a batch of CashflowStatements', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class CashflowStatementController { } @ApiOperation({ - operationId: 'getCashflowStatement', + operationId: 'retrieveAccountingCashflowStatement', summary: 'Retrieve a CashflowStatement', description: 'Retrieve a cashflowstatement from any connected Accounting software', diff --git a/packages/api/src/accounting/companyinfo/companyinfo.controller.ts b/packages/api/src/accounting/companyinfo/companyinfo.controller.ts index da1b3524a..fc6a7984f 100644 --- a/packages/api/src/accounting/companyinfo/companyinfo.controller.ts +++ b/packages/api/src/accounting/companyinfo/companyinfo.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { CompanyInfoService } from './services/companyinfo.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/companyinfo') @Controller('accounting/companyinfo') export class CompanyInfoController { @@ -40,7 +42,7 @@ export class CompanyInfoController { } @ApiOperation({ - operationId: 'getCompanyInfos', + operationId: 'listAccountingCompanyInfos', summary: 'List a batch of CompanyInfos', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class CompanyInfoController { } @ApiOperation({ - operationId: 'getCompanyInfo', + operationId: 'retrieveAccountingCompanyInfo', summary: 'Retrieve a CompanyInfo', description: 'Retrieve a companyinfo from any connected Accounting software', diff --git a/packages/api/src/accounting/contact/contact.controller.ts b/packages/api/src/accounting/contact/contact.controller.ts index 8a49f1bf2..3d2ab8f79 100644 --- a/packages/api/src/accounting/contact/contact.controller.ts +++ b/packages/api/src/accounting/contact/contact.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ContactService } from './services/contact.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/contact') @Controller('accounting/contact') export class ContactController { @@ -40,7 +42,7 @@ export class ContactController { } @ApiOperation({ - operationId: 'getAccountingContacts', + operationId: 'listAccountingContacts', summary: 'List a batch of Contacts', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class ContactController { } @ApiOperation({ - operationId: 'getAccountingContact', + operationId: 'retrieveAccountingContact', summary: 'Retrieve a Contact', description: 'Retrieve a contact from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class ContactController { } @ApiOperation({ - operationId: 'addAccountingContact', + operationId: 'createAccountingContact', summary: 'Create a Contact', description: 'Create a contact in any supported Accounting software', }) diff --git a/packages/api/src/accounting/creditnote/creditnote.controller.ts b/packages/api/src/accounting/creditnote/creditnote.controller.ts index bfa22bd9c..4da1799b1 100644 --- a/packages/api/src/accounting/creditnote/creditnote.controller.ts +++ b/packages/api/src/accounting/creditnote/creditnote.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { CreditNoteService } from './services/creditnote.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/creditnote') @Controller('accounting/creditnote') export class CreditNoteController { @@ -40,7 +42,7 @@ export class CreditNoteController { } @ApiOperation({ - operationId: 'getCreditNotes', + operationId: 'listAccountingCreditNote', summary: 'List a batch of CreditNotes', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class CreditNoteController { } @ApiOperation({ - operationId: 'getCreditNote', + operationId: 'retrieveAccountingCreditNote', summary: 'Retrieve a CreditNote', description: 'Retrieve a creditnote from any connected Accounting software', }) diff --git a/packages/api/src/accounting/expense/expense.controller.ts b/packages/api/src/accounting/expense/expense.controller.ts index 74e3130b1..de1ed57c1 100644 --- a/packages/api/src/accounting/expense/expense.controller.ts +++ b/packages/api/src/accounting/expense/expense.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ExpenseService } from './services/expense.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/expense') @Controller('accounting/expense') export class ExpenseController { @@ -40,7 +42,7 @@ export class ExpenseController { } @ApiOperation({ - operationId: 'getExpenses', + operationId: 'listAccountingExpense', summary: 'List a batch of Expenses', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class ExpenseController { } @ApiOperation({ - operationId: 'getExpense', + operationId: 'retrieveAccountingExpense', summary: 'Retrieve a Expense', description: 'Retrieve a expense from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class ExpenseController { } @ApiOperation({ - operationId: 'addExpense', + operationId: 'createAccountingExpense', summary: 'Create a Expense', description: 'Create a expense in any supported Accounting software', }) diff --git a/packages/api/src/accounting/incomestatement/incomestatement.controller.ts b/packages/api/src/accounting/incomestatement/incomestatement.controller.ts index 4de3daaed..84d9f101d 100644 --- a/packages/api/src/accounting/incomestatement/incomestatement.controller.ts +++ b/packages/api/src/accounting/incomestatement/incomestatement.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { IncomeStatementService } from './services/incomestatement.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/incomestatement') @Controller('accounting/incomestatement') export class IncomeStatementController { @@ -40,7 +42,7 @@ export class IncomeStatementController { } @ApiOperation({ - operationId: 'getIncomeStatements', + operationId: 'listAccountingIncomeStatement', summary: 'List a batch of IncomeStatements', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class IncomeStatementController { } @ApiOperation({ - operationId: 'getIncomeStatement', + operationId: 'retrieveAccountingIncomeStatement', summary: 'Retrieve a IncomeStatement', description: 'Retrieve a incomestatement from any connected Accounting software', diff --git a/packages/api/src/accounting/invoice/invoice.controller.ts b/packages/api/src/accounting/invoice/invoice.controller.ts index 198165bf7..62571dd51 100644 --- a/packages/api/src/accounting/invoice/invoice.controller.ts +++ b/packages/api/src/accounting/invoice/invoice.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { InvoiceService } from './services/invoice.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/invoice') @Controller('accounting/invoice') export class InvoiceController { @@ -40,7 +42,7 @@ export class InvoiceController { } @ApiOperation({ - operationId: 'getInvoices', + operationId: 'listAccountingInvoice', summary: 'List a batch of Invoices', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class InvoiceController { } @ApiOperation({ - operationId: 'getInvoice', + operationId: 'retrieveAccountingInvoice', summary: 'Retrieve a Invoice', description: 'Retrieve a invoice from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class InvoiceController { } @ApiOperation({ - operationId: 'addInvoice', + operationId: 'createAccountingInvoice', summary: 'Create a Invoice', description: 'Create a invoice in any supported Accounting software', }) diff --git a/packages/api/src/accounting/item/item.controller.ts b/packages/api/src/accounting/item/item.controller.ts index 9bcbbdfc0..a7eeecdd5 100644 --- a/packages/api/src/accounting/item/item.controller.ts +++ b/packages/api/src/accounting/item/item.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ItemService } from './services/item.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/item') @Controller('accounting/item') export class ItemController { @@ -37,7 +39,7 @@ export class ItemController { } @ApiOperation({ - operationId: 'getItems', + operationId: 'listAccountingItem', summary: 'List a batch of Items', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class ItemController { } @ApiOperation({ - operationId: 'getItem', + operationId: 'retrieveAccountingItem', summary: 'Retrieve a Item', description: 'Retrieve a item from any connected Accounting software', }) diff --git a/packages/api/src/accounting/journalentry/journalentry.controller.ts b/packages/api/src/accounting/journalentry/journalentry.controller.ts index d5cd1ea2e..d3f691019 100644 --- a/packages/api/src/accounting/journalentry/journalentry.controller.ts +++ b/packages/api/src/accounting/journalentry/journalentry.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { JournalEntryService } from './services/journalentry.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/journalentry') @Controller('accounting/journalentry') export class JournalEntryController { @@ -40,7 +42,7 @@ export class JournalEntryController { } @ApiOperation({ - operationId: 'getJournalEntrys', + operationId: 'listAccountingJournalEntry', summary: 'List a batch of JournalEntrys', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class JournalEntryController { } @ApiOperation({ - operationId: 'getJournalEntry', + operationId: 'retrieveAccountingJournalEntry', summary: 'Retrieve a JournalEntry', description: 'Retrieve a journalentry from any connected Accounting software', @@ -121,7 +123,7 @@ export class JournalEntryController { } @ApiOperation({ - operationId: 'addJournalEntry', + operationId: 'createAccountingJournalEntry', summary: 'Create a JournalEntry', description: 'Create a journalentry in any supported Accounting software', }) diff --git a/packages/api/src/accounting/payment/payment.controller.ts b/packages/api/src/accounting/payment/payment.controller.ts index acce60091..076ae4a67 100644 --- a/packages/api/src/accounting/payment/payment.controller.ts +++ b/packages/api/src/accounting/payment/payment.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { PaymentService } from './services/payment.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/payment') @Controller('accounting/payment') export class PaymentController { @@ -40,7 +42,7 @@ export class PaymentController { } @ApiOperation({ - operationId: 'getPayments', + operationId: 'listAccountingPayment', summary: 'List a batch of Payments', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class PaymentController { } @ApiOperation({ - operationId: 'getPayment', + operationId: 'retrieveAccountingPayment', summary: 'Retrieve a Payment', description: 'Retrieve a payment from any connected Accounting software', }) @@ -120,7 +122,7 @@ export class PaymentController { } @ApiOperation({ - operationId: 'addPayment', + operationId: 'createAccountingPayment', summary: 'Create a Payment', description: 'Create a payment in any supported Accounting software', }) diff --git a/packages/api/src/accounting/phonenumber/phonenumber.controller.ts b/packages/api/src/accounting/phonenumber/phonenumber.controller.ts index 8af98e9a8..e6f76de68 100644 --- a/packages/api/src/accounting/phonenumber/phonenumber.controller.ts +++ b/packages/api/src/accounting/phonenumber/phonenumber.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { PhoneNumberService } from './services/phonenumber.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/phonenumber') @Controller('accounting/phonenumber') export class PhoneNumberController { @@ -40,7 +42,7 @@ export class PhoneNumberController { } @ApiOperation({ - operationId: 'getPhoneNumbers', + operationId: 'listAccountingPhonenumber', summary: 'List a batch of PhoneNumbers', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class PhoneNumberController { } @ApiOperation({ - operationId: 'getPhoneNumber', + operationId: 'retrieveAccountingPhonenumber', summary: 'Retrieve a PhoneNumber', description: 'Retrieve a phonenumber from any connected Accounting software', diff --git a/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts b/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts index 0a2d11873..f40ed5d7c 100644 --- a/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts +++ b/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { PurchaseOrderService } from './services/purchaseorder.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/purchaseorder') @Controller('accounting/purchaseorder') export class PurchaseOrderController { @@ -40,7 +42,7 @@ export class PurchaseOrderController { } @ApiOperation({ - operationId: 'getPurchaseOrders', + operationId: 'listAccountingPurchaseOrder', summary: 'List a batch of PurchaseOrders', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class PurchaseOrderController { } @ApiOperation({ - operationId: 'getPurchaseOrder', + operationId: 'retrieveAccountingPurchaseOrder', summary: 'Retrieve a PurchaseOrder', description: 'Retrieve a purchaseorder from any connected Accounting software', @@ -121,7 +123,7 @@ export class PurchaseOrderController { } @ApiOperation({ - operationId: 'addPurchaseOrder', + operationId: 'createAccountingPurchaseOrder', summary: 'Create a PurchaseOrder', description: 'Create a purchaseorder in any supported Accounting software', }) diff --git a/packages/api/src/accounting/taxrate/taxrate.controller.ts b/packages/api/src/accounting/taxrate/taxrate.controller.ts index 99cb88a27..9ff85909e 100644 --- a/packages/api/src/accounting/taxrate/taxrate.controller.ts +++ b/packages/api/src/accounting/taxrate/taxrate.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TaxRateService } from './services/taxrate.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/taxrate') @Controller('accounting/taxrate') export class TaxRateController { @@ -40,7 +42,7 @@ export class TaxRateController { } @ApiOperation({ - operationId: 'getTaxRates', + operationId: 'listAccountingTaxRate', summary: 'List a batch of TaxRates', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class TaxRateController { } @ApiOperation({ - operationId: 'getTaxRate', + operationId: 'retrieveAccountingTaxRate', summary: 'Retrieve a TaxRate', description: 'Retrieve a taxrate from any connected Accounting software', }) diff --git a/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts b/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts index 8a800b931..529343c64 100644 --- a/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts +++ b/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TrackingCategoryService } from './services/trackingcategory.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/trackingcategory') @Controller('accounting/trackingcategory') export class TrackingCategoryController { @@ -40,7 +42,7 @@ export class TrackingCategoryController { } @ApiOperation({ - operationId: 'getTrackingCategorys', + operationId: 'listAccountingTrackingCategorys', summary: 'List a batch of TrackingCategorys', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class TrackingCategoryController { } @ApiOperation({ - operationId: 'getTrackingCategory', + operationId: 'retrieveAccountingTrackingCategory', summary: 'Retrieve a TrackingCategory', description: 'Retrieve a trackingcategory from any connected Accounting software', diff --git a/packages/api/src/accounting/transaction/transaction.controller.ts b/packages/api/src/accounting/transaction/transaction.controller.ts index 5c94ac777..3ef5f3359 100644 --- a/packages/api/src/accounting/transaction/transaction.controller.ts +++ b/packages/api/src/accounting/transaction/transaction.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TransactionService } from './services/transaction.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/transaction') @Controller('accounting/transaction') export class TransactionController { @@ -40,7 +42,7 @@ export class TransactionController { } @ApiOperation({ - operationId: 'getTransactions', + operationId: 'listAccountingTransaction', summary: 'List a batch of Transactions', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class TransactionController { } @ApiOperation({ - operationId: 'getTransaction', + operationId: 'retrieveAccountingTransaction', summary: 'Retrieve a Transaction', description: 'Retrieve a transaction from any connected Accounting software', diff --git a/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts b/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts index 1a52aa07f..c6fdb8d6a 100644 --- a/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts +++ b/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { VendorCreditService } from './services/vendorcredit.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('accounting/vendorcredit') @Controller('accounting/vendorcredit') export class VendorCreditController { @@ -40,7 +42,7 @@ export class VendorCreditController { } @ApiOperation({ - operationId: 'getVendorCredits', + operationId: 'listAccountingVendorCredit', summary: 'List a batch of VendorCredits', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class VendorCreditController { } @ApiOperation({ - operationId: 'getVendorCredit', + operationId: 'retrieveAccountingVendorCredit', summary: 'Retrieve a VendorCredit', description: 'Retrieve a vendorcredit from any connected Accounting software', diff --git a/packages/api/src/ats/activity/activity.controller.ts b/packages/api/src/ats/activity/activity.controller.ts index b443928c5..96ecb4774 100644 --- a/packages/api/src/ats/activity/activity.controller.ts +++ b/packages/api/src/ats/activity/activity.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { ActivityService } from './services/activity.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/activity') @Controller('ats/activity') export class ActivityController { @@ -40,8 +42,8 @@ export class ActivityController { } @ApiOperation({ - operationId: 'getActivitys', - summary: 'List a batch of Activitys', + operationId: 'listAtsActivity', + summary: 'List a batch of Activities', }) @ApiHeader({ name: 'x-connection-token', @@ -76,7 +78,7 @@ export class ActivityController { } @ApiOperation({ - operationId: 'getActivity', + operationId: 'retrieveAtsActivity', summary: 'Retrieve a Activity', description: 'Retrieve a activity from any connected Ats software', }) @@ -119,7 +121,7 @@ export class ActivityController { } @ApiOperation({ - operationId: 'addActivity', + operationId: 'createAtsActivity', summary: 'Create a Activity', description: 'Create a activity in any supported Ats software', }) diff --git a/packages/api/src/ats/application/application.controller.ts b/packages/api/src/ats/application/application.controller.ts index aa7da30bf..6a48886d4 100644 --- a/packages/api/src/ats/application/application.controller.ts +++ b/packages/api/src/ats/application/application.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { ApplicationService } from './services/application.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/application') @Controller('ats/application') export class ApplicationController { @@ -40,7 +42,7 @@ export class ApplicationController { } @ApiOperation({ - operationId: 'getApplications', + operationId: 'listAtsApplication', summary: 'List a batch of Applications', }) @ApiHeader({ @@ -76,9 +78,9 @@ export class ApplicationController { } @ApiOperation({ - operationId: 'getApplication', - summary: 'Retrieve a Application', - description: 'Retrieve a application from any connected Ats software', + operationId: 'retrieveAtsApplication', + summary: 'Retrieve an Application', + description: 'Retrieve an application from any connected Ats software', }) @ApiParam({ name: 'id', @@ -119,9 +121,9 @@ export class ApplicationController { } @ApiOperation({ - operationId: 'addApplication', - summary: 'Create a Application', - description: 'Create a application in any supported Ats software', + operationId: 'createAtsApplication', + summary: 'Create an Application', + description: 'Create an application in any supported Ats software', }) @ApiHeader({ name: 'x-connection-token', diff --git a/packages/api/src/ats/attachment/attachment.controller.ts b/packages/api/src/ats/attachment/attachment.controller.ts index 3f6e4836c..b49eda61f 100644 --- a/packages/api/src/ats/attachment/attachment.controller.ts +++ b/packages/api/src/ats/attachment/attachment.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { AttachmentService } from './services/attachment.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/attachment') @Controller('ats/attachment') export class AttachmentController { @@ -40,7 +42,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getAtsAttachments', + operationId: 'listAtsAttachment', summary: 'List a batch of Attachments', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getAtsAttachment', + operationId: 'retrieveAtsAttachment', summary: 'Retrieve a Attachment', description: 'Retrieve a attachment from any connected Ats software', }) @@ -119,7 +121,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'addAtsAttachment', + operationId: 'createAtsAttachment', summary: 'Create a Attachment', description: 'Create a attachment in any supported Ats software', }) diff --git a/packages/api/src/ats/candidate/candidate.controller.ts b/packages/api/src/ats/candidate/candidate.controller.ts index 93b551915..9c1156b43 100644 --- a/packages/api/src/ats/candidate/candidate.controller.ts +++ b/packages/api/src/ats/candidate/candidate.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { CandidateService } from './services/candidate.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/candidate') @Controller('ats/candidate') export class CandidateController { @@ -40,7 +42,7 @@ export class CandidateController { } @ApiOperation({ - operationId: 'getCandidates', + operationId: 'listAtsCandidate', // Updated operationId summary: 'List a batch of Candidates', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class CandidateController { } @ApiOperation({ - operationId: 'getCandidate', + operationId: 'retrieveAtsCandidate', // Updated operationId summary: 'Retrieve a Candidate', description: 'Retrieve a candidate from any connected Ats software', }) @@ -119,7 +121,7 @@ export class CandidateController { } @ApiOperation({ - operationId: 'addCandidate', + operationId: 'createAtsCandidate', // Updated operationId summary: 'Create a Candidate', description: 'Create a candidate in any supported Ats software', }) diff --git a/packages/api/src/ats/department/department.controller.ts b/packages/api/src/ats/department/department.controller.ts index 18f984923..d76e7f9d8 100644 --- a/packages/api/src/ats/department/department.controller.ts +++ b/packages/api/src/ats/department/department.controller.ts @@ -15,8 +15,9 @@ import { ApiOperation, ApiParam, ApiQuery, - ApiTags, + ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { DepartmentService } from './services/department.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/department') @Controller('ats/department') export class DepartmentController { diff --git a/packages/api/src/ats/eeocs/eeocs.controller.ts b/packages/api/src/ats/eeocs/eeocs.controller.ts index 51477555f..824288995 100644 --- a/packages/api/src/ats/eeocs/eeocs.controller.ts +++ b/packages/api/src/ats/eeocs/eeocs.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { UnifiedEeocsInput, UnifiedEeocsOutput } from './types/model.unified'; @@ -25,6 +26,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { EeocsService } from './services/eeocs.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/eeocs') @Controller('ats/eeocs') export class EeocsController { @@ -37,7 +39,7 @@ export class EeocsController { } @ApiOperation({ - operationId: 'getEeocss', + operationId: 'listAtsEeocs', // Updated operationId summary: 'List a batch of Eeocss', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class EeocsController { } @ApiOperation({ - operationId: 'getEeocs', + operationId: 'retrieveAtsEeocs', // Updated operationId summary: 'Retrieve a Eeocs', description: 'Retrieve a eeocs from any connected Ats software', }) diff --git a/packages/api/src/ats/interview/interview.controller.ts b/packages/api/src/ats/interview/interview.controller.ts index 47baf1672..37ebf266b 100644 --- a/packages/api/src/ats/interview/interview.controller.ts +++ b/packages/api/src/ats/interview/interview.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { InterviewService } from './services/interview.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/interview') @Controller('ats/interview') export class InterviewController { @@ -40,7 +42,7 @@ export class InterviewController { } @ApiOperation({ - operationId: 'getInterviews', + operationId: 'listAtsInterview', // Updated operationId summary: 'List a batch of Interviews', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class InterviewController { } @ApiOperation({ - operationId: 'getInterview', + operationId: 'retrieveAtsInterview', // Updated operationId summary: 'Retrieve a Interview', description: 'Retrieve a interview from any connected Ats software', }) @@ -119,7 +121,7 @@ export class InterviewController { } @ApiOperation({ - operationId: 'addInterview', + operationId: 'createAtsInterview', // Updated operationId summary: 'Create a Interview', description: 'Create a interview in any supported Ats software', }) diff --git a/packages/api/src/ats/job/job.controller.ts b/packages/api/src/ats/job/job.controller.ts index 82233be41..1ea48aa35 100644 --- a/packages/api/src/ats/job/job.controller.ts +++ b/packages/api/src/ats/job/job.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { JobService } from './services/job.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/job') @Controller('ats/job') export class JobController { @@ -37,7 +39,7 @@ export class JobController { } @ApiOperation({ - operationId: 'getJobs', + operationId: 'listAtsJob', summary: 'List a batch of Jobs', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class JobController { } @ApiOperation({ - operationId: 'getJob', + operationId: 'retrieveAtsJob', summary: 'Retrieve a Job', description: 'Retrieve a job from any connected Ats software', }) diff --git a/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts b/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts index e449456a5..99af5609e 100644 --- a/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts +++ b/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { JobInterviewStageService } from './services/jobinterviewstage.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/jobinterviewstage') @Controller('ats/jobinterviewstage') export class JobInterviewStageController { @@ -40,7 +42,7 @@ export class JobInterviewStageController { } @ApiOperation({ - operationId: 'getJobInterviewStages', + operationId: 'listAtsJobInterviewStage', summary: 'List a batch of JobInterviewStages', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class JobInterviewStageController { } @ApiOperation({ - operationId: 'getJobInterviewStage', + operationId: 'retrieveAtsJobInterviewStage', summary: 'Retrieve a JobInterviewStage', description: 'Retrieve a jobinterviewstage from any connected Ats software', }) diff --git a/packages/api/src/ats/offer/offer.controller.ts b/packages/api/src/ats/offer/offer.controller.ts index 60c5d8e24..7ec462f1d 100644 --- a/packages/api/src/ats/offer/offer.controller.ts +++ b/packages/api/src/ats/offer/offer.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { OfferService } from './services/offer.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/offer') @Controller('ats/offer') export class OfferController { @@ -37,7 +39,7 @@ export class OfferController { } @ApiOperation({ - operationId: 'getOffers', + operationId: 'listAtsOffer', summary: 'List a batch of Offers', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class OfferController { } @ApiOperation({ - operationId: 'getOffer', + operationId: 'retrieveAtsOffer', summary: 'Retrieve a Offer', description: 'Retrieve a offer from any connected Ats software', }) diff --git a/packages/api/src/ats/office/office.controller.ts b/packages/api/src/ats/office/office.controller.ts index 7d84667f5..38a002ba4 100644 --- a/packages/api/src/ats/office/office.controller.ts +++ b/packages/api/src/ats/office/office.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { OfficeService } from './services/office.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/office') @Controller('ats/office') export class OfficeController { @@ -37,7 +39,7 @@ export class OfficeController { } @ApiOperation({ - operationId: 'getOffices', + operationId: 'listAtsOffice', summary: 'List a batch of Offices', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class OfficeController { } @ApiOperation({ - operationId: 'getOffice', + operationId: 'retrieveAtsOffice', summary: 'Retrieve a Office', description: 'Retrieve a office from any connected Ats software', }) diff --git a/packages/api/src/ats/rejectreason/rejectreason.controller.ts b/packages/api/src/ats/rejectreason/rejectreason.controller.ts index c882570d7..1ac2fb9f9 100644 --- a/packages/api/src/ats/rejectreason/rejectreason.controller.ts +++ b/packages/api/src/ats/rejectreason/rejectreason.controller.ts @@ -15,8 +15,9 @@ import { ApiOperation, ApiParam, ApiQuery, - ApiTags, + ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { RejectReasonService } from './services/rejectreason.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/rejectreason') @Controller('ats/rejectreason') export class RejectReasonController { diff --git a/packages/api/src/ats/scorecard/scorecard.controller.ts b/packages/api/src/ats/scorecard/scorecard.controller.ts index ee5a29019..8da1009ab 100644 --- a/packages/api/src/ats/scorecard/scorecard.controller.ts +++ b/packages/api/src/ats/scorecard/scorecard.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ScoreCardService } from './services/scorecard.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/scorecard') @Controller('ats/scorecard') export class ScoreCardController { @@ -40,7 +42,7 @@ export class ScoreCardController { } @ApiOperation({ - operationId: 'getScoreCards', + operationId: 'listAtsScorecard', summary: 'List a batch of ScoreCards', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class ScoreCardController { } @ApiOperation({ - operationId: 'getScoreCard', + operationId: 'retrieveAtsScorecard', summary: 'Retrieve a ScoreCard', description: 'Retrieve a scorecard from any connected Ats software', }) diff --git a/packages/api/src/ats/tag/tag.controller.ts b/packages/api/src/ats/tag/tag.controller.ts index c8bedea4b..b199998b5 100644 --- a/packages/api/src/ats/tag/tag.controller.ts +++ b/packages/api/src/ats/tag/tag.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TagService } from './services/tag.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/tag') @Controller('ats/tag') export class TagController { @@ -37,7 +39,7 @@ export class TagController { } @ApiOperation({ - operationId: 'getAtsTags', + operationId: 'listAtsTags', summary: 'List a batch of Tags', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class TagController { } @ApiOperation({ - operationId: 'getAtsTag', + operationId: 'retrieveAtsTag', summary: 'Retrieve a Tag', description: 'Retrieve a tag from any connected Ats software', }) diff --git a/packages/api/src/ats/user/user.controller.ts b/packages/api/src/ats/user/user.controller.ts index dc7f130d0..da5681e3e 100644 --- a/packages/api/src/ats/user/user.controller.ts +++ b/packages/api/src/ats/user/user.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { UserService } from './services/user.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('ats/user') @Controller('ats/user') export class UserController { @@ -37,7 +39,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getAtsUsers', + operationId: 'listAtsUsers', summary: 'List a batch of Users', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getAtsUser', + operationId: 'retrieveAtsUser', summary: 'Retrieve a User', description: 'Retrieve a user from any connected Ats software', }) diff --git a/packages/api/src/crm/company/company.controller.ts b/packages/api/src/crm/company/company.controller.ts index 79de61bfe..3d52e2470 100644 --- a/packages/api/src/crm/company/company.controller.ts +++ b/packages/api/src/crm/company/company.controller.ts @@ -30,7 +30,7 @@ import { UnifiedCompanyOutput, } from './types/model.unified'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/companies') @Controller('crm/companies') export class CompanyController { @@ -43,7 +43,7 @@ export class CompanyController { } @ApiOperation({ - operationId: 'getCompanies', + operationId: 'listCrmCompany', summary: 'List a batch of Companies', }) @ApiHeader({ @@ -80,7 +80,7 @@ export class CompanyController { } @ApiOperation({ - operationId: 'getCrmCompany', + operationId: 'retrieveCrmCompany', summary: 'Retrieve a Company', description: 'Retrieve a company from any connected Crm software', }) @@ -123,7 +123,7 @@ export class CompanyController { } @ApiOperation({ - operationId: 'addCrmCompany', + operationId: 'createCrmCompany', summary: 'Create a Company', description: 'Create a company in any supported Crm software', }) diff --git a/packages/api/src/crm/contact/contact.controller.ts b/packages/api/src/crm/contact/contact.controller.ts index 99255eb5a..ddfb5eced 100644 --- a/packages/api/src/crm/contact/contact.controller.ts +++ b/packages/api/src/crm/contact/contact.controller.ts @@ -31,7 +31,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { ApiCustomResponse } from '@@core/utils/types'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/contacts') @Controller('crm/contacts') export class ContactController { diff --git a/packages/api/src/crm/deal/deal.controller.ts b/packages/api/src/crm/deal/deal.controller.ts index f93022c6c..08ec0eccf 100644 --- a/packages/api/src/crm/deal/deal.controller.ts +++ b/packages/api/src/crm/deal/deal.controller.ts @@ -28,7 +28,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/deals') @Controller('crm/deals') export class DealController { @@ -41,7 +41,7 @@ export class DealController { } @ApiOperation({ - operationId: 'getDeals', + operationId: 'listCrmDeals', summary: 'List a batch of Deals', }) @ApiHeader({ @@ -78,7 +78,7 @@ export class DealController { } @ApiOperation({ - operationId: 'getDeal', + operationId: 'retrieveCrmDeal', summary: 'Retrieve a Deal', description: 'Retrieve a deal from any connected Crm software', }) @@ -121,7 +121,7 @@ export class DealController { } @ApiOperation({ - operationId: 'addDeal', + operationId: 'createCrmDeal', summary: 'Create a Deal', description: 'Create a deal in any supported Crm software', }) diff --git a/packages/api/src/crm/engagement/engagement.controller.ts b/packages/api/src/crm/engagement/engagement.controller.ts index e4cd18417..556869e5c 100644 --- a/packages/api/src/crm/engagement/engagement.controller.ts +++ b/packages/api/src/crm/engagement/engagement.controller.ts @@ -31,7 +31,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/engagements') @Controller('crm/engagements') export class EngagementController { @@ -44,7 +44,7 @@ export class EngagementController { } @ApiOperation({ - operationId: 'getEngagements', + operationId: 'listCrmEngagements', summary: 'List a batch of Engagements', }) @ApiHeader({ @@ -82,7 +82,7 @@ export class EngagementController { } @ApiOperation({ - operationId: 'getEngagement', + operationId: 'retrieveCrmEngagement', summary: 'Retrieve a Engagement', description: 'Retrieve a engagement from any connected Crm software', }) @@ -125,7 +125,7 @@ export class EngagementController { } @ApiOperation({ - operationId: 'addEngagement', + operationId: 'createCrmEngagement', summary: 'Create a Engagement', description: 'Create a engagement in any supported Crm software', }) diff --git a/packages/api/src/crm/note/note.controller.ts b/packages/api/src/crm/note/note.controller.ts index cfc1530cb..e4140ec27 100644 --- a/packages/api/src/crm/note/note.controller.ts +++ b/packages/api/src/crm/note/note.controller.ts @@ -27,7 +27,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/notes') @Controller('crm/notes') export class NoteController { @@ -40,7 +40,7 @@ export class NoteController { } @ApiOperation({ - operationId: 'getNotes', + operationId: 'listCrmNote', summary: 'List a batch of Notes', }) @ApiHeader({ @@ -77,7 +77,7 @@ export class NoteController { } @ApiOperation({ - operationId: 'getNote', + operationId: 'retrieveCrmNote', summary: 'Retrieve a Note', description: 'Retrieve a note from any connected Crm software', }) @@ -120,7 +120,7 @@ export class NoteController { } @ApiOperation({ - operationId: 'addNote', + operationId: 'createCrmNote', summary: 'Create a Note', description: 'Create a note in any supported Crm software', }) diff --git a/packages/api/src/crm/stage/stage.controller.ts b/packages/api/src/crm/stage/stage.controller.ts index f9e72791e..356e68b4b 100644 --- a/packages/api/src/crm/stage/stage.controller.ts +++ b/packages/api/src/crm/stage/stage.controller.ts @@ -24,7 +24,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/stages') @Controller('crm/stages') export class StageController { @@ -37,7 +37,7 @@ export class StageController { } @ApiOperation({ - operationId: 'getStages', + operationId: 'listCrmStages', summary: 'List a batch of Stages', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class StageController { } @ApiOperation({ - operationId: 'getStage', + operationId: 'retrieveCrmStage', summary: 'Retrieve a Stage', description: 'Retrieve a stage from any connected Crm software', }) diff --git a/packages/api/src/crm/task/task.controller.ts b/packages/api/src/crm/task/task.controller.ts index ee2cd690d..32c9212fb 100644 --- a/packages/api/src/crm/task/task.controller.ts +++ b/packages/api/src/crm/task/task.controller.ts @@ -28,7 +28,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/tasks') @Controller('crm/tasks') export class TaskController { @@ -41,7 +41,7 @@ export class TaskController { } @ApiOperation({ - operationId: 'getTasks', + operationId: 'listCrmTask', summary: 'List a batch of Tasks', }) @ApiHeader({ @@ -79,7 +79,7 @@ export class TaskController { } @ApiOperation({ - operationId: 'getTask', + operationId: 'retrieveCrmTask', summary: 'Retrieve a Task', description: 'Retrieve a task from any connected Crm software', }) @@ -122,7 +122,7 @@ export class TaskController { } @ApiOperation({ - operationId: 'addTask', + operationId: 'createCrmTask', summary: 'Create a Task', description: 'Create a task in any supported Crm software', }) diff --git a/packages/api/src/crm/user/user.controller.ts b/packages/api/src/crm/user/user.controller.ts index fa905a138..2a371a65a 100644 --- a/packages/api/src/crm/user/user.controller.ts +++ b/packages/api/src/crm/user/user.controller.ts @@ -24,7 +24,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('crm/users') @Controller('crm/users') export class UserController { @@ -37,7 +37,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getCrmUsers', + operationId: 'listCrmUsers', summary: 'List a batch of Users', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getCrmUser', + operationId: 'retrieveCrmUser', summary: 'Retrieve a User', description: 'Retrieve a user from any connected Crm software', }) diff --git a/packages/api/src/filestorage/drive/drive.controller.ts b/packages/api/src/filestorage/drive/drive.controller.ts index 0f56b7b8a..c3a67f753 100644 --- a/packages/api/src/filestorage/drive/drive.controller.ts +++ b/packages/api/src/filestorage/drive/drive.controller.ts @@ -15,6 +15,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { DriveService } from './services/drive.service'; @@ -23,6 +24,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('filestorage/drives') @Controller('filestorage/drives') export class DriveController { @@ -35,7 +37,7 @@ export class DriveController { } @ApiOperation({ - operationId: 'getDrives', + operationId: 'listFilestorageDrives', summary: 'List a batch of Drives', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class DriveController { } @ApiOperation({ - operationId: 'getDrive', + operationId: 'retrieveFilestorageDrive', summary: 'Retrieve a Drive', description: 'Retrieve a drive from any connected Filestorage software', }) diff --git a/packages/api/src/filestorage/file/file.controller.ts b/packages/api/src/filestorage/file/file.controller.ts index ba6123206..4b7936863 100644 --- a/packages/api/src/filestorage/file/file.controller.ts +++ b/packages/api/src/filestorage/file/file.controller.ts @@ -18,6 +18,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { FileService } from './services/file.service'; @@ -26,6 +27,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('filestorage/files') @Controller('filestorage/files') export class FileController { @@ -38,7 +40,7 @@ export class FileController { } @ApiOperation({ - operationId: 'getFiles', + operationId: 'listFilestorageFile', summary: 'List a batch of Files', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class FileController { } @ApiOperation({ - operationId: 'getFile', + operationId: 'retrieveFilestorageFile', summary: 'Retrieve a File', description: 'Retrieve a file from any connected Filestorage software', }) @@ -120,7 +122,7 @@ export class FileController { } @ApiOperation({ - operationId: 'addFile', + operationId: 'createFilestorageFile', summary: 'Create a File', description: 'Create a file in any supported Filestorage software', }) diff --git a/packages/api/src/filestorage/folder/folder.controller.ts b/packages/api/src/filestorage/folder/folder.controller.ts index 2dd3ff732..3dc45364d 100644 --- a/packages/api/src/filestorage/folder/folder.controller.ts +++ b/packages/api/src/filestorage/folder/folder.controller.ts @@ -18,6 +18,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { FolderService } from './services/folder.service'; @@ -26,6 +27,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('filestorage/folders') @Controller('filestorage/folders') export class FolderController { @@ -38,7 +40,7 @@ export class FolderController { } @ApiOperation({ - operationId: 'getFolders', + operationId: 'listFilestorageFolder', summary: 'List a batch of Folders', }) @ApiHeader({ @@ -75,7 +77,7 @@ export class FolderController { } @ApiOperation({ - operationId: 'getFolder', + operationId: 'retrieveFilestorageFolder', summary: 'Retrieve a Folder', description: 'Retrieve a folder from any connected Filestorage software', }) @@ -119,7 +121,7 @@ export class FolderController { } @ApiOperation({ - operationId: 'addFolder', + operationId: 'createFilestorageFolder', summary: 'Create a Folder', description: 'Create a folder in any supported Filestorage software', }) diff --git a/packages/api/src/filestorage/group/group.controller.ts b/packages/api/src/filestorage/group/group.controller.ts index e128f2cd2..b079abe3f 100644 --- a/packages/api/src/filestorage/group/group.controller.ts +++ b/packages/api/src/filestorage/group/group.controller.ts @@ -19,6 +19,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { GroupService } from './services/group.service'; @@ -27,6 +28,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('filestorage/groups') @Controller('filestorage/groups') export class GroupController { @@ -39,7 +41,7 @@ export class GroupController { } @ApiOperation({ - operationId: 'getFsGroups', + operationId: 'listFilestorageGroup', summary: 'List a batch of Groups', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class GroupController { } @ApiOperation({ - operationId: 'getFsGroup', + operationId: 'retrieveFilestorageGroup', summary: 'Retrieve a Group', description: 'Retrieve a permission from any connected Filestorage software', diff --git a/packages/api/src/filestorage/user/user.controller.ts b/packages/api/src/filestorage/user/user.controller.ts index bd8755a63..154fc1ee2 100644 --- a/packages/api/src/filestorage/user/user.controller.ts +++ b/packages/api/src/filestorage/user/user.controller.ts @@ -15,6 +15,7 @@ import { ApiTags, ApiHeader, ApiQuery, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { UserService } from './services/user.service'; @@ -23,6 +24,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('filestorage/users') @Controller('filestorage/users') export class UserController { diff --git a/packages/api/src/hris/bankinfo/bankinfo.controller.ts b/packages/api/src/hris/bankinfo/bankinfo.controller.ts index 8f777f9da..679a4812b 100644 --- a/packages/api/src/hris/bankinfo/bankinfo.controller.ts +++ b/packages/api/src/hris/bankinfo/bankinfo.controller.ts @@ -16,6 +16,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { BankInfoService } from './services/bankinfo.service'; @@ -27,6 +28,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/bankinfo') @Controller('hris/bankinfo') export class BankinfoController { @@ -39,7 +41,7 @@ export class BankinfoController { } @ApiOperation({ - operationId: 'getBankinfos', + operationId: 'listHrisBankinfo', // Updated operationId summary: 'List a batch of Bankinfos', }) @ApiHeader({ @@ -75,7 +77,7 @@ export class BankinfoController { } @ApiOperation({ - operationId: 'getBankinfo', + operationId: 'retrieveHrisBankinfo', // Updated operationId summary: 'Retrieve a Bankinfo', description: 'Retrieve a bankinfo from any connected Hris software', }) diff --git a/packages/api/src/hris/benefit/benefit.controller.ts b/packages/api/src/hris/benefit/benefit.controller.ts index 80dd088bc..f042809e7 100644 --- a/packages/api/src/hris/benefit/benefit.controller.ts +++ b/packages/api/src/hris/benefit/benefit.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { BenefitService } from './services/benefit.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/benefit') @Controller('hris/benefit') export class BenefitController { @@ -40,7 +42,7 @@ export class BenefitController { } @ApiOperation({ - operationId: 'getBenefits', + operationId: 'listHrisBenefit', summary: 'List a batch of Benefits', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class BenefitController { } @ApiOperation({ - operationId: 'getBenefit', + operationId: 'retrieveHrisBenefit', summary: 'Retrieve a Benefit', description: 'Retrieve a benefit from any connected Hris software', }) diff --git a/packages/api/src/hris/company/company.controller.ts b/packages/api/src/hris/company/company.controller.ts index 88bfccd5b..ec0b6762d 100644 --- a/packages/api/src/hris/company/company.controller.ts +++ b/packages/api/src/hris/company/company.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { @@ -28,6 +29,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { CompanyService } from './services/company.service'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/company') @Controller('hris/company') export class CompanyController { @@ -40,7 +42,7 @@ export class CompanyController { } @ApiOperation({ - operationId: 'getCompanys', + operationId: 'listHrisCompanys', summary: 'List a batch of Companys', }) @ApiHeader({ diff --git a/packages/api/src/hris/dependent/dependent.controller.ts b/packages/api/src/hris/dependent/dependent.controller.ts index ef77ea0c7..14a6240fd 100644 --- a/packages/api/src/hris/dependent/dependent.controller.ts +++ b/packages/api/src/hris/dependent/dependent.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { DependentService } from './services/dependent.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/dependent') @Controller('hris/dependent') export class DependentController { @@ -40,7 +42,7 @@ export class DependentController { } @ApiOperation({ - operationId: 'getDependents', + operationId: 'listHrisDependents', summary: 'List a batch of Dependents', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class DependentController { } @ApiOperation({ - operationId: 'getDependent', + operationId: 'retrieveHrisDependent', summary: 'Retrieve a Dependent', description: 'Retrieve a dependent from any connected Hris software', }) diff --git a/packages/api/src/hris/employee/employee.controller.ts b/packages/api/src/hris/employee/employee.controller.ts index 91d5c2ea3..55c7fe8cb 100644 --- a/packages/api/src/hris/employee/employee.controller.ts +++ b/packages/api/src/hris/employee/employee.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EmployeeService } from './services/employee.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/employee') @Controller('hris/employee') export class EmployeeController { @@ -40,7 +42,7 @@ export class EmployeeController { } @ApiOperation({ - operationId: 'getEmployees', + operationId: 'listHrisEmployee', summary: 'List a batch of Employees', }) @ApiHeader({ @@ -76,9 +78,9 @@ export class EmployeeController { } @ApiOperation({ - operationId: 'getEmployee', - summary: 'Retrieve a Employee', - description: 'Retrieve a employee from any connected Hris software', + operationId: 'retrieveHrisEmployee', + summary: 'Retrieve an Employee', + description: 'Retrieve an employee from any connected Hris software', }) @ApiParam({ name: 'id', @@ -119,9 +121,9 @@ export class EmployeeController { } @ApiOperation({ - operationId: 'addEmployee', - summary: 'Create a Employee', - description: 'Create a employee in any supported Hris software', + operationId: 'createHrisEmployee', + summary: 'Create an Employee', + description: 'Create an employee in any supported Hris software', }) @ApiHeader({ name: 'x-connection-token', diff --git a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts index c690d6cf8..975f89715 100644 --- a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts +++ b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EmployeePayrollRunService } from './services/employeepayrollrun.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/employeepayrollrun') @Controller('hris/employeepayrollrun') export class EmployeePayrollRunController { @@ -40,7 +42,7 @@ export class EmployeePayrollRunController { } @ApiOperation({ - operationId: 'getEmployeePayrollRuns', + operationId: 'listHrisEmployeePayrollRun', summary: 'List a batch of EmployeePayrollRuns', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class EmployeePayrollRunController { } @ApiOperation({ - operationId: 'getEmployeePayrollRun', + operationId: 'retrieveHrisEmployeePayrollRun', summary: 'Retrieve a EmployeePayrollRun', description: 'Retrieve a employeepayrollrun from any connected Hris software', diff --git a/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts b/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts index ae3d793d4..c7530fa2c 100644 --- a/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts +++ b/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EmployerBenefitService } from './services/employerbenefit.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/employerbenefit') @Controller('hris/employerbenefit') export class EmployerBenefitController { @@ -40,7 +42,7 @@ export class EmployerBenefitController { } @ApiOperation({ - operationId: 'getEmployerBenefits', + operationId: 'listHrisEmployerBenefit', summary: 'List a batch of EmployerBenefits', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class EmployerBenefitController { } @ApiOperation({ - operationId: 'getEmployerBenefit', + operationId: 'retrieveHrisEmployerBenefit', summary: 'Retrieve a EmployerBenefit', description: 'Retrieve a employerbenefit from any connected Hris software', }) diff --git a/packages/api/src/hris/employment/employment.controller.ts b/packages/api/src/hris/employment/employment.controller.ts index 03614127c..6956448de 100644 --- a/packages/api/src/hris/employment/employment.controller.ts +++ b/packages/api/src/hris/employment/employment.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EmploymentService } from './services/employment.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/employment') @Controller('hris/employment') export class EmploymentController { @@ -40,7 +42,7 @@ export class EmploymentController { } @ApiOperation({ - operationId: 'getEmployments', + operationId: 'listHrisEmployment', summary: 'List a batch of Employments', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class EmploymentController { } @ApiOperation({ - operationId: 'getEmployment', + operationId: 'retrieveHrisEmployment', summary: 'Retrieve a Employment', description: 'Retrieve a employment from any connected Hris software', }) diff --git a/packages/api/src/hris/group/group.controller.ts b/packages/api/src/hris/group/group.controller.ts index 949099ee5..fdd72e827 100644 --- a/packages/api/src/hris/group/group.controller.ts +++ b/packages/api/src/hris/group/group.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { GroupService } from './services/group.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/group') @Controller('hris/group') export class GroupController { @@ -37,7 +39,7 @@ export class GroupController { } @ApiOperation({ - operationId: 'getHrisGroups', + operationId: 'listHrisGroup', summary: 'List a batch of Groups', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class GroupController { } @ApiOperation({ - operationId: 'getHrisGroup', + operationId: 'retrieveHrisGroup', summary: 'Retrieve a Group', description: 'Retrieve a group from any connected Hris software', }) diff --git a/packages/api/src/hris/location/location.controller.ts b/packages/api/src/hris/location/location.controller.ts index 51a8e67a0..7a453e111 100644 --- a/packages/api/src/hris/location/location.controller.ts +++ b/packages/api/src/hris/location/location.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { LocationService } from './services/location.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/location') @Controller('hris/location') export class LocationController { @@ -40,7 +42,7 @@ export class LocationController { } @ApiOperation({ - operationId: 'getLocations', + operationId: 'listHrisLocation', summary: 'List a batch of Locations', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class LocationController { } @ApiOperation({ - operationId: 'getLocation', + operationId: 'retrieveHrisLocation', summary: 'Retrieve a Location', description: 'Retrieve a location from any connected Hris software', }) diff --git a/packages/api/src/hris/paygroup/paygroup.controller.ts b/packages/api/src/hris/paygroup/paygroup.controller.ts index bacb63672..a60608dc3 100644 --- a/packages/api/src/hris/paygroup/paygroup.controller.ts +++ b/packages/api/src/hris/paygroup/paygroup.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { PayGroupService } from './services/paygroup.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/paygroup') @Controller('hris/paygroup') export class PayGroupController { @@ -40,7 +42,7 @@ export class PayGroupController { } @ApiOperation({ - operationId: 'getPayGroups', + operationId: 'listHrisPaygroup', summary: 'List a batch of PayGroups', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class PayGroupController { } @ApiOperation({ - operationId: 'getPayGroup', + operationId: 'retrieveHrisPaygroup', summary: 'Retrieve a PayGroup', description: 'Retrieve a paygroup from any connected Hris software', }) diff --git a/packages/api/src/hris/payrollrun/payrollrun.controller.ts b/packages/api/src/hris/payrollrun/payrollrun.controller.ts index f640fe2f0..7dffe1549 100644 --- a/packages/api/src/hris/payrollrun/payrollrun.controller.ts +++ b/packages/api/src/hris/payrollrun/payrollrun.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { PayrollRunService } from './services/payrollrun.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/payrollrun') @Controller('hris/payrollrun') export class PayrollRunController { @@ -40,7 +42,7 @@ export class PayrollRunController { } @ApiOperation({ - operationId: 'getPayrollRuns', + operationId: 'listHrisPayrollRuns', summary: 'List a batch of PayrollRuns', }) @ApiHeader({ diff --git a/packages/api/src/hris/timeoff/timeoff.controller.ts b/packages/api/src/hris/timeoff/timeoff.controller.ts index 19d166497..ab0118a7d 100644 --- a/packages/api/src/hris/timeoff/timeoff.controller.ts +++ b/packages/api/src/hris/timeoff/timeoff.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TimeoffService } from './services/timeoff.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/timeoff') @Controller('hris/timeoff') export class TimeoffController { @@ -40,7 +42,7 @@ export class TimeoffController { } @ApiOperation({ - operationId: 'getTimeoffs', + operationId: 'listHrisTimeoffs', summary: 'List a batch of Timeoffs', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class TimeoffController { } @ApiOperation({ - operationId: 'getTimeoff', + operationId: 'retrieveHrisTimeoff', summary: 'Retrieve a Timeoff', description: 'Retrieve a timeoff from any connected Hris software', }) @@ -119,7 +121,7 @@ export class TimeoffController { } @ApiOperation({ - operationId: 'addTimeoff', + operationId: 'createHrisTimeoff', summary: 'Create a Timeoff', description: 'Create a timeoff in any supported Hris software', }) diff --git a/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts b/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts index 7010ba3b5..1ad15af9b 100644 --- a/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts +++ b/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TimeoffBalanceService } from './services/timeoffbalance.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('hris/timeoffbalance') @Controller('hris/timeoffbalance') export class TimeoffBalanceController { @@ -40,7 +42,7 @@ export class TimeoffBalanceController { } @ApiOperation({ - operationId: 'getTimeoffBalances', + operationId: 'listHrisTimeoffbalance', summary: 'List a batch of TimeoffBalances', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class TimeoffBalanceController { } @ApiOperation({ - operationId: 'getTimeoffBalance', + operationId: 'retrieveHrisTimeoffbalance', summary: 'Retrieve a TimeoffBalance', description: 'Retrieve a timeoffbalance from any connected Hris software', }) diff --git a/packages/api/src/main.ts b/packages/api/src/main.ts index a7c50661c..aebd2c2a3 100644 --- a/packages/api/src/main.ts +++ b/packages/api/src/main.ts @@ -22,10 +22,10 @@ async function bootstrap() { .setVersion('1.0') .addServer('https://api.panora.dev', 'Production server') .addServer('https://api-sandbox.panora.dev', 'Sandbox server') - .addBearerAuth( - { type: 'http', scheme: 'bearer', bearerFormat: 'JWT' }, - 'MyBearerAuth', - ) + .addSecurity('bearer', { + type: 'http', + scheme: 'bearer', + }) .build(); const document = SwaggerModule.createDocument(app, config); diff --git a/packages/api/src/marketingautomation/action/action.controller.ts b/packages/api/src/marketingautomation/action/action.controller.ts index efaa083a9..c68ed3d36 100644 --- a/packages/api/src/marketingautomation/action/action.controller.ts +++ b/packages/api/src/marketingautomation/action/action.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ActionService } from './services/action.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/action') @Controller('marketingautomation/action') export class ActionController { @@ -37,7 +39,7 @@ export class ActionController { } @ApiOperation({ - operationId: 'getActions', + operationId: 'listMarketingautomationAction', summary: 'List a batch of Actions', }) @ApiHeader({ @@ -73,7 +75,7 @@ export class ActionController { } @ApiOperation({ - operationId: 'getAction', + operationId: 'retrieveMarketingautomationAction', summary: 'Retrieve a Action', description: 'Retrieve a action from any connected Marketingautomation software', @@ -118,7 +120,7 @@ export class ActionController { } @ApiOperation({ - operationId: 'addAction', + operationId: 'createMarketingautomationAction', summary: 'Create a Action', description: 'Create a action in any supported Marketingautomation software', diff --git a/packages/api/src/marketingautomation/automation/automation.controller.ts b/packages/api/src/marketingautomation/automation/automation.controller.ts index ab0e62ea1..1fc246a4c 100644 --- a/packages/api/src/marketingautomation/automation/automation.controller.ts +++ b/packages/api/src/marketingautomation/automation/automation.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { AutomationService } from './services/automation.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/automation') @Controller('marketingautomation/automation') export class AutomationController { @@ -40,7 +42,7 @@ export class AutomationController { } @ApiOperation({ - operationId: 'getAutomations', + operationId: 'listMarketingautomationAutomation', summary: 'List a batch of Automations', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class AutomationController { } @ApiOperation({ - operationId: 'getAutomation', + operationId: 'retrieveMarketingautomationAutomation', summary: 'Retrieve a Automation', description: 'Retrieve a automation from any connected Marketingautomation software', @@ -121,7 +123,7 @@ export class AutomationController { } @ApiOperation({ - operationId: 'addAutomation', + operationId: 'createMarketingautomationAutomation', summary: 'Create a Automation', description: 'Create a automation in any supported Marketingautomation software', diff --git a/packages/api/src/marketingautomation/campaign/campaign.controller.ts b/packages/api/src/marketingautomation/campaign/campaign.controller.ts index c2db45e9a..882ffa46a 100644 --- a/packages/api/src/marketingautomation/campaign/campaign.controller.ts +++ b/packages/api/src/marketingautomation/campaign/campaign.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { CampaignService } from './services/campaign.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/campaign') @Controller('marketingautomation/campaign') export class CampaignController { @@ -40,7 +42,7 @@ export class CampaignController { } @ApiOperation({ - operationId: 'getCampaigns', + operationId: 'listMarketingautomationCampaign', // Updated operationId summary: 'List a batch of Campaigns', }) @ApiHeader({ @@ -76,7 +78,7 @@ export class CampaignController { } @ApiOperation({ - operationId: 'getCampaign', + operationId: 'retrieveMarketingautomationCampaign', // Updated operationId summary: 'Retrieve a Campaign', description: 'Retrieve a campaign from any connected Marketingautomation software', @@ -121,7 +123,7 @@ export class CampaignController { } @ApiOperation({ - operationId: 'addCampaign', + operationId: 'createMarketingautomationCampaign', // Updated operationId summary: 'Create a Campaign', description: 'Create a campaign in any supported Marketingautomation software', diff --git a/packages/api/src/marketingautomation/contact/contact.controller.ts b/packages/api/src/marketingautomation/contact/contact.controller.ts index fc60d532a..75707aae9 100644 --- a/packages/api/src/marketingautomation/contact/contact.controller.ts +++ b/packages/api/src/marketingautomation/contact/contact.controller.ts @@ -15,8 +15,9 @@ import { ApiOperation, ApiParam, ApiQuery, - ApiTags, + ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ContactService } from './services/contact.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/contact') @Controller('marketingautomation/contact') export class ContactController { diff --git a/packages/api/src/marketingautomation/email/email.controller.ts b/packages/api/src/marketingautomation/email/email.controller.ts index 32c7b68a2..e831b12c2 100644 --- a/packages/api/src/marketingautomation/email/email.controller.ts +++ b/packages/api/src/marketingautomation/email/email.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EmailService } from './services/email.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/email') @Controller('marketingautomation/email') export class EmailController { diff --git a/packages/api/src/marketingautomation/event/event.controller.ts b/packages/api/src/marketingautomation/event/event.controller.ts index 96f717601..527e49233 100644 --- a/packages/api/src/marketingautomation/event/event.controller.ts +++ b/packages/api/src/marketingautomation/event/event.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { EventService } from './services/event.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/event') @Controller('marketingautomation/event') export class EventController { diff --git a/packages/api/src/marketingautomation/list/list.controller.ts b/packages/api/src/marketingautomation/list/list.controller.ts index 5cbac3e26..5639b41b9 100644 --- a/packages/api/src/marketingautomation/list/list.controller.ts +++ b/packages/api/src/marketingautomation/list/list.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { ListService } from './services/list.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/list') @Controller('marketingautomation/list') export class ListController { diff --git a/packages/api/src/marketingautomation/message/message.controller.ts b/packages/api/src/marketingautomation/message/message.controller.ts index 2cd6968c6..99b38652b 100644 --- a/packages/api/src/marketingautomation/message/message.controller.ts +++ b/packages/api/src/marketingautomation/message/message.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { MessageService } from './services/message.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/message') @Controller('marketingautomation/message') export class MessageController { diff --git a/packages/api/src/marketingautomation/template/template.controller.ts b/packages/api/src/marketingautomation/template/template.controller.ts index 1281bb146..64281f712 100644 --- a/packages/api/src/marketingautomation/template/template.controller.ts +++ b/packages/api/src/marketingautomation/template/template.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { TemplateService } from './services/template.service'; @@ -28,6 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/template') @Controller('marketingautomation/template') export class TemplateController { diff --git a/packages/api/src/marketingautomation/user/user.controller.ts b/packages/api/src/marketingautomation/user/user.controller.ts index 3e3a98cb7..670a71d38 100644 --- a/packages/api/src/marketingautomation/user/user.controller.ts +++ b/packages/api/src/marketingautomation/user/user.controller.ts @@ -17,6 +17,7 @@ import { ApiQuery, ApiTags, ApiHeader, + ApiBearerAuth, } from '@nestjs/swagger'; import { ApiCustomResponse } from '@@core/utils/types'; import { UserService } from './services/user.service'; @@ -25,6 +26,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; +@ApiBearerAuth('bearer') @ApiTags('marketingautomation/user') @Controller('marketingautomation/user') export class UserController { diff --git a/packages/api/src/ticketing/account/account.controller.ts b/packages/api/src/ticketing/account/account.controller.ts index 575c0dc3e..9e74ba0a5 100644 --- a/packages/api/src/ticketing/account/account.controller.ts +++ b/packages/api/src/ticketing/account/account.controller.ts @@ -24,7 +24,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { UnifiedAccountOutput } from './types/model.unified'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/accounts') @Controller('ticketing/accounts') export class AccountController { @@ -37,7 +37,7 @@ export class AccountController { } @ApiOperation({ - operationId: 'getTicketingAccounts', + operationId: 'listTicketingAccount', summary: 'List a batch of Accounts', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class AccountController { } @ApiOperation({ - operationId: 'getTicketingAccount', + operationId: 'retrieveTicketingAccount', summary: 'Retrieve an Account', description: 'Retrieve an account from any connected Ticketing software', }) diff --git a/packages/api/src/ticketing/attachment/attachment.controller.ts b/packages/api/src/ticketing/attachment/attachment.controller.ts index 60f45442e..c21d68c24 100644 --- a/packages/api/src/ticketing/attachment/attachment.controller.ts +++ b/packages/api/src/ticketing/attachment/attachment.controller.ts @@ -30,7 +30,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/attachments') @Controller('ticketing/attachments') export class AttachmentController { @@ -43,7 +43,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getTicketingAttachments', + operationId: 'listTicketingAttachments', summary: 'List a batch of Attachments', }) @ApiHeader({ @@ -81,7 +81,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'getTicketingAttachment', + operationId: 'retrieveTicketingAttachment', summary: 'Retrieve a Attachment', description: 'Retrieve a attachment from any connected Ticketing software', }) @@ -125,41 +125,7 @@ export class AttachmentController { } @ApiOperation({ - operationId: 'downloadAttachment', - summary: 'Download a Attachment', - description: 'Download a attachment from any connected Ticketing software', - }) - @ApiParam({ - name: 'id', - required: true, - type: String, - description: 'id of the attachment you want to retrive.', - }) - @ApiQuery({ - name: 'remote_data', - required: false, - type: Boolean, - description: - 'Set to true to include data from the original Ticketing software.', - }) - @ApiHeader({ - name: 'x-connection-token', - required: true, - description: 'The connection token', - example: 'b008e199-eda9-4629-bd41-a01b6195864a', - }) - @ApiCustomResponse(UnifiedAttachmentOutput) - @UseGuards(ApiKeyAuthGuard) - @Get(':id/download') - downloadAttachment( - @Param('id') id: string, - @Query('remote_data') remote_data?: boolean, - ) { - return this.attachmentService.downloadAttachment(id, remote_data); - } - - @ApiOperation({ - operationId: 'addTicketingAttachment', + operationId: 'createTicketingAttachment', summary: 'Create a Attachment', description: 'Create a attachment in any supported Ticketing software', }) diff --git a/packages/api/src/ticketing/collection/collection.controller.ts b/packages/api/src/ticketing/collection/collection.controller.ts index 3336cfec3..c4ae30389 100644 --- a/packages/api/src/ticketing/collection/collection.controller.ts +++ b/packages/api/src/ticketing/collection/collection.controller.ts @@ -31,7 +31,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/collections') @Controller('ticketing/collections') export class CollectionController { @@ -44,7 +44,7 @@ export class CollectionController { } @ApiOperation({ - operationId: 'getCollections', + operationId: 'listTicketingCollections', summary: 'List a batch of Collections', }) @ApiHeader({ @@ -81,7 +81,7 @@ export class CollectionController { } @ApiOperation({ - operationId: 'getCollection', + operationId: 'retrieveCollection', summary: 'Retrieve a Collection', description: 'Retrieve a collection from any connected Ticketing software', }) diff --git a/packages/api/src/ticketing/comment/comment.controller.ts b/packages/api/src/ticketing/comment/comment.controller.ts index b0df0685c..a3f75f201 100644 --- a/packages/api/src/ticketing/comment/comment.controller.ts +++ b/packages/api/src/ticketing/comment/comment.controller.ts @@ -31,7 +31,7 @@ import { UnifiedCommentOutput, } from './types/model.unified'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/comments') @Controller('ticketing/comments') export class CommentController { @@ -44,7 +44,7 @@ export class CommentController { } @ApiOperation({ - operationId: 'getComments', + operationId: 'listTicketingComments', summary: 'List a batch of Comments', }) @ApiHeader({ @@ -81,7 +81,7 @@ export class CommentController { } @ApiOperation({ - operationId: 'getComment', + operationId: 'retrieveTicketingComment', summary: 'Retrieve a Comment', description: 'Retrieve a comment from any connected Ticketing software', }) @@ -125,7 +125,7 @@ export class CommentController { } @ApiOperation({ - operationId: 'addComment', + operationId: 'createTicketingComment', summary: 'Create a Comment', description: 'Create a comment in any supported Ticketing software', }) @@ -167,38 +167,4 @@ export class CommentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'updateComment', - summary: 'Update a Comment', - description: 'Update a comment in any supported Ticketing software', - }) - @ApiHeader({ - name: 'x-connection-token', - required: true, - description: 'The connection token', - example: 'b008e199-eda9-4629-bd41-a01b6195864a', - }) - @ApiQuery({ - name: 'remote_data', - required: false, - type: Boolean, - description: - 'Set to true to include data from the original Ticketing software.', - }) - @ApiBody({ type: UnifiedCommentInput }) - @ApiCustomResponse(UnifiedCommentOutput) - @UseGuards(ApiKeyAuthGuard) - @Put() - async updateComment( - @Body() unfiedCommentData: UnifiedCommentInput, - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - return; - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ticketing/contact/contact.controller.ts b/packages/api/src/ticketing/contact/contact.controller.ts index 9be9a5596..7402d2ed2 100644 --- a/packages/api/src/ticketing/contact/contact.controller.ts +++ b/packages/api/src/ticketing/contact/contact.controller.ts @@ -24,7 +24,7 @@ import { import { ContactService } from './services/contact.service'; import { UnifiedContactOutput } from './types/model.unified'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/contacts') @Controller('ticketing/contacts') export class ContactController { @@ -37,7 +37,7 @@ export class ContactController { } @ApiOperation({ - operationId: 'getTicketingContacts', + operationId: 'listTicketingContacts', summary: 'List all Contacts', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class ContactController { } @ApiOperation({ - operationId: 'getTicketingContact', + operationId: 'retrieveTicketingContact', summary: 'Retrieve a Contact', description: 'Retrieve a contact from any connected Ticketing software', }) diff --git a/packages/api/src/ticketing/tag/tag.controller.ts b/packages/api/src/ticketing/tag/tag.controller.ts index 17f91e8bd..aedee4db8 100644 --- a/packages/api/src/ticketing/tag/tag.controller.ts +++ b/packages/api/src/ticketing/tag/tag.controller.ts @@ -24,7 +24,7 @@ import { UnifiedTagOutput } from './types/model.unified'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/tags') @Controller('ticketing/tags') export class TagController { @@ -37,7 +37,7 @@ export class TagController { } @ApiOperation({ - operationId: 'getTicketingTags', + operationId: 'listTicketingTags', summary: 'List a batch of Tags', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class TagController { } @ApiOperation({ - operationId: 'getTicketingTag', + operationId: 'retrieveTicketingTag', summary: 'Retrieve a Tag', description: 'Retrieve a tag from any connected Ticketing software', }) diff --git a/packages/api/src/ticketing/team/team.controller.ts b/packages/api/src/ticketing/team/team.controller.ts index 07074e172..a68908d6e 100644 --- a/packages/api/src/ticketing/team/team.controller.ts +++ b/packages/api/src/ticketing/team/team.controller.ts @@ -24,7 +24,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { UnifiedTeamOutput } from './types/model.unified'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/teams') @Controller('ticketing/teams') export class TeamController { @@ -37,7 +37,7 @@ export class TeamController { } @ApiOperation({ - operationId: 'getTeams', + operationId: 'listTicketingTeams', summary: 'List a batch of Teams', }) @ApiHeader({ @@ -74,7 +74,7 @@ export class TeamController { } @ApiOperation({ - operationId: 'getTeam', + operationId: 'retrieveTicketingTeam', summary: 'Retrieve a Team', description: 'Retrieve a team from any connected Ticketing software', }) diff --git a/packages/api/src/ticketing/ticket/ticket.controller.ts b/packages/api/src/ticketing/ticket/ticket.controller.ts index 7bdfcb04e..648a4becc 100644 --- a/packages/api/src/ticketing/ticket/ticket.controller.ts +++ b/packages/api/src/ticketing/ticket/ticket.controller.ts @@ -29,7 +29,7 @@ import { ConnectionUtils } from '@@core/connections/@utils'; import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/tickets') @Controller('ticketing/tickets') export class TicketController { @@ -42,7 +42,7 @@ export class TicketController { } @ApiOperation({ - operationId: 'getTickets', + operationId: 'listTicketingTicket', summary: 'List a batch of Tickets', }) @ApiHeader({ @@ -79,7 +79,7 @@ export class TicketController { } @ApiOperation({ - operationId: 'getTicket', + operationId: 'retrieveTicketingTicket', summary: 'Retrieve a Ticket', description: 'Retrieve a ticket from any connected Ticketing software', }) @@ -123,7 +123,7 @@ export class TicketController { } @ApiOperation({ - operationId: 'addTicket', + operationId: 'createTicketingTicket', summary: 'Create a Ticket', description: 'Create a ticket in any supported Ticketing software', }) diff --git a/packages/api/src/ticketing/user/user.controller.ts b/packages/api/src/ticketing/user/user.controller.ts index 93250df40..8bce2dce7 100644 --- a/packages/api/src/ticketing/user/user.controller.ts +++ b/packages/api/src/ticketing/user/user.controller.ts @@ -24,7 +24,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard'; import { UnifiedUserOutput } from './types/model.unified'; import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto'; -@ApiBearerAuth('JWT') +@ApiBearerAuth('bearer') @ApiTags('ticketing/users') @Controller('ticketing/users') export class UserController { @@ -37,7 +37,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getTicketingUsers', + operationId: 'listTicketingUsers', summary: 'List a batch of Users', }) @ApiHeader({ @@ -71,7 +71,7 @@ export class UserController { } @ApiOperation({ - operationId: 'getTicketingUser', + operationId: 'retrieveTicketingUser', summary: 'Retrieve a User', description: 'Retrieve a user from any connected Ticketing software', }) diff --git a/packages/api/swagger/swagger-spec.yaml b/packages/api/swagger/swagger-spec.yaml index 7c5ba72f8..cf6a82eb8 100644 --- a/packages/api/swagger/swagger-spec.yaml +++ b/packages/api/swagger/swagger-spec.yaml @@ -349,7 +349,7 @@ paths: - mw /ticketing/tickets: get: - operationId: getTickets + operationId: listTicketingTicket summary: List a batch of Tickets parameters: - name: x-connection-token @@ -391,9 +391,9 @@ paths: tags: &ref_4 - ticketing/tickets security: &ref_5 - - JWT: [] + - bearer: [] post: - operationId: addTicket + operationId: createTicketingTicket summary: Create a Ticket description: Create a ticket in any supported Ticketing software parameters: @@ -436,7 +436,7 @@ paths: security: *ref_5 /ticketing/tickets/{id}: get: - operationId: getTicket + operationId: retrieveTicketingTicket summary: Retrieve a Ticket description: Retrieve a ticket from any connected Ticketing software parameters: @@ -473,7 +473,7 @@ paths: security: *ref_5 /ticketing/users: get: - operationId: getTicketingUsers + operationId: listTicketingUsers summary: List a batch of Users parameters: - name: x-connection-token @@ -515,10 +515,10 @@ paths: tags: &ref_6 - ticketing/users security: &ref_7 - - JWT: [] + - bearer: [] /ticketing/users/{id}: get: - operationId: getTicketingUser + operationId: retrieveTicketingUser summary: Retrieve a User description: Retrieve a user from any connected Ticketing software parameters: @@ -555,7 +555,7 @@ paths: security: *ref_7 /ticketing/accounts: get: - operationId: getTicketingAccounts + operationId: listTicketingAccount summary: List a batch of Accounts parameters: - name: x-connection-token @@ -597,10 +597,10 @@ paths: tags: &ref_8 - ticketing/accounts security: &ref_9 - - JWT: [] + - bearer: [] /ticketing/accounts/{id}: get: - operationId: getTicketingAccount + operationId: retrieveTicketingAccount summary: Retrieve an Account description: Retrieve an account from any connected Ticketing software parameters: @@ -637,7 +637,7 @@ paths: security: *ref_9 /ticketing/contacts: get: - operationId: getTicketingContacts + operationId: listTicketingContacts summary: List all Contacts parameters: - name: x-connection-token @@ -679,10 +679,10 @@ paths: tags: &ref_10 - ticketing/contacts security: &ref_11 - - JWT: [] + - bearer: [] /ticketing/contacts/{id}: get: - operationId: getTicketingContact + operationId: retrieveTicketingContact summary: Retrieve a Contact description: Retrieve a contact from any connected Ticketing software parameters: @@ -745,7 +745,7 @@ paths: tags: *ref_12 /crm/companies: get: - operationId: getCompanies + operationId: listCrmCompany summary: List a batch of Companies parameters: - name: x-connection-token @@ -787,9 +787,9 @@ paths: tags: &ref_13 - crm/companies security: &ref_14 - - JWT: [] + - bearer: [] post: - operationId: addCrmCompany + operationId: createCrmCompany summary: Create a Company description: Create a company in any supported Crm software parameters: @@ -832,7 +832,7 @@ paths: security: *ref_14 /crm/companies/{id}: get: - operationId: getCrmCompany + operationId: retrieveCrmCompany summary: Retrieve a Company description: Retrieve a company from any connected Crm software parameters: @@ -911,7 +911,7 @@ paths: tags: &ref_15 - crm/contacts security: &ref_16 - - JWT: [] + - bearer: [] post: operationId: addCrmContact summary: Create CRM Contact @@ -993,7 +993,7 @@ paths: security: *ref_16 /crm/deals: get: - operationId: getDeals + operationId: listCrmDeals summary: List a batch of Deals parameters: - name: x-connection-token @@ -1035,9 +1035,9 @@ paths: tags: &ref_17 - crm/deals security: &ref_18 - - JWT: [] + - bearer: [] post: - operationId: addDeal + operationId: createCrmDeal summary: Create a Deal description: Create a deal in any supported Crm software parameters: @@ -1080,7 +1080,7 @@ paths: security: *ref_18 /crm/deals/{id}: get: - operationId: getDeal + operationId: retrieveCrmDeal summary: Retrieve a Deal description: Retrieve a deal from any connected Crm software parameters: @@ -1117,7 +1117,7 @@ paths: security: *ref_18 /crm/engagements: get: - operationId: getEngagements + operationId: listCrmEngagements summary: List a batch of Engagements parameters: - name: x-connection-token @@ -1159,9 +1159,9 @@ paths: tags: &ref_19 - crm/engagements security: &ref_20 - - JWT: [] + - bearer: [] post: - operationId: addEngagement + operationId: createCrmEngagement summary: Create a Engagement description: Create a engagement in any supported Crm software parameters: @@ -1204,7 +1204,7 @@ paths: security: *ref_20 /crm/engagements/{id}: get: - operationId: getEngagement + operationId: retrieveCrmEngagement summary: Retrieve a Engagement description: Retrieve a engagement from any connected Crm software parameters: @@ -1241,7 +1241,7 @@ paths: security: *ref_20 /crm/notes: get: - operationId: getNotes + operationId: listCrmNote summary: List a batch of Notes parameters: - name: x-connection-token @@ -1283,9 +1283,9 @@ paths: tags: &ref_21 - crm/notes security: &ref_22 - - JWT: [] + - bearer: [] post: - operationId: addNote + operationId: createCrmNote summary: Create a Note description: Create a note in any supported Crm software parameters: @@ -1328,7 +1328,7 @@ paths: security: *ref_22 /crm/notes/{id}: get: - operationId: getNote + operationId: retrieveCrmNote summary: Retrieve a Note description: Retrieve a note from any connected Crm software parameters: @@ -1365,7 +1365,7 @@ paths: security: *ref_22 /crm/stages: get: - operationId: getStages + operationId: listCrmStages summary: List a batch of Stages parameters: - name: x-connection-token @@ -1407,10 +1407,10 @@ paths: tags: &ref_23 - crm/stages security: &ref_24 - - JWT: [] + - bearer: [] /crm/stages/{id}: get: - operationId: getStage + operationId: retrieveCrmStage summary: Retrieve a Stage description: Retrieve a stage from any connected Crm software parameters: @@ -1447,7 +1447,7 @@ paths: security: *ref_24 /crm/tasks: get: - operationId: getTasks + operationId: listCrmTask summary: List a batch of Tasks parameters: - name: x-connection-token @@ -1489,9 +1489,9 @@ paths: tags: &ref_25 - crm/tasks security: &ref_26 - - JWT: [] + - bearer: [] post: - operationId: addTask + operationId: createCrmTask summary: Create a Task description: Create a task in any supported Crm software parameters: @@ -1534,7 +1534,7 @@ paths: security: *ref_26 /crm/tasks/{id}: get: - operationId: getTask + operationId: retrieveCrmTask summary: Retrieve a Task description: Retrieve a task from any connected Crm software parameters: @@ -1571,7 +1571,7 @@ paths: security: *ref_26 /crm/users: get: - operationId: getCrmUsers + operationId: listCrmUsers summary: List a batch of Users parameters: - name: x-connection-token @@ -1613,10 +1613,10 @@ paths: tags: &ref_27 - crm/users security: &ref_28 - - JWT: [] + - bearer: [] /crm/users/{id}: get: - operationId: getCrmUser + operationId: retrieveCrmUser summary: Retrieve a User description: Retrieve a user from any connected Crm software parameters: @@ -1653,7 +1653,7 @@ paths: security: *ref_28 /ticketing/collections: get: - operationId: getCollections + operationId: listTicketingCollections summary: List a batch of Collections parameters: - name: x-connection-token @@ -1695,10 +1695,10 @@ paths: tags: &ref_29 - ticketing/collections security: &ref_30 - - JWT: [] + - bearer: [] /ticketing/collections/{id}: get: - operationId: getCollection + operationId: retrieveCollection summary: Retrieve a Collection description: Retrieve a collection from any connected Ticketing software parameters: @@ -1735,7 +1735,7 @@ paths: security: *ref_30 /ticketing/comments: get: - operationId: getComments + operationId: listTicketingComments summary: List a batch of Comments parameters: - name: x-connection-token @@ -1777,9 +1777,9 @@ paths: tags: &ref_31 - ticketing/comments security: &ref_32 - - JWT: [] + - bearer: [] post: - operationId: addComment + operationId: createTicketingComment summary: Create a Comment description: Create a comment in any supported Ticketing software parameters: @@ -1820,45 +1820,9 @@ paths: $ref: '#/components/schemas/UnifiedCommentOutput' tags: *ref_31 security: *ref_32 - put: - operationId: updateComment - summary: Update a Comment - description: Update a comment in any supported Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCommentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCommentOutput' - tags: *ref_31 - security: *ref_32 /ticketing/comments/{id}: get: - operationId: getComment + operationId: retrieveTicketingComment summary: Retrieve a Comment description: Retrieve a comment from any connected Ticketing software parameters: @@ -1895,7 +1859,7 @@ paths: security: *ref_32 /ticketing/tags: get: - operationId: getTicketingTags + operationId: listTicketingTags summary: List a batch of Tags parameters: - name: x-connection-token @@ -1937,10 +1901,10 @@ paths: tags: &ref_33 - ticketing/tags security: &ref_34 - - JWT: [] + - bearer: [] /ticketing/tags/{id}: get: - operationId: getTicketingTag + operationId: retrieveTicketingTag summary: Retrieve a Tag description: Retrieve a tag from any connected Ticketing software parameters: @@ -1977,7 +1941,7 @@ paths: security: *ref_34 /ticketing/teams: get: - operationId: getTeams + operationId: listTicketingTeams summary: List a batch of Teams parameters: - name: x-connection-token @@ -2019,10 +1983,10 @@ paths: tags: &ref_35 - ticketing/teams security: &ref_36 - - JWT: [] + - bearer: [] /ticketing/teams/{id}: get: - operationId: getTeam + operationId: retrieveTicketingTeam summary: Retrieve a Team description: Retrieve a team from any connected Ticketing software parameters: @@ -2535,7 +2499,7 @@ paths: tags: *ref_44 /hris/bankinfo: get: - operationId: getBankinfos + operationId: listHrisBankinfo summary: List a batch of Bankinfos parameters: - name: x-connection-token @@ -2576,9 +2540,11 @@ paths: $ref: '#/components/schemas/UnifiedBankInfoOutput' tags: &ref_45 - hris/bankinfo + security: &ref_46 + - bearer: [] /hris/bankinfo/{id}: get: - operationId: getBankinfo + operationId: retrieveHrisBankinfo summary: Retrieve a Bankinfo description: Retrieve a bankinfo from any connected Hris software parameters: @@ -2612,9 +2578,10 @@ paths: data: $ref: '#/components/schemas/UnifiedBankInfoOutput' tags: *ref_45 + security: *ref_46 /hris/benefit: get: - operationId: getBenefits + operationId: listHrisBenefit summary: List a batch of Benefits parameters: - name: x-connection-token @@ -2653,11 +2620,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedBenefitOutput' - tags: &ref_46 + tags: &ref_47 - hris/benefit + security: &ref_48 + - bearer: [] /hris/benefit/{id}: get: - operationId: getBenefit + operationId: retrieveHrisBenefit summary: Retrieve a Benefit description: Retrieve a benefit from any connected Hris software parameters: @@ -2690,10 +2659,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedBenefitOutput' - tags: *ref_46 + tags: *ref_47 + security: *ref_48 /hris/company: get: - operationId: getCompanys + operationId: listHrisCompanys summary: List a batch of Companys parameters: - name: x-connection-token @@ -2734,9 +2704,11 @@ paths: $ref: '#/components/schemas/UnifiedCompanyOutput' tags: - hris/company + security: + - bearer: [] /hris/dependent: get: - operationId: getDependents + operationId: listHrisDependents summary: List a batch of Dependents parameters: - name: x-connection-token @@ -2775,11 +2747,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDependentOutput' - tags: &ref_47 + tags: &ref_49 - hris/dependent + security: &ref_50 + - bearer: [] /hris/dependent/{id}: get: - operationId: getDependent + operationId: retrieveHrisDependent summary: Retrieve a Dependent description: Retrieve a dependent from any connected Hris software parameters: @@ -2812,10 +2786,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDependentOutput' - tags: *ref_47 + tags: *ref_49 + security: *ref_50 /hris/employeepayrollrun: get: - operationId: getEmployeePayrollRuns + operationId: listHrisEmployeePayrollRun summary: List a batch of EmployeePayrollRuns parameters: - name: x-connection-token @@ -2854,11 +2829,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployeePayrollRunOutput' - tags: &ref_48 + tags: &ref_51 - hris/employeepayrollrun + security: &ref_52 + - bearer: [] /hris/employeepayrollrun/{id}: get: - operationId: getEmployeePayrollRun + operationId: retrieveHrisEmployeePayrollRun summary: Retrieve a EmployeePayrollRun description: Retrieve a employeepayrollrun from any connected Hris software parameters: @@ -2891,10 +2868,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployeePayrollRunOutput' - tags: *ref_48 + tags: *ref_51 + security: *ref_52 /hris/employee: get: - operationId: getEmployees + operationId: listHrisEmployee summary: List a batch of Employees parameters: - name: x-connection-token @@ -2933,12 +2911,14 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployeeOutput' - tags: &ref_49 + tags: &ref_53 - hris/employee + security: &ref_54 + - bearer: [] post: - operationId: addEmployee - summary: Create a Employee - description: Create a employee in any supported Hris software + operationId: createHrisEmployee + summary: Create an Employee + description: Create an employee in any supported Hris software parameters: - name: x-connection-token required: true @@ -2975,12 +2955,13 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEmployeeOutput' - tags: *ref_49 + tags: *ref_53 + security: *ref_54 /hris/employee/{id}: get: - operationId: getEmployee - summary: Retrieve a Employee - description: Retrieve a employee from any connected Hris software + operationId: retrieveHrisEmployee + summary: Retrieve an Employee + description: Retrieve an employee from any connected Hris software parameters: - name: x-connection-token required: true @@ -3011,10 +2992,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployeeOutput' - tags: *ref_49 + tags: *ref_53 + security: *ref_54 /hris/employerbenefit: get: - operationId: getEmployerBenefits + operationId: listHrisEmployerBenefit summary: List a batch of EmployerBenefits parameters: - name: x-connection-token @@ -3053,11 +3035,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployerBenefitOutput' - tags: &ref_50 + tags: &ref_55 - hris/employerbenefit + security: &ref_56 + - bearer: [] /hris/employerbenefit/{id}: get: - operationId: getEmployerBenefit + operationId: retrieveHrisEmployerBenefit summary: Retrieve a EmployerBenefit description: Retrieve a employerbenefit from any connected Hris software parameters: @@ -3090,10 +3074,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmployerBenefitOutput' - tags: *ref_50 + tags: *ref_55 + security: *ref_56 /hris/employment: get: - operationId: getEmployments + operationId: listHrisEmployment summary: List a batch of Employments parameters: - name: x-connection-token @@ -3132,11 +3117,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmploymentOutput' - tags: &ref_51 + tags: &ref_57 - hris/employment + security: &ref_58 + - bearer: [] /hris/employment/{id}: get: - operationId: getEmployment + operationId: retrieveHrisEmployment summary: Retrieve a Employment description: Retrieve a employment from any connected Hris software parameters: @@ -3169,10 +3156,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmploymentOutput' - tags: *ref_51 + tags: *ref_57 + security: *ref_58 /hris/group: get: - operationId: getHrisGroups + operationId: listHrisGroup summary: List a batch of Groups parameters: - name: x-connection-token @@ -3211,11 +3199,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedGroupOutput' - tags: &ref_52 + tags: &ref_59 - hris/group + security: &ref_60 + - bearer: [] /hris/group/{id}: get: - operationId: getHrisGroup + operationId: retrieveHrisGroup summary: Retrieve a Group description: Retrieve a group from any connected Hris software parameters: @@ -3248,10 +3238,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedGroupOutput' - tags: *ref_52 + tags: *ref_59 + security: *ref_60 /hris/location: get: - operationId: getLocations + operationId: listHrisLocation summary: List a batch of Locations parameters: - name: x-connection-token @@ -3290,11 +3281,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedLocationOutput' - tags: &ref_53 + tags: &ref_61 - hris/location + security: &ref_62 + - bearer: [] /hris/location/{id}: get: - operationId: getLocation + operationId: retrieveHrisLocation summary: Retrieve a Location description: Retrieve a location from any connected Hris software parameters: @@ -3327,10 +3320,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedLocationOutput' - tags: *ref_53 + tags: *ref_61 + security: *ref_62 /hris/paygroup: get: - operationId: getPayGroups + operationId: listHrisPaygroup summary: List a batch of PayGroups parameters: - name: x-connection-token @@ -3369,11 +3363,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPayGroupOutput' - tags: &ref_54 + tags: &ref_63 - hris/paygroup + security: &ref_64 + - bearer: [] /hris/paygroup/{id}: get: - operationId: getPayGroup + operationId: retrieveHrisPaygroup summary: Retrieve a PayGroup description: Retrieve a paygroup from any connected Hris software parameters: @@ -3406,10 +3402,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPayGroupOutput' - tags: *ref_54 + tags: *ref_63 + security: *ref_64 /hris/payrollrun: get: - operationId: getPayrollRuns + operationId: listHrisPayrollRuns summary: List a batch of PayrollRuns parameters: - name: x-connection-token @@ -3450,9 +3447,11 @@ paths: $ref: '#/components/schemas/UnifiedPayrollRunOutput' tags: - hris/payrollrun + security: + - bearer: [] /hris/timeoff: get: - operationId: getTimeoffs + operationId: listHrisTimeoffs summary: List a batch of Timeoffs parameters: - name: x-connection-token @@ -3491,10 +3490,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTimeoffOutput' - tags: &ref_55 + tags: &ref_65 - hris/timeoff + security: &ref_66 + - bearer: [] post: - operationId: addTimeoff + operationId: createHrisTimeoff summary: Create a Timeoff description: Create a timeoff in any supported Hris software parameters: @@ -3533,10 +3534,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTimeoffOutput' - tags: *ref_55 + tags: *ref_65 + security: *ref_66 /hris/timeoff/{id}: get: - operationId: getTimeoff + operationId: retrieveHrisTimeoff summary: Retrieve a Timeoff description: Retrieve a timeoff from any connected Hris software parameters: @@ -3569,10 +3571,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTimeoffOutput' - tags: *ref_55 + tags: *ref_65 + security: *ref_66 /hris/timeoffbalance: get: - operationId: getTimeoffBalances + operationId: listHrisTimeoffbalance summary: List a batch of TimeoffBalances parameters: - name: x-connection-token @@ -3611,11 +3614,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTimeoffBalanceOutput' - tags: &ref_56 + tags: &ref_67 - hris/timeoffbalance + security: &ref_68 + - bearer: [] /hris/timeoffbalance/{id}: get: - operationId: getTimeoffBalance + operationId: retrieveHrisTimeoffbalance summary: Retrieve a TimeoffBalance description: Retrieve a timeoffbalance from any connected Hris software parameters: @@ -3648,10 +3653,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTimeoffBalanceOutput' - tags: *ref_56 + tags: *ref_67 + security: *ref_68 /marketingautomation/action: get: - operationId: getActions + operationId: listMarketingautomationAction summary: List a batch of Actions parameters: - name: x-connection-token @@ -3690,10 +3696,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedActionOutput' - tags: &ref_57 + tags: &ref_69 - marketingautomation/action + security: &ref_70 + - bearer: [] post: - operationId: addAction + operationId: createMarketingautomationAction summary: Create a Action description: Create a action in any supported Marketingautomation software parameters: @@ -3734,10 +3742,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedActionOutput' - tags: *ref_57 + tags: *ref_69 + security: *ref_70 /marketingautomation/action/{id}: get: - operationId: getAction + operationId: retrieveMarketingautomationAction summary: Retrieve a Action description: Retrieve a action from any connected Marketingautomation software parameters: @@ -3772,10 +3781,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedActionOutput' - tags: *ref_57 + tags: *ref_69 + security: *ref_70 /marketingautomation/automation: get: - operationId: getAutomations + operationId: listMarketingautomationAutomation summary: List a batch of Automations parameters: - name: x-connection-token @@ -3814,10 +3824,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAutomationOutput' - tags: &ref_58 + tags: &ref_71 - marketingautomation/automation + security: &ref_72 + - bearer: [] post: - operationId: addAutomation + operationId: createMarketingautomationAutomation summary: Create a Automation description: Create a automation in any supported Marketingautomation software parameters: @@ -3858,10 +3870,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAutomationOutput' - tags: *ref_58 + tags: *ref_71 + security: *ref_72 /marketingautomation/automation/{id}: get: - operationId: getAutomation + operationId: retrieveMarketingautomationAutomation summary: Retrieve a Automation description: Retrieve a automation from any connected Marketingautomation software parameters: @@ -3896,10 +3909,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAutomationOutput' - tags: *ref_58 + tags: *ref_71 + security: *ref_72 /marketingautomation/campaign: get: - operationId: getCampaigns + operationId: listMarketingautomationCampaign summary: List a batch of Campaigns parameters: - name: x-connection-token @@ -3938,10 +3952,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: &ref_59 + tags: &ref_73 - marketingautomation/campaign + security: &ref_74 + - bearer: [] post: - operationId: addCampaign + operationId: createMarketingautomationCampaign summary: Create a Campaign description: Create a campaign in any supported Marketingautomation software parameters: @@ -3982,10 +3998,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: *ref_59 + tags: *ref_73 + security: *ref_74 /marketingautomation/campaign/{id}: get: - operationId: getCampaign + operationId: retrieveMarketingautomationCampaign summary: Retrieve a Campaign description: Retrieve a campaign from any connected Marketingautomation software parameters: @@ -4020,7 +4037,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: *ref_59 + tags: *ref_73 + security: *ref_74 /marketingautomation/contact: get: operationId: getMarketingAutomationContacts @@ -4062,8 +4080,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedContactOutput' - tags: &ref_60 + tags: &ref_75 - marketingautomation/contact + security: &ref_76 + - bearer: [] post: operationId: addMarketingAutomationContact summary: Create a Contact @@ -4106,7 +4126,8 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_60 + tags: *ref_75 + security: *ref_76 /marketingautomation/contact/{id}: get: operationId: getMarketingAutomationContact @@ -4144,7 +4165,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_60 + tags: *ref_75 + security: *ref_76 /marketingautomation/email: get: operationId: getEmails @@ -4186,8 +4208,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmailOutput' - tags: &ref_61 + tags: &ref_77 - marketingautomation/email + security: &ref_78 + - bearer: [] /marketingautomation/email/{id}: get: operationId: getEmail @@ -4225,7 +4249,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEmailOutput' - tags: *ref_61 + tags: *ref_77 + security: *ref_78 /marketingautomation/event: get: operationId: getMarketingAutomationEvents @@ -4267,8 +4292,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEventOutput' - tags: &ref_62 + tags: &ref_79 - marketingautomation/event + security: &ref_80 + - bearer: [] /marketingautomation/event/{id}: get: operationId: getEvent @@ -4306,7 +4333,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEventOutput' - tags: *ref_62 + tags: *ref_79 + security: *ref_80 /marketingautomation/list: get: operationId: getLists @@ -4348,8 +4376,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedListOutput' - tags: &ref_63 + tags: &ref_81 - marketingautomation/list + security: &ref_82 + - bearer: [] post: operationId: addList summary: Create a List @@ -4392,7 +4422,8 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedListOutput' - tags: *ref_63 + tags: *ref_81 + security: *ref_82 /marketingautomation/list/{id}: get: operationId: getList @@ -4430,7 +4461,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedListOutput' - tags: *ref_63 + tags: *ref_81 + security: *ref_82 /marketingautomation/message: get: operationId: getMessages @@ -4472,8 +4504,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedMessageOutput' - tags: &ref_64 + tags: &ref_83 - marketingautomation/message + security: &ref_84 + - bearer: [] /marketingautomation/message/{id}: get: operationId: getMessage @@ -4511,7 +4545,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedMessageOutput' - tags: *ref_64 + tags: *ref_83 + security: *ref_84 /marketingautomation/template: get: operationId: getTemplates @@ -4553,8 +4588,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTemplateOutput' - tags: &ref_65 + tags: &ref_85 - marketingautomation/template + security: &ref_86 + - bearer: [] post: operationId: addTemplate summary: Create a Template @@ -4597,7 +4634,8 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTemplateOutput' - tags: *ref_65 + tags: *ref_85 + security: *ref_86 /marketingautomation/template/{id}: get: operationId: getTemplate @@ -4635,7 +4673,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTemplateOutput' - tags: *ref_65 + tags: *ref_85 + security: *ref_86 /marketingautomation/user: get: operationId: getMarketingAutomationUsers @@ -4677,8 +4716,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: &ref_66 + tags: &ref_87 - marketingautomation/user + security: &ref_88 + - bearer: [] /marketingautomation/user/{id}: get: operationId: getMarketingAutomationUser @@ -4716,11 +4757,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_66 + tags: *ref_87 + security: *ref_88 /ats/activity: get: - operationId: getActivitys - summary: List a batch of Activitys + operationId: listAtsActivity + summary: List a batch of Activities parameters: - name: x-connection-token required: true @@ -4758,10 +4800,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedActivityOutput' - tags: &ref_67 + tags: &ref_89 - ats/activity + security: &ref_90 + - bearer: [] post: - operationId: addActivity + operationId: createAtsActivity summary: Create a Activity description: Create a activity in any supported Ats software parameters: @@ -4800,10 +4844,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedActivityOutput' - tags: *ref_67 + tags: *ref_89 + security: *ref_90 /ats/activity/{id}: get: - operationId: getActivity + operationId: retrieveAtsActivity summary: Retrieve a Activity description: Retrieve a activity from any connected Ats software parameters: @@ -4836,10 +4881,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedActivityOutput' - tags: *ref_67 + tags: *ref_89 + security: *ref_90 /ats/application: get: - operationId: getApplications + operationId: listAtsApplication summary: List a batch of Applications parameters: - name: x-connection-token @@ -4878,12 +4924,14 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedApplicationOutput' - tags: &ref_68 + tags: &ref_91 - ats/application + security: &ref_92 + - bearer: [] post: - operationId: addApplication - summary: Create a Application - description: Create a application in any supported Ats software + operationId: createAtsApplication + summary: Create an Application + description: Create an application in any supported Ats software parameters: - name: x-connection-token required: true @@ -4920,12 +4968,13 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedApplicationOutput' - tags: *ref_68 + tags: *ref_91 + security: *ref_92 /ats/application/{id}: get: - operationId: getApplication - summary: Retrieve a Application - description: Retrieve a application from any connected Ats software + operationId: retrieveAtsApplication + summary: Retrieve an Application + description: Retrieve an application from any connected Ats software parameters: - name: x-connection-token required: true @@ -4956,10 +5005,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedApplicationOutput' - tags: *ref_68 + tags: *ref_91 + security: *ref_92 /ats/attachment: get: - operationId: getAtsAttachments + operationId: listAtsAttachment summary: List a batch of Attachments parameters: - name: x-connection-token @@ -4998,10 +5048,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: &ref_69 + tags: &ref_93 - ats/attachment + security: &ref_94 + - bearer: [] post: - operationId: addAtsAttachment + operationId: createAtsAttachment summary: Create a Attachment description: Create a attachment in any supported Ats software parameters: @@ -5040,10 +5092,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_69 + tags: *ref_93 + security: *ref_94 /ats/attachment/{id}: get: - operationId: getAtsAttachment + operationId: retrieveAtsAttachment summary: Retrieve a Attachment description: Retrieve a attachment from any connected Ats software parameters: @@ -5076,10 +5129,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_69 + tags: *ref_93 + security: *ref_94 /ats/candidate: get: - operationId: getCandidates + operationId: listAtsCandidate summary: List a batch of Candidates parameters: - name: x-connection-token @@ -5118,10 +5172,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCandidateOutput' - tags: &ref_70 + tags: &ref_95 - ats/candidate + security: &ref_96 + - bearer: [] post: - operationId: addCandidate + operationId: createAtsCandidate summary: Create a Candidate description: Create a candidate in any supported Ats software parameters: @@ -5160,10 +5216,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCandidateOutput' - tags: *ref_70 + tags: *ref_95 + security: *ref_96 /ats/candidate/{id}: get: - operationId: getCandidate + operationId: retrieveAtsCandidate summary: Retrieve a Candidate description: Retrieve a candidate from any connected Ats software parameters: @@ -5196,7 +5253,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCandidateOutput' - tags: *ref_70 + tags: *ref_95 + security: *ref_96 /ats/department: get: operationId: getDepartments @@ -5238,8 +5296,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDepartmentOutput' - tags: &ref_71 + tags: &ref_97 - ats/department + security: &ref_98 + - bearer: [] /ats/department/{id}: get: operationId: getDepartment @@ -5275,10 +5335,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDepartmentOutput' - tags: *ref_71 + tags: *ref_97 + security: *ref_98 /ats/interview: get: - operationId: getInterviews + operationId: listAtsInterview summary: List a batch of Interviews parameters: - name: x-connection-token @@ -5317,10 +5378,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedInterviewOutput' - tags: &ref_72 + tags: &ref_99 - ats/interview + security: &ref_100 + - bearer: [] post: - operationId: addInterview + operationId: createAtsInterview summary: Create a Interview description: Create a interview in any supported Ats software parameters: @@ -5359,10 +5422,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedInterviewOutput' - tags: *ref_72 + tags: *ref_99 + security: *ref_100 /ats/interview/{id}: get: - operationId: getInterview + operationId: retrieveAtsInterview summary: Retrieve a Interview description: Retrieve a interview from any connected Ats software parameters: @@ -5395,10 +5459,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedInterviewOutput' - tags: *ref_72 + tags: *ref_99 + security: *ref_100 /ats/jobinterviewstage: get: - operationId: getJobInterviewStages + operationId: listAtsJobInterviewStage summary: List a batch of JobInterviewStages parameters: - name: x-connection-token @@ -5437,11 +5502,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJobInterviewStageOutput' - tags: &ref_73 + tags: &ref_101 - ats/jobinterviewstage + security: &ref_102 + - bearer: [] /ats/jobinterviewstage/{id}: get: - operationId: getJobInterviewStage + operationId: retrieveAtsJobInterviewStage summary: Retrieve a JobInterviewStage description: Retrieve a jobinterviewstage from any connected Ats software parameters: @@ -5474,10 +5541,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJobInterviewStageOutput' - tags: *ref_73 + tags: *ref_101 + security: *ref_102 /ats/job: get: - operationId: getJobs + operationId: listAtsJob summary: List a batch of Jobs parameters: - name: x-connection-token @@ -5516,11 +5584,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJobOutput' - tags: &ref_74 + tags: &ref_103 - ats/job + security: &ref_104 + - bearer: [] /ats/job/{id}: get: - operationId: getJob + operationId: retrieveAtsJob summary: Retrieve a Job description: Retrieve a job from any connected Ats software parameters: @@ -5553,10 +5623,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJobOutput' - tags: *ref_74 + tags: *ref_103 + security: *ref_104 /ats/offer: get: - operationId: getOffers + operationId: listAtsOffer summary: List a batch of Offers parameters: - name: x-connection-token @@ -5595,11 +5666,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedOfferOutput' - tags: &ref_75 + tags: &ref_105 - ats/offer + security: &ref_106 + - bearer: [] /ats/offer/{id}: get: - operationId: getOffer + operationId: retrieveAtsOffer summary: Retrieve a Offer description: Retrieve a offer from any connected Ats software parameters: @@ -5632,10 +5705,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedOfferOutput' - tags: *ref_75 + tags: *ref_105 + security: *ref_106 /ats/office: get: - operationId: getOffices + operationId: listAtsOffice summary: List a batch of Offices parameters: - name: x-connection-token @@ -5674,11 +5748,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedOfficeOutput' - tags: &ref_76 + tags: &ref_107 - ats/office + security: &ref_108 + - bearer: [] /ats/office/{id}: get: - operationId: getOffice + operationId: retrieveAtsOffice summary: Retrieve a Office description: Retrieve a office from any connected Ats software parameters: @@ -5711,7 +5787,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedOfficeOutput' - tags: *ref_76 + tags: *ref_107 + security: *ref_108 /ats/rejectreason: get: operationId: getRejectReasons @@ -5753,8 +5830,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedRejectReasonOutput' - tags: &ref_77 + tags: &ref_109 - ats/rejectreason + security: &ref_110 + - bearer: [] /ats/rejectreason/{id}: get: operationId: getRejectReason @@ -5790,10 +5869,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedRejectReasonOutput' - tags: *ref_77 + tags: *ref_109 + security: *ref_110 /ats/scorecard: get: - operationId: getScoreCards + operationId: listAtsScorecard summary: List a batch of ScoreCards parameters: - name: x-connection-token @@ -5832,11 +5912,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedScoreCardOutput' - tags: &ref_78 + tags: &ref_111 - ats/scorecard + security: &ref_112 + - bearer: [] /ats/scorecard/{id}: get: - operationId: getScoreCard + operationId: retrieveAtsScorecard summary: Retrieve a ScoreCard description: Retrieve a scorecard from any connected Ats software parameters: @@ -5869,10 +5951,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedScoreCardOutput' - tags: *ref_78 + tags: *ref_111 + security: *ref_112 /ats/tag: get: - operationId: getAtsTags + operationId: listAtsTags summary: List a batch of Tags parameters: - name: x-connection-token @@ -5911,11 +5994,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTagOutput' - tags: &ref_79 + tags: &ref_113 - ats/tag + security: &ref_114 + - bearer: [] /ats/tag/{id}: get: - operationId: getAtsTag + operationId: retrieveAtsTag summary: Retrieve a Tag description: Retrieve a tag from any connected Ats software parameters: @@ -5948,10 +6033,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTagOutput' - tags: *ref_79 + tags: *ref_113 + security: *ref_114 /ats/user: get: - operationId: getAtsUsers + operationId: listAtsUsers summary: List a batch of Users parameters: - name: x-connection-token @@ -5990,11 +6076,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: &ref_80 + tags: &ref_115 - ats/user + security: &ref_116 + - bearer: [] /ats/user/{id}: get: - operationId: getAtsUser + operationId: retrieveAtsUser summary: Retrieve a User description: Retrieve a user from any connected Ats software parameters: @@ -6027,10 +6115,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_80 + tags: *ref_115 + security: *ref_116 /ats/eeocs: get: - operationId: getEeocss + operationId: listAtsEeocs summary: List a batch of Eeocss parameters: - name: x-connection-token @@ -6069,11 +6158,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEeocsOutput' - tags: &ref_81 + tags: &ref_117 - ats/eeocs + security: &ref_118 + - bearer: [] /ats/eeocs/{id}: get: - operationId: getEeocs + operationId: retrieveAtsEeocs summary: Retrieve a Eeocs description: Retrieve a eeocs from any connected Ats software parameters: @@ -6106,10 +6197,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedEeocsOutput' - tags: *ref_81 + tags: *ref_117 + security: *ref_118 /accounting/account: get: - operationId: getAccountingAccounts + operationId: listAccountingAccounts summary: List a batch of Accounts parameters: - name: x-connection-token @@ -6148,10 +6240,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAccountOutput' - tags: &ref_82 + tags: &ref_119 - accounting/account + security: &ref_120 + - bearer: [] post: - operationId: addAccount + operationId: createAccountingAccount summary: Create a Account description: Create a account in any supported Accounting software parameters: @@ -6190,10 +6284,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountOutput' - tags: *ref_82 + tags: *ref_119 + security: *ref_120 /accounting/account/{id}: get: - operationId: getAccountingAccount + operationId: retrieveAccountingAccount summary: Retrieve a Account description: Retrieve a account from any connected Accounting software parameters: @@ -6226,10 +6321,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAccountOutput' - tags: *ref_82 + tags: *ref_119 + security: *ref_120 /accounting/address: get: - operationId: getAddresss + operationId: listAccountingAddress summary: List a batch of Addresss parameters: - name: x-connection-token @@ -6268,11 +6364,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAddressOutput' - tags: &ref_83 + tags: &ref_121 - accounting/address + security: &ref_122 + - bearer: [] /accounting/address/{id}: get: - operationId: getAddress + operationId: retrieveAccountingAddress summary: Retrieve a Address description: Retrieve a address from any connected Accounting software parameters: @@ -6305,10 +6403,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAddressOutput' - tags: *ref_83 + tags: *ref_121 + security: *ref_122 /accounting/attachment: get: - operationId: getAccountingAttachments + operationId: listAccountingAttachments summary: List a batch of Attachments parameters: - name: x-connection-token @@ -6347,10 +6446,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: &ref_84 + tags: &ref_123 - accounting/attachment + security: &ref_124 + - bearer: [] post: - operationId: addAccountingAttachment + operationId: createAccountingAttachment summary: Create a Attachment description: Create a attachment in any supported Accounting software parameters: @@ -6389,10 +6490,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_84 + tags: *ref_123 + security: *ref_124 /accounting/attachment/{id}: get: - operationId: getAccountingAttachment + operationId: retrieveAccountingAttachment summary: Retrieve a Attachment description: Retrieve a attachment from any connected Accounting software parameters: @@ -6425,10 +6527,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_84 + tags: *ref_123 + security: *ref_124 /accounting/balancesheet: get: - operationId: getBalanceSheets + operationId: listAccountingBalanceSheets summary: List a batch of BalanceSheets parameters: - name: x-connection-token @@ -6467,11 +6570,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedBalanceSheetOutput' - tags: &ref_85 + tags: &ref_125 - accounting/balancesheet + security: &ref_126 + - bearer: [] /accounting/balancesheet/{id}: get: - operationId: getBalanceSheet + operationId: retrieveAccountingBalanceSheet summary: Retrieve a BalanceSheet description: Retrieve a balancesheet from any connected Accounting software parameters: @@ -6504,10 +6609,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedBalanceSheetOutput' - tags: *ref_85 + tags: *ref_125 + security: *ref_126 /accounting/cashflowstatement: get: - operationId: getCashflowStatements + operationId: listAccountingCashflowStatement summary: List a batch of CashflowStatements parameters: - name: x-connection-token @@ -6546,11 +6652,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCashflowStatementOutput' - tags: &ref_86 + tags: &ref_127 - accounting/cashflowstatement + security: &ref_128 + - bearer: [] /accounting/cashflowstatement/{id}: get: - operationId: getCashflowStatement + operationId: retrieveAccountingCashflowStatement summary: Retrieve a CashflowStatement description: Retrieve a cashflowstatement from any connected Accounting software parameters: @@ -6583,10 +6691,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCashflowStatementOutput' - tags: *ref_86 + tags: *ref_127 + security: *ref_128 /accounting/companyinfo: get: - operationId: getCompanyInfos + operationId: listAccountingCompanyInfos summary: List a batch of CompanyInfos parameters: - name: x-connection-token @@ -6625,11 +6734,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCompanyInfoOutput' - tags: &ref_87 + tags: &ref_129 - accounting/companyinfo + security: &ref_130 + - bearer: [] /accounting/companyinfo/{id}: get: - operationId: getCompanyInfo + operationId: retrieveAccountingCompanyInfo summary: Retrieve a CompanyInfo description: Retrieve a companyinfo from any connected Accounting software parameters: @@ -6662,10 +6773,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCompanyInfoOutput' - tags: *ref_87 + tags: *ref_129 + security: *ref_130 /accounting/contact: get: - operationId: getAccountingContacts + operationId: listAccountingContacts summary: List a batch of Contacts parameters: - name: x-connection-token @@ -6704,10 +6816,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedContactOutput' - tags: &ref_88 + tags: &ref_131 - accounting/contact + security: &ref_132 + - bearer: [] post: - operationId: addAccountingContact + operationId: createAccountingContact summary: Create a Contact description: Create a contact in any supported Accounting software parameters: @@ -6746,10 +6860,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_88 + tags: *ref_131 + security: *ref_132 /accounting/contact/{id}: get: - operationId: getAccountingContact + operationId: retrieveAccountingContact summary: Retrieve a Contact description: Retrieve a contact from any connected Accounting software parameters: @@ -6782,10 +6897,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_88 + tags: *ref_131 + security: *ref_132 /accounting/creditnote: get: - operationId: getCreditNotes + operationId: listAccountingCreditNote summary: List a batch of CreditNotes parameters: - name: x-connection-token @@ -6824,11 +6940,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCreditNoteOutput' - tags: &ref_89 + tags: &ref_133 - accounting/creditnote + security: &ref_134 + - bearer: [] /accounting/creditnote/{id}: get: - operationId: getCreditNote + operationId: retrieveAccountingCreditNote summary: Retrieve a CreditNote description: Retrieve a creditnote from any connected Accounting software parameters: @@ -6861,10 +6979,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCreditNoteOutput' - tags: *ref_89 + tags: *ref_133 + security: *ref_134 /accounting/expense: get: - operationId: getExpenses + operationId: listAccountingExpense summary: List a batch of Expenses parameters: - name: x-connection-token @@ -6903,10 +7022,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedExpenseOutput' - tags: &ref_90 + tags: &ref_135 - accounting/expense + security: &ref_136 + - bearer: [] post: - operationId: addExpense + operationId: createAccountingExpense summary: Create a Expense description: Create a expense in any supported Accounting software parameters: @@ -6945,10 +7066,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedExpenseOutput' - tags: *ref_90 + tags: *ref_135 + security: *ref_136 /accounting/expense/{id}: get: - operationId: getExpense + operationId: retrieveAccountingExpense summary: Retrieve a Expense description: Retrieve a expense from any connected Accounting software parameters: @@ -6981,10 +7103,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedExpenseOutput' - tags: *ref_90 + tags: *ref_135 + security: *ref_136 /accounting/incomestatement: get: - operationId: getIncomeStatements + operationId: listAccountingIncomeStatement summary: List a batch of IncomeStatements parameters: - name: x-connection-token @@ -7023,11 +7146,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedIncomeStatementOutput' - tags: &ref_91 + tags: &ref_137 - accounting/incomestatement + security: &ref_138 + - bearer: [] /accounting/incomestatement/{id}: get: - operationId: getIncomeStatement + operationId: retrieveAccountingIncomeStatement summary: Retrieve a IncomeStatement description: Retrieve a incomestatement from any connected Accounting software parameters: @@ -7060,10 +7185,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedIncomeStatementOutput' - tags: *ref_91 + tags: *ref_137 + security: *ref_138 /accounting/invoice: get: - operationId: getInvoices + operationId: listAccountingInvoice summary: List a batch of Invoices parameters: - name: x-connection-token @@ -7102,10 +7228,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedInvoiceOutput' - tags: &ref_92 + tags: &ref_139 - accounting/invoice + security: &ref_140 + - bearer: [] post: - operationId: addInvoice + operationId: createAccountingInvoice summary: Create a Invoice description: Create a invoice in any supported Accounting software parameters: @@ -7144,10 +7272,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedInvoiceOutput' - tags: *ref_92 + tags: *ref_139 + security: *ref_140 /accounting/invoice/{id}: get: - operationId: getInvoice + operationId: retrieveAccountingInvoice summary: Retrieve a Invoice description: Retrieve a invoice from any connected Accounting software parameters: @@ -7180,10 +7309,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedInvoiceOutput' - tags: *ref_92 + tags: *ref_139 + security: *ref_140 /accounting/item: get: - operationId: getItems + operationId: listAccountingItem summary: List a batch of Items parameters: - name: x-connection-token @@ -7222,11 +7352,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedItemOutput' - tags: &ref_93 + tags: &ref_141 - accounting/item + security: &ref_142 + - bearer: [] /accounting/item/{id}: get: - operationId: getItem + operationId: retrieveAccountingItem summary: Retrieve a Item description: Retrieve a item from any connected Accounting software parameters: @@ -7259,10 +7391,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedItemOutput' - tags: *ref_93 + tags: *ref_141 + security: *ref_142 /accounting/journalentry: get: - operationId: getJournalEntrys + operationId: listAccountingJournalEntry summary: List a batch of JournalEntrys parameters: - name: x-connection-token @@ -7301,10 +7434,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJournalEntryOutput' - tags: &ref_94 + tags: &ref_143 - accounting/journalentry + security: &ref_144 + - bearer: [] post: - operationId: addJournalEntry + operationId: createAccountingJournalEntry summary: Create a JournalEntry description: Create a journalentry in any supported Accounting software parameters: @@ -7343,10 +7478,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedJournalEntryOutput' - tags: *ref_94 + tags: *ref_143 + security: *ref_144 /accounting/journalentry/{id}: get: - operationId: getJournalEntry + operationId: retrieveAccountingJournalEntry summary: Retrieve a JournalEntry description: Retrieve a journalentry from any connected Accounting software parameters: @@ -7379,10 +7515,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedJournalEntryOutput' - tags: *ref_94 + tags: *ref_143 + security: *ref_144 /accounting/payment: get: - operationId: getPayments + operationId: listAccountingPayment summary: List a batch of Payments parameters: - name: x-connection-token @@ -7421,10 +7558,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPaymentOutput' - tags: &ref_95 + tags: &ref_145 - accounting/payment + security: &ref_146 + - bearer: [] post: - operationId: addPayment + operationId: createAccountingPayment summary: Create a Payment description: Create a payment in any supported Accounting software parameters: @@ -7463,10 +7602,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedPaymentOutput' - tags: *ref_95 + tags: *ref_145 + security: *ref_146 /accounting/payment/{id}: get: - operationId: getPayment + operationId: retrieveAccountingPayment summary: Retrieve a Payment description: Retrieve a payment from any connected Accounting software parameters: @@ -7499,10 +7639,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPaymentOutput' - tags: *ref_95 + tags: *ref_145 + security: *ref_146 /accounting/phonenumber: get: - operationId: getPhoneNumbers + operationId: listAccountingPhonenumber summary: List a batch of PhoneNumbers parameters: - name: x-connection-token @@ -7541,11 +7682,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPhoneNumberOutput' - tags: &ref_96 + tags: &ref_147 - accounting/phonenumber + security: &ref_148 + - bearer: [] /accounting/phonenumber/{id}: get: - operationId: getPhoneNumber + operationId: retrieveAccountingPhonenumber summary: Retrieve a PhoneNumber description: Retrieve a phonenumber from any connected Accounting software parameters: @@ -7578,10 +7721,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPhoneNumberOutput' - tags: *ref_96 + tags: *ref_147 + security: *ref_148 /accounting/purchaseorder: get: - operationId: getPurchaseOrders + operationId: listAccountingPurchaseOrder summary: List a batch of PurchaseOrders parameters: - name: x-connection-token @@ -7620,10 +7764,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' - tags: &ref_97 + tags: &ref_149 - accounting/purchaseorder + security: &ref_150 + - bearer: [] post: - operationId: addPurchaseOrder + operationId: createAccountingPurchaseOrder summary: Create a PurchaseOrder description: Create a purchaseorder in any supported Accounting software parameters: @@ -7662,10 +7808,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' - tags: *ref_97 + tags: *ref_149 + security: *ref_150 /accounting/purchaseorder/{id}: get: - operationId: getPurchaseOrder + operationId: retrieveAccountingPurchaseOrder summary: Retrieve a PurchaseOrder description: Retrieve a purchaseorder from any connected Accounting software parameters: @@ -7698,10 +7845,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' - tags: *ref_97 + tags: *ref_149 + security: *ref_150 /accounting/taxrate: get: - operationId: getTaxRates + operationId: listAccountingTaxRate summary: List a batch of TaxRates parameters: - name: x-connection-token @@ -7740,11 +7888,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTaxRateOutput' - tags: &ref_98 + tags: &ref_151 - accounting/taxrate + security: &ref_152 + - bearer: [] /accounting/taxrate/{id}: get: - operationId: getTaxRate + operationId: retrieveAccountingTaxRate summary: Retrieve a TaxRate description: Retrieve a taxrate from any connected Accounting software parameters: @@ -7777,10 +7927,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTaxRateOutput' - tags: *ref_98 + tags: *ref_151 + security: *ref_152 /accounting/trackingcategory: get: - operationId: getTrackingCategorys + operationId: listAccountingTrackingCategorys summary: List a batch of TrackingCategorys parameters: - name: x-connection-token @@ -7819,11 +7970,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTrackingCategoryOutput' - tags: &ref_99 + tags: &ref_153 - accounting/trackingcategory + security: &ref_154 + - bearer: [] /accounting/trackingcategory/{id}: get: - operationId: getTrackingCategory + operationId: retrieveAccountingTrackingCategory summary: Retrieve a TrackingCategory description: Retrieve a trackingcategory from any connected Accounting software parameters: @@ -7856,10 +8009,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTrackingCategoryOutput' - tags: *ref_99 + tags: *ref_153 + security: *ref_154 /accounting/transaction: get: - operationId: getTransactions + operationId: listAccountingTransaction summary: List a batch of Transactions parameters: - name: x-connection-token @@ -7898,11 +8052,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTransactionOutput' - tags: &ref_100 + tags: &ref_155 - accounting/transaction + security: &ref_156 + - bearer: [] /accounting/transaction/{id}: get: - operationId: getTransaction + operationId: retrieveAccountingTransaction summary: Retrieve a Transaction description: Retrieve a transaction from any connected Accounting software parameters: @@ -7935,10 +8091,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedTransactionOutput' - tags: *ref_100 + tags: *ref_155 + security: *ref_156 /accounting/vendorcredit: get: - operationId: getVendorCredits + operationId: listAccountingVendorCredit summary: List a batch of VendorCredits parameters: - name: x-connection-token @@ -7977,11 +8134,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedVendorCreditOutput' - tags: &ref_101 + tags: &ref_157 - accounting/vendorcredit + security: &ref_158 + - bearer: [] /accounting/vendorcredit/{id}: get: - operationId: getVendorCredit + operationId: retrieveAccountingVendorCredit summary: Retrieve a VendorCredit description: Retrieve a vendorcredit from any connected Accounting software parameters: @@ -8014,10 +8173,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedVendorCreditOutput' - tags: *ref_101 + tags: *ref_157 + security: *ref_158 /filestorage/drives: get: - operationId: getDrives + operationId: listFilestorageDrives summary: List a batch of Drives parameters: - name: x-connection-token @@ -8056,11 +8216,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDriveOutput' - tags: &ref_102 + tags: &ref_159 - filestorage/drives + security: &ref_160 + - bearer: [] /filestorage/drives/{id}: get: - operationId: getDrive + operationId: retrieveFilestorageDrive summary: Retrieve a Drive description: Retrieve a drive from any connected Filestorage software parameters: @@ -8093,10 +8255,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedDriveOutput' - tags: *ref_102 + tags: *ref_159 + security: *ref_160 /filestorage/files: get: - operationId: getFiles + operationId: listFilestorageFile summary: List a batch of Files parameters: - name: x-connection-token @@ -8135,10 +8298,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedFileOutput' - tags: &ref_103 + tags: &ref_161 - filestorage/files + security: &ref_162 + - bearer: [] post: - operationId: addFile + operationId: createFilestorageFile summary: Create a File description: Create a file in any supported Filestorage software parameters: @@ -8176,10 +8341,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFileOutput' - tags: *ref_103 + tags: *ref_161 + security: *ref_162 /filestorage/files/{id}: get: - operationId: getFile + operationId: retrieveFilestorageFile summary: Retrieve a File description: Retrieve a file from any connected Filestorage software parameters: @@ -8212,10 +8378,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedFileOutput' - tags: *ref_103 + tags: *ref_161 + security: *ref_162 /filestorage/folders: get: - operationId: getFolders + operationId: listFilestorageFolder summary: List a batch of Folders parameters: - name: x-connection-token @@ -8254,10 +8421,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedFolderOutput' - tags: &ref_104 + tags: &ref_163 - filestorage/folders + security: &ref_164 + - bearer: [] post: - operationId: addFolder + operationId: createFilestorageFolder summary: Create a Folder description: Create a folder in any supported Filestorage software parameters: @@ -8295,10 +8464,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFolderOutput' - tags: *ref_104 + tags: *ref_163 + security: *ref_164 /filestorage/folders/{id}: get: - operationId: getFolder + operationId: retrieveFilestorageFolder summary: Retrieve a Folder description: Retrieve a folder from any connected Filestorage software parameters: @@ -8331,10 +8501,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedFolderOutput' - tags: *ref_104 + tags: *ref_163 + security: *ref_164 /filestorage/groups: get: - operationId: getFsGroups + operationId: listFilestorageGroup summary: List a batch of Groups parameters: - name: x-connection-token @@ -8373,11 +8544,13 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedGroupOutput' - tags: &ref_105 + tags: &ref_165 - filestorage/groups + security: &ref_166 + - bearer: [] /filestorage/groups/{id}: get: - operationId: getFsGroup + operationId: retrieveFilestorageGroup summary: Retrieve a Group description: Retrieve a permission from any connected Filestorage software parameters: @@ -8410,7 +8583,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedGroupOutput' - tags: *ref_105 + tags: *ref_165 + security: *ref_166 /filestorage/users: get: operationId: getUsers @@ -8452,8 +8626,10 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: &ref_106 + tags: &ref_167 - filestorage/users + security: &ref_168 + - bearer: [] /filestorage/users/{id}: get: operationId: getUser @@ -8489,10 +8665,11 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_106 + tags: *ref_167 + security: *ref_168 /ticketing/attachments: get: - operationId: getTicketingAttachments + operationId: listTicketingAttachments summary: List a batch of Attachments parameters: - name: x-connection-token @@ -8531,12 +8708,12 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: &ref_107 + tags: &ref_169 - ticketing/attachments - security: &ref_108 - - JWT: [] + security: &ref_170 + - bearer: [] post: - operationId: addTicketingAttachment + operationId: createTicketingAttachment summary: Create a Attachment description: Create a attachment in any supported Ticketing software parameters: @@ -8575,11 +8752,11 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_107 - security: *ref_108 + tags: *ref_169 + security: *ref_170 /ticketing/attachments/{id}: get: - operationId: getTicketingAttachment + operationId: retrieveTicketingAttachment summary: Retrieve a Attachment description: Retrieve a attachment from any connected Ticketing software parameters: @@ -8612,45 +8789,8 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_107 - security: *ref_108 - /ticketing/attachments/{id}/download: - get: - operationId: downloadAttachment - summary: Download a Attachment - description: Download a attachment from any connected Ticketing software - parameters: - - name: id - required: true - in: path - description: id of the attachment you want to retrive. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_107 - security: *ref_108 + tags: *ref_169 + security: *ref_170 info: title: Unified Panora API description: The Panora API description @@ -8664,10 +8804,9 @@ servers: description: Sandbox server components: securitySchemes: - MyBearerAuth: - scheme: bearer - bearerFormat: JWT + bearer: type: http + scheme: bearer schemas: CreateUserDto: type: object