diff --git a/packages/api/prisma/schema.prisma b/packages/api/prisma/schema.prisma index 7e528d24a..424e9a9c6 100644 --- a/packages/api/prisma/schema.prisma +++ b/packages/api/prisma/schema.prisma @@ -649,13 +649,13 @@ model connector_sets { crm_zoho Boolean crm_attio Boolean crm_pipedrive Boolean - crm_zendesk Boolean - crm_close Boolean tcg_zendesk Boolean tcg_jira Boolean tcg_gorgias Boolean tcg_gitlab Boolean tcg_front Boolean + crm_zendesk Boolean + crm_close Boolean projects projects[] } @@ -674,25 +674,26 @@ model managed_webhooks { model fs_drives { id_fs_drive String @id(map: "pk_fs_drives") @db.Uuid - remote_created_at DateTime? @db.Timestamp(6) drive_url String? + name String? + remote_created_at DateTime? @db.Timestamp(6) + remote_id String? created_at DateTime @db.Timestamp(6) modified_at DateTime @db.Timestamp(6) - remote_id String? } model fs_files { id_fs_file String @id(map: "pk_fs_files") @db.Uuid name String? type String? - path String? + file_url String? mime_type String? size BigInt? remote_id String? id_fs_folder String? @db.Uuid created_at DateTime @db.Timestamp(6) modified_at DateTime @db.Timestamp(6) - id_fs_permission String @db.Uuid + id_fs_permission String? @db.Uuid @@index([id_fs_folder], map: "fk_fs_file_folderid") @@index([id_fs_permission], map: "fk_fs_file_permissionid") @@ -702,13 +703,14 @@ model fs_folders { id_fs_folder String @id(map: "pk_fs_folders") @db.Uuid folder_url String? size BigInt? + name String? description String? parent_folder String? @db.Uuid remote_id String? created_at DateTime @db.Timestamp(6) modified_at DateTime @db.Timestamp(6) id_fs_drive String? @db.Uuid - id_fs_permission String @db.Uuid + id_fs_permission String? @db.Uuid @@index([id_fs_drive], map: "fk_fs_folder_driveid") @@index([id_fs_permission], map: "fk_fs_folder_permissionid") @@ -718,16 +720,304 @@ model fs_folders { model fs_permissions { id_fs_permission String @id(map: "pk_fs_permissions") @db.Uuid remote_id String? - created_at DateTime @db.Timestamp(6) - modified_at DateTime @db.Timestamp(6) - user String @db.Uuid - group String @db.Uuid + user String? @db.Uuid + group String? @db.Uuid type String[] roles String[] + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) } model fs_shared_links { - id_fs_shared_link String @id(map: "pk_fs_shared_links") @db.Uuid + id_fs_shared_link String @id(map: "pk_fs_shared_links") @db.Uuid + url String? + download_url String? + id_fs_folder String? @db.Uuid + id_fs_file String? @db.Uuid + scope String? + password_protected Boolean + password String? + expires_at DateTime? @db.Timestamptz(6) + created_at DateTime @db.Timestamptz(6) + modified_at DateTime @db.Timestamptz(6) +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_activities { + id_ats_activity String @id(map: "pk_ats_activities") @db.Uuid + activity_type String? + subject String? + body String? + visibility String? + id_ats_candidate String? @db.Uuid + remote_id String? + remote_created_at DateTime? @db.Timestamp(6) + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + + @@index([id_ats_candidate], map: "fk_activity_candidate") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_applications { + id_ats_application String @id(map: "pk_ats_applications") @db.Uuid + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_candidate String? @db.Uuid + id_ats_job String? @db.Uuid + applied_at DateTime? @db.Timestamp(6) + rejected_at DateTime? @db.Timestamp(6) + offers String[] + source String? + credited_to String? @db.Uuid + current_stage String? @db.Uuid + reject_reason String? + + @@index([id_ats_job], map: "fk_ats_application_ats_job_id") + @@index([id_ats_candidate], map: "fk_ats_application_atscandidateid") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_candidate_attachments { + id_ats_candidate_attachment String @id(map: "pk_ats_candidate_attachments") @db.Uuid + remote_id String? + file_url String? + file_name String? + remote_created_at DateTime? @db.Timestamp(6) + remote_modified_at DateTime? @db.Timestamp(6) + file_type String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_candidate String @db.Uuid + + @@index([id_ats_candidate], map: "fk_ats_candidate_attachment_candidateid_index") +} + +model ats_candidate_email_addresses { + id_ats_candidate_email_address String @id(map: "pk_ats_candidate_email_addresses") @db.Uuid + value String? + type String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_candidate String @db.Uuid + + @@index([id_ats_candidate], map: "fk_candidate_email_id") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_candidate_phone_numbers { + id_ats_candidate_phone_number String @id(map: "pk_ats_candidate_phone_numbers") @db.Uuid + value String? + type String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_candidate String @db.Uuid + + @@index([id_ats_candidate], map: "fk_candidate_phone_id") +} + +model ats_candidate_tags { + id_ats_candidate_tag String @id(map: "pk_ats_candidate_tags") @db.Uuid + name String? + id_ats_candidate String? @db.Uuid + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + + @@index([id_ats_candidate], map: "fk_candidates_candidatestags") +} + +model ats_candidate_urls { + id_ats_candidate_url String @id(map: "pk_ats_candidate_urls") @db.Uuid + value String? + type String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_candidate String @db.Uuid + + @@index([id_ats_candidate], map: "fk_candidate_url_id") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_candidates { + id_ats_candidate String @id(map: "pk_ats_candidates") @db.Uuid + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + first_name String? + last_name String? + company String? + title String? + remote_created_at DateTime? @db.Timestamp(6) + remote_modified_at DateTime? @db.Timestamp(6) + last_interaction_at DateTime? @db.Timestamp(6) + is_private Boolean? + email_reachable Boolean? + locations String? +} + +model ats_departments { + id_ats_department String @id(map: "pk_ats_departments") @db.Uuid + name String? + remote_id String? created_at DateTime @db.Timestamp(6) modified_at DateTime @db.Timestamp(6) } + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_eeocs { + id_ats_eeoc String @id(map: "pk_ats_eeocs") @db.Uuid + id_ats_candidate String? @db.Uuid + submitted_at DateTime? @db.Timestamp(6) + race String? + gender String? + veteran_status String? + disability_status String? + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + + @@index([id_ats_candidate], map: "fk_candidate_eeocsid") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_interviews { + id_ats_interview String @id(map: "pk_ats_interviews") @db.Uuid + status String? + id_ats_application String? @db.Uuid + id_ats_job_interview_stage String? @db.Uuid + organized_by String? @db.Uuid + interviewers String[] + location String? + start_at DateTime? @db.Timestamp(6) + end_at DateTime? @db.Timestamp(6) + remote_created_at DateTime? @db.Timestamp(6) + remote_updated_at DateTime? @db.Timestamp(6) + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + + @@index([id_ats_application], map: "fk_applications_interviews") + @@index([id_ats_job_interview_stage], map: "fk_id_ats_job_interview_stageid") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_job_interview_stages { + id_ats_job_interview_stage String @id(map: "pk_ats_job_interview_stages") @db.Uuid + name String? + stage_order Int? + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_job String? @db.Uuid + + @@index([id_ats_job], map: "fk_ats_jobs_ats_jobinterview_id") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_jobs { + id_ats_job String @id(map: "pk_ats_jobs") @db.Uuid + name String? + description String? + code String? + status String? + type String? + confidential Boolean? + ats_departments String[] + ats_offices String[] + managers String[] + recruiters String[] + remote_id String? + remote_created_at DateTime? @db.Timestamp(6) + remote_updated_at DateTime? @db.Timestamp(6) + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_offers { + id_ats_offer String @id(map: "pk_ats_offers") @db.Uuid + remote_id String? + created_by String? @db.Uuid + remote_created_at DateTime? @db.Timestamp(6) + closed_at DateTime? @db.Timestamp(6) + sent_at DateTime? @db.Timestamp(6) + start_date DateTime? @db.Timestamp(6) + status String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + id_ats_application String @db.Uuid + + @@index([id_ats_application], map: "fk_ats_offers_applicationid") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_offices { + id_ats_office String @id(map: "pk_ats_offices") @db.Uuid + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + name String? + location String? +} + +model ats_reject_reasons { + id_ats_reject_reason String @id(map: "pk_ats_reject_reasons") @db.Uuid + name String? + remote_id String? + modified_at DateTime @db.Timestamp(6) + created_at DateTime @db.Timestamp(6) +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_scorecards { + id_ats_scorecard String @id(map: "pk_ats_scorecards") @db.Uuid + overall_recommendation String? + id_ats_application String? @db.Uuid + id_ats_interview String? @db.Uuid + remote_id String? + remote_created_at DateTime? @db.Timestamp(6) + submitted_at DateTime? @db.Timestamp(6) + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) + + @@index([id_ats_application], map: "fk_applications_scorecard") + @@index([id_ats_interview], map: "fk_interviews_scorecards") +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model ats_users { + id_ats_user String @id(map: "pk_ats_users") @db.Uuid + remote_id String? + first_name String? + last_name String? + email String? + disabled Boolean? + access_role String? + remote_created_at DateTime? @db.Timestamp(6) + remote_modified_at DateTime? @db.Timestamp(6) + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) +} + +/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments +model fs_groups { + id_fs_group String @id(map: "pk_fs_groups") @db.Uuid + name String? + users Json? + remote_id String? + remote_was_deleted Boolean + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) +} + +model fs_users { + id_fs_user String @id(map: "pk_fs_users") @db.Uuid + name String? + email String? + is_me Boolean + remote_id String? + created_at DateTime @db.Timestamp(6) + modified_at DateTime @db.Timestamp(6) +} diff --git a/packages/api/scripts/commonObject.sh b/packages/api/scripts/commonObject.sh index 64bfe5cfa..ba328c147 100755 --- a/packages/api/scripts/commonObject.sh +++ b/packages/api/scripts/commonObject.sh @@ -414,50 +414,7 @@ private connectionUtils: ConnectionUtils throw new Error(error); } } - - @ApiOperation({ - operationId: 'add${ObjectCap}s', - summary: 'Add a batch of ${ObjectCap}s', - }) - @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 ${VerticalCap} software.', - }) - @ApiBody({ type: Unified${ObjectCap}Input, isArray: true }) - @ApiCustomResponse(Unified${ObjectCap}Output) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async add${ObjectCap}s( - @Body() unfied${ObjectCap}Data: Unified${ObjectCap}Input[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try{ - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.${objectType}Service.batchAdd${ObjectCap}s( - unfied${ObjectCap}Data, - remoteSource, - linkedUserId, - remote_data, - ); - }catch(error){ - throw new Error(error); - } - - } - + @ApiOperation({ operationId: 'update${ObjectCap}', summary: 'Update a ${ObjectCap}', diff --git a/packages/api/src/accounting/account/account.controller.ts b/packages/api/src/accounting/account/account.controller.ts index 39f16e7a0..c76a56efe 100644 --- a/packages/api/src/accounting/account/account.controller.ts +++ b/packages/api/src/accounting/account/account.controller.ts @@ -145,46 +145,4 @@ export class AccountController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAccounts', - summary: 'Add a batch of Accounts', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedAccountInput, isArray: true }) - @ApiCustomResponse(UnifiedAccountOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAccounts( - @Body() unfiedAccountData: UnifiedAccountInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.accountService.batchAddAccounts( - unfiedAccountData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/address/address.controller.ts b/packages/api/src/accounting/address/address.controller.ts index 471cc932f..567dbbd4e 100644 --- a/packages/api/src/accounting/address/address.controller.ts +++ b/packages/api/src/accounting/address/address.controller.ts @@ -145,46 +145,4 @@ export class AddressController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAddresss', - summary: 'Add a batch of Addresss', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedAddressInput, isArray: true }) - @ApiCustomResponse(UnifiedAddressOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAddresss( - @Body() unfiedAddressData: UnifiedAddressInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.addressService.batchAddAddresss( - unfiedAddressData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/attachment/attachment.controller.ts b/packages/api/src/accounting/attachment/attachment.controller.ts index ca3cfffd5..5dfe34303 100644 --- a/packages/api/src/accounting/attachment/attachment.controller.ts +++ b/packages/api/src/accounting/attachment/attachment.controller.ts @@ -145,46 +145,4 @@ export class AttachmentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAccountingAttachments', - summary: 'Add a batch of Attachments', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedAttachmentInput, isArray: true }) - @ApiCustomResponse(UnifiedAttachmentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAttachments( - @Body() unfiedAttachmentData: UnifiedAttachmentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.attachmentService.batchAddAttachments( - unfiedAttachmentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/balancesheet/balancesheet.controller.ts b/packages/api/src/accounting/balancesheet/balancesheet.controller.ts index 8285b0068..a79f8acc7 100644 --- a/packages/api/src/accounting/balancesheet/balancesheet.controller.ts +++ b/packages/api/src/accounting/balancesheet/balancesheet.controller.ts @@ -146,46 +146,4 @@ export class BalanceSheetController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addBalanceSheets', - summary: 'Add a batch of BalanceSheets', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedBalanceSheetInput, isArray: true }) - @ApiCustomResponse(UnifiedBalanceSheetOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addBalanceSheets( - @Body() unfiedBalanceSheetData: UnifiedBalanceSheetInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.balancesheetService.batchAddBalanceSheets( - unfiedBalanceSheetData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts b/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts index dced1855b..0378a2758 100644 --- a/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts +++ b/packages/api/src/accounting/cashflowstatement/cashflowstatement.controller.ts @@ -147,46 +147,4 @@ export class CashflowStatementController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCashflowStatements', - summary: 'Add a batch of CashflowStatements', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedCashflowStatementInput, isArray: true }) - @ApiCustomResponse(UnifiedCashflowStatementOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCashflowStatements( - @Body() unfiedCashflowStatementData: UnifiedCashflowStatementInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.cashflowstatementService.batchAddCashflowStatements( - unfiedCashflowStatementData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/companyinfo/companyinfo.controller.ts b/packages/api/src/accounting/companyinfo/companyinfo.controller.ts index bd6b246f0..20652083e 100644 --- a/packages/api/src/accounting/companyinfo/companyinfo.controller.ts +++ b/packages/api/src/accounting/companyinfo/companyinfo.controller.ts @@ -146,46 +146,4 @@ export class CompanyInfoController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCompanyInfos', - summary: 'Add a batch of CompanyInfos', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedCompanyInfoInput, isArray: true }) - @ApiCustomResponse(UnifiedCompanyInfoOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCompanyInfos( - @Body() unfiedCompanyInfoData: UnifiedCompanyInfoInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.companyinfoService.batchAddCompanyInfos( - unfiedCompanyInfoData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/contact/contact.controller.ts b/packages/api/src/accounting/contact/contact.controller.ts index 34e500f50..a4d65be90 100644 --- a/packages/api/src/accounting/contact/contact.controller.ts +++ b/packages/api/src/accounting/contact/contact.controller.ts @@ -145,46 +145,4 @@ export class ContactController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAccountingContacts', - summary: 'Add a batch of Contacts', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedContactInput, isArray: true }) - @ApiCustomResponse(UnifiedContactOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addContacts( - @Body() unfiedContactData: UnifiedContactInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.contactService.batchAddContacts( - unfiedContactData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/creditnote/creditnote.controller.ts b/packages/api/src/accounting/creditnote/creditnote.controller.ts index 24ba72877..148c0f92c 100644 --- a/packages/api/src/accounting/creditnote/creditnote.controller.ts +++ b/packages/api/src/accounting/creditnote/creditnote.controller.ts @@ -145,46 +145,4 @@ export class CreditNoteController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCreditNotes', - summary: 'Add a batch of CreditNotes', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedCreditNoteInput, isArray: true }) - @ApiCustomResponse(UnifiedCreditNoteOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCreditNotes( - @Body() unfiedCreditNoteData: UnifiedCreditNoteInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.creditnoteService.batchAddCreditNotes( - unfiedCreditNoteData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/expense/expense.controller.ts b/packages/api/src/accounting/expense/expense.controller.ts index 574b1111a..9b0e6cd02 100644 --- a/packages/api/src/accounting/expense/expense.controller.ts +++ b/packages/api/src/accounting/expense/expense.controller.ts @@ -145,46 +145,4 @@ export class ExpenseController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addExpenses', - summary: 'Add a batch of Expenses', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedExpenseInput, isArray: true }) - @ApiCustomResponse(UnifiedExpenseOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addExpenses( - @Body() unfiedExpenseData: UnifiedExpenseInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.expenseService.batchAddExpenses( - unfiedExpenseData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/incomestatement/incomestatement.controller.ts b/packages/api/src/accounting/incomestatement/incomestatement.controller.ts index bad3fe763..775a5aeac 100644 --- a/packages/api/src/accounting/incomestatement/incomestatement.controller.ts +++ b/packages/api/src/accounting/incomestatement/incomestatement.controller.ts @@ -147,46 +147,4 @@ export class IncomeStatementController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addIncomeStatements', - summary: 'Add a batch of IncomeStatements', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedIncomeStatementInput, isArray: true }) - @ApiCustomResponse(UnifiedIncomeStatementOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addIncomeStatements( - @Body() unfiedIncomeStatementData: UnifiedIncomeStatementInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.incomestatementService.batchAddIncomeStatements( - unfiedIncomeStatementData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/invoice/invoice.controller.ts b/packages/api/src/accounting/invoice/invoice.controller.ts index 3d111e604..60a536bd9 100644 --- a/packages/api/src/accounting/invoice/invoice.controller.ts +++ b/packages/api/src/accounting/invoice/invoice.controller.ts @@ -145,46 +145,4 @@ export class InvoiceController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addInvoices', - summary: 'Add a batch of Invoices', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedInvoiceInput, isArray: true }) - @ApiCustomResponse(UnifiedInvoiceOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addInvoices( - @Body() unfiedInvoiceData: UnifiedInvoiceInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.invoiceService.batchAddInvoices( - unfiedInvoiceData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/item/item.controller.ts b/packages/api/src/accounting/item/item.controller.ts index 99c4f828e..da097b37f 100644 --- a/packages/api/src/accounting/item/item.controller.ts +++ b/packages/api/src/accounting/item/item.controller.ts @@ -138,46 +138,4 @@ export class ItemController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addItems', - summary: 'Add a batch of Items', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedItemInput, isArray: true }) - @ApiCustomResponse(UnifiedItemOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addItems( - @Body() unfiedItemData: UnifiedItemInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.itemService.batchAddItems( - unfiedItemData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/journalentry/journalentry.controller.ts b/packages/api/src/accounting/journalentry/journalentry.controller.ts index c6ae9d9fb..73f54ab61 100644 --- a/packages/api/src/accounting/journalentry/journalentry.controller.ts +++ b/packages/api/src/accounting/journalentry/journalentry.controller.ts @@ -146,46 +146,4 @@ export class JournalEntryController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addJournalEntrys', - summary: 'Add a batch of JournalEntrys', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedJournalEntryInput, isArray: true }) - @ApiCustomResponse(UnifiedJournalEntryOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addJournalEntrys( - @Body() unfiedJournalEntryData: UnifiedJournalEntryInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.journalentryService.batchAddJournalEntrys( - unfiedJournalEntryData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/payment/payment.controller.ts b/packages/api/src/accounting/payment/payment.controller.ts index 4e4982bb2..7a89c2730 100644 --- a/packages/api/src/accounting/payment/payment.controller.ts +++ b/packages/api/src/accounting/payment/payment.controller.ts @@ -145,46 +145,4 @@ export class PaymentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPayments', - summary: 'Add a batch of Payments', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedPaymentInput, isArray: true }) - @ApiCustomResponse(UnifiedPaymentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPayments( - @Body() unfiedPaymentData: UnifiedPaymentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.paymentService.batchAddPayments( - unfiedPaymentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/phonenumber/phonenumber.controller.ts b/packages/api/src/accounting/phonenumber/phonenumber.controller.ts index 9fa859362..a7a6b6b06 100644 --- a/packages/api/src/accounting/phonenumber/phonenumber.controller.ts +++ b/packages/api/src/accounting/phonenumber/phonenumber.controller.ts @@ -146,46 +146,4 @@ export class PhoneNumberController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPhoneNumbers', - summary: 'Add a batch of PhoneNumbers', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedPhoneNumberInput, isArray: true }) - @ApiCustomResponse(UnifiedPhoneNumberOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPhoneNumbers( - @Body() unfiedPhoneNumberData: UnifiedPhoneNumberInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.phonenumberService.batchAddPhoneNumbers( - unfiedPhoneNumberData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts b/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts index f64594c84..a6c0870f4 100644 --- a/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts +++ b/packages/api/src/accounting/purchaseorder/purchaseorder.controller.ts @@ -146,46 +146,4 @@ export class PurchaseOrderController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPurchaseOrders', - summary: 'Add a batch of PurchaseOrders', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedPurchaseOrderInput, isArray: true }) - @ApiCustomResponse(UnifiedPurchaseOrderOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPurchaseOrders( - @Body() unfiedPurchaseOrderData: UnifiedPurchaseOrderInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.purchaseorderService.batchAddPurchaseOrders( - unfiedPurchaseOrderData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/taxrate/taxrate.controller.ts b/packages/api/src/accounting/taxrate/taxrate.controller.ts index 0d4ce4b4c..b49d458bc 100644 --- a/packages/api/src/accounting/taxrate/taxrate.controller.ts +++ b/packages/api/src/accounting/taxrate/taxrate.controller.ts @@ -145,46 +145,4 @@ export class TaxRateController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTaxRates', - summary: 'Add a batch of TaxRates', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedTaxRateInput, isArray: true }) - @ApiCustomResponse(UnifiedTaxRateOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTaxRates( - @Body() unfiedTaxRateData: UnifiedTaxRateInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.taxrateService.batchAddTaxRates( - unfiedTaxRateData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts b/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts index 04e703a60..a8a2afccf 100644 --- a/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts +++ b/packages/api/src/accounting/trackingcategory/trackingcategory.controller.ts @@ -147,46 +147,4 @@ export class TrackingCategoryController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTrackingCategorys', - summary: 'Add a batch of TrackingCategorys', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedTrackingCategoryInput, isArray: true }) - @ApiCustomResponse(UnifiedTrackingCategoryOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTrackingCategorys( - @Body() unfiedTrackingCategoryData: UnifiedTrackingCategoryInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.trackingcategoryService.batchAddTrackingCategorys( - unfiedTrackingCategoryData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/transaction/transaction.controller.ts b/packages/api/src/accounting/transaction/transaction.controller.ts index ecc5351fa..413d9272d 100644 --- a/packages/api/src/accounting/transaction/transaction.controller.ts +++ b/packages/api/src/accounting/transaction/transaction.controller.ts @@ -146,46 +146,4 @@ export class TransactionController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTransactions', - summary: 'Add a batch of Transactions', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedTransactionInput, isArray: true }) - @ApiCustomResponse(UnifiedTransactionOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTransactions( - @Body() unfiedTransactionData: UnifiedTransactionInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.transactionService.batchAddTransactions( - unfiedTransactionData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts b/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts index d2e00beca..4023c9006 100644 --- a/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts +++ b/packages/api/src/accounting/vendorcredit/vendorcredit.controller.ts @@ -146,46 +146,4 @@ export class VendorCreditController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addVendorCredits', - summary: 'Add a batch of VendorCredits', - }) - @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 Accounting software.', - }) - @ApiBody({ type: UnifiedVendorCreditInput, isArray: true }) - @ApiCustomResponse(UnifiedVendorCreditOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addVendorCredits( - @Body() unfiedVendorCreditData: UnifiedVendorCreditInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.vendorcreditService.batchAddVendorCredits( - unfiedVendorCreditData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/activity/activity.controller.ts b/packages/api/src/ats/activity/activity.controller.ts index 2f947fe82..97a9096b6 100644 --- a/packages/api/src/ats/activity/activity.controller.ts +++ b/packages/api/src/ats/activity/activity.controller.ts @@ -142,45 +142,4 @@ export class ActivityController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addActivitys', - summary: 'Add a batch of Activitys', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedActivityInput, isArray: true }) - @ApiCustomResponse(UnifiedActivityOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addActivitys( - @Body() unfiedActivityData: UnifiedActivityInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.activityService.batchAddActivitys( - unfiedActivityData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/application/application.controller.ts b/packages/api/src/ats/application/application.controller.ts index 2709b1d3f..4b0511242 100644 --- a/packages/api/src/ats/application/application.controller.ts +++ b/packages/api/src/ats/application/application.controller.ts @@ -142,45 +142,4 @@ export class ApplicationController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addApplications', - summary: 'Add a batch of Applications', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedApplicationInput, isArray: true }) - @ApiCustomResponse(UnifiedApplicationOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addApplications( - @Body() unfiedApplicationData: UnifiedApplicationInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.applicationService.batchAddApplications( - unfiedApplicationData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/attachment/attachment.controller.ts b/packages/api/src/ats/attachment/attachment.controller.ts index d7ec6c8e4..78d39f7ef 100644 --- a/packages/api/src/ats/attachment/attachment.controller.ts +++ b/packages/api/src/ats/attachment/attachment.controller.ts @@ -142,45 +142,4 @@ export class AttachmentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAtsAttachments', - summary: 'Add a batch of Attachments', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedAttachmentInput, isArray: true }) - @ApiCustomResponse(UnifiedAttachmentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAttachments( - @Body() unfiedAttachmentData: UnifiedAttachmentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.attachmentService.batchAddAttachments( - unfiedAttachmentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/candidate/candidate.controller.ts b/packages/api/src/ats/candidate/candidate.controller.ts index 96b5cbc49..b8760419c 100644 --- a/packages/api/src/ats/candidate/candidate.controller.ts +++ b/packages/api/src/ats/candidate/candidate.controller.ts @@ -142,45 +142,4 @@ export class CandidateController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCandidates', - summary: 'Add a batch of Candidates', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedCandidateInput, isArray: true }) - @ApiCustomResponse(UnifiedCandidateOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCandidates( - @Body() unfiedCandidateData: UnifiedCandidateInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.candidateService.batchAddCandidates( - unfiedCandidateData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/department/department.controller.ts b/packages/api/src/ats/department/department.controller.ts index 4555ae564..db9bc2af1 100644 --- a/packages/api/src/ats/department/department.controller.ts +++ b/packages/api/src/ats/department/department.controller.ts @@ -142,45 +142,4 @@ export class DepartmentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addDepartments', - summary: 'Add a batch of Departments', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedDepartmentInput, isArray: true }) - @ApiCustomResponse(UnifiedDepartmentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addDepartments( - @Body() unfiedDepartmentData: UnifiedDepartmentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.departmentService.batchAddDepartments( - unfiedDepartmentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/eeocs/eeocs.controller.ts b/packages/api/src/ats/eeocs/eeocs.controller.ts index d8d235827..07714e8dd 100644 --- a/packages/api/src/ats/eeocs/eeocs.controller.ts +++ b/packages/api/src/ats/eeocs/eeocs.controller.ts @@ -139,45 +139,4 @@ export class EeocsController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEeocss', - summary: 'Add a batch of Eeocss', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedEeocsInput, isArray: true }) - @ApiCustomResponse(UnifiedEeocsOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEeocss( - @Body() unfiedEeocsData: UnifiedEeocsInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.eeocsService.batchAddEeocss( - unfiedEeocsData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/interview/interview.controller.ts b/packages/api/src/ats/interview/interview.controller.ts index 894228256..8b2bf483b 100644 --- a/packages/api/src/ats/interview/interview.controller.ts +++ b/packages/api/src/ats/interview/interview.controller.ts @@ -142,45 +142,4 @@ export class InterviewController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addInterviews', - summary: 'Add a batch of Interviews', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedInterviewInput, isArray: true }) - @ApiCustomResponse(UnifiedInterviewOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addInterviews( - @Body() unfiedInterviewData: UnifiedInterviewInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.interviewService.batchAddInterviews( - unfiedInterviewData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/job/job.controller.ts b/packages/api/src/ats/job/job.controller.ts index 435336266..584dfd6fd 100644 --- a/packages/api/src/ats/job/job.controller.ts +++ b/packages/api/src/ats/job/job.controller.ts @@ -132,45 +132,4 @@ export class JobController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addJobs', - summary: 'Add a batch of Jobs', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedJobInput, isArray: true }) - @ApiCustomResponse(UnifiedJobOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addJobs( - @Body() unfiedJobData: UnifiedJobInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.jobService.batchAddJobs( - unfiedJobData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts b/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts index 4ab17f8a2..66f9e569c 100644 --- a/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts +++ b/packages/api/src/ats/jobinterviewstage/jobinterviewstage.controller.ts @@ -142,45 +142,4 @@ export class JobInterviewStageController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addJobInterviewStages', - summary: 'Add a batch of JobInterviewStages', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedJobInterviewStageInput, isArray: true }) - @ApiCustomResponse(UnifiedJobInterviewStageOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addJobInterviewStages( - @Body() unfiedJobInterviewStageData: UnifiedJobInterviewStageInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.jobinterviewstageService.batchAddJobInterviewStages( - unfiedJobInterviewStageData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/offer/offer.controller.ts b/packages/api/src/ats/offer/offer.controller.ts index 5e389a155..99f581848 100644 --- a/packages/api/src/ats/offer/offer.controller.ts +++ b/packages/api/src/ats/offer/offer.controller.ts @@ -139,45 +139,4 @@ export class OfferController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addOffers', - summary: 'Add a batch of Offers', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedOfferInput, isArray: true }) - @ApiCustomResponse(UnifiedOfferOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addOffers( - @Body() unfiedOfferData: UnifiedOfferInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.offerService.batchAddOffers( - unfiedOfferData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/office/office.controller.ts b/packages/api/src/ats/office/office.controller.ts index a12b43640..313c2feb9 100644 --- a/packages/api/src/ats/office/office.controller.ts +++ b/packages/api/src/ats/office/office.controller.ts @@ -139,45 +139,4 @@ export class OfficeController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addOffices', - summary: 'Add a batch of Offices', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedOfficeInput, isArray: true }) - @ApiCustomResponse(UnifiedOfficeOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addOffices( - @Body() unfiedOfficeData: UnifiedOfficeInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.officeService.batchAddOffices( - unfiedOfficeData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/rejectreason/rejectreason.controller.ts b/packages/api/src/ats/rejectreason/rejectreason.controller.ts index 7731a2213..161669b9e 100644 --- a/packages/api/src/ats/rejectreason/rejectreason.controller.ts +++ b/packages/api/src/ats/rejectreason/rejectreason.controller.ts @@ -142,45 +142,4 @@ export class RejectReasonController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addRejectReasons', - summary: 'Add a batch of RejectReasons', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedRejectReasonInput, isArray: true }) - @ApiCustomResponse(UnifiedRejectReasonOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addRejectReasons( - @Body() unfiedRejectReasonData: UnifiedRejectReasonInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.rejectreasonService.batchAddRejectReasons( - unfiedRejectReasonData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/scorecard/scorecard.controller.ts b/packages/api/src/ats/scorecard/scorecard.controller.ts index c3f2d579a..9766f6746 100644 --- a/packages/api/src/ats/scorecard/scorecard.controller.ts +++ b/packages/api/src/ats/scorecard/scorecard.controller.ts @@ -142,45 +142,4 @@ export class ScoreCardController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addScoreCards', - summary: 'Add a batch of ScoreCards', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedScoreCardInput, isArray: true }) - @ApiCustomResponse(UnifiedScoreCardOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addScoreCards( - @Body() unfiedScoreCardData: UnifiedScoreCardInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.scorecardService.batchAddScoreCards( - unfiedScoreCardData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/screeningquestion/screeningquestion.controller.ts b/packages/api/src/ats/screeningquestion/screeningquestion.controller.ts index 4f6110c53..77d19d006 100644 --- a/packages/api/src/ats/screeningquestion/screeningquestion.controller.ts +++ b/packages/api/src/ats/screeningquestion/screeningquestion.controller.ts @@ -142,45 +142,4 @@ export class ScreeningQuestionController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addScreeningQuestions', - summary: 'Add a batch of ScreeningQuestions', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedScreeningQuestionInput, isArray: true }) - @ApiCustomResponse(UnifiedScreeningQuestionOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addScreeningQuestions( - @Body() unfiedScreeningQuestionData: UnifiedScreeningQuestionInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.screeningquestionService.batchAddScreeningQuestions( - unfiedScreeningQuestionData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/tag/tag.controller.ts b/packages/api/src/ats/tag/tag.controller.ts index c744f1d0f..f859256bf 100644 --- a/packages/api/src/ats/tag/tag.controller.ts +++ b/packages/api/src/ats/tag/tag.controller.ts @@ -132,45 +132,4 @@ export class TagController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTags', - summary: 'Add a batch of Tags', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedTagInput, isArray: true }) - @ApiCustomResponse(UnifiedTagOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTags( - @Body() unfiedTagData: UnifiedTagInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.tagService.batchAddTags( - unfiedTagData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ats/user/user.controller.ts b/packages/api/src/ats/user/user.controller.ts index a9cf876a7..502ae79c8 100644 --- a/packages/api/src/ats/user/user.controller.ts +++ b/packages/api/src/ats/user/user.controller.ts @@ -135,45 +135,4 @@ export class UserController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAtsUsers', - summary: 'Add a batch of Users', - }) - @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 Ats software.', - }) - @ApiBody({ type: UnifiedUserInput, isArray: true }) - @ApiCustomResponse(UnifiedUserOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addUsers( - @Body() unfiedUserData: UnifiedUserInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.userService.batchAddUsers( - unfiedUserData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/crm/company/company.controller.ts b/packages/api/src/crm/company/company.controller.ts index f156299b9..c56d7ca7a 100644 --- a/packages/api/src/crm/company/company.controller.ts +++ b/packages/api/src/crm/company/company.controller.ts @@ -148,47 +148,6 @@ export class CompanyController { } } - @ApiOperation({ - operationId: 'addCompanies', - summary: 'Add a batch of Companies', - }) - @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 Crm software.', - }) - @ApiBody({ type: UnifiedCompanyInput, isArray: true }) - @ApiCustomResponse(UnifiedCompanyOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCompanies( - @Body() unfiedCompanyData: UnifiedCompanyInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.companyService.batchAddCompanies( - unfiedCompanyData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - @ApiOperation({ operationId: 'updateCompany', summary: 'Update a Company', diff --git a/packages/api/src/crm/contact/contact.controller.ts b/packages/api/src/crm/contact/contact.controller.ts index ba52cc67c..1b42a0a1e 100644 --- a/packages/api/src/crm/contact/contact.controller.ts +++ b/packages/api/src/crm/contact/contact.controller.ts @@ -148,58 +148,4 @@ export class ContactController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCrmContacts', - summary: 'Add a batch of CRM Contacts', - }) - @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 CRM software.', - }) - @ApiBody({ type: UnifiedContactInput, isArray: true }) - @ApiCustomResponse(UnifiedContactOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addContacts( - @Body() unfiedContactData: UnifiedContactInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.contactService.batchAddContacts( - unfiedContactData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updateContact', - summary: 'Update a CRM Contact', - }) - @UseGuards(ApiKeyAuthGuard) - @Patch() - updateContact( - @Query('id') id: string, - @Body() updateContactData: Partial, - ) { - return this.contactService.updateContact(id, updateContactData); - } } diff --git a/packages/api/src/crm/deal/deal.controller.ts b/packages/api/src/crm/deal/deal.controller.ts index 1311c6cc4..1946987e2 100644 --- a/packages/api/src/crm/deal/deal.controller.ts +++ b/packages/api/src/crm/deal/deal.controller.ts @@ -144,59 +144,4 @@ export class DealController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addDeals', - summary: 'Add a batch of Deals', - }) - @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 Crm software.', - }) - @ApiBody({ type: UnifiedDealInput, isArray: true }) - @ApiCustomResponse(UnifiedDealOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addDeals( - @Body() unfiedDealData: UnifiedDealInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.dealService.batchAddDeals( - unfiedDealData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updateDeal', - summary: 'Update a Deal', - }) - @ApiCustomResponse(UnifiedDealOutput) - @UseGuards(ApiKeyAuthGuard) - @Patch(':id') - updateDeal( - @Param('id') id: string, - @Body() updateDealData: Partial, - ) { - return this.dealService.updateDeal(id, updateDealData); - } } diff --git a/packages/api/src/crm/engagement/engagement.controller.ts b/packages/api/src/crm/engagement/engagement.controller.ts index 291a48fbf..2e6f285fc 100644 --- a/packages/api/src/crm/engagement/engagement.controller.ts +++ b/packages/api/src/crm/engagement/engagement.controller.ts @@ -148,59 +148,4 @@ export class EngagementController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEngagements', - summary: 'Add a batch of Engagements', - }) - @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 Crm software.', - }) - @ApiBody({ type: UnifiedEngagementInput, isArray: true }) - @ApiCustomResponse(UnifiedEngagementOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEngagements( - @Body() unfiedEngagementData: UnifiedEngagementInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.engagementService.batchAddEngagements( - unfiedEngagementData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updateEngagement', - summary: 'Update a Engagement', - }) - @ApiCustomResponse(UnifiedEngagementOutput) - @UseGuards(ApiKeyAuthGuard) - @Patch() - updateEngagement( - @Query('id') id: string, - @Body() updateEngagementData: Partial, - ) { - return this.engagementService.updateEngagement(id, updateEngagementData); - } } diff --git a/packages/api/src/crm/note/note.controller.ts b/packages/api/src/crm/note/note.controller.ts index 804872a50..4f2be6f8a 100644 --- a/packages/api/src/crm/note/note.controller.ts +++ b/packages/api/src/crm/note/note.controller.ts @@ -143,45 +143,4 @@ export class NoteController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addNotes', - summary: 'Add a batch of Notes', - }) - @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 Crm software.', - }) - @ApiBody({ type: UnifiedNoteInput, isArray: true }) - @ApiCustomResponse(UnifiedNoteOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addNotes( - @Body() unfiedNoteData: UnifiedNoteInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.noteService.batchAddNotes( - unfiedNoteData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/crm/task/task.controller.ts b/packages/api/src/crm/task/task.controller.ts index 69bd730c9..c576f9995 100644 --- a/packages/api/src/crm/task/task.controller.ts +++ b/packages/api/src/crm/task/task.controller.ts @@ -145,59 +145,4 @@ export class TaskController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTasks', - summary: 'Add a batch of Tasks', - }) - @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 Crm software.', - }) - @ApiBody({ type: UnifiedTaskInput, isArray: true }) - @ApiCustomResponse(UnifiedTaskOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTasks( - @Body() unfiedTaskData: UnifiedTaskInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.taskService.batchAddTasks( - unfiedTaskData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updateTask', - summary: 'Update a Task', - }) - @ApiCustomResponse(UnifiedTaskOutput) - @UseGuards(ApiKeyAuthGuard) - @Patch() - updateTask( - @Query('id') id: string, - @Body() updateTaskData: Partial, - ) { - return this.taskService.updateTask(id, updateTaskData); - } } diff --git a/packages/api/src/filestorage/drive/drive.controller.ts b/packages/api/src/filestorage/drive/drive.controller.ts index 8226a095c..21133c0df 100644 --- a/packages/api/src/filestorage/drive/drive.controller.ts +++ b/packages/api/src/filestorage/drive/drive.controller.ts @@ -142,46 +142,4 @@ export class DriveController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addDrives', - summary: 'Add a batch of Drives', - }) - @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 Filestorage software.', - }) - @ApiBody({ type: UnifiedDriveInput, isArray: true }) - @ApiCustomResponse(UnifiedDriveOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addDrives( - @Body() unfiedDriveData: UnifiedDriveInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.driveService.batchAddDrives( - unfiedDriveData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/filestorage/file/file.controller.ts b/packages/api/src/filestorage/file/file.controller.ts index bfbea8b45..d12d882b6 100644 --- a/packages/api/src/filestorage/file/file.controller.ts +++ b/packages/api/src/filestorage/file/file.controller.ts @@ -137,46 +137,4 @@ export class FileController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addFiles', - summary: 'Add a batch of Files', - }) - @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 Filestorage software.', - }) - @ApiBody({ type: UnifiedFileInput, isArray: true }) - @ApiCustomResponse(UnifiedFileOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addFiles( - @Body() unfiedFileData: UnifiedFileInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.fileService.batchAddFiles( - unfiedFileData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/filestorage/folder/folder.controller.ts b/packages/api/src/filestorage/folder/folder.controller.ts index 54d932dad..10d04495b 100644 --- a/packages/api/src/filestorage/folder/folder.controller.ts +++ b/packages/api/src/filestorage/folder/folder.controller.ts @@ -142,46 +142,4 @@ export class FolderController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addFolders', - summary: 'Add a batch of Folders', - }) - @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 Filestorage software.', - }) - @ApiBody({ type: UnifiedFolderInput, isArray: true }) - @ApiCustomResponse(UnifiedFolderOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addFolders( - @Body() unfiedFolderData: UnifiedFolderInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.folderService.batchAddFolders( - unfiedFolderData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/filestorage/permission/permission.controller.ts b/packages/api/src/filestorage/permission/permission.controller.ts index 05fd59ffe..cd4646c5a 100644 --- a/packages/api/src/filestorage/permission/permission.controller.ts +++ b/packages/api/src/filestorage/permission/permission.controller.ts @@ -146,60 +146,4 @@ export class PermissionController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPermissions', - summary: 'Add a batch of Permissions', - }) - @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 Filestorage software.', - }) - @ApiBody({ type: UnifiedPermissionInput, isArray: true }) - @ApiCustomResponse(UnifiedPermissionOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPermissions( - @Body() unfiedPermissionData: UnifiedPermissionInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.permissionService.batchAddPermissions( - unfiedPermissionData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updatePermission', - summary: 'Update a Permission', - }) - @ApiCustomResponse(UnifiedPermissionOutput) - //@UseGuards(ApiKeyAuthGuard) - @Patch() - updatePermission( - @Query('id') id: string, - @Body() updatePermissionData: Partial, - ) { - return; - } } diff --git a/packages/api/src/filestorage/sharedlink/sharedlink.controller.ts b/packages/api/src/filestorage/sharedlink/sharedlink.controller.ts index 83ca098ef..2d10a4048 100644 --- a/packages/api/src/filestorage/sharedlink/sharedlink.controller.ts +++ b/packages/api/src/filestorage/sharedlink/sharedlink.controller.ts @@ -147,46 +147,4 @@ export class SharedlinkController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addSharedlinks', - summary: 'Add a batch of Sharedlinks', - }) - @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 Filestorage software.', - }) - @ApiBody({ type: UnifiedSharedLinkInput, isArray: true }) - @ApiCustomResponse(UnifiedSharedLinkOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addSharedlinks( - @Body() unfiedSharedlinkData: UnifiedSharedLinkInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.sharedlinkService.batchAddSharedlinks( - unfiedSharedlinkData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/bankinfo/bankinfo.controller.ts b/packages/api/src/hris/bankinfo/bankinfo.controller.ts index e3b37184d..672feeece 100644 --- a/packages/api/src/hris/bankinfo/bankinfo.controller.ts +++ b/packages/api/src/hris/bankinfo/bankinfo.controller.ts @@ -142,45 +142,4 @@ export class BankinfoController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addBankinfos', - summary: 'Add a batch of Bankinfos', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedBankInfoInput, isArray: true }) - @ApiCustomResponse(UnifiedBankInfoOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addBankinfos( - @Body() unfiedBankinfoData: UnifiedBankInfoInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.bankinfoService.batchAddBankinfos( - unfiedBankinfoData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/benefit/benefit.controller.ts b/packages/api/src/hris/benefit/benefit.controller.ts index 3ec037013..b482fac89 100644 --- a/packages/api/src/hris/benefit/benefit.controller.ts +++ b/packages/api/src/hris/benefit/benefit.controller.ts @@ -142,45 +142,4 @@ export class BenefitController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addBenefits', - summary: 'Add a batch of Benefits', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedBenefitInput, isArray: true }) - @ApiCustomResponse(UnifiedBenefitOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addBenefits( - @Body() unfiedBenefitData: UnifiedBenefitInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.benefitService.batchAddBenefits( - unfiedBenefitData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/company/company.controller.ts b/packages/api/src/hris/company/company.controller.ts index c494aeaa0..98ab73537 100644 --- a/packages/api/src/hris/company/company.controller.ts +++ b/packages/api/src/hris/company/company.controller.ts @@ -142,45 +142,4 @@ export class CompanyController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCompanys', - summary: 'Add a batch of Companys', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedCompanyInput, isArray: true }) - @ApiCustomResponse(UnifiedCompanyOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCompanys( - @Body() unfiedCompanyData: UnifiedCompanyInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.companyService.batchAddCompanys( - unfiedCompanyData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/dependent/dependent.controller.ts b/packages/api/src/hris/dependent/dependent.controller.ts index 47ea2b532..7a3c313f5 100644 --- a/packages/api/src/hris/dependent/dependent.controller.ts +++ b/packages/api/src/hris/dependent/dependent.controller.ts @@ -142,45 +142,4 @@ export class DependentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addDependents', - summary: 'Add a batch of Dependents', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedDependentInput, isArray: true }) - @ApiCustomResponse(UnifiedDependentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addDependents( - @Body() unfiedDependentData: UnifiedDependentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.dependentService.batchAddDependents( - unfiedDependentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/employee/employee.controller.ts b/packages/api/src/hris/employee/employee.controller.ts index 9348928c3..85e4570f5 100644 --- a/packages/api/src/hris/employee/employee.controller.ts +++ b/packages/api/src/hris/employee/employee.controller.ts @@ -142,45 +142,4 @@ export class EmployeeController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEmployees', - summary: 'Add a batch of Employees', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedEmployeeInput, isArray: true }) - @ApiCustomResponse(UnifiedEmployeeOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEmployees( - @Body() unfiedEmployeeData: UnifiedEmployeeInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.employeeService.batchAddEmployees( - unfiedEmployeeData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts index 596277eb5..ee7002fb1 100644 --- a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts +++ b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts @@ -146,45 +146,4 @@ export class EmployeePayrollRunController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEmployeePayrollRuns', - summary: 'Add a batch of EmployeePayrollRuns', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedEmployeePayrollRunInput, isArray: true }) - @ApiCustomResponse(UnifiedEmployeePayrollRunOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEmployeePayrollRuns( - @Body() unfiedEmployeePayrollRunData: UnifiedEmployeePayrollRunInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.employeepayrollrunService.batchAddEmployeePayrollRuns( - unfiedEmployeePayrollRunData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts b/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts index 66c9cd743..f08904a87 100644 --- a/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts +++ b/packages/api/src/hris/employerbenefit/employerbenefit.controller.ts @@ -142,45 +142,4 @@ export class EmployerBenefitController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEmployerBenefits', - summary: 'Add a batch of EmployerBenefits', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedEmployerBenefitInput, isArray: true }) - @ApiCustomResponse(UnifiedEmployerBenefitOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEmployerBenefits( - @Body() unfiedEmployerBenefitData: UnifiedEmployerBenefitInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.employerbenefitService.batchAddEmployerBenefits( - unfiedEmployerBenefitData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/employment/employment.controller.ts b/packages/api/src/hris/employment/employment.controller.ts index efebd27b8..2fb69d62e 100644 --- a/packages/api/src/hris/employment/employment.controller.ts +++ b/packages/api/src/hris/employment/employment.controller.ts @@ -142,45 +142,4 @@ export class EmploymentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEmployments', - summary: 'Add a batch of Employments', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedEmploymentInput, isArray: true }) - @ApiCustomResponse(UnifiedEmploymentOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEmployments( - @Body() unfiedEmploymentData: UnifiedEmploymentInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.employmentService.batchAddEmployments( - unfiedEmploymentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/group/group.controller.ts b/packages/api/src/hris/group/group.controller.ts index 968a749f0..df78355cf 100644 --- a/packages/api/src/hris/group/group.controller.ts +++ b/packages/api/src/hris/group/group.controller.ts @@ -139,45 +139,4 @@ export class GroupController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addGroups', - summary: 'Add a batch of Groups', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedGroupInput, isArray: true }) - @ApiCustomResponse(UnifiedGroupOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addGroups( - @Body() unfiedGroupData: UnifiedGroupInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.groupService.batchAddGroups( - unfiedGroupData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/location/location.controller.ts b/packages/api/src/hris/location/location.controller.ts index 24c359ffd..bb21d0dad 100644 --- a/packages/api/src/hris/location/location.controller.ts +++ b/packages/api/src/hris/location/location.controller.ts @@ -142,45 +142,4 @@ export class LocationController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addLocations', - summary: 'Add a batch of Locations', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedLocationInput, isArray: true }) - @ApiCustomResponse(UnifiedLocationOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addLocations( - @Body() unfiedLocationData: UnifiedLocationInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.locationService.batchAddLocations( - unfiedLocationData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/paygroup/paygroup.controller.ts b/packages/api/src/hris/paygroup/paygroup.controller.ts index a49126c01..c996b79a0 100644 --- a/packages/api/src/hris/paygroup/paygroup.controller.ts +++ b/packages/api/src/hris/paygroup/paygroup.controller.ts @@ -142,45 +142,4 @@ export class PayGroupController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPayGroups', - summary: 'Add a batch of PayGroups', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedPayGroupInput, isArray: true }) - @ApiCustomResponse(UnifiedPayGroupOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPayGroups( - @Body() unfiedPayGroupData: UnifiedPayGroupInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.paygroupService.batchAddPayGroups( - unfiedPayGroupData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/payrollrun/payrollrun.controller.ts b/packages/api/src/hris/payrollrun/payrollrun.controller.ts index e34b805e8..a11e9c4fd 100644 --- a/packages/api/src/hris/payrollrun/payrollrun.controller.ts +++ b/packages/api/src/hris/payrollrun/payrollrun.controller.ts @@ -142,45 +142,4 @@ export class PayrollRunController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addPayrollRuns', - summary: 'Add a batch of PayrollRuns', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedPayrollRunInput, isArray: true }) - @ApiCustomResponse(UnifiedPayrollRunOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addPayrollRuns( - @Body() unfiedPayrollRunData: UnifiedPayrollRunInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.payrollrunService.batchAddPayrollRuns( - unfiedPayrollRunData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/timeoff/timeoff.controller.ts b/packages/api/src/hris/timeoff/timeoff.controller.ts index fb7de91bc..44b0d2702 100644 --- a/packages/api/src/hris/timeoff/timeoff.controller.ts +++ b/packages/api/src/hris/timeoff/timeoff.controller.ts @@ -142,45 +142,4 @@ export class TimeoffController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTimeoffs', - summary: 'Add a batch of Timeoffs', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedTimeoffInput, isArray: true }) - @ApiCustomResponse(UnifiedTimeoffOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTimeoffs( - @Body() unfiedTimeoffData: UnifiedTimeoffInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.timeoffService.batchAddTimeoffs( - unfiedTimeoffData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts b/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts index cf72d701d..749605ea2 100644 --- a/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts +++ b/packages/api/src/hris/timeoffbalance/timeoffbalance.controller.ts @@ -142,45 +142,4 @@ export class TimeoffBalanceController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTimeoffBalances', - summary: 'Add a batch of TimeoffBalances', - }) - @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 Hris software.', - }) - @ApiBody({ type: UnifiedTimeoffBalanceInput, isArray: true }) - @ApiCustomResponse(UnifiedTimeoffBalanceOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTimeoffBalances( - @Body() unfiedTimeoffBalanceData: UnifiedTimeoffBalanceInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.timeoffbalanceService.batchAddTimeoffBalances( - unfiedTimeoffBalanceData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/action/action.controller.ts b/packages/api/src/marketingautomation/action/action.controller.ts index ca7d48361..b8ff8e81a 100644 --- a/packages/api/src/marketingautomation/action/action.controller.ts +++ b/packages/api/src/marketingautomation/action/action.controller.ts @@ -144,46 +144,4 @@ export class ActionController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addActions', - summary: 'Add a batch of Actions', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedActionInput, isArray: true }) - @ApiCustomResponse(UnifiedActionOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addActions( - @Body() unfiedActionData: UnifiedActionInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.actionService.batchAddActions( - unfiedActionData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/automation/automation.controller.ts b/packages/api/src/marketingautomation/automation/automation.controller.ts index e6ad1ec2f..3ccb56779 100644 --- a/packages/api/src/marketingautomation/automation/automation.controller.ts +++ b/packages/api/src/marketingautomation/automation/automation.controller.ts @@ -147,46 +147,4 @@ export class AutomationController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addAutomations', - summary: 'Add a batch of Automations', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedAutomationInput, isArray: true }) - @ApiCustomResponse(UnifiedAutomationOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAutomations( - @Body() unfiedAutomationData: UnifiedAutomationInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.automationService.batchAddAutomations( - unfiedAutomationData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/campaign/campaign.controller.ts b/packages/api/src/marketingautomation/campaign/campaign.controller.ts index c65453637..bf9179804 100644 --- a/packages/api/src/marketingautomation/campaign/campaign.controller.ts +++ b/packages/api/src/marketingautomation/campaign/campaign.controller.ts @@ -147,46 +147,4 @@ export class CampaignController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addCampaigns', - summary: 'Add a batch of Campaigns', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedCampaignInput, isArray: true }) - @ApiCustomResponse(UnifiedCampaignOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addCampaigns( - @Body() unfiedCampaignData: UnifiedCampaignInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.campaignService.batchAddCampaigns( - unfiedCampaignData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/contact/contact.controller.ts b/packages/api/src/marketingautomation/contact/contact.controller.ts index 118af498a..c1a4992b0 100644 --- a/packages/api/src/marketingautomation/contact/contact.controller.ts +++ b/packages/api/src/marketingautomation/contact/contact.controller.ts @@ -147,46 +147,4 @@ export class ContactController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addMarketingAutomationContacts', - summary: 'Add a batch of Contacts', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedContactInput, isArray: true }) - @ApiCustomResponse(UnifiedContactOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addContacts( - @Body() unfiedContactData: UnifiedContactInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.contactService.batchAddContacts( - unfiedContactData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/email/email.controller.ts b/packages/api/src/marketingautomation/email/email.controller.ts index 4185e2151..5638c0b77 100644 --- a/packages/api/src/marketingautomation/email/email.controller.ts +++ b/packages/api/src/marketingautomation/email/email.controller.ts @@ -143,46 +143,4 @@ export class EmailController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEmails', - summary: 'Add a batch of Emails', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedEmailInput, isArray: true }) - @ApiCustomResponse(UnifiedEmailOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEmails( - @Body() unfiedEmailData: UnifiedEmailInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.emailService.batchAddEmails( - unfiedEmailData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/event/event.controller.ts b/packages/api/src/marketingautomation/event/event.controller.ts index 268a573bb..7041f5607 100644 --- a/packages/api/src/marketingautomation/event/event.controller.ts +++ b/packages/api/src/marketingautomation/event/event.controller.ts @@ -143,46 +143,4 @@ export class EventController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addEvents', - summary: 'Add a batch of Events', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedEventInput, isArray: true }) - @ApiCustomResponse(UnifiedEventOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addEvents( - @Body() unfiedEventData: UnifiedEventInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.eventService.batchAddEvents( - unfiedEventData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/list/list.controller.ts b/packages/api/src/marketingautomation/list/list.controller.ts index 77752ccf0..5f1ed1011 100644 --- a/packages/api/src/marketingautomation/list/list.controller.ts +++ b/packages/api/src/marketingautomation/list/list.controller.ts @@ -139,46 +139,4 @@ export class ListController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addLists', - summary: 'Add a batch of Lists', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedListInput, isArray: true }) - @ApiCustomResponse(UnifiedListOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addLists( - @Body() unfiedListData: UnifiedListInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.listService.batchAddLists( - unfiedListData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/message/message.controller.ts b/packages/api/src/marketingautomation/message/message.controller.ts index 944a4089b..29df9eeb1 100644 --- a/packages/api/src/marketingautomation/message/message.controller.ts +++ b/packages/api/src/marketingautomation/message/message.controller.ts @@ -147,46 +147,4 @@ export class MessageController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addMessages', - summary: 'Add a batch of Messages', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedMessageInput, isArray: true }) - @ApiCustomResponse(UnifiedMessageOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addMessages( - @Body() unfiedMessageData: UnifiedMessageInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.messageService.batchAddMessages( - unfiedMessageData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/template/template.controller.ts b/packages/api/src/marketingautomation/template/template.controller.ts index 67e9f21d1..088dcbe36 100644 --- a/packages/api/src/marketingautomation/template/template.controller.ts +++ b/packages/api/src/marketingautomation/template/template.controller.ts @@ -147,46 +147,4 @@ export class TemplateController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTemplates', - summary: 'Add a batch of Templates', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedTemplateInput, isArray: true }) - @ApiCustomResponse(UnifiedTemplateOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTemplates( - @Body() unfiedTemplateData: UnifiedTemplateInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.templateService.batchAddTemplates( - unfiedTemplateData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/marketingautomation/user/user.controller.ts b/packages/api/src/marketingautomation/user/user.controller.ts index c9bbe8ccc..136a58abe 100644 --- a/packages/api/src/marketingautomation/user/user.controller.ts +++ b/packages/api/src/marketingautomation/user/user.controller.ts @@ -139,46 +139,4 @@ export class UserController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addMarketingAutomationUsers', - summary: 'Add a batch of Users', - }) - @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 Marketingautomation software.', - }) - @ApiBody({ type: UnifiedUserInput, isArray: true }) - @ApiCustomResponse(UnifiedUserOutput) - //@UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addUsers( - @Body() unfiedUserData: UnifiedUserInput[], - @Headers('connection_token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.userService.batchAddUsers( - unfiedUserData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ticketing/attachment/attachment.controller.ts b/packages/api/src/ticketing/attachment/attachment.controller.ts index 422676a0f..ee60c578f 100644 --- a/packages/api/src/ticketing/attachment/attachment.controller.ts +++ b/packages/api/src/ticketing/attachment/attachment.controller.ts @@ -177,46 +177,4 @@ export class AttachmentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTicketingAttachments', - summary: 'Add a batch of Attachments', - }) - @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: UnifiedAttachmentInput, isArray: true }) - @ApiCustomResponse(UnifiedAttachmentOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addAttachments( - @Body() unfiedAttachmentData: UnifiedAttachmentInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.attachmentService.batchAddAttachments( - unfiedAttachmentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ticketing/comment/comment.controller.ts b/packages/api/src/ticketing/comment/comment.controller.ts index fe6a11bf5..bc36a3a03 100644 --- a/packages/api/src/ticketing/comment/comment.controller.ts +++ b/packages/api/src/ticketing/comment/comment.controller.ts @@ -148,46 +148,4 @@ export class CommentController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addComments', - summary: 'Add a batch of Comments', - }) - @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, isArray: true }) - @ApiCustomResponse(UnifiedCommentOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addComments( - @Body() unfiedCommentData: UnifiedCommentInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.commentService.batchAddComments( - unfiedCommentData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } } diff --git a/packages/api/src/ticketing/ticket/ticket.controller.ts b/packages/api/src/ticketing/ticket/ticket.controller.ts index 3cd889892..3c46f8d69 100644 --- a/packages/api/src/ticketing/ticket/ticket.controller.ts +++ b/packages/api/src/ticketing/ticket/ticket.controller.ts @@ -146,59 +146,4 @@ export class TicketController { throw new Error(error); } } - - @ApiOperation({ - operationId: 'addTickets', - summary: 'Add a batch of Tickets', - }) - @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: UnifiedTicketInput, isArray: true }) - @ApiCustomResponse(UnifiedTicketOutput) - @UseGuards(ApiKeyAuthGuard) - @Post('batch') - async addTickets( - @Body() unfiedTicketData: UnifiedTicketInput[], - @Headers('x-connection-token') connection_token: string, - @Query('remote_data') remote_data?: boolean, - ) { - try { - const { linkedUserId, remoteSource } = - await this.connectionUtils.getConnectionMetadataFromConnectionToken( - connection_token, - ); - return this.ticketService.batchAddTickets( - unfiedTicketData, - remoteSource, - linkedUserId, - remote_data, - ); - } catch (error) { - throw new Error(error); - } - } - - @ApiOperation({ - operationId: 'updateTicket', - summary: 'Update a Ticket', - }) - @UseGuards(ApiKeyAuthGuard) - @Patch() - updateTicket( - @Query('id') id: string, - @Body() updateTicketData: Partial, - ) { - return this.ticketService.updateTicket(id, updateTicketData); - } } diff --git a/packages/api/swagger/swagger-spec.json b/packages/api/swagger/swagger-spec.json index 74cf4ad7d..76349760f 100644 --- a/packages/api/swagger/swagger-spec.json +++ b/packages/api/swagger/swagger-spec.json @@ -738,40 +738,6 @@ "JWT": [] } ] - }, - "patch": { - "operationId": "updateTicket", - "summary": "Update a Ticket", - "parameters": [ - { - "name": "id", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTicketOutput" - } - } - } - } - }, - "tags": [ - "ticketing/tickets" - ], - "security": [ - { - "JWT": [] - } - ] } }, "/ticketing/tickets/{id}": { @@ -832,89 +798,6 @@ ] } }, - "/ticketing/tickets/batch": { - "post": { - "operationId": "addTickets", - "summary": "Add a batch of Tickets", - "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": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTicketInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTicketOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTicketOutput" - } - } - } - } - } - }, - "tags": [ - "ticketing/tickets" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, "/ticketing/users": { "get": { "operationId": "getTicketingUsers", @@ -1572,89 +1455,6 @@ ] } }, - "/crm/companies/batch": { - "post": { - "operationId": "addCompanies", - "summary": "Add a batch of Companies", - "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 Crm software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - } - } - }, - "tags": [ - "crm/companies" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, "/crm/contacts": { "get": { "operationId": "listCrmContacts", @@ -1805,40 +1605,6 @@ "JWT": [] } ] - }, - "patch": { - "operationId": "updateContact", - "summary": "Update a CRM Contact", - "parameters": [ - { - "name": "id", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - } - }, - "tags": [ - "crm/contacts" - ], - "security": [ - { - "JWT": [] - } - ] } }, "/crm/contacts/{id}": { @@ -1899,10 +1665,10 @@ ] } }, - "/crm/contacts/batch": { - "post": { - "operationId": "addCrmContacts", - "summary": "Add a batch of CRM Contacts", + "/crm/deals": { + "get": { + "operationId": "getDeals", + "summary": "List a batch of Deals", "parameters": [ { "name": "x-connection-token", @@ -1917,25 +1683,31 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original CRM software.", + "description": "Set to true to include data from the original software.", "schema": { "type": "boolean" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactInput" - } - } + }, + { + "name": "pageSize", + "required": false, + "in": "query", + "description": "Set to get the number of records.", + "schema": { + "default": 50, + "type": "number" + } + }, + { + "name": "cursor", + "required": false, + "in": "query", + "description": "Set to get the number of records after this cursor.", + "schema": { + "type": "string" } } - }, + ], "responses": { "200": { "description": "", @@ -1949,96 +1721,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - } - } - }, - "tags": [ - "crm/contacts" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/crm/deals": { - "get": { - "operationId": "getDeals", - "summary": "List a batch of Deals", - "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 software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "pageSize", - "required": false, - "in": "query", - "description": "Set to get the number of records.", - "schema": { - "default": 50, - "type": "number" - } - }, - { - "name": "cursor", - "required": false, - "in": "query", - "description": "Set to get the number of records after this cursor.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedDealOutput" + "$ref": "#/components/schemas/UnifiedDealOutput" } } } @@ -2190,15 +1873,46 @@ "JWT": [] } ] - }, - "patch": { - "operationId": "updateDeal", - "summary": "Update a Deal", + } + }, + "/crm/engagements": { + "get": { + "operationId": "getEngagements", + "summary": "List a batch of Engagements", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", + "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 software.", + "schema": { + "type": "boolean" + } + }, + { + "name": "pageSize", + "required": false, + "in": "query", + "description": "Set to get the number of records.", + "schema": { + "default": 50, + "type": "number" + } + }, + { + "name": "cursor", + "required": false, + "in": "query", + "description": "Set to get the number of records after this cursor.", "schema": { "type": "string" } @@ -2217,7 +1931,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDealOutput" + "$ref": "#/components/schemas/UnifiedEngagementOutput" } } } @@ -2228,19 +1942,18 @@ } }, "tags": [ - "crm/deals" + "crm/engagements" ], "security": [ { "JWT": [] } ] - } - }, - "/crm/deals/batch": { + }, "post": { - "operationId": "addDeals", - "summary": "Add a batch of Deals", + "operationId": "addEngagement", + "summary": "Create a Engagement", + "description": "Create a engagement in any supported Crm software", "parameters": [ { "name": "x-connection-token", @@ -2266,10 +1979,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDealInput" - } + "$ref": "#/components/schemas/UnifiedEngagementInput" } } } @@ -2287,7 +1997,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDealOutput" + "$ref": "#/components/schemas/UnifiedEngagementOutput" } } } @@ -2301,17 +2011,14 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDealOutput" - } + "$ref": "#/components/schemas/UnifiedEngagementOutput" } } } } }, "tags": [ - "crm/deals" + "crm/engagements" ], "security": [ { @@ -2320,10 +2027,68 @@ ] } }, - "/crm/engagements": { + "/crm/engagements/{id}": { "get": { - "operationId": "getEngagements", - "summary": "List a batch of Engagements", + "operationId": "getEngagement", + "summary": "Retrieve a Engagement", + "description": "Retrieve a engagement from any connected Crm software", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "description": "id of the engagement you want to retrieve.", + "schema": { + "type": "string" + } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Crm software.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedEngagementOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "crm/engagements" + ], + "security": [ + { + "JWT": [] + } + ] + } + }, + "/crm/notes": { + "get": { + "operationId": "getNotes", + "summary": "List a batch of Notes", "parameters": [ { "name": "x-connection-token", @@ -2376,7 +2141,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedNoteOutput" } } } @@ -2387,7 +2152,7 @@ } }, "tags": [ - "crm/engagements" + "crm/notes" ], "security": [ { @@ -2396,9 +2161,9 @@ ] }, "post": { - "operationId": "addEngagement", - "summary": "Create a Engagement", - "description": "Create a engagement in any supported Crm software", + "operationId": "addNote", + "summary": "Create a Note", + "description": "Create a note in any supported Crm software", "parameters": [ { "name": "x-connection-token", @@ -2424,7 +2189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedEngagementInput" + "$ref": "#/components/schemas/UnifiedNoteInput" } } } @@ -2442,7 +2207,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedNoteOutput" } } } @@ -2456,32 +2221,45 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedNoteOutput" } } } } }, "tags": [ - "crm/engagements" + "crm/notes" ], "security": [ { "JWT": [] } ] - }, - "patch": { - "operationId": "updateEngagement", - "summary": "Update a Engagement", + } + }, + "/crm/notes/{id}": { + "get": { + "operationId": "getNote", + "summary": "Retrieve a Note", + "description": "Retrieve a note from any connected Crm software", "parameters": [ { "name": "id", "required": true, - "in": "query", + "in": "path", + "description": "id of the note you want to retrieve.", "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Crm software.", + "schema": { + "type": "boolean" + } } ], "responses": { @@ -2497,7 +2275,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedNoteOutput" } } } @@ -2508,7 +2286,7 @@ } }, "tags": [ - "crm/engagements" + "crm/notes" ], "security": [ { @@ -2517,17 +2295,16 @@ ] } }, - "/crm/engagements/{id}": { + "/crm/stages": { "get": { - "operationId": "getEngagement", - "summary": "Retrieve a Engagement", - "description": "Retrieve a engagement from any connected Crm software", + "operationId": "getStages", + "summary": "List a batch of Stages", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the engagement you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -2536,10 +2313,29 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original software.", "schema": { "type": "boolean" } + }, + { + "name": "pageSize", + "required": false, + "in": "query", + "description": "Set to get the number of records.", + "schema": { + "default": 50, + "type": "number" + } + }, + { + "name": "cursor", + "required": false, + "in": "query", + "description": "Set to get the number of records after this cursor.", + "schema": { + "type": "string" + } } ], "responses": { @@ -2555,7 +2351,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedStageOutput" } } } @@ -2566,7 +2362,7 @@ } }, "tags": [ - "crm/engagements" + "crm/stages" ], "security": [ { @@ -2575,16 +2371,17 @@ ] } }, - "/crm/engagements/batch": { - "post": { - "operationId": "addEngagements", - "summary": "Add a batch of Engagements", + "/crm/stages/{id}": { + "get": { + "operationId": "getStage", + "summary": "Retrieve a Stage", + "description": "Retrieve a stage from any connected Crm software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the stage you want to retrieve.", "schema": { "type": "string" } @@ -2599,19 +2396,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEngagementInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -2625,7 +2409,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" + "$ref": "#/components/schemas/UnifiedStageOutput" } } } @@ -2633,23 +2417,10 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEngagementOutput" - } - } - } - } } }, "tags": [ - "crm/engagements" + "crm/stages" ], "security": [ { @@ -2658,10 +2429,10 @@ ] } }, - "/crm/notes": { + "/crm/tasks": { "get": { - "operationId": "getNotes", - "summary": "List a batch of Notes", + "operationId": "getTasks", + "summary": "List a batch of Tasks", "parameters": [ { "name": "x-connection-token", @@ -2714,7 +2485,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedNoteOutput" + "$ref": "#/components/schemas/UnifiedTaskOutput" } } } @@ -2725,7 +2496,7 @@ } }, "tags": [ - "crm/notes" + "crm/tasks" ], "security": [ { @@ -2734,9 +2505,9 @@ ] }, "post": { - "operationId": "addNote", - "summary": "Create a Note", - "description": "Create a note in any supported Crm software", + "operationId": "addTask", + "summary": "Create a Task", + "description": "Create a task in any supported Crm software", "parameters": [ { "name": "x-connection-token", @@ -2762,7 +2533,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedNoteInput" + "$ref": "#/components/schemas/UnifiedTaskInput" } } } @@ -2780,7 +2551,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedNoteOutput" + "$ref": "#/components/schemas/UnifiedTaskOutput" } } } @@ -2794,14 +2565,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedNoteOutput" + "$ref": "#/components/schemas/UnifiedTaskOutput" } } } } }, "tags": [ - "crm/notes" + "crm/tasks" ], "security": [ { @@ -2810,17 +2581,17 @@ ] } }, - "/crm/notes/{id}": { + "/crm/tasks/{id}": { "get": { - "operationId": "getNote", - "summary": "Retrieve a Note", - "description": "Retrieve a note from any connected Crm software", + "operationId": "getTask", + "summary": "Retrieve a Task", + "description": "Retrieve a task from any connected Crm software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the note you want to retrieve.", + "description": "id of the task you want to retrieve.", "schema": { "type": "string" } @@ -2848,7 +2619,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedNoteOutput" + "$ref": "#/components/schemas/UnifiedTaskOutput" } } } @@ -2859,7 +2630,7 @@ } }, "tags": [ - "crm/notes" + "crm/tasks" ], "security": [ { @@ -2868,10 +2639,10 @@ ] } }, - "/crm/notes/batch": { - "post": { - "operationId": "addNotes", - "summary": "Add a batch of Notes", + "/crm/users": { + "get": { + "operationId": "getCrmUsers", + "summary": "List a batch of Users", "parameters": [ { "name": "x-connection-token", @@ -2886,25 +2657,31 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original software.", "schema": { "type": "boolean" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedNoteInput" - } - } + }, + { + "name": "pageSize", + "required": false, + "in": "query", + "description": "Set to get the number of records.", + "schema": { + "default": 50, + "type": "number" + } + }, + { + "name": "cursor", + "required": false, + "in": "query", + "description": "Set to get the number of records after this cursor.", + "schema": { + "type": "string" } } - }, + ], "responses": { "200": { "description": "", @@ -2918,7 +2695,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedNoteOutput" + "$ref": "#/components/schemas/UnifiedUserOutput" } } } @@ -2926,23 +2703,68 @@ } } } + } + }, + "tags": [ + "crm/users" + ], + "security": [ + { + "JWT": [] + } + ] + } + }, + "/crm/users/{id}": { + "get": { + "operationId": "getCrmUser", + "summary": "Retrieve a User", + "description": "Retrieve a user from any connected Crm software", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "description": "id of the user you want to retrieve.", + "schema": { + "type": "string" + } }, - "201": { + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Crm software.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedNoteOutput" - } + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedUserOutput" + } + } + } + ] } } } } }, "tags": [ - "crm/notes" + "crm/users" ], "security": [ { @@ -2951,10 +2773,10 @@ ] } }, - "/crm/stages": { + "/ticketing/collections": { "get": { - "operationId": "getStages", - "summary": "List a batch of Stages", + "operationId": "getCollections", + "summary": "List a batch of Collections", "parameters": [ { "name": "x-connection-token", @@ -3007,7 +2829,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedStageOutput" + "$ref": "#/components/schemas/UnifiedCollectionOutput" } } } @@ -3018,7 +2840,7 @@ } }, "tags": [ - "crm/stages" + "ticketing/collections" ], "security": [ { @@ -3027,17 +2849,17 @@ ] } }, - "/crm/stages/{id}": { + "/ticketing/collections/{id}": { "get": { - "operationId": "getStage", - "summary": "Retrieve a Stage", - "description": "Retrieve a stage from any connected Crm software", + "operationId": "getCollection", + "summary": "Retrieve a Collection", + "description": "Retrieve a collection from any connected Ticketing software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the stage you want to retrieve.", + "description": "id of the collection you want to retrieve.", "schema": { "type": "string" } @@ -3046,7 +2868,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original Ticketing software.", "schema": { "type": "boolean" } @@ -3065,7 +2887,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedStageOutput" + "$ref": "#/components/schemas/UnifiedCollectionOutput" } } } @@ -3076,7 +2898,7 @@ } }, "tags": [ - "crm/stages" + "ticketing/collections" ], "security": [ { @@ -3085,10 +2907,10 @@ ] } }, - "/crm/tasks": { + "/ticketing/comments": { "get": { - "operationId": "getTasks", - "summary": "List a batch of Tasks", + "operationId": "getComments", + "summary": "List a batch of Comments", "parameters": [ { "name": "x-connection-token", @@ -3141,7 +2963,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaskOutput" + "$ref": "#/components/schemas/UnifiedCommentOutput" } } } @@ -3152,7 +2974,7 @@ } }, "tags": [ - "crm/tasks" + "ticketing/comments" ], "security": [ { @@ -3161,9 +2983,9 @@ ] }, "post": { - "operationId": "addTask", - "summary": "Create a Task", - "description": "Create a task in any supported Crm software", + "operationId": "addComment", + "summary": "Create a Comment", + "description": "Create a comment in any supported Ticketing software", "parameters": [ { "name": "x-connection-token", @@ -3178,7 +3000,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original Ticketing software.", "schema": { "type": "boolean" } @@ -3189,7 +3011,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTaskInput" + "$ref": "#/components/schemas/UnifiedCommentInput" } } } @@ -3207,7 +3029,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaskOutput" + "$ref": "#/components/schemas/UnifiedCommentOutput" } } } @@ -3221,135 +3043,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTaskOutput" + "$ref": "#/components/schemas/UnifiedCommentOutput" } } } } }, "tags": [ - "crm/tasks" + "ticketing/comments" ], "security": [ { "JWT": [] } ] - }, - "patch": { - "operationId": "updateTask", - "summary": "Update a Task", + } + }, + "/ticketing/comments/{id}": { + "get": { + "operationId": "getComment", + "summary": "Retrieve a Comment", + "description": "Retrieve a comment from any connected Ticketing software", "parameters": [ { "name": "id", "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTaskOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "crm/tasks" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/crm/tasks/{id}": { - "get": { - "operationId": "getTask", - "summary": "Retrieve a Task", - "description": "Retrieve a task from any connected Crm software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the task you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Crm software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTaskOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "crm/tasks" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/crm/tasks/batch": { - "post": { - "operationId": "addTasks", - "summary": "Add a batch of Tasks", - "parameters": [ - { - "name": "x-connection-token", - "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the `comment` you want to retrive.", "schema": { "type": "string" } @@ -3358,25 +3078,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original Ticketing software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTaskInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -3390,7 +3097,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaskOutput" + "$ref": "#/components/schemas/UnifiedCommentOutput" } } } @@ -3398,23 +3105,10 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTaskOutput" - } - } - } - } } }, "tags": [ - "crm/tasks" + "ticketing/comments" ], "security": [ { @@ -3423,10 +3117,10 @@ ] } }, - "/crm/users": { + "/ticketing/tags": { "get": { - "operationId": "getCrmUsers", - "summary": "List a batch of Users", + "operationId": "getTicketingTags", + "summary": "List a batch of Tags", "parameters": [ { "name": "x-connection-token", @@ -3479,7 +3173,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } @@ -3490,7 +3184,7 @@ } }, "tags": [ - "crm/users" + "ticketing/tags" ], "security": [ { @@ -3499,17 +3193,17 @@ ] } }, - "/crm/users/{id}": { + "/ticketing/tags/{id}": { "get": { - "operationId": "getCrmUser", - "summary": "Retrieve a User", - "description": "Retrieve a user from any connected Crm software", + "operationId": "getTicketingTag", + "summary": "Retrieve a Tag", + "description": "Retrieve a tag from any connected Ticketing software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the user you want to retrieve.", + "description": "id of the tag you want to retrieve.", "schema": { "type": "string" } @@ -3518,7 +3212,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Crm software.", + "description": "Set to true to include data from the original Ticketing software.", "schema": { "type": "boolean" } @@ -3537,7 +3231,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } @@ -3548,7 +3242,7 @@ } }, "tags": [ - "crm/users" + "ticketing/tags" ], "security": [ { @@ -3557,10 +3251,10 @@ ] } }, - "/ticketing/collections": { + "/ticketing/teams": { "get": { - "operationId": "getCollections", - "summary": "List a batch of Collections", + "operationId": "getTeams", + "summary": "List a batch of Teams", "parameters": [ { "name": "x-connection-token", @@ -3613,7 +3307,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCollectionOutput" + "$ref": "#/components/schemas/UnifiedTeamOutput" } } } @@ -3624,7 +3318,7 @@ } }, "tags": [ - "ticketing/collections" + "ticketing/teams" ], "security": [ { @@ -3633,17 +3327,17 @@ ] } }, - "/ticketing/collections/{id}": { + "/ticketing/teams/{id}": { "get": { - "operationId": "getCollection", - "summary": "Retrieve a Collection", - "description": "Retrieve a collection from any connected Ticketing software", + "operationId": "getTeam", + "summary": "Retrieve a Team", + "description": "Retrieve a team from any connected Ticketing software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the collection you want to retrieve.", + "description": "id of the team you want to retrieve.", "schema": { "type": "string" } @@ -3671,7 +3365,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCollectionOutput" + "$ref": "#/components/schemas/UnifiedTeamOutput" } } } @@ -3682,7 +3376,7 @@ } }, "tags": [ - "ticketing/collections" + "ticketing/teams" ], "security": [ { @@ -3691,44 +3385,78 @@ ] } }, - "/ticketing/comments": { + "/linked-users": { + "post": { + "operationId": "addLinkedUser", + "summary": "Add Linked User", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateLinkedUserDto" + } + } + } + }, + "responses": { + "201": { + "description": "" + } + }, + "tags": [ + "linked-users" + ] + }, "get": { - "operationId": "getComments", - "summary": "List a batch of Comments", + "operationId": "fetchLinkedUsers", + "summary": "Retrieve Linked Users", + "parameters": [], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "linked-users" + ] + } + }, + "/linked-users/batch": { + "post": { + "operationId": "addBatchLinkedUsers", + "summary": "Add Batch Linked Users", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateBatchLinkedUserDto" + } + } + } + }, + "responses": { + "201": { + "description": "" + } + }, + "tags": [ + "linked-users" + ] + } + }, + "/linked-users/single": { + "get": { + "operationId": "getLinkedUser", + "summary": "Retrieve a Linked User", "parameters": [ { - "name": "x-connection-token", + "name": "id", "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 software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "pageSize", - "required": false, - "in": "query", - "description": "Set to get the number of records.", - "schema": { - "default": 50, - "type": "number" - } - }, - { - "name": "cursor", - "required": false, - "in": "query", - "description": "Set to get the number of records after this cursor.", + "in": "query", "schema": { "type": "string" } @@ -3736,6514 +3464,421 @@ ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "ticketing/comments" - ], - "security": [ - { - "JWT": [] - } + "linked-users" ] - }, - "post": { - "operationId": "addComment", - "summary": "Create a Comment", - "description": "Create a comment in any supported Ticketing software", + } + }, + "/linked-users/fromRemoteId": { + "get": { + "operationId": "linkedUserFromRemoteId", + "summary": "Retrieve a Linked User From A Remote Id", "parameters": [ { - "name": "x-connection-token", + "name": "remoteId", "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" + "type": "string" } } ], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "linked-users" + ] + } + }, + "/organisations": { + "get": { + "operationId": "getOrganisations", + "summary": "Retrieve Organisations", + "parameters": [], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "organisations" + ] + } + }, + "/organisations/create": { + "post": { + "operationId": "createOrganisation", + "summary": "Create an Organisation", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedCommentInput" + "$ref": "#/components/schemas/CreateOrganizationDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } - ] - } - } - } - }, "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } + "description": "" } }, "tags": [ - "ticketing/comments" - ], - "security": [ - { - "JWT": [] - } + "organisations" ] } }, - "/ticketing/comments/{id}": { + "/projects": { "get": { - "operationId": "getComment", - "summary": "Retrieve a Comment", - "description": "Retrieve a comment from any connected Ticketing software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the `comment` 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" - } - } - ], + "operationId": "getProjects", + "summary": "Retrieve projects", + "parameters": [], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "ticketing/comments" - ], - "security": [ - { - "JWT": [] - } + "projects" ] - } - }, - "/ticketing/comments/batch": { + }, "post": { - "operationId": "addComments", - "summary": "Add a batch of Comments", - "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" - } - } - ], + "operationId": "createProject", + "summary": "Create a project", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCommentInput" - } + "$ref": "#/components/schemas/CreateProjectDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } - ] - } - } - } - }, "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCommentOutput" - } - } - } - } + "description": "" } }, "tags": [ - "ticketing/comments" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/ticketing/tags": { - "get": { - "operationId": "getTicketingTags", - "summary": "List a batch of Tags", - "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 software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "pageSize", - "required": false, - "in": "query", - "description": "Set to get the number of records.", - "schema": { - "default": 50, - "type": "number" - } - }, - { - "name": "cursor", - "required": false, - "in": "query", - "description": "Set to get the number of records after this cursor.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "ticketing/tags" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/ticketing/tags/{id}": { - "get": { - "operationId": "getTicketingTag", - "summary": "Retrieve a Tag", - "description": "Retrieve a tag from any connected Ticketing software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the tag you want to retrieve.", - "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" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "ticketing/tags" - ], - "security": [ - { - "JWT": [] - } + "projects" ] } }, - "/ticketing/teams": { + "/field-mappings/entities": { "get": { - "operationId": "getTeams", - "summary": "List a batch of Teams", - "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 software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "pageSize", - "required": false, - "in": "query", - "description": "Set to get the number of records.", - "schema": { - "default": 50, - "type": "number" - } - }, - { - "name": "cursor", - "required": false, - "in": "query", - "description": "Set to get the number of records after this cursor.", - "schema": { - "type": "string" - } - } - ], + "operationId": "getFieldMappingsEntities", + "summary": "Retrieve field mapping entities", + "parameters": [], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTeamOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "ticketing/teams" - ], - "security": [ - { - "JWT": [] - } + "field-mappings" ] } }, - "/ticketing/teams/{id}": { + "/field-mappings/attribute": { "get": { - "operationId": "getTeam", - "summary": "Retrieve a Team", - "description": "Retrieve a team from any connected Ticketing software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the team you want to retrieve.", - "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" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTeamOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "ticketing/teams" - ], - "security": [ - { - "JWT": [] - } - ] - } - }, - "/linked-users": { - "post": { - "operationId": "addLinkedUser", - "summary": "Add Linked User", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateLinkedUserDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "linked-users" - ] - }, - "get": { - "operationId": "fetchLinkedUsers", - "summary": "Retrieve Linked Users", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "linked-users" - ] - } - }, - "/linked-users/batch": { - "post": { - "operationId": "addBatchLinkedUsers", - "summary": "Add Batch Linked Users", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateBatchLinkedUserDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "linked-users" - ] - } - }, - "/linked-users/single": { - "get": { - "operationId": "getLinkedUser", - "summary": "Retrieve a Linked User", - "parameters": [ - { - "name": "id", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "linked-users" - ] - } - }, - "/linked-users/fromRemoteId": { - "get": { - "operationId": "linkedUserFromRemoteId", - "summary": "Retrieve a Linked User From A Remote Id", - "parameters": [ - { - "name": "remoteId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "linked-users" - ] - } - }, - "/organisations": { - "get": { - "operationId": "getOrganisations", - "summary": "Retrieve Organisations", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "organisations" - ] - } - }, - "/organisations/create": { - "post": { - "operationId": "createOrganisation", - "summary": "Create an Organisation", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateOrganizationDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "organisations" - ] - } - }, - "/projects": { - "get": { - "operationId": "getProjects", - "summary": "Retrieve projects", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "projects" - ] - }, - "post": { - "operationId": "createProject", - "summary": "Create a project", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateProjectDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "projects" - ] - } - }, - "/field-mappings/entities": { - "get": { - "operationId": "getFieldMappingsEntities", - "summary": "Retrieve field mapping entities", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings/attribute": { - "get": { - "operationId": "getFieldMappings", - "summary": "Retrieve field mappings", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings/value": { - "get": { - "operationId": "getFieldMappingValues", - "summary": "Retrieve field mappings values", - "parameters": [], + "operationId": "getFieldMappings", + "summary": "Retrieve field mappings", + "parameters": [], "responses": { "200": { "description": "" } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings/define": { - "post": { - "operationId": "defineTargetField", - "summary": "Define target Field", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DefineTargetFieldDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings": { - "post": { - "operationId": "createCustomField", - "summary": "Create Custom Field", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldCreateDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings/map": { - "post": { - "operationId": "mapField", - "summary": "Map Custom Field", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MapFieldToProviderDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/field-mappings/properties": { - "get": { - "operationId": "getCustomProviderProperties", - "summary": "Retrieve Custom Properties", - "parameters": [ - { - "name": "linkedUserId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "providerId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "vertical", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "field-mappings" - ] - } - }, - "/events": { - "get": { - "operationId": "getPanoraCoreEvents", - "summary": "Retrieve Events", - "parameters": [ - { - "name": "page", - "required": false, - "in": "query", - "schema": { - "minimum": 1, - "default": 1, - "type": "number" - } - }, - { - "name": "pageSize", - "required": false, - "in": "query", - "schema": { - "minimum": 1, - "default": 10, - "type": "number" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "events" - ] - } - }, - "/events/count": { - "get": { - "operationId": "getEventsCount", - "summary": "Retrieve Events Count", - "parameters": [], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "number" - } - } - } - } - }, - "tags": [ - "events" - ] - } - }, - "/magic-links": { - "post": { - "operationId": "createMagicLink", - "summary": "Create a Magic Link", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateMagicLinkDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "magic-links" - ] - }, - "get": { - "operationId": "getMagicLinks", - "summary": "Retrieve Magic Links", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "magic-links" - ] - } - }, - "/magic-links/single": { - "get": { - "operationId": "getMagicLink", - "summary": "Retrieve a Magic Link", - "parameters": [ - { - "name": "id", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "magic-links" - ] - } - }, - "/passthrough": { - "post": { - "operationId": "passthroughRequest", - "summary": "Make a passthrough request", - "parameters": [ - { - "name": "integrationId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "linkedUserId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "vertical", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PassThroughRequestDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PassThroughResponse" - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PassThroughResponse" - } - } - } - } - }, - "tags": [ - "passthrough" - ] - } - }, - "/connections-strategies/create": { - "post": { - "operationId": "createConnectionStrategy", - "summary": "Create Connection Strategy", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateConnectionStrategyDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/toggle": { - "post": { - "operationId": "toggleConnectionStrategy", - "summary": "Activate/Deactivate Connection Strategy", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToggleStrategyDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/delete": { - "post": { - "operationId": "deleteConnectionStrategy", - "summary": "Delete Connection Strategy", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteCSDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/update": { - "post": { - "operationId": "updateConnectionStrategy", - "summary": "Update Connection Strategy", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateCSDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/credentials": { - "post": { - "operationId": "getConnectionStrategyCredentials", - "summary": "Get Connection Strategy Credential", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConnectionStrategyCredentials" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/getCredentials": { - "get": { - "operationId": "getCredentials", - "summary": "Fetch credentials info needed for connections", - "parameters": [ - { - "name": "projectId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "type", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/connections-strategies/getConnectionStrategiesForProject": { - "get": { - "operationId": "getConnectionStrategiesForProject", - "summary": "Fetch All Connection Strategies for Project", - "parameters": [], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "connections-strategies" - ] - } - }, - "/syncs/status/{vertical}": { - "get": { - "operationId": "getSyncStatus", - "summary": "Retrieve sync status of a certain vertical", - "parameters": [ - { - "name": "vertical", - "required": true, - "in": "path", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "syncs" - ] - } - }, - "/syncs/resyncs/{vertical}": { - "get": { - "operationId": "resync", - "summary": "Resync common objects across a vertical", - "parameters": [ - { - "name": "vertical", - "required": true, - "in": "path", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "syncs" - ] - } - }, - "/project-connectors": { - "post": { - "operationId": "updateConnectorsToProject", - "summary": "Update Connectors for a project", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectConnectorsDto" - } - } - } - }, - "responses": { - "201": { - "description": "" - } - }, - "tags": [ - "project-connectors" - ] - }, - "get": { - "operationId": "getConnectorsFromProject", - "summary": "Retrieve connectors by Project Id", - "parameters": [ - { - "name": "projectId", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "getConnectorsFromProject", - "required": true, - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - }, - "tags": [ - "project-connectors" - ] - } - }, - "/hris/bankinfo": { - "get": { - "operationId": "getBankinfos", - "summary": "List a batch of Bankinfos", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/bankinfo" - ] - }, - "post": { - "operationId": "addBankinfo", - "summary": "Create a Bankinfo", - "description": "Create a bankinfo in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBankInfoInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - } - }, - "tags": [ - "hris/bankinfo" - ] - } - }, - "/hris/bankinfo/{id}": { - "get": { - "operationId": "getBankinfo", - "summary": "Retrieve a Bankinfo", - "description": "Retrieve a bankinfo from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the bankinfo you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/bankinfo" - ] - } - }, - "/hris/bankinfo/batch": { - "post": { - "operationId": "addBankinfos", - "summary": "Add a batch of Bankinfos", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBankInfoInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBankInfoOutput" - } - } - } - } - } - }, - "tags": [ - "hris/bankinfo" - ] - } - }, - "/hris/benefit": { - "get": { - "operationId": "getBenefits", - "summary": "List a batch of Benefits", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/benefit" - ] - }, - "post": { - "operationId": "addBenefit", - "summary": "Create a Benefit", - "description": "Create a benefit in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBenefitInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - } - }, - "tags": [ - "hris/benefit" - ] - } - }, - "/hris/benefit/{id}": { - "get": { - "operationId": "getBenefit", - "summary": "Retrieve a Benefit", - "description": "Retrieve a benefit from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the benefit you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/benefit" - ] - } - }, - "/hris/benefit/batch": { - "post": { - "operationId": "addBenefits", - "summary": "Add a batch of Benefits", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBenefitInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBenefitOutput" - } - } - } - } - } - }, - "tags": [ - "hris/benefit" - ] - } - }, - "/hris/company": { - "get": { - "operationId": "getCompanys", - "summary": "List a batch of Companys", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/company" - ] - }, - "post": { - "operationId": "addHrisCompany", - "summary": "Create a Company", - "description": "Create a company in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCompanyInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - } - }, - "tags": [ - "hris/company" - ] - } - }, - "/hris/company/{id}": { - "get": { - "operationId": "getHrisCompany", - "summary": "Retrieve a Company", - "description": "Retrieve a company from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the company you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/company" - ] - } - }, - "/hris/company/batch": { - "post": { - "operationId": "addCompanys", - "summary": "Add a batch of Companys", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyOutput" - } - } - } - } - } - }, - "tags": [ - "hris/company" - ] - } - }, - "/hris/dependent": { - "get": { - "operationId": "getDependents", - "summary": "List a batch of Dependents", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/dependent" - ] - }, - "post": { - "operationId": "addDependent", - "summary": "Create a Dependent", - "description": "Create a dependent in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedDependentInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - } - }, - "tags": [ - "hris/dependent" - ] - } - }, - "/hris/dependent/{id}": { - "get": { - "operationId": "getDependent", - "summary": "Retrieve a Dependent", - "description": "Retrieve a dependent from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the dependent you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/dependent" - ] - } - }, - "/hris/dependent/batch": { - "post": { - "operationId": "addDependents", - "summary": "Add a batch of Dependents", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDependentInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDependentOutput" - } - } - } - } - } - }, - "tags": [ - "hris/dependent" - ] - } - }, - "/hris/employeepayrollrun": { - "get": { - "operationId": "getEmployeePayrollRuns", - "summary": "List a batch of EmployeePayrollRuns", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employeepayrollrun" - ] - }, - "post": { - "operationId": "addEmployeePayrollRun", - "summary": "Create a EmployeePayrollRun", - "description": "Create a employeepayrollrun in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - } - }, - "tags": [ - "hris/employeepayrollrun" - ] - } - }, - "/hris/employeepayrollrun/{id}": { - "get": { - "operationId": "getEmployeePayrollRun", - "summary": "Retrieve a EmployeePayrollRun", - "description": "Retrieve a employeepayrollrun from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the employeepayrollrun you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employeepayrollrun" - ] - } - }, - "/hris/employeepayrollrun/batch": { - "post": { - "operationId": "addEmployeePayrollRuns", - "summary": "Add a batch of EmployeePayrollRuns", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" - } - } - } - } - } - }, - "tags": [ - "hris/employeepayrollrun" - ] - } - }, - "/hris/employee": { - "get": { - "operationId": "getEmployees", - "summary": "List a batch of Employees", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employee" - ] - }, - "post": { - "operationId": "addEmployee", - "summary": "Create a Employee", - "description": "Create a employee in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployeeInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - } - }, - "tags": [ - "hris/employee" - ] - } - }, - "/hris/employee/{id}": { - "get": { - "operationId": "getEmployee", - "summary": "Retrieve a Employee", - "description": "Retrieve a employee from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the employee you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employee" - ] - } - }, - "/hris/employee/batch": { - "post": { - "operationId": "addEmployees", - "summary": "Add a batch of Employees", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployeeInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployeeOutput" - } - } - } - } - } - }, - "tags": [ - "hris/employee" - ] - } - }, - "/hris/employerbenefit": { - "get": { - "operationId": "getEmployerBenefits", - "summary": "List a batch of EmployerBenefits", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employerbenefit" - ] - }, - "post": { - "operationId": "addEmployerBenefit", - "summary": "Create a EmployerBenefit", - "description": "Create a employerbenefit in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - } - }, - "tags": [ - "hris/employerbenefit" - ] - } - }, - "/hris/employerbenefit/{id}": { - "get": { - "operationId": "getEmployerBenefit", - "summary": "Retrieve a EmployerBenefit", - "description": "Retrieve a employerbenefit from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the employerbenefit you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employerbenefit" - ] - } - }, - "/hris/employerbenefit/batch": { - "post": { - "operationId": "addEmployerBenefits", - "summary": "Add a batch of EmployerBenefits", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" - } - } - } - } - } - }, - "tags": [ - "hris/employerbenefit" - ] - } - }, - "/hris/employment": { - "get": { - "operationId": "getEmployments", - "summary": "List a batch of Employments", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employment" - ] - }, - "post": { - "operationId": "addEmployment", - "summary": "Create a Employment", - "description": "Create a employment in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmploymentInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - } - }, - "tags": [ - "hris/employment" - ] - } - }, - "/hris/employment/{id}": { - "get": { - "operationId": "getEmployment", - "summary": "Retrieve a Employment", - "description": "Retrieve a employment from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the employment you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/employment" - ] - } - }, - "/hris/employment/batch": { - "post": { - "operationId": "addEmployments", - "summary": "Add a batch of Employments", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmploymentInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmploymentOutput" - } - } - } - } - } - }, - "tags": [ - "hris/employment" - ] - } - }, - "/hris/group": { - "get": { - "operationId": "getGroups", - "summary": "List a batch of Groups", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/group" - ] - }, - "post": { - "operationId": "addGroup", - "summary": "Create a Group", - "description": "Create a group in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedGroupInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - } - }, - "tags": [ - "hris/group" - ] - } - }, - "/hris/group/{id}": { - "get": { - "operationId": "getGroup", - "summary": "Retrieve a Group", - "description": "Retrieve a group from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the group you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/group" - ] - } - }, - "/hris/group/batch": { - "post": { - "operationId": "addGroups", - "summary": "Add a batch of Groups", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedGroupInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedGroupOutput" - } - } - } - } - } - }, - "tags": [ - "hris/group" - ] - } - }, - "/hris/location": { - "get": { - "operationId": "getLocations", - "summary": "List a batch of Locations", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/location" - ] - }, - "post": { - "operationId": "addLocation", - "summary": "Create a Location", - "description": "Create a location in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedLocationInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - } - }, - "tags": [ - "hris/location" - ] - } - }, - "/hris/location/{id}": { - "get": { - "operationId": "getLocation", - "summary": "Retrieve a Location", - "description": "Retrieve a location from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the location you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/location" - ] - } - }, - "/hris/location/batch": { - "post": { - "operationId": "addLocations", - "summary": "Add a batch of Locations", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedLocationInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedLocationOutput" - } - } - } - } - } - }, - "tags": [ - "hris/location" - ] - } - }, - "/hris/paygroup": { - "get": { - "operationId": "getPayGroups", - "summary": "List a batch of PayGroups", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/paygroup" - ] - }, - "post": { - "operationId": "addPayGroup", - "summary": "Create a PayGroup", - "description": "Create a paygroup in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPayGroupInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - } - }, - "tags": [ - "hris/paygroup" - ] - } - }, - "/hris/paygroup/{id}": { - "get": { - "operationId": "getPayGroup", - "summary": "Retrieve a PayGroup", - "description": "Retrieve a paygroup from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the paygroup you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/paygroup" - ] - } - }, - "/hris/paygroup/batch": { - "post": { - "operationId": "addPayGroups", - "summary": "Add a batch of PayGroups", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPayGroupInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPayGroupOutput" - } - } - } - } - } - }, - "tags": [ - "hris/paygroup" - ] - } - }, - "/hris/payrollrun": { - "get": { - "operationId": "getPayrollRuns", - "summary": "List a batch of PayrollRuns", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/payrollrun" - ] - }, - "post": { - "operationId": "addPayrollRun", - "summary": "Create a PayrollRun", - "description": "Create a payrollrun in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPayrollRunInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - } - }, - "tags": [ - "hris/payrollrun" - ] - } - }, - "/hris/payrollrun/{id}": { - "get": { - "operationId": "getPayrollRun", - "summary": "Retrieve a PayrollRun", - "description": "Retrieve a payrollrun from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the payrollrun you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/payrollrun" - ] - } - }, - "/hris/payrollrun/batch": { - "post": { - "operationId": "addPayrollRuns", - "summary": "Add a batch of PayrollRuns", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPayrollRunInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPayrollRunOutput" - } - } - } - } - } - }, - "tags": [ - "hris/payrollrun" - ] - } - }, - "/hris/timeoff": { - "get": { - "operationId": "getTimeoffs", - "summary": "List a batch of Timeoffs", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/timeoff" - ] - }, - "post": { - "operationId": "addTimeoff", - "summary": "Create a Timeoff", - "description": "Create a timeoff in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTimeoffInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - } - }, - "tags": [ - "hris/timeoff" - ] - } - }, - "/hris/timeoff/{id}": { - "get": { - "operationId": "getTimeoff", - "summary": "Retrieve a Timeoff", - "description": "Retrieve a timeoff from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the timeoff you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/timeoff" - ] - } - }, - "/hris/timeoff/batch": { - "post": { - "operationId": "addTimeoffs", - "summary": "Add a batch of Timeoffs", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTimeoffInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTimeoffOutput" - } - } - } - } - } - }, - "tags": [ - "hris/timeoff" - ] - } - }, - "/hris/timeoffbalance": { - "get": { - "operationId": "getTimeoffBalances", - "summary": "List a batch of TimeoffBalances", - "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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/timeoffbalance" - ] - }, - "post": { - "operationId": "addTimeoffBalance", - "summary": "Create a TimeoffBalance", - "description": "Create a timeoffbalance in any supported Hris 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 Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - } - }, - "tags": [ - "hris/timeoffbalance" - ] - } - }, - "/hris/timeoffbalance/{id}": { - "get": { - "operationId": "getTimeoffBalance", - "summary": "Retrieve a TimeoffBalance", - "description": "Retrieve a timeoffbalance from any connected Hris software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the timeoffbalance you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "hris/timeoffbalance" - ] - } - }, - "/hris/timeoffbalance/batch": { - "post": { - "operationId": "addTimeoffBalances", - "summary": "Add a batch of TimeoffBalances", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Hris software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" - } - } - } - } - } - }, - "tags": [ - "hris/timeoffbalance" - ] - } - }, - "/marketingautomation/action": { - "get": { - "operationId": "getActions", - "summary": "List a batch of Actions", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/action" - ] - }, - "post": { - "operationId": "addAction", - "summary": "Create a Action", - "description": "Create a action in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedActionInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - } - }, - "tags": [ - "marketingautomation/action" - ] - } - }, - "/marketingautomation/action/{id}": { - "get": { - "operationId": "getAction", - "summary": "Retrieve a Action", - "description": "Retrieve a action from any connected Marketingautomation software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the action you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/action" - ] - } - }, - "/marketingautomation/action/batch": { - "post": { - "operationId": "addActions", - "summary": "Add a batch of Actions", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedActionInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedActionOutput" - } - } - } - } - } - }, - "tags": [ - "marketingautomation/action" - ] - } - }, - "/marketingautomation/automation": { - "get": { - "operationId": "getAutomations", - "summary": "List a batch of Automations", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/automation" - ] - }, - "post": { - "operationId": "addAutomation", - "summary": "Create a Automation", - "description": "Create a automation in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedAutomationInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - } - }, - "tags": [ - "marketingautomation/automation" - ] - } - }, - "/marketingautomation/automation/{id}": { - "get": { - "operationId": "getAutomation", - "summary": "Retrieve a Automation", - "description": "Retrieve a automation from any connected Marketingautomation software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the automation you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/automation" - ] - } - }, - "/marketingautomation/automation/batch": { - "post": { - "operationId": "addAutomations", - "summary": "Add a batch of Automations", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAutomationInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAutomationOutput" - } - } - } - } - } - }, - "tags": [ - "marketingautomation/automation" - ] - } - }, - "/marketingautomation/campaign": { - "get": { - "operationId": "getCampaigns", - "summary": "List a batch of Campaigns", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/campaign" - ] - }, - "post": { - "operationId": "addCampaign", - "summary": "Create a Campaign", - "description": "Create a campaign in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCampaignInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - } - }, - "tags": [ - "marketingautomation/campaign" - ] - } - }, - "/marketingautomation/campaign/{id}": { - "get": { - "operationId": "getCampaign", - "summary": "Retrieve a Campaign", - "description": "Retrieve a campaign from any connected Marketingautomation software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the campaign you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/campaign" - ] - } - }, - "/marketingautomation/campaign/batch": { - "post": { - "operationId": "addCampaigns", - "summary": "Add a batch of Campaigns", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCampaignInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCampaignOutput" - } - } - } - } - } - }, - "tags": [ - "marketingautomation/campaign" - ] - } - }, - "/marketingautomation/contact": { - "get": { - "operationId": "getMarketingAutomationContacts", - "summary": "List a batch of Contacts", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/contact" - ] - }, - "post": { - "operationId": "addMarketingAutomationContact", - "summary": "Create a Contact", - "description": "Create a contact in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedContactInput" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - } - }, - "tags": [ - "marketingautomation/contact" - ] - } - }, - "/marketingautomation/contact/{id}": { - "get": { - "operationId": "getMarketingAutomationContact", - "summary": "Retrieve a Contact", - "description": "Retrieve a contact from any connected Marketingautomation software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the contact you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], + }, + "tags": [ + "field-mappings" + ] + } + }, + "/field-mappings/value": { + "get": { + "operationId": "getFieldMappingValues", + "summary": "Retrieve field mappings values", + "parameters": [], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/contact" + "field-mappings" ] } }, - "/marketingautomation/contact/batch": { + "/field-mappings/define": { "post": { - "operationId": "addMarketingAutomationContacts", - "summary": "Add a batch of Contacts", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], + "operationId": "defineTargetField", + "summary": "Define target Field", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactInput" - } + "$ref": "#/components/schemas/DefineTargetFieldDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - ] - } - } - } - }, "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/contact" + "field-mappings" ] } }, - "/marketingautomation/email": { - "get": { - "operationId": "getEmails", - "summary": "List a batch of Emails", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/email" - ] - }, + "/field-mappings": { "post": { - "operationId": "addEmail", - "summary": "Create a Email", - "description": "Create a email in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], + "operationId": "createCustomField", + "summary": "Create Custom Field", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedEmailInput" + "$ref": "#/components/schemas/CustomFieldCreateDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } - ] - } - } - } - }, "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/email" + "field-mappings" ] - } - }, - "/marketingautomation/email/{id}": { - "get": { - "operationId": "getEmail", - "summary": "Retrieve a Email", - "description": "Retrieve a email from any connected Marketingautomation software", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "id of the email you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } - ] - } + } + }, + "/field-mappings/map": { + "post": { + "operationId": "mapField", + "summary": "Map Custom Field", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MapFieldToProviderDto" } } } }, + "responses": { + "201": { + "description": "" + } + }, "tags": [ - "marketingautomation/email" + "field-mappings" ] } }, - "/marketingautomation/email/batch": { - "post": { - "operationId": "addEmails", - "summary": "Add a batch of Emails", + "/field-mappings/properties": { + "get": { + "operationId": "getCustomProviderProperties", + "summary": "Retrieve Custom Properties", "parameters": [ { - "name": "connection_token", + "name": "linkedUserId", "required": true, - "in": "header", + "in": "query", "schema": { "type": "string" } }, { - "name": "remote_data", - "required": false, + "name": "providerId", + "required": true, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", "schema": { - "type": "boolean" + "type": "string" } }, { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", + "name": "vertical", "required": true, + "in": "query", "schema": { "type": "string" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmailInput" - } - } - } - } - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEmailOutput" - } - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/email" + "field-mappings" ] } }, - "/marketingautomation/event": { + "/events": { "get": { - "operationId": "getMarketingAutomationEvents", - "summary": "List a batch of Events", + "operationId": "getPanoraCoreEvents", + "summary": "Retrieve Events", "parameters": [ { - "name": "x-connection-token", - "required": true, - "in": "header", - "description": "The connection token", + "name": "page", + "required": false, + "in": "query", "schema": { - "type": "string" + "minimum": 1, + "default": 1, + "type": "number" } }, { - "name": "remote_data", + "name": "pageSize", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", "schema": { - "type": "boolean" + "minimum": 1, + "default": 10, + "type": "number" } } ], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "events" + ] + } + }, + "/events/count": { + "get": { + "operationId": "getEventsCount", + "summary": "Retrieve Events Count", + "parameters": [], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } - } - } - ] + "type": "number" } } } } }, "tags": [ - "marketingautomation/event" + "events" ] - }, + } + }, + "/magic-links": { "post": { - "operationId": "addEvent", - "summary": "Create a Event", - "description": "Create a event in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], + "operationId": "createMagicLink", + "summary": "Create a Magic Link", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedEventInput" + "$ref": "#/components/schemas/CreateMagicLinkDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } - } - } - ] - } - } - } - }, "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/event" + "magic-links" + ] + }, + "get": { + "operationId": "getMagicLinks", + "summary": "Retrieve Magic Links", + "parameters": [], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "magic-links" ] } }, - "/marketingautomation/event/{id}": { + "/magic-links/single": { "get": { - "operationId": "getEvent", - "summary": "Retrieve a Event", - "description": "Retrieve a event from any connected Marketingautomation software", + "operationId": "getMagicLink", + "summary": "Retrieve a Magic Link", "parameters": [ { "name": "id", "required": true, - "in": "path", - "description": "id of the event you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", "schema": { - "type": "boolean" + "type": "string" } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/event" + "magic-links" ] } }, - "/marketingautomation/event/batch": { + "/passthrough": { "post": { - "operationId": "addEvents", - "summary": "Add a batch of Events", + "operationId": "passthroughRequest", + "summary": "Make a passthrough request", "parameters": [ { - "name": "connection_token", + "name": "integrationId", "required": true, - "in": "header", + "in": "query", "schema": { "type": "string" } }, { - "name": "remote_data", - "required": false, + "name": "linkedUserId", + "required": true, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", "schema": { - "type": "boolean" + "type": "string" } }, { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", + "name": "vertical", "required": true, + "in": "query", "schema": { "type": "string" } @@ -10254,10 +3889,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEventInput" - } + "$ref": "#/components/schemas/PassThroughRequestDto" } } } @@ -10268,18 +3900,7 @@ "content": { "application/json": { "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } - } - } - ] + "$ref": "#/components/schemas/PassThroughResponse" } } } @@ -10289,286 +3910,296 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEventOutput" - } + "$ref": "#/components/schemas/PassThroughResponse" } } } } }, "tags": [ - "marketingautomation/event" + "passthrough" ] } }, - "/marketingautomation/list": { - "get": { - "operationId": "getLists", - "summary": "List a batch of Lists", - "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 Marketingautomation software.", - "schema": { - "type": "boolean" + "/connections-strategies/create": { + "post": { + "operationId": "createConnectionStrategy", + "summary": "Create Connection Strategy", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateConnectionStrategyDto" + } } } - ], + }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } - } - ] - } + "201": { + "description": "" + } + }, + "tags": [ + "connections-strategies" + ] + } + }, + "/connections-strategies/toggle": { + "post": { + "operationId": "toggleConnectionStrategy", + "summary": "Activate/Deactivate Connection Strategy", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToggleStrategyDto" } } } }, + "responses": { + "201": { + "description": "" + } + }, "tags": [ - "marketingautomation/list" + "connections-strategies" ] - }, + } + }, + "/connections-strategies/delete": { "post": { - "operationId": "addList", - "summary": "Create a List", - "description": "Create a list in any supported Marketingautomation 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 Marketingautomation software.", - "schema": { - "type": "boolean" + "operationId": "deleteConnectionStrategy", + "summary": "Delete Connection Strategy", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteCSDto" + } } } - ], + }, + "responses": { + "201": { + "description": "" + } + }, + "tags": [ + "connections-strategies" + ] + } + }, + "/connections-strategies/update": { + "post": { + "operationId": "updateConnectionStrategy", + "summary": "Update Connection Strategy", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedListInput" + "$ref": "#/components/schemas/UpdateCSDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } - } - ] - } + "201": { + "description": "" + } + }, + "tags": [ + "connections-strategies" + ] + } + }, + "/connections-strategies/credentials": { + "post": { + "operationId": "getConnectionStrategyCredentials", + "summary": "Get Connection Strategy Credential", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionStrategyCredentials" } } - }, + } + }, + "responses": { "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } + "description": "" + } + }, + "tags": [ + "connections-strategies" + ] + } + }, + "/connections-strategies/getCredentials": { + "get": { + "operationId": "getCredentials", + "summary": "Fetch credentials info needed for connections", + "parameters": [ + { + "name": "projectId", + "required": true, + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "required": true, + "in": "query", + "schema": { + "type": "string" } } + ], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "connections-strategies" + ] + } + }, + "/connections-strategies/getConnectionStrategiesForProject": { + "get": { + "operationId": "getConnectionStrategiesForProject", + "summary": "Fetch All Connection Strategies for Project", + "parameters": [], + "responses": { + "200": { + "description": "" + } }, "tags": [ - "marketingautomation/list" + "connections-strategies" ] } }, - "/marketingautomation/list/{id}": { + "/syncs/status/{vertical}": { "get": { - "operationId": "getList", - "summary": "Retrieve a List", - "description": "Retrieve a list from any connected Marketingautomation software", + "operationId": "getSyncStatus", + "summary": "Retrieve sync status of a certain vertical", "parameters": [ { - "name": "id", + "name": "vertical", "required": true, "in": "path", - "description": "id of the list you want to retrieve.", "schema": { "type": "string" } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } - } - ] - } - } - } + "description": "" } }, "tags": [ - "marketingautomation/list" + "syncs" ] } }, - "/marketingautomation/list/batch": { - "post": { - "operationId": "addLists", - "summary": "Add a batch of Lists", + "/syncs/resyncs/{vertical}": { + "get": { + "operationId": "resync", + "summary": "Resync common objects across a vertical", "parameters": [ { - "name": "connection_token", - "required": true, - "in": "header", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", + "name": "vertical", "required": true, + "in": "path", "schema": { "type": "string" } } ], + "responses": { + "200": { + "description": "" + } + }, + "tags": [ + "syncs" + ] + } + }, + "/project-connectors": { + "post": { + "operationId": "updateConnectorsToProject", + "summary": "Update Connectors for a project", + "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedListInput" - } + "$ref": "#/components/schemas/ProjectConnectorsDto" } } } }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } - } - ] - } - } + "201": { + "description": "" + } + }, + "tags": [ + "project-connectors" + ] + }, + "get": { + "operationId": "getConnectorsFromProject", + "summary": "Retrieve connectors by Project Id", + "parameters": [ + { + "name": "projectId", + "required": true, + "in": "query", + "schema": { + "type": "string" } }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedListOutput" - } - } - } + { + "name": "getConnectorsFromProject", + "required": true, + "in": "query", + "schema": { + "type": "string" } } + ], + "responses": { + "200": { + "description": "" + } }, "tags": [ - "marketingautomation/list" + "project-connectors" ] } }, - "/marketingautomation/message": { + "/hris/bankinfo": { "get": { - "operationId": "getMessages", - "summary": "List a batch of Messages", + "operationId": "getBankinfos", + "summary": "List a batch of Bankinfos", "parameters": [ { "name": "x-connection-token", @@ -10583,7 +4214,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -10602,7 +4233,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedMessageOutput" + "$ref": "#/components/schemas/UnifiedBankInfoOutput" } } } @@ -10613,13 +4244,13 @@ } }, "tags": [ - "marketingautomation/message" + "hris/bankinfo" ] }, "post": { - "operationId": "addMessage", - "summary": "Create a Message", - "description": "Create a message in any supported Marketingautomation software", + "operationId": "addBankinfo", + "summary": "Create a Bankinfo", + "description": "Create a bankinfo in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -10634,7 +4265,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -10645,7 +4276,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedMessageInput" + "$ref": "#/components/schemas/UnifiedBankInfoInput" } } } @@ -10663,7 +4294,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedMessageOutput" + "$ref": "#/components/schemas/UnifiedBankInfoOutput" } } } @@ -10677,79 +4308,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedMessageOutput" + "$ref": "#/components/schemas/UnifiedBankInfoOutput" } } } } }, "tags": [ - "marketingautomation/message" + "hris/bankinfo" ] } }, - "/marketingautomation/message/{id}": { + "/hris/bankinfo/{id}": { "get": { - "operationId": "getMessage", - "summary": "Retrieve a Message", - "description": "Retrieve a message from any connected Marketingautomation software", + "operationId": "getBankinfo", + "summary": "Retrieve a Bankinfo", + "description": "Retrieve a bankinfo from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the message you want to retrieve.", - "schema": { - "type": "string" - } - }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedMessageOutput" - } - } - } - ] - } - } - } - } - }, - "tags": [ - "marketingautomation/message" - ] - } - }, - "/marketingautomation/message/batch": { - "post": { - "operationId": "addMessages", - "summary": "Add a batch of Messages", - "parameters": [ - { - "name": "connection_token", - "required": true, - "in": "header", + "description": "id of the bankinfo you want to retrieve.", "schema": { "type": "string" } @@ -10758,34 +4338,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedMessageInput" - } - } + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -10799,7 +4357,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedMessageOutput" + "$ref": "#/components/schemas/UnifiedBankInfoOutput" } } } @@ -10807,30 +4365,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedMessageOutput" - } - } - } - } } }, "tags": [ - "marketingautomation/message" + "hris/bankinfo" ] } }, - "/marketingautomation/template": { + "/hris/benefit": { "get": { - "operationId": "getTemplates", - "summary": "List a batch of Templates", + "operationId": "getBenefits", + "summary": "List a batch of Benefits", "parameters": [ { "name": "x-connection-token", @@ -10845,7 +4390,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -10864,7 +4409,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" + "$ref": "#/components/schemas/UnifiedBenefitOutput" } } } @@ -10875,13 +4420,13 @@ } }, "tags": [ - "marketingautomation/template" + "hris/benefit" ] }, "post": { - "operationId": "addTemplate", - "summary": "Create a Template", - "description": "Create a template in any supported Marketingautomation software", + "operationId": "addBenefit", + "summary": "Create a Benefit", + "description": "Create a benefit in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -10896,7 +4441,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -10907,7 +4452,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTemplateInput" + "$ref": "#/components/schemas/UnifiedBenefitInput" } } } @@ -10925,7 +4470,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" + "$ref": "#/components/schemas/UnifiedBenefitOutput" } } } @@ -10939,28 +4484,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" + "$ref": "#/components/schemas/UnifiedBenefitOutput" } } } } }, "tags": [ - "marketingautomation/template" + "hris/benefit" ] } }, - "/marketingautomation/template/{id}": { + "/hris/benefit/{id}": { "get": { - "operationId": "getTemplate", - "summary": "Retrieve a Template", - "description": "Retrieve a template from any connected Marketingautomation software", + "operationId": "getBenefit", + "summary": "Retrieve a Benefit", + "description": "Retrieve a benefit from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the template you want to retrieve.", + "description": "id of the benefit you want to retrieve.", "schema": { "type": "string" } @@ -10969,7 +4514,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -10988,7 +4533,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" + "$ref": "#/components/schemas/UnifiedBenefitOutput" } } } @@ -10999,19 +4544,20 @@ } }, "tags": [ - "marketingautomation/template" + "hris/benefit" ] } }, - "/marketingautomation/template/batch": { - "post": { - "operationId": "addTemplates", - "summary": "Add a batch of Templates", + "/hris/company": { + "get": { + "operationId": "getCompanys", + "summary": "List a batch of Companys", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -11020,19 +4566,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedCompanyOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "hris/company" + ] + }, + "post": { + "operationId": "addHrisCompany", + "summary": "Create a Company", + "description": "Create a company in any supported Hris software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -11040,10 +4628,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTemplateInput" - } + "$ref": "#/components/schemas/UnifiedCompanyInput" } } } @@ -11061,7 +4646,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" + "$ref": "#/components/schemas/UnifiedCompanyOutput" } } } @@ -11075,30 +4660,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTemplateOutput" - } + "$ref": "#/components/schemas/UnifiedCompanyOutput" } } } } }, "tags": [ - "marketingautomation/template" + "hris/company" ] } }, - "/marketingautomation/user": { + "/hris/company/{id}": { "get": { - "operationId": "getMarketingAutomationUsers", - "summary": "List a batch of Users", + "operationId": "getHrisCompany", + "summary": "Retrieve a Company", + "description": "Retrieve a company from any connected Hris software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the company you want to retrieve.", "schema": { "type": "string" } @@ -11107,7 +4690,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11126,7 +4709,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedCompanyOutput" } } } @@ -11137,13 +4720,14 @@ } }, "tags": [ - "marketingautomation/user" + "hris/company" ] - }, - "post": { - "operationId": "addMarketingAutomationUser", - "summary": "Create a User", - "description": "Create a user in any supported Marketingautomation software", + } + }, + "/hris/dependent": { + "get": { + "operationId": "getDependents", + "summary": "List a batch of Dependents", "parameters": [ { "name": "x-connection-token", @@ -11158,22 +4742,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedUserInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -11187,7 +4761,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedDependentOutput" } } } @@ -11195,34 +4769,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedUserOutput" - } - } - } } }, "tags": [ - "marketingautomation/user" + "hris/dependent" ] - } - }, - "/marketingautomation/user/{id}": { - "get": { - "operationId": "getMarketingAutomationUser", - "summary": "Retrieve a User", - "description": "Retrieve a user from any connected Marketingautomation software", + }, + "post": { + "operationId": "addDependent", + "summary": "Create a Dependent", + "description": "Create a dependent in any supported Hris software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the user you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -11231,12 +4793,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedDependentInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -11250,7 +4822,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedDependentOutput" } } } @@ -11258,22 +4830,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedDependentOutput" + } + } + } } }, "tags": [ - "marketingautomation/user" + "hris/dependent" ] } }, - "/marketingautomation/user/batch": { - "post": { - "operationId": "addMarketingAutomationUsers", - "summary": "Add a batch of Users", + "/hris/dependent/{id}": { + "get": { + "operationId": "getDependent", + "summary": "Retrieve a Dependent", + "description": "Retrieve a dependent from any connected Hris software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the dependent you want to retrieve.", "schema": { "type": "string" } @@ -11282,34 +4866,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Marketingautomation software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedUserInput" - } - } + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -11323,7 +4885,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedDependentOutput" } } } @@ -11331,30 +4893,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedUserOutput" - } - } - } - } } }, "tags": [ - "marketingautomation/user" + "hris/dependent" ] } }, - "/ats/activity": { + "/hris/employeepayrollrun": { "get": { - "operationId": "getActivitys", - "summary": "List a batch of Activitys", + "operationId": "getEmployeePayrollRuns", + "summary": "List a batch of EmployeePayrollRuns", "parameters": [ { "name": "x-connection-token", @@ -11369,7 +4918,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11388,7 +4937,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedActivityOutput" + "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" } } } @@ -11399,13 +4948,13 @@ } }, "tags": [ - "ats/activity" + "hris/employeepayrollrun" ] }, "post": { - "operationId": "addActivity", - "summary": "Create a Activity", - "description": "Create a activity in any supported Ats software", + "operationId": "addEmployeePayrollRun", + "summary": "Create a EmployeePayrollRun", + "description": "Create a employeepayrollrun in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -11420,7 +4969,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11431,7 +4980,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedActivityInput" + "$ref": "#/components/schemas/UnifiedEmployeePayrollRunInput" } } } @@ -11449,7 +4998,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedActivityOutput" + "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" } } } @@ -11463,28 +5012,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedActivityOutput" + "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" } } } } }, "tags": [ - "ats/activity" + "hris/employeepayrollrun" ] } }, - "/ats/activity/{id}": { + "/hris/employeepayrollrun/{id}": { "get": { - "operationId": "getActivity", - "summary": "Retrieve a Activity", - "description": "Retrieve a activity from any connected Ats software", + "operationId": "getEmployeePayrollRun", + "summary": "Retrieve a EmployeePayrollRun", + "description": "Retrieve a employeepayrollrun from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the activity you want to retrieve.", + "description": "id of the employeepayrollrun you want to retrieve.", "schema": { "type": "string" } @@ -11493,7 +5042,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11512,7 +5061,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedActivityOutput" + "$ref": "#/components/schemas/UnifiedEmployeePayrollRunOutput" } } } @@ -11523,19 +5072,20 @@ } }, "tags": [ - "ats/activity" + "hris/employeepayrollrun" ] } }, - "/ats/activity/batch": { - "post": { - "operationId": "addActivitys", - "summary": "Add a batch of Activitys", + "/hris/employee": { + "get": { + "operationId": "getEmployees", + "summary": "List a batch of Employees", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -11544,19 +5094,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedEmployeeOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "hris/employee" + ] + }, + "post": { + "operationId": "addEmployee", + "summary": "Create a Employee", + "description": "Create a employee in any supported Hris software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -11564,10 +5156,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedActivityInput" - } + "$ref": "#/components/schemas/UnifiedEmployeeInput" } } } @@ -11585,7 +5174,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedActivityOutput" + "$ref": "#/components/schemas/UnifiedEmployeeOutput" } } } @@ -11599,30 +5188,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedActivityOutput" - } + "$ref": "#/components/schemas/UnifiedEmployeeOutput" } } } } }, "tags": [ - "ats/activity" + "hris/employee" ] } }, - "/ats/application": { + "/hris/employee/{id}": { "get": { - "operationId": "getApplications", - "summary": "List a batch of Applications", + "operationId": "getEmployee", + "summary": "Retrieve a Employee", + "description": "Retrieve a employee from any connected Hris software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the employee you want to retrieve.", "schema": { "type": "string" } @@ -11631,7 +5218,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11650,7 +5237,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" + "$ref": "#/components/schemas/UnifiedEmployeeOutput" } } } @@ -11661,13 +5248,14 @@ } }, "tags": [ - "ats/application" + "hris/employee" ] - }, - "post": { - "operationId": "addApplication", - "summary": "Create a Application", - "description": "Create a application in any supported Ats software", + } + }, + "/hris/employerbenefit": { + "get": { + "operationId": "getEmployerBenefits", + "summary": "List a batch of EmployerBenefits", "parameters": [ { "name": "x-connection-token", @@ -11682,22 +5270,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedApplicationInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -11711,7 +5289,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" + "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" } } } @@ -11719,34 +5297,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" - } - } - } } }, "tags": [ - "ats/application" + "hris/employerbenefit" ] - } - }, - "/ats/application/{id}": { - "get": { - "operationId": "getApplication", - "summary": "Retrieve a Application", - "description": "Retrieve a application from any connected Ats software", + }, + "post": { + "operationId": "addEmployerBenefit", + "summary": "Create a EmployerBenefit", + "description": "Create a employerbenefit in any supported Hris software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the application you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -11755,12 +5321,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEmployerBenefitInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -11774,7 +5350,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" + "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" } } } @@ -11782,22 +5358,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" + } + } + } } }, "tags": [ - "ats/application" + "hris/employerbenefit" ] } }, - "/ats/application/batch": { - "post": { - "operationId": "addApplications", - "summary": "Add a batch of Applications", + "/hris/employerbenefit/{id}": { + "get": { + "operationId": "getEmployerBenefit", + "summary": "Retrieve a EmployerBenefit", + "description": "Retrieve a employerbenefit from any connected Hris software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the employerbenefit you want to retrieve.", "schema": { "type": "string" } @@ -11806,34 +5394,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedApplicationInput" - } - } + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -11847,7 +5413,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" + "$ref": "#/components/schemas/UnifiedEmployerBenefitOutput" } } } @@ -11855,30 +5421,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedApplicationOutput" - } - } - } - } } }, "tags": [ - "ats/application" + "hris/employerbenefit" ] } }, - "/ats/attachment": { + "/hris/employment": { "get": { - "operationId": "getAtsAttachments", - "summary": "List a batch of Attachments", + "operationId": "getEmployments", + "summary": "List a batch of Employments", "parameters": [ { "name": "x-connection-token", @@ -11893,7 +5446,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11912,7 +5465,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedEmploymentOutput" } } } @@ -11923,13 +5476,13 @@ } }, "tags": [ - "ats/attachment" + "hris/employment" ] }, "post": { - "operationId": "addAtsAttachment", - "summary": "Create a Attachment", - "description": "Create a attachment in any supported Ats software", + "operationId": "addEmployment", + "summary": "Create a Employment", + "description": "Create a employment in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -11944,7 +5497,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -11955,7 +5508,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAttachmentInput" + "$ref": "#/components/schemas/UnifiedEmploymentInput" } } } @@ -11973,7 +5526,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedEmploymentOutput" } } } @@ -11987,28 +5540,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedEmploymentOutput" } } } } }, "tags": [ - "ats/attachment" + "hris/employment" ] } }, - "/ats/attachment/{id}": { + "/hris/employment/{id}": { "get": { - "operationId": "getAtsAttachment", - "summary": "Retrieve a Attachment", - "description": "Retrieve a attachment from any connected Ats software", + "operationId": "getEmployment", + "summary": "Retrieve a Employment", + "description": "Retrieve a employment from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the attachment you want to retrieve.", + "description": "id of the employment you want to retrieve.", "schema": { "type": "string" } @@ -12017,7 +5570,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12036,7 +5589,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedEmploymentOutput" } } } @@ -12047,19 +5600,20 @@ } }, "tags": [ - "ats/attachment" + "hris/employment" ] } }, - "/ats/attachment/batch": { - "post": { - "operationId": "addAtsAttachments", - "summary": "Add a batch of Attachments", + "/hris/group": { + "get": { + "operationId": "getGroups", + "summary": "List a batch of Groups", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -12068,19 +5622,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedGroupOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "hris/group" + ] + }, + "post": { + "operationId": "addGroup", + "summary": "Create a Group", + "description": "Create a group in any supported Hris software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -12088,10 +5684,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentInput" - } + "$ref": "#/components/schemas/UnifiedGroupInput" } } } @@ -12109,7 +5702,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedGroupOutput" } } } @@ -12123,30 +5716,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" - } + "$ref": "#/components/schemas/UnifiedGroupOutput" } } } } }, "tags": [ - "ats/attachment" + "hris/group" ] } }, - "/ats/candidate": { + "/hris/group/{id}": { "get": { - "operationId": "getCandidates", - "summary": "List a batch of Candidates", + "operationId": "getGroup", + "summary": "Retrieve a Group", + "description": "Retrieve a group from any connected Hris software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the group you want to retrieve.", "schema": { "type": "string" } @@ -12155,7 +5746,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12174,7 +5765,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" + "$ref": "#/components/schemas/UnifiedGroupOutput" } } } @@ -12185,13 +5776,14 @@ } }, "tags": [ - "ats/candidate" + "hris/group" ] - }, - "post": { - "operationId": "addCandidate", - "summary": "Create a Candidate", - "description": "Create a candidate in any supported Ats software", + } + }, + "/hris/location": { + "get": { + "operationId": "getLocations", + "summary": "List a batch of Locations", "parameters": [ { "name": "x-connection-token", @@ -12206,22 +5798,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCandidateInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -12235,7 +5817,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" + "$ref": "#/components/schemas/UnifiedLocationOutput" } } } @@ -12243,34 +5825,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" - } - } - } } }, "tags": [ - "ats/candidate" + "hris/location" ] - } - }, - "/ats/candidate/{id}": { - "get": { - "operationId": "getCandidate", - "summary": "Retrieve a Candidate", - "description": "Retrieve a candidate from any connected Ats software", + }, + "post": { + "operationId": "addLocation", + "summary": "Create a Location", + "description": "Create a location in any supported Hris software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the candidate you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -12279,12 +5849,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedLocationInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -12298,7 +5878,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" + "$ref": "#/components/schemas/UnifiedLocationOutput" } } } @@ -12306,22 +5886,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedLocationOutput" + } + } + } } }, "tags": [ - "ats/candidate" + "hris/location" ] } }, - "/ats/candidate/batch": { - "post": { - "operationId": "addCandidates", - "summary": "Add a batch of Candidates", + "/hris/location/{id}": { + "get": { + "operationId": "getLocation", + "summary": "Retrieve a Location", + "description": "Retrieve a location from any connected Hris software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the location you want to retrieve.", "schema": { "type": "string" } @@ -12330,34 +5922,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCandidateInput" - } - } + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -12371,7 +5941,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" + "$ref": "#/components/schemas/UnifiedLocationOutput" } } } @@ -12379,30 +5949,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCandidateOutput" - } - } - } - } } }, "tags": [ - "ats/candidate" + "hris/location" ] } }, - "/ats/department": { + "/hris/paygroup": { "get": { - "operationId": "getDepartments", - "summary": "List a batch of Departments", + "operationId": "getPayGroups", + "summary": "List a batch of PayGroups", "parameters": [ { "name": "x-connection-token", @@ -12417,7 +5974,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12436,7 +5993,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" + "$ref": "#/components/schemas/UnifiedPayGroupOutput" } } } @@ -12447,13 +6004,13 @@ } }, "tags": [ - "ats/department" + "hris/paygroup" ] }, "post": { - "operationId": "addDepartment", - "summary": "Create a Department", - "description": "Create a department in any supported Ats software", + "operationId": "addPayGroup", + "summary": "Create a PayGroup", + "description": "Create a paygroup in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -12468,7 +6025,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12479,7 +6036,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedDepartmentInput" + "$ref": "#/components/schemas/UnifiedPayGroupInput" } } } @@ -12497,7 +6054,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" + "$ref": "#/components/schemas/UnifiedPayGroupOutput" } } } @@ -12511,28 +6068,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" + "$ref": "#/components/schemas/UnifiedPayGroupOutput" } } } } }, "tags": [ - "ats/department" + "hris/paygroup" ] } }, - "/ats/department/{id}": { + "/hris/paygroup/{id}": { "get": { - "operationId": "getDepartment", - "summary": "Retrieve a Department", - "description": "Retrieve a department from any connected Ats software", + "operationId": "getPayGroup", + "summary": "Retrieve a PayGroup", + "description": "Retrieve a paygroup from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the department you want to retrieve.", + "description": "id of the paygroup you want to retrieve.", "schema": { "type": "string" } @@ -12541,7 +6098,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12560,7 +6117,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" + "$ref": "#/components/schemas/UnifiedPayGroupOutput" } } } @@ -12571,19 +6128,20 @@ } }, "tags": [ - "ats/department" + "hris/paygroup" ] } }, - "/ats/department/batch": { - "post": { - "operationId": "addDepartments", - "summary": "Add a batch of Departments", + "/hris/payrollrun": { + "get": { + "operationId": "getPayrollRuns", + "summary": "List a batch of PayrollRuns", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -12592,19 +6150,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedPayrollRunOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "hris/payrollrun" + ] + }, + "post": { + "operationId": "addPayrollRun", + "summary": "Create a PayrollRun", + "description": "Create a payrollrun in any supported Hris software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -12612,10 +6212,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDepartmentInput" - } + "$ref": "#/components/schemas/UnifiedPayrollRunInput" } } } @@ -12633,7 +6230,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" + "$ref": "#/components/schemas/UnifiedPayrollRunOutput" } } } @@ -12647,30 +6244,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDepartmentOutput" - } + "$ref": "#/components/schemas/UnifiedPayrollRunOutput" } } } } }, "tags": [ - "ats/department" + "hris/payrollrun" ] } }, - "/ats/interview": { + "/hris/payrollrun/{id}": { "get": { - "operationId": "getInterviews", - "summary": "List a batch of Interviews", + "operationId": "getPayrollRun", + "summary": "Retrieve a PayrollRun", + "description": "Retrieve a payrollrun from any connected Hris software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the payrollrun you want to retrieve.", "schema": { "type": "string" } @@ -12679,7 +6274,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12698,7 +6293,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" + "$ref": "#/components/schemas/UnifiedPayrollRunOutput" } } } @@ -12709,13 +6304,14 @@ } }, "tags": [ - "ats/interview" + "hris/payrollrun" ] - }, - "post": { - "operationId": "addInterview", - "summary": "Create a Interview", - "description": "Create a interview in any supported Ats software", + } + }, + "/hris/timeoff": { + "get": { + "operationId": "getTimeoffs", + "summary": "List a batch of Timeoffs", "parameters": [ { "name": "x-connection-token", @@ -12730,22 +6326,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedInterviewInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -12759,7 +6345,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" + "$ref": "#/components/schemas/UnifiedTimeoffOutput" } } } @@ -12767,34 +6353,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" - } - } - } } }, "tags": [ - "ats/interview" + "hris/timeoff" ] - } - }, - "/ats/interview/{id}": { - "get": { - "operationId": "getInterview", - "summary": "Retrieve a Interview", - "description": "Retrieve a interview from any connected Ats software", + }, + "post": { + "operationId": "addTimeoff", + "summary": "Create a Timeoff", + "description": "Create a timeoff in any supported Hris software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the interview you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -12803,12 +6377,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedTimeoffInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -12822,7 +6406,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" + "$ref": "#/components/schemas/UnifiedTimeoffOutput" } } } @@ -12830,22 +6414,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedTimeoffOutput" + } + } + } } }, "tags": [ - "ats/interview" + "hris/timeoff" ] } }, - "/ats/interview/batch": { - "post": { - "operationId": "addInterviews", - "summary": "Add a batch of Interviews", + "/hris/timeoff/{id}": { + "get": { + "operationId": "getTimeoff", + "summary": "Retrieve a Timeoff", + "description": "Retrieve a timeoff from any connected Hris software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the timeoff you want to retrieve.", "schema": { "type": "string" } @@ -12854,34 +6450,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedInterviewInput" - } - } + "description": "Set to true to include data from the original Hris software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -12895,7 +6469,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" + "$ref": "#/components/schemas/UnifiedTimeoffOutput" } } } @@ -12903,30 +6477,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedInterviewOutput" - } - } - } - } } }, "tags": [ - "ats/interview" + "hris/timeoff" ] } }, - "/ats/jobinterviewstage": { + "/hris/timeoffbalance": { "get": { - "operationId": "getJobInterviewStages", - "summary": "List a batch of JobInterviewStages", + "operationId": "getTimeoffBalances", + "summary": "List a batch of TimeoffBalances", "parameters": [ { "name": "x-connection-token", @@ -12941,7 +6502,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -12960,7 +6521,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" } } } @@ -12971,13 +6532,13 @@ } }, "tags": [ - "ats/jobinterviewstage" + "hris/timeoffbalance" ] }, "post": { - "operationId": "addJobInterviewStage", - "summary": "Create a JobInterviewStage", - "description": "Create a jobinterviewstage in any supported Ats software", + "operationId": "addTimeoffBalance", + "summary": "Create a TimeoffBalance", + "description": "Create a timeoffbalance in any supported Hris software", "parameters": [ { "name": "x-connection-token", @@ -12992,7 +6553,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -13003,7 +6564,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageInput" + "$ref": "#/components/schemas/UnifiedTimeoffBalanceInput" } } } @@ -13021,7 +6582,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" } } } @@ -13035,28 +6596,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" } } } } }, "tags": [ - "ats/jobinterviewstage" + "hris/timeoffbalance" ] } }, - "/ats/jobinterviewstage/{id}": { + "/hris/timeoffbalance/{id}": { "get": { - "operationId": "getJobInterviewStage", - "summary": "Retrieve a JobInterviewStage", - "description": "Retrieve a jobinterviewstage from any connected Ats software", + "operationId": "getTimeoffBalance", + "summary": "Retrieve a TimeoffBalance", + "description": "Retrieve a timeoffbalance from any connected Hris software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the jobinterviewstage you want to retrieve.", + "description": "id of the timeoffbalance you want to retrieve.", "schema": { "type": "string" } @@ -13065,7 +6626,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Hris software.", "schema": { "type": "boolean" } @@ -13084,7 +6645,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + "$ref": "#/components/schemas/UnifiedTimeoffBalanceOutput" } } } @@ -13095,19 +6656,20 @@ } }, "tags": [ - "ats/jobinterviewstage" + "hris/timeoffbalance" ] } }, - "/ats/jobinterviewstage/batch": { - "post": { - "operationId": "addJobInterviewStages", - "summary": "Add a batch of JobInterviewStages", + "/marketingautomation/action": { + "get": { + "operationId": "getActions", + "summary": "List a batch of Actions", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -13116,19 +6678,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedActionOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "marketingautomation/action" + ] + }, + "post": { + "operationId": "addAction", + "summary": "Create a Action", + "description": "Create a action in any supported Marketingautomation software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -13136,10 +6740,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageInput" - } + "$ref": "#/components/schemas/UnifiedActionInput" } } } @@ -13157,7 +6758,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + "$ref": "#/components/schemas/UnifiedActionOutput" } } } @@ -13171,30 +6772,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" - } + "$ref": "#/components/schemas/UnifiedActionOutput" } } } } }, "tags": [ - "ats/jobinterviewstage" + "marketingautomation/action" ] } }, - "/ats/job": { + "/marketingautomation/action/{id}": { "get": { - "operationId": "getJobs", - "summary": "List a batch of Jobs", + "operationId": "getAction", + "summary": "Retrieve a Action", + "description": "Retrieve a action from any connected Marketingautomation software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the action you want to retrieve.", "schema": { "type": "string" } @@ -13203,7 +6802,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -13222,7 +6821,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobOutput" + "$ref": "#/components/schemas/UnifiedActionOutput" } } } @@ -13233,13 +6832,14 @@ } }, "tags": [ - "ats/job" + "marketingautomation/action" ] - }, - "post": { - "operationId": "addJob", - "summary": "Create a Job", - "description": "Create a job in any supported Ats software", + } + }, + "/marketingautomation/automation": { + "get": { + "operationId": "getAutomations", + "summary": "List a batch of Automations", "parameters": [ { "name": "x-connection-token", @@ -13254,22 +6854,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedJobInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -13283,7 +6873,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobOutput" + "$ref": "#/components/schemas/UnifiedAutomationOutput" } } } @@ -13291,34 +6881,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedJobOutput" - } - } - } } }, "tags": [ - "ats/job" + "marketingautomation/automation" ] - } - }, - "/ats/job/{id}": { - "get": { - "operationId": "getJob", - "summary": "Retrieve a Job", - "description": "Retrieve a job from any connected Ats software", + }, + "post": { + "operationId": "addAutomation", + "summary": "Create a Automation", + "description": "Create a automation in any supported Marketingautomation software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the job you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -13327,12 +6905,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedAutomationInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -13346,7 +6934,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobOutput" + "$ref": "#/components/schemas/UnifiedAutomationOutput" } } } @@ -13354,22 +6942,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedAutomationOutput" + } + } + } } }, "tags": [ - "ats/job" + "marketingautomation/automation" ] } }, - "/ats/job/batch": { - "post": { - "operationId": "addJobs", - "summary": "Add a batch of Jobs", + "/marketingautomation/automation/{id}": { + "get": { + "operationId": "getAutomation", + "summary": "Retrieve a Automation", + "description": "Retrieve a automation from any connected Marketingautomation software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the automation you want to retrieve.", "schema": { "type": "string" } @@ -13378,34 +6978,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJobInput" - } - } + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -13419,7 +6997,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJobOutput" + "$ref": "#/components/schemas/UnifiedAutomationOutput" } } } @@ -13427,30 +7005,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJobOutput" - } - } - } - } } }, "tags": [ - "ats/job" + "marketingautomation/automation" ] } }, - "/ats/offer": { + "/marketingautomation/campaign": { "get": { - "operationId": "getOffers", - "summary": "List a batch of Offers", + "operationId": "getCampaigns", + "summary": "List a batch of Campaigns", "parameters": [ { "name": "x-connection-token", @@ -13465,7 +7030,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -13484,7 +7049,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfferOutput" + "$ref": "#/components/schemas/UnifiedCampaignOutput" } } } @@ -13495,13 +7060,13 @@ } }, "tags": [ - "ats/offer" + "marketingautomation/campaign" ] }, "post": { - "operationId": "addOffer", - "summary": "Create a Offer", - "description": "Create a offer in any supported Ats software", + "operationId": "addCampaign", + "summary": "Create a Campaign", + "description": "Create a campaign in any supported Marketingautomation software", "parameters": [ { "name": "x-connection-token", @@ -13516,7 +7081,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -13527,7 +7092,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedOfferInput" + "$ref": "#/components/schemas/UnifiedCampaignInput" } } } @@ -13545,7 +7110,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfferOutput" + "$ref": "#/components/schemas/UnifiedCampaignOutput" } } } @@ -13559,28 +7124,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedOfferOutput" + "$ref": "#/components/schemas/UnifiedCampaignOutput" } } } } }, "tags": [ - "ats/offer" + "marketingautomation/campaign" ] } }, - "/ats/offer/{id}": { + "/marketingautomation/campaign/{id}": { "get": { - "operationId": "getOffer", - "summary": "Retrieve a Offer", - "description": "Retrieve a offer from any connected Ats software", + "operationId": "getCampaign", + "summary": "Retrieve a Campaign", + "description": "Retrieve a campaign from any connected Marketingautomation software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the offer you want to retrieve.", + "description": "id of the campaign you want to retrieve.", "schema": { "type": "string" } @@ -13589,7 +7154,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -13608,7 +7173,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfferOutput" + "$ref": "#/components/schemas/UnifiedCampaignOutput" } } } @@ -13619,19 +7184,20 @@ } }, "tags": [ - "ats/offer" + "marketingautomation/campaign" ] } }, - "/ats/offer/batch": { - "post": { - "operationId": "addOffers", - "summary": "Add a batch of Offers", + "/marketingautomation/contact": { + "get": { + "operationId": "getMarketingAutomationContacts", + "summary": "List a batch of Contacts", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -13640,19 +7206,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedContactOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "marketingautomation/contact" + ] + }, + "post": { + "operationId": "addMarketingAutomationContact", + "summary": "Create a Contact", + "description": "Create a contact in any supported Marketingautomation software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -13660,10 +7268,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedOfferInput" - } + "$ref": "#/components/schemas/UnifiedContactInput" } } } @@ -13681,7 +7286,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfferOutput" + "$ref": "#/components/schemas/UnifiedContactOutput" } } } @@ -13695,30 +7300,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedOfferOutput" - } + "$ref": "#/components/schemas/UnifiedContactOutput" } } } } }, "tags": [ - "ats/offer" + "marketingautomation/contact" ] } }, - "/ats/office": { + "/marketingautomation/contact/{id}": { "get": { - "operationId": "getOffices", - "summary": "List a batch of Offices", + "operationId": "getMarketingAutomationContact", + "summary": "Retrieve a Contact", + "description": "Retrieve a contact from any connected Marketingautomation software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the contact you want to retrieve.", "schema": { "type": "string" } @@ -13727,7 +7330,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -13746,7 +7349,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" + "$ref": "#/components/schemas/UnifiedContactOutput" } } } @@ -13757,13 +7360,14 @@ } }, "tags": [ - "ats/office" + "marketingautomation/contact" ] - }, - "post": { - "operationId": "addOffice", - "summary": "Create a Office", - "description": "Create a office in any supported Ats software", + } + }, + "/marketingautomation/email": { + "get": { + "operationId": "getEmails", + "summary": "List a batch of Emails", "parameters": [ { "name": "x-connection-token", @@ -13778,22 +7382,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedOfficeInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -13807,7 +7401,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" + "$ref": "#/components/schemas/UnifiedEmailOutput" } } } @@ -13815,34 +7409,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" - } - } - } } }, "tags": [ - "ats/office" + "marketingautomation/email" ] - } - }, - "/ats/office/{id}": { - "get": { - "operationId": "getOffice", - "summary": "Retrieve a Office", - "description": "Retrieve a office from any connected Ats software", + }, + "post": { + "operationId": "addEmail", + "summary": "Create a Email", + "description": "Create a email in any supported Marketingautomation software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the office you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -13851,12 +7433,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEmailInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -13870,7 +7462,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" + "$ref": "#/components/schemas/UnifiedEmailOutput" } } } @@ -13878,22 +7470,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEmailOutput" + } + } + } } }, "tags": [ - "ats/office" + "marketingautomation/email" ] } }, - "/ats/office/batch": { - "post": { - "operationId": "addOffices", - "summary": "Add a batch of Offices", + "/marketingautomation/email/{id}": { + "get": { + "operationId": "getEmail", + "summary": "Retrieve a Email", + "description": "Retrieve a email from any connected Marketingautomation software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the email you want to retrieve.", "schema": { "type": "string" } @@ -13902,34 +7506,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedOfficeInput" - } - } + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -13943,7 +7525,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" + "$ref": "#/components/schemas/UnifiedEmailOutput" } } } @@ -13951,30 +7533,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedOfficeOutput" - } - } - } - } } }, "tags": [ - "ats/office" + "marketingautomation/email" ] } }, - "/ats/rejectreason": { + "/marketingautomation/event": { "get": { - "operationId": "getRejectReasons", - "summary": "List a batch of RejectReasons", + "operationId": "getMarketingAutomationEvents", + "summary": "List a batch of Events", "parameters": [ { "name": "x-connection-token", @@ -13989,7 +7558,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14008,7 +7577,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" + "$ref": "#/components/schemas/UnifiedEventOutput" } } } @@ -14019,13 +7588,13 @@ } }, "tags": [ - "ats/rejectreason" + "marketingautomation/event" ] }, "post": { - "operationId": "addRejectReason", - "summary": "Create a RejectReason", - "description": "Create a rejectreason in any supported Ats software", + "operationId": "addEvent", + "summary": "Create a Event", + "description": "Create a event in any supported Marketingautomation software", "parameters": [ { "name": "x-connection-token", @@ -14040,7 +7609,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14051,7 +7620,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedRejectReasonInput" + "$ref": "#/components/schemas/UnifiedEventInput" } } } @@ -14069,7 +7638,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" + "$ref": "#/components/schemas/UnifiedEventOutput" } } } @@ -14083,28 +7652,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" + "$ref": "#/components/schemas/UnifiedEventOutput" } } } } }, "tags": [ - "ats/rejectreason" + "marketingautomation/event" ] } }, - "/ats/rejectreason/{id}": { + "/marketingautomation/event/{id}": { "get": { - "operationId": "getRejectReason", - "summary": "Retrieve a RejectReason", - "description": "Retrieve a rejectreason from any connected Ats software", + "operationId": "getEvent", + "summary": "Retrieve a Event", + "description": "Retrieve a event from any connected Marketingautomation software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the rejectreason you want to retrieve.", + "description": "id of the event you want to retrieve.", "schema": { "type": "string" } @@ -14113,7 +7682,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14132,7 +7701,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" + "$ref": "#/components/schemas/UnifiedEventOutput" } } } @@ -14143,19 +7712,20 @@ } }, "tags": [ - "ats/rejectreason" + "marketingautomation/event" ] } }, - "/ats/rejectreason/batch": { - "post": { - "operationId": "addRejectReasons", - "summary": "Add a batch of RejectReasons", + "/marketingautomation/list": { + "get": { + "operationId": "getLists", + "summary": "List a batch of Lists", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -14164,19 +7734,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedListOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "marketingautomation/list" + ] + }, + "post": { + "operationId": "addList", + "summary": "Create a List", + "description": "Create a list in any supported Marketingautomation software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -14184,10 +7796,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedRejectReasonInput" - } + "$ref": "#/components/schemas/UnifiedListInput" } } } @@ -14205,7 +7814,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" + "$ref": "#/components/schemas/UnifiedListOutput" } } } @@ -14219,30 +7828,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedRejectReasonOutput" - } + "$ref": "#/components/schemas/UnifiedListOutput" } } } } }, "tags": [ - "ats/rejectreason" + "marketingautomation/list" ] } }, - "/ats/scorecard": { + "/marketingautomation/list/{id}": { "get": { - "operationId": "getScoreCards", - "summary": "List a batch of ScoreCards", + "operationId": "getList", + "summary": "Retrieve a List", + "description": "Retrieve a list from any connected Marketingautomation software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the list you want to retrieve.", "schema": { "type": "string" } @@ -14251,7 +7858,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14270,7 +7877,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" + "$ref": "#/components/schemas/UnifiedListOutput" } } } @@ -14281,13 +7888,14 @@ } }, "tags": [ - "ats/scorecard" + "marketingautomation/list" ] - }, - "post": { - "operationId": "addScoreCard", - "summary": "Create a ScoreCard", - "description": "Create a scorecard in any supported Ats software", + } + }, + "/marketingautomation/message": { + "get": { + "operationId": "getMessages", + "summary": "List a batch of Messages", "parameters": [ { "name": "x-connection-token", @@ -14302,22 +7910,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedScoreCardInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -14331,7 +7929,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" + "$ref": "#/components/schemas/UnifiedMessageOutput" } } } @@ -14339,34 +7937,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" - } - } - } } }, "tags": [ - "ats/scorecard" + "marketingautomation/message" ] - } - }, - "/ats/scorecard/{id}": { - "get": { - "operationId": "getScoreCard", - "summary": "Retrieve a ScoreCard", - "description": "Retrieve a scorecard from any connected Ats software", + }, + "post": { + "operationId": "addMessage", + "summary": "Create a Message", + "description": "Create a message in any supported Marketingautomation software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the scorecard you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -14375,12 +7961,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedMessageInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -14394,7 +7990,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" + "$ref": "#/components/schemas/UnifiedMessageOutput" } } } @@ -14402,22 +7998,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedMessageOutput" + } + } + } } }, "tags": [ - "ats/scorecard" + "marketingautomation/message" ] } }, - "/ats/scorecard/batch": { - "post": { - "operationId": "addScoreCards", - "summary": "Add a batch of ScoreCards", + "/marketingautomation/message/{id}": { + "get": { + "operationId": "getMessage", + "summary": "Retrieve a Message", + "description": "Retrieve a message from any connected Marketingautomation software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the message you want to retrieve.", "schema": { "type": "string" } @@ -14426,34 +8034,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedScoreCardInput" - } - } + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -14467,7 +8053,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" + "$ref": "#/components/schemas/UnifiedMessageOutput" } } } @@ -14475,30 +8061,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedScoreCardOutput" - } - } - } - } } }, "tags": [ - "ats/scorecard" + "marketingautomation/message" ] } }, - "/ats/screeningquestion": { + "/marketingautomation/template": { "get": { - "operationId": "getScreeningQuestions", - "summary": "List a batch of ScreeningQuestions", + "operationId": "getTemplates", + "summary": "List a batch of Templates", "parameters": [ { "name": "x-connection-token", @@ -14513,7 +8086,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14532,7 +8105,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + "$ref": "#/components/schemas/UnifiedTemplateOutput" } } } @@ -14543,13 +8116,13 @@ } }, "tags": [ - "ats/screeningquestion" + "marketingautomation/template" ] }, "post": { - "operationId": "addScreeningQuestion", - "summary": "Create a ScreeningQuestion", - "description": "Create a screeningquestion in any supported Ats software", + "operationId": "addTemplate", + "summary": "Create a Template", + "description": "Create a template in any supported Marketingautomation software", "parameters": [ { "name": "x-connection-token", @@ -14564,7 +8137,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14575,7 +8148,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionInput" + "$ref": "#/components/schemas/UnifiedTemplateInput" } } } @@ -14593,7 +8166,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + "$ref": "#/components/schemas/UnifiedTemplateOutput" } } } @@ -14607,28 +8180,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + "$ref": "#/components/schemas/UnifiedTemplateOutput" } } } } }, "tags": [ - "ats/screeningquestion" + "marketingautomation/template" ] } }, - "/ats/screeningquestion/{id}": { + "/marketingautomation/template/{id}": { "get": { - "operationId": "getScreeningQuestion", - "summary": "Retrieve a ScreeningQuestion", - "description": "Retrieve a screeningquestion from any connected Ats software", + "operationId": "getTemplate", + "summary": "Retrieve a Template", + "description": "Retrieve a template from any connected Marketingautomation software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the screeningquestion you want to retrieve.", + "description": "id of the template you want to retrieve.", "schema": { "type": "string" } @@ -14637,7 +8210,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14656,7 +8229,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + "$ref": "#/components/schemas/UnifiedTemplateOutput" } } } @@ -14667,19 +8240,20 @@ } }, "tags": [ - "ats/screeningquestion" + "marketingautomation/template" ] } }, - "/ats/screeningquestion/batch": { - "post": { - "operationId": "addScreeningQuestions", - "summary": "Add a batch of ScreeningQuestions", + "/marketingautomation/user": { + "get": { + "operationId": "getMarketingAutomationUsers", + "summary": "List a batch of Users", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -14688,19 +8262,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedUserOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "marketingautomation/user" + ] + }, + "post": { + "operationId": "addMarketingAutomationUser", + "summary": "Create a User", + "description": "Create a user in any supported Marketingautomation software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Marketingautomation software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -14708,10 +8324,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionInput" - } + "$ref": "#/components/schemas/UnifiedUserInput" } } } @@ -14729,7 +8342,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + "$ref": "#/components/schemas/UnifiedUserOutput" } } } @@ -14743,30 +8356,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" - } + "$ref": "#/components/schemas/UnifiedUserOutput" } } } } }, "tags": [ - "ats/screeningquestion" + "marketingautomation/user" ] } }, - "/ats/tag": { + "/marketingautomation/user/{id}": { "get": { - "operationId": "getAtsTags", - "summary": "List a batch of Tags", + "operationId": "getMarketingAutomationUser", + "summary": "Retrieve a User", + "description": "Retrieve a user from any connected Marketingautomation software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the user you want to retrieve.", "schema": { "type": "string" } @@ -14775,7 +8386,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Ats software.", + "description": "Set to true to include data from the original Marketingautomation software.", "schema": { "type": "boolean" } @@ -14794,7 +8405,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" + "$ref": "#/components/schemas/UnifiedUserOutput" } } } @@ -14805,13 +8416,14 @@ } }, "tags": [ - "ats/tag" + "marketingautomation/user" ] - }, - "post": { - "operationId": "addTag", - "summary": "Create a Tag", - "description": "Create a tag in any supported Ats software", + } + }, + "/ats/activity": { + "get": { + "operationId": "getActivitys", + "summary": "List a batch of Activitys", "parameters": [ { "name": "x-connection-token", @@ -14832,16 +8444,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTagInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -14855,7 +8457,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" + "$ref": "#/components/schemas/UnifiedActivityOutput" } } } @@ -14863,34 +8465,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTagOutput" - } - } - } } }, "tags": [ - "ats/tag" + "ats/activity" ] - } - }, - "/ats/tag/{id}": { - "get": { - "operationId": "getAtsTag", - "summary": "Retrieve a Tag", - "description": "Retrieve a tag from any connected Ats software", + }, + "post": { + "operationId": "addActivity", + "summary": "Create a Activity", + "description": "Create a activity in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the tag you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -14905,6 +8495,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedActivityInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -14918,7 +8518,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" + "$ref": "#/components/schemas/UnifiedActivityOutput" } } } @@ -14926,58 +8526,48 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedActivityOutput" + } + } + } } }, "tags": [ - "ats/tag" + "ats/activity" ] } }, - "/ats/tag/batch": { - "post": { - "operationId": "addTags", - "summary": "Add a batch of Tags", + "/ats/activity/{id}": { + "get": { + "operationId": "getActivity", + "summary": "Retrieve a Activity", + "description": "Retrieve a activity from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the activity you want to retrieve.", "schema": { "type": "string" } }, - { - "name": "remote_data", - "required": false, - "in": "query", - "description": "Set to true to include data from the original Ats software.", - "schema": { - "type": "boolean" - } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTagInput" - } - } + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" } } - }, + ], "responses": { "200": { "description": "", @@ -14991,7 +8581,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTagOutput" + "$ref": "#/components/schemas/UnifiedActivityOutput" } } } @@ -14999,30 +8589,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTagOutput" - } - } - } - } } }, "tags": [ - "ats/tag" + "ats/activity" ] } }, - "/ats/user": { + "/ats/application": { "get": { - "operationId": "getAtsUsers", - "summary": "List a batch of Users", + "operationId": "getApplications", + "summary": "List a batch of Applications", "parameters": [ { "name": "x-connection-token", @@ -15056,7 +8633,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedApplicationOutput" } } } @@ -15067,13 +8644,13 @@ } }, "tags": [ - "ats/user" + "ats/application" ] }, "post": { - "operationId": "addAtsUser", - "summary": "Create a User", - "description": "Create a user in any supported Ats software", + "operationId": "addApplication", + "summary": "Create a Application", + "description": "Create a application in any supported Ats software", "parameters": [ { "name": "x-connection-token", @@ -15099,7 +8676,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedUserInput" + "$ref": "#/components/schemas/UnifiedApplicationInput" } } } @@ -15117,7 +8694,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedApplicationOutput" } } } @@ -15131,28 +8708,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedApplicationOutput" } } } } }, "tags": [ - "ats/user" + "ats/application" ] } }, - "/ats/user/{id}": { + "/ats/application/{id}": { "get": { - "operationId": "getAtsUser", - "summary": "Retrieve a User", - "description": "Retrieve a user from any connected Ats software", + "operationId": "getApplication", + "summary": "Retrieve a Application", + "description": "Retrieve a application from any connected Ats software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the user you want to retrieve.", + "description": "id of the application you want to retrieve.", "schema": { "type": "string" } @@ -15180,7 +8757,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedApplicationOutput" } } } @@ -15191,19 +8768,20 @@ } }, "tags": [ - "ats/user" + "ats/application" ] } }, - "/ats/user/batch": { - "post": { - "operationId": "addAtsUsers", - "summary": "Add a batch of Users", + "/ats/attachment": { + "get": { + "operationId": "getAtsAttachments", + "summary": "List a batch of Attachments", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -15216,15 +8794,57 @@ "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedAttachmentOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "ats/attachment" + ] + }, + "post": { + "operationId": "addAtsAttachment", + "summary": "Create a Attachment", + "description": "Create a attachment in any supported Ats software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -15232,10 +8852,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedUserInput" - } + "$ref": "#/components/schemas/UnifiedAttachmentInput" } } } @@ -15253,7 +8870,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedUserOutput" + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } @@ -15267,30 +8884,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedUserOutput" - } + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } } }, "tags": [ - "ats/user" + "ats/attachment" ] } }, - "/ats/eeocs": { + "/ats/attachment/{id}": { "get": { - "operationId": "getEeocss", - "summary": "List a batch of Eeocss", + "operationId": "getAtsAttachment", + "summary": "Retrieve a Attachment", + "description": "Retrieve a attachment from any connected Ats software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the attachment you want to retrieve.", "schema": { "type": "string" } @@ -15318,7 +8933,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } @@ -15329,13 +8944,14 @@ } }, "tags": [ - "ats/eeocs" + "ats/attachment" ] - }, - "post": { - "operationId": "addEeocs", - "summary": "Create a Eeocs", - "description": "Create a eeocs in any supported Ats software", + } + }, + "/ats/candidate": { + "get": { + "operationId": "getCandidates", + "summary": "List a batch of Candidates", "parameters": [ { "name": "x-connection-token", @@ -15356,16 +8972,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEeocsInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -15379,7 +8985,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" + "$ref": "#/components/schemas/UnifiedCandidateOutput" } } } @@ -15387,34 +8993,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" - } - } - } } }, "tags": [ - "ats/eeocs" + "ats/candidate" ] - } - }, - "/ats/eeocs/{id}": { - "get": { - "operationId": "getEeocs", - "summary": "Retrieve a Eeocs", - "description": "Retrieve a eeocs from any connected Ats software", + }, + "post": { + "operationId": "addCandidate", + "summary": "Create a Candidate", + "description": "Create a candidate in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the eeocs you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -15429,6 +9023,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedCandidateInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -15442,7 +9046,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" + "$ref": "#/components/schemas/UnifiedCandidateOutput" } } } @@ -15450,22 +9054,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedCandidateOutput" + } + } + } } }, "tags": [ - "ats/eeocs" + "ats/candidate" ] } }, - "/ats/eeocs/batch": { - "post": { - "operationId": "addEeocss", - "summary": "Add a batch of Eeocss", + "/ats/candidate/{id}": { + "get": { + "operationId": "getCandidate", + "summary": "Retrieve a Candidate", + "description": "Retrieve a candidate from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the candidate you want to retrieve.", "schema": { "type": "string" } @@ -15478,30 +9094,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEeocsInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -15515,38 +9109,25 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" + "$ref": "#/components/schemas/UnifiedCandidateOutput" } } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedEeocsOutput" - } + } + ] } } } } }, "tags": [ - "ats/eeocs" + "ats/candidate" ] } }, - "/accounting/account": { + "/ats/department": { "get": { - "operationId": "getAccountingAccounts", - "summary": "List a batch of Accounts", + "operationId": "getDepartments", + "summary": "List a batch of Departments", "parameters": [ { "name": "x-connection-token", @@ -15561,7 +9142,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -15580,7 +9161,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAccountOutput" + "$ref": "#/components/schemas/UnifiedDepartmentOutput" } } } @@ -15591,13 +9172,13 @@ } }, "tags": [ - "accounting/account" + "ats/department" ] }, "post": { - "operationId": "addAccount", - "summary": "Create a Account", - "description": "Create a account in any supported Accounting software", + "operationId": "addDepartment", + "summary": "Create a Department", + "description": "Create a department in any supported Ats software", "parameters": [ { "name": "x-connection-token", @@ -15612,7 +9193,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -15623,7 +9204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAccountInput" + "$ref": "#/components/schemas/UnifiedDepartmentInput" } } } @@ -15641,7 +9222,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAccountOutput" + "$ref": "#/components/schemas/UnifiedDepartmentOutput" } } } @@ -15655,28 +9236,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAccountOutput" + "$ref": "#/components/schemas/UnifiedDepartmentOutput" } } } } }, "tags": [ - "accounting/account" + "ats/department" ] } }, - "/accounting/account/{id}": { + "/ats/department/{id}": { "get": { - "operationId": "getAccountingAccount", - "summary": "Retrieve a Account", - "description": "Retrieve a account from any connected Accounting software", + "operationId": "getDepartment", + "summary": "Retrieve a Department", + "description": "Retrieve a department from any connected Ats software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the account you want to retrieve.", + "description": "id of the department you want to retrieve.", "schema": { "type": "string" } @@ -15685,7 +9266,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -15704,7 +9285,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAccountOutput" + "$ref": "#/components/schemas/UnifiedDepartmentOutput" } } } @@ -15715,19 +9296,20 @@ } }, "tags": [ - "accounting/account" + "ats/department" ] } }, - "/accounting/account/batch": { - "post": { - "operationId": "addAccounts", - "summary": "Add a batch of Accounts", + "/ats/interview": { + "get": { + "operationId": "getInterviews", + "summary": "List a batch of Interviews", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -15736,19 +9318,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedInterviewOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "ats/interview" + ] + }, + "post": { + "operationId": "addInterview", + "summary": "Create a Interview", + "description": "Create a interview in any supported Ats software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -15756,10 +9380,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAccountInput" - } + "$ref": "#/components/schemas/UnifiedInterviewInput" } } } @@ -15777,7 +9398,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAccountOutput" + "$ref": "#/components/schemas/UnifiedInterviewOutput" } } } @@ -15791,30 +9412,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAccountOutput" - } + "$ref": "#/components/schemas/UnifiedInterviewOutput" } } } } }, "tags": [ - "accounting/account" + "ats/interview" ] } }, - "/accounting/address": { + "/ats/interview/{id}": { "get": { - "operationId": "getAddresss", - "summary": "List a batch of Addresss", + "operationId": "getInterview", + "summary": "Retrieve a Interview", + "description": "Retrieve a interview from any connected Ats software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the interview you want to retrieve.", "schema": { "type": "string" } @@ -15823,7 +9442,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -15842,7 +9461,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAddressOutput" + "$ref": "#/components/schemas/UnifiedInterviewOutput" } } } @@ -15853,13 +9472,14 @@ } }, "tags": [ - "accounting/address" + "ats/interview" ] - }, - "post": { - "operationId": "addAddress", - "summary": "Create a Address", - "description": "Create a address in any supported Accounting software", + } + }, + "/ats/jobinterviewstage": { + "get": { + "operationId": "getJobInterviewStages", + "summary": "List a batch of JobInterviewStages", "parameters": [ { "name": "x-connection-token", @@ -15874,22 +9494,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedAddressInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -15903,7 +9513,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAddressOutput" + "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" } } } @@ -15911,34 +9521,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedAddressOutput" - } - } - } } }, "tags": [ - "accounting/address" + "ats/jobinterviewstage" ] - } - }, - "/accounting/address/{id}": { - "get": { - "operationId": "getAddress", - "summary": "Retrieve a Address", - "description": "Retrieve a address from any connected Accounting software", + }, + "post": { + "operationId": "addJobInterviewStage", + "summary": "Create a JobInterviewStage", + "description": "Create a jobinterviewstage in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the address you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -15947,12 +9545,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedJobInterviewStageInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -15966,7 +9574,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAddressOutput" + "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" } } } @@ -15974,22 +9582,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + } + } + } } }, "tags": [ - "accounting/address" + "ats/jobinterviewstage" ] } }, - "/accounting/address/batch": { - "post": { - "operationId": "addAddresss", - "summary": "Add a batch of Addresss", + "/ats/jobinterviewstage/{id}": { + "get": { + "operationId": "getJobInterviewStage", + "summary": "Retrieve a JobInterviewStage", + "description": "Retrieve a jobinterviewstage from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the jobinterviewstage you want to retrieve.", "schema": { "type": "string" } @@ -15998,34 +9618,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAddressInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -16039,38 +9637,25 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAddressOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAddressOutput" - } + "$ref": "#/components/schemas/UnifiedJobInterviewStageOutput" + } + } + } + ] } } } } }, "tags": [ - "accounting/address" + "ats/jobinterviewstage" ] } }, - "/accounting/attachment": { + "/ats/job": { "get": { - "operationId": "getAccountingAttachments", - "summary": "List a batch of Attachments", + "operationId": "getJobs", + "summary": "List a batch of Jobs", "parameters": [ { "name": "x-connection-token", @@ -16085,7 +9670,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16104,7 +9689,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedJobOutput" } } } @@ -16115,13 +9700,13 @@ } }, "tags": [ - "accounting/attachment" + "ats/job" ] }, "post": { - "operationId": "addAccountingAttachment", - "summary": "Create a Attachment", - "description": "Create a attachment in any supported Accounting software", + "operationId": "addJob", + "summary": "Create a Job", + "description": "Create a job in any supported Ats software", "parameters": [ { "name": "x-connection-token", @@ -16136,7 +9721,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16147,7 +9732,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAttachmentInput" + "$ref": "#/components/schemas/UnifiedJobInput" } } } @@ -16165,7 +9750,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedJobOutput" } } } @@ -16179,28 +9764,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedJobOutput" } } } } }, "tags": [ - "accounting/attachment" + "ats/job" ] } }, - "/accounting/attachment/{id}": { + "/ats/job/{id}": { "get": { - "operationId": "getAccountingAttachment", - "summary": "Retrieve a Attachment", - "description": "Retrieve a attachment from any connected Accounting software", + "operationId": "getJob", + "summary": "Retrieve a Job", + "description": "Retrieve a job from any connected Ats software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the attachment you want to retrieve.", + "description": "id of the job you want to retrieve.", "schema": { "type": "string" } @@ -16209,7 +9794,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16228,7 +9813,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedJobOutput" } } } @@ -16239,19 +9824,20 @@ } }, "tags": [ - "accounting/attachment" + "ats/job" ] } }, - "/accounting/attachment/batch": { - "post": { - "operationId": "addAccountingAttachments", - "summary": "Add a batch of Attachments", + "/ats/offer": { + "get": { + "operationId": "getOffers", + "summary": "List a batch of Offers", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -16260,19 +9846,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedOfferOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "ats/offer" + ] + }, + "post": { + "operationId": "addOffer", + "summary": "Create a Offer", + "description": "Create a offer in any supported Ats software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -16280,10 +9908,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentInput" - } + "$ref": "#/components/schemas/UnifiedOfferInput" } } } @@ -16301,7 +9926,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" + "$ref": "#/components/schemas/UnifiedOfferOutput" } } } @@ -16315,30 +9940,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" - } + "$ref": "#/components/schemas/UnifiedOfferOutput" } } } } }, "tags": [ - "accounting/attachment" + "ats/offer" ] } }, - "/accounting/balancesheet": { + "/ats/offer/{id}": { "get": { - "operationId": "getBalanceSheets", - "summary": "List a batch of BalanceSheets", + "operationId": "getOffer", + "summary": "Retrieve a Offer", + "description": "Retrieve a offer from any connected Ats software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the offer you want to retrieve.", "schema": { "type": "string" } @@ -16347,7 +9970,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16366,7 +9989,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" + "$ref": "#/components/schemas/UnifiedOfferOutput" } } } @@ -16377,13 +10000,14 @@ } }, "tags": [ - "accounting/balancesheet" + "ats/offer" ] - }, - "post": { - "operationId": "addBalanceSheet", - "summary": "Create a BalanceSheet", - "description": "Create a balancesheet in any supported Accounting software", + } + }, + "/ats/office": { + "get": { + "operationId": "getOffices", + "summary": "List a batch of Offices", "parameters": [ { "name": "x-connection-token", @@ -16398,22 +10022,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBalanceSheetInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -16427,7 +10041,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" + "$ref": "#/components/schemas/UnifiedOfficeOutput" } } } @@ -16435,34 +10049,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" - } - } - } } }, "tags": [ - "accounting/balancesheet" + "ats/office" ] - } - }, - "/accounting/balancesheet/{id}": { - "get": { - "operationId": "getBalanceSheet", - "summary": "Retrieve a BalanceSheet", - "description": "Retrieve a balancesheet from any connected Accounting software", + }, + "post": { + "operationId": "addOffice", + "summary": "Create a Office", + "description": "Create a office in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the balancesheet you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -16471,12 +10073,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedOfficeInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -16490,7 +10102,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" + "$ref": "#/components/schemas/UnifiedOfficeOutput" } } } @@ -16498,22 +10110,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedOfficeOutput" + } + } + } } }, "tags": [ - "accounting/balancesheet" + "ats/office" ] } }, - "/accounting/balancesheet/batch": { - "post": { - "operationId": "addBalanceSheets", - "summary": "Add a batch of BalanceSheets", + "/ats/office/{id}": { + "get": { + "operationId": "getOffice", + "summary": "Retrieve a Office", + "description": "Retrieve a office from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the office you want to retrieve.", "schema": { "type": "string" } @@ -16522,34 +10146,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBalanceSheetInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -16563,38 +10165,25 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" + "$ref": "#/components/schemas/UnifiedOfficeOutput" } } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" - } + } + ] } } } } }, "tags": [ - "accounting/balancesheet" + "ats/office" ] } }, - "/accounting/cashflowstatement": { + "/ats/rejectreason": { "get": { - "operationId": "getCashflowStatements", - "summary": "List a batch of CashflowStatements", + "operationId": "getRejectReasons", + "summary": "List a batch of RejectReasons", "parameters": [ { "name": "x-connection-token", @@ -16609,7 +10198,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16628,7 +10217,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" + "$ref": "#/components/schemas/UnifiedRejectReasonOutput" } } } @@ -16639,13 +10228,13 @@ } }, "tags": [ - "accounting/cashflowstatement" + "ats/rejectreason" ] }, "post": { - "operationId": "addCashflowStatement", - "summary": "Create a CashflowStatement", - "description": "Create a cashflowstatement in any supported Accounting software", + "operationId": "addRejectReason", + "summary": "Create a RejectReason", + "description": "Create a rejectreason in any supported Ats software", "parameters": [ { "name": "x-connection-token", @@ -16660,7 +10249,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16671,7 +10260,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedCashflowStatementInput" + "$ref": "#/components/schemas/UnifiedRejectReasonInput" } } } @@ -16689,7 +10278,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" + "$ref": "#/components/schemas/UnifiedRejectReasonOutput" } } } @@ -16703,28 +10292,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" + "$ref": "#/components/schemas/UnifiedRejectReasonOutput" } } } } }, "tags": [ - "accounting/cashflowstatement" + "ats/rejectreason" ] } }, - "/accounting/cashflowstatement/{id}": { + "/ats/rejectreason/{id}": { "get": { - "operationId": "getCashflowStatement", - "summary": "Retrieve a CashflowStatement", - "description": "Retrieve a cashflowstatement from any connected Accounting software", + "operationId": "getRejectReason", + "summary": "Retrieve a RejectReason", + "description": "Retrieve a rejectreason from any connected Ats software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the cashflowstatement you want to retrieve.", + "description": "id of the rejectreason you want to retrieve.", "schema": { "type": "string" } @@ -16733,7 +10322,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16752,7 +10341,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" + "$ref": "#/components/schemas/UnifiedRejectReasonOutput" } } } @@ -16763,19 +10352,20 @@ } }, "tags": [ - "accounting/cashflowstatement" + "ats/rejectreason" ] } }, - "/accounting/cashflowstatement/batch": { - "post": { - "operationId": "addCashflowStatements", - "summary": "Add a batch of CashflowStatements", + "/ats/scorecard": { + "get": { + "operationId": "getScoreCards", + "summary": "List a batch of ScoreCards", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -16784,19 +10374,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedScoreCardOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "ats/scorecard" + ] + }, + "post": { + "operationId": "addScoreCard", + "summary": "Create a ScoreCard", + "description": "Create a scorecard in any supported Ats software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -16804,10 +10436,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCashflowStatementInput" - } + "$ref": "#/components/schemas/UnifiedScoreCardInput" } } } @@ -16825,7 +10454,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" + "$ref": "#/components/schemas/UnifiedScoreCardOutput" } } } @@ -16839,30 +10468,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" - } + "$ref": "#/components/schemas/UnifiedScoreCardOutput" } } } } }, "tags": [ - "accounting/cashflowstatement" + "ats/scorecard" ] } }, - "/accounting/companyinfo": { + "/ats/scorecard/{id}": { "get": { - "operationId": "getCompanyInfos", - "summary": "List a batch of CompanyInfos", + "operationId": "getScoreCard", + "summary": "Retrieve a ScoreCard", + "description": "Retrieve a scorecard from any connected Ats software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the scorecard you want to retrieve.", "schema": { "type": "string" } @@ -16871,7 +10498,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -16890,7 +10517,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" + "$ref": "#/components/schemas/UnifiedScoreCardOutput" } } } @@ -16901,13 +10528,14 @@ } }, "tags": [ - "accounting/companyinfo" + "ats/scorecard" ] - }, - "post": { - "operationId": "addCompanyInfo", - "summary": "Create a CompanyInfo", - "description": "Create a companyinfo in any supported Accounting software", + } + }, + "/ats/screeningquestion": { + "get": { + "operationId": "getScreeningQuestions", + "summary": "List a batch of ScreeningQuestions", "parameters": [ { "name": "x-connection-token", @@ -16922,22 +10550,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCompanyInfoInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -16951,7 +10569,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" + "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" } } } @@ -16959,34 +10577,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" - } - } - } } }, "tags": [ - "accounting/companyinfo" + "ats/screeningquestion" ] - } - }, - "/accounting/companyinfo/{id}": { - "get": { - "operationId": "getCompanyInfo", - "summary": "Retrieve a CompanyInfo", - "description": "Retrieve a companyinfo from any connected Accounting software", + }, + "post": { + "operationId": "addScreeningQuestion", + "summary": "Create a ScreeningQuestion", + "description": "Create a screeningquestion in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the companyinfo you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -16995,12 +10601,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedScreeningQuestionInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -17014,7 +10630,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" + "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" } } } @@ -17022,22 +10638,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" + } + } + } } }, "tags": [ - "accounting/companyinfo" + "ats/screeningquestion" ] } }, - "/accounting/companyinfo/batch": { - "post": { - "operationId": "addCompanyInfos", - "summary": "Add a batch of CompanyInfos", + "/ats/screeningquestion/{id}": { + "get": { + "operationId": "getScreeningQuestion", + "summary": "Retrieve a ScreeningQuestion", + "description": "Retrieve a screeningquestion from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the screeningquestion you want to retrieve.", "schema": { "type": "string" } @@ -17046,34 +10674,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyInfoInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -17087,7 +10693,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" + "$ref": "#/components/schemas/UnifiedScreeningQuestionOutput" } } } @@ -17095,30 +10701,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" - } - } - } - } } }, "tags": [ - "accounting/companyinfo" + "ats/screeningquestion" ] } }, - "/accounting/contact": { + "/ats/tag": { "get": { - "operationId": "getAccountingContacts", - "summary": "List a batch of Contacts", + "operationId": "getAtsTags", + "summary": "List a batch of Tags", "parameters": [ { "name": "x-connection-token", @@ -17133,7 +10726,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -17152,7 +10745,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } @@ -17163,13 +10756,13 @@ } }, "tags": [ - "accounting/contact" + "ats/tag" ] }, "post": { - "operationId": "addAccountingContact", - "summary": "Create a Contact", - "description": "Create a contact in any supported Accounting software", + "operationId": "addTag", + "summary": "Create a Tag", + "description": "Create a tag in any supported Ats software", "parameters": [ { "name": "x-connection-token", @@ -17184,7 +10777,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -17195,7 +10788,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedContactInput" + "$ref": "#/components/schemas/UnifiedTagInput" } } } @@ -17213,7 +10806,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } @@ -17227,28 +10820,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedContactOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } } }, "tags": [ - "accounting/contact" + "ats/tag" ] } }, - "/accounting/contact/{id}": { + "/ats/tag/{id}": { "get": { - "operationId": "getAccountingContact", - "summary": "Retrieve a Contact", - "description": "Retrieve a contact from any connected Accounting software", + "operationId": "getAtsTag", + "summary": "Retrieve a Tag", + "description": "Retrieve a tag from any connected Ats software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the contact you want to retrieve.", + "description": "id of the tag you want to retrieve.", "schema": { "type": "string" } @@ -17257,7 +10850,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -17276,7 +10869,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" + "$ref": "#/components/schemas/UnifiedTagOutput" } } } @@ -17287,19 +10880,20 @@ } }, "tags": [ - "accounting/contact" + "ats/tag" ] } }, - "/accounting/contact/batch": { - "post": { - "operationId": "addAccountingContacts", - "summary": "Add a batch of Contacts", + "/ats/user": { + "get": { + "operationId": "getAtsUsers", + "summary": "List a batch of Users", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -17308,19 +10902,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedUserOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "ats/user" + ] + }, + "post": { + "operationId": "addAtsUser", + "summary": "Create a User", + "description": "Create a user in any supported Ats software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Ats software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -17328,10 +10964,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactInput" - } + "$ref": "#/components/schemas/UnifiedUserInput" } } } @@ -17349,7 +10982,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedContactOutput" + "$ref": "#/components/schemas/UnifiedUserOutput" } } } @@ -17363,30 +10996,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedContactOutput" - } + "$ref": "#/components/schemas/UnifiedUserOutput" } } } } }, "tags": [ - "accounting/contact" + "ats/user" ] } }, - "/accounting/creditnote": { + "/ats/user/{id}": { "get": { - "operationId": "getCreditNotes", - "summary": "List a batch of CreditNotes", + "operationId": "getAtsUser", + "summary": "Retrieve a User", + "description": "Retrieve a user from any connected Ats software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the user you want to retrieve.", "schema": { "type": "string" } @@ -17395,7 +11026,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } @@ -17414,7 +11045,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" + "$ref": "#/components/schemas/UnifiedUserOutput" } } } @@ -17425,13 +11056,14 @@ } }, "tags": [ - "accounting/creditnote" + "ats/user" ] - }, - "post": { - "operationId": "addCreditNote", - "summary": "Create a CreditNote", - "description": "Create a creditnote in any supported Accounting software", + } + }, + "/ats/eeocs": { + "get": { + "operationId": "getEeocss", + "summary": "List a batch of Eeocss", "parameters": [ { "name": "x-connection-token", @@ -17446,22 +11078,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCreditNoteInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -17475,7 +11097,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" + "$ref": "#/components/schemas/UnifiedEeocsOutput" } } } @@ -17483,34 +11105,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" - } - } - } } }, "tags": [ - "accounting/creditnote" + "ats/eeocs" ] - } - }, - "/accounting/creditnote/{id}": { - "get": { - "operationId": "getCreditNote", - "summary": "Retrieve a CreditNote", - "description": "Retrieve a creditnote from any connected Accounting software", + }, + "post": { + "operationId": "addEeocs", + "summary": "Create a Eeocs", + "description": "Create a eeocs in any supported Ats software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the creditnote you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -17519,12 +11129,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEeocsInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -17538,7 +11158,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" + "$ref": "#/components/schemas/UnifiedEeocsOutput" } } } @@ -17546,22 +11166,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedEeocsOutput" + } + } + } } }, "tags": [ - "accounting/creditnote" + "ats/eeocs" ] } }, - "/accounting/creditnote/batch": { - "post": { - "operationId": "addCreditNotes", - "summary": "Add a batch of CreditNotes", + "/ats/eeocs/{id}": { + "get": { + "operationId": "getEeocs", + "summary": "Retrieve a Eeocs", + "description": "Retrieve a eeocs from any connected Ats software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the eeocs you want to retrieve.", "schema": { "type": "string" } @@ -17570,34 +11202,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Accounting software.", + "description": "Set to true to include data from the original Ats software.", "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCreditNoteInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -17611,7 +11221,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" + "$ref": "#/components/schemas/UnifiedEeocsOutput" } } } @@ -17619,30 +11229,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedCreditNoteOutput" - } - } - } - } } }, "tags": [ - "accounting/creditnote" + "ats/eeocs" ] } }, - "/accounting/expense": { + "/accounting/account": { "get": { - "operationId": "getExpenses", - "summary": "List a batch of Expenses", + "operationId": "getAccountingAccounts", + "summary": "List a batch of Accounts", "parameters": [ { "name": "x-connection-token", @@ -17676,7 +11273,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" + "$ref": "#/components/schemas/UnifiedAccountOutput" } } } @@ -17687,13 +11284,13 @@ } }, "tags": [ - "accounting/expense" + "accounting/account" ] }, "post": { - "operationId": "addExpense", - "summary": "Create a Expense", - "description": "Create a expense in any supported Accounting software", + "operationId": "addAccount", + "summary": "Create a Account", + "description": "Create a account in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -17719,7 +11316,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedExpenseInput" + "$ref": "#/components/schemas/UnifiedAccountInput" } } } @@ -17737,7 +11334,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" + "$ref": "#/components/schemas/UnifiedAccountOutput" } } } @@ -17751,28 +11348,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" + "$ref": "#/components/schemas/UnifiedAccountOutput" } } } } }, "tags": [ - "accounting/expense" + "accounting/account" ] } }, - "/accounting/expense/{id}": { + "/accounting/account/{id}": { "get": { - "operationId": "getExpense", - "summary": "Retrieve a Expense", - "description": "Retrieve a expense from any connected Accounting software", + "operationId": "getAccountingAccount", + "summary": "Retrieve a Account", + "description": "Retrieve a account from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the expense you want to retrieve.", + "description": "id of the account you want to retrieve.", "schema": { "type": "string" } @@ -17800,7 +11397,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" + "$ref": "#/components/schemas/UnifiedAccountOutput" } } } @@ -17811,19 +11408,20 @@ } }, "tags": [ - "accounting/expense" + "accounting/account" ] } }, - "/accounting/expense/batch": { - "post": { - "operationId": "addExpenses", - "summary": "Add a batch of Expenses", + "/accounting/address": { + "get": { + "operationId": "getAddresss", + "summary": "List a batch of Addresss", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -17836,30 +11434,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedExpenseInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -17873,7 +11449,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" + "$ref": "#/components/schemas/UnifiedAddressOutput" } } } @@ -17881,30 +11457,16 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedExpenseOutput" - } - } - } - } } }, "tags": [ - "accounting/expense" + "accounting/address" ] - } - }, - "/accounting/incomestatement": { - "get": { - "operationId": "getIncomeStatements", - "summary": "List a batch of IncomeStatements", + }, + "post": { + "operationId": "addAddress", + "summary": "Create a Address", + "description": "Create a address in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -17925,6 +11487,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedAddressInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -17938,7 +11510,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" + "$ref": "#/components/schemas/UnifiedAddressOutput" } } } @@ -17946,22 +11518,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedAddressOutput" + } + } + } } }, "tags": [ - "accounting/incomestatement" + "accounting/address" ] - }, - "post": { - "operationId": "addIncomeStatement", - "summary": "Create a IncomeStatement", - "description": "Create a incomestatement in any supported Accounting software", + } + }, + "/accounting/address/{id}": { + "get": { + "operationId": "getAddress", + "summary": "Retrieve a Address", + "description": "Retrieve a address from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the address you want to retrieve.", "schema": { "type": "string" } @@ -17976,16 +11560,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedIncomeStatementInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -17999,7 +11573,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" + "$ref": "#/components/schemas/UnifiedAddressOutput" } } } @@ -18007,34 +11581,23 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" - } - } - } } }, "tags": [ - "accounting/incomestatement" + "accounting/address" ] } }, - "/accounting/incomestatement/{id}": { + "/accounting/attachment": { "get": { - "operationId": "getIncomeStatement", - "summary": "Retrieve a IncomeStatement", - "description": "Retrieve a incomestatement from any connected Accounting software", + "operationId": "getAccountingAttachments", + "summary": "List a batch of Attachments", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the incomestatement you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -18062,7 +11625,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } @@ -18073,19 +11636,19 @@ } }, "tags": [ - "accounting/incomestatement" + "accounting/attachment" ] - } - }, - "/accounting/incomestatement/batch": { + }, "post": { - "operationId": "addIncomeStatements", - "summary": "Add a batch of IncomeStatements", + "operationId": "addAccountingAttachment", + "summary": "Create a Attachment", + "description": "Create a attachment in any supported Accounting software", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -18098,15 +11661,6 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18114,10 +11668,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedIncomeStatementInput" - } + "$ref": "#/components/schemas/UnifiedAttachmentInput" } } } @@ -18135,7 +11686,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } @@ -18149,30 +11700,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" - } + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } } }, "tags": [ - "accounting/incomestatement" + "accounting/attachment" ] } }, - "/accounting/invoice": { + "/accounting/attachment/{id}": { "get": { - "operationId": "getInvoices", - "summary": "List a batch of Invoices", + "operationId": "getAccountingAttachment", + "summary": "Retrieve a Attachment", + "description": "Retrieve a attachment from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the attachment you want to retrieve.", "schema": { "type": "string" } @@ -18200,7 +11749,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" + "$ref": "#/components/schemas/UnifiedAttachmentOutput" } } } @@ -18211,13 +11760,14 @@ } }, "tags": [ - "accounting/invoice" + "accounting/attachment" ] - }, - "post": { - "operationId": "addInvoice", - "summary": "Create a Invoice", - "description": "Create a invoice in any supported Accounting software", + } + }, + "/accounting/balancesheet": { + "get": { + "operationId": "getBalanceSheets", + "summary": "List a batch of BalanceSheets", "parameters": [ { "name": "x-connection-token", @@ -18238,16 +11788,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedInvoiceInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -18261,7 +11801,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" + "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" } } } @@ -18269,34 +11809,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" - } - } - } } }, "tags": [ - "accounting/invoice" + "accounting/balancesheet" ] - } - }, - "/accounting/invoice/{id}": { - "get": { - "operationId": "getInvoice", - "summary": "Retrieve a Invoice", - "description": "Retrieve a invoice from any connected Accounting software", + }, + "post": { + "operationId": "addBalanceSheet", + "summary": "Create a BalanceSheet", + "description": "Create a balancesheet in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the invoice you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -18311,6 +11839,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedBalanceSheetInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -18324,7 +11862,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" + "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" } } } @@ -18332,22 +11870,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" + } + } + } } }, "tags": [ - "accounting/invoice" + "accounting/balancesheet" ] } }, - "/accounting/invoice/batch": { - "post": { - "operationId": "addInvoices", - "summary": "Add a batch of Invoices", + "/accounting/balancesheet/{id}": { + "get": { + "operationId": "getBalanceSheet", + "summary": "Retrieve a BalanceSheet", + "description": "Retrieve a balancesheet from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the balancesheet you want to retrieve.", "schema": { "type": "string" } @@ -18360,30 +11910,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedInvoiceInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -18397,7 +11925,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" + "$ref": "#/components/schemas/UnifiedBalanceSheetOutput" } } } @@ -18405,30 +11933,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedInvoiceOutput" - } - } - } - } } }, "tags": [ - "accounting/invoice" + "accounting/balancesheet" ] } }, - "/accounting/item": { + "/accounting/cashflowstatement": { "get": { - "operationId": "getItems", - "summary": "List a batch of Items", + "operationId": "getCashflowStatements", + "summary": "List a batch of CashflowStatements", "parameters": [ { "name": "x-connection-token", @@ -18462,7 +11977,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedItemOutput" + "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" } } } @@ -18473,13 +11988,13 @@ } }, "tags": [ - "accounting/item" + "accounting/cashflowstatement" ] }, "post": { - "operationId": "addItem", - "summary": "Create a Item", - "description": "Create a item in any supported Accounting software", + "operationId": "addCashflowStatement", + "summary": "Create a CashflowStatement", + "description": "Create a cashflowstatement in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -18505,7 +12020,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedItemInput" + "$ref": "#/components/schemas/UnifiedCashflowStatementInput" } } } @@ -18523,7 +12038,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedItemOutput" + "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" } } } @@ -18537,28 +12052,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedItemOutput" + "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" } } } } }, "tags": [ - "accounting/item" + "accounting/cashflowstatement" ] } }, - "/accounting/item/{id}": { + "/accounting/cashflowstatement/{id}": { "get": { - "operationId": "getItem", - "summary": "Retrieve a Item", - "description": "Retrieve a item from any connected Accounting software", + "operationId": "getCashflowStatement", + "summary": "Retrieve a CashflowStatement", + "description": "Retrieve a cashflowstatement from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the item you want to retrieve.", + "description": "id of the cashflowstatement you want to retrieve.", "schema": { "type": "string" } @@ -18586,7 +12101,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedItemOutput" + "$ref": "#/components/schemas/UnifiedCashflowStatementOutput" } } } @@ -18597,19 +12112,20 @@ } }, "tags": [ - "accounting/item" + "accounting/cashflowstatement" ] } }, - "/accounting/item/batch": { - "post": { - "operationId": "addItems", - "summary": "Add a batch of Items", + "/accounting/companyinfo": { + "get": { + "operationId": "getCompanyInfos", + "summary": "List a batch of CompanyInfos", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -18622,15 +12138,57 @@ "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "accounting/companyinfo" + ] + }, + "post": { + "operationId": "addCompanyInfo", + "summary": "Create a CompanyInfo", + "description": "Create a companyinfo in any supported Accounting software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Accounting software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -18638,10 +12196,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedItemInput" - } + "$ref": "#/components/schemas/UnifiedCompanyInfoInput" } } } @@ -18659,7 +12214,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedItemOutput" + "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" } } } @@ -18673,30 +12228,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedItemOutput" - } + "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" } } } } }, "tags": [ - "accounting/item" + "accounting/companyinfo" ] } }, - "/accounting/journalentry": { + "/accounting/companyinfo/{id}": { "get": { - "operationId": "getJournalEntrys", - "summary": "List a batch of JournalEntrys", + "operationId": "getCompanyInfo", + "summary": "Retrieve a CompanyInfo", + "description": "Retrieve a companyinfo from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the companyinfo you want to retrieve.", "schema": { "type": "string" } @@ -18724,7 +12277,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" + "$ref": "#/components/schemas/UnifiedCompanyInfoOutput" } } } @@ -18735,13 +12288,14 @@ } }, "tags": [ - "accounting/journalentry" + "accounting/companyinfo" ] - }, - "post": { - "operationId": "addJournalEntry", - "summary": "Create a JournalEntry", - "description": "Create a journalentry in any supported Accounting software", + } + }, + "/accounting/contact": { + "get": { + "operationId": "getAccountingContacts", + "summary": "List a batch of Contacts", "parameters": [ { "name": "x-connection-token", @@ -18762,16 +12316,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedJournalEntryInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -18785,7 +12329,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" + "$ref": "#/components/schemas/UnifiedContactOutput" } } } @@ -18793,34 +12337,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" - } - } - } } }, "tags": [ - "accounting/journalentry" + "accounting/contact" ] - } - }, - "/accounting/journalentry/{id}": { - "get": { - "operationId": "getJournalEntry", - "summary": "Retrieve a JournalEntry", - "description": "Retrieve a journalentry from any connected Accounting software", + }, + "post": { + "operationId": "addAccountingContact", + "summary": "Create a Contact", + "description": "Create a contact in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the journalentry you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -18835,6 +12367,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedContactInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -18848,7 +12390,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" + "$ref": "#/components/schemas/UnifiedContactOutput" } } } @@ -18856,22 +12398,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedContactOutput" + } + } + } } }, "tags": [ - "accounting/journalentry" + "accounting/contact" ] } }, - "/accounting/journalentry/batch": { - "post": { - "operationId": "addJournalEntrys", - "summary": "Add a batch of JournalEntrys", + "/accounting/contact/{id}": { + "get": { + "operationId": "getAccountingContact", + "summary": "Retrieve a Contact", + "description": "Retrieve a contact from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the contact you want to retrieve.", "schema": { "type": "string" } @@ -18884,30 +12438,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJournalEntryInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -18921,7 +12453,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" + "$ref": "#/components/schemas/UnifiedContactOutput" } } } @@ -18929,30 +12461,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedJournalEntryOutput" - } - } - } - } } }, "tags": [ - "accounting/journalentry" + "accounting/contact" ] } }, - "/accounting/payment": { + "/accounting/creditnote": { "get": { - "operationId": "getPayments", - "summary": "List a batch of Payments", + "operationId": "getCreditNotes", + "summary": "List a batch of CreditNotes", "parameters": [ { "name": "x-connection-token", @@ -18986,7 +12505,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" + "$ref": "#/components/schemas/UnifiedCreditNoteOutput" } } } @@ -18997,13 +12516,13 @@ } }, "tags": [ - "accounting/payment" + "accounting/creditnote" ] }, "post": { - "operationId": "addPayment", - "summary": "Create a Payment", - "description": "Create a payment in any supported Accounting software", + "operationId": "addCreditNote", + "summary": "Create a CreditNote", + "description": "Create a creditnote in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -19029,7 +12548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPaymentInput" + "$ref": "#/components/schemas/UnifiedCreditNoteInput" } } } @@ -19047,7 +12566,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" + "$ref": "#/components/schemas/UnifiedCreditNoteOutput" } } } @@ -19061,28 +12580,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" + "$ref": "#/components/schemas/UnifiedCreditNoteOutput" } } } } }, "tags": [ - "accounting/payment" + "accounting/creditnote" ] } }, - "/accounting/payment/{id}": { + "/accounting/creditnote/{id}": { "get": { - "operationId": "getPayment", - "summary": "Retrieve a Payment", - "description": "Retrieve a payment from any connected Accounting software", + "operationId": "getCreditNote", + "summary": "Retrieve a CreditNote", + "description": "Retrieve a creditnote from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the payment you want to retrieve.", + "description": "id of the creditnote you want to retrieve.", "schema": { "type": "string" } @@ -19110,7 +12629,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" + "$ref": "#/components/schemas/UnifiedCreditNoteOutput" } } } @@ -19121,19 +12640,20 @@ } }, "tags": [ - "accounting/payment" + "accounting/creditnote" ] } }, - "/accounting/payment/batch": { - "post": { - "operationId": "addPayments", - "summary": "Add a batch of Payments", + "/accounting/expense": { + "get": { + "operationId": "getExpenses", + "summary": "List a batch of Expenses", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -19146,15 +12666,57 @@ "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedExpenseOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "accounting/expense" + ] + }, + "post": { + "operationId": "addExpense", + "summary": "Create a Expense", + "description": "Create a expense in any supported Accounting software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Accounting software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -19162,10 +12724,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPaymentInput" - } + "$ref": "#/components/schemas/UnifiedExpenseInput" } } } @@ -19183,7 +12742,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" + "$ref": "#/components/schemas/UnifiedExpenseOutput" } } } @@ -19197,30 +12756,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPaymentOutput" - } + "$ref": "#/components/schemas/UnifiedExpenseOutput" } } } } }, "tags": [ - "accounting/payment" + "accounting/expense" ] } }, - "/accounting/phonenumber": { + "/accounting/expense/{id}": { "get": { - "operationId": "getPhoneNumbers", - "summary": "List a batch of PhoneNumbers", + "operationId": "getExpense", + "summary": "Retrieve a Expense", + "description": "Retrieve a expense from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the expense you want to retrieve.", "schema": { "type": "string" } @@ -19248,7 +12805,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" + "$ref": "#/components/schemas/UnifiedExpenseOutput" } } } @@ -19259,13 +12816,14 @@ } }, "tags": [ - "accounting/phonenumber" + "accounting/expense" ] - }, - "post": { - "operationId": "addPhoneNumber", - "summary": "Create a PhoneNumber", - "description": "Create a phonenumber in any supported Accounting software", + } + }, + "/accounting/incomestatement": { + "get": { + "operationId": "getIncomeStatements", + "summary": "List a batch of IncomeStatements", "parameters": [ { "name": "x-connection-token", @@ -19286,16 +12844,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPhoneNumberInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -19309,7 +12857,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" + "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" } } } @@ -19317,34 +12865,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" - } - } - } } }, "tags": [ - "accounting/phonenumber" + "accounting/incomestatement" ] - } - }, - "/accounting/phonenumber/{id}": { - "get": { - "operationId": "getPhoneNumber", - "summary": "Retrieve a PhoneNumber", - "description": "Retrieve a phonenumber from any connected Accounting software", + }, + "post": { + "operationId": "addIncomeStatement", + "summary": "Create a IncomeStatement", + "description": "Create a incomestatement in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the phonenumber you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -19359,6 +12895,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedIncomeStatementInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -19372,7 +12918,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" + "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" } } } @@ -19380,22 +12926,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" + } + } + } } }, "tags": [ - "accounting/phonenumber" + "accounting/incomestatement" ] } }, - "/accounting/phonenumber/batch": { - "post": { - "operationId": "addPhoneNumbers", - "summary": "Add a batch of PhoneNumbers", + "/accounting/incomestatement/{id}": { + "get": { + "operationId": "getIncomeStatement", + "summary": "Retrieve a IncomeStatement", + "description": "Retrieve a incomestatement from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the incomestatement you want to retrieve.", "schema": { "type": "string" } @@ -19408,30 +12966,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPhoneNumberInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -19445,7 +12981,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" + "$ref": "#/components/schemas/UnifiedIncomeStatementOutput" } } } @@ -19453,30 +12989,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" - } - } - } - } } }, "tags": [ - "accounting/phonenumber" + "accounting/incomestatement" ] } }, - "/accounting/purchaseorder": { + "/accounting/invoice": { "get": { - "operationId": "getPurchaseOrders", - "summary": "List a batch of PurchaseOrders", + "operationId": "getInvoices", + "summary": "List a batch of Invoices", "parameters": [ { "name": "x-connection-token", @@ -19510,7 +13033,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" + "$ref": "#/components/schemas/UnifiedInvoiceOutput" } } } @@ -19521,13 +13044,13 @@ } }, "tags": [ - "accounting/purchaseorder" + "accounting/invoice" ] }, "post": { - "operationId": "addPurchaseOrder", - "summary": "Create a PurchaseOrder", - "description": "Create a purchaseorder in any supported Accounting software", + "operationId": "addInvoice", + "summary": "Create a Invoice", + "description": "Create a invoice in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -19553,7 +13076,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderInput" + "$ref": "#/components/schemas/UnifiedInvoiceInput" } } } @@ -19571,7 +13094,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" + "$ref": "#/components/schemas/UnifiedInvoiceOutput" } } } @@ -19585,28 +13108,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" + "$ref": "#/components/schemas/UnifiedInvoiceOutput" } } } } }, "tags": [ - "accounting/purchaseorder" + "accounting/invoice" ] } }, - "/accounting/purchaseorder/{id}": { + "/accounting/invoice/{id}": { "get": { - "operationId": "getPurchaseOrder", - "summary": "Retrieve a PurchaseOrder", - "description": "Retrieve a purchaseorder from any connected Accounting software", + "operationId": "getInvoice", + "summary": "Retrieve a Invoice", + "description": "Retrieve a invoice from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the purchaseorder you want to retrieve.", + "description": "id of the invoice you want to retrieve.", "schema": { "type": "string" } @@ -19634,7 +13157,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" + "$ref": "#/components/schemas/UnifiedInvoiceOutput" } } } @@ -19645,19 +13168,20 @@ } }, "tags": [ - "accounting/purchaseorder" + "accounting/invoice" ] } }, - "/accounting/purchaseorder/batch": { - "post": { - "operationId": "addPurchaseOrders", - "summary": "Add a batch of PurchaseOrders", + "/accounting/item": { + "get": { + "operationId": "getItems", + "summary": "List a batch of Items", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -19670,15 +13194,57 @@ "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedItemOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "accounting/item" + ] + }, + "post": { + "operationId": "addItem", + "summary": "Create a Item", + "description": "Create a item in any supported Accounting software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Accounting software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -19686,10 +13252,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderInput" - } + "$ref": "#/components/schemas/UnifiedItemInput" } } } @@ -19707,7 +13270,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" + "$ref": "#/components/schemas/UnifiedItemOutput" } } } @@ -19721,30 +13284,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" - } + "$ref": "#/components/schemas/UnifiedItemOutput" } } } } }, "tags": [ - "accounting/purchaseorder" + "accounting/item" ] } }, - "/accounting/taxrate": { + "/accounting/item/{id}": { "get": { - "operationId": "getTaxRates", - "summary": "List a batch of TaxRates", + "operationId": "getItem", + "summary": "Retrieve a Item", + "description": "Retrieve a item from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the item you want to retrieve.", "schema": { "type": "string" } @@ -19772,7 +13333,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" + "$ref": "#/components/schemas/UnifiedItemOutput" } } } @@ -19783,13 +13344,14 @@ } }, "tags": [ - "accounting/taxrate" + "accounting/item" ] - }, - "post": { - "operationId": "addTaxRate", - "summary": "Create a TaxRate", - "description": "Create a taxrate in any supported Accounting software", + } + }, + "/accounting/journalentry": { + "get": { + "operationId": "getJournalEntrys", + "summary": "List a batch of JournalEntrys", "parameters": [ { "name": "x-connection-token", @@ -19810,16 +13372,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTaxRateInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -19833,7 +13385,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" + "$ref": "#/components/schemas/UnifiedJournalEntryOutput" } } } @@ -19841,34 +13393,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" - } - } - } } }, "tags": [ - "accounting/taxrate" + "accounting/journalentry" ] - } - }, - "/accounting/taxrate/{id}": { - "get": { - "operationId": "getTaxRate", - "summary": "Retrieve a TaxRate", - "description": "Retrieve a taxrate from any connected Accounting software", + }, + "post": { + "operationId": "addJournalEntry", + "summary": "Create a JournalEntry", + "description": "Create a journalentry in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the taxrate you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -19883,6 +13423,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedJournalEntryInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -19896,7 +13446,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" + "$ref": "#/components/schemas/UnifiedJournalEntryOutput" } } } @@ -19904,22 +13454,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedJournalEntryOutput" + } + } + } } }, "tags": [ - "accounting/taxrate" + "accounting/journalentry" ] } }, - "/accounting/taxrate/batch": { - "post": { - "operationId": "addTaxRates", - "summary": "Add a batch of TaxRates", + "/accounting/journalentry/{id}": { + "get": { + "operationId": "getJournalEntry", + "summary": "Retrieve a JournalEntry", + "description": "Retrieve a journalentry from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the journalentry you want to retrieve.", "schema": { "type": "string" } @@ -19932,30 +13494,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTaxRateInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -19969,7 +13509,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" + "$ref": "#/components/schemas/UnifiedJournalEntryOutput" } } } @@ -19977,30 +13517,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTaxRateOutput" - } - } - } - } } }, "tags": [ - "accounting/taxrate" + "accounting/journalentry" ] } }, - "/accounting/trackingcategory": { + "/accounting/payment": { "get": { - "operationId": "getTrackingCategorys", - "summary": "List a batch of TrackingCategorys", + "operationId": "getPayments", + "summary": "List a batch of Payments", "parameters": [ { "name": "x-connection-token", @@ -20034,7 +13561,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" + "$ref": "#/components/schemas/UnifiedPaymentOutput" } } } @@ -20045,13 +13572,13 @@ } }, "tags": [ - "accounting/trackingcategory" + "accounting/payment" ] }, "post": { - "operationId": "addTrackingCategory", - "summary": "Create a TrackingCategory", - "description": "Create a trackingcategory in any supported Accounting software", + "operationId": "addPayment", + "summary": "Create a Payment", + "description": "Create a payment in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -20077,7 +13604,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryInput" + "$ref": "#/components/schemas/UnifiedPaymentInput" } } } @@ -20095,7 +13622,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" + "$ref": "#/components/schemas/UnifiedPaymentOutput" } } } @@ -20109,28 +13636,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" + "$ref": "#/components/schemas/UnifiedPaymentOutput" } } } } }, "tags": [ - "accounting/trackingcategory" + "accounting/payment" ] } }, - "/accounting/trackingcategory/{id}": { + "/accounting/payment/{id}": { "get": { - "operationId": "getTrackingCategory", - "summary": "Retrieve a TrackingCategory", - "description": "Retrieve a trackingcategory from any connected Accounting software", + "operationId": "getPayment", + "summary": "Retrieve a Payment", + "description": "Retrieve a payment from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the trackingcategory you want to retrieve.", + "description": "id of the payment you want to retrieve.", "schema": { "type": "string" } @@ -20158,7 +13685,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" + "$ref": "#/components/schemas/UnifiedPaymentOutput" } } } @@ -20169,19 +13696,20 @@ } }, "tags": [ - "accounting/trackingcategory" + "accounting/payment" ] } }, - "/accounting/trackingcategory/batch": { - "post": { - "operationId": "addTrackingCategorys", - "summary": "Add a batch of TrackingCategorys", + "/accounting/phonenumber": { + "get": { + "operationId": "getPhoneNumbers", + "summary": "List a batch of PhoneNumbers", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -20194,30 +13722,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -20231,7 +13737,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" + "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" } } } @@ -20239,30 +13745,16 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" - } - } - } - } } }, "tags": [ - "accounting/trackingcategory" + "accounting/phonenumber" ] - } - }, - "/accounting/transaction": { - "get": { - "operationId": "getTransactions", - "summary": "List a batch of Transactions", + }, + "post": { + "operationId": "addPhoneNumber", + "summary": "Create a PhoneNumber", + "description": "Create a phonenumber in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -20283,6 +13775,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedPhoneNumberInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -20296,7 +13798,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" + "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" } } } @@ -20304,22 +13806,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" + } + } + } } }, "tags": [ - "accounting/transaction" + "accounting/phonenumber" ] - }, - "post": { - "operationId": "addTransaction", - "summary": "Create a Transaction", - "description": "Create a transaction in any supported Accounting software", + } + }, + "/accounting/phonenumber/{id}": { + "get": { + "operationId": "getPhoneNumber", + "summary": "Retrieve a PhoneNumber", + "description": "Retrieve a phonenumber from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the phonenumber you want to retrieve.", "schema": { "type": "string" } @@ -20334,16 +13848,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTransactionInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -20357,7 +13861,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" + "$ref": "#/components/schemas/UnifiedPhoneNumberOutput" } } } @@ -20365,34 +13869,23 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" - } - } - } } }, "tags": [ - "accounting/transaction" + "accounting/phonenumber" ] } }, - "/accounting/transaction/{id}": { + "/accounting/purchaseorder": { "get": { - "operationId": "getTransaction", - "summary": "Retrieve a Transaction", - "description": "Retrieve a transaction from any connected Accounting software", + "operationId": "getPurchaseOrders", + "summary": "List a batch of PurchaseOrders", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the transaction you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -20420,7 +13913,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" + "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" } } } @@ -20431,19 +13924,19 @@ } }, "tags": [ - "accounting/transaction" + "accounting/purchaseorder" ] - } - }, - "/accounting/transaction/batch": { + }, "post": { - "operationId": "addTransactions", - "summary": "Add a batch of Transactions", + "operationId": "addPurchaseOrder", + "summary": "Create a PurchaseOrder", + "description": "Create a purchaseorder in any supported Accounting software", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -20456,15 +13949,6 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20472,10 +13956,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTransactionInput" - } + "$ref": "#/components/schemas/UnifiedPurchaseOrderInput" } } } @@ -20493,7 +13974,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" + "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" } } } @@ -20507,30 +13988,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedTransactionOutput" - } + "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" } } } } }, "tags": [ - "accounting/transaction" + "accounting/purchaseorder" ] } }, - "/accounting/vendorcredit": { + "/accounting/purchaseorder/{id}": { "get": { - "operationId": "getVendorCredits", - "summary": "List a batch of VendorCredits", + "operationId": "getPurchaseOrder", + "summary": "Retrieve a PurchaseOrder", + "description": "Retrieve a purchaseorder from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the purchaseorder you want to retrieve.", "schema": { "type": "string" } @@ -20558,7 +14037,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" + "$ref": "#/components/schemas/UnifiedPurchaseOrderOutput" } } } @@ -20569,13 +14048,14 @@ } }, "tags": [ - "accounting/vendorcredit" + "accounting/purchaseorder" ] - }, - "post": { - "operationId": "addVendorCredit", - "summary": "Create a VendorCredit", - "description": "Create a vendorcredit in any supported Accounting software", + } + }, + "/accounting/taxrate": { + "get": { + "operationId": "getTaxRates", + "summary": "List a batch of TaxRates", "parameters": [ { "name": "x-connection-token", @@ -20596,16 +14076,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedVendorCreditInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -20619,7 +14089,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" + "$ref": "#/components/schemas/UnifiedTaxRateOutput" } } } @@ -20627,34 +14097,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" - } - } - } } }, "tags": [ - "accounting/vendorcredit" + "accounting/taxrate" ] - } - }, - "/accounting/vendorcredit/{id}": { - "get": { - "operationId": "getVendorCredit", - "summary": "Retrieve a VendorCredit", - "description": "Retrieve a vendorcredit from any connected Accounting software", + }, + "post": { + "operationId": "addTaxRate", + "summary": "Create a TaxRate", + "description": "Create a taxrate in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the vendorcredit you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -20669,6 +14127,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedTaxRateInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -20682,7 +14150,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" + "$ref": "#/components/schemas/UnifiedTaxRateOutput" } } } @@ -20690,22 +14158,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedTaxRateOutput" + } + } + } } }, "tags": [ - "accounting/vendorcredit" + "accounting/taxrate" ] } }, - "/accounting/vendorcredit/batch": { - "post": { - "operationId": "addVendorCredits", - "summary": "Add a batch of VendorCredits", + "/accounting/taxrate/{id}": { + "get": { + "operationId": "getTaxRate", + "summary": "Retrieve a TaxRate", + "description": "Retrieve a taxrate from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the taxrate you want to retrieve.", "schema": { "type": "string" } @@ -20718,30 +14198,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedVendorCreditInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -20755,7 +14213,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" + "$ref": "#/components/schemas/UnifiedTaxRateOutput" } } } @@ -20763,30 +14221,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedVendorCreditOutput" - } - } - } - } } }, "tags": [ - "accounting/vendorcredit" + "accounting/taxrate" ] } }, - "/filestorage/drive": { + "/accounting/trackingcategory": { "get": { - "operationId": "getDrives", - "summary": "List a batch of Drives", + "operationId": "getTrackingCategorys", + "summary": "List a batch of TrackingCategorys", "parameters": [ { "name": "x-connection-token", @@ -20801,7 +14246,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } @@ -20820,7 +14265,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDriveOutput" + "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" } } } @@ -20831,13 +14276,13 @@ } }, "tags": [ - "filestorage/drive" + "accounting/trackingcategory" ] }, "post": { - "operationId": "addDrive", - "summary": "Create a Drive", - "description": "Create a drive in any supported Filestorage software", + "operationId": "addTrackingCategory", + "summary": "Create a TrackingCategory", + "description": "Create a trackingcategory in any supported Accounting software", "parameters": [ { "name": "x-connection-token", @@ -20852,7 +14297,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } @@ -20863,7 +14308,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedDriveInput" + "$ref": "#/components/schemas/UnifiedTrackingCategoryInput" } } } @@ -20881,7 +14326,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDriveOutput" + "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" } } } @@ -20895,28 +14340,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedDriveOutput" + "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" } } } } }, "tags": [ - "filestorage/drive" + "accounting/trackingcategory" ] } }, - "/filestorage/drive/{id}": { + "/accounting/trackingcategory/{id}": { "get": { - "operationId": "getDrive", - "summary": "Retrieve a Drive", - "description": "Retrieve a drive from any connected Filestorage software", + "operationId": "getTrackingCategory", + "summary": "Retrieve a TrackingCategory", + "description": "Retrieve a trackingcategory from any connected Accounting software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the drive you want to retrieve.", + "description": "id of the trackingcategory you want to retrieve.", "schema": { "type": "string" } @@ -20925,7 +14370,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } @@ -20944,7 +14389,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDriveOutput" + "$ref": "#/components/schemas/UnifiedTrackingCategoryOutput" } } } @@ -20955,19 +14400,20 @@ } }, "tags": [ - "filestorage/drive" + "accounting/trackingcategory" ] } }, - "/filestorage/drive/batch": { - "post": { - "operationId": "addDrives", - "summary": "Add a batch of Drives", + "/accounting/transaction": { + "get": { + "operationId": "getTransactions", + "summary": "List a batch of Transactions", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -20976,19 +14422,61 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedTransactionOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "accounting/transaction" + ] + }, + "post": { + "operationId": "addTransaction", + "summary": "Create a Transaction", + "description": "Create a transaction in any supported Accounting software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Accounting software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -20996,10 +14484,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDriveInput" - } + "$ref": "#/components/schemas/UnifiedTransactionInput" } } } @@ -21017,7 +14502,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedDriveOutput" + "$ref": "#/components/schemas/UnifiedTransactionOutput" } } } @@ -21031,30 +14516,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedDriveOutput" - } + "$ref": "#/components/schemas/UnifiedTransactionOutput" } } } } }, "tags": [ - "filestorage/drive" + "accounting/transaction" ] } }, - "/filestorage/file": { + "/accounting/transaction/{id}": { "get": { - "operationId": "getFiles", - "summary": "List a batch of Files", + "operationId": "getTransaction", + "summary": "Retrieve a Transaction", + "description": "Retrieve a transaction from any connected Accounting software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the transaction you want to retrieve.", "schema": { "type": "string" } @@ -21063,7 +14546,7 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } @@ -21082,7 +14565,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFileOutput" + "$ref": "#/components/schemas/UnifiedTransactionOutput" } } } @@ -21093,13 +14576,14 @@ } }, "tags": [ - "filestorage/file" + "accounting/transaction" ] - }, - "post": { - "operationId": "addFile", - "summary": "Create a File", - "description": "Create a file in any supported Filestorage software", + } + }, + "/accounting/vendorcredit": { + "get": { + "operationId": "getVendorCredits", + "summary": "List a batch of VendorCredits", "parameters": [ { "name": "x-connection-token", @@ -21114,22 +14598,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedFileInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -21143,7 +14617,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFileOutput" + "$ref": "#/components/schemas/UnifiedVendorCreditOutput" } } } @@ -21151,34 +14625,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedFileOutput" - } - } - } } }, "tags": [ - "filestorage/file" + "accounting/vendorcredit" ] - } - }, - "/filestorage/file/{id}": { - "get": { - "operationId": "getFile", - "summary": "Retrieve a File", - "description": "Retrieve a file from any connected Filestorage software", + }, + "post": { + "operationId": "addVendorCredit", + "summary": "Create a VendorCredit", + "description": "Create a vendorcredit in any supported Accounting software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the file you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -21187,12 +14649,22 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedVendorCreditInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -21206,7 +14678,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFileOutput" + "$ref": "#/components/schemas/UnifiedVendorCreditOutput" } } } @@ -21214,22 +14686,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedVendorCreditOutput" + } + } + } } }, "tags": [ - "filestorage/file" + "accounting/vendorcredit" ] } }, - "/filestorage/file/batch": { - "post": { - "operationId": "addFiles", - "summary": "Add a batch of Files", + "/accounting/vendorcredit/{id}": { + "get": { + "operationId": "getVendorCredit", + "summary": "Retrieve a VendorCredit", + "description": "Retrieve a vendorcredit from any connected Accounting software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the vendorcredit you want to retrieve.", "schema": { "type": "string" } @@ -21238,34 +14722,12 @@ "name": "remote_data", "required": false, "in": "query", - "description": "Set to true to include data from the original Filestorage software.", + "description": "Set to true to include data from the original Accounting software.", "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedFileInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -21279,7 +14741,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFileOutput" + "$ref": "#/components/schemas/UnifiedVendorCreditOutput" } } } @@ -21287,30 +14749,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedFileOutput" - } - } - } - } } }, "tags": [ - "filestorage/file" + "accounting/vendorcredit" ] } }, - "/filestorage/folder": { + "/filestorage/drive": { "get": { - "operationId": "getFolders", - "summary": "List a batch of Folders", + "operationId": "getDrives", + "summary": "List a batch of Drives", "parameters": [ { "name": "x-connection-token", @@ -21344,7 +14793,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFolderOutput" + "$ref": "#/components/schemas/UnifiedDriveOutput" } } } @@ -21355,13 +14804,13 @@ } }, "tags": [ - "filestorage/folder" + "filestorage/drive" ] }, "post": { - "operationId": "addFolder", - "summary": "Create a Folder", - "description": "Create a folder in any supported Filestorage software", + "operationId": "addDrive", + "summary": "Create a Drive", + "description": "Create a drive in any supported Filestorage software", "parameters": [ { "name": "x-connection-token", @@ -21387,7 +14836,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedFolderInput" + "$ref": "#/components/schemas/UnifiedDriveInput" } } } @@ -21405,7 +14854,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFolderOutput" + "$ref": "#/components/schemas/UnifiedDriveOutput" } } } @@ -21419,28 +14868,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedFolderOutput" + "$ref": "#/components/schemas/UnifiedDriveOutput" } } } } }, "tags": [ - "filestorage/folder" + "filestorage/drive" ] } }, - "/filestorage/folder/{id}": { + "/filestorage/drive/{id}": { "get": { - "operationId": "getFolder", - "summary": "Retrieve a Folder", - "description": "Retrieve a folder from any connected Filestorage software", + "operationId": "getDrive", + "summary": "Retrieve a Drive", + "description": "Retrieve a drive from any connected Filestorage software", "parameters": [ { "name": "id", "required": true, "in": "path", - "description": "id of the folder you want to retrieve.", + "description": "id of the drive you want to retrieve.", "schema": { "type": "string" } @@ -21468,7 +14917,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFolderOutput" + "$ref": "#/components/schemas/UnifiedDriveOutput" } } } @@ -21479,19 +14928,20 @@ } }, "tags": [ - "filestorage/folder" + "filestorage/drive" ] } }, - "/filestorage/folder/batch": { - "post": { - "operationId": "addFolders", - "summary": "Add a batch of Folders", + "/filestorage/file": { + "get": { + "operationId": "getFiles", + "summary": "List a batch of Files", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -21504,15 +14954,57 @@ "schema": { "type": "boolean" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedFileOutput" + } + } + } + ] + } + } + } + } + }, + "tags": [ + "filestorage/file" + ] + }, + "post": { + "operationId": "addFile", + "summary": "Create a File", + "description": "Create a file in any supported Filestorage software", + "parameters": [ { "name": "x-connection-token", + "required": true, "in": "header", "description": "The connection token", - "required": true, "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Filestorage software.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -21520,10 +15012,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedFolderInput" - } + "$ref": "#/components/schemas/UnifiedFileInput" } } } @@ -21541,7 +15030,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedFolderOutput" + "$ref": "#/components/schemas/UnifiedFileOutput" } } } @@ -21555,30 +15044,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedFolderOutput" - } + "$ref": "#/components/schemas/UnifiedFileOutput" } } } } }, "tags": [ - "filestorage/folder" + "filestorage/file" ] } }, - "/filestorage/sharedlink": { + "/filestorage/file/{id}": { "get": { - "operationId": "getSharedlinks", - "summary": "List a batch of Sharedlinks", + "operationId": "getFile", + "summary": "Retrieve a File", + "description": "Retrieve a file from any connected Filestorage software", "parameters": [ { - "name": "x-connection-token", + "name": "id", "required": true, - "in": "header", - "description": "The connection token", + "in": "path", + "description": "id of the file you want to retrieve.", "schema": { "type": "string" } @@ -21606,7 +15093,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" + "$ref": "#/components/schemas/UnifiedFileOutput" } } } @@ -21617,13 +15104,14 @@ } }, "tags": [ - "filestorage/sharedlink" + "filestorage/file" ] - }, - "post": { - "operationId": "addSharedlink", - "summary": "Create a Sharedlink", - "description": "Create a sharedlink in any supported Filestorage software", + } + }, + "/filestorage/folder": { + "get": { + "operationId": "getFolders", + "summary": "List a batch of Folders", "parameters": [ { "name": "x-connection-token", @@ -21644,16 +15132,6 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedSharedLinkInput" - } - } - } - }, "responses": { "200": { "description": "", @@ -21667,7 +15145,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" + "$ref": "#/components/schemas/UnifiedFolderOutput" } } } @@ -21675,34 +15153,22 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" - } - } - } } }, "tags": [ - "filestorage/sharedlink" + "filestorage/folder" ] - } - }, - "/filestorage/sharedlink/{id}": { - "get": { - "operationId": "getSharedlink", - "summary": "Retrieve a Sharedlink", - "description": "Retrieve a sharedlink from any connected Filestorage software", + }, + "post": { + "operationId": "addFolder", + "summary": "Create a Folder", + "description": "Create a folder in any supported Filestorage software", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the sharedlink you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -21717,6 +15183,16 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedFolderInput" + } + } + } + }, "responses": { "200": { "description": "", @@ -21730,7 +15206,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" + "$ref": "#/components/schemas/UnifiedFolderOutput" } } } @@ -21738,22 +15214,34 @@ } } } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnifiedFolderOutput" + } + } + } } }, "tags": [ - "filestorage/sharedlink" + "filestorage/folder" ] } }, - "/filestorage/sharedlink/batch": { - "post": { - "operationId": "addSharedlinks", - "summary": "Add a batch of Sharedlinks", + "/filestorage/folder/{id}": { + "get": { + "operationId": "getFolder", + "summary": "Retrieve a Folder", + "description": "Retrieve a folder from any connected Filestorage software", "parameters": [ { - "name": "connection_token", + "name": "id", "required": true, - "in": "header", + "in": "path", + "description": "id of the folder you want to retrieve.", "schema": { "type": "string" } @@ -21766,30 +15254,8 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedSharedLinkInput" - } - } - } - } - }, "responses": { "200": { "description": "", @@ -21803,7 +15269,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" + "$ref": "#/components/schemas/UnifiedFolderOutput" } } } @@ -21811,30 +15277,17 @@ } } } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedSharedLinkOutput" - } - } - } - } } }, "tags": [ - "filestorage/sharedlink" + "filestorage/folder" ] } }, - "/filestorage/permission": { + "/filestorage/sharedlink": { "get": { - "operationId": "getPermissions", - "summary": "List a batch of Permissions", + "operationId": "getSharedlinks", + "summary": "List a batch of Sharedlinks", "parameters": [ { "name": "x-connection-token", @@ -21868,7 +15321,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPermissionOutput" + "$ref": "#/components/schemas/UnifiedSharedLinkOutput" } } } @@ -21879,13 +15332,13 @@ } }, "tags": [ - "filestorage/permission" + "filestorage/sharedlink" ] }, "post": { - "operationId": "addPermission", - "summary": "Create a Permission", - "description": "Create a permission in any supported Filestorage software", + "operationId": "addSharedlink", + "summary": "Create a Sharedlink", + "description": "Create a sharedlink in any supported Filestorage software", "parameters": [ { "name": "x-connection-token", @@ -21911,7 +15364,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPermissionInput" + "$ref": "#/components/schemas/UnifiedSharedLinkInput" } } } @@ -21929,7 +15382,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPermissionOutput" + "$ref": "#/components/schemas/UnifiedSharedLinkOutput" } } } @@ -21943,27 +15396,40 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnifiedPermissionOutput" + "$ref": "#/components/schemas/UnifiedSharedLinkOutput" } } } } }, "tags": [ - "filestorage/permission" + "filestorage/sharedlink" ] - }, - "patch": { - "operationId": "updatePermission", - "summary": "Update a Permission", + } + }, + "/filestorage/sharedlink/{id}": { + "get": { + "operationId": "getSharedlink", + "summary": "Retrieve a Sharedlink", + "description": "Retrieve a sharedlink from any connected Filestorage software", "parameters": [ { "name": "id", "required": true, - "in": "query", + "in": "path", + "description": "id of the sharedlink you want to retrieve.", "schema": { "type": "string" } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Filestorage software.", + "schema": { + "type": "boolean" + } } ], "responses": { @@ -21979,7 +15445,7 @@ { "properties": { "data": { - "$ref": "#/components/schemas/UnifiedPermissionOutput" + "$ref": "#/components/schemas/UnifiedSharedLinkOutput" } } } @@ -21990,21 +15456,20 @@ } }, "tags": [ - "filestorage/permission" + "filestorage/sharedlink" ] } }, - "/filestorage/permission/{id}": { + "/filestorage/permission": { "get": { - "operationId": "getPermission", - "summary": "Retrieve a Permission", - "description": "Retrieve a permission from any connected Filestorage software", + "operationId": "getPermissions", + "summary": "List a batch of Permissions", "parameters": [ { - "name": "id", + "name": "x-connection-token", "required": true, - "in": "path", - "description": "id of the permission you want to retrieve.", + "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -22045,17 +15510,17 @@ "tags": [ "filestorage/permission" ] - } - }, - "/filestorage/permission/batch": { + }, "post": { - "operationId": "addPermissions", - "summary": "Add a batch of Permissions", + "operationId": "addPermission", + "summary": "Create a Permission", + "description": "Create a permission in any supported Filestorage software", "parameters": [ { - "name": "connection_token", + "name": "x-connection-token", "required": true, "in": "header", + "description": "The connection token", "schema": { "type": "string" } @@ -22068,15 +15533,6 @@ "schema": { "type": "boolean" } - }, - { - "name": "x-connection-token", - "in": "header", - "description": "The connection token", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22084,10 +15540,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPermissionInput" - } + "$ref": "#/components/schemas/UnifiedPermissionInput" } } } @@ -22119,10 +15572,60 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedPermissionOutput" - } + "$ref": "#/components/schemas/UnifiedPermissionOutput" + } + } + } + } + }, + "tags": [ + "filestorage/permission" + ] + } + }, + "/filestorage/permission/{id}": { + "get": { + "operationId": "getPermission", + "summary": "Retrieve a Permission", + "description": "Retrieve a permission from any connected Filestorage software", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "description": "id of the permission you want to retrieve.", + "schema": { + "type": "string" + } + }, + { + "name": "remote_data", + "required": false, + "in": "query", + "description": "Set to true to include data from the original Filestorage software.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ApiResponse" + }, + { + "properties": { + "data": { + "$ref": "#/components/schemas/UnifiedPermissionOutput" + } + } + } + ] } } } @@ -22400,89 +15903,6 @@ } ] } - }, - "/ticketing/attachments/batch": { - "post": { - "operationId": "addTicketingAttachments", - "summary": "Add a batch of Attachments", - "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": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentInput" - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiResponse" - }, - { - "properties": { - "data": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" - } - } - } - ] - } - } - } - }, - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UnifiedAttachmentOutput" - } - } - } - } - } - }, - "tags": [ - "ticketing/attachments" - ], - "security": [ - { - "JWT": [] - } - ] - } } }, "info": { diff --git a/packages/api/swagger/swagger-spec.yaml b/packages/api/swagger/swagger-spec.yaml index 5aa0e3f1c..92b1fd6d2 100644 --- a/packages/api/swagger/swagger-spec.yaml +++ b/packages/api/swagger/swagger-spec.yaml @@ -444,24 +444,6 @@ paths: $ref: '#/components/schemas/UnifiedTicketOutput' tags: *ref_4 security: *ref_5 - patch: - operationId: updateTicket - summary: Update a Ticket - parameters: - - name: id - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketOutput' - tags: *ref_4 - security: *ref_5 /ticketing/tickets/{id}: get: operationId: getTicket @@ -493,52 +475,6 @@ paths: $ref: '#/components/schemas/UnifiedTicketOutput' tags: *ref_4 security: *ref_5 - /ticketing/tickets/batch: - post: - operationId: addTickets - summary: Add a batch of Tickets - 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: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTicketOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketOutput' - tags: *ref_4 - security: *ref_5 /ticketing/users: get: operationId: getTicketingUsers @@ -907,52 +843,6 @@ paths: $ref: '#/components/schemas/UnifiedCompanyOutput' tags: *ref_12 security: *ref_13 - /crm/companies/batch: - post: - operationId: addCompanies - summary: Add a batch of Companies - 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 Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCompanyOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyOutput' - tags: *ref_12 - security: *ref_13 /crm/contacts: get: operationId: listCrmContacts @@ -1040,24 +930,6 @@ paths: $ref: '#/components/schemas/UnifiedContactOutput' tags: *ref_14 security: *ref_15 - patch: - operationId: updateContact - summary: Update a CRM Contact - parameters: - - name: id - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_14 - security: *ref_15 /crm/contacts/{id}: get: operationId: getCrmContact @@ -1089,52 +961,6 @@ paths: $ref: '#/components/schemas/UnifiedContactOutput' tags: *ref_14 security: *ref_15 - /crm/contacts/batch: - post: - operationId: addCrmContacts - summary: Add a batch of CRM Contacts - 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 CRM software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedContactOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_14 - security: *ref_15 /crm/deals: get: operationId: getDeals @@ -1253,74 +1079,6 @@ paths: $ref: '#/components/schemas/UnifiedDealOutput' tags: *ref_16 security: *ref_17 - patch: - operationId: updateDeal - summary: Update a Deal - parameters: - - name: id - required: true - in: path - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedDealOutput' - tags: *ref_16 - security: *ref_17 - /crm/deals/batch: - post: - operationId: addDeals - summary: Add a batch of Deals - 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 Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDealInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedDealOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDealOutput' - tags: *ref_16 - security: *ref_17 /crm/engagements: get: operationId: getEngagements @@ -1408,15 +1166,24 @@ paths: $ref: '#/components/schemas/UnifiedEngagementOutput' tags: *ref_18 security: *ref_19 - patch: - operationId: updateEngagement - summary: Update a Engagement + /crm/engagements/{id}: + get: + operationId: getEngagement + summary: Retrieve a Engagement + description: Retrieve a engagement from any connected Crm software parameters: - name: id required: true - in: query + in: path + description: id of the engagement you want to retrieve. schema: type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean responses: '200': description: '' @@ -1430,24 +1197,36 @@ paths: $ref: '#/components/schemas/UnifiedEngagementOutput' tags: *ref_18 security: *ref_19 - /crm/engagements/{id}: + /crm/notes: get: - operationId: getEngagement - summary: Retrieve a Engagement - description: Retrieve a engagement from any connected Crm software + operationId: getNotes + summary: List a batch of Notes parameters: - - name: id + - name: x-connection-token required: true - in: path - description: id of the engagement you want to retrieve. + 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 Crm software. + description: Set to true to include data from the original software. schema: type: boolean + - name: pageSize + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string responses: '200': description: '' @@ -1458,13 +1237,15 @@ paths: - $ref: '#/components/schemas/ApiResponse' - properties: data: - $ref: '#/components/schemas/UnifiedEngagementOutput' - tags: *ref_18 - security: *ref_19 - /crm/engagements/batch: + $ref: '#/components/schemas/UnifiedNoteOutput' + tags: &ref_20 + - crm/notes + security: &ref_21 + - JWT: [] post: - operationId: addEngagements - summary: Add a batch of Engagements + operationId: addNote + summary: Create a Note + description: Create a note in any supported Crm software parameters: - name: x-connection-token required: true @@ -1483,98 +1264,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEngagementInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEngagementOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEngagementOutput' - tags: *ref_18 - security: *ref_19 - /crm/notes: - get: - operationId: getNotes - summary: List a batch of Notes - 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 software. - schema: - type: boolean - - name: pageSize - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedNoteOutput' - tags: &ref_20 - - crm/notes - security: &ref_21 - - JWT: [] - post: - operationId: addNote - summary: Create a Note - description: Create a note in any supported Crm 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 Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedNoteInput' + $ref: '#/components/schemas/UnifiedNoteInput' responses: '200': description: '' @@ -1625,52 +1315,6 @@ paths: $ref: '#/components/schemas/UnifiedNoteOutput' tags: *ref_20 security: *ref_21 - /crm/notes/batch: - post: - operationId: addNotes - summary: Add a batch of Notes - 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 Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedNoteInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedNoteOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedNoteOutput' - tags: *ref_20 - security: *ref_21 /crm/stages: get: operationId: getStages @@ -1834,28 +1478,6 @@ paths: $ref: '#/components/schemas/UnifiedTaskOutput' tags: *ref_24 security: *ref_25 - patch: - operationId: updateTask - summary: Update a Task - parameters: - - name: id - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTaskOutput' - tags: *ref_24 - security: *ref_25 /crm/tasks/{id}: get: operationId: getTask @@ -1887,52 +1509,6 @@ paths: $ref: '#/components/schemas/UnifiedTaskOutput' tags: *ref_24 security: *ref_25 - /crm/tasks/batch: - post: - operationId: addTasks - summary: Add a batch of Tasks - 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 Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTaskInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTaskOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTaskOutput' - tags: *ref_24 - security: *ref_25 /crm/users: get: operationId: getCrmUsers @@ -2203,52 +1779,6 @@ paths: $ref: '#/components/schemas/UnifiedCommentOutput' tags: *ref_30 security: *ref_31 - /ticketing/comments/batch: - post: - operationId: addComments - summary: Add a batch of Comments - 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: - type: array - items: - $ref: '#/components/schemas/UnifiedCommentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCommentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCommentOutput' - tags: *ref_30 - security: *ref_31 /ticketing/tags: get: operationId: getTicketingTags @@ -2998,56 +2528,6 @@ paths: data: $ref: '#/components/schemas/UnifiedBankInfoOutput' tags: *ref_45 - /hris/bankinfo/batch: - post: - operationId: addBankinfos - summary: Add a batch of Bankinfos - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBankInfoInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedBankInfoOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBankInfoOutput' - tags: *ref_45 /hris/benefit: get: operationId: getBenefits @@ -3149,56 +2629,6 @@ paths: data: $ref: '#/components/schemas/UnifiedBenefitOutput' tags: *ref_46 - /hris/benefit/batch: - post: - operationId: addBenefits - summary: Add a batch of Benefits - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBenefitInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedBenefitOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBenefitOutput' - tags: *ref_46 /hris/company: get: operationId: getCompanys @@ -3300,56 +2730,6 @@ paths: data: $ref: '#/components/schemas/UnifiedCompanyOutput' tags: *ref_47 - /hris/company/batch: - post: - operationId: addCompanys - summary: Add a batch of Companys - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCompanyOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyOutput' - tags: *ref_47 /hris/dependent: get: operationId: getDependents @@ -3451,56 +2831,6 @@ paths: data: $ref: '#/components/schemas/UnifiedDependentOutput' tags: *ref_48 - /hris/dependent/batch: - post: - operationId: addDependents - summary: Add a batch of Dependents - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDependentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedDependentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDependentOutput' - tags: *ref_48 /hris/employeepayrollrun: get: operationId: getEmployeePayrollRuns @@ -3602,56 +2932,6 @@ paths: data: $ref: '#/components/schemas/UnifiedEmployeePayrollRunOutput' tags: *ref_49 - /hris/employeepayrollrun/batch: - post: - operationId: addEmployeePayrollRuns - summary: Add a batch of EmployeePayrollRuns - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployeePayrollRunInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEmployeePayrollRunOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployeePayrollRunOutput' - tags: *ref_49 /hris/employee: get: operationId: getEmployees @@ -3753,56 +3033,6 @@ paths: data: $ref: '#/components/schemas/UnifiedEmployeeOutput' tags: *ref_50 - /hris/employee/batch: - post: - operationId: addEmployees - summary: Add a batch of Employees - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployeeInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEmployeeOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployeeOutput' - tags: *ref_50 /hris/employerbenefit: get: operationId: getEmployerBenefits @@ -3904,56 +3134,6 @@ paths: data: $ref: '#/components/schemas/UnifiedEmployerBenefitOutput' tags: *ref_51 - /hris/employerbenefit/batch: - post: - operationId: addEmployerBenefits - summary: Add a batch of EmployerBenefits - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployerBenefitInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEmployerBenefitOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmployerBenefitOutput' - tags: *ref_51 /hris/employment: get: operationId: getEmployments @@ -4055,65 +3235,15 @@ paths: data: $ref: '#/components/schemas/UnifiedEmploymentOutput' tags: *ref_52 - /hris/employment/batch: - post: - operationId: addEmployments - summary: Add a batch of Employments + /hris/group: + get: + operationId: getGroups + summary: List a batch of Groups parameters: - - name: connection_token + - name: x-connection-token required: true in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmploymentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEmploymentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmploymentOutput' - tags: *ref_52 - /hris/group: - get: - operationId: getGroups - summary: List a batch of Groups - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token + description: The connection token schema: type: string - name: remote_data @@ -4206,56 +3336,6 @@ paths: data: $ref: '#/components/schemas/UnifiedGroupOutput' tags: *ref_53 - /hris/group/batch: - post: - operationId: addGroups - summary: Add a batch of Groups - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedGroupInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedGroupOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedGroupOutput' - tags: *ref_53 /hris/location: get: operationId: getLocations @@ -4357,56 +3437,6 @@ paths: data: $ref: '#/components/schemas/UnifiedLocationOutput' tags: *ref_54 - /hris/location/batch: - post: - operationId: addLocations - summary: Add a batch of Locations - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedLocationInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedLocationOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedLocationOutput' - tags: *ref_54 /hris/paygroup: get: operationId: getPayGroups @@ -4508,56 +3538,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPayGroupOutput' tags: *ref_55 - /hris/paygroup/batch: - post: - operationId: addPayGroups - summary: Add a batch of PayGroups - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPayGroupInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPayGroupOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPayGroupOutput' - tags: *ref_55 /hris/payrollrun: get: operationId: getPayrollRuns @@ -4659,56 +3639,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPayrollRunOutput' tags: *ref_56 - /hris/payrollrun/batch: - post: - operationId: addPayrollRuns - summary: Add a batch of PayrollRuns - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPayrollRunInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPayrollRunOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPayrollRunOutput' - tags: *ref_56 /hris/timeoff: get: operationId: getTimeoffs @@ -4810,56 +3740,6 @@ paths: data: $ref: '#/components/schemas/UnifiedTimeoffOutput' tags: *ref_57 - /hris/timeoff/batch: - post: - operationId: addTimeoffs - summary: Add a batch of Timeoffs - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTimeoffInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTimeoffOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTimeoffOutput' - tags: *ref_57 /hris/timeoffbalance: get: operationId: getTimeoffBalances @@ -4961,73 +3841,23 @@ paths: data: $ref: '#/components/schemas/UnifiedTimeoffBalanceOutput' tags: *ref_58 - /hris/timeoffbalance/batch: - post: - operationId: addTimeoffBalances - summary: Add a batch of TimeoffBalances + /marketingautomation/action: + get: + operationId: getActions + summary: List a batch of Actions parameters: - - name: connection_token + - 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 Hris software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTimeoffBalanceInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTimeoffBalanceOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTimeoffBalanceOutput' - tags: *ref_58 - /marketingautomation/action: - get: - operationId: getActions - summary: List a batch of Actions - 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 Marketingautomation - software. + description: >- + Set to true to include data from the original Marketingautomation + software. schema: type: boolean responses: @@ -5118,58 +3948,6 @@ paths: data: $ref: '#/components/schemas/UnifiedActionOutput' tags: *ref_59 - /marketingautomation/action/batch: - post: - operationId: addActions - summary: Add a batch of Actions - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedActionInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedActionOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedActionOutput' - tags: *ref_59 /marketingautomation/automation: get: operationId: getAutomations @@ -5277,58 +4055,6 @@ paths: data: $ref: '#/components/schemas/UnifiedAutomationOutput' tags: *ref_60 - /marketingautomation/automation/batch: - post: - operationId: addAutomations - summary: Add a batch of Automations - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAutomationInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAutomationOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAutomationOutput' - tags: *ref_60 /marketingautomation/campaign: get: operationId: getCampaigns @@ -5436,58 +4162,6 @@ paths: data: $ref: '#/components/schemas/UnifiedCampaignOutput' tags: *ref_61 - /marketingautomation/campaign/batch: - post: - operationId: addCampaigns - summary: Add a batch of Campaigns - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCampaignInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCampaignOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: *ref_61 /marketingautomation/contact: get: operationId: getMarketingAutomationContacts @@ -5595,58 +4269,6 @@ paths: data: $ref: '#/components/schemas/UnifiedContactOutput' tags: *ref_62 - /marketingautomation/contact/batch: - post: - operationId: addMarketingAutomationContacts - summary: Add a batch of Contacts - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedContactOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_62 /marketingautomation/email: get: operationId: getEmails @@ -5754,58 +4376,6 @@ paths: data: $ref: '#/components/schemas/UnifiedEmailOutput' tags: *ref_63 - /marketingautomation/email/batch: - post: - operationId: addEmails - summary: Add a batch of Emails - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmailInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEmailOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEmailOutput' - tags: *ref_63 /marketingautomation/event: get: operationId: getMarketingAutomationEvents @@ -5913,67 +4483,15 @@ paths: data: $ref: '#/components/schemas/UnifiedEventOutput' tags: *ref_64 - /marketingautomation/event/batch: - post: - operationId: addEvents - summary: Add a batch of Events + /marketingautomation/list: + get: + operationId: getLists + summary: List a batch of Lists parameters: - - name: connection_token + - name: x-connection-token required: true in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEventInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEventOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEventOutput' - tags: *ref_64 - /marketingautomation/list: - get: - operationId: getLists - summary: List a batch of Lists - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token + description: The connection token schema: type: string - name: remote_data @@ -6072,58 +4590,6 @@ paths: data: $ref: '#/components/schemas/UnifiedListOutput' tags: *ref_65 - /marketingautomation/list/batch: - post: - operationId: addLists - summary: Add a batch of Lists - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedListInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedListOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedListOutput' - tags: *ref_65 /marketingautomation/message: get: operationId: getMessages @@ -6231,58 +4697,6 @@ paths: data: $ref: '#/components/schemas/UnifiedMessageOutput' tags: *ref_66 - /marketingautomation/message/batch: - post: - operationId: addMessages - summary: Add a batch of Messages - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedMessageInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedMessageOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedMessageOutput' - tags: *ref_66 /marketingautomation/template: get: operationId: getTemplates @@ -6390,58 +4804,6 @@ paths: data: $ref: '#/components/schemas/UnifiedTemplateOutput' tags: *ref_67 - /marketingautomation/template/batch: - post: - operationId: addTemplates - summary: Add a batch of Templates - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTemplateInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTemplateOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTemplateOutput' - tags: *ref_67 /marketingautomation/user: get: operationId: getMarketingAutomationUsers @@ -6549,58 +4911,6 @@ paths: data: $ref: '#/components/schemas/UnifiedUserOutput' tags: *ref_68 - /marketingautomation/user/batch: - post: - operationId: addMarketingAutomationUsers - summary: Add a batch of Users - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation - software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedUserInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedUserOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_68 /ats/activity: get: operationId: getActivitys @@ -6702,56 +5012,6 @@ paths: data: $ref: '#/components/schemas/UnifiedActivityOutput' tags: *ref_69 - /ats/activity/batch: - post: - operationId: addActivitys - summary: Add a batch of Activitys - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedActivityInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedActivityOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedActivityOutput' - tags: *ref_69 /ats/application: get: operationId: getApplications @@ -6853,56 +5113,6 @@ paths: data: $ref: '#/components/schemas/UnifiedApplicationOutput' tags: *ref_70 - /ats/application/batch: - post: - operationId: addApplications - summary: Add a batch of Applications - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedApplicationInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedApplicationOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedApplicationOutput' - tags: *ref_70 /ats/attachment: get: operationId: getAtsAttachments @@ -7004,56 +5214,6 @@ paths: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' tags: *ref_71 - /ats/attachment/batch: - post: - operationId: addAtsAttachments - summary: Add a batch of Attachments - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_71 /ats/candidate: get: operationId: getCandidates @@ -7155,56 +5315,6 @@ paths: data: $ref: '#/components/schemas/UnifiedCandidateOutput' tags: *ref_72 - /ats/candidate/batch: - post: - operationId: addCandidates - summary: Add a batch of Candidates - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCandidateInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCandidateOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCandidateOutput' - tags: *ref_72 /ats/department: get: operationId: getDepartments @@ -7306,56 +5416,6 @@ paths: data: $ref: '#/components/schemas/UnifiedDepartmentOutput' tags: *ref_73 - /ats/department/batch: - post: - operationId: addDepartments - summary: Add a batch of Departments - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDepartmentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedDepartmentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDepartmentOutput' - tags: *ref_73 /ats/interview: get: operationId: getInterviews @@ -7457,56 +5517,6 @@ paths: data: $ref: '#/components/schemas/UnifiedInterviewOutput' tags: *ref_74 - /ats/interview/batch: - post: - operationId: addInterviews - summary: Add a batch of Interviews - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedInterviewInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedInterviewOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedInterviewOutput' - tags: *ref_74 /ats/jobinterviewstage: get: operationId: getJobInterviewStages @@ -7608,56 +5618,6 @@ paths: data: $ref: '#/components/schemas/UnifiedJobInterviewStageOutput' tags: *ref_75 - /ats/jobinterviewstage/batch: - post: - operationId: addJobInterviewStages - summary: Add a batch of JobInterviewStages - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJobInterviewStageInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedJobInterviewStageOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJobInterviewStageOutput' - tags: *ref_75 /ats/job: get: operationId: getJobs @@ -7759,65 +5719,15 @@ paths: data: $ref: '#/components/schemas/UnifiedJobOutput' tags: *ref_76 - /ats/job/batch: - post: - operationId: addJobs - summary: Add a batch of Jobs + /ats/offer: + get: + operationId: getOffers + summary: List a batch of Offers parameters: - - name: connection_token + - name: x-connection-token required: true in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJobInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedJobOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJobOutput' - tags: *ref_76 - /ats/offer: - get: - operationId: getOffers - summary: List a batch of Offers - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token + description: The connection token schema: type: string - name: remote_data @@ -7910,56 +5820,6 @@ paths: data: $ref: '#/components/schemas/UnifiedOfferOutput' tags: *ref_77 - /ats/offer/batch: - post: - operationId: addOffers - summary: Add a batch of Offers - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedOfferInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedOfferOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedOfferOutput' - tags: *ref_77 /ats/office: get: operationId: getOffices @@ -8061,56 +5921,6 @@ paths: data: $ref: '#/components/schemas/UnifiedOfficeOutput' tags: *ref_78 - /ats/office/batch: - post: - operationId: addOffices - summary: Add a batch of Offices - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedOfficeInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedOfficeOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedOfficeOutput' - tags: *ref_78 /ats/rejectreason: get: operationId: getRejectReasons @@ -8212,56 +6022,6 @@ paths: data: $ref: '#/components/schemas/UnifiedRejectReasonOutput' tags: *ref_79 - /ats/rejectreason/batch: - post: - operationId: addRejectReasons - summary: Add a batch of RejectReasons - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedRejectReasonInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedRejectReasonOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedRejectReasonOutput' - tags: *ref_79 /ats/scorecard: get: operationId: getScoreCards @@ -8363,56 +6123,6 @@ paths: data: $ref: '#/components/schemas/UnifiedScoreCardOutput' tags: *ref_80 - /ats/scorecard/batch: - post: - operationId: addScoreCards - summary: Add a batch of ScoreCards - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedScoreCardInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedScoreCardOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedScoreCardOutput' - tags: *ref_80 /ats/screeningquestion: get: operationId: getScreeningQuestions @@ -8514,56 +6224,6 @@ paths: data: $ref: '#/components/schemas/UnifiedScreeningQuestionOutput' tags: *ref_81 - /ats/screeningquestion/batch: - post: - operationId: addScreeningQuestions - summary: Add a batch of ScreeningQuestions - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedScreeningQuestionInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedScreeningQuestionOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedScreeningQuestionOutput' - tags: *ref_81 /ats/tag: get: operationId: getAtsTags @@ -8665,65 +6325,15 @@ paths: data: $ref: '#/components/schemas/UnifiedTagOutput' tags: *ref_82 - /ats/tag/batch: - post: - operationId: addTags - summary: Add a batch of Tags + /ats/user: + get: + operationId: getAtsUsers + summary: List a batch of Users parameters: - - name: connection_token + - name: x-connection-token required: true in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTagInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTagOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTagOutput' - tags: *ref_82 - /ats/user: - get: - operationId: getAtsUsers - summary: List a batch of Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token + description: The connection token schema: type: string - name: remote_data @@ -8816,56 +6426,6 @@ paths: data: $ref: '#/components/schemas/UnifiedUserOutput' tags: *ref_83 - /ats/user/batch: - post: - operationId: addAtsUsers - summary: Add a batch of Users - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedUserInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedUserOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_83 /ats/eeocs: get: operationId: getEeocss @@ -8967,56 +6527,6 @@ paths: data: $ref: '#/components/schemas/UnifiedEeocsOutput' tags: *ref_84 - /ats/eeocs/batch: - post: - operationId: addEeocss - summary: Add a batch of Eeocss - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEeocsInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedEeocsOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedEeocsOutput' - tags: *ref_84 /accounting/account: get: operationId: getAccountingAccounts @@ -9118,56 +6628,6 @@ paths: data: $ref: '#/components/schemas/UnifiedAccountOutput' tags: *ref_85 - /accounting/account/batch: - post: - operationId: addAccounts - summary: Add a batch of Accounts - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAccountOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountOutput' - tags: *ref_85 /accounting/address: get: operationId: getAddresss @@ -9269,56 +6729,6 @@ paths: data: $ref: '#/components/schemas/UnifiedAddressOutput' tags: *ref_86 - /accounting/address/batch: - post: - operationId: addAddresss - summary: Add a batch of Addresss - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAddressInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAddressOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAddressOutput' - tags: *ref_86 /accounting/attachment: get: operationId: getAccountingAttachments @@ -9420,56 +6830,6 @@ paths: data: $ref: '#/components/schemas/UnifiedAttachmentOutput' tags: *ref_87 - /accounting/attachment/batch: - post: - operationId: addAccountingAttachments - summary: Add a batch of Attachments - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_87 /accounting/balancesheet: get: operationId: getBalanceSheets @@ -9571,56 +6931,6 @@ paths: data: $ref: '#/components/schemas/UnifiedBalanceSheetOutput' tags: *ref_88 - /accounting/balancesheet/batch: - post: - operationId: addBalanceSheets - summary: Add a batch of BalanceSheets - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBalanceSheetInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedBalanceSheetOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedBalanceSheetOutput' - tags: *ref_88 /accounting/cashflowstatement: get: operationId: getCashflowStatements @@ -9722,56 +7032,6 @@ paths: data: $ref: '#/components/schemas/UnifiedCashflowStatementOutput' tags: *ref_89 - /accounting/cashflowstatement/batch: - post: - operationId: addCashflowStatements - summary: Add a batch of CashflowStatements - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCashflowStatementInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCashflowStatementOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCashflowStatementOutput' - tags: *ref_89 /accounting/companyinfo: get: operationId: getCompanyInfos @@ -9873,56 +7133,6 @@ paths: data: $ref: '#/components/schemas/UnifiedCompanyInfoOutput' tags: *ref_90 - /accounting/companyinfo/batch: - post: - operationId: addCompanyInfos - summary: Add a batch of CompanyInfos - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyInfoInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCompanyInfoOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCompanyInfoOutput' - tags: *ref_90 /accounting/contact: get: operationId: getAccountingContacts @@ -10024,56 +7234,6 @@ paths: data: $ref: '#/components/schemas/UnifiedContactOutput' tags: *ref_91 - /accounting/contact/batch: - post: - operationId: addAccountingContacts - summary: Add a batch of Contacts - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedContactOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedContactOutput' - tags: *ref_91 /accounting/creditnote: get: operationId: getCreditNotes @@ -10138,51 +7298,23 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCreditNoteOutput' - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCreditNoteOutput' - tags: *ref_92 - /accounting/creditnote/{id}: - get: - operationId: getCreditNote - summary: Retrieve a CreditNote - description: Retrieve a creditnote from any connected Accounting software - parameters: - - name: id - required: true - in: path - description: id of the creditnote you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedCreditNoteOutput' + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCreditNoteOutput' tags: *ref_92 - /accounting/creditnote/batch: - post: - operationId: addCreditNotes - summary: Add a batch of CreditNotes + /accounting/creditnote/{id}: + get: + operationId: getCreditNote + summary: Retrieve a CreditNote + description: Retrieve a creditnote from any connected Accounting software parameters: - - name: connection_token + - name: id required: true - in: header + in: path + description: id of the creditnote you want to retrieve. schema: type: string - name: remote_data @@ -10191,20 +7323,6 @@ paths: description: Set to true to include data from the original Accounting software. schema: type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCreditNoteInput' responses: '200': description: '' @@ -10216,14 +7334,6 @@ paths: - properties: data: $ref: '#/components/schemas/UnifiedCreditNoteOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedCreditNoteOutput' tags: *ref_92 /accounting/expense: get: @@ -10326,56 +7436,6 @@ paths: data: $ref: '#/components/schemas/UnifiedExpenseOutput' tags: *ref_93 - /accounting/expense/batch: - post: - operationId: addExpenses - summary: Add a batch of Expenses - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedExpenseInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedExpenseOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedExpenseOutput' - tags: *ref_93 /accounting/incomestatement: get: operationId: getIncomeStatements @@ -10477,56 +7537,6 @@ paths: data: $ref: '#/components/schemas/UnifiedIncomeStatementOutput' tags: *ref_94 - /accounting/incomestatement/batch: - post: - operationId: addIncomeStatements - summary: Add a batch of IncomeStatements - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedIncomeStatementInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedIncomeStatementOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedIncomeStatementOutput' - tags: *ref_94 /accounting/invoice: get: operationId: getInvoices @@ -10628,56 +7638,6 @@ paths: data: $ref: '#/components/schemas/UnifiedInvoiceOutput' tags: *ref_95 - /accounting/invoice/batch: - post: - operationId: addInvoices - summary: Add a batch of Invoices - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedInvoiceInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedInvoiceOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedInvoiceOutput' - tags: *ref_95 /accounting/item: get: operationId: getItems @@ -10779,56 +7739,6 @@ paths: data: $ref: '#/components/schemas/UnifiedItemOutput' tags: *ref_96 - /accounting/item/batch: - post: - operationId: addItems - summary: Add a batch of Items - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedItemInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedItemOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedItemOutput' - tags: *ref_96 /accounting/journalentry: get: operationId: getJournalEntrys @@ -10930,56 +7840,6 @@ paths: data: $ref: '#/components/schemas/UnifiedJournalEntryOutput' tags: *ref_97 - /accounting/journalentry/batch: - post: - operationId: addJournalEntrys - summary: Add a batch of JournalEntrys - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJournalEntryInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedJournalEntryOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedJournalEntryOutput' - tags: *ref_97 /accounting/payment: get: operationId: getPayments @@ -11081,56 +7941,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPaymentOutput' tags: *ref_98 - /accounting/payment/batch: - post: - operationId: addPayments - summary: Add a batch of Payments - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPaymentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPaymentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPaymentOutput' - tags: *ref_98 /accounting/phonenumber: get: operationId: getPhoneNumbers @@ -11232,56 +8042,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPhoneNumberOutput' tags: *ref_99 - /accounting/phonenumber/batch: - post: - operationId: addPhoneNumbers - summary: Add a batch of PhoneNumbers - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPhoneNumberInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPhoneNumberOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPhoneNumberOutput' - tags: *ref_99 /accounting/purchaseorder: get: operationId: getPurchaseOrders @@ -11383,56 +8143,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' tags: *ref_100 - /accounting/purchaseorder/batch: - post: - operationId: addPurchaseOrders - summary: Add a batch of PurchaseOrders - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPurchaseOrderInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPurchaseOrderOutput' - tags: *ref_100 /accounting/taxrate: get: operationId: getTaxRates @@ -11534,56 +8244,6 @@ paths: data: $ref: '#/components/schemas/UnifiedTaxRateOutput' tags: *ref_101 - /accounting/taxrate/batch: - post: - operationId: addTaxRates - summary: Add a batch of TaxRates - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTaxRateInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTaxRateOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTaxRateOutput' - tags: *ref_101 /accounting/trackingcategory: get: operationId: getTrackingCategorys @@ -11685,56 +8345,6 @@ paths: data: $ref: '#/components/schemas/UnifiedTrackingCategoryOutput' tags: *ref_102 - /accounting/trackingcategory/batch: - post: - operationId: addTrackingCategorys - summary: Add a batch of TrackingCategorys - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTrackingCategoryInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTrackingCategoryOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTrackingCategoryOutput' - tags: *ref_102 /accounting/transaction: get: operationId: getTransactions @@ -11836,56 +8446,6 @@ paths: data: $ref: '#/components/schemas/UnifiedTransactionOutput' tags: *ref_103 - /accounting/transaction/batch: - post: - operationId: addTransactions - summary: Add a batch of Transactions - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTransactionInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedTransactionOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedTransactionOutput' - tags: *ref_103 /accounting/vendorcredit: get: operationId: getVendorCredits @@ -11987,56 +8547,6 @@ paths: data: $ref: '#/components/schemas/UnifiedVendorCreditOutput' tags: *ref_104 - /accounting/vendorcredit/batch: - post: - operationId: addVendorCredits - summary: Add a batch of VendorCredits - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedVendorCreditInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedVendorCreditOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedVendorCreditOutput' - tags: *ref_104 /filestorage/drive: get: operationId: getDrives @@ -12138,56 +8648,6 @@ paths: data: $ref: '#/components/schemas/UnifiedDriveOutput' tags: *ref_105 - /filestorage/drive/batch: - post: - operationId: addDrives - summary: Add a batch of Drives - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Filestorage software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDriveInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedDriveOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedDriveOutput' - tags: *ref_105 /filestorage/file: get: operationId: getFiles @@ -12289,56 +8749,6 @@ paths: data: $ref: '#/components/schemas/UnifiedFileOutput' tags: *ref_106 - /filestorage/file/batch: - post: - operationId: addFiles - summary: Add a batch of Files - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Filestorage software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedFileInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedFileOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedFileOutput' - tags: *ref_106 /filestorage/folder: get: operationId: getFolders @@ -12440,56 +8850,6 @@ paths: data: $ref: '#/components/schemas/UnifiedFolderOutput' tags: *ref_107 - /filestorage/folder/batch: - post: - operationId: addFolders - summary: Add a batch of Folders - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Filestorage software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedFolderInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedFolderOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedFolderOutput' - tags: *ref_107 /filestorage/sharedlink: get: operationId: getSharedlinks @@ -12591,56 +8951,6 @@ paths: data: $ref: '#/components/schemas/UnifiedSharedLinkOutput' tags: *ref_108 - /filestorage/sharedlink/batch: - post: - operationId: addSharedlinks - summary: Add a batch of Sharedlinks - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Filestorage software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedSharedLinkInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedSharedLinkOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedSharedLinkOutput' - tags: *ref_108 /filestorage/permission: get: operationId: getPermissions @@ -12712,27 +9022,6 @@ paths: schema: $ref: '#/components/schemas/UnifiedPermissionOutput' tags: *ref_109 - patch: - operationId: updatePermission - summary: Update a Permission - parameters: - - name: id - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPermissionOutput' - tags: *ref_109 /filestorage/permission/{id}: get: operationId: getPermission @@ -12763,56 +9052,6 @@ paths: data: $ref: '#/components/schemas/UnifiedPermissionOutput' tags: *ref_109 - /filestorage/permission/batch: - post: - operationId: addPermissions - summary: Add a batch of Permissions - parameters: - - name: connection_token - required: true - in: header - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Filestorage software. - schema: - type: boolean - - name: x-connection-token - in: header - description: The connection token - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPermissionInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedPermissionOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedPermissionOutput' - tags: *ref_109 /ticketing/attachments: get: operationId: getTicketingAttachments @@ -12962,65 +9201,12 @@ paths: $ref: '#/components/schemas/UnifiedAttachmentOutput' tags: *ref_110 security: *ref_111 - /ticketing/attachments/batch: - post: - operationId: addTicketingAttachments - summary: Add a batch of Attachments - 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: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentInput' - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ApiResponse' - - properties: - data: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UnifiedAttachmentOutput' - tags: *ref_110 - security: *ref_111 info: title: Unified Panora API description: The Panora API description version: '1.0' contact: {} tags: [] -x-speakeasy-name-override: - - operationId: ^get.* - methodNameOverride: retrieve - - operationId: ^list.* - methodNameOverride: list - - operationId: ^new.* - methodNameOverride: create servers: - url: https://api.panora.dev description: Production server