diff --git a/package.json b/package.json index 5cc734591..65e66f72b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/node", - "version": "3.8.0", + "version": "3.9.0", "description": "Apideck Node.js SDK", "keywords": [ "apideck", diff --git a/src/Apideck.ts b/src/Apideck.ts index 5dbd6bc9e..ef8c112b0 100644 --- a/src/Apideck.ts +++ b/src/Apideck.ts @@ -61,7 +61,7 @@ export class Apideck { 'x-apideck-app-id': config.appId, 'x-apideck-consumer-id': config.consumerId || '', 'x-apideck-service-id': config?.serviceId || '', - 'user-agent': 'Apideck-node-sdk/3.8.0 Unify-spec/10.13.0' + 'user-agent': 'Apideck-node-sdk/3.9.0 Unify-spec/10.17.2' } }) diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index c9bbca0d3..b7e6b6ad6 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -65,6 +65,9 @@ BalanceSheetLiabilitiesAccount.md BalanceSheetReports.md BalanceSheetUncategorizedItemsAccount.md BankAccount.md +BankFeedAccount.md +BankFeedStatement.md +BankFeedStatementTransactions.md Benefit.md Bill.md BillLineItem.md @@ -124,6 +127,8 @@ CreateApplicantResponse.md CreateApplicationResponse.md CreateAttachmentRequest.md CreateAttachmentResponse.md +CreateBankFeedAccountResponse.md +CreateBankFeedStatementResponse.md CreateBillPaymentResponse.md CreateBillResponse.md CreateCallbackState.md @@ -137,6 +142,8 @@ CreateContactResponse.md CreateCreditNoteResponse.md CreateCustomMappingRequest.md CreateCustomMappingResponse.md +CreateCustomObjectResponse.md +CreateCustomObjectSchemaResponse.md CreateCustomerResponse.md CreateDepartmentResponse.md CreateDriveGroupResponse.md @@ -189,6 +196,7 @@ CreateWebhookResponse.md CreditNote.md CreditNotesFilter.md CreditNotesSort.md +CreditOrDebit.md CrmApi.md CrmApiTest.api.test.ts CrmEventType.md @@ -196,6 +204,14 @@ Currency.md CustomField.md CustomFieldFinder.md CustomMapping.md +CustomMappings.md +CustomObject.md +CustomObjectFields.md +CustomObjectSchema.md +CustomObjectSchemaFields.md +CustomObjectSchemaOptions.md +CustomObjectSchemasSort.md +CustomObjectsSort.md Customer.md CustomersFilter.md CustomersSort.md @@ -206,6 +222,8 @@ DeleteActivityResponse.md DeleteApplicantResponse.md DeleteApplicationResponse.md DeleteAttachmentResponse.md +DeleteBankFeedAccountResponse.md +DeleteBankFeedStatementResponse.md DeleteBillPaymentResponse.md DeleteBillResponse.md DeleteCommentResponse.md @@ -213,6 +231,8 @@ DeleteCompanyResponse.md DeleteConsumerResponse.md DeleteContactResponse.md DeleteCreditNoteResponse.md +DeleteCustomObjectResponse.md +DeleteCustomObjectSchemaResponse.md DeleteCustomerResponse.md DeleteDepartmentResponse.md DeleteDriveGroupResponse.md @@ -272,6 +292,7 @@ EcommerceDiscount.md EcommerceEventType.md EcommerceOrder.md EcommerceOrderLineItem.md +EcommerceOrderRefund.md EcommerceOrderStatus.md EcommerceOrdersFilter.md EcommerceProduct.md @@ -333,6 +354,10 @@ GetApplicationsResponse.md GetAttachmentResponse.md GetAttachmentsResponse.md GetBalanceSheetResponse.md +GetBankFeedAccountResponse.md +GetBankFeedAccountsResponse.md +GetBankFeedStatementResponse.md +GetBankFeedStatementsResponse.md GetBillPaymentResponse.md GetBillPaymentsResponse.md GetBillResponse.md @@ -365,6 +390,10 @@ GetCreditNotesResponse.md GetCustomFieldsResponse.md GetCustomMappingResponse.md GetCustomMappingsResponse.md +GetCustomObjectResponse.md +GetCustomObjectSchemaResponse.md +GetCustomObjectSchemasResponse.md +GetCustomObjectsResponse.md GetCustomerResponse.md GetCustomersResponse.md GetDepartmentResponse.md @@ -480,6 +509,7 @@ InvoiceItemSalesDetails.md InvoiceItemsFilter.md InvoiceItemsSort.md InvoiceLineItem.md +InvoicePaymentAllocations.md InvoiceResponse.md InvoicesFilter.md InvoicesSort.md @@ -657,6 +687,8 @@ UpdateAccountingLocationResponse.md UpdateActivityResponse.md UpdateApplicantResponse.md UpdateApplicationResponse.md +UpdateBankFeedAccountResponse.md +UpdateBankFeedStatementResponse.md UpdateBillPaymentResponse.md UpdateBillResponse.md UpdateCommentResponse.md @@ -668,6 +700,8 @@ UpdateContactResponse.md UpdateCreditNoteResponse.md UpdateCustomMappingRequest.md UpdateCustomMappingResponse.md +UpdateCustomObjectResponse.md +UpdateCustomObjectSchemaResponse.md UpdateCustomerResponse.md UpdateDepartmentResponse.md UpdateDriveGroupResponse.md @@ -801,6 +835,9 @@ models/BalanceSheetLiabilitiesAccount.ts models/BalanceSheetReports.ts models/BalanceSheetUncategorizedItemsAccount.ts models/BankAccount.ts +models/BankFeedAccount.ts +models/BankFeedStatement.ts +models/BankFeedStatementTransactions.ts models/Benefit.ts models/Bill.ts models/BillLineItem.ts @@ -858,6 +895,8 @@ models/CreateApplicantResponse.ts models/CreateApplicationResponse.ts models/CreateAttachmentRequest.ts models/CreateAttachmentResponse.ts +models/CreateBankFeedAccountResponse.ts +models/CreateBankFeedStatementResponse.ts models/CreateBillPaymentResponse.ts models/CreateBillResponse.ts models/CreateCallbackState.ts @@ -871,6 +910,8 @@ models/CreateContactResponse.ts models/CreateCreditNoteResponse.ts models/CreateCustomMappingRequest.ts models/CreateCustomMappingResponse.ts +models/CreateCustomObjectResponse.ts +models/CreateCustomObjectSchemaResponse.ts models/CreateCustomerResponse.ts models/CreateDepartmentResponse.ts models/CreateDriveGroupResponse.ts @@ -923,11 +964,20 @@ models/CreateWebhookResponse.ts models/CreditNote.ts models/CreditNotesFilter.ts models/CreditNotesSort.ts +models/CreditOrDebit.ts models/CrmEventType.ts models/Currency.ts models/CustomField.ts models/CustomFieldFinder.ts models/CustomMapping.ts +models/CustomMappings.ts +models/CustomObject.ts +models/CustomObjectFields.ts +models/CustomObjectSchema.ts +models/CustomObjectSchemaFields.ts +models/CustomObjectSchemaOptions.ts +models/CustomObjectSchemasSort.ts +models/CustomObjectsSort.ts models/Customer.ts models/CustomersFilter.ts models/CustomersSort.ts @@ -938,6 +988,8 @@ models/DeleteActivityResponse.ts models/DeleteApplicantResponse.ts models/DeleteApplicationResponse.ts models/DeleteAttachmentResponse.ts +models/DeleteBankFeedAccountResponse.ts +models/DeleteBankFeedStatementResponse.ts models/DeleteBillPaymentResponse.ts models/DeleteBillResponse.ts models/DeleteCommentResponse.ts @@ -945,6 +997,8 @@ models/DeleteCompanyResponse.ts models/DeleteConsumerResponse.ts models/DeleteContactResponse.ts models/DeleteCreditNoteResponse.ts +models/DeleteCustomObjectResponse.ts +models/DeleteCustomObjectSchemaResponse.ts models/DeleteCustomerResponse.ts models/DeleteDepartmentResponse.ts models/DeleteDriveGroupResponse.ts @@ -1002,6 +1056,7 @@ models/EcommerceDiscount.ts models/EcommerceEventType.ts models/EcommerceOrder.ts models/EcommerceOrderLineItem.ts +models/EcommerceOrderRefund.ts models/EcommerceOrderStatus.ts models/EcommerceOrdersFilter.ts models/EcommerceProduct.ts @@ -1060,6 +1115,10 @@ models/GetApplicationsResponse.ts models/GetAttachmentResponse.ts models/GetAttachmentsResponse.ts models/GetBalanceSheetResponse.ts +models/GetBankFeedAccountResponse.ts +models/GetBankFeedAccountsResponse.ts +models/GetBankFeedStatementResponse.ts +models/GetBankFeedStatementsResponse.ts models/GetBillPaymentResponse.ts models/GetBillPaymentsResponse.ts models/GetBillResponse.ts @@ -1092,6 +1151,10 @@ models/GetCreditNotesResponse.ts models/GetCustomFieldsResponse.ts models/GetCustomMappingResponse.ts models/GetCustomMappingsResponse.ts +models/GetCustomObjectResponse.ts +models/GetCustomObjectSchemaResponse.ts +models/GetCustomObjectSchemasResponse.ts +models/GetCustomObjectsResponse.ts models/GetCustomerResponse.ts models/GetCustomersResponse.ts models/GetDepartmentResponse.ts @@ -1205,6 +1268,7 @@ models/InvoiceItemSalesDetails.ts models/InvoiceItemsFilter.ts models/InvoiceItemsSort.ts models/InvoiceLineItem.ts +models/InvoicePaymentAllocations.ts models/InvoiceResponse.ts models/InvoicesFilter.ts models/InvoicesSort.ts @@ -1375,6 +1439,8 @@ models/UpdateAccountingLocationResponse.ts models/UpdateActivityResponse.ts models/UpdateApplicantResponse.ts models/UpdateApplicationResponse.ts +models/UpdateBankFeedAccountResponse.ts +models/UpdateBankFeedStatementResponse.ts models/UpdateBillPaymentResponse.ts models/UpdateBillResponse.ts models/UpdateCommentResponse.ts @@ -1386,6 +1452,8 @@ models/UpdateContactResponse.ts models/UpdateCreditNoteResponse.ts models/UpdateCustomMappingRequest.ts models/UpdateCustomMappingResponse.ts +models/UpdateCustomObjectResponse.ts +models/UpdateCustomObjectSchemaResponse.ts models/UpdateCustomerResponse.ts models/UpdateDepartmentResponse.ts models/UpdateDriveGroupResponse.ts diff --git a/src/gen/apis/AccountingApi.ts b/src/gen/apis/AccountingApi.ts index c87ee764a..d3fb2c171 100644 --- a/src/gen/apis/AccountingApi.ts +++ b/src/gen/apis/AccountingApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,10 @@ import { AgedReportFilter, AttachmentReferenceType, BalanceSheetFilter, + BankFeedAccount, + BankFeedAccountToJSON, + BankFeedStatement, + BankFeedStatementToJSON, Bill, BillPayment, BillPaymentToJSON, @@ -32,6 +36,10 @@ import { CreateAccountingDepartmentResponseFromJSON, CreateAccountingLocationResponse, CreateAccountingLocationResponseFromJSON, + CreateBankFeedAccountResponse, + CreateBankFeedAccountResponseFromJSON, + CreateBankFeedStatementResponse, + CreateBankFeedStatementResponseFromJSON, CreateBillPaymentResponse, CreateBillPaymentResponseFromJSON, CreateBillResponse, @@ -76,6 +84,10 @@ import { DeleteAccountingLocationResponseFromJSON, DeleteAttachmentResponse, DeleteAttachmentResponseFromJSON, + DeleteBankFeedAccountResponse, + DeleteBankFeedAccountResponseFromJSON, + DeleteBankFeedStatementResponse, + DeleteBankFeedStatementResponseFromJSON, DeleteBillPaymentResponse, DeleteBillPaymentResponseFromJSON, DeleteBillResponse, @@ -124,6 +136,14 @@ import { GetAttachmentsResponseFromJSON, GetBalanceSheetResponse, GetBalanceSheetResponseFromJSON, + GetBankFeedAccountResponse, + GetBankFeedAccountResponseFromJSON, + GetBankFeedAccountsResponse, + GetBankFeedAccountsResponseFromJSON, + GetBankFeedStatementResponse, + GetBankFeedStatementResponseFromJSON, + GetBankFeedStatementsResponse, + GetBankFeedStatementsResponseFromJSON, GetBillPaymentResponse, GetBillPaymentResponseFromJSON, GetBillPaymentsResponse, @@ -230,6 +250,10 @@ import { UpdateAccountingDepartmentResponseFromJSON, UpdateAccountingLocationResponse, UpdateAccountingLocationResponseFromJSON, + UpdateBankFeedAccountResponse, + UpdateBankFeedAccountResponseFromJSON, + UpdateBankFeedStatementResponse, + UpdateBankFeedStatementResponseFromJSON, UpdateBillPaymentResponse, UpdateBillPaymentResponseFromJSON, UpdateBillResponse, @@ -335,6 +359,96 @@ export interface AccountingApiBalanceSheetOneRequest { raw?: boolean } +export interface AccountingApiBankFeedAccountsAddRequest { + bankFeedAccount: BankFeedAccount + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface AccountingApiBankFeedAccountsAllRequest { + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number + passThrough?: PassThroughQuery + fields?: string | null +} + +export interface AccountingApiBankFeedAccountsDeleteRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiBankFeedAccountsOneRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean + fields?: string | null +} + +export interface AccountingApiBankFeedAccountsUpdateRequest { + id: string + bankFeedAccount: BankFeedAccount + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiBankFeedStatementsAddRequest { + bankFeedStatement: BankFeedStatement + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface AccountingApiBankFeedStatementsAllRequest { + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number + passThrough?: PassThroughQuery + fields?: string | null +} + +export interface AccountingApiBankFeedStatementsDeleteRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface AccountingApiBankFeedStatementsOneRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean + fields?: string | null +} + +export interface AccountingApiBankFeedStatementsUpdateRequest { + id: string + bankFeedStatement: BankFeedStatement + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + export interface AccountingApiBillPaymentsAddRequest { billPayment: BillPayment raw?: boolean @@ -1702,6 +1816,748 @@ export class AccountingApi extends runtime.BaseAPI { return await response.value() } + /** + * Create Bank Feed Account + * Create Bank Feed Account + */ + async bankFeedAccountsAddRaw( + requestParameters: AccountingApiBankFeedAccountsAddRequest, + initOverrides?: RequestInit + ): Promise> { + if ( + requestParameters.bankFeedAccount === null || + requestParameters.bankFeedAccount === undefined + ) { + throw new runtime.RequiredError( + 'bankFeedAccount', + 'Required parameter requestParameters.bankFeedAccount was null or undefined when calling bankFeedAccountsAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-accounts`, + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: BankFeedAccountToJSON(requestParameters.bankFeedAccount) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateBankFeedAccountResponseFromJSON(jsonValue) + ) + } + + /** + * Create Bank Feed Account + * Create Bank Feed Account + */ + async bankFeedAccountsAdd( + requestParameters: AccountingApiBankFeedAccountsAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedAccountsAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List Bank Feed Accounts + * List Bank Feed Accounts + */ + async bankFeedAccountsAllRaw( + requestParameters: AccountingApiBankFeedAccountsAllRequest, + initOverrides?: RequestInit + ): Promise> { + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } + + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-accounts`, + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetBankFeedAccountsResponseFromJSON(jsonValue) + ) + } + + /** + * List Bank Feed Accounts + * List Bank Feed Accounts + */ + async bankFeedAccountsAll( + requestParameters: AccountingApiBankFeedAccountsAllRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedAccountsAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete Bank Feed Account + * Delete Bank Feed Account + */ + async bankFeedAccountsDeleteRaw( + requestParameters: AccountingApiBankFeedAccountsDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedAccountsDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-accounts/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + DeleteBankFeedAccountResponseFromJSON(jsonValue) + ) + } + + /** + * Delete Bank Feed Account + * Delete Bank Feed Account + */ + async bankFeedAccountsDelete( + requestParameters: AccountingApiBankFeedAccountsDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedAccountsDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get Bank Feed Account + * Get Bank Feed Account + */ + async bankFeedAccountsOneRaw( + requestParameters: AccountingApiBankFeedAccountsOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedAccountsOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-accounts/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetBankFeedAccountResponseFromJSON(jsonValue) + ) + } + + /** + * Get Bank Feed Account + * Get Bank Feed Account + */ + async bankFeedAccountsOne( + requestParameters: AccountingApiBankFeedAccountsOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedAccountsOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update Bank Feed Account + * Update Bank Feed Account + */ + async bankFeedAccountsUpdateRaw( + requestParameters: AccountingApiBankFeedAccountsUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedAccountsUpdate.' + ) + } + + if ( + requestParameters.bankFeedAccount === null || + requestParameters.bankFeedAccount === undefined + ) { + throw new runtime.RequiredError( + 'bankFeedAccount', + 'Required parameter requestParameters.bankFeedAccount was null or undefined when calling bankFeedAccountsUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-accounts/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: BankFeedAccountToJSON(requestParameters.bankFeedAccount) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + UpdateBankFeedAccountResponseFromJSON(jsonValue) + ) + } + + /** + * Update Bank Feed Account + * Update Bank Feed Account + */ + async bankFeedAccountsUpdate( + requestParameters: AccountingApiBankFeedAccountsUpdateRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedAccountsUpdateRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Create Bank Feed Statement + * Create Bank Feed Statement + */ + async bankFeedStatementsAddRaw( + requestParameters: AccountingApiBankFeedStatementsAddRequest, + initOverrides?: RequestInit + ): Promise> { + if ( + requestParameters.bankFeedStatement === null || + requestParameters.bankFeedStatement === undefined + ) { + throw new runtime.RequiredError( + 'bankFeedStatement', + 'Required parameter requestParameters.bankFeedStatement was null or undefined when calling bankFeedStatementsAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-statements`, + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: BankFeedStatementToJSON(requestParameters.bankFeedStatement) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateBankFeedStatementResponseFromJSON(jsonValue) + ) + } + + /** + * Create Bank Feed Statement + * Create Bank Feed Statement + */ + async bankFeedStatementsAdd( + requestParameters: AccountingApiBankFeedStatementsAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedStatementsAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List Bank Feed Statements + * List Bank Feed Statements + */ + async bankFeedStatementsAllRaw( + requestParameters: AccountingApiBankFeedStatementsAllRequest, + initOverrides?: RequestInit + ): Promise> { + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } + + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-statements`, + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetBankFeedStatementsResponseFromJSON(jsonValue) + ) + } + + /** + * List Bank Feed Statements + * List Bank Feed Statements + */ + async bankFeedStatementsAll( + requestParameters: AccountingApiBankFeedStatementsAllRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedStatementsAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete Bank Feed Statement + * Delete Bank Feed Statement + */ + async bankFeedStatementsDeleteRaw( + requestParameters: AccountingApiBankFeedStatementsDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedStatementsDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-statements/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + DeleteBankFeedStatementResponseFromJSON(jsonValue) + ) + } + + /** + * Delete Bank Feed Statement + * Delete Bank Feed Statement + */ + async bankFeedStatementsDelete( + requestParameters: AccountingApiBankFeedStatementsDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedStatementsDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get Bank Feed Statement + * Get Bank Feed Statement + */ + async bankFeedStatementsOneRaw( + requestParameters: AccountingApiBankFeedStatementsOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedStatementsOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-statements/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetBankFeedStatementResponseFromJSON(jsonValue) + ) + } + + /** + * Get Bank Feed Statement + * Get Bank Feed Statement + */ + async bankFeedStatementsOne( + requestParameters: AccountingApiBankFeedStatementsOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedStatementsOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update Bank Feed Statement + * Update Bank Feed Statement + */ + async bankFeedStatementsUpdateRaw( + requestParameters: AccountingApiBankFeedStatementsUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling bankFeedStatementsUpdate.' + ) + } + + if ( + requestParameters.bankFeedStatement === null || + requestParameters.bankFeedStatement === undefined + ) { + throw new runtime.RequiredError( + 'bankFeedStatement', + 'Required parameter requestParameters.bankFeedStatement was null or undefined when calling bankFeedStatementsUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/accounting/bank-feed-statements/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: BankFeedStatementToJSON(requestParameters.bankFeedStatement) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + UpdateBankFeedStatementResponseFromJSON(jsonValue) + ) + } + + /** + * Update Bank Feed Statement + * Update Bank Feed Statement + */ + async bankFeedStatementsUpdate( + requestParameters: AccountingApiBankFeedStatementsUpdateRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.bankFeedStatementsUpdateRaw(requestParameters, initOverrides) + return await response.value() + } + /** * Create Bill Payment * Create Bill Payment diff --git a/src/gen/apis/AtsApi.ts b/src/gen/apis/AtsApi.ts index e9a54238e..5e651a55a 100644 --- a/src/gen/apis/AtsApi.ts +++ b/src/gen/apis/AtsApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/ConnectorApi.ts b/src/gen/apis/ConnectorApi.ts index 1afffb0ea..1a93a3d43 100644 --- a/src/gen/apis/ConnectorApi.ts +++ b/src/gen/apis/ConnectorApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/CrmApi.ts b/src/gen/apis/CrmApi.ts index 52f57ef42..d0e4c58b8 100644 --- a/src/gen/apis/CrmApi.ts +++ b/src/gen/apis/CrmApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,6 +31,10 @@ import { CreateCompanyResponseFromJSON, CreateContactResponse, CreateContactResponseFromJSON, + CreateCustomObjectResponse, + CreateCustomObjectResponseFromJSON, + CreateCustomObjectSchemaResponse, + CreateCustomObjectSchemaResponseFromJSON, CreateLeadResponse, CreateLeadResponseFromJSON, CreateNoteResponse, @@ -41,12 +45,20 @@ import { CreatePipelineResponseFromJSON, CreateUserResponse, CreateUserResponseFromJSON, + CustomObject, + CustomObjectSchema, + CustomObjectSchemaToJSON, + CustomObjectToJSON, DeleteActivityResponse, DeleteActivityResponseFromJSON, DeleteCompanyResponse, DeleteCompanyResponseFromJSON, DeleteContactResponse, DeleteContactResponseFromJSON, + DeleteCustomObjectResponse, + DeleteCustomObjectResponseFromJSON, + DeleteCustomObjectSchemaResponse, + DeleteCustomObjectSchemaResponseFromJSON, DeleteLeadResponse, DeleteLeadResponseFromJSON, DeleteNoteResponse, @@ -69,6 +81,14 @@ import { GetContactResponseFromJSON, GetContactsResponse, GetContactsResponseFromJSON, + GetCustomObjectResponse, + GetCustomObjectResponseFromJSON, + GetCustomObjectSchemaResponse, + GetCustomObjectSchemaResponseFromJSON, + GetCustomObjectSchemasResponse, + GetCustomObjectSchemasResponseFromJSON, + GetCustomObjectsResponse, + GetCustomObjectsResponseFromJSON, GetLeadResponse, GetLeadResponseFromJSON, GetLeadsResponse, @@ -108,6 +128,10 @@ import { UpdateCompanyResponseFromJSON, UpdateContactResponse, UpdateContactResponseFromJSON, + UpdateCustomObjectResponse, + UpdateCustomObjectResponseFromJSON, + UpdateCustomObjectSchemaResponse, + UpdateCustomObjectSchemaResponseFromJSON, UpdateLeadResponse, UpdateLeadResponseFromJSON, UpdateNoteResponse, @@ -265,6 +289,98 @@ export interface CrmApiContactsUpdateRequest { raw?: boolean } +export interface CrmApiCustomObjectSchemasAddRequest { + customObjectSchema: CustomObjectSchema + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface CrmApiCustomObjectSchemasAllRequest { + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number + passThrough?: PassThroughQuery +} + +export interface CrmApiCustomObjectSchemasDeleteRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface CrmApiCustomObjectSchemasOneRequest { + id: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface CrmApiCustomObjectSchemasUpdateRequest { + id: string + customObjectSchema: CustomObjectSchema + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface CrmApiCustomObjectsAddRequest { + objectId: string + customObject: CustomObject + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string +} + +export interface CrmApiCustomObjectsAllRequest { + objectId: string + raw?: boolean + consumerId?: string + appId?: string + serviceId?: string + cursor?: string | null + limit?: number + passThrough?: PassThroughQuery + fields?: string | null +} + +export interface CrmApiCustomObjectsDeleteRequest { + id: string + objectId: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface CrmApiCustomObjectsOneRequest { + id: string + objectId: string + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + +export interface CrmApiCustomObjectsUpdateRequest { + id: string + objectId: string + customObject: CustomObject + consumerId?: string + appId?: string + serviceId?: string + raw?: boolean +} + export interface CrmApiLeadsAddRequest { lead: Lead raw?: boolean @@ -1617,6 +1733,768 @@ export class CrmApi extends runtime.BaseAPI { return await response.value() } + /** + * Create custom object schema + * Create custom object schema + */ + async customObjectSchemasAddRaw( + requestParameters: CrmApiCustomObjectSchemasAddRequest, + initOverrides?: RequestInit + ): Promise> { + if ( + requestParameters.customObjectSchema === null || + requestParameters.customObjectSchema === undefined + ) { + throw new runtime.RequiredError( + 'customObjectSchema', + 'Required parameter requestParameters.customObjectSchema was null or undefined when calling customObjectSchemasAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-object-schemas`, + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: CustomObjectSchemaToJSON(requestParameters.customObjectSchema) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateCustomObjectSchemaResponseFromJSON(jsonValue) + ) + } + + /** + * Create custom object schema + * Create custom object schema + */ + async customObjectSchemasAdd( + requestParameters: CrmApiCustomObjectSchemasAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectSchemasAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List custom object schemas + * List custom object schemas + */ + async customObjectSchemasAllRaw( + requestParameters: CrmApiCustomObjectSchemasAllRequest, + initOverrides?: RequestInit + ): Promise> { + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } + + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-object-schemas`, + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCustomObjectSchemasResponseFromJSON(jsonValue) + ) + } + + /** + * List custom object schemas + * List custom object schemas + */ + async customObjectSchemasAll( + requestParameters: CrmApiCustomObjectSchemasAllRequest = {}, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectSchemasAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete custom object schema + * Delete custom object schema + */ + async customObjectSchemasDeleteRaw( + requestParameters: CrmApiCustomObjectSchemasDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectSchemasDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-object-schemas/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + DeleteCustomObjectSchemaResponseFromJSON(jsonValue) + ) + } + + /** + * Delete custom object schema + * Delete custom object schema + */ + async customObjectSchemasDelete( + requestParameters: CrmApiCustomObjectSchemasDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectSchemasDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get custom object schema + * Get custom object schema + */ + async customObjectSchemasOneRaw( + requestParameters: CrmApiCustomObjectSchemasOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectSchemasOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-object-schemas/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCustomObjectSchemaResponseFromJSON(jsonValue) + ) + } + + /** + * Get custom object schema + * Get custom object schema + */ + async customObjectSchemasOne( + requestParameters: CrmApiCustomObjectSchemasOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectSchemasOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update custom object schema + * Update custom object schema + */ + async customObjectSchemasUpdateRaw( + requestParameters: CrmApiCustomObjectSchemasUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectSchemasUpdate.' + ) + } + + if ( + requestParameters.customObjectSchema === null || + requestParameters.customObjectSchema === undefined + ) { + throw new runtime.RequiredError( + 'customObjectSchema', + 'Required parameter requestParameters.customObjectSchema was null or undefined when calling customObjectSchemasUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-object-schemas/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(requestParameters.id)) + ), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: CustomObjectSchemaToJSON(requestParameters.customObjectSchema) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + UpdateCustomObjectSchemaResponseFromJSON(jsonValue) + ) + } + + /** + * Update custom object schema + * Update custom object schema + */ + async customObjectSchemasUpdate( + requestParameters: CrmApiCustomObjectSchemasUpdateRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectSchemasUpdateRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Create custom object + * Create custom object + */ + async customObjectsAddRaw( + requestParameters: CrmApiCustomObjectsAddRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.objectId === null || requestParameters.objectId === undefined) { + throw new runtime.RequiredError( + 'objectId', + 'Required parameter requestParameters.objectId was null or undefined when calling customObjectsAdd.' + ) + } + + if (requestParameters.customObject === null || requestParameters.customObject === undefined) { + throw new runtime.RequiredError( + 'customObject', + 'Required parameter requestParameters.customObject was null or undefined when calling customObjectsAdd.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-objects/{object_id}`.replace( + `{${'object_id'}}`, + encodeURIComponent(String(requestParameters.objectId)) + ), + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: CustomObjectToJSON(requestParameters.customObject) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + CreateCustomObjectResponseFromJSON(jsonValue) + ) + } + + /** + * Create custom object + * Create custom object + */ + async customObjectsAdd( + requestParameters: CrmApiCustomObjectsAddRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectsAddRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * List custom objects + * List custom objects + */ + async customObjectsAllRaw( + requestParameters: CrmApiCustomObjectsAllRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.objectId === null || requestParameters.objectId === undefined) { + throw new runtime.RequiredError( + 'objectId', + 'Required parameter requestParameters.objectId was null or undefined when calling customObjectsAll.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + if (requestParameters.cursor !== undefined) { + queryParameters['cursor'] = requestParameters.cursor + } + + if (requestParameters.limit !== undefined) { + queryParameters['limit'] = requestParameters.limit + } + + if (requestParameters.passThrough !== undefined) { + queryParameters['pass_through'] = requestParameters.passThrough + } + + if (requestParameters.fields !== undefined) { + queryParameters['fields'] = requestParameters.fields + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-objects/{object_id}`.replace( + `{${'object_id'}}`, + encodeURIComponent(String(requestParameters.objectId)) + ), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCustomObjectsResponseFromJSON(jsonValue) + ) + } + + /** + * List custom objects + * List custom objects + */ + async customObjectsAll( + requestParameters: CrmApiCustomObjectsAllRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectsAllRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Delete custom object + * Delete custom object + */ + async customObjectsDeleteRaw( + requestParameters: CrmApiCustomObjectsDeleteRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectsDelete.' + ) + } + + if (requestParameters.objectId === null || requestParameters.objectId === undefined) { + throw new runtime.RequiredError( + 'objectId', + 'Required parameter requestParameters.objectId was null or undefined when calling customObjectsDelete.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-objects/{object_id}/{id}` + .replace(`{${'id'}}`, encodeURIComponent(String(requestParameters.id))) + .replace(`{${'object_id'}}`, encodeURIComponent(String(requestParameters.objectId))), + method: 'DELETE', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + DeleteCustomObjectResponseFromJSON(jsonValue) + ) + } + + /** + * Delete custom object + * Delete custom object + */ + async customObjectsDelete( + requestParameters: CrmApiCustomObjectsDeleteRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectsDeleteRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Get custom object + * Get custom object + */ + async customObjectsOneRaw( + requestParameters: CrmApiCustomObjectsOneRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectsOne.' + ) + } + + if (requestParameters.objectId === null || requestParameters.objectId === undefined) { + throw new runtime.RequiredError( + 'objectId', + 'Required parameter requestParameters.objectId was null or undefined when calling customObjectsOne.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-objects/{object_id}/{id}` + .replace(`{${'id'}}`, encodeURIComponent(String(requestParameters.id))) + .replace(`{${'object_id'}}`, encodeURIComponent(String(requestParameters.objectId))), + method: 'GET', + headers: headerParameters, + query: queryParameters + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + GetCustomObjectResponseFromJSON(jsonValue) + ) + } + + /** + * Get custom object + * Get custom object + */ + async customObjectsOne( + requestParameters: CrmApiCustomObjectsOneRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectsOneRaw(requestParameters, initOverrides) + return await response.value() + } + + /** + * Update custom object + * Update custom object + */ + async customObjectsUpdateRaw( + requestParameters: CrmApiCustomObjectsUpdateRequest, + initOverrides?: RequestInit + ): Promise> { + if (requestParameters.id === null || requestParameters.id === undefined) { + throw new runtime.RequiredError( + 'id', + 'Required parameter requestParameters.id was null or undefined when calling customObjectsUpdate.' + ) + } + + if (requestParameters.objectId === null || requestParameters.objectId === undefined) { + throw new runtime.RequiredError( + 'objectId', + 'Required parameter requestParameters.objectId was null or undefined when calling customObjectsUpdate.' + ) + } + + if (requestParameters.customObject === null || requestParameters.customObject === undefined) { + throw new runtime.RequiredError( + 'customObject', + 'Required parameter requestParameters.customObject was null or undefined when calling customObjectsUpdate.' + ) + } + + const queryParameters: any = {} + + if (requestParameters.raw !== undefined) { + queryParameters['raw'] = requestParameters.raw + } + + const headerParameters: runtime.HTTPHeaders = {} + + headerParameters['Content-Type'] = 'application/json' + + if (requestParameters.consumerId !== undefined && requestParameters.consumerId !== null) { + headerParameters['x-apideck-consumer-id'] = String(requestParameters.consumerId) + } + + if (requestParameters.appId !== undefined && requestParameters.appId !== null) { + headerParameters['x-apideck-app-id'] = String(requestParameters.appId) + } + + if (requestParameters.serviceId !== undefined && requestParameters.serviceId !== null) { + headerParameters['x-apideck-service-id'] = String(requestParameters.serviceId) + } + + if (this.configuration && this.configuration.apiKey) { + headerParameters['Authorization'] = this.configuration.apiKey('Authorization') // apiKey authentication + } + + const response = await this.request( + { + path: `/crm/custom-objects/{object_id}/{id}` + .replace(`{${'id'}}`, encodeURIComponent(String(requestParameters.id))) + .replace(`{${'object_id'}}`, encodeURIComponent(String(requestParameters.objectId))), + method: 'PATCH', + headers: headerParameters, + query: queryParameters, + body: CustomObjectToJSON(requestParameters.customObject) + }, + initOverrides + ) + + return new runtime.JSONApiResponse(response, jsonValue => + UpdateCustomObjectResponseFromJSON(jsonValue) + ) + } + + /** + * Update custom object + * Update custom object + */ + async customObjectsUpdate( + requestParameters: CrmApiCustomObjectsUpdateRequest, + initOverrides?: RequestInit + ): Promise { + const response = await this.customObjectsUpdateRaw(requestParameters, initOverrides) + return await response.value() + } + /** * Create lead * Create lead diff --git a/src/gen/apis/EcommerceApi.ts b/src/gen/apis/EcommerceApi.ts index 41663fa9b..6b26735aa 100644 --- a/src/gen/apis/EcommerceApi.ts +++ b/src/gen/apis/EcommerceApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/FileStorageApi.ts b/src/gen/apis/FileStorageApi.ts index 66d549286..ea156e129 100644 --- a/src/gen/apis/FileStorageApi.ts +++ b/src/gen/apis/FileStorageApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/HrisApi.ts b/src/gen/apis/HrisApi.ts index 29a0b9114..fcc616733 100644 --- a/src/gen/apis/HrisApi.ts +++ b/src/gen/apis/HrisApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/IssueTrackingApi.ts b/src/gen/apis/IssueTrackingApi.ts index 2d633d329..f369875cc 100644 --- a/src/gen/apis/IssueTrackingApi.ts +++ b/src/gen/apis/IssueTrackingApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/LeadApi.ts b/src/gen/apis/LeadApi.ts index cb7d3c9c0..d5cd5d1ff 100644 --- a/src/gen/apis/LeadApi.ts +++ b/src/gen/apis/LeadApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/PosApi.ts b/src/gen/apis/PosApi.ts index 6d379315e..4ccd16f32 100644 --- a/src/gen/apis/PosApi.ts +++ b/src/gen/apis/PosApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/SmsApi.ts b/src/gen/apis/SmsApi.ts index ce9d10213..247273be6 100644 --- a/src/gen/apis/SmsApi.ts +++ b/src/gen/apis/SmsApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/VaultApi.ts b/src/gen/apis/VaultApi.ts index e9333e4e3..4ce900e43 100644 --- a/src/gen/apis/VaultApi.ts +++ b/src/gen/apis/VaultApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/apis/WebhookApi.ts b/src/gen/apis/WebhookApi.ts index 8441bbeb0..1d6c9423e 100644 --- a/src/gen/apis/WebhookApi.ts +++ b/src/gen/apis/WebhookApi.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/docs/apis/AccountingApi.md b/src/gen/docs/apis/AccountingApi.md index d23008551..ac4c9f39a 100644 --- a/src/gen/docs/apis/AccountingApi.md +++ b/src/gen/docs/apis/AccountingApi.md @@ -12,6 +12,16 @@ * [Download Attachment](#attachmentsDownload) * [Get Attachment](#attachmentsOne) * [Get BalanceSheet](#balanceSheetOne) +* [Create Bank Feed Account](#bankFeedAccountsAdd) +* [List Bank Feed Accounts](#bankFeedAccountsAll) +* [Delete Bank Feed Account](#bankFeedAccountsDelete) +* [Get Bank Feed Account](#bankFeedAccountsOne) +* [Update Bank Feed Account](#bankFeedAccountsUpdate) +* [Create Bank Feed Statement](#bankFeedStatementsAdd) +* [List Bank Feed Statements](#bankFeedStatementsAll) +* [Delete Bank Feed Statement](#bankFeedStatementsDelete) +* [Get Bank Feed Statement](#bankFeedStatementsOne) +* [Update Bank Feed Statement](#bankFeedStatementsUpdate) * [Create Bill Payment](#billPaymentsAdd) * [List Bill Payments](#billPaymentsAll) * [Delete Bill Payment](#billPaymentsDelete) @@ -598,6 +608,780 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Bank Feed Account + + +Method: **bankFeedAccountsAdd** + +```typescript +accountingApi.bankFeedAccountsAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bankFeedAccount** | [BankFeedAccount](../models/BankFeedAccount.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + + + +### Response Type + +[`CreateBankFeedAccountResponse`](../models/CreateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + bankFeedAccount: { + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ] + } +} + +try { + const { data } = await apideck.accounting.bankFeedAccountsAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Bank Feed Accounts + + +Method: **bankFeedAccountsAll** + +```typescript +accountingApi.bankFeedAccountsAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + **fields** | [**string**] | The \'fields\' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | (optional) + + + +### Response Type + +[`GetBankFeedAccountsResponse`](../models/GetBankFeedAccountsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.accounting.bankFeedAccountsAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Bank Feed Account + + +Method: **bankFeedAccountsDelete** + +```typescript +accountingApi.bankFeedAccountsDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteBankFeedAccountResponse`](../models/DeleteBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.bankFeedAccountsDelete(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Bank Feed Account + + +Method: **bankFeedAccountsOne** + +```typescript +accountingApi.bankFeedAccountsOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **fields** | [**string**] | The \'fields\' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | (optional) + + + +### Response Type + +[`GetBankFeedAccountResponse`](../models/GetBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.bankFeedAccountsOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Bank Feed Account + + +Method: **bankFeedAccountsUpdate** + +```typescript +accountingApi.bankFeedAccountsUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bankFeedAccount** | [BankFeedAccount](../models/BankFeedAccount.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`UpdateBankFeedAccountResponse`](../models/UpdateBankFeedAccountResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Accounts | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + bankFeedAccount: { + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ] + } +} + +try { + const { data } = await apideck.accounting.bankFeedAccountsUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Bank Feed Statement + + +Method: **bankFeedStatementsAdd** + +```typescript +accountingApi.bankFeedStatementsAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bankFeedStatement** | [BankFeedStatement](../models/BankFeedStatement.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + + + +### Response Type + +[`CreateBankFeedStatementResponse`](../models/CreateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + bankFeedStatement: { + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ] + } +} + +try { + const { data } = await apideck.accounting.bankFeedStatementsAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Bank Feed Statements + + +Method: **bankFeedStatementsAll** + +```typescript +accountingApi.bankFeedStatementsAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + **fields** | [**string**] | The \'fields\' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | (optional) + + + +### Response Type + +[`GetBankFeedStatementsResponse`](../models/GetBankFeedStatementsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.accounting.bankFeedStatementsAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Bank Feed Statement + + +Method: **bankFeedStatementsDelete** + +```typescript +accountingApi.bankFeedStatementsDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteBankFeedStatementResponse`](../models/DeleteBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.bankFeedStatementsDelete(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Bank Feed Statement + + +Method: **bankFeedStatementsOne** + +```typescript +accountingApi.bankFeedStatementsOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **fields** | [**string**] | The \'fields\' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | (optional) + + + +### Response Type + +[`GetBankFeedStatementResponse`](../models/GetBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.accounting.bankFeedStatementsOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Bank Feed Statement + + +Method: **bankFeedStatementsUpdate** + +```typescript +accountingApi.bankFeedStatementsUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bankFeedStatement** | [BankFeedStatement](../models/BankFeedStatement.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`UpdateBankFeedStatementResponse`](../models/UpdateBankFeedStatementResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Bank Feed Statements | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + bankFeedStatement: { + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ] + } +} + +try { + const { data } = await apideck.accounting.bankFeedStatementsUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) @@ -1232,8 +2016,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -1656,8 +2440,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -1922,8 +2706,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -2370,8 +3154,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -3162,6 +3946,7 @@ const params = { name: 'SpaceX' } ], + code: '123', row_version: '1-12345', pass_through: [ { @@ -3465,6 +4250,7 @@ const params = { name: 'SpaceX' } ], + code: '123', row_version: '1-12345', pass_through: [ { @@ -3578,13 +4364,15 @@ const params = { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', rate: 10 }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -3916,13 +4704,15 @@ const params = { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', rate: 10 }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -4072,6 +4862,10 @@ const params = { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', row_version: '1-12345', pass_through: [ { @@ -4425,6 +5219,10 @@ const params = { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', row_version: '1-12345', pass_through: [ { @@ -4562,8 +5360,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -4649,6 +5447,13 @@ const params = { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5029,8 +5834,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -5116,6 +5921,13 @@ const params = { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5296,6 +6108,8 @@ const params = { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 }, { @@ -5359,9 +6173,12 @@ const params = { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -5746,6 +6563,8 @@ const params = { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 }, { @@ -5809,9 +6628,12 @@ const params = { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -7499,6 +8321,7 @@ const params = { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -7525,8 +8348,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -7616,6 +8439,14 @@ const params = { name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', pass_through: [ { @@ -7943,6 +8774,7 @@ const params = { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -7969,8 +8801,8 @@ const params = { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -8060,6 +8892,14 @@ const params = { name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', pass_through: [ { diff --git a/src/gen/docs/apis/CrmApi.md b/src/gen/docs/apis/CrmApi.md index 99b701c0a..ac112141c 100644 --- a/src/gen/docs/apis/CrmApi.md +++ b/src/gen/docs/apis/CrmApi.md @@ -20,6 +20,16 @@ * [Delete Contact](#contactsDelete) * [Get Contact](#contactsOne) * [Update Contact](#contactsUpdate) +* [Create Custom Object Schema](#customObjectSchemasAdd) +* [List Custom Object Schemas](#customObjectSchemasAll) +* [Delete Custom Object Schema](#customObjectSchemasDelete) +* [Get Custom Object Schema](#customObjectSchemasOne) +* [Update Custom Object Schema](#customObjectSchemasUpdate) +* [Create Custom Object](#customObjectsAdd) +* [List Custom Objects](#customObjectsAll) +* [Delete Custom Object](#customObjectsDelete) +* [Get Custom Object](#customObjectsOne) +* [Update Custom Object](#customObjectsUpdate) * [Create Lead](#leadsAdd) * [List Leads](#leadsAll) * [Delete Lead](#leadsDelete) @@ -1774,6 +1784,822 @@ try { ``` +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Custom Object Schema + + +Method: **customObjectSchemasAdd** + +```typescript +crmApi.customObjectSchemasAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customObjectSchema** | [CustomObjectSchema](../models/CustomObjectSchema.md)| | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + + + +### Response Type + +[`CreateCustomObjectSchemaResponse`](../models/CreateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object schema created | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + customObjectSchema: { + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.crm.customObjectSchemasAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Custom Object Schemas + + +Method: **customObjectSchemasAll** + +```typescript +crmApi.customObjectSchemasAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + + + +### Response Type + +[`GetCustomObjectSchemasResponse`](../models/GetCustomObjectSchemasResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schemas | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = {} + +try { + const { data } = await apideck.crm.customObjectSchemasAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Custom Object Schema + + +Method: **customObjectSchemasDelete** + +```typescript +crmApi.customObjectSchemasDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteCustomObjectSchemaResponse`](../models/DeleteCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema deleted | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.crm.customObjectSchemasDelete(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Custom Object Schema + + +Method: **customObjectSchemasOne** + +```typescript +crmApi.customObjectSchemasOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`GetCustomObjectSchemaResponse`](../models/GetCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example' +} + +try { + const { data } = await apideck.crm.customObjectSchemasOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Custom Object Schema + + +Method: **customObjectSchemasUpdate** + +```typescript +crmApi.customObjectSchemasUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customObjectSchema** | [CustomObjectSchema](../models/CustomObjectSchema.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`UpdateCustomObjectSchemaResponse`](../models/UpdateCustomObjectSchemaResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object schema updated | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + customObjectSchema: { + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.crm.customObjectSchemasUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Create Custom Object + + +Method: **customObjectsAdd** + +```typescript +crmApi.customObjectsAdd(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customObject** | [CustomObject](../models/CustomObject.md)| | + **objectId** | [**string**] | The id of the custom object to query | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + + + +### Response Type + +[`CreateCustomObjectResponse`](../models/CreateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**201** | Custom object created | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + objectId: 'object_id_example', + customObject: { + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.crm.customObjectsAdd(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# List Custom Objects + + +Method: **customObjectsAll** + +```typescript +crmApi.customObjectsAll(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **objectId** | [**string**] | The id of the custom object to query | + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **cursor** | [**string**] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) + **limit** | [**number**] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 + **passThrough** | **PassThroughQuery** | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | (optional) + **fields** | [**string**] | The \'fields\' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | (optional) + + + +### Response Type + +[`GetCustomObjectsResponse`](../models/GetCustomObjectsResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom objects | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + objectId: 'object_id_example' +} + +try { + const { data } = await apideck.crm.customObjectsAll(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Delete Custom Object + + +Method: **customObjectsDelete** + +```typescript +crmApi.customObjectsDelete(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **objectId** | [**string**] | The id of the custom object to query | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`DeleteCustomObjectResponse`](../models/DeleteCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object deleted | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + objectId: 'object_id_example' +} + +try { + const { data } = await apideck.crm.customObjectsDelete(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Get Custom Object + + +Method: **customObjectsOne** + +```typescript +crmApi.customObjectsOne(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | ID of the record you are acting upon. | + **objectId** | [**string**] | The id of the custom object to query | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`GetCustomObjectResponse`](../models/GetCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + objectId: 'object_id_example' +} + +try { + const { data } = await apideck.crm.customObjectsOne(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + +# Update Custom Object + + +Method: **customObjectsUpdate** + +```typescript +crmApi.customObjectsUpdate(body) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customObject** | [CustomObject](../models/CustomObject.md)| | + **id** | [**string**] | ID of the record you are acting upon. | + **objectId** | [**string**] | The id of the custom object to query | + **consumerId** | [**string**] | ID of the consumer which you want to get or push data from | (optional) + **appId** | [**string**] | The ID of your Unify application | (optional) + **serviceId** | [**string**] | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | (optional) + **raw** | [**boolean**] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false + + + +### Response Type + +[`UpdateCustomObjectResponse`](../models/UpdateCustomObjectResponse.md) + + + +### HTTP response details +| Status code | Description | +|-------------|-------------| +**200** | Custom object updated | +**400** | Bad Request | +**401** | Unauthorized | +**402** | Payment Required | +**404** | The specified resource was not found | +**422** | Unprocessable | +4/5xx | Unexpected error | + + +## Example Usage + +```typescript +import { Apideck } from '@apideck/node'; + +const apideck = new Apideck({ + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' +}); + +const params = { + id: 'id_example', + objectId: 'object_id_example', + customObject: { + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } +} + +try { + const { data } = await apideck.crm.customObjectsUpdate(params) + console.log('API called successfully', data) +} catch (error) { + console.error(error) + return error.json() +} + + +``` + + [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) @@ -2388,6 +3214,7 @@ const params = { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, pass_through: [ @@ -2690,6 +3517,7 @@ const params = { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, pass_through: [ diff --git a/src/gen/docs/models/AccountingDepartment.md b/src/gen/docs/models/AccountingDepartment.md index 482eb3246..868e0d482 100644 --- a/src/gen/docs/models/AccountingDepartment.md +++ b/src/gen/docs/models/AccountingDepartment.md @@ -10,7 +10,8 @@ Name | Type | Description | Notes `name` | **string** | The name of the department. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] `subsidiaries` | [**Array<SubsidiaryReference>**](SubsidiaryReference.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`code` | **string** | The code of the department. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -40,6 +41,7 @@ Name | Type | Description | Notes * [`SubsidiaryReference`](SubsidiaryReference.md) +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/AccountingLocation.md b/src/gen/docs/models/AccountingLocation.md index d353f8590..e6145aa49 100644 --- a/src/gen/docs/models/AccountingLocation.md +++ b/src/gen/docs/models/AccountingLocation.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] `addresses` | [**Array<Address>**](Address.md) | | [optional] `subsidiaries` | [**Array<SubsidiaryReference>**](SubsidiaryReference.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -43,7 +43,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) * [`SubsidiaryReference`](SubsidiaryReference.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Activity.md b/src/gen/docs/models/Activity.md index 79cfa2aef..bae01994b 100644 --- a/src/gen/docs/models/Activity.md +++ b/src/gen/docs/models/Activity.md @@ -51,7 +51,7 @@ Name | Type | Description | Notes `video_conference_id` | **string** | The ID of the video conference | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | Custom fields of the activity | [optional] `attendees` | [**Array<ActivityAttendee>**](ActivityAttendee.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the activity | [optional] `created_by` | **string** | The user who created the activity | [optional] `updated_at` | **string** | The date and time when the activity was last updated | [optional] @@ -145,7 +145,7 @@ Name | Type | Description | Notes * [`CustomField`](CustomField.md) * [`ActivityAttendee`](ActivityAttendee.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Applicant.md b/src/gen/docs/models/Applicant.md index 4bb3cd03a..e0d7e1131 100644 --- a/src/gen/docs/models/Applicant.md +++ b/src/gen/docs/models/Applicant.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `cv_url` | **string** | | [optional] `record_url` | **string** | | [optional] `rejected_at` | **Date** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `deleted` | **boolean** | Flag to indicate if the object is deleted. | [optional] `deleted_by` | **string** | The user who deleted the object. | [optional] `deleted_at` | **Date** | The time at which the object was deleted. | [optional] @@ -92,7 +92,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Application.md b/src/gen/docs/models/Application.md index 09ae381dc..d16494a1f 100644 --- a/src/gen/docs/models/Application.md +++ b/src/gen/docs/models/Application.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | [optional] `status` | **string** | | [optional] `stage` | [**ApplicationStage**](ApplicationStage.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -44,7 +44,7 @@ Name | Type | Description | Notes * [`ApplicationStage`](ApplicationStage.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/AtsActivity.md b/src/gen/docs/models/AtsActivity.md index fb6591c3c..b3cb7a84e 100644 --- a/src/gen/docs/models/AtsActivity.md +++ b/src/gen/docs/models/AtsActivity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -16,6 +16,14 @@ Name | Type | Description | Notes +## Referenced Types: + +* [`CustomMappings`](CustomMappings.md) + + + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/BalanceSheetReports.md b/src/gen/docs/models/BalanceSheetReports.md index 93c7b654e..99c36a7c4 100644 --- a/src/gen/docs/models/BalanceSheetReports.md +++ b/src/gen/docs/models/BalanceSheetReports.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `start_date` | **string** | The start date of the report | [optional] `currency` | [**Currency**](Currency.md) | | [optional] `net_assets` | **number** | The net assets of the balance sheet | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -35,7 +35,7 @@ Name | Type | Description | Notes * [`Currency`](Currency.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/BankFeedAccount.md b/src/gen/docs/models/BankFeedAccount.md new file mode 100644 index 000000000..e826d088f --- /dev/null +++ b/src/gen/docs/models/BankFeedAccount.md @@ -0,0 +1,71 @@ +# Apideck.BankFeedAccount + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_account_type` | **string** | Type of the bank account. | [optional] +`source_account_id` | **string** | The source account\'s unique identifier. | [optional] +`target_account_id` | **string** | The target account\'s unique identifier in the accounting connector. | [optional] +`target_account_name` | **string** | Name associated with the target account. | [optional] +`target_account_number` | **string** | Account number of the destination bank account. | [optional] +`currency` | [**Currency**](Currency.md) | | [optional] +`feed_status` | **string** | Current status of the bank feed. | [optional] +`country` | **string** | Country code according to ISO 3166-1 alpha-2. | [optional] +`custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] +`created_at` | **Date** | The date and time when the object was created. | [optional] +`updated_at` | **Date** | The date and time when the object was last updated. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] + + + + + + +## Enum: BankFeedAccount.bank_account_type + + +* `bank` (value: `'bank'`) + +* `credit_card` (value: `'credit_card'`) + + + + + +## Enum: BankFeedAccount.feed_status + + +* `pending` (value: `'pending'`) + +* `rejected` (value: `'rejected'`) + + + + +## Referenced Types: + + + + + + +* [`Currency`](Currency.md) + + +* [`CustomField`](CustomField.md) +* [`CustomMappings`](CustomMappings.md) + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/BankFeedStatement.md b/src/gen/docs/models/BankFeedStatement.md new file mode 100644 index 000000000..e2c7a40f1 --- /dev/null +++ b/src/gen/docs/models/BankFeedStatement.md @@ -0,0 +1,60 @@ +# Apideck.BankFeedStatement + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | +`bank_feed_account_id` | **string** | The ID of the bank feed account this statement belongs to. | [optional] +`status` | **string** | The current status of the bank feed statement. | [optional] +`start_date` | **Date** | Start date of the bank feed statement. | [optional] +`end_date` | **Date** | End date of the bank feed statement. | [optional] +`start_balance` | **number** | Balance amount at the start of the period. | [optional] +`start_balance_credit_or_debit` | [**CreditOrDebit**](CreditOrDebit.md) | | [optional] +`end_balance` | **number** | Balance amount at the end of the period. | [optional] +`end_balance_credit_or_debit` | [**CreditOrDebit**](CreditOrDebit.md) | | [optional] +`transactions` | [**Array<BankFeedStatementTransactions>**](BankFeedStatementTransactions.md) | List of transactions in the bank feed statement. | [optional] +`created_at` | **Date** | The date and time when the object was created. | [optional] +`created_by` | **string** | The user who created the object. | [optional] +`updated_at` | **Date** | The date and time when the object was last updated. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] + + + + + + +## Enum: BankFeedStatement.status + + +* `pending` (value: `'pending'`) + +* `rejected` (value: `'rejected'`) + +* `success` (value: `'success'`) + + + + +## Referenced Types: + + + + + + +* [`CreditOrDebit`](CreditOrDebit.md) + +* [`CreditOrDebit`](CreditOrDebit.md) +* [`BankFeedStatementTransactions`](BankFeedStatementTransactions.md) + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/BankFeedStatementTransactions.md b/src/gen/docs/models/BankFeedStatementTransactions.md new file mode 100644 index 000000000..f7268938d --- /dev/null +++ b/src/gen/docs/models/BankFeedStatementTransactions.md @@ -0,0 +1,54 @@ +# Apideck.BankFeedStatementTransactions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`posted_date` | **Date** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +`amount` | **number** | The amount of the transaction. | +`credit_or_debit` | [**CreditOrDebit**](CreditOrDebit.md) | | +`source_transaction_id` | **string** | The ID of the source transaction. | +`description` | **string** | A description of the transaction. | [optional] +`counterparty` | **string** | The counterparty of the transaction. | [optional] +`reference` | **string** | The reference of the transaction. | [optional] +`transaction_type` | **string** | Type of transaction. | [optional] + + + + + + +## Enum: BankFeedStatementTransactions.transaction_type + + +* `credit` (value: `'credit'`) + +* `debit` (value: `'debit'`) + +* `deposit` (value: `'deposit'`) + +* `transfer` (value: `'transfer'`) + +* `payment` (value: `'payment'`) + +* `other` (value: `'other'`) + + + + +## Referenced Types: + + +* [`CreditOrDebit`](CreditOrDebit.md) + + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Bill.md b/src/gen/docs/models/Bill.md index 53deea16c..76274b6bd 100644 --- a/src/gen/docs/models/Bill.md +++ b/src/gen/docs/models/Bill.md @@ -43,7 +43,7 @@ Name | Type | Description | Notes `created_at` | **Date** | The date and time when the object was created. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] `accounting_period` | **string** | Accounting period | [optional] @@ -113,7 +113,7 @@ Name | Type | Description | Notes * [`CustomField`](CustomField.md) - +* [`CustomMappings`](CustomMappings.md) * [`PassThroughBody`](PassThroughBody.md) diff --git a/src/gen/docs/models/BillLineItem.md b/src/gen/docs/models/BillLineItem.md index 08b76106c..a05c3ad59 100644 --- a/src/gen/docs/models/BillLineItem.md +++ b/src/gen/docs/models/BillLineItem.md @@ -18,8 +18,8 @@ Name | Type | Description | Notes `unit_of_measure` | **string** | Description of the unit type the item is sold as, ie: kg, hour. | [optional] `discount_percentage` | **number** | Discount percentage applied to the line item when supported downstream. | [optional] `discount_amount` | **number** | Discount amount applied to the line item when supported downstream. | [optional] -`location_id` | **string** | Location id | [optional] -`department_id` | **string** | Department id | [optional] +`location_id` | **string** | The ID of the location | [optional] +`department_id` | **string** | The ID of the department | [optional] `item` | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] `tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `ledger_account` | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] diff --git a/src/gen/docs/models/BillPayment.md b/src/gen/docs/models/BillPayment.md index 60fe767ff..0f6c1f5ad 100644 --- a/src/gen/docs/models/BillPayment.md +++ b/src/gen/docs/models/BillPayment.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] @@ -78,7 +78,7 @@ Name | Type | Description | Notes * [`CustomField`](CustomField.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Collection.md b/src/gen/docs/models/Collection.md index 450a9b531..c9f02779a 100644 --- a/src/gen/docs/models/Collection.md +++ b/src/gen/docs/models/Collection.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `type` | **string** | The collections\'s type | [optional] `name` | **string** | Name of the collection | [optional] `description` | **string** | Description of the collection | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] @@ -18,6 +18,16 @@ Name | Type | Description | Notes +## Referenced Types: + + + + + +* [`CustomMappings`](CustomMappings.md) + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/CollectionTag.md b/src/gen/docs/models/CollectionTag.md index 885f0270e..38d5791a2 100644 --- a/src/gen/docs/models/CollectionTag.md +++ b/src/gen/docs/models/CollectionTag.md @@ -7,12 +7,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the tag. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] +## Referenced Types: + + +* [`CustomMappings`](CustomMappings.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/CollectionTicketComment.md b/src/gen/docs/models/CollectionTicketComment.md index 1ad60bf81..cf3cf6a3c 100644 --- a/src/gen/docs/models/CollectionTicketComment.md +++ b/src/gen/docs/models/CollectionTicketComment.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `body` | **string** | Body of the comment | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Referenced Types: - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/CollectionUser.md b/src/gen/docs/models/CollectionUser.md index ef5bb3a5d..5d72bbf53 100644 --- a/src/gen/docs/models/CollectionUser.md +++ b/src/gen/docs/models/CollectionUser.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes `last_name` | **string** | Last name of the user | [optional] `email` | **string** | Email address of the user | [optional] `photo_url` | **string** | The URL of the photo of a person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] @@ -19,6 +19,17 @@ Name | Type | Description | Notes +## Referenced Types: + + + + + + +* [`CustomMappings`](CustomMappings.md) + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Company.md b/src/gen/docs/models/Company.md index 2255d7880..04357edd8 100644 --- a/src/gen/docs/models/Company.md +++ b/src/gen/docs/models/Company.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `deleted` | **boolean** | Whether the company is deleted or not | [optional] `salutation` | **string** | A formal salutation for the person. For example, \'Mr\', \'Mrs\' | [optional] `birthday` | **Date** | The date of birth of the person. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | Updated by user ID | [optional] `created_by` | **string** | Created by user ID | [optional] `updated_at` | **Date** | Last updated date | [optional] @@ -89,7 +89,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/CompanyInfo.md b/src/gen/docs/models/CompanyInfo.md index 14eeec877..0a69d7406 100644 --- a/src/gen/docs/models/CompanyInfo.md +++ b/src/gen/docs/models/CompanyInfo.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes `addresses` | [**Array<Address>**](Address.md) | | [optional] `phone_numbers` | [**Array<PhoneNumber>**](PhoneNumber.md) | | [optional] `emails` | [**Array<Email>**](Email.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -91,7 +91,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) * [`PhoneNumber`](PhoneNumber.md) * [`Email`](Email.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Contact.md b/src/gen/docs/models/Contact.md index c7142994e..91456256a 100644 --- a/src/gen/docs/models/Contact.md +++ b/src/gen/docs/models/Contact.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `first_call_at` | **Date** | The first call date of the contact. | [optional] `first_email_at` | **Date** | The first email date of the contact. | [optional] `last_activity_at` | **Date** | The last activity date of the contact. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **Date** | The last update date of the contact. | [optional] `created_at` | **Date** | The creation date of the contact. | [optional] `opportunity_ids` | **Array<string>** | The opportunity ids of the contact. | [optional] @@ -116,7 +116,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/CreateBankFeedAccountResponse.md b/src/gen/docs/models/CreateBankFeedAccountResponse.md new file mode 100644 index 000000000..0d3c1e4e9 --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateBankFeedStatementResponse.md b/src/gen/docs/models/CreateBankFeedStatementResponse.md new file mode 100644 index 000000000..573969257 --- /dev/null +++ b/src/gen/docs/models/CreateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateCustomObjectResponse.md b/src/gen/docs/models/CreateCustomObjectResponse.md new file mode 100644 index 000000000..4fca78d61 --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreateCustomObjectSchemaResponse.md b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md new file mode 100644 index 000000000..4e2479d65 --- /dev/null +++ b/src/gen/docs/models/CreateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.CreateCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CreditNote.md b/src/gen/docs/models/CreditNote.md index 06c656c1f..a54636abe 100644 --- a/src/gen/docs/models/CreditNote.md +++ b/src/gen/docs/models/CreditNote.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `billing_address` | [**Address**](Address.md) | | [optional] `shipping_address` | [**Address**](Address.md) | | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -99,7 +99,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) * [`Address`](Address.md) * [`LinkedTrackingCategories`](LinkedTrackingCategories.md) - +* [`CustomMappings`](CustomMappings.md) * [`CustomField`](CustomField.md) diff --git a/src/gen/docs/models/CreditOrDebit.md b/src/gen/docs/models/CreditOrDebit.md new file mode 100644 index 000000000..327dbaacc --- /dev/null +++ b/src/gen/docs/models/CreditOrDebit.md @@ -0,0 +1,15 @@ +# Apideck.CreditOrDebit + +## Enum + + +* `credit` (value: `'credit'`) + +* `debit` (value: `'debit'`) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomMappings.md b/src/gen/docs/models/CustomMappings.md new file mode 100644 index 000000000..41b8af0d8 --- /dev/null +++ b/src/gen/docs/models/CustomMappings.md @@ -0,0 +1,19 @@ +# Apideck.CustomMappings + +### Description + +When custom mappings are configured on the resource, the result is included here. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObject.md b/src/gen/docs/models/CustomObject.md new file mode 100644 index 000000000..714141d56 --- /dev/null +++ b/src/gen/docs/models/CustomObject.md @@ -0,0 +1,37 @@ +# Apideck.CustomObject + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object | [optional] +`owner_id` | **string** | The unique identifier of the owner of the custom object | [optional] +`name` | **string** | The name of the custom object | [optional] +`fields` | [**Array<CustomObjectFields>**](CustomObjectFields.md) | | [optional] +`updated_by` | **string** | The unique identifier of the user who last updated the custom object | [optional] +`created_by` | **string** | The unique identifier of the user who created the custom object | [optional] +`updated_at` | **string** | The timestamp when the custom object was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object was created | [optional] +`pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectFields`](CustomObjectFields.md) + + + + +* [`PassThroughBody`](PassThroughBody.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectFields.md b/src/gen/docs/models/CustomObjectFields.md new file mode 100644 index 000000000..62783c995 --- /dev/null +++ b/src/gen/docs/models/CustomObjectFields.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`name` | **string** | | [optional] +`value` | **string** | | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchema.md b/src/gen/docs/models/CustomObjectSchema.md new file mode 100644 index 000000000..6c7641581 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchema.md @@ -0,0 +1,41 @@ +# Apideck.CustomObjectSchema + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | The unique identifier of the custom object schema | [optional] +`name` | **string** | The name of the custom object schema | [optional] +`description` | **string** | The description of the custom object schema | [optional] +`fields` | [**Array<CustomObjectSchemaFields>**](CustomObjectSchemaFields.md) | The fields defined in the schema | [optional] +`visible` | **boolean** | Whether the custom object schema is visible in the UI | [optional] +`active` | **boolean** | Whether the custom object schema is active | [optional] +`created_by` | **string** | The ID of the user who created the custom object schema | [optional] +`updated_by` | **string** | The ID of the user who last updated the custom object schema | [optional] +`updated_at` | **string** | The timestamp when the custom object schema was last updated | [optional] +`created_at` | **string** | The timestamp when the custom object schema was created | [optional] +`pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] + + + + + +## Referenced Types: + + + +* [`CustomObjectSchemaFields`](CustomObjectSchemaFields.md) + + + + + + +* [`PassThroughBody`](PassThroughBody.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemaFields.md b/src/gen/docs/models/CustomObjectSchemaFields.md new file mode 100644 index 000000000..648797013 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaFields.md @@ -0,0 +1,64 @@ +# Apideck.CustomObjectSchemaFields + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | | [optional] +`name` | **string** | | [optional] +`description` | **string** | | [optional] +`type` | **string** | | [optional] +`required` | **boolean** | | [optional] +`options` | [**Array<CustomObjectSchemaOptions>**](CustomObjectSchemaOptions.md) | Options for select and multiselect types | [optional] +`default_value` | **string** | Default value for the field | [optional] + + + + + + +## Enum: CustomObjectSchemaFields.type + + +* `string` (value: `'string'`) + +* `number` (value: `'number'`) + +* `integer` (value: `'integer'`) + +* `boolean` (value: `'boolean'`) + +* `date` (value: `'date'`) + +* `datetime` (value: `'datetime'`) + +* `currency` (value: `'currency'`) + +* `email` (value: `'email'`) + +* `phone` (value: `'phone'`) + +* `reference` (value: `'reference'`) + +* `select` (value: `'select'`) + +* `multiselect` (value: `'multiselect'`) + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchemaOptions`](CustomObjectSchemaOptions.md) + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemaOptions.md b/src/gen/docs/models/CustomObjectSchemaOptions.md new file mode 100644 index 000000000..6d2d523b3 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemaOptions.md @@ -0,0 +1,19 @@ +# Apideck.CustomObjectSchemaOptions + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`value` | **string** | | [optional] +`label` | **string** | | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectSchemasSort.md b/src/gen/docs/models/CustomObjectSchemasSort.md new file mode 100644 index 000000000..e70fd4e37 --- /dev/null +++ b/src/gen/docs/models/CustomObjectSchemasSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectSchemasSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Object Schemas | [optional] +`direction` | [**SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectSchemasSort.by + + +* `created_at` (value: `'created_at'`) + +* `updated_at` (value: `'updated_at'`) + +* `name` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/CustomObjectsSort.md b/src/gen/docs/models/CustomObjectsSort.md new file mode 100644 index 000000000..313f542c3 --- /dev/null +++ b/src/gen/docs/models/CustomObjectsSort.md @@ -0,0 +1,36 @@ +# Apideck.CustomObjectsSort + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`by` | **string** | The field on which to sort the Custom Objects | [optional] +`direction` | [**SortDirection**](SortDirection.md) | | [optional] + + + + + + +## Enum: CustomObjectsSort.by + + +* `created_at` (value: `'created_at'`) + +* `updated_at` (value: `'updated_at'`) + +* `name` (value: `'name'`) + + + + +## Referenced Types: + +* [`SortDirection`](SortDirection.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Customer.md b/src/gen/docs/models/Customer.md index 5554f230d..965278386 100644 --- a/src/gen/docs/models/Customer.md +++ b/src/gen/docs/models/Customer.md @@ -33,7 +33,7 @@ Name | Type | Description | Notes `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -91,7 +91,7 @@ Name | Type | Description | Notes * [`CustomField`](CustomField.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/DeleteBankFeedAccountResponse.md b/src/gen/docs/models/DeleteBankFeedAccountResponse.md new file mode 100644 index 000000000..13e6532c6 --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteBankFeedStatementResponse.md b/src/gen/docs/models/DeleteBankFeedStatementResponse.md new file mode 100644 index 000000000..3111f6c26 --- /dev/null +++ b/src/gen/docs/models/DeleteBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteCustomObjectResponse.md b/src/gen/docs/models/DeleteCustomObjectResponse.md new file mode 100644 index 000000000..78105b736 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md new file mode 100644 index 000000000..0491e4d13 --- /dev/null +++ b/src/gen/docs/models/DeleteCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.DeleteCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Department.md b/src/gen/docs/models/Department.md index b9f408b9a..a3738955b 100644 --- a/src/gen/docs/models/Department.md +++ b/src/gen/docs/models/Department.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | Department name | [optional] `code` | **string** | | [optional] `description` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -27,7 +27,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Drive.md b/src/gen/docs/models/Drive.md index 3f8fa3bd1..3272d03f0 100644 --- a/src/gen/docs/models/Drive.md +++ b/src/gen/docs/models/Drive.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes `id` | **string** | A unique identifier for an object. | `name` | **string** | The name of the drive | `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -23,7 +23,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/DriveGroup.md b/src/gen/docs/models/DriveGroup.md index 188ab0b36..5f7d68bde 100644 --- a/src/gen/docs/models/DriveGroup.md +++ b/src/gen/docs/models/DriveGroup.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the drive group | `display_name` | **string** | The display name of the drive group | [optional] `description` | **string** | A description of the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -25,7 +25,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/EcommerceCustomer.md b/src/gen/docs/models/EcommerceCustomer.md index d2bc76d0a..e86e392ac 100644 --- a/src/gen/docs/models/EcommerceCustomer.md +++ b/src/gen/docs/models/EcommerceCustomer.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes `phone_numbers` | [**Array<PhoneNumber>**](PhoneNumber.md) | An array of phone numbers for the customer. | [optional] `addresses` | [**Array<EcommerceCustomerAddresses>**](EcommerceCustomerAddresses.md) | An array of addresses for the customer. | [optional] `orders` | [**Array<LinkedEcommerceOrder>**](LinkedEcommerceOrder.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -47,7 +47,7 @@ Name | Type | Description | Notes * [`PhoneNumber`](PhoneNumber.md) * [`EcommerceCustomerAddresses`](EcommerceCustomerAddresses.md) * [`LinkedEcommerceOrder`](LinkedEcommerceOrder.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/EcommerceOrder.md b/src/gen/docs/models/EcommerceOrder.md index 329b1eb97..5f1cdd4bf 100644 --- a/src/gen/docs/models/EcommerceOrder.md +++ b/src/gen/docs/models/EcommerceOrder.md @@ -26,7 +26,8 @@ Name | Type | Description | Notes `tracking` | [**Array<TrackingItem>**](TrackingItem.md) | | [optional] `line_items` | [**Array<EcommerceOrderLineItem>**](EcommerceOrderLineItem.md) | | [optional] `note` | **string** | Note for the order. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`refunds` | [**Array<EcommerceOrderRefund>**](EcommerceOrderRefund.md) | | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -98,7 +99,8 @@ Name | Type | Description | Notes * [`TrackingItem`](TrackingItem.md) * [`EcommerceOrderLineItem`](EcommerceOrderLineItem.md) - +* [`EcommerceOrderRefund`](EcommerceOrderRefund.md) +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/EcommerceOrderLineItem.md b/src/gen/docs/models/EcommerceOrderLineItem.md index 2cb288a34..cbc60e5bd 100644 --- a/src/gen/docs/models/EcommerceOrderLineItem.md +++ b/src/gen/docs/models/EcommerceOrderLineItem.md @@ -9,7 +9,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | The name of the product or variant associated with the line item. | `quantity` | **string** | The quantity of the product or variant associated with the line item. | -`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | `id` | **string** | A unique identifier for an object. | [optional] `product_id` | **string** | A unique identifier for the product associated with the line item. | [optional] `variant_id` | **string** | A unique identifier for the variant of the product associated with the line item, if applicable. | [optional] @@ -23,6 +22,7 @@ Name | Type | Description | Notes `refunded_amount` | **string** | The amount of the line item that has been refunded. | [optional] `refunded_quantity` | **string** | The quantity of the line item that has been refunded. | [optional] `sub_total` | **string** | The sub total for the product(s) or variant associated with the line item, excluding taxes and discounts. | [optional] +`total_amount` | **string** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | [optional] `discounts` | [**Array<EcommerceDiscount>**](EcommerceDiscount.md) | | [optional] diff --git a/src/gen/docs/models/EcommerceOrderRefund.md b/src/gen/docs/models/EcommerceOrderRefund.md new file mode 100644 index 000000000..04b0f39e7 --- /dev/null +++ b/src/gen/docs/models/EcommerceOrderRefund.md @@ -0,0 +1,31 @@ +# Apideck.EcommerceOrderRefund + +### Description + +A refund for an ecommerce order. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | A unique identifier for an object. | [optional] +`amount` | **string** | The amount of the refund. | [optional] +`currency` | [**Currency**](Currency.md) | | [optional] +`reason` | **string** | The reason for the refund. | [optional] +`created_at` | **Date** | The date and time when the object was created. | [optional] + + + + + +## Referenced Types: + + +* [`Currency`](Currency.md) + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/EcommerceProduct.md b/src/gen/docs/models/EcommerceProduct.md index e8d660607..e4a801a31 100644 --- a/src/gen/docs/models/EcommerceProduct.md +++ b/src/gen/docs/models/EcommerceProduct.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `variants` | [**Array<EcommerceProductVariants>**](EcommerceProductVariants.md) | | [optional] `tags` | **Array<string>** | An array of tags for the product, used for organization and searching. | [optional] `categories` | [**Array<EcommerceProductCategories>**](EcommerceProductCategories.md) | An array of categories for the product, used for organization and searching. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -53,7 +53,7 @@ Name | Type | Description | Notes * [`EcommerceProductVariants`](EcommerceProductVariants.md) * [`EcommerceProductCategories`](EcommerceProductCategories.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/EcommerceStore.md b/src/gen/docs/models/EcommerceStore.md index 58af3f3d6..4098d0e4a 100644 --- a/src/gen/docs/models/EcommerceStore.md +++ b/src/gen/docs/models/EcommerceStore.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `name` | **string** | The store\'s name | [optional] `store_url` | **string** | The store\'s website URL | [optional] `admin_url` | **string** | The store\'s admin login URL | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -17,6 +17,15 @@ Name | Type | Description | Notes +## Referenced Types: + + + + +* [`CustomMappings`](CustomMappings.md) + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Employee.md b/src/gen/docs/models/Employee.md index e87cbbf40..58db92798 100644 --- a/src/gen/docs/models/Employee.md +++ b/src/gen/docs/models/Employee.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] +`downstream_id` | **string** | The third-party API ID of original entity | [optional] `first_name` | **string** | The first name of the person. | [optional] `last_name` | **string** | The last name of the person. | [optional] `middle_name` | **string** | Middle name of the person. | [optional] @@ -63,7 +64,7 @@ Name | Type | Description | Notes `food_allergies` | **Array<string>** | Indicate the employee\'s food allergies. | [optional] `probation_period` | [**ProbationPeriod**](ProbationPeriod.md) | | [optional] `tags` | [**Tags**](Tags.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `deleted` | **boolean** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -102,6 +103,7 @@ Name | Type | Description | Notes + * [`Person`](Person.md) @@ -150,7 +152,7 @@ Name | Type | Description | Notes * [`ProbationPeriod`](ProbationPeriod.md) * [`Tags`](Tags.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/EmployeesFilter.md b/src/gen/docs/models/EmployeesFilter.md index f325c778d..bac309b57 100644 --- a/src/gen/docs/models/EmployeesFilter.md +++ b/src/gen/docs/models/EmployeesFilter.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes `employee_number` | **string** | Employee number to filter on | [optional] `department_id` | **string** | ID of the department to filter on | [optional] `city` | **string** | City to filter on | [optional] +`country` | **string** | Country to filter on | [optional] diff --git a/src/gen/docs/models/Expense.md b/src/gen/docs/models/Expense.md index 476a7e05c..16ea03f7f 100644 --- a/src/gen/docs/models/Expense.md +++ b/src/gen/docs/models/Expense.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `customer_id` | **string** | The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. | [optional] `supplier_id` | **string** | The ID of the supplier this entity is linked to. | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] -`department_id` | **string** | The ID of the department this expense is linked to. | [optional] +`department_id` | **string** | The ID of the department | [optional] `payment_type` | **string** | The type of payment for the expense. | [optional] `currency` | [**Currency**](Currency.md) | | [optional] `currency_rate` | **number** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] @@ -22,10 +22,12 @@ Name | Type | Description | Notes `tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `total_amount` | **number** | The total amount of the expense line item. | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +`updated_by` | **string** | The user who last updated the object. | [optional] +`created_by` | **string** | The user who created the object. | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] @@ -74,6 +76,8 @@ Name | Type | Description | Notes * [`LinkedTaxRate`](LinkedTaxRate.md) * [`CustomField`](CustomField.md) +* [`CustomMappings`](CustomMappings.md) + diff --git a/src/gen/docs/models/ExpenseLineItem.md b/src/gen/docs/models/ExpenseLineItem.md index 0da442349..4a64c5e4f 100644 --- a/src/gen/docs/models/ExpenseLineItem.md +++ b/src/gen/docs/models/ExpenseLineItem.md @@ -10,11 +10,13 @@ Name | Type | Description | Notes `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] `account_id` | **string** | The unique identifier for the ledger account. | [optional] `customer_id` | **string** | The ID of the customer this expense item is linked to. | [optional] -`department_id` | **string** | The ID of the department this expense item is linked to. | [optional] -`location_id` | **string** | The ID of the location this expense item is linked to. | [optional] +`department_id` | **string** | The ID of the department | [optional] +`location_id` | **string** | The ID of the location | [optional] +`subsidiary_id` | **string** | The ID of the subsidiary | [optional] `tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `description` | **string** | The expense line item description | [optional] `billable` | **boolean** | Boolean that indicates if the line item is billable or not. | [optional] +`line_number` | **number** | Line number of the resource | [optional] @@ -28,10 +30,12 @@ Name | Type | Description | Notes + * [`LinkedTaxRate`](LinkedTaxRate.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Folder.md b/src/gen/docs/models/Folder.md index 1a611fd4e..7acf1d1d8 100644 --- a/src/gen/docs/models/Folder.md +++ b/src/gen/docs/models/Folder.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `size` | **number** | The size of the folder in bytes | [optional] `owner` | [**Owner**](Owner.md) | | [optional] `parent_folders_complete` | **boolean** | Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -32,7 +32,7 @@ Name | Type | Description | Notes * [`Owner`](Owner.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/FormFieldOption.md b/src/gen/docs/models/FormFieldOption.md index aadb5961b..565699c68 100644 --- a/src/gen/docs/models/FormFieldOption.md +++ b/src/gen/docs/models/FormFieldOption.md @@ -5,17 +5,28 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`label` | **string** | | [optional] +`label` | **string** | | +`option_type` | **string** | | +`options` | [**Array<SimpleFormFieldOption>**](SimpleFormFieldOption.md) | | `value` | **string \| number \| boolean \| Array<string \| number>** | | [optional] `id` | **string** | | [optional] -`options` | [**Array<SimpleFormFieldOption>**](SimpleFormFieldOption.md) | | [optional] + +## Enum: FormFieldOption.option_type + + +* `group` (value: `'group'`) + + + + ## Referenced Types: + * [`SimpleFormFieldOption`](SimpleFormFieldOption.md) --- diff --git a/src/gen/docs/models/FormFieldOptionGroup.md b/src/gen/docs/models/FormFieldOptionGroup.md index da8538814..f21bc04fc 100644 --- a/src/gen/docs/models/FormFieldOptionGroup.md +++ b/src/gen/docs/models/FormFieldOptionGroup.md @@ -5,19 +5,30 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +`label` | **string** | | +`options` | [**Array<SimpleFormFieldOption>**](SimpleFormFieldOption.md) | | +`option_type` | **string** | | `id` | **string** | | [optional] -`label` | **string** | | [optional] -`options` | [**Array<SimpleFormFieldOption>**](SimpleFormFieldOption.md) | | [optional] -## Referenced Types: + +## Enum: FormFieldOptionGroup.option_type + + +* `group` (value: `'group'`) + + +## Referenced Types: + * [`SimpleFormFieldOption`](SimpleFormFieldOption.md) + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/GetBankFeedAccountResponse.md b/src/gen/docs/models/GetBankFeedAccountResponse.md new file mode 100644 index 000000000..cf769813b --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**BankFeedAccount**](BankFeedAccount.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedAccountsResponse.md b/src/gen/docs/models/GetBankFeedAccountsResponse.md new file mode 100644 index 000000000..d4c8ade59 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedAccountsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedAccountsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**Array<BankFeedAccount>**](BankFeedAccount.md) | | +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedAccount`](BankFeedAccount.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedStatementResponse.md b/src/gen/docs/models/GetBankFeedStatementResponse.md new file mode 100644 index 000000000..7a4ec4f48 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**BankFeedStatement**](BankFeedStatement.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetBankFeedStatementsResponse.md b/src/gen/docs/models/GetBankFeedStatementsResponse.md new file mode 100644 index 000000000..3e6345022 --- /dev/null +++ b/src/gen/docs/models/GetBankFeedStatementsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetBankFeedStatementsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**Array<BankFeedStatement>**](BankFeedStatement.md) | | +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`BankFeedStatement`](BankFeedStatement.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectResponse.md b/src/gen/docs/models/GetCustomObjectResponse.md new file mode 100644 index 000000000..0d2c6aaa0 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**CustomObject**](CustomObject.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectSchemaResponse.md b/src/gen/docs/models/GetCustomObjectSchemaResponse.md new file mode 100644 index 000000000..1a4b70ba9 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.GetCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**CustomObjectSchema**](CustomObjectSchema.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectSchemasResponse.md b/src/gen/docs/models/GetCustomObjectSchemasResponse.md new file mode 100644 index 000000000..cc971d335 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectSchemasResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectSchemasResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**Array<CustomObjectSchema>**](CustomObjectSchema.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObjectSchema`](CustomObjectSchema.md) +* [`Raw`](Raw.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/GetCustomObjectsResponse.md b/src/gen/docs/models/GetCustomObjectsResponse.md new file mode 100644 index 000000000..c09860ae3 --- /dev/null +++ b/src/gen/docs/models/GetCustomObjectsResponse.md @@ -0,0 +1,37 @@ +# Apideck.GetCustomObjectsResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**Array<CustomObject>**](CustomObject.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] +`meta` | [**Meta**](Meta.md) | | [optional] +`links` | [**Links**](Links.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`CustomObject`](CustomObject.md) +* [`Raw`](Raw.md) +* [`Meta`](Meta.md) +* [`Links`](Links.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/HrisCompany.md b/src/gen/docs/models/HrisCompany.md index 26cb63848..f6c5e3a1a 100644 --- a/src/gen/docs/models/HrisCompany.md +++ b/src/gen/docs/models/HrisCompany.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes `emails` | [**Array<Email>**](Email.md) | | [optional] `websites` | [**Array<Website>**](Website.md) | | [optional] `debtor_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `deleted` | **boolean** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -57,7 +57,7 @@ Name | Type | Description | Notes * [`Email`](Email.md) * [`Website`](Website.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/HrisJob.md b/src/gen/docs/models/HrisJob.md index fe924cd44..81a60b9f6 100644 --- a/src/gen/docs/models/HrisJob.md +++ b/src/gen/docs/models/HrisJob.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `department` | **string** | Department name | [optional] `is_primary` | **boolean** | Indicates whether this the employee\'s primary job. | [optional] `location` | [**HrisJobLocation**](HrisJobLocation.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes * [`HrisJobLocation`](HrisJobLocation.md) - +* [`CustomMappings`](CustomMappings.md) --- diff --git a/src/gen/docs/models/Invoice.md b/src/gen/docs/models/Invoice.md index 92f4d47f9..aaa6f8047 100644 --- a/src/gen/docs/models/Invoice.md +++ b/src/gen/docs/models/Invoice.md @@ -37,13 +37,14 @@ Name | Type | Description | Notes `shipping_address` | [**Address**](Address.md) | | [optional] `template_id` | **string** | Optional invoice template | [optional] `source_document_url` | **string** | URL link to a source document - shown as \'Go to [appName]\' in the downstream app. Currently only supported for Xero. | [optional] +`payment_allocations` | [**Array<InvoicePaymentAllocations>**](InvoicePaymentAllocations.md) | IDs of payments made on the invoice | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `accounting_by_row` | **boolean** | Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction is created for each row. | [optional] `bank_account` | [**BankAccount**](BankAccount.md) | | [optional] `ledger_account` | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -131,13 +132,14 @@ Name | Type | Description | Notes * [`Address`](Address.md) +* [`InvoicePaymentAllocations`](InvoicePaymentAllocations.md) * [`BankAccount`](BankAccount.md) * [`LinkedLedgerAccount`](LinkedLedgerAccount.md) - +* [`CustomMappings`](CustomMappings.md) * [`CustomField`](CustomField.md) diff --git a/src/gen/docs/models/InvoiceItem.md b/src/gen/docs/models/InvoiceItem.md index 91fff94cf..7d1c1454d 100644 --- a/src/gen/docs/models/InvoiceItem.md +++ b/src/gen/docs/models/InvoiceItem.md @@ -25,7 +25,11 @@ Name | Type | Description | Notes `tracking_category` | [**DeprecatedLinkedTrackingCategory**](DeprecatedLinkedTrackingCategory.md) | | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] `active` | **boolean** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`department_id` | **string** | The ID of the department | [optional] +`location_id` | **string** | The ID of the location | [optional] +`subsidiary_id` | **string** | The ID of the subsidiary | [optional] +`tax_schedule_id` | **string** | The ID of the tax schedule | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -43,8 +47,12 @@ Name | Type | Description | Notes * `inventory` (value: `'inventory'`) +* `non_inventory` (value: `'non_inventory'`) + * `service` (value: `'service'`) +* `description` (value: `'description'`) + * `other` (value: `'other'`) @@ -75,6 +83,10 @@ Name | Type | Description | Notes +* [`CustomMappings`](CustomMappings.md) + + + * [`PassThroughBody`](PassThroughBody.md) diff --git a/src/gen/docs/models/InvoiceLineItem.md b/src/gen/docs/models/InvoiceLineItem.md index eadfdc1fb..c557b1c38 100644 --- a/src/gen/docs/models/InvoiceLineItem.md +++ b/src/gen/docs/models/InvoiceLineItem.md @@ -18,8 +18,8 @@ Name | Type | Description | Notes `unit_of_measure` | **string** | Description of the unit type the item is sold as, ie: kg, hour. | [optional] `discount_percentage` | **number** | Discount percentage applied to the line item when supported downstream. | [optional] `discount_amount` | **number** | Discount amount applied to the line item when supported downstream. | [optional] -`location_id` | **string** | Location id | [optional] -`department_id` | **string** | Department id | [optional] +`location_id` | **string** | The ID of the location | [optional] +`department_id` | **string** | The ID of the department | [optional] `item` | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] `tax_rate` | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] @@ -47,6 +47,8 @@ Name | Type | Description | Notes * `sub_total` (value: `'sub_total'`) +* `service` (value: `'service'`) + * `other` (value: `'other'`) diff --git a/src/gen/docs/models/InvoicePaymentAllocations.md b/src/gen/docs/models/InvoicePaymentAllocations.md new file mode 100644 index 000000000..8db1699dd --- /dev/null +++ b/src/gen/docs/models/InvoicePaymentAllocations.md @@ -0,0 +1,20 @@ +# Apideck.InvoicePaymentAllocations + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`id` | **string** | ID of the payment | [optional] +`allocated_amount` | **number** | Amount of the payment allocated to the invoice | [optional] +`date` | **Date** | Date of the payment | [optional] + + + + + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/Item.md b/src/gen/docs/models/Item.md index 0e9eef741..83ec331ab 100644 --- a/src/gen/docs/models/Item.md +++ b/src/gen/docs/models/Item.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `available` | **boolean** | | [optional] `hidden` | **boolean** | | [optional] `version` | **string** | The user who last updated the object. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `deleted` | **boolean** | Flag to indicate if the object is deleted. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -96,7 +96,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Job.md b/src/gen/docs/models/Job.md index 30c290ca8..172f4efb5 100644 --- a/src/gen/docs/models/Job.md +++ b/src/gen/docs/models/Job.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `deleted` | **boolean** | Flag to indicate if the object is deleted. | [optional] `owner_id` | **string** | | [optional] `published_at` | **Date** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -130,7 +130,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/JournalEntry.md b/src/gen/docs/models/JournalEntry.md index 1c99ced37..97adb7191 100644 --- a/src/gen/docs/models/JournalEntry.md +++ b/src/gen/docs/models/JournalEntry.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes `currency` | [**Currency**](Currency.md) | | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] `line_items` | [**Array<JournalEntryLineItem>**](JournalEntryLineItem.md) | Requires a minimum of 2 line items that sum to 0 | [optional] +`status` | **string** | Journal entry status | [optional] `memo` | **string** | Reference for the journal entry. | [optional] `posted_at` | **Date** | This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated. | [optional] `journal_symbol` | **string** | Journal symbol of the entry. For example IND for indirect costs | [optional] @@ -19,7 +20,7 @@ Name | Type | Description | Notes `number` | **string** | Journal entry number. | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] `accounting_period` | **string** | Accounting period | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -32,6 +33,27 @@ Name | Type | Description | Notes + +## Enum: JournalEntry.status + + +* `draft` (value: `'draft'`) + +* `pending_approval` (value: `'pending_approval'`) + +* `approved` (value: `'approved'`) + +* `posted` (value: `'posted'`) + +* `voided` (value: `'voided'`) + +* `rejected` (value: `'rejected'`) + +* `deleted` (value: `'deleted'`) + + + + ## Referenced Types: @@ -45,9 +67,10 @@ Name | Type | Description | Notes -* [`LinkedTrackingCategories`](LinkedTrackingCategories.md) +* [`LinkedTrackingCategories`](LinkedTrackingCategories.md) +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/JournalEntryLineItem.md b/src/gen/docs/models/JournalEntryLineItem.md index 9e5eb7003..c48bbe506 100644 --- a/src/gen/docs/models/JournalEntryLineItem.md +++ b/src/gen/docs/models/JournalEntryLineItem.md @@ -17,8 +17,8 @@ Name | Type | Description | Notes `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] `customer` | [**LinkedCustomer**](LinkedCustomer.md) | | [optional] `supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] -`department_id` | **string** | A unique identifier for an object. | [optional] -`location_id` | **string** | A unique identifier for an object. | [optional] +`department_id` | **string** | The ID of the department | [optional] +`location_id` | **string** | The ID of the location | [optional] `line_number` | **number** | Line number of the resource | [optional] diff --git a/src/gen/docs/models/Lead.md b/src/gen/docs/models/Lead.md index a85cd2b96..d65830ad9 100644 --- a/src/gen/docs/models/Lead.md +++ b/src/gen/docs/models/Lead.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `name` | **string** | Full name of the lead. | -`company_name` | **string** | The name of the company the lead is associated with. | `id` | **string** | Unique identifier for the contact. | [optional] +`company_name` | **string** | The name of the company the lead is associated with. | [optional] `owner_id` | **string** | The owner of the lead. | [optional] `owner_name` | **string** | The name of the owner of the lead. | [optional] `company_id` | **string** | The company the lead is associated with. | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes `emails` | [**Array<Email>**](Email.md) | | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `tags` | [**Tags**](Tags.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **string** | Date updated in ISO 8601 format | [optional] `created_at` | **string** | Date created in ISO 8601 format | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] @@ -65,7 +65,7 @@ Name | Type | Description | Notes * [`Email`](Email.md) * [`CustomField`](CustomField.md) * [`Tags`](Tags.md) - +* [`CustomMappings`](CustomMappings.md) * [`PassThroughBody`](PassThroughBody.md) diff --git a/src/gen/docs/models/LedgerAccount.md b/src/gen/docs/models/LedgerAccount.md index 8d46f6252..3fcd40245 100644 --- a/src/gen/docs/models/LedgerAccount.md +++ b/src/gen/docs/models/LedgerAccount.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `sub_accounts` | **Array<object>** | The sub accounts of the account. | [optional] `last_reconciliation_date` | **Date** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional] `subsidiaries` | **Array<object>** | The subsidiaries the account belongs to. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] @@ -158,7 +158,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) * [`CustomField`](CustomField.md) diff --git a/src/gen/docs/models/LinkedEcommerceCustomer.md b/src/gen/docs/models/LinkedEcommerceCustomer.md index 9b19cc85e..98fb6234e 100644 --- a/src/gen/docs/models/LinkedEcommerceCustomer.md +++ b/src/gen/docs/models/LinkedEcommerceCustomer.md @@ -7,7 +7,7 @@ The customer this entity is linked to. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`id` | **string** | The ID of the customer this entity is linked to. | +`id` | **string** | The ID of the customer this entity is linked to. | [optional] `name` | **string** | Full name of the customer | [optional] `first_name` | **string** | First name of the customer | [optional] `last_name` | **string** | Last name of the customer | [optional] diff --git a/src/gen/docs/models/Location.md b/src/gen/docs/models/Location.md index 56f7e9324..a8563634f 100644 --- a/src/gen/docs/models/Location.md +++ b/src/gen/docs/models/Location.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes `status` | **string** | Status of this location. | [optional] `merchant_id` | **string** | | [optional] `currency` | [**Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -44,7 +44,7 @@ Name | Type | Description | Notes * [`Currency`](Currency.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Merchant.md b/src/gen/docs/models/Merchant.md index a1546d35d..f9b7c5a1f 100644 --- a/src/gen/docs/models/Merchant.md +++ b/src/gen/docs/models/Merchant.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `service_charges` | [**Array<ServiceCharge>**](ServiceCharge.md) | | [optional] `language` | **string** | language code according to ISO 639-1. For the United States - EN | [optional] `currency` | [**Currency**](Currency.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -48,7 +48,7 @@ Name | Type | Description | Notes * [`ServiceCharge`](ServiceCharge.md) * [`Currency`](Currency.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Message.md b/src/gen/docs/models/Message.md index 3737f1c04..d367669ad 100644 --- a/src/gen/docs/models/Message.md +++ b/src/gen/docs/models/Message.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes `price` | [**Price**](Price.md) | | [optional] `error` | **Error** | | [optional] `messaging_service_id` | **string** | The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -110,7 +110,7 @@ Name | Type | Description | Notes * [`Price`](Price.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Modifier.md b/src/gen/docs/models/Modifier.md index 5bc35d1f8..918d0d4f9 100644 --- a/src/gen/docs/models/Modifier.md +++ b/src/gen/docs/models/Modifier.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `price_amount` | **number** | | [optional] `currency` | [**Currency**](Currency.md) | | [optional] `available` | **boolean** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -33,7 +33,7 @@ Name | Type | Description | Notes * [`Currency`](Currency.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/ModifierGroup.md b/src/gen/docs/models/ModifierGroup.md index 8ae17d82c..e6bd027fb 100644 --- a/src/gen/docs/models/ModifierGroup.md +++ b/src/gen/docs/models/ModifierGroup.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `present_at_all_locations` | **boolean** | | [optional] `modifiers` | **Array<object>** | | [optional] `deleted` | **boolean** | Flag to indicate if the object is deleted. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -47,7 +47,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Note.md b/src/gen/docs/models/Note.md index 736fe2070..0f7d16c20 100644 --- a/src/gen/docs/models/Note.md +++ b/src/gen/docs/models/Note.md @@ -12,9 +12,10 @@ Name | Type | Description | Notes `contact_id` | **string** | The contact that is related to the note. | [optional] `company_id` | **string** | The company that is related to the note. | [optional] `opportunity_id` | **string** | The opportunity that is related to the note. | [optional] +`activity_id` | **string** | The activity that is related to the note. | [optional] `lead_id` | **string** | The lead that is related to the note. | [optional] `active` | **boolean** | Whether the Note is active or not. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user that last updated the note. | [optional] `created_by` | **string** | The user that created the note. | [optional] `updated_at` | **string** | The timestamp when the note was last updated | [optional] @@ -36,6 +37,7 @@ Name | Type | Description | Notes +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Offer.md b/src/gen/docs/models/Offer.md index 93530256a..4a681b3bb 100644 --- a/src/gen/docs/models/Offer.md +++ b/src/gen/docs/models/Offer.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `id` | **string** | A unique identifier for an object. | [optional] `application_id` | **string** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -17,6 +17,15 @@ Name | Type | Description | Notes +## Referenced Types: + + +* [`CustomMappings`](CustomMappings.md) + + + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Opportunity.md b/src/gen/docs/models/Opportunity.md index 9f9ee7a02..b36d14bfd 100644 --- a/src/gen/docs/models/Opportunity.md +++ b/src/gen/docs/models/Opportunity.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes `date_stage_changed` | **Date** | The date and time when the stage of the opportunity was last changed. | [optional] `date_last_contacted` | **Date** | The date and time when the opportunity was last contacted. | [optional] `date_lead_created` | **Date** | The date and time when the lead associated with the opportunity was created. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The unique identifier of the user who last updated the opportunity. | [optional] `created_by` | **string** | The unique identifier of the user who created the opportunity. | [optional] `updated_at` | **Date** | The date and time when the opportunity was last updated. | [optional] @@ -89,7 +89,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Order.md b/src/gen/docs/models/Order.md index 9f5bf9e56..7f40b8c41 100644 --- a/src/gen/docs/models/Order.md +++ b/src/gen/docs/models/Order.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes `source` | **string** | Source of order. Indicates the way that the order was placed. | [optional] `voided` | **boolean** | | [optional] `voided_at` | **Date** | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `version` | **string** | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -157,7 +157,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/OtherExpenses.md b/src/gen/docs/models/OtherExpenses.md index 3e3ea3cce..0daab3a09 100644 --- a/src/gen/docs/models/OtherExpenses.md +++ b/src/gen/docs/models/OtherExpenses.md @@ -7,25 +7,25 @@ The other expenses accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **number** | The aggregated total of all accounts within this category. | `records` | [**ProfitAndLossRecords**](ProfitAndLossRecords.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **number** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`ProfitAndLossRecords`](ProfitAndLossRecords.md) * [`ProfitAndLossType`](ProfitAndLossType.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/OtherIncome.md b/src/gen/docs/models/OtherIncome.md index da68a598b..2578d3dc7 100644 --- a/src/gen/docs/models/OtherIncome.md +++ b/src/gen/docs/models/OtherIncome.md @@ -7,25 +7,25 @@ The other income accounts ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`total` | **number** | The aggregated total of all accounts within this category. | `records` | [**ProfitAndLossRecords**](ProfitAndLossRecords.md) | | `id` | **string** | A unique identifier for an object. | [optional] `code` | **string** | The account code of the account | [optional] `title` | **string** | The name of the account. | [optional] `type` | [**ProfitAndLossType**](ProfitAndLossType.md) | | [optional] +`total` | **number** | The aggregated total of all accounts within this category. | [optional] ## Referenced Types: - * [`ProfitAndLossRecords`](ProfitAndLossRecords.md) * [`ProfitAndLossType`](ProfitAndLossType.md) + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Payment.md b/src/gen/docs/models/Payment.md index 3106cd11a..74d7a61de 100644 --- a/src/gen/docs/models/Payment.md +++ b/src/gen/docs/models/Payment.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `display_id` | **string** | Id to be displayed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `created_at` | **Date** | The date and time when the object was created. | [optional] @@ -69,7 +69,7 @@ Name | Type | Description | Notes * [`CustomField`](CustomField.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/PaymentsFilter.md b/src/gen/docs/models/PaymentsFilter.md index 14705c041..f0bf00408 100644 --- a/src/gen/docs/models/PaymentsFilter.md +++ b/src/gen/docs/models/PaymentsFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- `updated_since` | **Date** | | [optional] +`invoice_id` | **string** | | [optional] diff --git a/src/gen/docs/models/Payroll.md b/src/gen/docs/models/Payroll.md index 39ced3dda..c610a3ec9 100644 --- a/src/gen/docs/models/Payroll.md +++ b/src/gen/docs/models/Payroll.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes `processed_date` | **string** | The date the payroll was processed. | [optional] `totals` | [**PayrollTotals**](PayrollTotals.md) | | [optional] `compensations` | [**Array<Compensation>**](Compensation.md) | An array of compensations for the payroll. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes * [`PayrollTotals`](PayrollTotals.md) * [`Compensation`](Compensation.md) - +* [`CustomMappings`](CustomMappings.md) --- diff --git a/src/gen/docs/models/Person.md b/src/gen/docs/models/Person.md index 85b2cb5ff..fbf6388c1 100644 --- a/src/gen/docs/models/Person.md +++ b/src/gen/docs/models/Person.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `initials` | **string** | Initials of the person | [optional] `birthday` | **Date** | Date of birth | [optional] `deceased_on` | **Date** | Date of death | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] @@ -28,7 +28,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) --- diff --git a/src/gen/docs/models/PosPayment.md b/src/gen/docs/models/PosPayment.md index 7b92a1022..e3869a10a 100644 --- a/src/gen/docs/models/PosPayment.md +++ b/src/gen/docs/models/PosPayment.md @@ -34,7 +34,7 @@ Name | Type | Description | Notes `wallet` | [**WalletDetails**](WalletDetails.md) | | [optional] `external_details` | [**PosPaymentExternalDetails**](PosPaymentExternalDetails.md) | | [optional] `service_charges` | [**ServiceCharges**](ServiceCharges.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -115,7 +115,7 @@ Name | Type | Description | Notes * [`WalletDetails`](WalletDetails.md) * [`PosPaymentExternalDetails`](PosPaymentExternalDetails.md) * [`ServiceCharges`](ServiceCharges.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/ProfitAndLoss.md b/src/gen/docs/models/ProfitAndLoss.md index fad51e625..9ccd381c4 100644 --- a/src/gen/docs/models/ProfitAndLoss.md +++ b/src/gen/docs/models/ProfitAndLoss.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `gross_profit` | [**ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_operating_income` | [**ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] `net_income` | [**ProfitAndLossIndicator**](ProfitAndLossIndicator.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `customer` | **string** | The customer id | [optional] @@ -41,7 +41,7 @@ Name | Type | Description | Notes * [`ProfitAndLossIndicator`](ProfitAndLossIndicator.md) * [`ProfitAndLossIndicator`](ProfitAndLossIndicator.md) * [`ProfitAndLossIndicator`](ProfitAndLossIndicator.md) - +* [`CustomMappings`](CustomMappings.md) --- diff --git a/src/gen/docs/models/PurchaseOrder.md b/src/gen/docs/models/PurchaseOrder.md index 99aea0584..7574cda1a 100644 --- a/src/gen/docs/models/PurchaseOrder.md +++ b/src/gen/docs/models/PurchaseOrder.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes `po_number` | **string** | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. | [optional] `reference` | **string** | Optional purchase order reference. | [optional] `supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] +`subsidiary_id` | **string** | The ID of the subsidiary | [optional] `company_id` | **string** | The company or subsidiary id the transaction belongs to | [optional] `status` | **string** | | [optional] `issued_date` | **Date** | Date purchase order was issued - YYYY-MM-DD. | [optional] @@ -34,7 +35,8 @@ Name | Type | Description | Notes `channel` | **string** | The channel through which the transaction is processed. | [optional] `memo` | **string** | Message for the supplier. This text appears on the Purchase Order. | [optional] `tracking_categories` | [**LinkedTrackingCategories**](LinkedTrackingCategories.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] +`custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -76,6 +78,7 @@ Name | Type | Description | Notes + * [`Currency`](Currency.md) @@ -95,7 +98,8 @@ Name | Type | Description | Notes * [`LinkedTrackingCategories`](LinkedTrackingCategories.md) - +* [`CustomMappings`](CustomMappings.md) +* [`CustomField`](CustomField.md) diff --git a/src/gen/docs/models/SimpleFormFieldOption.md b/src/gen/docs/models/SimpleFormFieldOption.md index 59820903e..af3eafc86 100644 --- a/src/gen/docs/models/SimpleFormFieldOption.md +++ b/src/gen/docs/models/SimpleFormFieldOption.md @@ -5,13 +5,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -`label` | **string** | | [optional] +`label` | **string** | | +`option_type` | **string** | | `value` | **string \| number \| boolean \| Array<string \| number>** | | [optional] + +## Enum: SimpleFormFieldOption.option_type + + +* `simple` (value: `'simple'`) + + + + --- [[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) diff --git a/src/gen/docs/models/Subsidiary.md b/src/gen/docs/models/Subsidiary.md index 6a6017433..f2337dc98 100644 --- a/src/gen/docs/models/Subsidiary.md +++ b/src/gen/docs/models/Subsidiary.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes `parent_id` | **string** | A unique identifier for an object. | [optional] `name` | **string** | The name of the company. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -37,7 +37,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Supplier.md b/src/gen/docs/models/Supplier.md index 235ab1e88..ab1d6db55 100644 --- a/src/gen/docs/models/Supplier.md +++ b/src/gen/docs/models/Supplier.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes `status` | **string** | Supplier status | [optional] `payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] `channel` | **string** | The channel through which the transaction is processed. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `custom_fields` | [**Array<CustomField>**](CustomField.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -87,7 +87,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) * [`CustomField`](CustomField.md) diff --git a/src/gen/docs/models/TaxRate.md b/src/gen/docs/models/TaxRate.md index babf730df..1655956b5 100644 --- a/src/gen/docs/models/TaxRate.md +++ b/src/gen/docs/models/TaxRate.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes `report_tax_type` | **string** | Report Tax type to aggregate tax collected or paid for reporting purposes | [optional] `original_tax_rate_id` | **string** | ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities. | [optional] `status` | **string** | Tax rate status | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -59,7 +59,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Tender.md b/src/gen/docs/models/Tender.md index a4484daa5..9b636dcd0 100644 --- a/src/gen/docs/models/Tender.md +++ b/src/gen/docs/models/Tender.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes `editable` | **boolean** | | [optional] `opens_cash_drawer` | **boolean** | If this tender opens the cash drawer | [optional] `allows_tipping` | **boolean** | Allow tipping on payment from tender | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -33,7 +33,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/Ticket.md b/src/gen/docs/models/Ticket.md index aedc312f1..f3846ff03 100644 --- a/src/gen/docs/models/Ticket.md +++ b/src/gen/docs/models/Ticket.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `due_date` | **Date** | Due date of the ticket | [optional] `completed_at` | **Date** | When the ticket was completed | [optional] `tags` | [**Array<CollectionTag>**](CollectionTag.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] @@ -58,7 +58,7 @@ Name | Type | Description | Notes * [`CollectionTag`](CollectionTag.md) - +* [`CustomMappings`](CustomMappings.md) * [`PassThroughBody`](PassThroughBody.md) --- diff --git a/src/gen/docs/models/TimeOffRequest.md b/src/gen/docs/models/TimeOffRequest.md index 6bc7d8424..71fa60dfb 100644 --- a/src/gen/docs/models/TimeOffRequest.md +++ b/src/gen/docs/models/TimeOffRequest.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes `amount` | **number** | The amount of time off requested. | [optional] `day_part` | **string** | The day part of the time off request. | [optional] `notes` | [**TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -99,7 +99,7 @@ Name | Type | Description | Notes * [`TimeOffRequestNotes`](TimeOffRequestNotes.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/TrackingCategory.md b/src/gen/docs/models/TrackingCategory.md index 168111e95..b324451fa 100644 --- a/src/gen/docs/models/TrackingCategory.md +++ b/src/gen/docs/models/TrackingCategory.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes `name` | **string** | The name of the tracking category. | [optional] `code` | **string** | The code of the tracking category. | [optional] `status` | **string** | Based on the status some functionality is enabled or disabled. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] @@ -40,7 +40,7 @@ Name | Type | Description | Notes - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/UnifiedFile.md b/src/gen/docs/models/UnifiedFile.md index 81249e98d..444ddfa74 100644 --- a/src/gen/docs/models/UnifiedFile.md +++ b/src/gen/docs/models/UnifiedFile.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes `permissions` | [**UnifiedFilePermissions**](UnifiedFilePermissions.md) | | [optional] `exportable` | **boolean** | Whether the current file is exportable to other file formats. This property is relevant for proprietary file formats such as Google Docs or Dropbox Paper. | [optional] `export_formats` | **Array<string>** | The available file formats when exporting this file. | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_by` | **string** | The user who last updated the object. | [optional] `created_by` | **string** | The user who created the object. | [optional] `updated_at` | **Date** | The date and time when the object was last updated. | [optional] @@ -46,7 +46,7 @@ Name | Type | Description | Notes * [`UnifiedFilePermissions`](UnifiedFilePermissions.md) - +* [`CustomMappings`](CustomMappings.md) diff --git a/src/gen/docs/models/UpdateBankFeedAccountResponse.md b/src/gen/docs/models/UpdateBankFeedAccountResponse.md new file mode 100644 index 000000000..52fa3fd59 --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedAccountResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedAccountResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateBankFeedStatementResponse.md b/src/gen/docs/models/UpdateBankFeedStatementResponse.md new file mode 100644 index 000000000..c2ad9f973 --- /dev/null +++ b/src/gen/docs/models/UpdateBankFeedStatementResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateBankFeedStatementResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateCustomObjectResponse.md b/src/gen/docs/models/UpdateCustomObjectResponse.md new file mode 100644 index 000000000..73ed0c237 --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md new file mode 100644 index 000000000..6c9ddf6dd --- /dev/null +++ b/src/gen/docs/models/UpdateCustomObjectSchemaResponse.md @@ -0,0 +1,33 @@ +# Apideck.UpdateCustomObjectSchemaResponse + +### Description + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +`status_code` | **number** | HTTP Response Status Code | +`status` | **string** | HTTP Response Status | +`service` | **string** | Apideck ID of service provider | +`resource` | **string** | Unified API resource name | +`operation` | **string** | Operation performed | +`data` | [**UnifiedId**](UnifiedId.md) | | +`_raw` | [**Raw**](Raw.md) | | [optional] + + + + + +## Referenced Types: + + + + + +* [`UnifiedId`](UnifiedId.md) +* [`Raw`](Raw.md) + +--- + +[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md) + + diff --git a/src/gen/docs/models/User.md b/src/gen/docs/models/User.md index 1c74be10b..4839d350a 100644 --- a/src/gen/docs/models/User.md +++ b/src/gen/docs/models/User.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes `password` | **string** | The password of the user | [optional] `addresses` | [**Array<Address>**](Address.md) | | [optional] `phone_numbers` | [**Array<PhoneNumber>**](PhoneNumber.md) | | [optional] -`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional] +`custom_mappings` | [**CustomMappings**](CustomMappings.md) | | [optional] `updated_at` | **string** | The date and time when the user was last updated. | [optional] `created_at` | **string** | The date and time when the user was created. | [optional] `pass_through` | [**PassThroughBody**](PassThroughBody.md) | | [optional] @@ -51,7 +51,7 @@ Name | Type | Description | Notes * [`Address`](Address.md) * [`PhoneNumber`](PhoneNumber.md) - +* [`CustomMappings`](CustomMappings.md) * [`PassThroughBody`](PassThroughBody.md) diff --git a/src/gen/models/AccountingDepartment.ts b/src/gen/models/AccountingDepartment.ts index 3fed5ead8..9dc4ccf3f 100644 --- a/src/gen/models/AccountingDepartment.ts +++ b/src/gen/models/AccountingDepartment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { SubsidiaryReference, @@ -57,11 +58,17 @@ export interface AccountingDepartment { */ subsidiaries?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * The code of the department. + * @type {string} + * @memberof AccountingDepartment + */ + code?: string + /** + * + * @type {CustomMappings} * @memberof AccountingDepartment */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -128,7 +135,10 @@ export function AccountingDepartmentFromJSONTyped( subsidiaries: !exists(json, 'subsidiaries') ? undefined : (json['subsidiaries'] as Array).map(SubsidiaryReferenceFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + code: !exists(json, 'code') ? undefined : json['code'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -163,6 +173,8 @@ export function AccountingDepartmentToJSON(value?: AccountingDepartment | null): value.subsidiaries === undefined ? undefined : (value.subsidiaries as Array).map(SubsidiaryReferenceToJSON), + code: value.code, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/AccountingDepartmentsFilter.ts b/src/gen/models/AccountingDepartmentsFilter.ts index bdc8d5940..d99b6d0b6 100644 --- a/src/gen/models/AccountingDepartmentsFilter.ts +++ b/src/gen/models/AccountingDepartmentsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AccountingEventType.ts b/src/gen/models/AccountingEventType.ts index 7ee56456b..d39c8eb5b 100644 --- a/src/gen/models/AccountingEventType.ts +++ b/src/gen/models/AccountingEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AccountingLocation.ts b/src/gen/models/AccountingLocation.ts index 3ac68cdbd..bebb8a0a4 100644 --- a/src/gen/models/AccountingLocation.ts +++ b/src/gen/models/AccountingLocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { SubsidiaryReference, @@ -70,11 +71,11 @@ export interface AccountingLocation { */ subsidiaries?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof AccountingLocation */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -145,7 +146,9 @@ export function AccountingLocationFromJSONTyped( subsidiaries: !exists(json, 'subsidiaries') ? undefined : (json['subsidiaries'] as Array).map(SubsidiaryReferenceFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -185,6 +188,7 @@ export function AccountingLocationToJSON(value?: AccountingLocation | null): any value.subsidiaries === undefined ? undefined : (value.subsidiaries as Array).map(SubsidiaryReferenceToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/AccountingLocationsFilter.ts b/src/gen/models/AccountingLocationsFilter.ts index b69094390..3ff9c51e6 100644 --- a/src/gen/models/AccountingLocationsFilter.ts +++ b/src/gen/models/AccountingLocationsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ActivitiesFilter.ts b/src/gen/models/ActivitiesFilter.ts index c48ce191d..a62f17b51 100644 --- a/src/gen/models/ActivitiesFilter.ts +++ b/src/gen/models/ActivitiesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ActivitiesSort.ts b/src/gen/models/ActivitiesSort.ts index 6fcf65352..b5ef3e631 100644 --- a/src/gen/models/ActivitiesSort.ts +++ b/src/gen/models/ActivitiesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Activity.ts b/src/gen/models/Activity.ts index f0b49f9ea..4d549db22 100644 --- a/src/gen/models/Activity.ts +++ b/src/gen/models/Activity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,6 +20,7 @@ import { } from './ActivityAttendee' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -305,11 +306,11 @@ export interface Activity { */ attendees?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Activity */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the activity * @type {string} @@ -431,7 +432,9 @@ export function ActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean): attendees: !exists(json, 'attendees') ? undefined : (json['attendees'] as Array).map(ActivityAttendeeFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], @@ -499,6 +502,7 @@ export function ActivityToJSON(value?: Activity | null): any { value.attendees === undefined ? undefined : (value.attendees as Array).map(ActivityAttendeeToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/ActivityAttendee.ts b/src/gen/models/ActivityAttendee.ts index 66a690c84..ece2037bf 100644 --- a/src/gen/models/ActivityAttendee.ts +++ b/src/gen/models/ActivityAttendee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Address.ts b/src/gen/models/Address.ts index d6853a6f1..6d9f5e43f 100644 --- a/src/gen/models/Address.ts +++ b/src/gen/models/Address.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AgedCreditors.ts b/src/gen/models/AgedCreditors.ts index d5261fcc0..722b35913 100644 --- a/src/gen/models/AgedCreditors.ts +++ b/src/gen/models/AgedCreditors.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AgedDebtors.ts b/src/gen/models/AgedDebtors.ts index 2dc64835e..66560a5d1 100644 --- a/src/gen/models/AgedDebtors.ts +++ b/src/gen/models/AgedDebtors.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AgedReportFilter.ts b/src/gen/models/AgedReportFilter.ts index c32593e87..79073ab2e 100644 --- a/src/gen/models/AgedReportFilter.ts +++ b/src/gen/models/AgedReportFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Allocation.ts b/src/gen/models/Allocation.ts index d69e91603..e79166b30 100644 --- a/src/gen/models/Allocation.ts +++ b/src/gen/models/Allocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Api.ts b/src/gen/models/Api.ts index 82fab43e8..56041ae10 100644 --- a/src/gen/models/Api.ts +++ b/src/gen/models/Api.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResource.ts b/src/gen/models/ApiResource.ts index a0810be71..fa3895304 100644 --- a/src/gen/models/ApiResource.ts +++ b/src/gen/models/ApiResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceCoverage.ts b/src/gen/models/ApiResourceCoverage.ts index c9ee6e4bf..a6080f171 100644 --- a/src/gen/models/ApiResourceCoverage.ts +++ b/src/gen/models/ApiResourceCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceCoverageCoverage.ts b/src/gen/models/ApiResourceCoverageCoverage.ts index 081806a5b..2d095114b 100644 --- a/src/gen/models/ApiResourceCoverageCoverage.ts +++ b/src/gen/models/ApiResourceCoverageCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResourceLinkedResources.ts b/src/gen/models/ApiResourceLinkedResources.ts index 4d030387b..6462294b6 100644 --- a/src/gen/models/ApiResourceLinkedResources.ts +++ b/src/gen/models/ApiResourceLinkedResources.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiResources.ts b/src/gen/models/ApiResources.ts index 0783daaf5..53a4df8ee 100644 --- a/src/gen/models/ApiResources.ts +++ b/src/gen/models/ApiResources.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApiStatus.ts b/src/gen/models/ApiStatus.ts index b8229ea7a..4d422bc6b 100644 --- a/src/gen/models/ApiStatus.ts +++ b/src/gen/models/ApiStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApisFilter.ts b/src/gen/models/ApisFilter.ts index 8ab40b317..6706610de 100644 --- a/src/gen/models/ApisFilter.ts +++ b/src/gen/models/ApisFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Applicant.ts b/src/gen/models/Applicant.ts index 5e823b58d..f95d1f9a1 100644 --- a/src/gen/models/Applicant.ts +++ b/src/gen/models/Applicant.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ import { ApplicantWebsitesToJSON } from './ApplicantWebsites' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -253,11 +254,11 @@ export interface Applicant { */ readonly rejected_at?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Applicant */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * Flag to indicate if the object is deleted. * @type {boolean} @@ -375,7 +376,9 @@ export function ApplicantFromJSONTyped(json: any, ignoreDiscriminator: boolean): : json['rejected_at'] === null ? null : new Date(json['rejected_at']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), deleted: !exists(json, 'deleted') ? undefined : json['deleted'], deleted_by: !exists(json, 'deleted_by') ? undefined : json['deleted_by'], deleted_at: !exists(json, 'deleted_at') @@ -458,6 +461,7 @@ export function ApplicantToJSON(value?: Applicant | null): any { archived: value.archived, owner_id: value.owner_id, record_url: value.record_url, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), deleted: value.deleted, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/ApplicantSocialLinks.ts b/src/gen/models/ApplicantSocialLinks.ts index 3ad9865e4..bc8ab72cb 100644 --- a/src/gen/models/ApplicantSocialLinks.ts +++ b/src/gen/models/ApplicantSocialLinks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicantWebsites.ts b/src/gen/models/ApplicantWebsites.ts index 1565bd360..855af625e 100644 --- a/src/gen/models/ApplicantWebsites.ts +++ b/src/gen/models/ApplicantWebsites.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ApplicantsFilter.ts b/src/gen/models/ApplicantsFilter.ts index 439a896d7..0ab918385 100644 --- a/src/gen/models/ApplicantsFilter.ts +++ b/src/gen/models/ApplicantsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Application.ts b/src/gen/models/Application.ts index fea4d8bf8..776ab10d7 100644 --- a/src/gen/models/Application.ts +++ b/src/gen/models/Application.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,6 +18,7 @@ import { ApplicationStageFromJSON, ApplicationStageToJSON } from './ApplicationStage' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -57,11 +58,11 @@ export interface Application { */ stage?: ApplicationStage /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Application */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -120,7 +121,9 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean id: !exists(json, 'id') ? undefined : json['id'], status: !exists(json, 'status') ? undefined : json['status'], stage: !exists(json, 'stage') ? undefined : ApplicationStageFromJSON(json['stage']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -151,6 +154,7 @@ export function ApplicationToJSON(value?: Application | null): any { job_id: value.job_id, status: value.status, stage: ApplicationStageToJSON(value.stage), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/ApplicationStage.ts b/src/gen/models/ApplicationStage.ts index c6c9664ad..7a96d1068 100644 --- a/src/gen/models/ApplicationStage.ts +++ b/src/gen/models/ApplicationStage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Assignee.ts b/src/gen/models/Assignee.ts index 765c31522..3983503fc 100644 --- a/src/gen/models/Assignee.ts +++ b/src/gen/models/Assignee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AtsActivity.ts b/src/gen/models/AtsActivity.ts index 9c2bc01cf..29219b007 100644 --- a/src/gen/models/AtsActivity.ts +++ b/src/gen/models/AtsActivity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -26,11 +28,11 @@ export interface AtsActivity { */ readonly id?: string /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof AtsActivity */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -67,7 +69,9 @@ export function AtsActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean } return { id: !exists(json, 'id') ? undefined : json['id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -90,5 +94,7 @@ export function AtsActivityToJSON(value?: AtsActivity | null): any { if (value === null) { return null } - return {} + return { + custom_mappings: CustomMappingsToJSON(value.custom_mappings) + } } diff --git a/src/gen/models/AtsEventType.ts b/src/gen/models/AtsEventType.ts index abbdcefc9..5c1237181 100644 --- a/src/gen/models/AtsEventType.ts +++ b/src/gen/models/AtsEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Attachment.ts b/src/gen/models/Attachment.ts index c2c6fe075..31d1671e1 100644 --- a/src/gen/models/Attachment.ts +++ b/src/gen/models/Attachment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AttachmentReference.ts b/src/gen/models/AttachmentReference.ts index 09e7fcdad..eee7906c2 100644 --- a/src/gen/models/AttachmentReference.ts +++ b/src/gen/models/AttachmentReference.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AttachmentReferenceType.ts b/src/gen/models/AttachmentReferenceType.ts index e8d8e83f8..acaa71569 100644 --- a/src/gen/models/AttachmentReferenceType.ts +++ b/src/gen/models/AttachmentReferenceType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/AuthType.ts b/src/gen/models/AuthType.ts index 6cc0c27f1..598359aa4 100644 --- a/src/gen/models/AuthType.ts +++ b/src/gen/models/AuthType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BadRequestResponse.ts b/src/gen/models/BadRequestResponse.ts index 2d167ca41..42dc2e082 100644 --- a/src/gen/models/BadRequestResponse.ts +++ b/src/gen/models/BadRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceByPeriod.ts b/src/gen/models/BalanceByPeriod.ts index 6bd0d3842..dae53690d 100644 --- a/src/gen/models/BalanceByPeriod.ts +++ b/src/gen/models/BalanceByPeriod.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceByTransaction.ts b/src/gen/models/BalanceByTransaction.ts index ed1f8e450..069bfd3fa 100644 --- a/src/gen/models/BalanceByTransaction.ts +++ b/src/gen/models/BalanceByTransaction.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheet.ts b/src/gen/models/BalanceSheet.ts index f90ad4ccc..5ba513c4c 100644 --- a/src/gen/models/BalanceSheet.ts +++ b/src/gen/models/BalanceSheet.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccount.ts b/src/gen/models/BalanceSheetAccount.ts index 771883750..eb37e6f53 100644 --- a/src/gen/models/BalanceSheetAccount.ts +++ b/src/gen/models/BalanceSheetAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccountRecord.ts b/src/gen/models/BalanceSheetAccountRecord.ts index 00cf70a87..6e934af20 100644 --- a/src/gen/models/BalanceSheetAccountRecord.ts +++ b/src/gen/models/BalanceSheetAccountRecord.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAccounts.ts b/src/gen/models/BalanceSheetAccounts.ts index a806b0579..4f7d50d25 100644 --- a/src/gen/models/BalanceSheetAccounts.ts +++ b/src/gen/models/BalanceSheetAccounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetAssetsAccount.ts b/src/gen/models/BalanceSheetAssetsAccount.ts index 9db63cc19..ccfdba9a9 100644 --- a/src/gen/models/BalanceSheetAssetsAccount.ts +++ b/src/gen/models/BalanceSheetAssetsAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetEquityAccount.ts b/src/gen/models/BalanceSheetEquityAccount.ts index 9a57e9a98..db030703e 100644 --- a/src/gen/models/BalanceSheetEquityAccount.ts +++ b/src/gen/models/BalanceSheetEquityAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetFilter.ts b/src/gen/models/BalanceSheetFilter.ts index 6b0254ab0..1e57b7dd7 100644 --- a/src/gen/models/BalanceSheetFilter.ts +++ b/src/gen/models/BalanceSheetFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetLiabilitiesAccount.ts b/src/gen/models/BalanceSheetLiabilitiesAccount.ts index 58be95cea..3f266bc5d 100644 --- a/src/gen/models/BalanceSheetLiabilitiesAccount.ts +++ b/src/gen/models/BalanceSheetLiabilitiesAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BalanceSheetReports.ts b/src/gen/models/BalanceSheetReports.ts index 48177347a..77215727f 100644 --- a/src/gen/models/BalanceSheetReports.ts +++ b/src/gen/models/BalanceSheetReports.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,6 +34,7 @@ import { BalanceSheetUncategorizedItemsAccountToJSON } from './BalanceSheetUncategorizedItemsAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' /** * @@ -96,11 +97,11 @@ export interface BalanceSheetReports { */ net_assets?: number /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof BalanceSheetReports */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -154,7 +155,9 @@ export function BalanceSheetReportsFromJSONTyped( start_date: !exists(json, 'start_date') ? undefined : json['start_date'], currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), net_assets: !exists(json, 'net_assets') ? undefined : json['net_assets'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -189,6 +192,7 @@ export function BalanceSheetReportsToJSON(value?: BalanceSheetReports | null): a start_date: value.start_date, currency: CurrencyToJSON(value.currency), net_assets: value.net_assets, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), uncategorized_items: BalanceSheetUncategorizedItemsAccountToJSON(value.uncategorized_items) } } diff --git a/src/gen/models/BalanceSheetUncategorizedItemsAccount.ts b/src/gen/models/BalanceSheetUncategorizedItemsAccount.ts index afb74159e..aac2250fc 100644 --- a/src/gen/models/BalanceSheetUncategorizedItemsAccount.ts +++ b/src/gen/models/BalanceSheetUncategorizedItemsAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BankAccount.ts b/src/gen/models/BankAccount.ts index 18376915c..061e3ddf7 100644 --- a/src/gen/models/BankAccount.ts +++ b/src/gen/models/BankAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BankFeedAccount.ts b/src/gen/models/BankFeedAccount.ts new file mode 100644 index 000000000..fb6925c46 --- /dev/null +++ b/src/gen/models/BankFeedAccount.ts @@ -0,0 +1,203 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + +/** + * + * @export + * @interface BankFeedAccount + */ +export interface BankFeedAccount { + /** + * A unique identifier for an object. + * @type {string} + * @memberof BankFeedAccount + */ + readonly id: string + /** + * Type of the bank account. + * @type {string} + * @memberof BankFeedAccount + */ + bank_account_type?: BankFeedAccountBankAccountType + /** + * The source account's unique identifier. + * @type {string} + * @memberof BankFeedAccount + */ + source_account_id?: string + /** + * The target account's unique identifier in the accounting connector. + * @type {string} + * @memberof BankFeedAccount + */ + target_account_id?: string + /** + * Name associated with the target account. + * @type {string} + * @memberof BankFeedAccount + */ + target_account_name?: string + /** + * Account number of the destination bank account. + * @type {string} + * @memberof BankFeedAccount + */ + target_account_number?: string + /** + * + * @type {Currency} + * @memberof BankFeedAccount + */ + currency?: Currency | null + /** + * Current status of the bank feed. + * @type {string} + * @memberof BankFeedAccount + */ + feed_status?: BankFeedAccountFeedStatus + /** + * Country code according to ISO 3166-1 alpha-2. + * @type {string} + * @memberof BankFeedAccount + */ + country?: string | null + /** + * + * @type {Array} + * @memberof BankFeedAccount + */ + custom_fields?: Array + /** + * + * @type {CustomMappings} + * @memberof BankFeedAccount + */ + custom_mappings?: CustomMappings | null + /** + * The date and time when the object was created. + * @type {Date} + * @memberof BankFeedAccount + */ + readonly created_at?: Date | null + /** + * The date and time when the object was last updated. + * @type {Date} + * @memberof BankFeedAccount + */ + readonly updated_at?: Date | null + /** + * The user who last updated the object. + * @type {string} + * @memberof BankFeedAccount + */ + readonly updated_by?: string | null + /** + * The user who created the object. + * @type {string} + * @memberof BankFeedAccount + */ + readonly created_by?: string | null +} + +/** + * @export + * @enum {string} + */ +export enum BankFeedAccountBankAccountType { + bank = 'bank', + credit_card = 'credit_card' +} +/** + * @export + * @enum {string} + */ +export enum BankFeedAccountFeedStatus { + pending = 'pending', + rejected = 'rejected' +} + +export function BankFeedAccountFromJSON(json: any): BankFeedAccount { + return BankFeedAccountFromJSONTyped(json, false) +} + +export function BankFeedAccountFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): BankFeedAccount { + if (json === undefined || json === null) { + return json + } + return { + id: json['id'], + bank_account_type: !exists(json, 'bank_account_type') ? undefined : json['bank_account_type'], + source_account_id: !exists(json, 'source_account_id') ? undefined : json['source_account_id'], + target_account_id: !exists(json, 'target_account_id') ? undefined : json['target_account_id'], + target_account_name: !exists(json, 'target_account_name') + ? undefined + : json['target_account_name'], + target_account_number: !exists(json, 'target_account_number') + ? undefined + : json['target_account_number'], + currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), + feed_status: !exists(json, 'feed_status') ? undefined : json['feed_status'], + country: !exists(json, 'country') ? undefined : json['country'], + custom_fields: !exists(json, 'custom_fields') + ? undefined + : (json['custom_fields'] as Array).map(CustomFieldFromJSON), + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), + created_at: !exists(json, 'created_at') + ? undefined + : json['created_at'] === null + ? null + : new Date(json['created_at']), + updated_at: !exists(json, 'updated_at') + ? undefined + : json['updated_at'] === null + ? null + : new Date(json['updated_at']), + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], + created_by: !exists(json, 'created_by') ? undefined : json['created_by'] + } +} + +export function BankFeedAccountToJSON(value?: BankFeedAccount | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + bank_account_type: value.bank_account_type, + source_account_id: value.source_account_id, + target_account_id: value.target_account_id, + target_account_name: value.target_account_name, + target_account_number: value.target_account_number, + currency: CurrencyToJSON(value.currency), + feed_status: value.feed_status, + country: value.country, + custom_fields: + value.custom_fields === undefined + ? undefined + : (value.custom_fields as Array).map(CustomFieldToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) + } +} diff --git a/src/gen/models/BankFeedStatement.ts b/src/gen/models/BankFeedStatement.ts new file mode 100644 index 000000000..eea14edbe --- /dev/null +++ b/src/gen/models/BankFeedStatement.ts @@ -0,0 +1,192 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + BankFeedStatementTransactions, + BankFeedStatementTransactionsFromJSON, + BankFeedStatementTransactionsToJSON +} from './BankFeedStatementTransactions' +import { CreditOrDebit, CreditOrDebitFromJSON, CreditOrDebitToJSON } from './CreditOrDebit' + +/** + * + * @export + * @interface BankFeedStatement + */ +export interface BankFeedStatement { + /** + * A unique identifier for an object. + * @type {string} + * @memberof BankFeedStatement + */ + readonly id: string + /** + * The ID of the bank feed account this statement belongs to. + * @type {string} + * @memberof BankFeedStatement + */ + bank_feed_account_id?: string + /** + * The current status of the bank feed statement. + * @type {string} + * @memberof BankFeedStatement + */ + status?: BankFeedStatementStatus + /** + * Start date of the bank feed statement. + * @type {Date} + * @memberof BankFeedStatement + */ + start_date?: Date + /** + * End date of the bank feed statement. + * @type {Date} + * @memberof BankFeedStatement + */ + end_date?: Date + /** + * Balance amount at the start of the period. + * @type {number} + * @memberof BankFeedStatement + */ + start_balance?: number + /** + * + * @type {CreditOrDebit} + * @memberof BankFeedStatement + */ + start_balance_credit_or_debit?: CreditOrDebit + /** + * Balance amount at the end of the period. + * @type {number} + * @memberof BankFeedStatement + */ + end_balance?: number + /** + * + * @type {CreditOrDebit} + * @memberof BankFeedStatement + */ + end_balance_credit_or_debit?: CreditOrDebit + /** + * List of transactions in the bank feed statement. + * @type {Array} + * @memberof BankFeedStatement + */ + transactions?: Array + /** + * The date and time when the object was created. + * @type {Date} + * @memberof BankFeedStatement + */ + readonly created_at?: Date | null + /** + * The user who created the object. + * @type {string} + * @memberof BankFeedStatement + */ + readonly created_by?: string | null + /** + * The date and time when the object was last updated. + * @type {Date} + * @memberof BankFeedStatement + */ + readonly updated_at?: Date | null + /** + * The user who last updated the object. + * @type {string} + * @memberof BankFeedStatement + */ + readonly updated_by?: string | null +} + +/** + * @export + * @enum {string} + */ +export enum BankFeedStatementStatus { + pending = 'pending', + rejected = 'rejected', + success = 'success' +} + +export function BankFeedStatementFromJSON(json: any): BankFeedStatement { + return BankFeedStatementFromJSONTyped(json, false) +} + +export function BankFeedStatementFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): BankFeedStatement { + if (json === undefined || json === null) { + return json + } + return { + id: json['id'], + bank_feed_account_id: !exists(json, 'bank_feed_account_id') + ? undefined + : json['bank_feed_account_id'], + status: !exists(json, 'status') ? undefined : json['status'], + start_date: !exists(json, 'start_date') ? undefined : new Date(json['start_date']), + end_date: !exists(json, 'end_date') ? undefined : new Date(json['end_date']), + start_balance: !exists(json, 'start_balance') ? undefined : json['start_balance'], + start_balance_credit_or_debit: !exists(json, 'start_balance_credit_or_debit') + ? undefined + : CreditOrDebitFromJSON(json['start_balance_credit_or_debit']), + end_balance: !exists(json, 'end_balance') ? undefined : json['end_balance'], + end_balance_credit_or_debit: !exists(json, 'end_balance_credit_or_debit') + ? undefined + : CreditOrDebitFromJSON(json['end_balance_credit_or_debit']), + transactions: !exists(json, 'transactions') + ? undefined + : (json['transactions'] as Array).map(BankFeedStatementTransactionsFromJSON), + created_at: !exists(json, 'created_at') + ? undefined + : json['created_at'] === null + ? null + : new Date(json['created_at']), + created_by: !exists(json, 'created_by') ? undefined : json['created_by'], + updated_at: !exists(json, 'updated_at') + ? undefined + : json['updated_at'] === null + ? null + : new Date(json['updated_at']), + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'] + } +} + +export function BankFeedStatementToJSON(value?: BankFeedStatement | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + bank_feed_account_id: value.bank_feed_account_id, + status: value.status, + start_date: + value.start_date === undefined ? undefined : new Date(value.start_date).toISOString(), + end_date: value.end_date === undefined ? undefined : new Date(value.end_date).toISOString(), + start_balance: value.start_balance, + start_balance_credit_or_debit: CreditOrDebitToJSON(value.start_balance_credit_or_debit), + end_balance: value.end_balance, + end_balance_credit_or_debit: CreditOrDebitToJSON(value.end_balance_credit_or_debit), + transactions: + value.transactions === undefined + ? undefined + : (value.transactions as Array).map(BankFeedStatementTransactionsToJSON) + } +} diff --git a/src/gen/models/BankFeedStatementTransactions.ts b/src/gen/models/BankFeedStatementTransactions.ts new file mode 100644 index 000000000..876793c24 --- /dev/null +++ b/src/gen/models/BankFeedStatementTransactions.ts @@ -0,0 +1,129 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { CreditOrDebit, CreditOrDebitFromJSON, CreditOrDebitToJSON } from './CreditOrDebit' + +/** + * + * @export + * @interface BankFeedStatementTransactions + */ +export interface BankFeedStatementTransactions { + /** + * The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + * @type {Date} + * @memberof BankFeedStatementTransactions + */ + posted_date: Date + /** + * The amount of the transaction. + * @type {number} + * @memberof BankFeedStatementTransactions + */ + amount: number + /** + * + * @type {CreditOrDebit} + * @memberof BankFeedStatementTransactions + */ + credit_or_debit: CreditOrDebit + /** + * The ID of the source transaction. + * @type {string} + * @memberof BankFeedStatementTransactions + */ + source_transaction_id: string + /** + * A description of the transaction. + * @type {string} + * @memberof BankFeedStatementTransactions + */ + description?: string + /** + * The counterparty of the transaction. + * @type {string} + * @memberof BankFeedStatementTransactions + */ + counterparty?: string + /** + * The reference of the transaction. + * @type {string} + * @memberof BankFeedStatementTransactions + */ + reference?: string + /** + * Type of transaction. + * @type {string} + * @memberof BankFeedStatementTransactions + */ + transaction_type?: BankFeedStatementTransactionsTransactionType +} + +/** + * @export + * @enum {string} + */ +export enum BankFeedStatementTransactionsTransactionType { + credit = 'credit', + debit = 'debit', + deposit = 'deposit', + transfer = 'transfer', + payment = 'payment', + other = 'other' +} + +export function BankFeedStatementTransactionsFromJSON(json: any): BankFeedStatementTransactions { + return BankFeedStatementTransactionsFromJSONTyped(json, false) +} + +export function BankFeedStatementTransactionsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): BankFeedStatementTransactions { + if (json === undefined || json === null) { + return json + } + return { + posted_date: new Date(json['posted_date']), + amount: json['amount'], + credit_or_debit: CreditOrDebitFromJSON(json['credit_or_debit']), + source_transaction_id: json['source_transaction_id'], + description: !exists(json, 'description') ? undefined : json['description'], + counterparty: !exists(json, 'counterparty') ? undefined : json['counterparty'], + reference: !exists(json, 'reference') ? undefined : json['reference'], + transaction_type: !exists(json, 'transaction_type') ? undefined : json['transaction_type'] + } +} + +export function BankFeedStatementTransactionsToJSON( + value?: BankFeedStatementTransactions | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + posted_date: new Date(value.posted_date).toISOString(), + amount: value.amount, + credit_or_debit: CreditOrDebitToJSON(value.credit_or_debit), + source_transaction_id: value.source_transaction_id, + description: value.description, + counterparty: value.counterparty, + reference: value.reference, + transaction_type: value.transaction_type + } +} diff --git a/src/gen/models/Benefit.ts b/src/gen/models/Benefit.ts index 531f89c7d..da696e80f 100644 --- a/src/gen/models/Benefit.ts +++ b/src/gen/models/Benefit.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Bill.ts b/src/gen/models/Bill.ts index 6473ddce9..59a2b44fb 100644 --- a/src/gen/models/Bill.ts +++ b/src/gen/models/Bill.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,6 +17,7 @@ import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccou import { BillLineItem, BillLineItemFromJSON, BillLineItemToJSON } from './BillLineItem' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { LinkedLedgerAccount, LinkedLedgerAccountFromJSON, @@ -265,11 +266,11 @@ export interface Bill { */ custom_fields?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Bill */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {PassThroughBody} @@ -380,7 +381,9 @@ export function BillFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bill custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), pass_through: !exists(json, 'pass_through') ? undefined : PassThroughBodyFromJSON(json['pass_through']), @@ -449,6 +452,7 @@ export function BillToJSON(value?: Bill | null): any { value.custom_fields === undefined ? undefined : (value.custom_fields as Array).map(CustomFieldToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through), accounting_period: value.accounting_period } diff --git a/src/gen/models/BillLineItem.ts b/src/gen/models/BillLineItem.ts index 9765318f4..e8af0bc7e 100644 --- a/src/gen/models/BillLineItem.ts +++ b/src/gen/models/BillLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -115,13 +115,13 @@ export interface BillLineItem { */ discount_amount?: number | null /** - * Location id + * The ID of the location * @type {string} * @memberof BillLineItem */ location_id?: string | null /** - * Department id + * The ID of the department * @type {string} * @memberof BillLineItem */ diff --git a/src/gen/models/BillPayment.ts b/src/gen/models/BillPayment.ts index dbec98788..06827beba 100644 --- a/src/gen/models/BillPayment.ts +++ b/src/gen/models/BillPayment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,6 +20,7 @@ import { } from './BillPaymentAllocations' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { LinkedLedgerAccount, LinkedLedgerAccountFromJSON, @@ -179,11 +180,11 @@ export interface BillPayment { */ display_id?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof BillPayment */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -267,7 +268,9 @@ export function BillPaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean : (json['custom_fields'] as Array).map(CustomFieldFromJSON), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], display_id: !exists(json, 'display_id') ? undefined : json['display_id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], created_at: !exists(json, 'created_at') @@ -322,6 +325,7 @@ export function BillPaymentToJSON(value?: BillPayment | null): any { : (value.custom_fields as Array).map(CustomFieldToJSON), row_version: value.row_version, display_id: value.display_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/BillPaymentAllocations.ts b/src/gen/models/BillPaymentAllocations.ts index 9fb4941f5..c3fcc9472 100644 --- a/src/gen/models/BillPaymentAllocations.ts +++ b/src/gen/models/BillPaymentAllocations.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BillsFilter.ts b/src/gen/models/BillsFilter.ts index 8f40a72a0..397e0cf5d 100644 --- a/src/gen/models/BillsFilter.ts +++ b/src/gen/models/BillsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/BillsSort.ts b/src/gen/models/BillsSort.ts index fb8b21ff8..00a359d60 100644 --- a/src/gen/models/BillsSort.ts +++ b/src/gen/models/BillsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Branch.ts b/src/gen/models/Branch.ts index 010c302d6..6cff6f92f 100644 --- a/src/gen/models/Branch.ts +++ b/src/gen/models/Branch.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CashDetails.ts b/src/gen/models/CashDetails.ts index f8d52c4e2..97e360a38 100644 --- a/src/gen/models/CashDetails.ts +++ b/src/gen/models/CashDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Collection.ts b/src/gen/models/Collection.ts index 736706ff1..0f4871740 100644 --- a/src/gen/models/Collection.ts +++ b/src/gen/models/Collection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -50,11 +52,11 @@ export interface Collection { */ description?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Collection */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was last updated. * @type {Date} @@ -83,7 +85,9 @@ export function CollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean) type: !exists(json, 'type') ? undefined : json['type'], name: !exists(json, 'name') ? undefined : json['name'], description: !exists(json, 'description') ? undefined : json['description'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'] === null @@ -108,6 +112,7 @@ export function CollectionToJSON(value?: Collection | null): any { parent_id: value.parent_id, type: value.type, name: value.name, - description: value.description + description: value.description, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/CollectionTag.ts b/src/gen/models/CollectionTag.ts index c7d174610..6d9785ae2 100644 --- a/src/gen/models/CollectionTag.ts +++ b/src/gen/models/CollectionTag.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -32,11 +34,11 @@ export interface CollectionTag { */ readonly name?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof CollectionTag */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null } export function CollectionTagFromJSON(json: any): CollectionTag { @@ -50,7 +52,9 @@ export function CollectionTagFromJSONTyped(json: any, ignoreDiscriminator: boole return { id: json['id'], name: !exists(json, 'name') ? undefined : json['name'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'] + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']) } } @@ -62,6 +66,7 @@ export function CollectionTagToJSON(value?: CollectionTag | null): any { return null } return { - id: value.id + id: value.id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/CollectionTicketComment.ts b/src/gen/models/CollectionTicketComment.ts index d93f7d76c..71c2e6d86 100644 --- a/src/gen/models/CollectionTicketComment.ts +++ b/src/gen/models/CollectionTicketComment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -34,11 +35,11 @@ export interface CollectionTicketComment { */ body?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof CollectionTicketComment */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who created the object. * @type {string} @@ -79,7 +80,9 @@ export function CollectionTicketCommentFromJSONTyped( return { id: !exists(json, 'id') ? undefined : json['id'], body: !exists(json, 'body') ? undefined : json['body'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') ? undefined @@ -106,6 +109,7 @@ export function CollectionTicketCommentToJSON(value?: CollectionTicketComment | } return { body: value.body, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/CollectionUser.ts b/src/gen/models/CollectionUser.ts index 5b36675f1..e92a3a4b9 100644 --- a/src/gen/models/CollectionUser.ts +++ b/src/gen/models/CollectionUser.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -56,11 +58,11 @@ export interface CollectionUser { */ photo_url?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof CollectionUser */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was last updated. * @type {Date} @@ -93,7 +95,9 @@ export function CollectionUserFromJSONTyped( last_name: !exists(json, 'last_name') ? undefined : json['last_name'], email: !exists(json, 'email') ? undefined : json['email'], photo_url: !exists(json, 'photo_url') ? undefined : json['photo_url'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'] === null @@ -119,6 +123,7 @@ export function CollectionUserToJSON(value?: CollectionUser | null): any { first_name: value.first_name, last_name: value.last_name, email: value.email, - photo_url: value.photo_url + photo_url: value.photo_url, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/CollectionsSort.ts b/src/gen/models/CollectionsSort.ts index 4f406b8b2..03ccaa1d0 100644 --- a/src/gen/models/CollectionsSort.ts +++ b/src/gen/models/CollectionsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CommentsSort.ts b/src/gen/models/CommentsSort.ts index c1afb5df4..979120369 100644 --- a/src/gen/models/CommentsSort.ts +++ b/src/gen/models/CommentsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompaniesFilter.ts b/src/gen/models/CompaniesFilter.ts index ae50a6393..67b3951c0 100644 --- a/src/gen/models/CompaniesFilter.ts +++ b/src/gen/models/CompaniesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CompaniesSort.ts b/src/gen/models/CompaniesSort.ts index f133d5d11..cfaccd920 100644 --- a/src/gen/models/CompaniesSort.ts +++ b/src/gen/models/CompaniesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Company.ts b/src/gen/models/Company.ts index 5e2234ac8..03af402f4 100644 --- a/src/gen/models/Company.ts +++ b/src/gen/models/Company.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,6 +18,7 @@ import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccou import { CompanyRowType, CompanyRowTypeFromJSON, CompanyRowTypeToJSON } from './CompanyRowType' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -248,11 +249,11 @@ export interface Company { */ birthday?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Company */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * Updated by user ID * @type {string} @@ -352,7 +353,9 @@ export function CompanyFromJSONTyped(json: any, ignoreDiscriminator: boolean): C : json['birthday'] === null ? null : new Date(json['birthday']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -431,6 +434,7 @@ export function CompanyToJSON(value?: Company | null): any { : value.birthday === null ? null : new Date(value.birthday).toISOString().substr(0, 10), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/CompanyInfo.ts b/src/gen/models/CompanyInfo.ts index eacce8902..c0ae08bd5 100644 --- a/src/gen/models/CompanyInfo.ts +++ b/src/gen/models/CompanyInfo.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' import { TaxRate, TaxRateFromJSON, TaxRateToJSON } from './TaxRate' @@ -122,11 +123,11 @@ export interface CompanyInfo { */ emails?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof CompanyInfo */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -223,7 +224,9 @@ export function CompanyInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean ? undefined : (json['phone_numbers'] as Array).map(PhoneNumberFromJSON), emails: !exists(json, 'emails') ? undefined : (json['emails'] as Array).map(EmailFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -272,6 +275,7 @@ export function CompanyInfoToJSON(value?: CompanyInfo | null): any { ? undefined : (value.phone_numbers as Array).map(PhoneNumberToJSON), emails: value.emails === undefined ? undefined : (value.emails as Array).map(EmailToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version } } diff --git a/src/gen/models/CompanyRowType.ts b/src/gen/models/CompanyRowType.ts index 07c367aed..15c20f9f1 100644 --- a/src/gen/models/CompanyRowType.ts +++ b/src/gen/models/CompanyRowType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Compensation.ts b/src/gen/models/Compensation.ts index a44ba2982..6f50bda27 100644 --- a/src/gen/models/Compensation.ts +++ b/src/gen/models/Compensation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Connection.ts b/src/gen/models/Connection.ts index 72fee7d6d..0bf7e7e34 100644 --- a/src/gen/models/Connection.ts +++ b/src/gen/models/Connection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionConfiguration.ts b/src/gen/models/ConnectionConfiguration.ts index 080491e58..82d01022a 100644 --- a/src/gen/models/ConnectionConfiguration.ts +++ b/src/gen/models/ConnectionConfiguration.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionDefaults.ts b/src/gen/models/ConnectionDefaults.ts index e1d17b049..32045496b 100644 --- a/src/gen/models/ConnectionDefaults.ts +++ b/src/gen/models/ConnectionDefaults.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionImportData.ts b/src/gen/models/ConnectionImportData.ts index e5747cb1b..f6e178d35 100644 --- a/src/gen/models/ConnectionImportData.ts +++ b/src/gen/models/ConnectionImportData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionImportDataCredentials.ts b/src/gen/models/ConnectionImportDataCredentials.ts index ad9a35f7f..406d8365b 100644 --- a/src/gen/models/ConnectionImportDataCredentials.ts +++ b/src/gen/models/ConnectionImportDataCredentials.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionMetadata.ts b/src/gen/models/ConnectionMetadata.ts index d17049671..ed6333e92 100644 --- a/src/gen/models/ConnectionMetadata.ts +++ b/src/gen/models/ConnectionMetadata.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionState.ts b/src/gen/models/ConnectionState.ts index 5413c7e79..d71653d0a 100644 --- a/src/gen/models/ConnectionState.ts +++ b/src/gen/models/ConnectionState.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectionWebhook.ts b/src/gen/models/ConnectionWebhook.ts index a33576a0f..ea4dc1cf2 100644 --- a/src/gen/models/ConnectionWebhook.ts +++ b/src/gen/models/ConnectionWebhook.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Connector.ts b/src/gen/models/Connector.ts index e5e3970d4..179547d3a 100644 --- a/src/gen/models/Connector.ts +++ b/src/gen/models/Connector.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorDoc.ts b/src/gen/models/ConnectorDoc.ts index 8013acaa3..2bed5e308 100644 --- a/src/gen/models/ConnectorDoc.ts +++ b/src/gen/models/ConnectorDoc.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorEvent.ts b/src/gen/models/ConnectorEvent.ts index cfcdfffb5..4c4ee460f 100644 --- a/src/gen/models/ConnectorEvent.ts +++ b/src/gen/models/ConnectorEvent.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorOauthScopes.ts b/src/gen/models/ConnectorOauthScopes.ts index 307c248b8..4daf03f4f 100644 --- a/src/gen/models/ConnectorOauthScopes.ts +++ b/src/gen/models/ConnectorOauthScopes.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorOauthScopes1.ts b/src/gen/models/ConnectorOauthScopes1.ts index 77edb0135..0202a7d6d 100644 --- a/src/gen/models/ConnectorOauthScopes1.ts +++ b/src/gen/models/ConnectorOauthScopes1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorResource.ts b/src/gen/models/ConnectorResource.ts index e954d0331..1a15d588f 100644 --- a/src/gen/models/ConnectorResource.ts +++ b/src/gen/models/ConnectorResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorSetting.ts b/src/gen/models/ConnectorSetting.ts index 29d3c171d..dae3da2cf 100644 --- a/src/gen/models/ConnectorSetting.ts +++ b/src/gen/models/ConnectorSetting.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorStatus.ts b/src/gen/models/ConnectorStatus.ts index cba07f562..f610a5a75 100644 --- a/src/gen/models/ConnectorStatus.ts +++ b/src/gen/models/ConnectorStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorTlsSupport.ts b/src/gen/models/ConnectorTlsSupport.ts index ac0138d1c..c13f812e0 100644 --- a/src/gen/models/ConnectorTlsSupport.ts +++ b/src/gen/models/ConnectorTlsSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorUnifiedApis.ts b/src/gen/models/ConnectorUnifiedApis.ts index 6ab55297c..6dae8c853 100644 --- a/src/gen/models/ConnectorUnifiedApis.ts +++ b/src/gen/models/ConnectorUnifiedApis.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConnectorsFilter.ts b/src/gen/models/ConnectorsFilter.ts index 8d7e75321..5e21d1633 100644 --- a/src/gen/models/ConnectorsFilter.ts +++ b/src/gen/models/ConnectorsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Consumer.ts b/src/gen/models/Consumer.ts index e970c7db2..63dad3d48 100644 --- a/src/gen/models/Consumer.ts +++ b/src/gen/models/Consumer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerConnection.ts b/src/gen/models/ConsumerConnection.ts index 8ae92ab8f..26f4581a8 100644 --- a/src/gen/models/ConsumerConnection.ts +++ b/src/gen/models/ConsumerConnection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerMetadata.ts b/src/gen/models/ConsumerMetadata.ts index f9543968c..c56e8a332 100644 --- a/src/gen/models/ConsumerMetadata.ts +++ b/src/gen/models/ConsumerMetadata.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts b/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts index 68f0435e8..60a508205 100644 --- a/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts +++ b/src/gen/models/ConsumerRequestCountsInDateRangeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts b/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts index 1016f5b65..25a2bc3b6 100644 --- a/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts +++ b/src/gen/models/ConsumerRequestCountsInDateRangeResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Contact.ts b/src/gen/models/Contact.ts index 8f5d72eff..6bc7bb9be 100644 --- a/src/gen/models/Contact.ts +++ b/src/gen/models/Contact.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -219,7 +220,7 @@ export interface Contact { * @type {Array} * @memberof Contact */ - custom_fields?: Array + custom_fields?: Array | null /** * * @type {Tags} @@ -245,11 +246,11 @@ export interface Contact { */ readonly last_activity_at?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Contact */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The last update date of the contact. * @type {Date} @@ -346,6 +347,8 @@ export function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): C email_domain: !exists(json, 'email_domain') ? undefined : json['email_domain'], custom_fields: !exists(json, 'custom_fields') ? undefined + : json['custom_fields'] === null + ? null : (json['custom_fields'] as Array).map(CustomFieldFromJSON), tags: !exists(json, 'tags') ? undefined : TagsFromJSON(json['tags']), first_call_at: !exists(json, 'first_call_at') @@ -363,7 +366,9 @@ export function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): C : json['last_activity_at'] === null ? null : new Date(json['last_activity_at']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'] === null @@ -432,8 +437,11 @@ export function ContactToJSON(value?: Contact | null): any { custom_fields: value.custom_fields === undefined ? undefined + : value.custom_fields === null + ? null : (value.custom_fields as Array).map(CustomFieldToJSON), tags: TagsToJSON(value.tags), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), opportunity_ids: value.opportunity_ids, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/ContactsFilter.ts b/src/gen/models/ContactsFilter.ts index bb1f7770a..344d2dc06 100644 --- a/src/gen/models/ContactsFilter.ts +++ b/src/gen/models/ContactsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ContactsSort.ts b/src/gen/models/ContactsSort.ts index c96e2ec90..cec10c2ea 100644 --- a/src/gen/models/ContactsSort.ts +++ b/src/gen/models/ContactsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CopyFolderRequest.ts b/src/gen/models/CopyFolderRequest.ts index ee34dbaf3..98b1f2652 100644 --- a/src/gen/models/CopyFolderRequest.ts +++ b/src/gen/models/CopyFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CostOfGoodsSold.ts b/src/gen/models/CostOfGoodsSold.ts index 216369940..dbf435941 100644 --- a/src/gen/models/CostOfGoodsSold.ts +++ b/src/gen/models/CostOfGoodsSold.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAccountingDepartmentResponse.ts b/src/gen/models/CreateAccountingDepartmentResponse.ts index 665a3d718..9a30b2cde 100644 --- a/src/gen/models/CreateAccountingDepartmentResponse.ts +++ b/src/gen/models/CreateAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAccountingLocationResponse.ts b/src/gen/models/CreateAccountingLocationResponse.ts index aace824df..273901537 100644 --- a/src/gen/models/CreateAccountingLocationResponse.ts +++ b/src/gen/models/CreateAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateActivityResponse.ts b/src/gen/models/CreateActivityResponse.ts index bfd3c5ae9..3ac7bceb6 100644 --- a/src/gen/models/CreateActivityResponse.ts +++ b/src/gen/models/CreateActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateApplicantResponse.ts b/src/gen/models/CreateApplicantResponse.ts index 756afeb40..eaedb6e12 100644 --- a/src/gen/models/CreateApplicantResponse.ts +++ b/src/gen/models/CreateApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateApplicationResponse.ts b/src/gen/models/CreateApplicationResponse.ts index c2015b555..cb300e15d 100644 --- a/src/gen/models/CreateApplicationResponse.ts +++ b/src/gen/models/CreateApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAttachmentRequest.ts b/src/gen/models/CreateAttachmentRequest.ts index 04c9224b8..3e31f1d5e 100644 --- a/src/gen/models/CreateAttachmentRequest.ts +++ b/src/gen/models/CreateAttachmentRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateAttachmentResponse.ts b/src/gen/models/CreateAttachmentResponse.ts index 35f5ef1c3..73f7ce6e9 100644 --- a/src/gen/models/CreateAttachmentResponse.ts +++ b/src/gen/models/CreateAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateBankFeedAccountResponse.ts b/src/gen/models/CreateBankFeedAccountResponse.ts new file mode 100644 index 000000000..275b6aad8 --- /dev/null +++ b/src/gen/models/CreateBankFeedAccountResponse.ts @@ -0,0 +1,109 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface CreateBankFeedAccountResponse + */ +export interface CreateBankFeedAccountResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateBankFeedAccountResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateBankFeedAccountResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateBankFeedAccountResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateBankFeedAccountResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateBankFeedAccountResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof CreateBankFeedAccountResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof CreateBankFeedAccountResponse + */ + _raw?: Raw | null +} + +export function CreateBankFeedAccountResponseFromJSON(json: any): CreateBankFeedAccountResponse { + return CreateBankFeedAccountResponseFromJSONTyped(json, false) +} + +export function CreateBankFeedAccountResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateBankFeedAccountResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function CreateBankFeedAccountResponseToJSON( + value?: CreateBankFeedAccountResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/CreateBankFeedStatementResponse.ts b/src/gen/models/CreateBankFeedStatementResponse.ts new file mode 100644 index 000000000..69d75c02f --- /dev/null +++ b/src/gen/models/CreateBankFeedStatementResponse.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface CreateBankFeedStatementResponse + */ +export interface CreateBankFeedStatementResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateBankFeedStatementResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateBankFeedStatementResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateBankFeedStatementResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateBankFeedStatementResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateBankFeedStatementResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof CreateBankFeedStatementResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof CreateBankFeedStatementResponse + */ + _raw?: Raw | null +} + +export function CreateBankFeedStatementResponseFromJSON( + json: any +): CreateBankFeedStatementResponse { + return CreateBankFeedStatementResponseFromJSONTyped(json, false) +} + +export function CreateBankFeedStatementResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateBankFeedStatementResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function CreateBankFeedStatementResponseToJSON( + value?: CreateBankFeedStatementResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/CreateBillPaymentResponse.ts b/src/gen/models/CreateBillPaymentResponse.ts index ebfe1f0b8..253fa69c2 100644 --- a/src/gen/models/CreateBillPaymentResponse.ts +++ b/src/gen/models/CreateBillPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateBillResponse.ts b/src/gen/models/CreateBillResponse.ts index 45193474e..06b10108a 100644 --- a/src/gen/models/CreateBillResponse.ts +++ b/src/gen/models/CreateBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCallbackState.ts b/src/gen/models/CreateCallbackState.ts index 0c1222661..619d92c23 100644 --- a/src/gen/models/CreateCallbackState.ts +++ b/src/gen/models/CreateCallbackState.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCallbackStateResponse.ts b/src/gen/models/CreateCallbackStateResponse.ts index 171a7e727..07aca074c 100644 --- a/src/gen/models/CreateCallbackStateResponse.ts +++ b/src/gen/models/CreateCallbackStateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCallbackStateResponseData.ts b/src/gen/models/CreateCallbackStateResponseData.ts index dbdccaacb..5f6ee9ef4 100644 --- a/src/gen/models/CreateCallbackStateResponseData.ts +++ b/src/gen/models/CreateCallbackStateResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCommentResponse.ts b/src/gen/models/CreateCommentResponse.ts index 168609c29..36df90f91 100644 --- a/src/gen/models/CreateCommentResponse.ts +++ b/src/gen/models/CreateCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCompanyResponse.ts b/src/gen/models/CreateCompanyResponse.ts index bfaf0211b..fdddd4119 100644 --- a/src/gen/models/CreateCompanyResponse.ts +++ b/src/gen/models/CreateCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateConnectionResponse.ts b/src/gen/models/CreateConnectionResponse.ts index 1e5841104..9019c2b96 100644 --- a/src/gen/models/CreateConnectionResponse.ts +++ b/src/gen/models/CreateConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateConsumerResponse.ts b/src/gen/models/CreateConsumerResponse.ts index fcd5f67b4..5fb809268 100644 --- a/src/gen/models/CreateConsumerResponse.ts +++ b/src/gen/models/CreateConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateContactResponse.ts b/src/gen/models/CreateContactResponse.ts index c877c444e..d7eaa6e30 100644 --- a/src/gen/models/CreateContactResponse.ts +++ b/src/gen/models/CreateContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCreditNoteResponse.ts b/src/gen/models/CreateCreditNoteResponse.ts index c9c154048..0560aa743 100644 --- a/src/gen/models/CreateCreditNoteResponse.ts +++ b/src/gen/models/CreateCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCustomMappingResponse.ts b/src/gen/models/CreateCustomMappingResponse.ts index 6f43edcd3..b130f1a25 100644 --- a/src/gen/models/CreateCustomMappingResponse.ts +++ b/src/gen/models/CreateCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateCustomObjectResponse.ts b/src/gen/models/CreateCustomObjectResponse.ts new file mode 100644 index 000000000..6ab3f4c9f --- /dev/null +++ b/src/gen/models/CreateCustomObjectResponse.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface CreateCustomObjectResponse + */ +export interface CreateCustomObjectResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateCustomObjectResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateCustomObjectResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateCustomObjectResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateCustomObjectResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateCustomObjectResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof CreateCustomObjectResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof CreateCustomObjectResponse + */ + _raw?: Raw | null +} + +export function CreateCustomObjectResponseFromJSON(json: any): CreateCustomObjectResponse { + return CreateCustomObjectResponseFromJSONTyped(json, false) +} + +export function CreateCustomObjectResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateCustomObjectResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function CreateCustomObjectResponseToJSON(value?: CreateCustomObjectResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/CreateCustomObjectSchemaResponse.ts b/src/gen/models/CreateCustomObjectSchemaResponse.ts new file mode 100644 index 000000000..fcba92779 --- /dev/null +++ b/src/gen/models/CreateCustomObjectSchemaResponse.ts @@ -0,0 +1,115 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectSchema, + CustomObjectSchemaFromJSON, + CustomObjectSchemaToJSON +} from './CustomObjectSchema' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface CreateCustomObjectSchemaResponse + */ +export interface CreateCustomObjectSchemaResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof CreateCustomObjectSchemaResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof CreateCustomObjectSchemaResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof CreateCustomObjectSchemaResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof CreateCustomObjectSchemaResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof CreateCustomObjectSchemaResponse + */ + operation: string + /** + * + * @type {CustomObjectSchema} + * @memberof CreateCustomObjectSchemaResponse + */ + data: CustomObjectSchema + /** + * + * @type {Raw} + * @memberof CreateCustomObjectSchemaResponse + */ + _raw?: Raw | null +} + +export function CreateCustomObjectSchemaResponseFromJSON( + json: any +): CreateCustomObjectSchemaResponse { + return CreateCustomObjectSchemaResponseFromJSONTyped(json, false) +} + +export function CreateCustomObjectSchemaResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CreateCustomObjectSchemaResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: CustomObjectSchemaFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function CreateCustomObjectSchemaResponseToJSON( + value?: CreateCustomObjectSchemaResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: CustomObjectSchemaToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/CreateCustomerResponse.ts b/src/gen/models/CreateCustomerResponse.ts index 7ff896775..bd2c81ece 100644 --- a/src/gen/models/CreateCustomerResponse.ts +++ b/src/gen/models/CreateCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDepartmentResponse.ts b/src/gen/models/CreateDepartmentResponse.ts index 1a0249fed..62f83cc53 100644 --- a/src/gen/models/CreateDepartmentResponse.ts +++ b/src/gen/models/CreateDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDriveGroupResponse.ts b/src/gen/models/CreateDriveGroupResponse.ts index 22be98879..a4008095f 100644 --- a/src/gen/models/CreateDriveGroupResponse.ts +++ b/src/gen/models/CreateDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateDriveResponse.ts b/src/gen/models/CreateDriveResponse.ts index ac03b5ca0..5fed30755 100644 --- a/src/gen/models/CreateDriveResponse.ts +++ b/src/gen/models/CreateDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEcommerceCustomerResponse.ts b/src/gen/models/CreateEcommerceCustomerResponse.ts index 1358d2743..7336f1909 100644 --- a/src/gen/models/CreateEcommerceCustomerResponse.ts +++ b/src/gen/models/CreateEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEcommerceOrderResponse.ts b/src/gen/models/CreateEcommerceOrderResponse.ts index fec6d84f1..e9d955b52 100644 --- a/src/gen/models/CreateEcommerceOrderResponse.ts +++ b/src/gen/models/CreateEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateEmployeeResponse.ts b/src/gen/models/CreateEmployeeResponse.ts index aa0c3036a..964917ec8 100644 --- a/src/gen/models/CreateEmployeeResponse.ts +++ b/src/gen/models/CreateEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateExpenseResponse.ts b/src/gen/models/CreateExpenseResponse.ts index 2f9bca2c7..bf6b9c5b0 100644 --- a/src/gen/models/CreateExpenseResponse.ts +++ b/src/gen/models/CreateExpenseResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFileRequest.ts b/src/gen/models/CreateFileRequest.ts index 9549bd21d..9bd505053 100644 --- a/src/gen/models/CreateFileRequest.ts +++ b/src/gen/models/CreateFileRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFileResponse.ts b/src/gen/models/CreateFileResponse.ts index b2e504381..7bb1bfffc 100644 --- a/src/gen/models/CreateFileResponse.ts +++ b/src/gen/models/CreateFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFolderRequest.ts b/src/gen/models/CreateFolderRequest.ts index f17521440..95fc8acda 100644 --- a/src/gen/models/CreateFolderRequest.ts +++ b/src/gen/models/CreateFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateFolderResponse.ts b/src/gen/models/CreateFolderResponse.ts index 970b05dc2..2bb15bd60 100644 --- a/src/gen/models/CreateFolderResponse.ts +++ b/src/gen/models/CreateFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateHrisCompanyResponse.ts b/src/gen/models/CreateHrisCompanyResponse.ts index 084984563..4f8e4d0ee 100644 --- a/src/gen/models/CreateHrisCompanyResponse.ts +++ b/src/gen/models/CreateHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateInvoiceItemResponse.ts b/src/gen/models/CreateInvoiceItemResponse.ts index 5e43907c4..8707dbac7 100644 --- a/src/gen/models/CreateInvoiceItemResponse.ts +++ b/src/gen/models/CreateInvoiceItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateInvoiceResponse.ts b/src/gen/models/CreateInvoiceResponse.ts index 39062d211..1d62ce92b 100644 --- a/src/gen/models/CreateInvoiceResponse.ts +++ b/src/gen/models/CreateInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateItemResponse.ts b/src/gen/models/CreateItemResponse.ts index fa1b642d2..4923f6fd8 100644 --- a/src/gen/models/CreateItemResponse.ts +++ b/src/gen/models/CreateItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateJobResponse.ts b/src/gen/models/CreateJobResponse.ts index d9cb93fd8..5b8eb66b7 100644 --- a/src/gen/models/CreateJobResponse.ts +++ b/src/gen/models/CreateJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateJournalEntryResponse.ts b/src/gen/models/CreateJournalEntryResponse.ts index 024d7d905..0087e33f2 100644 --- a/src/gen/models/CreateJournalEntryResponse.ts +++ b/src/gen/models/CreateJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLeadResponse.ts b/src/gen/models/CreateLeadResponse.ts index 78dd6404b..d1d1ab012 100644 --- a/src/gen/models/CreateLeadResponse.ts +++ b/src/gen/models/CreateLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLedgerAccountResponse.ts b/src/gen/models/CreateLedgerAccountResponse.ts index 1f4939bbb..fbb53d714 100644 --- a/src/gen/models/CreateLedgerAccountResponse.ts +++ b/src/gen/models/CreateLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateLocationResponse.ts b/src/gen/models/CreateLocationResponse.ts index 38c2666f4..aa9430c96 100644 --- a/src/gen/models/CreateLocationResponse.ts +++ b/src/gen/models/CreateLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateMerchantResponse.ts b/src/gen/models/CreateMerchantResponse.ts index 0375ef679..5186ae74b 100644 --- a/src/gen/models/CreateMerchantResponse.ts +++ b/src/gen/models/CreateMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateMessageResponse.ts b/src/gen/models/CreateMessageResponse.ts index 506bfdde2..40182a54c 100644 --- a/src/gen/models/CreateMessageResponse.ts +++ b/src/gen/models/CreateMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateModifierGroupResponse.ts b/src/gen/models/CreateModifierGroupResponse.ts index a80ad1c4f..b21f3b55e 100644 --- a/src/gen/models/CreateModifierGroupResponse.ts +++ b/src/gen/models/CreateModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateModifierResponse.ts b/src/gen/models/CreateModifierResponse.ts index b1b88259e..56a2491e1 100644 --- a/src/gen/models/CreateModifierResponse.ts +++ b/src/gen/models/CreateModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateNoteResponse.ts b/src/gen/models/CreateNoteResponse.ts index 68870add9..373aa6992 100644 --- a/src/gen/models/CreateNoteResponse.ts +++ b/src/gen/models/CreateNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOpportunityResponse.ts b/src/gen/models/CreateOpportunityResponse.ts index e51e97d9c..ba93c7f05 100644 --- a/src/gen/models/CreateOpportunityResponse.ts +++ b/src/gen/models/CreateOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOrderResponse.ts b/src/gen/models/CreateOrderResponse.ts index 6562110ed..8924f8b96 100644 --- a/src/gen/models/CreateOrderResponse.ts +++ b/src/gen/models/CreateOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateOrderTypeResponse.ts b/src/gen/models/CreateOrderTypeResponse.ts index d292a8c00..144626728 100644 --- a/src/gen/models/CreateOrderTypeResponse.ts +++ b/src/gen/models/CreateOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePaymentResponse.ts b/src/gen/models/CreatePaymentResponse.ts index 6aef65003..14c2edd69 100644 --- a/src/gen/models/CreatePaymentResponse.ts +++ b/src/gen/models/CreatePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePipelineResponse.ts b/src/gen/models/CreatePipelineResponse.ts index 29ae297a3..6b0f3d0c5 100644 --- a/src/gen/models/CreatePipelineResponse.ts +++ b/src/gen/models/CreatePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePosPaymentResponse.ts b/src/gen/models/CreatePosPaymentResponse.ts index 625353efb..415823080 100644 --- a/src/gen/models/CreatePosPaymentResponse.ts +++ b/src/gen/models/CreatePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateProductResponse.ts b/src/gen/models/CreateProductResponse.ts index 806e696b5..53ba1e7c2 100644 --- a/src/gen/models/CreateProductResponse.ts +++ b/src/gen/models/CreateProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreatePurchaseOrderResponse.ts b/src/gen/models/CreatePurchaseOrderResponse.ts index 8aa77e03b..6966665a7 100644 --- a/src/gen/models/CreatePurchaseOrderResponse.ts +++ b/src/gen/models/CreatePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSessionResponse.ts b/src/gen/models/CreateSessionResponse.ts index 1cee63976..8925bf25c 100644 --- a/src/gen/models/CreateSessionResponse.ts +++ b/src/gen/models/CreateSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSharedLinkResponse.ts b/src/gen/models/CreateSharedLinkResponse.ts index 3928d9685..6b46198e4 100644 --- a/src/gen/models/CreateSharedLinkResponse.ts +++ b/src/gen/models/CreateSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSubsidiaryResponse.ts b/src/gen/models/CreateSubsidiaryResponse.ts index 3278c6748..03b64180e 100644 --- a/src/gen/models/CreateSubsidiaryResponse.ts +++ b/src/gen/models/CreateSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateSupplierResponse.ts b/src/gen/models/CreateSupplierResponse.ts index b116d1703..48f73e237 100644 --- a/src/gen/models/CreateSupplierResponse.ts +++ b/src/gen/models/CreateSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTaxRateResponse.ts b/src/gen/models/CreateTaxRateResponse.ts index 18b70848b..ff96e7c67 100644 --- a/src/gen/models/CreateTaxRateResponse.ts +++ b/src/gen/models/CreateTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTenderResponse.ts b/src/gen/models/CreateTenderResponse.ts index 9cc6c12de..7ac943e5f 100644 --- a/src/gen/models/CreateTenderResponse.ts +++ b/src/gen/models/CreateTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTicketResponse.ts b/src/gen/models/CreateTicketResponse.ts index 5723ec261..f55e9b7c5 100644 --- a/src/gen/models/CreateTicketResponse.ts +++ b/src/gen/models/CreateTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTimeOffRequestResponse.ts b/src/gen/models/CreateTimeOffRequestResponse.ts index 32bf675d0..cc0573fda 100644 --- a/src/gen/models/CreateTimeOffRequestResponse.ts +++ b/src/gen/models/CreateTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateTrackingCategoryResponse.ts b/src/gen/models/CreateTrackingCategoryResponse.ts index 9418089d7..621c5268a 100644 --- a/src/gen/models/CreateTrackingCategoryResponse.ts +++ b/src/gen/models/CreateTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUploadSessionRequest.ts b/src/gen/models/CreateUploadSessionRequest.ts index 636071161..f04eaf541 100644 --- a/src/gen/models/CreateUploadSessionRequest.ts +++ b/src/gen/models/CreateUploadSessionRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUploadSessionResponse.ts b/src/gen/models/CreateUploadSessionResponse.ts index 6f358aac7..181da27b2 100644 --- a/src/gen/models/CreateUploadSessionResponse.ts +++ b/src/gen/models/CreateUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateUserResponse.ts b/src/gen/models/CreateUserResponse.ts index 04669e931..8bd3bf2a5 100644 --- a/src/gen/models/CreateUserResponse.ts +++ b/src/gen/models/CreateUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateWebhookRequest.ts b/src/gen/models/CreateWebhookRequest.ts index 61fe92e1c..0925551ce 100644 --- a/src/gen/models/CreateWebhookRequest.ts +++ b/src/gen/models/CreateWebhookRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreateWebhookResponse.ts b/src/gen/models/CreateWebhookResponse.ts index 916d5abe9..b17cfedbe 100644 --- a/src/gen/models/CreateWebhookResponse.ts +++ b/src/gen/models/CreateWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditNote.ts b/src/gen/models/CreditNote.ts index 17eb4df4d..1656ebabf 100644 --- a/src/gen/models/CreditNote.ts +++ b/src/gen/models/CreditNote.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,6 +17,7 @@ import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Allocation, AllocationFromJSON, AllocationToJSON } from './Allocation' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { InvoiceLineItem, InvoiceLineItemFromJSON, InvoiceLineItemToJSON } from './InvoiceLineItem' import { LinkedCustomer, LinkedCustomerFromJSON, LinkedCustomerToJSON } from './LinkedCustomer' import { @@ -194,11 +195,11 @@ export interface CreditNote { */ tracking_categories?: LinkedTrackingCategories | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof CreditNote */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {Array} @@ -312,7 +313,9 @@ export function CreditNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean) tracking_categories: !exists(json, 'tracking_categories') ? undefined : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), @@ -380,6 +383,7 @@ export function CreditNoteToJSON(value?: CreditNote | null): any { billing_address: AddressToJSON(value.billing_address), shipping_address: AddressToJSON(value.shipping_address), tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), custom_fields: value.custom_fields === undefined ? undefined diff --git a/src/gen/models/CreditNotesFilter.ts b/src/gen/models/CreditNotesFilter.ts index 57bb81380..e4e5b4597 100644 --- a/src/gen/models/CreditNotesFilter.ts +++ b/src/gen/models/CreditNotesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditNotesSort.ts b/src/gen/models/CreditNotesSort.ts index c4f617bf4..93ad07c32 100644 --- a/src/gen/models/CreditNotesSort.ts +++ b/src/gen/models/CreditNotesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CreditOrDebit.ts b/src/gen/models/CreditOrDebit.ts new file mode 100644 index 000000000..016280d54 --- /dev/null +++ b/src/gen/models/CreditOrDebit.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * Whether the amount is a credit or debit. + * @export + * @enum {string} + */ +export enum CreditOrDebit { + credit = 'credit', + debit = 'debit' +} + +export function CreditOrDebitFromJSON(json: any): CreditOrDebit { + return CreditOrDebitFromJSONTyped(json, false) +} + +export function CreditOrDebitFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditOrDebit { + return json as CreditOrDebit +} + +export function CreditOrDebitToJSON(value?: CreditOrDebit | null): any { + return value as any +} diff --git a/src/gen/models/CrmEventType.ts b/src/gen/models/CrmEventType.ts index 365730d7a..a5e42d65a 100644 --- a/src/gen/models/CrmEventType.ts +++ b/src/gen/models/CrmEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Currency.ts b/src/gen/models/Currency.ts index 542d088a5..5f02307a6 100644 --- a/src/gen/models/Currency.ts +++ b/src/gen/models/Currency.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomField.ts b/src/gen/models/CustomField.ts index 60b979b87..f0ae2d5e6 100644 --- a/src/gen/models/CustomField.ts +++ b/src/gen/models/CustomField.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomFieldFinder.ts b/src/gen/models/CustomFieldFinder.ts index 9c1691b36..e28e19b4d 100644 --- a/src/gen/models/CustomFieldFinder.ts +++ b/src/gen/models/CustomFieldFinder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomMapping.ts b/src/gen/models/CustomMapping.ts index 30d7163c9..bac5a03f8 100644 --- a/src/gen/models/CustomMapping.ts +++ b/src/gen/models/CustomMapping.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomMappings.ts b/src/gen/models/CustomMappings.ts new file mode 100644 index 000000000..e8f03d7c4 --- /dev/null +++ b/src/gen/models/CustomMappings.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ +/** + * When custom mappings are configured on the resource, the result is included here. + * @export + * @interface CustomMappings + */ +export interface CustomMappings { + [key: string]: unknown +} + +export function CustomMappingsFromJSON(json: any): CustomMappings { + return CustomMappingsFromJSONTyped(json, false) +} + +export function CustomMappingsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomMappings { + return json +} + +export function CustomMappingsToJSON(value?: CustomMappings | null): any { + return value +} diff --git a/src/gen/models/CustomObject.ts b/src/gen/models/CustomObject.ts new file mode 100644 index 000000000..df476dde1 --- /dev/null +++ b/src/gen/models/CustomObject.ts @@ -0,0 +1,125 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectFields, + CustomObjectFieldsFromJSON, + CustomObjectFieldsToJSON +} from './CustomObjectFields' +import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' + +/** + * + * @export + * @interface CustomObject + */ +export interface CustomObject { + /** + * The unique identifier of the custom object + * @type {string} + * @memberof CustomObject + */ + readonly id?: string + /** + * The unique identifier of the owner of the custom object + * @type {string} + * @memberof CustomObject + */ + readonly owner_id?: string + /** + * The name of the custom object + * @type {string} + * @memberof CustomObject + */ + name?: string | null + /** + * + * @type {Array} + * @memberof CustomObject + */ + fields?: Array + /** + * The unique identifier of the user who last updated the custom object + * @type {string} + * @memberof CustomObject + */ + readonly updated_by?: string + /** + * The unique identifier of the user who created the custom object + * @type {string} + * @memberof CustomObject + */ + readonly created_by?: string + /** + * The timestamp when the custom object was last updated + * @type {string} + * @memberof CustomObject + */ + readonly updated_at?: string | null + /** + * The timestamp when the custom object was created + * @type {string} + * @memberof CustomObject + */ + readonly created_at?: string | null + /** + * + * @type {PassThroughBody} + * @memberof CustomObject + */ + pass_through?: PassThroughBody +} + +export function CustomObjectFromJSON(json: any): CustomObject { + return CustomObjectFromJSONTyped(json, false) +} + +export function CustomObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomObject { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + owner_id: !exists(json, 'owner_id') ? undefined : json['owner_id'], + name: !exists(json, 'name') ? undefined : json['name'], + fields: !exists(json, 'fields') + ? undefined + : (json['fields'] as Array).map(CustomObjectFieldsFromJSON), + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], + created_by: !exists(json, 'created_by') ? undefined : json['created_by'], + updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], + created_at: !exists(json, 'created_at') ? undefined : json['created_at'], + pass_through: !exists(json, 'pass_through') + ? undefined + : PassThroughBodyFromJSON(json['pass_through']) + } +} + +export function CustomObjectToJSON(value?: CustomObject | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + name: value.name, + fields: + value.fields === undefined + ? undefined + : (value.fields as Array).map(CustomObjectFieldsToJSON), + pass_through: PassThroughBodyToJSON(value.pass_through) + } +} diff --git a/src/gen/models/CustomObjectFields.ts b/src/gen/models/CustomObjectFields.ts new file mode 100644 index 000000000..7de3c7196 --- /dev/null +++ b/src/gen/models/CustomObjectFields.ts @@ -0,0 +1,64 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +/** + * + * @export + * @interface CustomObjectFields + */ +export interface CustomObjectFields { + /** + * + * @type {string} + * @memberof CustomObjectFields + */ + name?: string + /** + * + * @type {string} + * @memberof CustomObjectFields + */ + value?: string +} + +export function CustomObjectFieldsFromJSON(json: any): CustomObjectFields { + return CustomObjectFieldsFromJSONTyped(json, false) +} + +export function CustomObjectFieldsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectFields { + if (json === undefined || json === null) { + return json + } + return { + name: !exists(json, 'name') ? undefined : json['name'], + value: !exists(json, 'value') ? undefined : json['value'] + } +} + +export function CustomObjectFieldsToJSON(value?: CustomObjectFields | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + name: value.name, + value: value.value + } +} diff --git a/src/gen/models/CustomObjectSchema.ts b/src/gen/models/CustomObjectSchema.ts new file mode 100644 index 000000000..208c9b447 --- /dev/null +++ b/src/gen/models/CustomObjectSchema.ts @@ -0,0 +1,145 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectSchemaFields, + CustomObjectSchemaFieldsFromJSON, + CustomObjectSchemaFieldsToJSON +} from './CustomObjectSchemaFields' +import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' + +/** + * + * @export + * @interface CustomObjectSchema + */ +export interface CustomObjectSchema { + /** + * The unique identifier of the custom object schema + * @type {string} + * @memberof CustomObjectSchema + */ + readonly id?: string + /** + * The name of the custom object schema + * @type {string} + * @memberof CustomObjectSchema + */ + name?: string | null + /** + * The description of the custom object schema + * @type {string} + * @memberof CustomObjectSchema + */ + description?: string | null + /** + * The fields defined in the schema + * @type {Array} + * @memberof CustomObjectSchema + */ + fields?: Array + /** + * Whether the custom object schema is visible in the UI + * @type {boolean} + * @memberof CustomObjectSchema + */ + visible?: boolean | null + /** + * Whether the custom object schema is active + * @type {boolean} + * @memberof CustomObjectSchema + */ + active?: boolean | null + /** + * The ID of the user who created the custom object schema + * @type {string} + * @memberof CustomObjectSchema + */ + readonly created_by?: string | null + /** + * The ID of the user who last updated the custom object schema + * @type {string} + * @memberof CustomObjectSchema + */ + readonly updated_by?: string | null + /** + * The timestamp when the custom object schema was last updated + * @type {string} + * @memberof CustomObjectSchema + */ + readonly updated_at?: string | null + /** + * The timestamp when the custom object schema was created + * @type {string} + * @memberof CustomObjectSchema + */ + readonly created_at?: string | null + /** + * + * @type {PassThroughBody} + * @memberof CustomObjectSchema + */ + pass_through?: PassThroughBody +} + +export function CustomObjectSchemaFromJSON(json: any): CustomObjectSchema { + return CustomObjectSchemaFromJSONTyped(json, false) +} + +export function CustomObjectSchemaFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectSchema { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + name: !exists(json, 'name') ? undefined : json['name'], + description: !exists(json, 'description') ? undefined : json['description'], + fields: !exists(json, 'fields') + ? undefined + : (json['fields'] as Array).map(CustomObjectSchemaFieldsFromJSON), + visible: !exists(json, 'visible') ? undefined : json['visible'], + active: !exists(json, 'active') ? undefined : json['active'], + created_by: !exists(json, 'created_by') ? undefined : json['created_by'], + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], + updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], + created_at: !exists(json, 'created_at') ? undefined : json['created_at'], + pass_through: !exists(json, 'pass_through') + ? undefined + : PassThroughBodyFromJSON(json['pass_through']) + } +} + +export function CustomObjectSchemaToJSON(value?: CustomObjectSchema | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + name: value.name, + description: value.description, + fields: + value.fields === undefined + ? undefined + : (value.fields as Array).map(CustomObjectSchemaFieldsToJSON), + visible: value.visible, + active: value.active, + pass_through: PassThroughBodyToJSON(value.pass_through) + } +} diff --git a/src/gen/models/CustomObjectSchemaFields.ts b/src/gen/models/CustomObjectSchemaFields.ts new file mode 100644 index 000000000..00cbf2546 --- /dev/null +++ b/src/gen/models/CustomObjectSchemaFields.ts @@ -0,0 +1,138 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectSchemaOptions, + CustomObjectSchemaOptionsFromJSON, + CustomObjectSchemaOptionsToJSON +} from './CustomObjectSchemaOptions' + +/** + * + * @export + * @interface CustomObjectSchemaFields + */ +export interface CustomObjectSchemaFields { + /** + * + * @type {string} + * @memberof CustomObjectSchemaFields + */ + id?: string + /** + * + * @type {string} + * @memberof CustomObjectSchemaFields + */ + name?: string + /** + * + * @type {string} + * @memberof CustomObjectSchemaFields + */ + description?: string | null + /** + * + * @type {string} + * @memberof CustomObjectSchemaFields + */ + type?: CustomObjectSchemaFieldsType + /** + * + * @type {boolean} + * @memberof CustomObjectSchemaFields + */ + required?: boolean + /** + * Options for select and multiselect types + * @type {Array} + * @memberof CustomObjectSchemaFields + */ + options?: Array | null + /** + * Default value for the field + * @type {string} + * @memberof CustomObjectSchemaFields + */ + default_value?: string | null +} + +/** + * @export + * @enum {string} + */ +export enum CustomObjectSchemaFieldsType { + string = 'string', + number = 'number', + integer = 'integer', + boolean = 'boolean', + date = 'date', + datetime = 'datetime', + currency = 'currency', + email = 'email', + phone = 'phone', + reference = 'reference', + select = 'select', + multiselect = 'multiselect' +} + +export function CustomObjectSchemaFieldsFromJSON(json: any): CustomObjectSchemaFields { + return CustomObjectSchemaFieldsFromJSONTyped(json, false) +} + +export function CustomObjectSchemaFieldsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectSchemaFields { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + name: !exists(json, 'name') ? undefined : json['name'], + description: !exists(json, 'description') ? undefined : json['description'], + type: !exists(json, 'type') ? undefined : json['type'], + required: !exists(json, 'required') ? undefined : json['required'], + options: !exists(json, 'options') + ? undefined + : json['options'] === null + ? null + : (json['options'] as Array).map(CustomObjectSchemaOptionsFromJSON), + default_value: !exists(json, 'default_value') ? undefined : json['default_value'] + } +} + +export function CustomObjectSchemaFieldsToJSON(value?: CustomObjectSchemaFields | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + id: value.id, + name: value.name, + description: value.description, + type: value.type, + required: value.required, + options: + value.options === undefined + ? undefined + : value.options === null + ? null + : (value.options as Array).map(CustomObjectSchemaOptionsToJSON), + default_value: value.default_value + } +} diff --git a/src/gen/models/CustomObjectSchemaOptions.ts b/src/gen/models/CustomObjectSchemaOptions.ts new file mode 100644 index 000000000..016b080df --- /dev/null +++ b/src/gen/models/CustomObjectSchemaOptions.ts @@ -0,0 +1,64 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +/** + * + * @export + * @interface CustomObjectSchemaOptions + */ +export interface CustomObjectSchemaOptions { + /** + * + * @type {string} + * @memberof CustomObjectSchemaOptions + */ + value?: string + /** + * + * @type {string} + * @memberof CustomObjectSchemaOptions + */ + label?: string +} + +export function CustomObjectSchemaOptionsFromJSON(json: any): CustomObjectSchemaOptions { + return CustomObjectSchemaOptionsFromJSONTyped(json, false) +} + +export function CustomObjectSchemaOptionsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectSchemaOptions { + if (json === undefined || json === null) { + return json + } + return { + value: !exists(json, 'value') ? undefined : json['value'], + label: !exists(json, 'label') ? undefined : json['label'] + } +} + +export function CustomObjectSchemaOptionsToJSON(value?: CustomObjectSchemaOptions | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + value: value.value, + label: value.label + } +} diff --git a/src/gen/models/CustomObjectSchemasSort.ts b/src/gen/models/CustomObjectSchemasSort.ts new file mode 100644 index 000000000..2a2bc7500 --- /dev/null +++ b/src/gen/models/CustomObjectSchemasSort.ts @@ -0,0 +1,76 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { SortDirection, SortDirectionFromJSON, SortDirectionToJSON } from './SortDirection' + +/** + * + * @export + * @interface CustomObjectSchemasSort + */ +export interface CustomObjectSchemasSort { + /** + * The field on which to sort the Custom Object Schemas + * @type {string} + * @memberof CustomObjectSchemasSort + */ + by?: CustomObjectSchemasSortBy + /** + * + * @type {SortDirection} + * @memberof CustomObjectSchemasSort + */ + direction?: SortDirection +} + +/** + * @export + * @enum {string} + */ +export enum CustomObjectSchemasSortBy { + created_at = 'created_at', + updated_at = 'updated_at', + name = 'name' +} + +export function CustomObjectSchemasSortFromJSON(json: any): CustomObjectSchemasSort { + return CustomObjectSchemasSortFromJSONTyped(json, false) +} + +export function CustomObjectSchemasSortFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectSchemasSort { + if (json === undefined || json === null) { + return json + } + return { + by: !exists(json, 'by') ? undefined : json['by'], + direction: !exists(json, 'direction') ? undefined : SortDirectionFromJSON(json['direction']) + } +} + +export function CustomObjectSchemasSortToJSON(value?: CustomObjectSchemasSort | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + by: value.by, + direction: SortDirectionToJSON(value.direction) + } +} diff --git a/src/gen/models/CustomObjectsSort.ts b/src/gen/models/CustomObjectsSort.ts new file mode 100644 index 000000000..5645819ef --- /dev/null +++ b/src/gen/models/CustomObjectsSort.ts @@ -0,0 +1,76 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { SortDirection, SortDirectionFromJSON, SortDirectionToJSON } from './SortDirection' + +/** + * + * @export + * @interface CustomObjectsSort + */ +export interface CustomObjectsSort { + /** + * The field on which to sort the Custom Objects + * @type {string} + * @memberof CustomObjectsSort + */ + by?: CustomObjectsSortBy + /** + * + * @type {SortDirection} + * @memberof CustomObjectsSort + */ + direction?: SortDirection +} + +/** + * @export + * @enum {string} + */ +export enum CustomObjectsSortBy { + created_at = 'created_at', + updated_at = 'updated_at', + name = 'name' +} + +export function CustomObjectsSortFromJSON(json: any): CustomObjectsSort { + return CustomObjectsSortFromJSONTyped(json, false) +} + +export function CustomObjectsSortFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): CustomObjectsSort { + if (json === undefined || json === null) { + return json + } + return { + by: !exists(json, 'by') ? undefined : json['by'], + direction: !exists(json, 'direction') ? undefined : SortDirectionFromJSON(json['direction']) + } +} + +export function CustomObjectsSortToJSON(value?: CustomObjectsSort | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + by: value.by, + direction: SortDirectionToJSON(value.direction) + } +} diff --git a/src/gen/models/Customer.ts b/src/gen/models/Customer.ts index 79f345a48..5ba2e2e88 100644 --- a/src/gen/models/Customer.ts +++ b/src/gen/models/Customer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,6 +17,7 @@ import { Address, AddressFromJSON, AddressToJSON } from './Address' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { LinkedLedgerAccount, @@ -208,11 +209,11 @@ export interface Customer { */ custom_fields?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Customer */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -310,7 +311,9 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -377,6 +380,7 @@ export function CustomerToJSON(value?: Customer | null): any { value.custom_fields === undefined ? undefined : (value.custom_fields as Array).map(CustomFieldToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/CustomersFilter.ts b/src/gen/models/CustomersFilter.ts index bc9b82aee..99da5014f 100644 --- a/src/gen/models/CustomersFilter.ts +++ b/src/gen/models/CustomersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/CustomersSort.ts b/src/gen/models/CustomersSort.ts index 13aac415a..0a694b888 100644 --- a/src/gen/models/CustomersSort.ts +++ b/src/gen/models/CustomersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Deduction.ts b/src/gen/models/Deduction.ts index f44bd7a60..7dcea0676 100644 --- a/src/gen/models/Deduction.ts +++ b/src/gen/models/Deduction.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAccountingDepartmentResponse.ts b/src/gen/models/DeleteAccountingDepartmentResponse.ts index 92cd1e1fd..1139510b9 100644 --- a/src/gen/models/DeleteAccountingDepartmentResponse.ts +++ b/src/gen/models/DeleteAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAccountingLocationResponse.ts b/src/gen/models/DeleteAccountingLocationResponse.ts index 39adaca19..e8caf7a81 100644 --- a/src/gen/models/DeleteAccountingLocationResponse.ts +++ b/src/gen/models/DeleteAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteActivityResponse.ts b/src/gen/models/DeleteActivityResponse.ts index b5e24b0d8..660846cf1 100644 --- a/src/gen/models/DeleteActivityResponse.ts +++ b/src/gen/models/DeleteActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteApplicantResponse.ts b/src/gen/models/DeleteApplicantResponse.ts index 5d06cda97..952e3cdfe 100644 --- a/src/gen/models/DeleteApplicantResponse.ts +++ b/src/gen/models/DeleteApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteApplicationResponse.ts b/src/gen/models/DeleteApplicationResponse.ts index a39763e72..6e554b6ed 100644 --- a/src/gen/models/DeleteApplicationResponse.ts +++ b/src/gen/models/DeleteApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteAttachmentResponse.ts b/src/gen/models/DeleteAttachmentResponse.ts index 4ebd5cc02..b45c97132 100644 --- a/src/gen/models/DeleteAttachmentResponse.ts +++ b/src/gen/models/DeleteAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteBankFeedAccountResponse.ts b/src/gen/models/DeleteBankFeedAccountResponse.ts new file mode 100644 index 000000000..3ddad87a1 --- /dev/null +++ b/src/gen/models/DeleteBankFeedAccountResponse.ts @@ -0,0 +1,109 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteBankFeedAccountResponse + */ +export interface DeleteBankFeedAccountResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteBankFeedAccountResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteBankFeedAccountResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteBankFeedAccountResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteBankFeedAccountResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteBankFeedAccountResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteBankFeedAccountResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof DeleteBankFeedAccountResponse + */ + _raw?: Raw | null +} + +export function DeleteBankFeedAccountResponseFromJSON(json: any): DeleteBankFeedAccountResponse { + return DeleteBankFeedAccountResponseFromJSONTyped(json, false) +} + +export function DeleteBankFeedAccountResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteBankFeedAccountResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function DeleteBankFeedAccountResponseToJSON( + value?: DeleteBankFeedAccountResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/DeleteBankFeedStatementResponse.ts b/src/gen/models/DeleteBankFeedStatementResponse.ts new file mode 100644 index 000000000..a8b09c0f5 --- /dev/null +++ b/src/gen/models/DeleteBankFeedStatementResponse.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteBankFeedStatementResponse + */ +export interface DeleteBankFeedStatementResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteBankFeedStatementResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteBankFeedStatementResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteBankFeedStatementResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteBankFeedStatementResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteBankFeedStatementResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteBankFeedStatementResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof DeleteBankFeedStatementResponse + */ + _raw?: Raw | null +} + +export function DeleteBankFeedStatementResponseFromJSON( + json: any +): DeleteBankFeedStatementResponse { + return DeleteBankFeedStatementResponseFromJSONTyped(json, false) +} + +export function DeleteBankFeedStatementResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteBankFeedStatementResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function DeleteBankFeedStatementResponseToJSON( + value?: DeleteBankFeedStatementResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/DeleteBillPaymentResponse.ts b/src/gen/models/DeleteBillPaymentResponse.ts index 600d12f0c..d980fc4fa 100644 --- a/src/gen/models/DeleteBillPaymentResponse.ts +++ b/src/gen/models/DeleteBillPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteBillResponse.ts b/src/gen/models/DeleteBillResponse.ts index 6b8af9754..36c88f15c 100644 --- a/src/gen/models/DeleteBillResponse.ts +++ b/src/gen/models/DeleteBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCommentResponse.ts b/src/gen/models/DeleteCommentResponse.ts index 0d0ff3f1a..cb95c5677 100644 --- a/src/gen/models/DeleteCommentResponse.ts +++ b/src/gen/models/DeleteCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCompanyResponse.ts b/src/gen/models/DeleteCompanyResponse.ts index 5936c1185..da3d4ffe8 100644 --- a/src/gen/models/DeleteCompanyResponse.ts +++ b/src/gen/models/DeleteCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteConsumerResponse.ts b/src/gen/models/DeleteConsumerResponse.ts index d856c0ae8..1128be486 100644 --- a/src/gen/models/DeleteConsumerResponse.ts +++ b/src/gen/models/DeleteConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteContactResponse.ts b/src/gen/models/DeleteContactResponse.ts index 745413ce2..9adff1226 100644 --- a/src/gen/models/DeleteContactResponse.ts +++ b/src/gen/models/DeleteContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCreditNoteResponse.ts b/src/gen/models/DeleteCreditNoteResponse.ts index 0c5ad4502..ec65950ab 100644 --- a/src/gen/models/DeleteCreditNoteResponse.ts +++ b/src/gen/models/DeleteCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteCustomObjectResponse.ts b/src/gen/models/DeleteCustomObjectResponse.ts new file mode 100644 index 000000000..9692ce301 --- /dev/null +++ b/src/gen/models/DeleteCustomObjectResponse.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteCustomObjectResponse + */ +export interface DeleteCustomObjectResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteCustomObjectResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteCustomObjectResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteCustomObjectResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteCustomObjectResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteCustomObjectResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteCustomObjectResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof DeleteCustomObjectResponse + */ + _raw?: Raw | null +} + +export function DeleteCustomObjectResponseFromJSON(json: any): DeleteCustomObjectResponse { + return DeleteCustomObjectResponseFromJSONTyped(json, false) +} + +export function DeleteCustomObjectResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteCustomObjectResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function DeleteCustomObjectResponseToJSON(value?: DeleteCustomObjectResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/DeleteCustomObjectSchemaResponse.ts b/src/gen/models/DeleteCustomObjectSchemaResponse.ts new file mode 100644 index 000000000..e54a0e5bc --- /dev/null +++ b/src/gen/models/DeleteCustomObjectSchemaResponse.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface DeleteCustomObjectSchemaResponse + */ +export interface DeleteCustomObjectSchemaResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof DeleteCustomObjectSchemaResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof DeleteCustomObjectSchemaResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof DeleteCustomObjectSchemaResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof DeleteCustomObjectSchemaResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof DeleteCustomObjectSchemaResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof DeleteCustomObjectSchemaResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof DeleteCustomObjectSchemaResponse + */ + _raw?: Raw | null +} + +export function DeleteCustomObjectSchemaResponseFromJSON( + json: any +): DeleteCustomObjectSchemaResponse { + return DeleteCustomObjectSchemaResponseFromJSONTyped(json, false) +} + +export function DeleteCustomObjectSchemaResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): DeleteCustomObjectSchemaResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function DeleteCustomObjectSchemaResponseToJSON( + value?: DeleteCustomObjectSchemaResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/DeleteCustomerResponse.ts b/src/gen/models/DeleteCustomerResponse.ts index f7922780b..d4b21ade1 100644 --- a/src/gen/models/DeleteCustomerResponse.ts +++ b/src/gen/models/DeleteCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDepartmentResponse.ts b/src/gen/models/DeleteDepartmentResponse.ts index 064eef2b6..053f0fa8e 100644 --- a/src/gen/models/DeleteDepartmentResponse.ts +++ b/src/gen/models/DeleteDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDriveGroupResponse.ts b/src/gen/models/DeleteDriveGroupResponse.ts index 690a17f6f..b70a2426d 100644 --- a/src/gen/models/DeleteDriveGroupResponse.ts +++ b/src/gen/models/DeleteDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteDriveResponse.ts b/src/gen/models/DeleteDriveResponse.ts index de10ff92a..01c41c691 100644 --- a/src/gen/models/DeleteDriveResponse.ts +++ b/src/gen/models/DeleteDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEcommerceCustomerResponse.ts b/src/gen/models/DeleteEcommerceCustomerResponse.ts index 66b679afc..10afb25b2 100644 --- a/src/gen/models/DeleteEcommerceCustomerResponse.ts +++ b/src/gen/models/DeleteEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEcommerceOrderResponse.ts b/src/gen/models/DeleteEcommerceOrderResponse.ts index c4972fd55..0f82ddc6a 100644 --- a/src/gen/models/DeleteEcommerceOrderResponse.ts +++ b/src/gen/models/DeleteEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteEmployeeResponse.ts b/src/gen/models/DeleteEmployeeResponse.ts index 7069a19e7..1c6158827 100644 --- a/src/gen/models/DeleteEmployeeResponse.ts +++ b/src/gen/models/DeleteEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteExpenseResponse.ts b/src/gen/models/DeleteExpenseResponse.ts index bf204bf48..ba5b8ce39 100644 --- a/src/gen/models/DeleteExpenseResponse.ts +++ b/src/gen/models/DeleteExpenseResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteFileResponse.ts b/src/gen/models/DeleteFileResponse.ts index 843e4c481..5a9151c90 100644 --- a/src/gen/models/DeleteFileResponse.ts +++ b/src/gen/models/DeleteFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteFolderResponse.ts b/src/gen/models/DeleteFolderResponse.ts index ce357e737..b47c97865 100644 --- a/src/gen/models/DeleteFolderResponse.ts +++ b/src/gen/models/DeleteFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteHrisCompanyResponse.ts b/src/gen/models/DeleteHrisCompanyResponse.ts index 9853b55a5..b25166a79 100644 --- a/src/gen/models/DeleteHrisCompanyResponse.ts +++ b/src/gen/models/DeleteHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteInvoiceResponse.ts b/src/gen/models/DeleteInvoiceResponse.ts index e4b7fa169..29b47788b 100644 --- a/src/gen/models/DeleteInvoiceResponse.ts +++ b/src/gen/models/DeleteInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteItemResponse.ts b/src/gen/models/DeleteItemResponse.ts index ad7278d58..4c872b949 100644 --- a/src/gen/models/DeleteItemResponse.ts +++ b/src/gen/models/DeleteItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteJobResponse.ts b/src/gen/models/DeleteJobResponse.ts index 6677d41b0..5b9e81eb1 100644 --- a/src/gen/models/DeleteJobResponse.ts +++ b/src/gen/models/DeleteJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteJournalEntryResponse.ts b/src/gen/models/DeleteJournalEntryResponse.ts index e5cf78e47..52eb25199 100644 --- a/src/gen/models/DeleteJournalEntryResponse.ts +++ b/src/gen/models/DeleteJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLeadResponse.ts b/src/gen/models/DeleteLeadResponse.ts index 10b51ce8d..35e85f530 100644 --- a/src/gen/models/DeleteLeadResponse.ts +++ b/src/gen/models/DeleteLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLedgerAccountResponse.ts b/src/gen/models/DeleteLedgerAccountResponse.ts index 20d329c96..02412918e 100644 --- a/src/gen/models/DeleteLedgerAccountResponse.ts +++ b/src/gen/models/DeleteLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteLocationResponse.ts b/src/gen/models/DeleteLocationResponse.ts index 46c07fbef..642fd0415 100644 --- a/src/gen/models/DeleteLocationResponse.ts +++ b/src/gen/models/DeleteLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteMerchantResponse.ts b/src/gen/models/DeleteMerchantResponse.ts index 5c48b7c11..e907bb84d 100644 --- a/src/gen/models/DeleteMerchantResponse.ts +++ b/src/gen/models/DeleteMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteMessageResponse.ts b/src/gen/models/DeleteMessageResponse.ts index d00d8bfba..2a702898c 100644 --- a/src/gen/models/DeleteMessageResponse.ts +++ b/src/gen/models/DeleteMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteModifierGroupResponse.ts b/src/gen/models/DeleteModifierGroupResponse.ts index 8611705cd..c1399097c 100644 --- a/src/gen/models/DeleteModifierGroupResponse.ts +++ b/src/gen/models/DeleteModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteModifierResponse.ts b/src/gen/models/DeleteModifierResponse.ts index 7f45437cf..88676bc94 100644 --- a/src/gen/models/DeleteModifierResponse.ts +++ b/src/gen/models/DeleteModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteNoteResponse.ts b/src/gen/models/DeleteNoteResponse.ts index 6e7cc257a..5c456b028 100644 --- a/src/gen/models/DeleteNoteResponse.ts +++ b/src/gen/models/DeleteNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOpportunityResponse.ts b/src/gen/models/DeleteOpportunityResponse.ts index a1e36fd5e..9e3e29b86 100644 --- a/src/gen/models/DeleteOpportunityResponse.ts +++ b/src/gen/models/DeleteOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOrderResponse.ts b/src/gen/models/DeleteOrderResponse.ts index cbbd17292..5a9635c30 100644 --- a/src/gen/models/DeleteOrderResponse.ts +++ b/src/gen/models/DeleteOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteOrderTypeResponse.ts b/src/gen/models/DeleteOrderTypeResponse.ts index f3f50cf41..fcd81c537 100644 --- a/src/gen/models/DeleteOrderTypeResponse.ts +++ b/src/gen/models/DeleteOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePaymentResponse.ts b/src/gen/models/DeletePaymentResponse.ts index e24ad7962..3c358f9d6 100644 --- a/src/gen/models/DeletePaymentResponse.ts +++ b/src/gen/models/DeletePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePipelineResponse.ts b/src/gen/models/DeletePipelineResponse.ts index cbb94fb77..35b4d9b7d 100644 --- a/src/gen/models/DeletePipelineResponse.ts +++ b/src/gen/models/DeletePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePosPaymentResponse.ts b/src/gen/models/DeletePosPaymentResponse.ts index 141c28962..4038d76d0 100644 --- a/src/gen/models/DeletePosPaymentResponse.ts +++ b/src/gen/models/DeletePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteProductResponse.ts b/src/gen/models/DeleteProductResponse.ts index 4de0762ea..c92c74df4 100644 --- a/src/gen/models/DeleteProductResponse.ts +++ b/src/gen/models/DeleteProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeletePurchaseOrderResponse.ts b/src/gen/models/DeletePurchaseOrderResponse.ts index b7769ad76..73417c0e0 100644 --- a/src/gen/models/DeletePurchaseOrderResponse.ts +++ b/src/gen/models/DeletePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSharedLinkResponse.ts b/src/gen/models/DeleteSharedLinkResponse.ts index 8ed3d8d03..bcdf77d5e 100644 --- a/src/gen/models/DeleteSharedLinkResponse.ts +++ b/src/gen/models/DeleteSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSubsidiaryResponse.ts b/src/gen/models/DeleteSubsidiaryResponse.ts index a83b83303..71c88a685 100644 --- a/src/gen/models/DeleteSubsidiaryResponse.ts +++ b/src/gen/models/DeleteSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteSupplierResponse.ts b/src/gen/models/DeleteSupplierResponse.ts index 73c1283b6..3cc5e6c27 100644 --- a/src/gen/models/DeleteSupplierResponse.ts +++ b/src/gen/models/DeleteSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTaxRateResponse.ts b/src/gen/models/DeleteTaxRateResponse.ts index d60d66b70..94b50a5e2 100644 --- a/src/gen/models/DeleteTaxRateResponse.ts +++ b/src/gen/models/DeleteTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTenderResponse.ts b/src/gen/models/DeleteTenderResponse.ts index 21c45c3e5..1ebb3c115 100644 --- a/src/gen/models/DeleteTenderResponse.ts +++ b/src/gen/models/DeleteTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTicketResponse.ts b/src/gen/models/DeleteTicketResponse.ts index 1c5acfbec..4b91a7fef 100644 --- a/src/gen/models/DeleteTicketResponse.ts +++ b/src/gen/models/DeleteTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTimeOffRequestResponse.ts b/src/gen/models/DeleteTimeOffRequestResponse.ts index f5f1d2023..18615a999 100644 --- a/src/gen/models/DeleteTimeOffRequestResponse.ts +++ b/src/gen/models/DeleteTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteTrackingCategoryResponse.ts b/src/gen/models/DeleteTrackingCategoryResponse.ts index 2c2d88358..957b19e4f 100644 --- a/src/gen/models/DeleteTrackingCategoryResponse.ts +++ b/src/gen/models/DeleteTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteUploadSessionResponse.ts b/src/gen/models/DeleteUploadSessionResponse.ts index 1504e2462..ae9ed9ecb 100644 --- a/src/gen/models/DeleteUploadSessionResponse.ts +++ b/src/gen/models/DeleteUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteUserResponse.ts b/src/gen/models/DeleteUserResponse.ts index bf0b8bb5e..7bbb03ed7 100644 --- a/src/gen/models/DeleteUserResponse.ts +++ b/src/gen/models/DeleteUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeleteWebhookResponse.ts b/src/gen/models/DeleteWebhookResponse.ts index 376c45a6f..35cb941c5 100644 --- a/src/gen/models/DeleteWebhookResponse.ts +++ b/src/gen/models/DeleteWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Department.ts b/src/gen/models/Department.ts index a16f074b3..f1094e189 100644 --- a/src/gen/models/Department.ts +++ b/src/gen/models/Department.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -52,11 +53,11 @@ export interface Department { */ description?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Department */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -103,7 +104,9 @@ export function DepartmentFromJSONTyped(json: any, ignoreDiscriminator: boolean) name: !exists(json, 'name') ? undefined : json['name'], code: !exists(json, 'code') ? undefined : json['code'], description: !exists(json, 'description') ? undefined : json['description'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -133,6 +136,7 @@ export function DepartmentToJSON(value?: Department | null): any { name: value.name, code: value.code, description: value.description, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/DeprecatedLinkedSupplier.ts b/src/gen/models/DeprecatedLinkedSupplier.ts index 4ccfd5f02..fe800ef52 100644 --- a/src/gen/models/DeprecatedLinkedSupplier.ts +++ b/src/gen/models/DeprecatedLinkedSupplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DeprecatedLinkedTrackingCategory.ts b/src/gen/models/DeprecatedLinkedTrackingCategory.ts index cccc0d8fb..c47e4fe14 100644 --- a/src/gen/models/DeprecatedLinkedTrackingCategory.ts +++ b/src/gen/models/DeprecatedLinkedTrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Drive.ts b/src/gen/models/Drive.ts index 87bcaec26..2f2876d17 100644 --- a/src/gen/models/Drive.ts +++ b/src/gen/models/Drive.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -40,11 +41,11 @@ export interface Drive { */ description?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Drive */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -89,7 +90,9 @@ export function DriveFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dri id: json['id'], name: json['name'], description: !exists(json, 'description') ? undefined : json['description'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -118,6 +121,7 @@ export function DriveToJSON(value?: Drive | null): any { return { name: value.name, description: value.description, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/DriveGroup.ts b/src/gen/models/DriveGroup.ts index 1be6119f3..ad42474e6 100644 --- a/src/gen/models/DriveGroup.ts +++ b/src/gen/models/DriveGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -46,11 +47,11 @@ export interface DriveGroup { */ description?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof DriveGroup */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -96,7 +97,9 @@ export function DriveGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean) name: json['name'], display_name: !exists(json, 'display_name') ? undefined : json['display_name'], description: !exists(json, 'description') ? undefined : json['description'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -126,6 +129,7 @@ export function DriveGroupToJSON(value?: DriveGroup | null): any { name: value.name, display_name: value.display_name, description: value.description, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/DriveGroupsFilter.ts b/src/gen/models/DriveGroupsFilter.ts index 8c39f0763..109835270 100644 --- a/src/gen/models/DriveGroupsFilter.ts +++ b/src/gen/models/DriveGroupsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/DrivesFilter.ts b/src/gen/models/DrivesFilter.ts index 1c9221fa8..2140f044d 100644 --- a/src/gen/models/DrivesFilter.ts +++ b/src/gen/models/DrivesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceAddress.ts b/src/gen/models/EcommerceAddress.ts index f1ea25100..039fa48de 100644 --- a/src/gen/models/EcommerceAddress.ts +++ b/src/gen/models/EcommerceAddress.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceCustomer.ts b/src/gen/models/EcommerceCustomer.ts index 44aba731b..ca9e7ba56 100644 --- a/src/gen/models/EcommerceCustomer.ts +++ b/src/gen/models/EcommerceCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { EcommerceCustomerAddresses, EcommerceCustomerAddressesFromJSON, @@ -100,11 +101,11 @@ export interface EcommerceCustomer { */ orders?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof EcommerceCustomer */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was created. * @type {Date} @@ -163,7 +164,9 @@ export function EcommerceCustomerFromJSONTyped( orders: !exists(json, 'orders') ? undefined : (json['orders'] as Array).map(LinkedEcommerceOrderFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), created_at: !exists(json, 'created_at') ? undefined : json['created_at'] === null @@ -210,6 +213,7 @@ export function EcommerceCustomerToJSON(value?: EcommerceCustomer | null): any { orders: value.orders === undefined ? undefined - : (value.orders as Array).map(LinkedEcommerceOrderToJSON) + : (value.orders as Array).map(LinkedEcommerceOrderToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/EcommerceCustomerAddresses.ts b/src/gen/models/EcommerceCustomerAddresses.ts index c06a3f6af..0e818832e 100644 --- a/src/gen/models/EcommerceCustomerAddresses.ts +++ b/src/gen/models/EcommerceCustomerAddresses.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceCustomersFilter.ts b/src/gen/models/EcommerceCustomersFilter.ts index 6b4579432..954cf9f35 100644 --- a/src/gen/models/EcommerceCustomersFilter.ts +++ b/src/gen/models/EcommerceCustomersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceDiscount.ts b/src/gen/models/EcommerceDiscount.ts index 2aeeb993b..da89282f4 100644 --- a/src/gen/models/EcommerceDiscount.ts +++ b/src/gen/models/EcommerceDiscount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceEventType.ts b/src/gen/models/EcommerceEventType.ts index dd0796294..d8406440d 100644 --- a/src/gen/models/EcommerceEventType.ts +++ b/src/gen/models/EcommerceEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrder.ts b/src/gen/models/EcommerceOrder.ts index 07a8a60ac..202fb9cd0 100644 --- a/src/gen/models/EcommerceOrder.ts +++ b/src/gen/models/EcommerceOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { EcommerceAddress, EcommerceAddressFromJSON, @@ -29,6 +30,11 @@ import { EcommerceOrderLineItemFromJSON, EcommerceOrderLineItemToJSON } from './EcommerceOrderLineItem' +import { + EcommerceOrderRefund, + EcommerceOrderRefundFromJSON, + EcommerceOrderRefundToJSON +} from './EcommerceOrderRefund' import { EcommerceOrderStatus, EcommerceOrderStatusFromJSON, @@ -174,11 +180,17 @@ export interface EcommerceOrder { */ note?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {Array} * @memberof EcommerceOrder */ - readonly custom_mappings?: object | null + refunds?: Array + /** + * + * @type {CustomMappings} + * @memberof EcommerceOrder + */ + custom_mappings?: CustomMappings | null /** * The date and time when the object was created. * @type {Date} @@ -267,7 +279,12 @@ export function EcommerceOrderFromJSONTyped( ? undefined : (json['line_items'] as Array).map(EcommerceOrderLineItemFromJSON), note: !exists(json, 'note') ? undefined : json['note'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + refunds: !exists(json, 'refunds') + ? undefined + : (json['refunds'] as Array).map(EcommerceOrderRefundFromJSON), + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), created_at: !exists(json, 'created_at') ? undefined : json['created_at'] === null @@ -317,6 +334,11 @@ export function EcommerceOrderToJSON(value?: EcommerceOrder | null): any { value.line_items === undefined ? undefined : (value.line_items as Array).map(EcommerceOrderLineItemToJSON), - note: value.note + note: value.note, + refunds: + value.refunds === undefined + ? undefined + : (value.refunds as Array).map(EcommerceOrderRefundToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/EcommerceOrderLineItem.ts b/src/gen/models/EcommerceOrderLineItem.ts index b012fc491..e783f0025 100644 --- a/src/gen/models/EcommerceOrderLineItem.ts +++ b/src/gen/models/EcommerceOrderLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,12 +37,6 @@ export interface EcommerceOrderLineItem { * @memberof EcommerceOrderLineItem */ quantity: string | null - /** - * The total amount for the product(s) or variant associated with the line item, including taxes and discounts. - * @type {string} - * @memberof EcommerceOrderLineItem - */ - total_amount: string | null /** * A unique identifier for an object. * @type {string} @@ -121,6 +115,12 @@ export interface EcommerceOrderLineItem { * @memberof EcommerceOrderLineItem */ sub_total?: string | null + /** + * The total amount for the product(s) or variant associated with the line item, including taxes and discounts. + * @type {string} + * @memberof EcommerceOrderLineItem + */ + total_amount?: string | null /** * * @type {Array} @@ -143,7 +143,6 @@ export function EcommerceOrderLineItemFromJSONTyped( return { name: json['name'], quantity: json['quantity'], - total_amount: json['total_amount'], id: !exists(json, 'id') ? undefined : json['id'], product_id: !exists(json, 'product_id') ? undefined : json['product_id'], variant_id: !exists(json, 'variant_id') ? undefined : json['variant_id'], @@ -157,6 +156,7 @@ export function EcommerceOrderLineItemFromJSONTyped( refunded_amount: !exists(json, 'refunded_amount') ? undefined : json['refunded_amount'], refunded_quantity: !exists(json, 'refunded_quantity') ? undefined : json['refunded_quantity'], sub_total: !exists(json, 'sub_total') ? undefined : json['sub_total'], + total_amount: !exists(json, 'total_amount') ? undefined : json['total_amount'], discounts: !exists(json, 'discounts') ? undefined : (json['discounts'] as Array).map(EcommerceDiscountFromJSON) @@ -173,7 +173,6 @@ export function EcommerceOrderLineItemToJSON(value?: EcommerceOrderLineItem | nu return { name: value.name, quantity: value.quantity, - total_amount: value.total_amount, product_id: value.product_id, variant_id: value.variant_id, sku: value.sku, @@ -186,6 +185,7 @@ export function EcommerceOrderLineItemToJSON(value?: EcommerceOrderLineItem | nu refunded_amount: value.refunded_amount, refunded_quantity: value.refunded_quantity, sub_total: value.sub_total, + total_amount: value.total_amount, discounts: value.discounts === undefined ? undefined diff --git a/src/gen/models/EcommerceOrderRefund.ts b/src/gen/models/EcommerceOrderRefund.ts new file mode 100644 index 000000000..3ae12d398 --- /dev/null +++ b/src/gen/models/EcommerceOrderRefund.ts @@ -0,0 +1,92 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' + +/** + * A refund for an ecommerce order. + * @export + * @interface EcommerceOrderRefund + */ +export interface EcommerceOrderRefund { + /** + * A unique identifier for an object. + * @type {string} + * @memberof EcommerceOrderRefund + */ + readonly id?: string | null + /** + * The amount of the refund. + * @type {string} + * @memberof EcommerceOrderRefund + */ + amount?: string + /** + * + * @type {Currency} + * @memberof EcommerceOrderRefund + */ + currency?: Currency | null + /** + * The reason for the refund. + * @type {string} + * @memberof EcommerceOrderRefund + */ + reason?: string + /** + * The date and time when the object was created. + * @type {Date} + * @memberof EcommerceOrderRefund + */ + readonly created_at?: Date | null +} + +export function EcommerceOrderRefundFromJSON(json: any): EcommerceOrderRefund { + return EcommerceOrderRefundFromJSONTyped(json, false) +} + +export function EcommerceOrderRefundFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): EcommerceOrderRefund { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + amount: !exists(json, 'amount') ? undefined : json['amount'], + currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), + reason: !exists(json, 'reason') ? undefined : json['reason'], + created_at: !exists(json, 'created_at') + ? undefined + : json['created_at'] === null + ? null + : new Date(json['created_at']) + } +} + +export function EcommerceOrderRefundToJSON(value?: EcommerceOrderRefund | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + amount: value.amount, + currency: CurrencyToJSON(value.currency), + reason: value.reason + } +} diff --git a/src/gen/models/EcommerceOrderStatus.ts b/src/gen/models/EcommerceOrderStatus.ts index 968e0e4fd..c43757c15 100644 --- a/src/gen/models/EcommerceOrderStatus.ts +++ b/src/gen/models/EcommerceOrderStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceOrdersFilter.ts b/src/gen/models/EcommerceOrdersFilter.ts index 7f2fcd5c4..da8e5100f 100644 --- a/src/gen/models/EcommerceOrdersFilter.ts +++ b/src/gen/models/EcommerceOrdersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProduct.ts b/src/gen/models/EcommerceProduct.ts index 36eb08a4d..8be13daae 100644 --- a/src/gen/models/EcommerceProduct.ts +++ b/src/gen/models/EcommerceProduct.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { EcommerceProductCategories, EcommerceProductCategoriesFromJSON, @@ -125,11 +126,11 @@ export interface EcommerceProduct { */ categories?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof EcommerceProduct */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was created. * @type {Date} @@ -191,7 +192,9 @@ export function EcommerceProductFromJSONTyped( categories: !exists(json, 'categories') ? undefined : (json['categories'] as Array).map(EcommerceProductCategoriesFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), created_at: !exists(json, 'created_at') ? undefined : json['created_at'] === null @@ -239,6 +242,7 @@ export function EcommerceProductToJSON(value?: EcommerceProduct | null): any { categories: value.categories === undefined ? undefined - : (value.categories as Array).map(EcommerceProductCategoriesToJSON) + : (value.categories as Array).map(EcommerceProductCategoriesToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/EcommerceProductCategories.ts b/src/gen/models/EcommerceProductCategories.ts index cf6207cd4..774aee379 100644 --- a/src/gen/models/EcommerceProductCategories.ts +++ b/src/gen/models/EcommerceProductCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductImages.ts b/src/gen/models/EcommerceProductImages.ts index 23f6a6efb..72d134263 100644 --- a/src/gen/models/EcommerceProductImages.ts +++ b/src/gen/models/EcommerceProductImages.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductImages1.ts b/src/gen/models/EcommerceProductImages1.ts index b63fc125a..13b2e8961 100644 --- a/src/gen/models/EcommerceProductImages1.ts +++ b/src/gen/models/EcommerceProductImages1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductOptions.ts b/src/gen/models/EcommerceProductOptions.ts index 9d1910d4c..ea0387fef 100644 --- a/src/gen/models/EcommerceProductOptions.ts +++ b/src/gen/models/EcommerceProductOptions.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductOptions1.ts b/src/gen/models/EcommerceProductOptions1.ts index 4cd2ee88d..315b8dab1 100644 --- a/src/gen/models/EcommerceProductOptions1.ts +++ b/src/gen/models/EcommerceProductOptions1.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceProductVariants.ts b/src/gen/models/EcommerceProductVariants.ts index 5d8203c65..fe572e875 100644 --- a/src/gen/models/EcommerceProductVariants.ts +++ b/src/gen/models/EcommerceProductVariants.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EcommerceStore.ts b/src/gen/models/EcommerceStore.ts index 3f7336c38..a2d0b63d9 100644 --- a/src/gen/models/EcommerceStore.ts +++ b/src/gen/models/EcommerceStore.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -44,11 +46,11 @@ export interface EcommerceStore { */ admin_url?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof EcommerceStore */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was created. * @type {Date} @@ -79,7 +81,9 @@ export function EcommerceStoreFromJSONTyped( name: !exists(json, 'name') ? undefined : json['name'], store_url: !exists(json, 'store_url') ? undefined : json['store_url'], admin_url: !exists(json, 'admin_url') ? undefined : json['admin_url'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), created_at: !exists(json, 'created_at') ? undefined : json['created_at'] === null @@ -103,6 +107,7 @@ export function EcommerceStoreToJSON(value?: EcommerceStore | null): any { return { name: value.name, store_url: value.store_url, - admin_url: value.admin_url + admin_url: value.admin_url, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/Email.ts b/src/gen/models/Email.ts index 3210b7db1..ce4607dd1 100644 --- a/src/gen/models/Email.ts +++ b/src/gen/models/Email.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Employee.ts b/src/gen/models/Employee.ts index 0f713c7da..a5040ed4e 100644 --- a/src/gen/models/Employee.ts +++ b/src/gen/models/Employee.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { EmployeeCompensation, @@ -55,6 +56,12 @@ export interface Employee { * @memberof Employee */ id?: string | null + /** + * The third-party API ID of original entity + * @type {string} + * @memberof Employee + */ + readonly downstream_id?: string | null /** * The first name of the person. * @type {string} @@ -398,11 +405,11 @@ export interface Employee { */ tags?: Tags | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Employee */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -468,6 +475,7 @@ export function EmployeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { id: !exists(json, 'id') ? undefined : json['id'], + downstream_id: !exists(json, 'downstream_id') ? undefined : json['downstream_id'], first_name: !exists(json, 'first_name') ? undefined : json['first_name'], last_name: !exists(json, 'last_name') ? undefined : json['last_name'], middle_name: !exists(json, 'middle_name') ? undefined : json['middle_name'], @@ -567,7 +575,9 @@ export function EmployeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ? undefined : ProbationPeriodFromJSON(json['probation_period']), tags: !exists(json, 'tags') ? undefined : TagsFromJSON(json['tags']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], deleted: !exists(json, 'deleted') ? undefined : json['deleted'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], @@ -689,6 +699,7 @@ export function EmployeeToJSON(value?: Employee | null): any { food_allergies: value.food_allergies, probation_period: ProbationPeriodToJSON(value.probation_period), tags: TagsToJSON(value.tags), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, deleted: value.deleted, pass_through: PassThroughBodyToJSON(value.pass_through) diff --git a/src/gen/models/EmployeeCompensation.ts b/src/gen/models/EmployeeCompensation.ts index 9fe6db247..bd94bd33e 100644 --- a/src/gen/models/EmployeeCompensation.ts +++ b/src/gen/models/EmployeeCompensation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeEmploymentRole.ts b/src/gen/models/EmployeeEmploymentRole.ts index 30f8e5332..25bd28ac4 100644 --- a/src/gen/models/EmployeeEmploymentRole.ts +++ b/src/gen/models/EmployeeEmploymentRole.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeJob.ts b/src/gen/models/EmployeeJob.ts index ae426f21b..30cbf871c 100644 --- a/src/gen/models/EmployeeJob.ts +++ b/src/gen/models/EmployeeJob.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeList.ts b/src/gen/models/EmployeeList.ts index 5fd29e15a..9b433813b 100644 --- a/src/gen/models/EmployeeList.ts +++ b/src/gen/models/EmployeeList.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeManager.ts b/src/gen/models/EmployeeManager.ts index c347ac6c6..1f39004e8 100644 --- a/src/gen/models/EmployeeManager.ts +++ b/src/gen/models/EmployeeManager.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeePayroll.ts b/src/gen/models/EmployeePayroll.ts index 1f45f1f61..7520956b7 100644 --- a/src/gen/models/EmployeePayroll.ts +++ b/src/gen/models/EmployeePayroll.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeeSchedules.ts b/src/gen/models/EmployeeSchedules.ts index 9d4fa196e..b8e4b91d8 100644 --- a/src/gen/models/EmployeeSchedules.ts +++ b/src/gen/models/EmployeeSchedules.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeesFilter.ts b/src/gen/models/EmployeesFilter.ts index e6b784689..59d287e75 100644 --- a/src/gen/models/EmployeesFilter.ts +++ b/src/gen/models/EmployeesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -79,6 +79,12 @@ export interface EmployeesFilter { * @memberof EmployeesFilter */ city?: string + /** + * Country to filter on + * @type {string} + * @memberof EmployeesFilter + */ + country?: string } /** @@ -113,7 +119,8 @@ export function EmployeesFilterFromJSONTyped( employment_status: !exists(json, 'employment_status') ? undefined : json['employment_status'], employee_number: !exists(json, 'employee_number') ? undefined : json['employee_number'], department_id: !exists(json, 'department_id') ? undefined : json['department_id'], - city: !exists(json, 'city') ? undefined : json['city'] + city: !exists(json, 'city') ? undefined : json['city'], + country: !exists(json, 'country') ? undefined : json['country'] } } @@ -134,6 +141,7 @@ export function EmployeesFilterToJSON(value?: EmployeesFilter | null): any { employment_status: value.employment_status, employee_number: value.employee_number, department_id: value.department_id, - city: value.city + city: value.city, + country: value.country } } diff --git a/src/gen/models/EmployeesOneFilter.ts b/src/gen/models/EmployeesOneFilter.ts index f5ffb20ef..1e5fc3efc 100644 --- a/src/gen/models/EmployeesOneFilter.ts +++ b/src/gen/models/EmployeesOneFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmployeesSort.ts b/src/gen/models/EmployeesSort.ts index 91fdb1185..d232cc5fe 100644 --- a/src/gen/models/EmployeesSort.ts +++ b/src/gen/models/EmployeesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/EmploymentStatus.ts b/src/gen/models/EmploymentStatus.ts index 81effd22c..66f2538ef 100644 --- a/src/gen/models/EmploymentStatus.ts +++ b/src/gen/models/EmploymentStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ExecuteWebhookResponse.ts b/src/gen/models/ExecuteWebhookResponse.ts index a74c67fb4..dbd845c8b 100644 --- a/src/gen/models/ExecuteWebhookResponse.ts +++ b/src/gen/models/ExecuteWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Expense.ts b/src/gen/models/Expense.ts index 7cc40ae2f..748817bc2 100644 --- a/src/gen/models/Expense.ts +++ b/src/gen/models/Expense.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { ExpenseLineItem, ExpenseLineItemFromJSON, ExpenseLineItemToJSON } from './ExpenseLineItem' import { LinkedTaxRate, LinkedTaxRateFromJSON, LinkedTaxRateToJSON } from './LinkedTaxRate' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' @@ -74,11 +75,11 @@ export interface Expense { */ company_id?: string | null /** - * The ID of the department this expense is linked to. + * The ID of the department * @type {string} * @memberof Expense */ - department_id?: string + department_id?: string | null /** * The type of payment for the expense. * @type {string} @@ -128,11 +129,11 @@ export interface Expense { */ custom_fields?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Expense */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the object was last updated. * @type {Date} @@ -151,6 +152,18 @@ export interface Expense { * @memberof Expense */ row_version?: string | null + /** + * The user who last updated the object. + * @type {string} + * @memberof Expense + */ + readonly updated_by?: string | null + /** + * The user who created the object. + * @type {string} + * @memberof Expense + */ + readonly created_by?: string | null /** * * @type {PassThroughBody} @@ -205,7 +218,9 @@ export function ExpenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): E custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'] === null @@ -217,6 +232,8 @@ export function ExpenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): E ? null : new Date(json['created_at']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], + updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], + created_by: !exists(json, 'created_by') ? undefined : json['created_by'], pass_through: !exists(json, 'pass_through') ? undefined : PassThroughBodyFromJSON(json['pass_through']) @@ -251,6 +268,7 @@ export function ExpenseToJSON(value?: Expense | null): any { value.custom_fields === undefined ? undefined : (value.custom_fields as Array).map(CustomFieldToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/ExpenseLineItem.ts b/src/gen/models/ExpenseLineItem.ts index d555716fa..6dfd93ba1 100644 --- a/src/gen/models/ExpenseLineItem.ts +++ b/src/gen/models/ExpenseLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -57,17 +57,23 @@ export interface ExpenseLineItem { */ customer_id?: string /** - * The ID of the department this expense item is linked to. + * The ID of the department * @type {string} * @memberof ExpenseLineItem */ - department_id?: string + department_id?: string | null /** - * The ID of the location this expense item is linked to. + * The ID of the location * @type {string} * @memberof ExpenseLineItem */ - location_id?: string + location_id?: string | null + /** + * The ID of the subsidiary + * @type {string} + * @memberof ExpenseLineItem + */ + subsidiary_id?: string | null /** * * @type {LinkedTaxRate} @@ -86,6 +92,12 @@ export interface ExpenseLineItem { * @memberof ExpenseLineItem */ billable?: boolean + /** + * Line number of the resource + * @type {number} + * @memberof ExpenseLineItem + */ + line_number?: number | null } export function ExpenseLineItemFromJSON(json: any): ExpenseLineItem { @@ -109,9 +121,11 @@ export function ExpenseLineItemFromJSONTyped( customer_id: !exists(json, 'customer_id') ? undefined : json['customer_id'], department_id: !exists(json, 'department_id') ? undefined : json['department_id'], location_id: !exists(json, 'location_id') ? undefined : json['location_id'], + subsidiary_id: !exists(json, 'subsidiary_id') ? undefined : json['subsidiary_id'], tax_rate: !exists(json, 'tax_rate') ? undefined : LinkedTaxRateFromJSON(json['tax_rate']), description: !exists(json, 'description') ? undefined : json['description'], - billable: !exists(json, 'billable') ? undefined : json['billable'] + billable: !exists(json, 'billable') ? undefined : json['billable'], + line_number: !exists(json, 'line_number') ? undefined : json['line_number'] } } @@ -129,8 +143,10 @@ export function ExpenseLineItemToJSON(value?: ExpenseLineItem | null): any { customer_id: value.customer_id, department_id: value.department_id, location_id: value.location_id, + subsidiary_id: value.subsidiary_id, tax_rate: LinkedTaxRateToJSON(value.tax_rate), description: value.description, - billable: value.billable + billable: value.billable, + line_number: value.line_number } } diff --git a/src/gen/models/Expenses.ts b/src/gen/models/Expenses.ts index 45510f141..dbb15748d 100644 --- a/src/gen/models/Expenses.ts +++ b/src/gen/models/Expenses.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FileStorageEventType.ts b/src/gen/models/FileStorageEventType.ts index a39e04fae..96513a5ff 100644 --- a/src/gen/models/FileStorageEventType.ts +++ b/src/gen/models/FileStorageEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FileType.ts b/src/gen/models/FileType.ts index c8dcd8473..902bb3a2b 100644 --- a/src/gen/models/FileType.ts +++ b/src/gen/models/FileType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesFilter.ts b/src/gen/models/FilesFilter.ts index 62716fa46..f7dd62269 100644 --- a/src/gen/models/FilesFilter.ts +++ b/src/gen/models/FilesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesSearch.ts b/src/gen/models/FilesSearch.ts index f902036dd..e230dca7b 100644 --- a/src/gen/models/FilesSearch.ts +++ b/src/gen/models/FilesSearch.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FilesSort.ts b/src/gen/models/FilesSort.ts index 26e036308..5a1838a10 100644 --- a/src/gen/models/FilesSort.ts +++ b/src/gen/models/FilesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Folder.ts b/src/gen/models/Folder.ts index 5303a50c5..3ed41bfcc 100644 --- a/src/gen/models/Folder.ts +++ b/src/gen/models/Folder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { LinkedFolder, LinkedFolderFromJSON, LinkedFolderToJSON } from './LinkedFolder' import { Owner, OwnerFromJSON, OwnerToJSON } from './Owner' @@ -71,11 +72,11 @@ export interface Folder { */ readonly parent_folders_complete?: boolean /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Folder */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -121,7 +122,9 @@ export function FolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Fo parent_folders_complete: !exists(json, 'parent_folders_complete') ? undefined : json['parent_folders_complete'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -148,6 +151,7 @@ export function FolderToJSON(value?: Folder | null): any { name: value.name, parent_folders: (value.parent_folders as Array).map(LinkedFolderToJSON), description: value.description, - owner: OwnerToJSON(value.owner) + owner: OwnerToJSON(value.owner), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/FormField.ts b/src/gen/models/FormField.ts index 015d8b880..a08e7be0f 100644 --- a/src/gen/models/FormField.ts +++ b/src/gen/models/FormField.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/FormFieldOption.ts b/src/gen/models/FormFieldOption.ts index 93f80eded..38c17f62c 100644 --- a/src/gen/models/FormFieldOption.ts +++ b/src/gen/models/FormFieldOption.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -12,44 +12,25 @@ * Do not edit the class manually. */ -import { exists } from '../runtime' +import { + FormFieldOptionGroup, + FormFieldOptionGroupFromJSONTyped, + FormFieldOptionGroupToJSON +} from './FormFieldOptionGroup' import { SimpleFormFieldOption, - SimpleFormFieldOptionFromJSON, + SimpleFormFieldOptionFromJSONTyped, SimpleFormFieldOptionToJSON } from './SimpleFormFieldOption' /** + * @type FormFieldOption * * @export - * @interface FormFieldOption */ -export interface FormFieldOption { - /** - * - * @type {string} - * @memberof FormFieldOption - */ - label?: string - /** - * - * @type {string | number | boolean | Array} - * @memberof FormFieldOption - */ - value?: string | number | boolean | Array | null - /** - * - * @type {string} - * @memberof FormFieldOption - */ - id?: string - /** - * - * @type {Array} - * @memberof FormFieldOption - */ - options?: Array -} +export type FormFieldOption = + | ({ option_type: 'group' } & FormFieldOptionGroup) + | ({ option_type: 'simple' } & SimpleFormFieldOption) export function FormFieldOptionFromJSON(json: any): FormFieldOption { return FormFieldOptionFromJSONTyped(json, false) @@ -62,15 +43,15 @@ export function FormFieldOptionFromJSONTyped( if (json === undefined || json === null) { return json } - return { - label: !exists(json, 'label') ? undefined : json['label'], - value: !exists(json, 'value') - ? undefined - : >json['value'], - id: !exists(json, 'id') ? undefined : json['id'], - options: !exists(json, 'options') - ? undefined - : (json['options'] as Array).map(SimpleFormFieldOptionFromJSON) + switch (json['option_type']) { + case 'group': + return { ...FormFieldOptionGroupFromJSONTyped(json, true), option_type: 'group' } + case 'simple': + return { ...SimpleFormFieldOptionFromJSONTyped(json, true), option_type: 'simple' } + default: + throw new Error( + `No variant of FormFieldOption exists with 'option_type=${json['option_type']}'` + ) } } @@ -81,13 +62,14 @@ export function FormFieldOptionToJSON(value?: FormFieldOption | null): any { if (value === null) { return null } - return { - label: value.label, - value: >value.value, - id: value.id, - options: - value.options === undefined - ? undefined - : (value.options as Array).map(SimpleFormFieldOptionToJSON) + switch (value['option_type']) { + case 'group': + return FormFieldOptionGroupToJSON(value) + case 'simple': + return SimpleFormFieldOptionToJSON(value) + default: + throw new Error( + `No variant of FormFieldOption exists with 'option_type=${value['option_type']}'` + ) } } diff --git a/src/gen/models/FormFieldOptionGroup.ts b/src/gen/models/FormFieldOptionGroup.ts index f1e019a96..710477fc4 100644 --- a/src/gen/models/FormFieldOptionGroup.ts +++ b/src/gen/models/FormFieldOptionGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,19 +30,33 @@ export interface FormFieldOptionGroup { * @type {string} * @memberof FormFieldOptionGroup */ - id?: string + label: string + /** + * + * @type {Array} + * @memberof FormFieldOptionGroup + */ + options: Array /** * * @type {string} * @memberof FormFieldOptionGroup */ - label?: string + option_type: FormFieldOptionGroupOptionType /** * - * @type {Array} + * @type {string} * @memberof FormFieldOptionGroup */ - options?: Array + id?: string +} + +/** + * @export + * @enum {string} + */ +export enum FormFieldOptionGroupOptionType { + group = 'group' } export function FormFieldOptionGroupFromJSON(json: any): FormFieldOptionGroup { @@ -57,11 +71,10 @@ export function FormFieldOptionGroupFromJSONTyped( return json } return { - id: !exists(json, 'id') ? undefined : json['id'], - label: !exists(json, 'label') ? undefined : json['label'], - options: !exists(json, 'options') - ? undefined - : (json['options'] as Array).map(SimpleFormFieldOptionFromJSON) + label: json['label'], + options: (json['options'] as Array).map(SimpleFormFieldOptionFromJSON), + option_type: json['option_type'], + id: !exists(json, 'id') ? undefined : json['id'] } } @@ -73,11 +86,9 @@ export function FormFieldOptionGroupToJSON(value?: FormFieldOptionGroup | null): return null } return { - id: value.id, label: value.label, - options: - value.options === undefined - ? undefined - : (value.options as Array).map(SimpleFormFieldOptionToJSON) + options: (value.options as Array).map(SimpleFormFieldOptionToJSON), + option_type: value.option_type, + id: value.id } } diff --git a/src/gen/models/Gender.ts b/src/gen/models/Gender.ts index eca6b2cc3..2b260d9b5 100644 --- a/src/gen/models/Gender.ts +++ b/src/gen/models/Gender.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingDepartmentResponse.ts b/src/gen/models/GetAccountingDepartmentResponse.ts index d799991f0..431adab9e 100644 --- a/src/gen/models/GetAccountingDepartmentResponse.ts +++ b/src/gen/models/GetAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingDepartmentsResponse.ts b/src/gen/models/GetAccountingDepartmentsResponse.ts index 2f220995a..5a43ac056 100644 --- a/src/gen/models/GetAccountingDepartmentsResponse.ts +++ b/src/gen/models/GetAccountingDepartmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingLocationResponse.ts b/src/gen/models/GetAccountingLocationResponse.ts index 5457a379b..2df661f77 100644 --- a/src/gen/models/GetAccountingLocationResponse.ts +++ b/src/gen/models/GetAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAccountingLocationsResponse.ts b/src/gen/models/GetAccountingLocationsResponse.ts index d42fc1126..8310a8e0b 100644 --- a/src/gen/models/GetAccountingLocationsResponse.ts +++ b/src/gen/models/GetAccountingLocationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetActivitiesResponse.ts b/src/gen/models/GetActivitiesResponse.ts index 5ff087208..37408973a 100644 --- a/src/gen/models/GetActivitiesResponse.ts +++ b/src/gen/models/GetActivitiesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetActivityResponse.ts b/src/gen/models/GetActivityResponse.ts index a31513504..2d2297289 100644 --- a/src/gen/models/GetActivityResponse.ts +++ b/src/gen/models/GetActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAgedCreditorsResponse.ts b/src/gen/models/GetAgedCreditorsResponse.ts index 917347342..0171d2108 100644 --- a/src/gen/models/GetAgedCreditorsResponse.ts +++ b/src/gen/models/GetAgedCreditorsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAgedDebtorsResponse.ts b/src/gen/models/GetAgedDebtorsResponse.ts index 3e4a404b8..2975d5e4a 100644 --- a/src/gen/models/GetAgedDebtorsResponse.ts +++ b/src/gen/models/GetAgedDebtorsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResourceCoverageResponse.ts b/src/gen/models/GetApiResourceCoverageResponse.ts index 1bb90a0b0..98854b8a4 100644 --- a/src/gen/models/GetApiResourceCoverageResponse.ts +++ b/src/gen/models/GetApiResourceCoverageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResourceResponse.ts b/src/gen/models/GetApiResourceResponse.ts index 9649c664b..1ac0f71d3 100644 --- a/src/gen/models/GetApiResourceResponse.ts +++ b/src/gen/models/GetApiResourceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApiResponse.ts b/src/gen/models/GetApiResponse.ts index 265921ff0..41ec369b7 100644 --- a/src/gen/models/GetApiResponse.ts +++ b/src/gen/models/GetApiResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApisResponse.ts b/src/gen/models/GetApisResponse.ts index 75c56fec9..3c6eef7d5 100644 --- a/src/gen/models/GetApisResponse.ts +++ b/src/gen/models/GetApisResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicantResponse.ts b/src/gen/models/GetApplicantResponse.ts index 897808bdf..44942dcb3 100644 --- a/src/gen/models/GetApplicantResponse.ts +++ b/src/gen/models/GetApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicantsResponse.ts b/src/gen/models/GetApplicantsResponse.ts index ed71911b6..ae6b90f46 100644 --- a/src/gen/models/GetApplicantsResponse.ts +++ b/src/gen/models/GetApplicantsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicationResponse.ts b/src/gen/models/GetApplicationResponse.ts index 40e9e8c16..f51145a53 100644 --- a/src/gen/models/GetApplicationResponse.ts +++ b/src/gen/models/GetApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetApplicationsResponse.ts b/src/gen/models/GetApplicationsResponse.ts index f486c82cd..7439feb88 100644 --- a/src/gen/models/GetApplicationsResponse.ts +++ b/src/gen/models/GetApplicationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAttachmentResponse.ts b/src/gen/models/GetAttachmentResponse.ts index e4843dece..869ffcfb1 100644 --- a/src/gen/models/GetAttachmentResponse.ts +++ b/src/gen/models/GetAttachmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetAttachmentsResponse.ts b/src/gen/models/GetAttachmentsResponse.ts index 77eb3436a..28ab46edb 100644 --- a/src/gen/models/GetAttachmentsResponse.ts +++ b/src/gen/models/GetAttachmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBalanceSheetResponse.ts b/src/gen/models/GetBalanceSheetResponse.ts index c054173e1..973dc8842 100644 --- a/src/gen/models/GetBalanceSheetResponse.ts +++ b/src/gen/models/GetBalanceSheetResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBankFeedAccountResponse.ts b/src/gen/models/GetBankFeedAccountResponse.ts new file mode 100644 index 000000000..dd337973f --- /dev/null +++ b/src/gen/models/GetBankFeedAccountResponse.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { BankFeedAccount, BankFeedAccountFromJSON, BankFeedAccountToJSON } from './BankFeedAccount' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetBankFeedAccountResponse + */ +export interface GetBankFeedAccountResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBankFeedAccountResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBankFeedAccountResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBankFeedAccountResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBankFeedAccountResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBankFeedAccountResponse + */ + operation: string + /** + * + * @type {BankFeedAccount} + * @memberof GetBankFeedAccountResponse + */ + data: BankFeedAccount + /** + * + * @type {Raw} + * @memberof GetBankFeedAccountResponse + */ + _raw?: Raw | null +} + +export function GetBankFeedAccountResponseFromJSON(json: any): GetBankFeedAccountResponse { + return GetBankFeedAccountResponseFromJSONTyped(json, false) +} + +export function GetBankFeedAccountResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBankFeedAccountResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: BankFeedAccountFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetBankFeedAccountResponseToJSON(value?: GetBankFeedAccountResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: BankFeedAccountToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetBankFeedAccountsResponse.ts b/src/gen/models/GetBankFeedAccountsResponse.ts new file mode 100644 index 000000000..4efa3c0dc --- /dev/null +++ b/src/gen/models/GetBankFeedAccountsResponse.ts @@ -0,0 +1,125 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { BankFeedAccount, BankFeedAccountFromJSON, BankFeedAccountToJSON } from './BankFeedAccount' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetBankFeedAccountsResponse + */ +export interface GetBankFeedAccountsResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBankFeedAccountsResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBankFeedAccountsResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBankFeedAccountsResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBankFeedAccountsResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBankFeedAccountsResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetBankFeedAccountsResponse + */ + data: Array + /** + * + * @type {Meta} + * @memberof GetBankFeedAccountsResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetBankFeedAccountsResponse + */ + links?: Links + /** + * + * @type {Raw} + * @memberof GetBankFeedAccountsResponse + */ + _raw?: Raw | null +} + +export function GetBankFeedAccountsResponseFromJSON(json: any): GetBankFeedAccountsResponse { + return GetBankFeedAccountsResponseFromJSONTyped(json, false) +} + +export function GetBankFeedAccountsResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBankFeedAccountsResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(BankFeedAccountFromJSON), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetBankFeedAccountsResponseToJSON(value?: GetBankFeedAccountsResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(BankFeedAccountToJSON), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetBankFeedStatementResponse.ts b/src/gen/models/GetBankFeedStatementResponse.ts new file mode 100644 index 000000000..5fb241000 --- /dev/null +++ b/src/gen/models/GetBankFeedStatementResponse.ts @@ -0,0 +1,113 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + BankFeedStatement, + BankFeedStatementFromJSON, + BankFeedStatementToJSON +} from './BankFeedStatement' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetBankFeedStatementResponse + */ +export interface GetBankFeedStatementResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBankFeedStatementResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBankFeedStatementResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBankFeedStatementResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBankFeedStatementResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBankFeedStatementResponse + */ + operation: string + /** + * + * @type {BankFeedStatement} + * @memberof GetBankFeedStatementResponse + */ + data: BankFeedStatement + /** + * + * @type {Raw} + * @memberof GetBankFeedStatementResponse + */ + _raw?: Raw | null +} + +export function GetBankFeedStatementResponseFromJSON(json: any): GetBankFeedStatementResponse { + return GetBankFeedStatementResponseFromJSONTyped(json, false) +} + +export function GetBankFeedStatementResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBankFeedStatementResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: BankFeedStatementFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetBankFeedStatementResponseToJSON( + value?: GetBankFeedStatementResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: BankFeedStatementToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetBankFeedStatementsResponse.ts b/src/gen/models/GetBankFeedStatementsResponse.ts new file mode 100644 index 000000000..df033da1b --- /dev/null +++ b/src/gen/models/GetBankFeedStatementsResponse.ts @@ -0,0 +1,131 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + BankFeedStatement, + BankFeedStatementFromJSON, + BankFeedStatementToJSON +} from './BankFeedStatement' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetBankFeedStatementsResponse + */ +export interface GetBankFeedStatementsResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetBankFeedStatementsResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetBankFeedStatementsResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetBankFeedStatementsResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetBankFeedStatementsResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetBankFeedStatementsResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetBankFeedStatementsResponse + */ + data: Array + /** + * + * @type {Meta} + * @memberof GetBankFeedStatementsResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetBankFeedStatementsResponse + */ + links?: Links + /** + * + * @type {Raw} + * @memberof GetBankFeedStatementsResponse + */ + _raw?: Raw | null +} + +export function GetBankFeedStatementsResponseFromJSON(json: any): GetBankFeedStatementsResponse { + return GetBankFeedStatementsResponseFromJSONTyped(json, false) +} + +export function GetBankFeedStatementsResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetBankFeedStatementsResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(BankFeedStatementFromJSON), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetBankFeedStatementsResponseToJSON( + value?: GetBankFeedStatementsResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(BankFeedStatementToJSON), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetBillPaymentResponse.ts b/src/gen/models/GetBillPaymentResponse.ts index abf288771..071d14e9c 100644 --- a/src/gen/models/GetBillPaymentResponse.ts +++ b/src/gen/models/GetBillPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBillPaymentsResponse.ts b/src/gen/models/GetBillPaymentsResponse.ts index c30a270b8..b6f865925 100644 --- a/src/gen/models/GetBillPaymentsResponse.ts +++ b/src/gen/models/GetBillPaymentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBillResponse.ts b/src/gen/models/GetBillResponse.ts index d9b7ba50b..0281da1af 100644 --- a/src/gen/models/GetBillResponse.ts +++ b/src/gen/models/GetBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetBillsResponse.ts b/src/gen/models/GetBillsResponse.ts index e9745c33b..b7f3e240a 100644 --- a/src/gen/models/GetBillsResponse.ts +++ b/src/gen/models/GetBillsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionResponse.ts b/src/gen/models/GetCollectionResponse.ts index 71f92ea3e..b4000d29d 100644 --- a/src/gen/models/GetCollectionResponse.ts +++ b/src/gen/models/GetCollectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionTagsResponse.ts b/src/gen/models/GetCollectionTagsResponse.ts index 45598b00f..2f27c9928 100644 --- a/src/gen/models/GetCollectionTagsResponse.ts +++ b/src/gen/models/GetCollectionTagsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionUserResponse.ts b/src/gen/models/GetCollectionUserResponse.ts index 43079039a..47e7c91ff 100644 --- a/src/gen/models/GetCollectionUserResponse.ts +++ b/src/gen/models/GetCollectionUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionUsersResponse.ts b/src/gen/models/GetCollectionUsersResponse.ts index 3b9fa5af5..05a201245 100644 --- a/src/gen/models/GetCollectionUsersResponse.ts +++ b/src/gen/models/GetCollectionUsersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCollectionsResponse.ts b/src/gen/models/GetCollectionsResponse.ts index d19cde719..b346f08b0 100644 --- a/src/gen/models/GetCollectionsResponse.ts +++ b/src/gen/models/GetCollectionsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCommentResponse.ts b/src/gen/models/GetCommentResponse.ts index 9190b7ff8..2ccf0ad55 100644 --- a/src/gen/models/GetCommentResponse.ts +++ b/src/gen/models/GetCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCommentsResponse.ts b/src/gen/models/GetCommentsResponse.ts index e3bf2653d..c12b612dd 100644 --- a/src/gen/models/GetCommentsResponse.ts +++ b/src/gen/models/GetCommentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompaniesResponse.ts b/src/gen/models/GetCompaniesResponse.ts index f6f35a7b8..1fcd72bbe 100644 --- a/src/gen/models/GetCompaniesResponse.ts +++ b/src/gen/models/GetCompaniesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompanyInfoResponse.ts b/src/gen/models/GetCompanyInfoResponse.ts index 90dc2d012..ba7330174 100644 --- a/src/gen/models/GetCompanyInfoResponse.ts +++ b/src/gen/models/GetCompanyInfoResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCompanyResponse.ts b/src/gen/models/GetCompanyResponse.ts index 4138deae5..4eca4f1ac 100644 --- a/src/gen/models/GetCompanyResponse.ts +++ b/src/gen/models/GetCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectionResponse.ts b/src/gen/models/GetConnectionResponse.ts index f83761687..6770ee56b 100644 --- a/src/gen/models/GetConnectionResponse.ts +++ b/src/gen/models/GetConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectionsResponse.ts b/src/gen/models/GetConnectionsResponse.ts index 244995a7b..eb0751cef 100644 --- a/src/gen/models/GetConnectionsResponse.ts +++ b/src/gen/models/GetConnectionsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceExampleResponse.ts b/src/gen/models/GetConnectorResourceExampleResponse.ts index 2f02db716..4a7067a81 100644 --- a/src/gen/models/GetConnectorResourceExampleResponse.ts +++ b/src/gen/models/GetConnectorResourceExampleResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceExampleResponseData.ts b/src/gen/models/GetConnectorResourceExampleResponseData.ts index 8fcd75a5b..26241b3cd 100644 --- a/src/gen/models/GetConnectorResourceExampleResponseData.ts +++ b/src/gen/models/GetConnectorResourceExampleResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceResponse.ts b/src/gen/models/GetConnectorResourceResponse.ts index 7661e0ef2..37cd9f198 100644 --- a/src/gen/models/GetConnectorResourceResponse.ts +++ b/src/gen/models/GetConnectorResourceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResourceSchemaResponse.ts b/src/gen/models/GetConnectorResourceSchemaResponse.ts index 4ca11dfe4..3271f43bf 100644 --- a/src/gen/models/GetConnectorResourceSchemaResponse.ts +++ b/src/gen/models/GetConnectorResourceSchemaResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorResponse.ts b/src/gen/models/GetConnectorResponse.ts index e75c93bfb..0c2493dd6 100644 --- a/src/gen/models/GetConnectorResponse.ts +++ b/src/gen/models/GetConnectorResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConnectorsResponse.ts b/src/gen/models/GetConnectorsResponse.ts index ffe497fa8..2e3a037ac 100644 --- a/src/gen/models/GetConnectorsResponse.ts +++ b/src/gen/models/GetConnectorsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumerResponse.ts b/src/gen/models/GetConsumerResponse.ts index 9a32c784d..474da80cc 100644 --- a/src/gen/models/GetConsumerResponse.ts +++ b/src/gen/models/GetConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumersResponse.ts b/src/gen/models/GetConsumersResponse.ts index 1576b60a5..f3b19285a 100644 --- a/src/gen/models/GetConsumersResponse.ts +++ b/src/gen/models/GetConsumersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetConsumersResponseData.ts b/src/gen/models/GetConsumersResponseData.ts index 0fe4b9d98..7986ca3d2 100644 --- a/src/gen/models/GetConsumersResponseData.ts +++ b/src/gen/models/GetConsumersResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetContactResponse.ts b/src/gen/models/GetContactResponse.ts index 515ce52e2..f24fbfdec 100644 --- a/src/gen/models/GetContactResponse.ts +++ b/src/gen/models/GetContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetContactsResponse.ts b/src/gen/models/GetContactsResponse.ts index 829e45160..e9c8958cd 100644 --- a/src/gen/models/GetContactsResponse.ts +++ b/src/gen/models/GetContactsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCreditNoteResponse.ts b/src/gen/models/GetCreditNoteResponse.ts index 1a0aa0ba8..3601b6e20 100644 --- a/src/gen/models/GetCreditNoteResponse.ts +++ b/src/gen/models/GetCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCreditNotesResponse.ts b/src/gen/models/GetCreditNotesResponse.ts index d247705cd..89a8b3c8c 100644 --- a/src/gen/models/GetCreditNotesResponse.ts +++ b/src/gen/models/GetCreditNotesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomFieldsResponse.ts b/src/gen/models/GetCustomFieldsResponse.ts index 4c6d2300d..b03015b2b 100644 --- a/src/gen/models/GetCustomFieldsResponse.ts +++ b/src/gen/models/GetCustomFieldsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomMappingResponse.ts b/src/gen/models/GetCustomMappingResponse.ts index 99cd72633..9fb3f7fd7 100644 --- a/src/gen/models/GetCustomMappingResponse.ts +++ b/src/gen/models/GetCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomMappingsResponse.ts b/src/gen/models/GetCustomMappingsResponse.ts index 536c9d731..2f7fe6b18 100644 --- a/src/gen/models/GetCustomMappingsResponse.ts +++ b/src/gen/models/GetCustomMappingsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomObjectResponse.ts b/src/gen/models/GetCustomObjectResponse.ts new file mode 100644 index 000000000..44d488497 --- /dev/null +++ b/src/gen/models/GetCustomObjectResponse.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { CustomObject, CustomObjectFromJSON, CustomObjectToJSON } from './CustomObject' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetCustomObjectResponse + */ +export interface GetCustomObjectResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetCustomObjectResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetCustomObjectResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetCustomObjectResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetCustomObjectResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetCustomObjectResponse + */ + operation: string + /** + * + * @type {CustomObject} + * @memberof GetCustomObjectResponse + */ + data: CustomObject + /** + * + * @type {Raw} + * @memberof GetCustomObjectResponse + */ + _raw?: Raw | null +} + +export function GetCustomObjectResponseFromJSON(json: any): GetCustomObjectResponse { + return GetCustomObjectResponseFromJSONTyped(json, false) +} + +export function GetCustomObjectResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetCustomObjectResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: CustomObjectFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetCustomObjectResponseToJSON(value?: GetCustomObjectResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: CustomObjectToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetCustomObjectSchemaResponse.ts b/src/gen/models/GetCustomObjectSchemaResponse.ts new file mode 100644 index 000000000..eeff09518 --- /dev/null +++ b/src/gen/models/GetCustomObjectSchemaResponse.ts @@ -0,0 +1,113 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectSchema, + CustomObjectSchemaFromJSON, + CustomObjectSchemaToJSON +} from './CustomObjectSchema' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetCustomObjectSchemaResponse + */ +export interface GetCustomObjectSchemaResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetCustomObjectSchemaResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetCustomObjectSchemaResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetCustomObjectSchemaResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetCustomObjectSchemaResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetCustomObjectSchemaResponse + */ + operation: string + /** + * + * @type {CustomObjectSchema} + * @memberof GetCustomObjectSchemaResponse + */ + data: CustomObjectSchema + /** + * + * @type {Raw} + * @memberof GetCustomObjectSchemaResponse + */ + _raw?: Raw | null +} + +export function GetCustomObjectSchemaResponseFromJSON(json: any): GetCustomObjectSchemaResponse { + return GetCustomObjectSchemaResponseFromJSONTyped(json, false) +} + +export function GetCustomObjectSchemaResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetCustomObjectSchemaResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: CustomObjectSchemaFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function GetCustomObjectSchemaResponseToJSON( + value?: GetCustomObjectSchemaResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: CustomObjectSchemaToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/GetCustomObjectSchemasResponse.ts b/src/gen/models/GetCustomObjectSchemasResponse.ts new file mode 100644 index 000000000..dcaacc87d --- /dev/null +++ b/src/gen/models/GetCustomObjectSchemasResponse.ts @@ -0,0 +1,131 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { + CustomObjectSchema, + CustomObjectSchemaFromJSON, + CustomObjectSchemaToJSON +} from './CustomObjectSchema' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetCustomObjectSchemasResponse + */ +export interface GetCustomObjectSchemasResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetCustomObjectSchemasResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetCustomObjectSchemasResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetCustomObjectSchemasResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetCustomObjectSchemasResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetCustomObjectSchemasResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetCustomObjectSchemasResponse + */ + data: Array + /** + * + * @type {Raw} + * @memberof GetCustomObjectSchemasResponse + */ + _raw?: Raw | null + /** + * + * @type {Meta} + * @memberof GetCustomObjectSchemasResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetCustomObjectSchemasResponse + */ + links?: Links +} + +export function GetCustomObjectSchemasResponseFromJSON(json: any): GetCustomObjectSchemasResponse { + return GetCustomObjectSchemasResponseFromJSONTyped(json, false) +} + +export function GetCustomObjectSchemasResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetCustomObjectSchemasResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(CustomObjectSchemaFromJSON), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']) + } +} + +export function GetCustomObjectSchemasResponseToJSON( + value?: GetCustomObjectSchemasResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(CustomObjectSchemaToJSON), + _raw: RawToJSON(value._raw), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links) + } +} diff --git a/src/gen/models/GetCustomObjectsResponse.ts b/src/gen/models/GetCustomObjectsResponse.ts new file mode 100644 index 000000000..c20f9bae6 --- /dev/null +++ b/src/gen/models/GetCustomObjectsResponse.ts @@ -0,0 +1,125 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { CustomObject, CustomObjectFromJSON, CustomObjectToJSON } from './CustomObject' +import { Links, LinksFromJSON, LinksToJSON } from './Links' +import { Meta, MetaFromJSON, MetaToJSON } from './Meta' +import { Raw, RawFromJSON, RawToJSON } from './Raw' + +/** + * + * @export + * @interface GetCustomObjectsResponse + */ +export interface GetCustomObjectsResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof GetCustomObjectsResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof GetCustomObjectsResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof GetCustomObjectsResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof GetCustomObjectsResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof GetCustomObjectsResponse + */ + operation: string + /** + * + * @type {Array} + * @memberof GetCustomObjectsResponse + */ + data: Array + /** + * + * @type {Raw} + * @memberof GetCustomObjectsResponse + */ + _raw?: Raw | null + /** + * + * @type {Meta} + * @memberof GetCustomObjectsResponse + */ + meta?: Meta + /** + * + * @type {Links} + * @memberof GetCustomObjectsResponse + */ + links?: Links +} + +export function GetCustomObjectsResponseFromJSON(json: any): GetCustomObjectsResponse { + return GetCustomObjectsResponseFromJSONTyped(json, false) +} + +export function GetCustomObjectsResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): GetCustomObjectsResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: (json['data'] as Array).map(CustomObjectFromJSON), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']), + meta: !exists(json, 'meta') ? undefined : MetaFromJSON(json['meta']), + links: !exists(json, 'links') ? undefined : LinksFromJSON(json['links']) + } +} + +export function GetCustomObjectsResponseToJSON(value?: GetCustomObjectsResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: (value.data as Array).map(CustomObjectToJSON), + _raw: RawToJSON(value._raw), + meta: MetaToJSON(value.meta), + links: LinksToJSON(value.links) + } +} diff --git a/src/gen/models/GetCustomerResponse.ts b/src/gen/models/GetCustomerResponse.ts index 07ef85c3c..c6c3c7e4f 100644 --- a/src/gen/models/GetCustomerResponse.ts +++ b/src/gen/models/GetCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetCustomersResponse.ts b/src/gen/models/GetCustomersResponse.ts index 90aeda0c2..d4d19098b 100644 --- a/src/gen/models/GetCustomersResponse.ts +++ b/src/gen/models/GetCustomersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDepartmentResponse.ts b/src/gen/models/GetDepartmentResponse.ts index d0be8bc5a..b4b801b45 100644 --- a/src/gen/models/GetDepartmentResponse.ts +++ b/src/gen/models/GetDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDepartmentsResponse.ts b/src/gen/models/GetDepartmentsResponse.ts index b9717aca8..5b7de1f9e 100644 --- a/src/gen/models/GetDepartmentsResponse.ts +++ b/src/gen/models/GetDepartmentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveGroupResponse.ts b/src/gen/models/GetDriveGroupResponse.ts index 166a6d1c4..667dfe387 100644 --- a/src/gen/models/GetDriveGroupResponse.ts +++ b/src/gen/models/GetDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveGroupsResponse.ts b/src/gen/models/GetDriveGroupsResponse.ts index 226ac58c2..76610b3bc 100644 --- a/src/gen/models/GetDriveGroupsResponse.ts +++ b/src/gen/models/GetDriveGroupsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDriveResponse.ts b/src/gen/models/GetDriveResponse.ts index 6c8890bb5..54417a090 100644 --- a/src/gen/models/GetDriveResponse.ts +++ b/src/gen/models/GetDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetDrivesResponse.ts b/src/gen/models/GetDrivesResponse.ts index 4a93c595a..41d2351f8 100644 --- a/src/gen/models/GetDrivesResponse.ts +++ b/src/gen/models/GetDrivesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceCustomerResponse.ts b/src/gen/models/GetEcommerceCustomerResponse.ts index 0c9a8848a..910ea6f29 100644 --- a/src/gen/models/GetEcommerceCustomerResponse.ts +++ b/src/gen/models/GetEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceCustomersResponse.ts b/src/gen/models/GetEcommerceCustomersResponse.ts index c917c6f5d..b10fdbcf1 100644 --- a/src/gen/models/GetEcommerceCustomersResponse.ts +++ b/src/gen/models/GetEcommerceCustomersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceOrderResponse.ts b/src/gen/models/GetEcommerceOrderResponse.ts index 346724b6b..4e370119f 100644 --- a/src/gen/models/GetEcommerceOrderResponse.ts +++ b/src/gen/models/GetEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEcommerceOrdersResponse.ts b/src/gen/models/GetEcommerceOrdersResponse.ts index 2646431a0..8caa7f4bb 100644 --- a/src/gen/models/GetEcommerceOrdersResponse.ts +++ b/src/gen/models/GetEcommerceOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeePayrollResponse.ts b/src/gen/models/GetEmployeePayrollResponse.ts index dd22b8d88..ebce0fe87 100644 --- a/src/gen/models/GetEmployeePayrollResponse.ts +++ b/src/gen/models/GetEmployeePayrollResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeePayrollsResponse.ts b/src/gen/models/GetEmployeePayrollsResponse.ts index c0ba5aad3..1835989e0 100644 --- a/src/gen/models/GetEmployeePayrollsResponse.ts +++ b/src/gen/models/GetEmployeePayrollsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeeResponse.ts b/src/gen/models/GetEmployeeResponse.ts index 3c75d7270..226ebf8ea 100644 --- a/src/gen/models/GetEmployeeResponse.ts +++ b/src/gen/models/GetEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeeSchedulesResponse.ts b/src/gen/models/GetEmployeeSchedulesResponse.ts index ef8d37173..d3fd65d30 100644 --- a/src/gen/models/GetEmployeeSchedulesResponse.ts +++ b/src/gen/models/GetEmployeeSchedulesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetEmployeesResponse.ts b/src/gen/models/GetEmployeesResponse.ts index 1ae3a5ddd..387fb575b 100644 --- a/src/gen/models/GetEmployeesResponse.ts +++ b/src/gen/models/GetEmployeesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetExpenseResponse.ts b/src/gen/models/GetExpenseResponse.ts index 5d9a190e4..9acf7f44e 100644 --- a/src/gen/models/GetExpenseResponse.ts +++ b/src/gen/models/GetExpenseResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetExpensesResponse.ts b/src/gen/models/GetExpensesResponse.ts index 4d2ea1690..6dba57451 100644 --- a/src/gen/models/GetExpensesResponse.ts +++ b/src/gen/models/GetExpensesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFileResponse.ts b/src/gen/models/GetFileResponse.ts index 7830676bd..bfae0fa25 100644 --- a/src/gen/models/GetFileResponse.ts +++ b/src/gen/models/GetFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFilesResponse.ts b/src/gen/models/GetFilesResponse.ts index 77de909da..801343611 100644 --- a/src/gen/models/GetFilesResponse.ts +++ b/src/gen/models/GetFilesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFolderResponse.ts b/src/gen/models/GetFolderResponse.ts index d11ea700e..ee30d4bb0 100644 --- a/src/gen/models/GetFolderResponse.ts +++ b/src/gen/models/GetFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetFoldersResponse.ts b/src/gen/models/GetFoldersResponse.ts index 45aeac591..038fe0a00 100644 --- a/src/gen/models/GetFoldersResponse.ts +++ b/src/gen/models/GetFoldersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisCompaniesResponse.ts b/src/gen/models/GetHrisCompaniesResponse.ts index 377df765c..cd4d26788 100644 --- a/src/gen/models/GetHrisCompaniesResponse.ts +++ b/src/gen/models/GetHrisCompaniesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisCompanyResponse.ts b/src/gen/models/GetHrisCompanyResponse.ts index cc1273ef9..5a0f10648 100644 --- a/src/gen/models/GetHrisCompanyResponse.ts +++ b/src/gen/models/GetHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisJobResponse.ts b/src/gen/models/GetHrisJobResponse.ts index e565c7e1a..26022fb47 100644 --- a/src/gen/models/GetHrisJobResponse.ts +++ b/src/gen/models/GetHrisJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetHrisJobsResponse.ts b/src/gen/models/GetHrisJobsResponse.ts index a9f1b30a5..7f7266c06 100644 --- a/src/gen/models/GetHrisJobsResponse.ts +++ b/src/gen/models/GetHrisJobsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceItemResponse.ts b/src/gen/models/GetInvoiceItemResponse.ts index fd9c6a0a4..c41fe423b 100644 --- a/src/gen/models/GetInvoiceItemResponse.ts +++ b/src/gen/models/GetInvoiceItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceItemsResponse.ts b/src/gen/models/GetInvoiceItemsResponse.ts index 467a74e35..70b73bc00 100644 --- a/src/gen/models/GetInvoiceItemsResponse.ts +++ b/src/gen/models/GetInvoiceItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoiceResponse.ts b/src/gen/models/GetInvoiceResponse.ts index eb5a23c60..44d113a06 100644 --- a/src/gen/models/GetInvoiceResponse.ts +++ b/src/gen/models/GetInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetInvoicesResponse.ts b/src/gen/models/GetInvoicesResponse.ts index 0e79959f0..87ff70f95 100644 --- a/src/gen/models/GetInvoicesResponse.ts +++ b/src/gen/models/GetInvoicesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetItemResponse.ts b/src/gen/models/GetItemResponse.ts index 5a2c7b84c..cf7751e0f 100644 --- a/src/gen/models/GetItemResponse.ts +++ b/src/gen/models/GetItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetItemsResponse.ts b/src/gen/models/GetItemsResponse.ts index 19df0578e..84812ad43 100644 --- a/src/gen/models/GetItemsResponse.ts +++ b/src/gen/models/GetItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJobResponse.ts b/src/gen/models/GetJobResponse.ts index defacd976..fb303ca0f 100644 --- a/src/gen/models/GetJobResponse.ts +++ b/src/gen/models/GetJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJobsResponse.ts b/src/gen/models/GetJobsResponse.ts index 7138f8742..f6e8e7e98 100644 --- a/src/gen/models/GetJobsResponse.ts +++ b/src/gen/models/GetJobsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJournalEntriesResponse.ts b/src/gen/models/GetJournalEntriesResponse.ts index 0920c145a..f8dce62eb 100644 --- a/src/gen/models/GetJournalEntriesResponse.ts +++ b/src/gen/models/GetJournalEntriesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetJournalEntryResponse.ts b/src/gen/models/GetJournalEntryResponse.ts index 48657598c..801a10894 100644 --- a/src/gen/models/GetJournalEntryResponse.ts +++ b/src/gen/models/GetJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLeadResponse.ts b/src/gen/models/GetLeadResponse.ts index 101d1bb43..9dc6bc5c7 100644 --- a/src/gen/models/GetLeadResponse.ts +++ b/src/gen/models/GetLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLeadsResponse.ts b/src/gen/models/GetLeadsResponse.ts index 4d5a79de5..9ebf9b537 100644 --- a/src/gen/models/GetLeadsResponse.ts +++ b/src/gen/models/GetLeadsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLedgerAccountResponse.ts b/src/gen/models/GetLedgerAccountResponse.ts index ee767831f..5d1d29a26 100644 --- a/src/gen/models/GetLedgerAccountResponse.ts +++ b/src/gen/models/GetLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLedgerAccountsResponse.ts b/src/gen/models/GetLedgerAccountsResponse.ts index 0640f6537..ffbab442d 100644 --- a/src/gen/models/GetLedgerAccountsResponse.ts +++ b/src/gen/models/GetLedgerAccountsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLocationResponse.ts b/src/gen/models/GetLocationResponse.ts index 433a692bb..0d69dcbd9 100644 --- a/src/gen/models/GetLocationResponse.ts +++ b/src/gen/models/GetLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLocationsResponse.ts b/src/gen/models/GetLocationsResponse.ts index 0157a0ab0..583ddef03 100644 --- a/src/gen/models/GetLocationsResponse.ts +++ b/src/gen/models/GetLocationsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetLogsResponse.ts b/src/gen/models/GetLogsResponse.ts index aafead170..374f96529 100644 --- a/src/gen/models/GetLogsResponse.ts +++ b/src/gen/models/GetLogsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMerchantResponse.ts b/src/gen/models/GetMerchantResponse.ts index fe86b8fd2..3a4eba3ab 100644 --- a/src/gen/models/GetMerchantResponse.ts +++ b/src/gen/models/GetMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMerchantsResponse.ts b/src/gen/models/GetMerchantsResponse.ts index 59d04f0bd..35fd165f7 100644 --- a/src/gen/models/GetMerchantsResponse.ts +++ b/src/gen/models/GetMerchantsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMessageResponse.ts b/src/gen/models/GetMessageResponse.ts index 0ed9ccde5..54f570e0d 100644 --- a/src/gen/models/GetMessageResponse.ts +++ b/src/gen/models/GetMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetMessagesResponse.ts b/src/gen/models/GetMessagesResponse.ts index b03ca69fe..b787c0259 100644 --- a/src/gen/models/GetMessagesResponse.ts +++ b/src/gen/models/GetMessagesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierGroupResponse.ts b/src/gen/models/GetModifierGroupResponse.ts index e56bb677d..da6f6e927 100644 --- a/src/gen/models/GetModifierGroupResponse.ts +++ b/src/gen/models/GetModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierGroupsResponse.ts b/src/gen/models/GetModifierGroupsResponse.ts index 4372e4338..1fc8827a6 100644 --- a/src/gen/models/GetModifierGroupsResponse.ts +++ b/src/gen/models/GetModifierGroupsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifierResponse.ts b/src/gen/models/GetModifierResponse.ts index 0c1570723..86b245789 100644 --- a/src/gen/models/GetModifierResponse.ts +++ b/src/gen/models/GetModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetModifiersResponse.ts b/src/gen/models/GetModifiersResponse.ts index 4923fac3c..07755ed8a 100644 --- a/src/gen/models/GetModifiersResponse.ts +++ b/src/gen/models/GetModifiersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetNoteResponse.ts b/src/gen/models/GetNoteResponse.ts index ec35e71a8..b88489f34 100644 --- a/src/gen/models/GetNoteResponse.ts +++ b/src/gen/models/GetNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetNotesResponse.ts b/src/gen/models/GetNotesResponse.ts index 22012df60..aaec2a6f5 100644 --- a/src/gen/models/GetNotesResponse.ts +++ b/src/gen/models/GetNotesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOpportunitiesResponse.ts b/src/gen/models/GetOpportunitiesResponse.ts index b35ac4a51..e3e87d6b6 100644 --- a/src/gen/models/GetOpportunitiesResponse.ts +++ b/src/gen/models/GetOpportunitiesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOpportunityResponse.ts b/src/gen/models/GetOpportunityResponse.ts index 0acb069f9..947fe5781 100644 --- a/src/gen/models/GetOpportunityResponse.ts +++ b/src/gen/models/GetOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderResponse.ts b/src/gen/models/GetOrderResponse.ts index 6586fbb65..e990b96b0 100644 --- a/src/gen/models/GetOrderResponse.ts +++ b/src/gen/models/GetOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderTypeResponse.ts b/src/gen/models/GetOrderTypeResponse.ts index f3242f8b4..c289c1a1e 100644 --- a/src/gen/models/GetOrderTypeResponse.ts +++ b/src/gen/models/GetOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrderTypesResponse.ts b/src/gen/models/GetOrderTypesResponse.ts index fa519002a..f49a13a61 100644 --- a/src/gen/models/GetOrderTypesResponse.ts +++ b/src/gen/models/GetOrderTypesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetOrdersResponse.ts b/src/gen/models/GetOrdersResponse.ts index 9da6ae58b..f2a08770a 100644 --- a/src/gen/models/GetOrdersResponse.ts +++ b/src/gen/models/GetOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPaymentResponse.ts b/src/gen/models/GetPaymentResponse.ts index 51e556b94..aa1c5f1f7 100644 --- a/src/gen/models/GetPaymentResponse.ts +++ b/src/gen/models/GetPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPaymentsResponse.ts b/src/gen/models/GetPaymentsResponse.ts index aad6d7e02..44b88b37c 100644 --- a/src/gen/models/GetPaymentsResponse.ts +++ b/src/gen/models/GetPaymentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPayrollResponse.ts b/src/gen/models/GetPayrollResponse.ts index 996f5f2ee..c3626129b 100644 --- a/src/gen/models/GetPayrollResponse.ts +++ b/src/gen/models/GetPayrollResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPayrollsResponse.ts b/src/gen/models/GetPayrollsResponse.ts index bae0c378a..728af0d01 100644 --- a/src/gen/models/GetPayrollsResponse.ts +++ b/src/gen/models/GetPayrollsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPipelineResponse.ts b/src/gen/models/GetPipelineResponse.ts index a83b91e0e..91afaf2d3 100644 --- a/src/gen/models/GetPipelineResponse.ts +++ b/src/gen/models/GetPipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPipelinesResponse.ts b/src/gen/models/GetPipelinesResponse.ts index f5edb196b..deea87448 100644 --- a/src/gen/models/GetPipelinesResponse.ts +++ b/src/gen/models/GetPipelinesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPosPaymentResponse.ts b/src/gen/models/GetPosPaymentResponse.ts index 9728a56f0..957b1dd73 100644 --- a/src/gen/models/GetPosPaymentResponse.ts +++ b/src/gen/models/GetPosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPosPaymentsResponse.ts b/src/gen/models/GetPosPaymentsResponse.ts index 31b81c1ed..8d1af1187 100644 --- a/src/gen/models/GetPosPaymentsResponse.ts +++ b/src/gen/models/GetPosPaymentsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProductResponse.ts b/src/gen/models/GetProductResponse.ts index 3e4d3fce8..a72f0abdb 100644 --- a/src/gen/models/GetProductResponse.ts +++ b/src/gen/models/GetProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProductsResponse.ts b/src/gen/models/GetProductsResponse.ts index 883726834..007fd51c8 100644 --- a/src/gen/models/GetProductsResponse.ts +++ b/src/gen/models/GetProductsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetProfitAndLossResponse.ts b/src/gen/models/GetProfitAndLossResponse.ts index 51a86a595..d5794cc14 100644 --- a/src/gen/models/GetProfitAndLossResponse.ts +++ b/src/gen/models/GetProfitAndLossResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPurchaseOrderResponse.ts b/src/gen/models/GetPurchaseOrderResponse.ts index ebb3a36ee..fcbcb786b 100644 --- a/src/gen/models/GetPurchaseOrderResponse.ts +++ b/src/gen/models/GetPurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetPurchaseOrdersResponse.ts b/src/gen/models/GetPurchaseOrdersResponse.ts index e3da7149b..2bc5badbe 100644 --- a/src/gen/models/GetPurchaseOrdersResponse.ts +++ b/src/gen/models/GetPurchaseOrdersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetResourceExampleResponse.ts b/src/gen/models/GetResourceExampleResponse.ts index c282db5dd..e0c9e73b6 100644 --- a/src/gen/models/GetResourceExampleResponse.ts +++ b/src/gen/models/GetResourceExampleResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetResourceSchemaResponse.ts b/src/gen/models/GetResourceSchemaResponse.ts index b1d7ab6b0..b9a37ef7e 100644 --- a/src/gen/models/GetResourceSchemaResponse.ts +++ b/src/gen/models/GetResourceSchemaResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSharedLinkResponse.ts b/src/gen/models/GetSharedLinkResponse.ts index 2dea3aa17..6da0bffb6 100644 --- a/src/gen/models/GetSharedLinkResponse.ts +++ b/src/gen/models/GetSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSharedLinksResponse.ts b/src/gen/models/GetSharedLinksResponse.ts index 61050afa7..9825f7afa 100644 --- a/src/gen/models/GetSharedLinksResponse.ts +++ b/src/gen/models/GetSharedLinksResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetStoreResponse.ts b/src/gen/models/GetStoreResponse.ts index f33800dec..504423923 100644 --- a/src/gen/models/GetStoreResponse.ts +++ b/src/gen/models/GetStoreResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetStoresResponse.ts b/src/gen/models/GetStoresResponse.ts index d8ea756b1..4369dfb26 100644 --- a/src/gen/models/GetStoresResponse.ts +++ b/src/gen/models/GetStoresResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSubsidiariesResponse.ts b/src/gen/models/GetSubsidiariesResponse.ts index 6c2e62cf3..9a46af043 100644 --- a/src/gen/models/GetSubsidiariesResponse.ts +++ b/src/gen/models/GetSubsidiariesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSubsidiaryResponse.ts b/src/gen/models/GetSubsidiaryResponse.ts index c0db72e04..d7786e572 100644 --- a/src/gen/models/GetSubsidiaryResponse.ts +++ b/src/gen/models/GetSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSupplierResponse.ts b/src/gen/models/GetSupplierResponse.ts index 8fd36726e..ff631acca 100644 --- a/src/gen/models/GetSupplierResponse.ts +++ b/src/gen/models/GetSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetSuppliersResponse.ts b/src/gen/models/GetSuppliersResponse.ts index 2b6a25d5c..cb503ecc1 100644 --- a/src/gen/models/GetSuppliersResponse.ts +++ b/src/gen/models/GetSuppliersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTaxRateResponse.ts b/src/gen/models/GetTaxRateResponse.ts index 8634073e3..fdb80e523 100644 --- a/src/gen/models/GetTaxRateResponse.ts +++ b/src/gen/models/GetTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTaxRatesResponse.ts b/src/gen/models/GetTaxRatesResponse.ts index 4f06d9d71..44c3a34dc 100644 --- a/src/gen/models/GetTaxRatesResponse.ts +++ b/src/gen/models/GetTaxRatesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTenderResponse.ts b/src/gen/models/GetTenderResponse.ts index f63126add..c9b0288db 100644 --- a/src/gen/models/GetTenderResponse.ts +++ b/src/gen/models/GetTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTendersResponse.ts b/src/gen/models/GetTendersResponse.ts index d29d858f3..a5e6dd0ef 100644 --- a/src/gen/models/GetTendersResponse.ts +++ b/src/gen/models/GetTendersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTicketResponse.ts b/src/gen/models/GetTicketResponse.ts index 2bb247cf3..35862403b 100644 --- a/src/gen/models/GetTicketResponse.ts +++ b/src/gen/models/GetTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTicketsResponse.ts b/src/gen/models/GetTicketsResponse.ts index a42d30052..0e558c201 100644 --- a/src/gen/models/GetTicketsResponse.ts +++ b/src/gen/models/GetTicketsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTimeOffRequestResponse.ts b/src/gen/models/GetTimeOffRequestResponse.ts index baf2969cc..a1a96f571 100644 --- a/src/gen/models/GetTimeOffRequestResponse.ts +++ b/src/gen/models/GetTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTimeOffRequestsResponse.ts b/src/gen/models/GetTimeOffRequestsResponse.ts index 543053e4c..d3f121f3d 100644 --- a/src/gen/models/GetTimeOffRequestsResponse.ts +++ b/src/gen/models/GetTimeOffRequestsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTrackingCategoriesResponse.ts b/src/gen/models/GetTrackingCategoriesResponse.ts index ef1cfbe32..44bd89955 100644 --- a/src/gen/models/GetTrackingCategoriesResponse.ts +++ b/src/gen/models/GetTrackingCategoriesResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetTrackingCategoryResponse.ts b/src/gen/models/GetTrackingCategoryResponse.ts index 39e86d2ef..dbda5c67f 100644 --- a/src/gen/models/GetTrackingCategoryResponse.ts +++ b/src/gen/models/GetTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUploadSessionResponse.ts b/src/gen/models/GetUploadSessionResponse.ts index e8a40c14c..f7ad178eb 100644 --- a/src/gen/models/GetUploadSessionResponse.ts +++ b/src/gen/models/GetUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUserResponse.ts b/src/gen/models/GetUserResponse.ts index 2eb7a273e..ce3a308f2 100644 --- a/src/gen/models/GetUserResponse.ts +++ b/src/gen/models/GetUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetUsersResponse.ts b/src/gen/models/GetUsersResponse.ts index fb2005b0e..e76c6c765 100644 --- a/src/gen/models/GetUsersResponse.ts +++ b/src/gen/models/GetUsersResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhookEventLogsResponse.ts b/src/gen/models/GetWebhookEventLogsResponse.ts index a20df8156..c1cb8ca9a 100644 --- a/src/gen/models/GetWebhookEventLogsResponse.ts +++ b/src/gen/models/GetWebhookEventLogsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhookResponse.ts b/src/gen/models/GetWebhookResponse.ts index 44ccad0de..841afae96 100644 --- a/src/gen/models/GetWebhookResponse.ts +++ b/src/gen/models/GetWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/GetWebhooksResponse.ts b/src/gen/models/GetWebhooksResponse.ts index 8b6ac20e8..ba87b714e 100644 --- a/src/gen/models/GetWebhooksResponse.ts +++ b/src/gen/models/GetWebhooksResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisCompany.ts b/src/gen/models/HrisCompany.ts index 2ea235c93..1e96c1bb7 100644 --- a/src/gen/models/HrisCompany.ts +++ b/src/gen/models/HrisCompany.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -99,11 +100,11 @@ export interface HrisCompany { */ debtor_id?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof HrisCompany */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {boolean} @@ -180,7 +181,9 @@ export function HrisCompanyFromJSONTyped(json: any, ignoreDiscriminator: boolean ? undefined : (json['websites'] as Array).map(WebsiteFromJSON), debtor_id: !exists(json, 'debtor_id') ? undefined : json['debtor_id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), deleted: !exists(json, 'deleted') ? undefined : json['deleted'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -226,6 +229,7 @@ export function HrisCompanyToJSON(value?: HrisCompany | null): any { websites: value.websites === undefined ? undefined : (value.websites as Array).map(WebsiteToJSON), debtor_id: value.debtor_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/HrisEventType.ts b/src/gen/models/HrisEventType.ts index 452681c57..9ef874757 100644 --- a/src/gen/models/HrisEventType.ts +++ b/src/gen/models/HrisEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisJob.ts b/src/gen/models/HrisJob.ts index 5b5dfe0fe..2b13a8d61 100644 --- a/src/gen/models/HrisJob.ts +++ b/src/gen/models/HrisJob.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { EmploymentStatus, EmploymentStatusFromJSON, @@ -81,11 +82,11 @@ export interface HrisJob { */ location?: HrisJobLocation /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof HrisJob */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null } export function HrisJobFromJSON(json: any): HrisJob { @@ -116,7 +117,9 @@ export function HrisJobFromJSONTyped(json: any, ignoreDiscriminator: boolean): H department: !exists(json, 'department') ? undefined : json['department'], is_primary: !exists(json, 'is_primary') ? undefined : json['is_primary'], location: !exists(json, 'location') ? undefined : HrisJobLocationFromJSON(json['location']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'] + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']) } } @@ -145,6 +148,7 @@ export function HrisJobToJSON(value?: HrisJob | null): any { employment_status: EmploymentStatusToJSON(value.employment_status), department: value.department, is_primary: value.is_primary, - location: HrisJobLocationToJSON(value.location) + location: HrisJobLocationToJSON(value.location), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/HrisJobLocation.ts b/src/gen/models/HrisJobLocation.ts index 74180ced6..b8b32d126 100644 --- a/src/gen/models/HrisJobLocation.ts +++ b/src/gen/models/HrisJobLocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/HrisJobs.ts b/src/gen/models/HrisJobs.ts index 52fe90d19..86e740dcb 100644 --- a/src/gen/models/HrisJobs.ts +++ b/src/gen/models/HrisJobs.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Income.ts b/src/gen/models/Income.ts index c0cc17667..b79baa98f 100644 --- a/src/gen/models/Income.ts +++ b/src/gen/models/Income.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IntegrationState.ts b/src/gen/models/IntegrationState.ts index d7bd6da8d..7c156ef25 100644 --- a/src/gen/models/IntegrationState.ts +++ b/src/gen/models/IntegrationState.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Invoice.ts b/src/gen/models/Invoice.ts index d9b255b20..9e582dbb3 100644 --- a/src/gen/models/Invoice.ts +++ b/src/gen/models/Invoice.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,12 +17,18 @@ import { Address, AddressFromJSON, AddressToJSON } from './Address' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { DeprecatedLinkedTrackingCategory, DeprecatedLinkedTrackingCategoryFromJSON, DeprecatedLinkedTrackingCategoryToJSON } from './DeprecatedLinkedTrackingCategory' import { InvoiceLineItem, InvoiceLineItemFromJSON, InvoiceLineItemToJSON } from './InvoiceLineItem' +import { + InvoicePaymentAllocations, + InvoicePaymentAllocationsFromJSON, + InvoicePaymentAllocationsToJSON +} from './InvoicePaymentAllocations' import { LinkedCustomer, LinkedCustomerFromJSON, LinkedCustomerToJSON } from './LinkedCustomer' import { LinkedLedgerAccount, @@ -234,6 +240,12 @@ export interface Invoice { * @memberof Invoice */ source_document_url?: string | null + /** + * IDs of payments made on the invoice + * @type {Array} + * @memberof Invoice + */ + payment_allocations?: Array | null /** * Payment method used for the transaction, such as cash, credit card, bank transfer, or check * @type {string} @@ -271,11 +283,11 @@ export interface Invoice { */ ledger_account?: LinkedLedgerAccount | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Invoice */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {Array} @@ -410,6 +422,11 @@ export function InvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): I source_document_url: !exists(json, 'source_document_url') ? undefined : json['source_document_url'], + payment_allocations: !exists(json, 'payment_allocations') + ? undefined + : json['payment_allocations'] === null + ? null + : (json['payment_allocations'] as Array).map(InvoicePaymentAllocationsFromJSON), payment_method: !exists(json, 'payment_method') ? undefined : json['payment_method'], channel: !exists(json, 'channel') ? undefined : json['channel'], language: !exists(json, 'language') ? undefined : json['language'], @@ -420,7 +437,9 @@ export function InvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): I ledger_account: !exists(json, 'ledger_account') ? undefined : LinkedLedgerAccountFromJSON(json['ledger_account']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), @@ -494,12 +513,19 @@ export function InvoiceToJSON(value?: Invoice | null): any { shipping_address: AddressToJSON(value.shipping_address), template_id: value.template_id, source_document_url: value.source_document_url, + payment_allocations: + value.payment_allocations === undefined + ? undefined + : value.payment_allocations === null + ? null + : (value.payment_allocations as Array).map(InvoicePaymentAllocationsToJSON), payment_method: value.payment_method, channel: value.channel, language: value.language, accounting_by_row: value.accounting_by_row, bank_account: BankAccountToJSON(value.bank_account), ledger_account: LinkedLedgerAccountToJSON(value.ledger_account), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), custom_fields: value.custom_fields === undefined ? undefined diff --git a/src/gen/models/InvoiceItem.ts b/src/gen/models/InvoiceItem.ts index 2e2daa243..7440e713d 100644 --- a/src/gen/models/InvoiceItem.ts +++ b/src/gen/models/InvoiceItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { DeprecatedLinkedTrackingCategory, DeprecatedLinkedTrackingCategoryFromJSON, @@ -162,11 +163,35 @@ export interface InvoiceItem { */ active?: boolean | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * The ID of the department + * @type {string} + * @memberof InvoiceItem + */ + department_id?: string | null + /** + * The ID of the location + * @type {string} + * @memberof InvoiceItem + */ + location_id?: string | null + /** + * The ID of the subsidiary + * @type {string} * @memberof InvoiceItem */ - readonly custom_mappings?: object | null + subsidiary_id?: string | null + /** + * The ID of the tax schedule + * @type {string} + * @memberof InvoiceItem + */ + tax_schedule_id?: string | null + /** + * + * @type {CustomMappings} + * @memberof InvoiceItem + */ + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -211,7 +236,9 @@ export interface InvoiceItem { */ export enum InvoiceItemType { inventory = 'inventory', + non_inventory = 'non_inventory', service = 'service', + description = 'description', other = 'other' } @@ -262,7 +289,13 @@ export function InvoiceItemFromJSONTyped(json: any, ignoreDiscriminator: boolean ? undefined : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), active: !exists(json, 'active') ? undefined : json['active'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + department_id: !exists(json, 'department_id') ? undefined : json['department_id'], + location_id: !exists(json, 'location_id') ? undefined : json['location_id'], + subsidiary_id: !exists(json, 'subsidiary_id') ? undefined : json['subsidiary_id'], + tax_schedule_id: !exists(json, 'tax_schedule_id') ? undefined : json['tax_schedule_id'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -314,6 +347,11 @@ export function InvoiceItemToJSON(value?: InvoiceItem | null): any { tracking_category: DeprecatedLinkedTrackingCategoryToJSON(value.tracking_category), tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), active: value.active, + department_id: value.department_id, + location_id: value.location_id, + subsidiary_id: value.subsidiary_id, + tax_schedule_id: value.tax_schedule_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/InvoiceItemFilter.ts b/src/gen/models/InvoiceItemFilter.ts index e4d338a60..37de8ebe1 100644 --- a/src/gen/models/InvoiceItemFilter.ts +++ b/src/gen/models/InvoiceItemFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItemSalesDetails.ts b/src/gen/models/InvoiceItemSalesDetails.ts index f5cc6bec4..98db86c08 100644 --- a/src/gen/models/InvoiceItemSalesDetails.ts +++ b/src/gen/models/InvoiceItemSalesDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItemsFilter.ts b/src/gen/models/InvoiceItemsFilter.ts index bf9c62578..f8abba34e 100644 --- a/src/gen/models/InvoiceItemsFilter.ts +++ b/src/gen/models/InvoiceItemsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceItemsSort.ts b/src/gen/models/InvoiceItemsSort.ts index e5fab0458..b4c4d0a45 100644 --- a/src/gen/models/InvoiceItemsSort.ts +++ b/src/gen/models/InvoiceItemsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoiceLineItem.ts b/src/gen/models/InvoiceLineItem.ts index 533df0a9f..e1a0e3571 100644 --- a/src/gen/models/InvoiceLineItem.ts +++ b/src/gen/models/InvoiceLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -116,13 +116,13 @@ export interface InvoiceLineItem { */ discount_amount?: number | null /** - * Location id + * The ID of the location * @type {string} * @memberof InvoiceLineItem */ location_id?: string | null /** - * Department id + * The ID of the department * @type {string} * @memberof InvoiceLineItem */ @@ -198,6 +198,7 @@ export enum InvoiceLineItemType { discount = 'discount', info = 'info', sub_total = 'sub_total', + service = 'service', other = 'other' } diff --git a/src/gen/models/InvoicePaymentAllocations.ts b/src/gen/models/InvoicePaymentAllocations.ts new file mode 100644 index 000000000..8c565d25c --- /dev/null +++ b/src/gen/models/InvoicePaymentAllocations.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +/** + * + * @export + * @interface InvoicePaymentAllocations + */ +export interface InvoicePaymentAllocations { + /** + * ID of the payment + * @type {string} + * @memberof InvoicePaymentAllocations + */ + id?: string + /** + * Amount of the payment allocated to the invoice + * @type {number} + * @memberof InvoicePaymentAllocations + */ + allocated_amount?: number | null + /** + * Date of the payment + * @type {Date} + * @memberof InvoicePaymentAllocations + */ + date?: Date | null +} + +export function InvoicePaymentAllocationsFromJSON(json: any): InvoicePaymentAllocations { + return InvoicePaymentAllocationsFromJSONTyped(json, false) +} + +export function InvoicePaymentAllocationsFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): InvoicePaymentAllocations { + if (json === undefined || json === null) { + return json + } + return { + id: !exists(json, 'id') ? undefined : json['id'], + allocated_amount: !exists(json, 'allocated_amount') ? undefined : json['allocated_amount'], + date: !exists(json, 'date') ? undefined : json['date'] === null ? null : new Date(json['date']) + } +} + +export function InvoicePaymentAllocationsToJSON(value?: InvoicePaymentAllocations | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + id: value.id, + allocated_amount: value.allocated_amount, + date: + value.date === undefined + ? undefined + : value.date === null + ? null + : new Date(value.date).toISOString() + } +} diff --git a/src/gen/models/InvoiceResponse.ts b/src/gen/models/InvoiceResponse.ts index 6a2535bc3..105b60e65 100644 --- a/src/gen/models/InvoiceResponse.ts +++ b/src/gen/models/InvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoicesFilter.ts b/src/gen/models/InvoicesFilter.ts index 66138dc12..b3052b987 100644 --- a/src/gen/models/InvoicesFilter.ts +++ b/src/gen/models/InvoicesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/InvoicesSort.ts b/src/gen/models/InvoicesSort.ts index 79752ab02..30c613676 100644 --- a/src/gen/models/InvoicesSort.ts +++ b/src/gen/models/InvoicesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IssueTrackingEventType.ts b/src/gen/models/IssueTrackingEventType.ts index c7a87c3a0..2b494ead1 100644 --- a/src/gen/models/IssueTrackingEventType.ts +++ b/src/gen/models/IssueTrackingEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/IssuesFilter.ts b/src/gen/models/IssuesFilter.ts index cb8c77f87..40d044f84 100644 --- a/src/gen/models/IssuesFilter.ts +++ b/src/gen/models/IssuesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Item.ts b/src/gen/models/Item.ts index 198e4d86a..2b75a8142 100644 --- a/src/gen/models/Item.ts +++ b/src/gen/models/Item.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -179,11 +180,11 @@ export interface Item { */ readonly version?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Item */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * Flag to indicate if the object is deleted. * @type {boolean} @@ -286,7 +287,9 @@ export function ItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): Item available: !exists(json, 'available') ? undefined : json['available'], hidden: !exists(json, 'hidden') ? undefined : json['hidden'], version: !exists(json, 'version') ? undefined : json['version'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), deleted: !exists(json, 'deleted') ? undefined : json['deleted'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -339,6 +342,7 @@ export function ItemToJSON(value?: Item | null): any { modifier_groups: value.modifier_groups, available: value.available, hidden: value.hidden, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), deleted: value.deleted, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/Job.ts b/src/gen/models/Job.ts index 370408100..831dbfc3f 100644 --- a/src/gen/models/Job.ts +++ b/src/gen/models/Job.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Branch, BranchFromJSON, BranchToJSON } from './Branch' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Department, DepartmentFromJSON, DepartmentToJSON } from './Department' import { JobLinks, JobLinksFromJSON, JobLinksToJSON } from './JobLinks' import { JobSalary, JobSalaryFromJSON, JobSalaryToJSON } from './JobSalary' @@ -251,11 +252,11 @@ export interface Job { */ readonly published_at?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Job */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -368,7 +369,9 @@ export function JobFromJSONTyped(json: any, ignoreDiscriminator: boolean): Job { : json['published_at'] === null ? null : new Date(json['published_at']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -437,6 +440,7 @@ export function JobToJSON(value?: Job | null): any { ? undefined : (value.custom_fields as Array).map(CustomFieldToJSON), deleted: value.deleted, - owner_id: value.owner_id + owner_id: value.owner_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/JobLinks.ts b/src/gen/models/JobLinks.ts index a58d0b769..11ed1a7d1 100644 --- a/src/gen/models/JobLinks.ts +++ b/src/gen/models/JobLinks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JobSalary.ts b/src/gen/models/JobSalary.ts index 366f7f8a4..65ec65a0b 100644 --- a/src/gen/models/JobSalary.ts +++ b/src/gen/models/JobSalary.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JobStatus.ts b/src/gen/models/JobStatus.ts index 4ce9b3406..255a6ab2d 100644 --- a/src/gen/models/JobStatus.ts +++ b/src/gen/models/JobStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntriesFilter.ts b/src/gen/models/JournalEntriesFilter.ts index 5be6d8449..b7ceb2613 100644 --- a/src/gen/models/JournalEntriesFilter.ts +++ b/src/gen/models/JournalEntriesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntriesSort.ts b/src/gen/models/JournalEntriesSort.ts index d1e6f3040..358b6bcff 100644 --- a/src/gen/models/JournalEntriesSort.ts +++ b/src/gen/models/JournalEntriesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/JournalEntry.ts b/src/gen/models/JournalEntry.ts index 343d5e3d6..00a1458cd 100644 --- a/src/gen/models/JournalEntry.ts +++ b/src/gen/models/JournalEntry.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { JournalEntryLineItem, JournalEntryLineItemFromJSON, @@ -69,6 +70,12 @@ export interface JournalEntry { * @memberof JournalEntry */ line_items?: Array + /** + * Journal entry status + * @type {string} + * @memberof JournalEntry + */ + status?: JournalEntryStatus /** * Reference for the journal entry. * @type {string} @@ -118,11 +125,11 @@ export interface JournalEntry { */ accounting_period?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof JournalEntry */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -167,6 +174,20 @@ export interface JournalEntry { pass_through?: PassThroughBody } +/** + * @export + * @enum {string} + */ +export enum JournalEntryStatus { + draft = 'draft', + pending_approval = 'pending_approval', + approved = 'approved', + posted = 'posted', + voided = 'voided', + rejected = 'rejected', + deleted = 'deleted' +} + export function JournalEntryFromJSON(json: any): JournalEntry { return JournalEntryFromJSONTyped(json, false) } @@ -184,6 +205,7 @@ export function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolea line_items: !exists(json, 'line_items') ? undefined : (json['line_items'] as Array).map(JournalEntryLineItemFromJSON), + status: !exists(json, 'status') ? undefined : json['status'], memo: !exists(json, 'memo') ? undefined : json['memo'], posted_at: !exists(json, 'posted_at') ? undefined : new Date(json['posted_at']), journal_symbol: !exists(json, 'journal_symbol') ? undefined : json['journal_symbol'], @@ -194,7 +216,9 @@ export function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolea ? undefined : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), accounting_period: !exists(json, 'accounting_period') ? undefined : json['accounting_period'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -233,6 +257,7 @@ export function JournalEntryToJSON(value?: JournalEntry | null): any { value.line_items === undefined ? undefined : (value.line_items as Array).map(JournalEntryLineItemToJSON), + status: value.status, memo: value.memo, posted_at: value.posted_at === undefined ? undefined : new Date(value.posted_at).toISOString(), journal_symbol: value.journal_symbol, @@ -241,6 +266,7 @@ export function JournalEntryToJSON(value?: JournalEntry | null): any { number: value.number, tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), accounting_period: value.accounting_period, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, custom_fields: value.custom_fields === undefined diff --git a/src/gen/models/JournalEntryLineItem.ts b/src/gen/models/JournalEntryLineItem.ts index 8edb3d80a..c680d005d 100644 --- a/src/gen/models/JournalEntryLineItem.ts +++ b/src/gen/models/JournalEntryLineItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -111,17 +111,17 @@ export interface JournalEntryLineItem { */ supplier?: LinkedSupplier | null /** - * A unique identifier for an object. + * The ID of the department * @type {string} * @memberof JournalEntryLineItem */ - readonly department_id?: string + department_id?: string | null /** - * A unique identifier for an object. + * The ID of the location * @type {string} * @memberof JournalEntryLineItem */ - readonly location_id?: string + location_id?: string | null /** * Line number of the resource * @type {number} @@ -192,6 +192,8 @@ export function JournalEntryLineItemToJSON(value?: JournalEntryLineItem | null): tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), customer: LinkedCustomerToJSON(value.customer), supplier: LinkedSupplierToJSON(value.supplier), + department_id: value.department_id, + location_id: value.location_id, line_number: value.line_number } } diff --git a/src/gen/models/Lead.ts b/src/gen/models/Lead.ts index 8c107a9a7..6b1ae5335 100644 --- a/src/gen/models/Lead.ts +++ b/src/gen/models/Lead.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -36,17 +37,17 @@ export interface Lead { */ name: string /** - * The name of the company the lead is associated with. + * Unique identifier for the contact. * @type {string} * @memberof Lead */ - company_name: string | null + readonly id?: string /** - * Unique identifier for the contact. + * The name of the company the lead is associated with. * @type {string} * @memberof Lead */ - readonly id?: string + company_name?: string | null /** * The owner of the lead. * @type {string} @@ -172,7 +173,7 @@ export interface Lead { * @type {Array} * @memberof Lead */ - custom_fields?: Array + custom_fields?: Array | null /** * * @type {Tags} @@ -180,11 +181,11 @@ export interface Lead { */ tags?: Tags | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Lead */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * Date updated in ISO 8601 format * @type {string} @@ -215,8 +216,8 @@ export function LeadFromJSONTyped(json: any, ignoreDiscriminator: boolean): Lead } return { name: json['name'], - company_name: json['company_name'], id: !exists(json, 'id') ? undefined : json['id'], + company_name: !exists(json, 'company_name') ? undefined : json['company_name'], owner_id: !exists(json, 'owner_id') ? undefined : json['owner_id'], owner_name: !exists(json, 'owner_name') ? undefined : json['owner_name'], company_id: !exists(json, 'company_id') ? undefined : json['company_id'], @@ -247,9 +248,13 @@ export function LeadFromJSONTyped(json: any, ignoreDiscriminator: boolean): Lead emails: !exists(json, 'emails') ? undefined : (json['emails'] as Array).map(EmailFromJSON), custom_fields: !exists(json, 'custom_fields') ? undefined + : json['custom_fields'] === null + ? null : (json['custom_fields'] as Array).map(CustomFieldFromJSON), tags: !exists(json, 'tags') ? undefined : TagsFromJSON(json['tags']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], created_at: !exists(json, 'created_at') ? undefined : json['created_at'], pass_through: !exists(json, 'pass_through') @@ -301,8 +306,11 @@ export function LeadToJSON(value?: Lead | null): any { custom_fields: value.custom_fields === undefined ? undefined + : value.custom_fields === null + ? null : (value.custom_fields as Array).map(CustomFieldToJSON), tags: TagsToJSON(value.tags), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/LeadEventType.ts b/src/gen/models/LeadEventType.ts index a171b20a7..ee50ba1a1 100644 --- a/src/gen/models/LeadEventType.ts +++ b/src/gen/models/LeadEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LeadsFilter.ts b/src/gen/models/LeadsFilter.ts index 2c69fd0b1..2b25b5bba 100644 --- a/src/gen/models/LeadsFilter.ts +++ b/src/gen/models/LeadsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LeadsSort.ts b/src/gen/models/LeadsSort.ts index 2ec255596..87cca5462 100644 --- a/src/gen/models/LeadsSort.ts +++ b/src/gen/models/LeadsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccount.ts b/src/gen/models/LedgerAccount.ts index adc1573f1..94ca61319 100644 --- a/src/gen/models/LedgerAccount.ts +++ b/src/gen/models/LedgerAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,7 @@ import { exists } from '../runtime' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { LedgerAccountCategories, LedgerAccountCategoriesFromJSON } from './LedgerAccountCategories' import { LedgerAccountParentAccount, @@ -188,11 +189,11 @@ export interface LedgerAccount { */ subsidiaries?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof LedgerAccount */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {Array} @@ -336,7 +337,9 @@ export function LedgerAccountFromJSONTyped(json: any, ignoreDiscriminator: boole ? null : new Date(json['last_reconciliation_date']), subsidiaries: !exists(json, 'subsidiaries') ? undefined : json['subsidiaries'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), @@ -395,6 +398,7 @@ export function LedgerAccountToJSON(value?: LedgerAccount | null): any { ? null : new Date(value.last_reconciliation_date).toISOString().substr(0, 10), subsidiaries: value.subsidiaries, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), custom_fields: value.custom_fields === undefined ? undefined diff --git a/src/gen/models/LedgerAccountCategories.ts b/src/gen/models/LedgerAccountCategories.ts index 0456677c0..a8efdd40a 100644 --- a/src/gen/models/LedgerAccountCategories.ts +++ b/src/gen/models/LedgerAccountCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountParentAccount.ts b/src/gen/models/LedgerAccountParentAccount.ts index 91ffe969a..275b0fb2f 100644 --- a/src/gen/models/LedgerAccountParentAccount.ts +++ b/src/gen/models/LedgerAccountParentAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccounts.ts b/src/gen/models/LedgerAccounts.ts index 8bde99874..55ff76195 100644 --- a/src/gen/models/LedgerAccounts.ts +++ b/src/gen/models/LedgerAccounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountsFilter.ts b/src/gen/models/LedgerAccountsFilter.ts index f61e64883..2cfa344b9 100644 --- a/src/gen/models/LedgerAccountsFilter.ts +++ b/src/gen/models/LedgerAccountsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LedgerAccountsSort.ts b/src/gen/models/LedgerAccountsSort.ts index 326252419..9f096ab73 100644 --- a/src/gen/models/LedgerAccountsSort.ts +++ b/src/gen/models/LedgerAccountsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedConnectorResource.ts b/src/gen/models/LinkedConnectorResource.ts index d908f7a45..f9e0d7169 100644 --- a/src/gen/models/LinkedConnectorResource.ts +++ b/src/gen/models/LinkedConnectorResource.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedCustomer.ts b/src/gen/models/LinkedCustomer.ts index 329608ff2..6fca5c228 100644 --- a/src/gen/models/LinkedCustomer.ts +++ b/src/gen/models/LinkedCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedEcommerceCustomer.ts b/src/gen/models/LinkedEcommerceCustomer.ts index af91b1a0f..239e5cf73 100644 --- a/src/gen/models/LinkedEcommerceCustomer.ts +++ b/src/gen/models/LinkedEcommerceCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,7 +27,7 @@ export interface LinkedEcommerceCustomer { * @type {string} * @memberof LinkedEcommerceCustomer */ - id: string | null + id?: string | null /** * Full name of the customer * @type {string} @@ -57,13 +57,13 @@ export interface LinkedEcommerceCustomer { * @type {Array} * @memberof LinkedEcommerceCustomer */ - phone_numbers?: Array + phone_numbers?: Array | null /** * * @type {Array} * @memberof LinkedEcommerceCustomer */ - emails?: Array + emails?: Array | null } export function LinkedEcommerceCustomerFromJSON(json: any): LinkedEcommerceCustomer { @@ -78,15 +78,21 @@ export function LinkedEcommerceCustomerFromJSONTyped( return json } return { - id: json['id'], + id: !exists(json, 'id') ? undefined : json['id'], name: !exists(json, 'name') ? undefined : json['name'], first_name: !exists(json, 'first_name') ? undefined : json['first_name'], last_name: !exists(json, 'last_name') ? undefined : json['last_name'], company_name: !exists(json, 'company_name') ? undefined : json['company_name'], phone_numbers: !exists(json, 'phone_numbers') ? undefined + : json['phone_numbers'] === null + ? null : (json['phone_numbers'] as Array).map(PhoneNumberFromJSON), - emails: !exists(json, 'emails') ? undefined : (json['emails'] as Array).map(EmailFromJSON) + emails: !exists(json, 'emails') + ? undefined + : json['emails'] === null + ? null + : (json['emails'] as Array).map(EmailFromJSON) } } @@ -106,7 +112,14 @@ export function LinkedEcommerceCustomerToJSON(value?: LinkedEcommerceCustomer | phone_numbers: value.phone_numbers === undefined ? undefined + : value.phone_numbers === null + ? null : (value.phone_numbers as Array).map(PhoneNumberToJSON), - emails: value.emails === undefined ? undefined : (value.emails as Array).map(EmailToJSON) + emails: + value.emails === undefined + ? undefined + : value.emails === null + ? null + : (value.emails as Array).map(EmailToJSON) } } diff --git a/src/gen/models/LinkedEcommerceOrder.ts b/src/gen/models/LinkedEcommerceOrder.ts index cd2b65b30..feed628d2 100644 --- a/src/gen/models/LinkedEcommerceOrder.ts +++ b/src/gen/models/LinkedEcommerceOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedFolder.ts b/src/gen/models/LinkedFolder.ts index e62ae2714..9fd2bdd9f 100644 --- a/src/gen/models/LinkedFolder.ts +++ b/src/gen/models/LinkedFolder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedInvoiceItem.ts b/src/gen/models/LinkedInvoiceItem.ts index 0b68c1dc9..b57b330c1 100644 --- a/src/gen/models/LinkedInvoiceItem.ts +++ b/src/gen/models/LinkedInvoiceItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedLedgerAccount.ts b/src/gen/models/LinkedLedgerAccount.ts index 4ccb8f1c1..488bd6281 100644 --- a/src/gen/models/LinkedLedgerAccount.ts +++ b/src/gen/models/LinkedLedgerAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedParentCustomer.ts b/src/gen/models/LinkedParentCustomer.ts index 58881b228..d3e3eb070 100644 --- a/src/gen/models/LinkedParentCustomer.ts +++ b/src/gen/models/LinkedParentCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedSupplier.ts b/src/gen/models/LinkedSupplier.ts index 1d4bad9e6..ea6e721b7 100644 --- a/src/gen/models/LinkedSupplier.ts +++ b/src/gen/models/LinkedSupplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTaxRate.ts b/src/gen/models/LinkedTaxRate.ts index 0e5f4a2aa..33f03b279 100644 --- a/src/gen/models/LinkedTaxRate.ts +++ b/src/gen/models/LinkedTaxRate.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTrackingCategories.ts b/src/gen/models/LinkedTrackingCategories.ts index 5e43d8afc..3b374bc5c 100644 --- a/src/gen/models/LinkedTrackingCategories.ts +++ b/src/gen/models/LinkedTrackingCategories.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LinkedTrackingCategory.ts b/src/gen/models/LinkedTrackingCategory.ts index 32112da6f..bb22b8049 100644 --- a/src/gen/models/LinkedTrackingCategory.ts +++ b/src/gen/models/LinkedTrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Links.ts b/src/gen/models/Links.ts index f669a1855..a14230a63 100644 --- a/src/gen/models/Links.ts +++ b/src/gen/models/Links.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Location.ts b/src/gen/models/Location.ts index ee16ac444..cf9f2c4c2 100644 --- a/src/gen/models/Location.ts +++ b/src/gen/models/Location.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -66,11 +67,11 @@ export interface Location { */ currency?: Currency | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Location */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -129,7 +130,9 @@ export function LocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): status: !exists(json, 'status') ? undefined : json['status'], merchant_id: !exists(json, 'merchant_id') ? undefined : json['merchant_id'], currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -162,6 +165,7 @@ export function LocationToJSON(value?: Location | null): any { status: value.status, merchant_id: value.merchant_id, currency: CurrencyToJSON(value.currency), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/Log.ts b/src/gen/models/Log.ts index eea7eca22..51e707069 100644 --- a/src/gen/models/Log.ts +++ b/src/gen/models/Log.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/LogsFilter.ts b/src/gen/models/LogsFilter.ts index 6a551b5f9..8ed84c8ef 100644 --- a/src/gen/models/LogsFilter.ts +++ b/src/gen/models/LogsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Merchant.ts b/src/gen/models/Merchant.ts index a2608c48c..96ad9488f 100644 --- a/src/gen/models/Merchant.ts +++ b/src/gen/models/Merchant.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { ServiceCharge, ServiceChargeFromJSON, ServiceChargeToJSON } from './ServiceCharge' @@ -79,11 +80,11 @@ export interface Merchant { */ currency?: Currency | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Merchant */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -146,7 +147,9 @@ export function MerchantFromJSONTyped(json: any, ignoreDiscriminator: boolean): : (json['service_charges'] as Array).map(ServiceChargeFromJSON), language: !exists(json, 'language') ? undefined : json['language'], currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -184,6 +187,7 @@ export function MerchantToJSON(value?: Merchant | null): any { : (value.service_charges as Array).map(ServiceChargeToJSON), language: value.language, currency: CurrencyToJSON(value.currency), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/Message.ts b/src/gen/models/Message.ts index 801a8d05c..e520e1283 100644 --- a/src/gen/models/Message.ts +++ b/src/gen/models/Message.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { Price, PriceFromJSON, PriceToJSON } from './Price' @@ -125,11 +126,11 @@ export interface Message { */ messaging_service_id?: string /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Message */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -230,7 +231,9 @@ export function MessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): M messaging_service_id: !exists(json, 'messaging_service_id') ? undefined : json['messaging_service_id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -269,6 +272,7 @@ export function MessageToJSON(value?: Message | null): any { price: PriceToJSON(value.price), error: value.error, messaging_service_id: value.messaging_service_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/Meta.ts b/src/gen/models/Meta.ts index f8174d3a3..67fd4bb88 100644 --- a/src/gen/models/Meta.ts +++ b/src/gen/models/Meta.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/MetaCursors.ts b/src/gen/models/MetaCursors.ts index 603e69423..59dec759d 100644 --- a/src/gen/models/MetaCursors.ts +++ b/src/gen/models/MetaCursors.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ModelError.ts b/src/gen/models/ModelError.ts index 117ed1aa1..c6c7458ad 100644 --- a/src/gen/models/ModelError.ts +++ b/src/gen/models/ModelError.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Modifier.ts b/src/gen/models/Modifier.ts index 21f0276aa..23636c2bf 100644 --- a/src/gen/models/Modifier.ts +++ b/src/gen/models/Modifier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -71,11 +72,11 @@ export interface Modifier { */ available?: boolean | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Modifier */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -125,7 +126,9 @@ export function ModifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): price_amount: !exists(json, 'price_amount') ? undefined : json['price_amount'], currency: !exists(json, 'currency') ? undefined : CurrencyFromJSON(json['currency']), available: !exists(json, 'available') ? undefined : json['available'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -159,6 +162,7 @@ export function ModifierToJSON(value?: Modifier | null): any { price_amount: value.price_amount, currency: CurrencyToJSON(value.currency), available: value.available, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/ModifierGroup.ts b/src/gen/models/ModifierGroup.ts index 02a9bf1b3..9c75ab9ba 100644 --- a/src/gen/models/ModifierGroup.ts +++ b/src/gen/models/ModifierGroup.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -76,11 +77,11 @@ export interface ModifierGroup { */ deleted?: boolean | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof ModifierGroup */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -148,7 +149,9 @@ export function ModifierGroupFromJSONTyped(json: any, ignoreDiscriminator: boole : json['present_at_all_locations'], modifiers: !exists(json, 'modifiers') ? undefined : json['modifiers'], deleted: !exists(json, 'deleted') ? undefined : json['deleted'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -184,6 +187,7 @@ export function ModifierGroupToJSON(value?: ModifierGroup | null): any { present_at_all_locations: value.present_at_all_locations, modifiers: value.modifiers, deleted: value.deleted, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/ModifierGroupFilter.ts b/src/gen/models/ModifierGroupFilter.ts index 79106c04a..ebe648e10 100644 --- a/src/gen/models/ModifierGroupFilter.ts +++ b/src/gen/models/ModifierGroupFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/NotFoundResponse.ts b/src/gen/models/NotFoundResponse.ts index 443f4d508..538fdfc07 100644 --- a/src/gen/models/NotFoundResponse.ts +++ b/src/gen/models/NotFoundResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/NotImplementedResponse.ts b/src/gen/models/NotImplementedResponse.ts index 2c1108489..1cdb984f3 100644 --- a/src/gen/models/NotImplementedResponse.ts +++ b/src/gen/models/NotImplementedResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Note.ts b/src/gen/models/Note.ts index 956da6411..dd270f814 100644 --- a/src/gen/models/Note.ts +++ b/src/gen/models/Note.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -63,6 +64,12 @@ export interface Note { * @memberof Note */ opportunity_id?: string | null + /** + * The activity that is related to the note. + * @type {string} + * @memberof Note + */ + activity_id?: string | null /** * The lead that is related to the note. * @type {string} @@ -76,11 +83,11 @@ export interface Note { */ active?: boolean | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Note */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user that last updated the note. * @type {string} @@ -129,9 +136,12 @@ export function NoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): Note contact_id: !exists(json, 'contact_id') ? undefined : json['contact_id'], company_id: !exists(json, 'company_id') ? undefined : json['company_id'], opportunity_id: !exists(json, 'opportunity_id') ? undefined : json['opportunity_id'], + activity_id: !exists(json, 'activity_id') ? undefined : json['activity_id'], lead_id: !exists(json, 'lead_id') ? undefined : json['lead_id'], active: !exists(json, 'active') ? undefined : json['active'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], @@ -156,8 +166,10 @@ export function NoteToJSON(value?: Note | null): any { contact_id: value.contact_id, company_id: value.company_id, opportunity_id: value.opportunity_id, + activity_id: value.activity_id, lead_id: value.lead_id, active: value.active, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/OAuthGrantType.ts b/src/gen/models/OAuthGrantType.ts index 6833073ac..580d22576 100644 --- a/src/gen/models/OAuthGrantType.ts +++ b/src/gen/models/OAuthGrantType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Offer.ts b/src/gen/models/Offer.ts index 2e357ef5e..b81a05080 100644 --- a/src/gen/models/Offer.ts +++ b/src/gen/models/Offer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' + /** * * @export @@ -32,11 +34,11 @@ export interface Offer { */ application_id?: string /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Offer */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -74,7 +76,9 @@ export function OfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): Off return { id: !exists(json, 'id') ? undefined : json['id'], application_id: !exists(json, 'application_id') ? undefined : json['application_id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -98,6 +102,7 @@ export function OfferToJSON(value?: Offer | null): any { return null } return { - application_id: value.application_id + application_id: value.application_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/OpportunitiesFilter.ts b/src/gen/models/OpportunitiesFilter.ts index aba147baa..3661c007c 100644 --- a/src/gen/models/OpportunitiesFilter.ts +++ b/src/gen/models/OpportunitiesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OpportunitiesSort.ts b/src/gen/models/OpportunitiesSort.ts index 7814ecc22..85b70902f 100644 --- a/src/gen/models/OpportunitiesSort.ts +++ b/src/gen/models/OpportunitiesSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Opportunity.ts b/src/gen/models/Opportunity.ts index de4032c3a..16730cf05 100644 --- a/src/gen/models/Opportunity.ts +++ b/src/gen/models/Opportunity.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { Tags, TagsFromJSON, TagsToJSON } from './Tags' @@ -241,11 +242,11 @@ export interface Opportunity { */ readonly date_lead_created?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Opportunity */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The unique identifier of the user who last updated the opportunity. * @type {string} @@ -347,7 +348,9 @@ export function OpportunityFromJSONTyped(json: any, ignoreDiscriminator: boolean : json['date_lead_created'] === null ? null : new Date(json['date_lead_created']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -415,6 +418,7 @@ export function OpportunityToJSON(value?: Opportunity | null): any { : value.stage_last_changed_at === null ? null : new Date(value.stage_last_changed_at).toISOString(), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/Order.ts b/src/gen/models/Order.ts index 69829bc01..0979c0289 100644 --- a/src/gen/models/Order.ts +++ b/src/gen/models/Order.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { OrderCustomers, OrderCustomersFromJSON, OrderCustomersToJSON } from './OrderCustomers' import { OrderDiscounts, OrderDiscountsFromJSON, OrderDiscountsToJSON } from './OrderDiscounts' import { @@ -257,11 +258,11 @@ export interface Order { */ readonly voided_at?: Date /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Order */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {string} @@ -413,7 +414,9 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord source: !exists(json, 'source') ? undefined : json['source'], voided: !exists(json, 'voided') ? undefined : json['voided'], voided_at: !exists(json, 'voided_at') ? undefined : new Date(json['voided_at']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), version: !exists(json, 'version') ? undefined : json['version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -506,6 +509,7 @@ export function OrderToJSON(value?: Order | null): any { ? undefined : (value.tenders as Array).map(OrderTendersToJSON), voided: value.voided, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), version: value.version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/OrderCustomers.ts b/src/gen/models/OrderCustomers.ts index a3c13263e..33c8409a7 100644 --- a/src/gen/models/OrderCustomers.ts +++ b/src/gen/models/OrderCustomers.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderDiscounts.ts b/src/gen/models/OrderDiscounts.ts index 9a57e9344..e763bda67 100644 --- a/src/gen/models/OrderDiscounts.ts +++ b/src/gen/models/OrderDiscounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderFulfillments.ts b/src/gen/models/OrderFulfillments.ts index fb3ee3650..f8967d0dc 100644 --- a/src/gen/models/OrderFulfillments.ts +++ b/src/gen/models/OrderFulfillments.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderLineItems.ts b/src/gen/models/OrderLineItems.ts index 4b1cfbfd8..c9b21f490 100644 --- a/src/gen/models/OrderLineItems.ts +++ b/src/gen/models/OrderLineItems.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPayments.ts b/src/gen/models/OrderPayments.ts index ce5414847..07cdd958b 100644 --- a/src/gen/models/OrderPayments.ts +++ b/src/gen/models/OrderPayments.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetails.ts b/src/gen/models/OrderPickupDetails.ts index 43ab78a76..61d9e1384 100644 --- a/src/gen/models/OrderPickupDetails.ts +++ b/src/gen/models/OrderPickupDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts b/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts index a089c8295..4e6a59dab 100644 --- a/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts +++ b/src/gen/models/OrderPickupDetailsCurbsidePickupDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderPickupDetailsRecipient.ts b/src/gen/models/OrderPickupDetailsRecipient.ts index 0e60e9dad..3a7fdfe44 100644 --- a/src/gen/models/OrderPickupDetailsRecipient.ts +++ b/src/gen/models/OrderPickupDetailsRecipient.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderRefunds.ts b/src/gen/models/OrderRefunds.ts index f791f7dbe..50802198e 100644 --- a/src/gen/models/OrderRefunds.ts +++ b/src/gen/models/OrderRefunds.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderTenders.ts b/src/gen/models/OrderTenders.ts index d072661cb..4bd02bcc5 100644 --- a/src/gen/models/OrderTenders.ts +++ b/src/gen/models/OrderTenders.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrderType.ts b/src/gen/models/OrderType.ts index d2765e136..36c6f836b 100644 --- a/src/gen/models/OrderType.ts +++ b/src/gen/models/OrderType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OrdersSort.ts b/src/gen/models/OrdersSort.ts index f1ddc9796..950a72085 100644 --- a/src/gen/models/OrdersSort.ts +++ b/src/gen/models/OrdersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OtherExpenses.ts b/src/gen/models/OtherExpenses.ts index 40dca8e12..bc9306c27 100644 --- a/src/gen/models/OtherExpenses.ts +++ b/src/gen/models/OtherExpenses.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,12 +30,6 @@ import { * @interface OtherExpenses */ export interface OtherExpenses { - /** - * The aggregated total of all accounts within this category. - * @type {number} - * @memberof OtherExpenses - */ - total: number | null /** * * @type {ProfitAndLossRecords} @@ -66,6 +60,12 @@ export interface OtherExpenses { * @memberof OtherExpenses */ type?: ProfitAndLossType | null + /** + * The aggregated total of all accounts within this category. + * @type {number} + * @memberof OtherExpenses + */ + total?: number | null } export function OtherExpensesFromJSON(json: any): OtherExpenses { @@ -77,12 +77,12 @@ export function OtherExpensesFromJSONTyped(json: any, ignoreDiscriminator: boole return json } return { - total: json['total'], records: ProfitAndLossRecordsFromJSON(json['records']), id: !exists(json, 'id') ? undefined : json['id'], code: !exists(json, 'code') ? undefined : json['code'], title: !exists(json, 'title') ? undefined : json['title'], - type: !exists(json, 'type') ? undefined : ProfitAndLossTypeFromJSON(json['type']) + type: !exists(json, 'type') ? undefined : ProfitAndLossTypeFromJSON(json['type']), + total: !exists(json, 'total') ? undefined : json['total'] } } @@ -94,8 +94,8 @@ export function OtherExpensesToJSON(value?: OtherExpenses | null): any { return null } return { - total: value.total, records: ProfitAndLossRecordsToJSON(value.records), - type: ProfitAndLossTypeToJSON(value.type) + type: ProfitAndLossTypeToJSON(value.type), + total: value.total } } diff --git a/src/gen/models/OtherIncome.ts b/src/gen/models/OtherIncome.ts index ca674af67..3588aca47 100644 --- a/src/gen/models/OtherIncome.ts +++ b/src/gen/models/OtherIncome.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,12 +30,6 @@ import { * @interface OtherIncome */ export interface OtherIncome { - /** - * The aggregated total of all accounts within this category. - * @type {number} - * @memberof OtherIncome - */ - total: number | null /** * * @type {ProfitAndLossRecords} @@ -66,6 +60,12 @@ export interface OtherIncome { * @memberof OtherIncome */ type?: ProfitAndLossType | null + /** + * The aggregated total of all accounts within this category. + * @type {number} + * @memberof OtherIncome + */ + total?: number | null } export function OtherIncomeFromJSON(json: any): OtherIncome { @@ -77,12 +77,12 @@ export function OtherIncomeFromJSONTyped(json: any, ignoreDiscriminator: boolean return json } return { - total: json['total'], records: ProfitAndLossRecordsFromJSON(json['records']), id: !exists(json, 'id') ? undefined : json['id'], code: !exists(json, 'code') ? undefined : json['code'], title: !exists(json, 'title') ? undefined : json['title'], - type: !exists(json, 'type') ? undefined : ProfitAndLossTypeFromJSON(json['type']) + type: !exists(json, 'type') ? undefined : ProfitAndLossTypeFromJSON(json['type']), + total: !exists(json, 'total') ? undefined : json['total'] } } @@ -94,8 +94,8 @@ export function OtherIncomeToJSON(value?: OtherIncome | null): any { return null } return { - total: value.total, records: ProfitAndLossRecordsToJSON(value.records), - type: ProfitAndLossTypeToJSON(value.type) + type: ProfitAndLossTypeToJSON(value.type), + total: value.total } } diff --git a/src/gen/models/OutstandingBalanceByCurrency.ts b/src/gen/models/OutstandingBalanceByCurrency.ts index 97081c14b..a2e972505 100644 --- a/src/gen/models/OutstandingBalanceByCurrency.ts +++ b/src/gen/models/OutstandingBalanceByCurrency.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OutstandingBalanceByCustomer.ts b/src/gen/models/OutstandingBalanceByCustomer.ts index c2ee0e899..e72bdd5df 100644 --- a/src/gen/models/OutstandingBalanceByCustomer.ts +++ b/src/gen/models/OutstandingBalanceByCustomer.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/OutstandingBalanceBySupplier.ts b/src/gen/models/OutstandingBalanceBySupplier.ts index 35d47522c..0ec9689f4 100644 --- a/src/gen/models/OutstandingBalanceBySupplier.ts +++ b/src/gen/models/OutstandingBalanceBySupplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Owner.ts b/src/gen/models/Owner.ts index dfbe4b3fa..25053b538 100644 --- a/src/gen/models/Owner.ts +++ b/src/gen/models/Owner.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaginationCoverage.ts b/src/gen/models/PaginationCoverage.ts index 86b932c00..7f21739aa 100644 --- a/src/gen/models/PaginationCoverage.ts +++ b/src/gen/models/PaginationCoverage.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PassThroughQuery.ts b/src/gen/models/PassThroughQuery.ts index 68ec6de43..059ce7a34 100644 --- a/src/gen/models/PassThroughQuery.ts +++ b/src/gen/models/PassThroughQuery.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Payment.ts b/src/gen/models/Payment.ts index 359b4ce4c..497917e85 100644 --- a/src/gen/models/Payment.ts +++ b/src/gen/models/Payment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,7 @@ import { exists } from '../runtime' import { Allocation, AllocationFromJSON, AllocationToJSON } from './Allocation' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { DeprecatedLinkedSupplier, DeprecatedLinkedSupplierFromJSON, @@ -199,11 +200,11 @@ export interface Payment { */ display_id?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Payment */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -285,7 +286,9 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P : (json['custom_fields'] as Array).map(CustomFieldFromJSON), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], display_id: !exists(json, 'display_id') ? undefined : json['display_id'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], created_at: !exists(json, 'created_at') @@ -343,6 +346,7 @@ export function PaymentToJSON(value?: Payment | null): any { : (value.custom_fields as Array).map(CustomFieldToJSON), row_version: value.row_version, display_id: value.display_id, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/PaymentCard.ts b/src/gen/models/PaymentCard.ts index eae8a854a..bcdc789c3 100644 --- a/src/gen/models/PaymentCard.ts +++ b/src/gen/models/PaymentCard.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentFrequency.ts b/src/gen/models/PaymentFrequency.ts index 27f0ef688..2e77b2066 100644 --- a/src/gen/models/PaymentFrequency.ts +++ b/src/gen/models/PaymentFrequency.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentRequiredResponse.ts b/src/gen/models/PaymentRequiredResponse.ts index eaa4110df..10e915645 100644 --- a/src/gen/models/PaymentRequiredResponse.ts +++ b/src/gen/models/PaymentRequiredResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentStatus.ts b/src/gen/models/PaymentStatus.ts index 9216b8950..2041d97c5 100644 --- a/src/gen/models/PaymentStatus.ts +++ b/src/gen/models/PaymentStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentType.ts b/src/gen/models/PaymentType.ts index 99fb8bc3d..703c2346d 100644 --- a/src/gen/models/PaymentType.ts +++ b/src/gen/models/PaymentType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentUnit.ts b/src/gen/models/PaymentUnit.ts index 277e4da7d..9ce84e0bb 100644 --- a/src/gen/models/PaymentUnit.ts +++ b/src/gen/models/PaymentUnit.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PaymentsFilter.ts b/src/gen/models/PaymentsFilter.ts index 2477e3d19..ba0bf127c 100644 --- a/src/gen/models/PaymentsFilter.ts +++ b/src/gen/models/PaymentsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,12 @@ export interface PaymentsFilter { * @memberof PaymentsFilter */ updated_since?: Date + /** + * + * @type {string} + * @memberof PaymentsFilter + */ + invoice_id?: string } export function PaymentsFilterFromJSON(json: any): PaymentsFilter { @@ -39,7 +45,8 @@ export function PaymentsFilterFromJSONTyped( return json } return { - updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']) + updated_since: !exists(json, 'updated_since') ? undefined : new Date(json['updated_since']), + invoice_id: !exists(json, 'invoice_id') ? undefined : json['invoice_id'] } } @@ -52,6 +59,7 @@ export function PaymentsFilterToJSON(value?: PaymentsFilter | null): any { } return { updated_since: - value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString() + value.updated_since === undefined ? undefined : new Date(value.updated_since).toISOString(), + invoice_id: value.invoice_id } } diff --git a/src/gen/models/PaymentsSort.ts b/src/gen/models/PaymentsSort.ts index a531956bb..4abd480a5 100644 --- a/src/gen/models/PaymentsSort.ts +++ b/src/gen/models/PaymentsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Payroll.ts b/src/gen/models/Payroll.ts index f8bf11579..9f835f8e2 100644 --- a/src/gen/models/Payroll.ts +++ b/src/gen/models/Payroll.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Compensation, CompensationFromJSON, CompensationToJSON } from './Compensation' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PayrollTotals, PayrollTotalsFromJSON, PayrollTotalsToJSON } from './PayrollTotals' /** @@ -77,11 +78,11 @@ export interface Payroll { */ compensations?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Payroll */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null } export function PayrollFromJSON(json: any): Payroll { @@ -104,7 +105,9 @@ export function PayrollFromJSONTyped(json: any, ignoreDiscriminator: boolean): P compensations: !exists(json, 'compensations') ? undefined : (json['compensations'] as Array).map(CompensationFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'] + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']) } } @@ -126,6 +129,7 @@ export function PayrollToJSON(value?: Payroll | null): any { compensations: value.compensations === undefined ? undefined - : (value.compensations as Array).map(CompensationToJSON) + : (value.compensations as Array).map(CompensationToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/PayrollTotals.ts b/src/gen/models/PayrollTotals.ts index 66b511936..63c739a56 100644 --- a/src/gen/models/PayrollTotals.ts +++ b/src/gen/models/PayrollTotals.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PayrollsFilter.ts b/src/gen/models/PayrollsFilter.ts index 3c867dae8..0c97c587a 100644 --- a/src/gen/models/PayrollsFilter.ts +++ b/src/gen/models/PayrollsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Person.ts b/src/gen/models/Person.ts index a5ad6bd03..e20aa7173 100644 --- a/src/gen/models/Person.ts +++ b/src/gen/models/Person.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Gender, GenderFromJSON, GenderToJSON } from './Gender' /** @@ -70,11 +71,11 @@ export interface Person { */ deceased_on?: Date | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Person */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null } export function PersonFromJSON(json: any): Person { @@ -102,7 +103,9 @@ export function PersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pe : json['deceased_on'] === null ? null : new Date(json['deceased_on']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'] + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']) } } @@ -130,6 +133,7 @@ export function PersonToJSON(value?: Person | null): any { ? undefined : value.deceased_on === null ? null - : new Date(value.deceased_on).toISOString().substr(0, 10) + : new Date(value.deceased_on).toISOString().substr(0, 10), + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/PhoneNumber.ts b/src/gen/models/PhoneNumber.ts index e8eb89187..33f1a1264 100644 --- a/src/gen/models/PhoneNumber.ts +++ b/src/gen/models/PhoneNumber.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Pipeline.ts b/src/gen/models/Pipeline.ts index 396107210..f27717b27 100644 --- a/src/gen/models/Pipeline.ts +++ b/src/gen/models/Pipeline.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PipelineStages.ts b/src/gen/models/PipelineStages.ts index 9fbc1b43f..1a5f6ca8b 100644 --- a/src/gen/models/PipelineStages.ts +++ b/src/gen/models/PipelineStages.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosBankAccount.ts b/src/gen/models/PosBankAccount.ts index 0ea971855..897bcc08f 100644 --- a/src/gen/models/PosBankAccount.ts +++ b/src/gen/models/PosBankAccount.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosBankAccountAchDetails.ts b/src/gen/models/PosBankAccountAchDetails.ts index 6933205b8..29f2a679d 100644 --- a/src/gen/models/PosBankAccountAchDetails.ts +++ b/src/gen/models/PosBankAccountAchDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosPayment.ts b/src/gen/models/PosPayment.ts index 645f7d3b3..78f150724 100644 --- a/src/gen/models/PosPayment.ts +++ b/src/gen/models/PosPayment.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { CashDetails, CashDetailsFromJSON, CashDetailsToJSON } from './CashDetails' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PosBankAccount, PosBankAccountFromJSON, PosBankAccountToJSON } from './PosBankAccount' import { @@ -211,11 +212,11 @@ export interface PosPayment { */ service_charges?: ServiceCharges /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof PosPayment */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -324,7 +325,9 @@ export function PosPaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean) service_charges: !exists(json, 'service_charges') ? undefined : ServiceChargesFromJSON(json['service_charges']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -379,6 +382,7 @@ export function PosPaymentToJSON(value?: PosPayment | null): any { wallet: WalletDetailsToJSON(value.wallet), external_details: PosPaymentExternalDetailsToJSON(value.external_details), service_charges: ServiceChargesToJSON(value.service_charges), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/PosPaymentCardDetails.ts b/src/gen/models/PosPaymentCardDetails.ts index d28052807..81896a2e9 100644 --- a/src/gen/models/PosPaymentCardDetails.ts +++ b/src/gen/models/PosPaymentCardDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PosPaymentExternalDetails.ts b/src/gen/models/PosPaymentExternalDetails.ts index d374cb403..017279908 100644 --- a/src/gen/models/PosPaymentExternalDetails.ts +++ b/src/gen/models/PosPaymentExternalDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Price.ts b/src/gen/models/Price.ts index 77ef3e17d..e51fef6f5 100644 --- a/src/gen/models/Price.ts +++ b/src/gen/models/Price.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProbationPeriod.ts b/src/gen/models/ProbationPeriod.ts index 27c0394b8..30e49f559 100644 --- a/src/gen/models/ProbationPeriod.ts +++ b/src/gen/models/ProbationPeriod.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLoss.ts b/src/gen/models/ProfitAndLoss.ts index 17406bc0a..e75f84753 100644 --- a/src/gen/models/ProfitAndLoss.ts +++ b/src/gen/models/ProfitAndLoss.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { CostOfGoodsSold, CostOfGoodsSoldFromJSON, CostOfGoodsSoldToJSON } from './CostOfGoodsSold' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Expenses, ExpensesFromJSON, ExpensesToJSON } from './Expenses' import { Income, IncomeFromJSON, IncomeToJSON } from './Income' import { OtherExpenses, OtherExpensesFromJSON, OtherExpensesToJSON } from './OtherExpenses' @@ -121,11 +122,11 @@ export interface ProfitAndLoss { */ net_income?: ProfitAndLossIndicator /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof ProfitAndLoss */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The customer id * @type {string} @@ -171,7 +172,9 @@ export function ProfitAndLossFromJSONTyped(json: any, ignoreDiscriminator: boole net_income: !exists(json, 'net_income') ? undefined : ProfitAndLossIndicatorFromJSON(json['net_income']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), customer: !exists(json, 'customer') ? undefined : json['customer'] } } @@ -197,6 +200,7 @@ export function ProfitAndLossToJSON(value?: ProfitAndLoss | null): any { gross_profit: ProfitAndLossIndicatorToJSON(value.gross_profit), net_operating_income: ProfitAndLossIndicatorToJSON(value.net_operating_income), net_income: ProfitAndLossIndicatorToJSON(value.net_income), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), customer: value.customer } } diff --git a/src/gen/models/ProfitAndLossFilter.ts b/src/gen/models/ProfitAndLossFilter.ts index a4b9aaf04..91a02f691 100644 --- a/src/gen/models/ProfitAndLossFilter.ts +++ b/src/gen/models/ProfitAndLossFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossRecord.ts b/src/gen/models/ProfitAndLossRecord.ts index 73d6335b0..b91ab8e4e 100644 --- a/src/gen/models/ProfitAndLossRecord.ts +++ b/src/gen/models/ProfitAndLossRecord.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossRecords.ts b/src/gen/models/ProfitAndLossRecords.ts index 4eecafb97..b26c70ce7 100644 --- a/src/gen/models/ProfitAndLossRecords.ts +++ b/src/gen/models/ProfitAndLossRecords.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossSection.ts b/src/gen/models/ProfitAndLossSection.ts index 5bebee839..3d9e549da 100644 --- a/src/gen/models/ProfitAndLossSection.ts +++ b/src/gen/models/ProfitAndLossSection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ProfitAndLossType.ts b/src/gen/models/ProfitAndLossType.ts index 90184a4a3..631d3c88a 100644 --- a/src/gen/models/ProfitAndLossType.ts +++ b/src/gen/models/ProfitAndLossType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PurchaseOrder.ts b/src/gen/models/PurchaseOrder.ts index e32a677b9..4a58c9a64 100644 --- a/src/gen/models/PurchaseOrder.ts +++ b/src/gen/models/PurchaseOrder.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,6 +16,8 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' +import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { InvoiceLineItem, InvoiceLineItemFromJSON, InvoiceLineItemToJSON } from './InvoiceLineItem' import { LinkedLedgerAccount, @@ -66,6 +68,12 @@ export interface PurchaseOrder { * @memberof PurchaseOrder */ supplier?: LinkedSupplier | null + /** + * The ID of the subsidiary + * @type {string} + * @memberof PurchaseOrder + */ + subsidiary_id?: string | null /** * The company or subsidiary id the transaction belongs to * @type {string} @@ -211,11 +219,17 @@ export interface PurchaseOrder { */ tracking_categories?: LinkedTrackingCategories | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} + * @memberof PurchaseOrder + */ + custom_mappings?: CustomMappings | null + /** + * + * @type {Array} * @memberof PurchaseOrder */ - readonly custom_mappings?: object | null + custom_fields?: Array /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -281,6 +295,7 @@ export function PurchaseOrderFromJSONTyped(json: any, ignoreDiscriminator: boole po_number: !exists(json, 'po_number') ? undefined : json['po_number'], reference: !exists(json, 'reference') ? undefined : json['reference'], supplier: !exists(json, 'supplier') ? undefined : LinkedSupplierFromJSON(json['supplier']), + subsidiary_id: !exists(json, 'subsidiary_id') ? undefined : json['subsidiary_id'], company_id: !exists(json, 'company_id') ? undefined : json['company_id'], status: !exists(json, 'status') ? undefined : json['status'], issued_date: !exists(json, 'issued_date') @@ -333,7 +348,12 @@ export function PurchaseOrderFromJSONTyped(json: any, ignoreDiscriminator: boole tracking_categories: !exists(json, 'tracking_categories') ? undefined : LinkedTrackingCategoriesFromJSON(json['tracking_categories']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), + custom_fields: !exists(json, 'custom_fields') + ? undefined + : (json['custom_fields'] as Array).map(CustomFieldFromJSON), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -364,6 +384,7 @@ export function PurchaseOrderToJSON(value?: PurchaseOrder | null): any { po_number: value.po_number, reference: value.reference, supplier: LinkedSupplierToJSON(value.supplier), + subsidiary_id: value.subsidiary_id, company_id: value.company_id, status: value.status, issued_date: @@ -411,6 +432,11 @@ export function PurchaseOrderToJSON(value?: PurchaseOrder | null): any { channel: value.channel, memo: value.memo, tracking_categories: LinkedTrackingCategoriesToJSON(value.tracking_categories), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), + custom_fields: + value.custom_fields === undefined + ? undefined + : (value.custom_fields as Array).map(CustomFieldToJSON), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/PurchaseOrdersFilter.ts b/src/gen/models/PurchaseOrdersFilter.ts index 240c29bdd..6e1fc7bba 100644 --- a/src/gen/models/PurchaseOrdersFilter.ts +++ b/src/gen/models/PurchaseOrdersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/PurchaseOrdersSort.ts b/src/gen/models/PurchaseOrdersSort.ts index c9dec32c3..d9ec8ef20 100644 --- a/src/gen/models/PurchaseOrdersSort.ts +++ b/src/gen/models/PurchaseOrdersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/RequestCountAllocation.ts b/src/gen/models/RequestCountAllocation.ts index 6f4134e22..2f01046b2 100644 --- a/src/gen/models/RequestCountAllocation.ts +++ b/src/gen/models/RequestCountAllocation.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResolveWebhookResponse.ts b/src/gen/models/ResolveWebhookResponse.ts index 08d13f881..e3f9b841e 100644 --- a/src/gen/models/ResolveWebhookResponse.ts +++ b/src/gen/models/ResolveWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResourceExample.ts b/src/gen/models/ResourceExample.ts index 8da7f2b81..e39fec1ea 100644 --- a/src/gen/models/ResourceExample.ts +++ b/src/gen/models/ResourceExample.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ResourceStatus.ts b/src/gen/models/ResourceStatus.ts index 01176957e..88183fd80 100644 --- a/src/gen/models/ResourceStatus.ts +++ b/src/gen/models/ResourceStatus.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Schedule.ts b/src/gen/models/Schedule.ts index c24c0055b..2dc6d16ce 100644 --- a/src/gen/models/Schedule.ts +++ b/src/gen/models/Schedule.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ScheduleWorkPattern.ts b/src/gen/models/ScheduleWorkPattern.ts index 61a61b20c..ac50970b1 100644 --- a/src/gen/models/ScheduleWorkPattern.ts +++ b/src/gen/models/ScheduleWorkPattern.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ScheduleWorkPatternOddWeeks.ts b/src/gen/models/ScheduleWorkPatternOddWeeks.ts index c37922c10..ff1cbbd69 100644 --- a/src/gen/models/ScheduleWorkPatternOddWeeks.ts +++ b/src/gen/models/ScheduleWorkPatternOddWeeks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SchemaSupport.ts b/src/gen/models/SchemaSupport.ts index 9db5fbbc4..7b97bfc24 100644 --- a/src/gen/models/SchemaSupport.ts +++ b/src/gen/models/SchemaSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ServiceCharge.ts b/src/gen/models/ServiceCharge.ts index 599f77aeb..cf27025ac 100644 --- a/src/gen/models/ServiceCharge.ts +++ b/src/gen/models/ServiceCharge.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ServiceCharges.ts b/src/gen/models/ServiceCharges.ts index eb0a9bb35..b6d56b503 100644 --- a/src/gen/models/ServiceCharges.ts +++ b/src/gen/models/ServiceCharges.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Session.ts b/src/gen/models/Session.ts index dd7933834..40ee81145 100644 --- a/src/gen/models/Session.ts +++ b/src/gen/models/Session.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SessionSettings.ts b/src/gen/models/SessionSettings.ts index 8b5281367..b42ff5d5e 100644 --- a/src/gen/models/SessionSettings.ts +++ b/src/gen/models/SessionSettings.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SessionTheme.ts b/src/gen/models/SessionTheme.ts index a84676b97..25737e66a 100644 --- a/src/gen/models/SessionTheme.ts +++ b/src/gen/models/SessionTheme.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SharedLink.ts b/src/gen/models/SharedLink.ts index 54f03573a..ea0748ebc 100644 --- a/src/gen/models/SharedLink.ts +++ b/src/gen/models/SharedLink.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SharedLinkTarget.ts b/src/gen/models/SharedLinkTarget.ts index 85218ddc4..7d30b7253 100644 --- a/src/gen/models/SharedLinkTarget.ts +++ b/src/gen/models/SharedLinkTarget.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SimpleFormFieldOption.ts b/src/gen/models/SimpleFormFieldOption.ts index 7ba1b9f8e..1ad610c3d 100644 --- a/src/gen/models/SimpleFormFieldOption.ts +++ b/src/gen/models/SimpleFormFieldOption.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,7 +25,13 @@ export interface SimpleFormFieldOption { * @type {string} * @memberof SimpleFormFieldOption */ - label?: string + label: string + /** + * + * @type {string} + * @memberof SimpleFormFieldOption + */ + option_type: SimpleFormFieldOptionOptionType /** * * @type {string | number | boolean | Array} @@ -34,6 +40,14 @@ export interface SimpleFormFieldOption { value?: string | number | boolean | Array | null } +/** + * @export + * @enum {string} + */ +export enum SimpleFormFieldOptionOptionType { + simple = 'simple' +} + export function SimpleFormFieldOptionFromJSON(json: any): SimpleFormFieldOption { return SimpleFormFieldOptionFromJSONTyped(json, false) } @@ -46,7 +60,8 @@ export function SimpleFormFieldOptionFromJSONTyped( return json } return { - label: !exists(json, 'label') ? undefined : json['label'], + label: json['label'], + option_type: json['option_type'], value: !exists(json, 'value') ? undefined : >json['value'] @@ -62,6 +77,7 @@ export function SimpleFormFieldOptionToJSON(value?: SimpleFormFieldOption | null } return { label: value.label, + option_type: value.option_type, value: >value.value } } diff --git a/src/gen/models/SocialLink.ts b/src/gen/models/SocialLink.ts index 55d181178..534d30def 100644 --- a/src/gen/models/SocialLink.ts +++ b/src/gen/models/SocialLink.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SortDirection.ts b/src/gen/models/SortDirection.ts index 8bc86b613..1b3fd2ea9 100644 --- a/src/gen/models/SortDirection.ts +++ b/src/gen/models/SortDirection.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Status.ts b/src/gen/models/Status.ts index 337680505..386ce2606 100644 --- a/src/gen/models/Status.ts +++ b/src/gen/models/Status.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Subsidiary.ts b/src/gen/models/Subsidiary.ts index 193726e6e..70d6993cf 100644 --- a/src/gen/models/Subsidiary.ts +++ b/src/gen/models/Subsidiary.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -46,11 +47,11 @@ export interface Subsidiary { */ status?: SubsidiaryStatus /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Subsidiary */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -111,7 +112,9 @@ export function SubsidiaryFromJSONTyped(json: any, ignoreDiscriminator: boolean) parent_id: !exists(json, 'parent_id') ? undefined : json['parent_id'], name: !exists(json, 'name') ? undefined : json['name'], status: !exists(json, 'status') ? undefined : json['status'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -142,6 +145,7 @@ export function SubsidiaryToJSON(value?: Subsidiary | null): any { parent_id: value.parent_id, name: value.name, status: value.status, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through) } diff --git a/src/gen/models/SubsidiaryReference.ts b/src/gen/models/SubsidiaryReference.ts index 85ab0ae8d..a1a53cd6c 100644 --- a/src/gen/models/SubsidiaryReference.ts +++ b/src/gen/models/SubsidiaryReference.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Supplier.ts b/src/gen/models/Supplier.ts index 34ce7e925..b416ed933 100644 --- a/src/gen/models/Supplier.ts +++ b/src/gen/models/Supplier.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,6 +17,7 @@ import { Address, AddressFromJSON, AddressToJSON } from './Address' import { BankAccount, BankAccountFromJSON, BankAccountToJSON } from './BankAccount' import { Currency, CurrencyFromJSON, CurrencyToJSON } from './Currency' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { LinkedLedgerAccount, @@ -185,11 +186,11 @@ export interface Supplier { */ channel?: string | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Supplier */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {Array} @@ -294,7 +295,9 @@ export function SupplierFromJSONTyped(json: any, ignoreDiscriminator: boolean): status: !exists(json, 'status') ? undefined : json['status'], payment_method: !exists(json, 'payment_method') ? undefined : json['payment_method'], channel: !exists(json, 'channel') ? undefined : json['channel'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), custom_fields: !exists(json, 'custom_fields') ? undefined : (json['custom_fields'] as Array).map(CustomFieldFromJSON), @@ -359,6 +362,7 @@ export function SupplierToJSON(value?: Supplier | null): any { status: value.status, payment_method: value.payment_method, channel: value.channel, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), custom_fields: value.custom_fields === undefined ? undefined diff --git a/src/gen/models/SuppliersFilter.ts b/src/gen/models/SuppliersFilter.ts index 5c2b59dd6..4b67f3ab3 100644 --- a/src/gen/models/SuppliersFilter.ts +++ b/src/gen/models/SuppliersFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SuppliersSort.ts b/src/gen/models/SuppliersSort.ts index da07ef7a9..6c5802e18 100644 --- a/src/gen/models/SuppliersSort.ts +++ b/src/gen/models/SuppliersSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/SupportedProperty.ts b/src/gen/models/SupportedProperty.ts index 9f395bad3..cf8cc6bf8 100644 --- a/src/gen/models/SupportedProperty.ts +++ b/src/gen/models/SupportedProperty.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Tax.ts b/src/gen/models/Tax.ts index f6251c9b9..3cf9e622b 100644 --- a/src/gen/models/Tax.ts +++ b/src/gen/models/Tax.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TaxRate.ts b/src/gen/models/TaxRate.ts index 8312d310c..028156e29 100644 --- a/src/gen/models/TaxRate.ts +++ b/src/gen/models/TaxRate.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { CustomField, CustomFieldFromJSON, CustomFieldToJSON } from './CustomField' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -101,11 +102,11 @@ export interface TaxRate { */ status?: TaxRateStatus /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof TaxRate */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -196,7 +197,9 @@ export function TaxRateFromJSONTyped(json: any, ignoreDiscriminator: boolean): T ? undefined : json['original_tax_rate_id'], status: !exists(json, 'status') ? undefined : json['status'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -241,6 +244,7 @@ export function TaxRateToJSON(value?: TaxRate | null): any { report_tax_type: value.report_tax_type, original_tax_rate_id: value.original_tax_rate_id, status: value.status, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through), subsidiaries: value.subsidiaries, diff --git a/src/gen/models/TaxRatesFilter.ts b/src/gen/models/TaxRatesFilter.ts index 854da260e..f5df1f6d5 100644 --- a/src/gen/models/TaxRatesFilter.ts +++ b/src/gen/models/TaxRatesFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Team.ts b/src/gen/models/Team.ts index 6ef66ff25..ba45a2abd 100644 --- a/src/gen/models/Team.ts +++ b/src/gen/models/Team.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Tender.ts b/src/gen/models/Tender.ts index 6536c3633..d1c16f645 100644 --- a/src/gen/models/Tender.ts +++ b/src/gen/models/Tender.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -70,11 +71,11 @@ export interface Tender { */ allows_tipping?: boolean /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Tender */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -124,7 +125,9 @@ export function TenderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Te editable: !exists(json, 'editable') ? undefined : json['editable'], opens_cash_drawer: !exists(json, 'opens_cash_drawer') ? undefined : json['opens_cash_drawer'], allows_tipping: !exists(json, 'allows_tipping') ? undefined : json['allows_tipping'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -158,6 +161,7 @@ export function TenderToJSON(value?: Tender | null): any { editable: value.editable, opens_cash_drawer: value.opens_cash_drawer, allows_tipping: value.allows_tipping, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/Ticket.ts b/src/gen/models/Ticket.ts index c99b0df4c..fbaf3358e 100644 --- a/src/gen/models/Ticket.ts +++ b/src/gen/models/Ticket.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,6 +15,7 @@ import { exists } from '../runtime' import { Assignee, AssigneeFromJSON, AssigneeToJSON } from './Assignee' import { CollectionTag, CollectionTagFromJSON, CollectionTagToJSON } from './CollectionTag' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -114,11 +115,11 @@ export interface Ticket { */ tags?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof Ticket */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * * @type {PassThroughBody} @@ -182,7 +183,9 @@ export function TicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ti tags: !exists(json, 'tags') ? undefined : (json['tags'] as Array).map(CollectionTagFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), pass_through: !exists(json, 'pass_through') ? undefined : PassThroughBodyFromJSON(json['pass_through']) @@ -215,6 +218,7 @@ export function TicketToJSON(value?: Ticket | null): any { : new Date(value.due_date).toISOString(), tags: value.tags === undefined ? undefined : (value.tags as Array).map(CollectionTagToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/TicketsSort.ts b/src/gen/models/TicketsSort.ts index 7d9d3b04f..73ea8a91a 100644 --- a/src/gen/models/TicketsSort.ts +++ b/src/gen/models/TicketsSort.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TimeOffRequest.ts b/src/gen/models/TimeOffRequest.ts index 01fbbf99a..5f082038d 100644 --- a/src/gen/models/TimeOffRequest.ts +++ b/src/gen/models/TimeOffRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { TimeOffRequestNotes, @@ -111,11 +112,11 @@ export interface TimeOffRequest { */ notes?: TimeOffRequestNotes /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof TimeOffRequest */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -215,7 +216,9 @@ export function TimeOffRequestFromJSONTyped( amount: !exists(json, 'amount') ? undefined : json['amount'], day_part: !exists(json, 'day_part') ? undefined : json['day_part'], notes: !exists(json, 'notes') ? undefined : TimeOffRequestNotesFromJSON(json['notes']), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -256,6 +259,7 @@ export function TimeOffRequestToJSON(value?: TimeOffRequest | null): any { amount: value.amount, day_part: value.day_part, notes: TimeOffRequestNotesToJSON(value.notes), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through), policy_type: value.policy_type } diff --git a/src/gen/models/TimeOffRequestNotes.ts b/src/gen/models/TimeOffRequestNotes.ts index 1683649a9..b2fe84b9a 100644 --- a/src/gen/models/TimeOffRequestNotes.ts +++ b/src/gen/models/TimeOffRequestNotes.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TimeOffRequestsFilter.ts b/src/gen/models/TimeOffRequestsFilter.ts index 893469b20..342216e1d 100644 --- a/src/gen/models/TimeOffRequestsFilter.ts +++ b/src/gen/models/TimeOffRequestsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TooManyRequestsResponse.ts b/src/gen/models/TooManyRequestsResponse.ts index 9581f3dc0..ad0000169 100644 --- a/src/gen/models/TooManyRequestsResponse.ts +++ b/src/gen/models/TooManyRequestsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TooManyRequestsResponseDetail.ts b/src/gen/models/TooManyRequestsResponseDetail.ts index 9ee145e29..5512468a1 100644 --- a/src/gen/models/TooManyRequestsResponseDetail.ts +++ b/src/gen/models/TooManyRequestsResponseDetail.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/TrackingCategory.ts b/src/gen/models/TrackingCategory.ts index 3b1a58791..6399cfefd 100644 --- a/src/gen/models/TrackingCategory.ts +++ b/src/gen/models/TrackingCategory.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' /** @@ -52,11 +53,11 @@ export interface TrackingCategory { */ status?: TrackingCategoryStatus /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof TrackingCategory */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} @@ -127,7 +128,9 @@ export function TrackingCategoryFromJSONTyped( name: !exists(json, 'name') ? undefined : json['name'], code: !exists(json, 'code') ? undefined : json['code'], status: !exists(json, 'status') ? undefined : json['status'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), row_version: !exists(json, 'row_version') ? undefined : json['row_version'], updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], @@ -160,6 +163,7 @@ export function TrackingCategoryToJSON(value?: TrackingCategory | null): any { name: value.name, code: value.code, status: value.status, + custom_mappings: CustomMappingsToJSON(value.custom_mappings), row_version: value.row_version, pass_through: PassThroughBodyToJSON(value.pass_through), subsidiaries: value.subsidiaries diff --git a/src/gen/models/TrackingItem.ts b/src/gen/models/TrackingItem.ts index 3b0c96791..904878c06 100644 --- a/src/gen/models/TrackingItem.ts +++ b/src/gen/models/TrackingItem.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnauthorizedResponse.ts b/src/gen/models/UnauthorizedResponse.ts index eb0ee26ca..bece69581 100644 --- a/src/gen/models/UnauthorizedResponse.ts +++ b/src/gen/models/UnauthorizedResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UncategorizedAccounts.ts b/src/gen/models/UncategorizedAccounts.ts index 92f532a7c..ac4f46d3e 100644 --- a/src/gen/models/UncategorizedAccounts.ts +++ b/src/gen/models/UncategorizedAccounts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnexpectedErrorResponse.ts b/src/gen/models/UnexpectedErrorResponse.ts index 1147c7dab..fd2aaffa1 100644 --- a/src/gen/models/UnexpectedErrorResponse.ts +++ b/src/gen/models/UnexpectedErrorResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnifiedApiId.ts b/src/gen/models/UnifiedApiId.ts index f78fc18ae..9ecab2d74 100644 --- a/src/gen/models/UnifiedApiId.ts +++ b/src/gen/models/UnifiedApiId.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnifiedFile.ts b/src/gen/models/UnifiedFile.ts index d85d42bc0..610090eea 100644 --- a/src/gen/models/UnifiedFile.ts +++ b/src/gen/models/UnifiedFile.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ */ import { exists } from '../runtime' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { FileType, FileTypeFromJSON, FileTypeToJSON } from './FileType' import { LinkedFolder, LinkedFolderFromJSON, LinkedFolderToJSON } from './LinkedFolder' import { Owner, OwnerFromJSON, OwnerToJSON } from './Owner' @@ -119,11 +120,11 @@ export interface UnifiedFile { */ export_formats?: Array | null /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof UnifiedFile */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The user who last updated the object. * @type {string} @@ -180,7 +181,9 @@ export function UnifiedFileFromJSONTyped(json: any, ignoreDiscriminator: boolean : UnifiedFilePermissionsFromJSON(json['permissions']), exportable: !exists(json, 'exportable') ? undefined : json['exportable'], export_formats: !exists(json, 'export_formats') ? undefined : json['export_formats'], - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'], created_by: !exists(json, 'created_by') ? undefined : json['created_by'], updated_at: !exists(json, 'updated_at') @@ -219,6 +222,7 @@ export function UnifiedFileToJSON(value?: UnifiedFile | null): any { parent_folders_complete: value.parent_folders_complete, permissions: UnifiedFilePermissionsToJSON(value.permissions), exportable: value.exportable, - export_formats: value.export_formats + export_formats: value.export_formats, + custom_mappings: CustomMappingsToJSON(value.custom_mappings) } } diff --git a/src/gen/models/UnifiedFilePermissions.ts b/src/gen/models/UnifiedFilePermissions.ts index 4c5cd0494..f37274562 100644 --- a/src/gen/models/UnifiedFilePermissions.ts +++ b/src/gen/models/UnifiedFilePermissions.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UnprocessableResponse.ts b/src/gen/models/UnprocessableResponse.ts index 2eabe79e5..46c9c6c45 100644 --- a/src/gen/models/UnprocessableResponse.ts +++ b/src/gen/models/UnprocessableResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateAccountingDepartmentResponse.ts b/src/gen/models/UpdateAccountingDepartmentResponse.ts index 059ed9a9f..72e96e88f 100644 --- a/src/gen/models/UpdateAccountingDepartmentResponse.ts +++ b/src/gen/models/UpdateAccountingDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateAccountingLocationResponse.ts b/src/gen/models/UpdateAccountingLocationResponse.ts index 14ab5cf2e..c661fab54 100644 --- a/src/gen/models/UpdateAccountingLocationResponse.ts +++ b/src/gen/models/UpdateAccountingLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateActivityResponse.ts b/src/gen/models/UpdateActivityResponse.ts index d85514a3d..510fc75d2 100644 --- a/src/gen/models/UpdateActivityResponse.ts +++ b/src/gen/models/UpdateActivityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateApplicantResponse.ts b/src/gen/models/UpdateApplicantResponse.ts index 855a46342..b97f14d56 100644 --- a/src/gen/models/UpdateApplicantResponse.ts +++ b/src/gen/models/UpdateApplicantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateApplicationResponse.ts b/src/gen/models/UpdateApplicationResponse.ts index 083dd21c4..3785a8b93 100644 --- a/src/gen/models/UpdateApplicationResponse.ts +++ b/src/gen/models/UpdateApplicationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateBankFeedAccountResponse.ts b/src/gen/models/UpdateBankFeedAccountResponse.ts new file mode 100644 index 000000000..04462b65d --- /dev/null +++ b/src/gen/models/UpdateBankFeedAccountResponse.ts @@ -0,0 +1,109 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateBankFeedAccountResponse + */ +export interface UpdateBankFeedAccountResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateBankFeedAccountResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateBankFeedAccountResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateBankFeedAccountResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateBankFeedAccountResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateBankFeedAccountResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateBankFeedAccountResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof UpdateBankFeedAccountResponse + */ + _raw?: Raw | null +} + +export function UpdateBankFeedAccountResponseFromJSON(json: any): UpdateBankFeedAccountResponse { + return UpdateBankFeedAccountResponseFromJSONTyped(json, false) +} + +export function UpdateBankFeedAccountResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateBankFeedAccountResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function UpdateBankFeedAccountResponseToJSON( + value?: UpdateBankFeedAccountResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/UpdateBankFeedStatementResponse.ts b/src/gen/models/UpdateBankFeedStatementResponse.ts new file mode 100644 index 000000000..2217d9d83 --- /dev/null +++ b/src/gen/models/UpdateBankFeedStatementResponse.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateBankFeedStatementResponse + */ +export interface UpdateBankFeedStatementResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateBankFeedStatementResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateBankFeedStatementResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateBankFeedStatementResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateBankFeedStatementResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateBankFeedStatementResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateBankFeedStatementResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof UpdateBankFeedStatementResponse + */ + _raw?: Raw | null +} + +export function UpdateBankFeedStatementResponseFromJSON( + json: any +): UpdateBankFeedStatementResponse { + return UpdateBankFeedStatementResponseFromJSONTyped(json, false) +} + +export function UpdateBankFeedStatementResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateBankFeedStatementResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function UpdateBankFeedStatementResponseToJSON( + value?: UpdateBankFeedStatementResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/UpdateBillPaymentResponse.ts b/src/gen/models/UpdateBillPaymentResponse.ts index 5f8734268..aebb5aea3 100644 --- a/src/gen/models/UpdateBillPaymentResponse.ts +++ b/src/gen/models/UpdateBillPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateBillResponse.ts b/src/gen/models/UpdateBillResponse.ts index 9b7f8a4c7..c1252960f 100644 --- a/src/gen/models/UpdateBillResponse.ts +++ b/src/gen/models/UpdateBillResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCommentResponse.ts b/src/gen/models/UpdateCommentResponse.ts index 9ed771ac5..324fda1d9 100644 --- a/src/gen/models/UpdateCommentResponse.ts +++ b/src/gen/models/UpdateCommentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCompanyResponse.ts b/src/gen/models/UpdateCompanyResponse.ts index 882ba738f..99e19a745 100644 --- a/src/gen/models/UpdateCompanyResponse.ts +++ b/src/gen/models/UpdateCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConnectionResponse.ts b/src/gen/models/UpdateConnectionResponse.ts index f679b5b80..e0c13f108 100644 --- a/src/gen/models/UpdateConnectionResponse.ts +++ b/src/gen/models/UpdateConnectionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConsumerRequest.ts b/src/gen/models/UpdateConsumerRequest.ts index 72bbaeb0b..820255535 100644 --- a/src/gen/models/UpdateConsumerRequest.ts +++ b/src/gen/models/UpdateConsumerRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateConsumerResponse.ts b/src/gen/models/UpdateConsumerResponse.ts index 2d8bd3335..f654c38e5 100644 --- a/src/gen/models/UpdateConsumerResponse.ts +++ b/src/gen/models/UpdateConsumerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateContactResponse.ts b/src/gen/models/UpdateContactResponse.ts index 7a3574d34..8b8b5b8ab 100644 --- a/src/gen/models/UpdateContactResponse.ts +++ b/src/gen/models/UpdateContactResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCreditNoteResponse.ts b/src/gen/models/UpdateCreditNoteResponse.ts index 82c82dd4d..637372dcc 100644 --- a/src/gen/models/UpdateCreditNoteResponse.ts +++ b/src/gen/models/UpdateCreditNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCustomMappingResponse.ts b/src/gen/models/UpdateCustomMappingResponse.ts index 6f5a7eda2..6631848c9 100644 --- a/src/gen/models/UpdateCustomMappingResponse.ts +++ b/src/gen/models/UpdateCustomMappingResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateCustomObjectResponse.ts b/src/gen/models/UpdateCustomObjectResponse.ts new file mode 100644 index 000000000..89ed82226 --- /dev/null +++ b/src/gen/models/UpdateCustomObjectResponse.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateCustomObjectResponse + */ +export interface UpdateCustomObjectResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateCustomObjectResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateCustomObjectResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateCustomObjectResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateCustomObjectResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateCustomObjectResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateCustomObjectResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof UpdateCustomObjectResponse + */ + _raw?: Raw | null +} + +export function UpdateCustomObjectResponseFromJSON(json: any): UpdateCustomObjectResponse { + return UpdateCustomObjectResponseFromJSONTyped(json, false) +} + +export function UpdateCustomObjectResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateCustomObjectResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function UpdateCustomObjectResponseToJSON(value?: UpdateCustomObjectResponse | null): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/UpdateCustomObjectSchemaResponse.ts b/src/gen/models/UpdateCustomObjectSchemaResponse.ts new file mode 100644 index 000000000..f0ca3038b --- /dev/null +++ b/src/gen/models/UpdateCustomObjectSchemaResponse.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Apideck + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.17.2 + * Contact: support@apideck.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { exists } from '../runtime' +import { Raw, RawFromJSON, RawToJSON } from './Raw' +import { UnifiedId, UnifiedIdFromJSON, UnifiedIdToJSON } from './UnifiedId' + +/** + * + * @export + * @interface UpdateCustomObjectSchemaResponse + */ +export interface UpdateCustomObjectSchemaResponse { + /** + * HTTP Response Status Code + * @type {number} + * @memberof UpdateCustomObjectSchemaResponse + */ + status_code: number + /** + * HTTP Response Status + * @type {string} + * @memberof UpdateCustomObjectSchemaResponse + */ + status: string + /** + * Apideck ID of service provider + * @type {string} + * @memberof UpdateCustomObjectSchemaResponse + */ + service: string + /** + * Unified API resource name + * @type {string} + * @memberof UpdateCustomObjectSchemaResponse + */ + resource: string + /** + * Operation performed + * @type {string} + * @memberof UpdateCustomObjectSchemaResponse + */ + operation: string + /** + * + * @type {UnifiedId} + * @memberof UpdateCustomObjectSchemaResponse + */ + data: UnifiedId + /** + * + * @type {Raw} + * @memberof UpdateCustomObjectSchemaResponse + */ + _raw?: Raw | null +} + +export function UpdateCustomObjectSchemaResponseFromJSON( + json: any +): UpdateCustomObjectSchemaResponse { + return UpdateCustomObjectSchemaResponseFromJSONTyped(json, false) +} + +export function UpdateCustomObjectSchemaResponseFromJSONTyped( + json: any, + ignoreDiscriminator: boolean +): UpdateCustomObjectSchemaResponse { + if (json === undefined || json === null) { + return json + } + return { + status_code: json['status_code'], + status: json['status'], + service: json['service'], + resource: json['resource'], + operation: json['operation'], + data: UnifiedIdFromJSON(json['data']), + _raw: !exists(json, '_raw') ? undefined : RawFromJSON(json['_raw']) + } +} + +export function UpdateCustomObjectSchemaResponseToJSON( + value?: UpdateCustomObjectSchemaResponse | null +): any { + if (value === undefined) { + return undefined + } + if (value === null) { + return null + } + return { + status_code: value.status_code, + status: value.status, + service: value.service, + resource: value.resource, + operation: value.operation, + data: UnifiedIdToJSON(value.data), + _raw: RawToJSON(value._raw) + } +} diff --git a/src/gen/models/UpdateCustomerResponse.ts b/src/gen/models/UpdateCustomerResponse.ts index 662a377f5..ef14cf93b 100644 --- a/src/gen/models/UpdateCustomerResponse.ts +++ b/src/gen/models/UpdateCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDepartmentResponse.ts b/src/gen/models/UpdateDepartmentResponse.ts index d71108ad3..11177e16e 100644 --- a/src/gen/models/UpdateDepartmentResponse.ts +++ b/src/gen/models/UpdateDepartmentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDriveGroupResponse.ts b/src/gen/models/UpdateDriveGroupResponse.ts index 9e5f68f68..2b15845b7 100644 --- a/src/gen/models/UpdateDriveGroupResponse.ts +++ b/src/gen/models/UpdateDriveGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateDriveResponse.ts b/src/gen/models/UpdateDriveResponse.ts index fee5ccdf0..71a8a77d9 100644 --- a/src/gen/models/UpdateDriveResponse.ts +++ b/src/gen/models/UpdateDriveResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEcommerceCustomerResponse.ts b/src/gen/models/UpdateEcommerceCustomerResponse.ts index 1a1fc3935..1f943d32f 100644 --- a/src/gen/models/UpdateEcommerceCustomerResponse.ts +++ b/src/gen/models/UpdateEcommerceCustomerResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEcommerceOrderResponse.ts b/src/gen/models/UpdateEcommerceOrderResponse.ts index a85031483..0ed05fbb1 100644 --- a/src/gen/models/UpdateEcommerceOrderResponse.ts +++ b/src/gen/models/UpdateEcommerceOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateEmployeeResponse.ts b/src/gen/models/UpdateEmployeeResponse.ts index c884c69cb..129cb8ef5 100644 --- a/src/gen/models/UpdateEmployeeResponse.ts +++ b/src/gen/models/UpdateEmployeeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateExpenseResponse.ts b/src/gen/models/UpdateExpenseResponse.ts index 39f0abb11..2d646cfeb 100644 --- a/src/gen/models/UpdateExpenseResponse.ts +++ b/src/gen/models/UpdateExpenseResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFileRequest.ts b/src/gen/models/UpdateFileRequest.ts index 60cb1ac55..4983d0ef5 100644 --- a/src/gen/models/UpdateFileRequest.ts +++ b/src/gen/models/UpdateFileRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFileResponse.ts b/src/gen/models/UpdateFileResponse.ts index afb20d40e..404d02411 100644 --- a/src/gen/models/UpdateFileResponse.ts +++ b/src/gen/models/UpdateFileResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFolderRequest.ts b/src/gen/models/UpdateFolderRequest.ts index 787a5aa52..a1d8d818a 100644 --- a/src/gen/models/UpdateFolderRequest.ts +++ b/src/gen/models/UpdateFolderRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateFolderResponse.ts b/src/gen/models/UpdateFolderResponse.ts index 212d19c0b..222844352 100644 --- a/src/gen/models/UpdateFolderResponse.ts +++ b/src/gen/models/UpdateFolderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateHrisCompanyResponse.ts b/src/gen/models/UpdateHrisCompanyResponse.ts index 571aef95b..3f80d2036 100644 --- a/src/gen/models/UpdateHrisCompanyResponse.ts +++ b/src/gen/models/UpdateHrisCompanyResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateInvoiceItemsResponse.ts b/src/gen/models/UpdateInvoiceItemsResponse.ts index c445291dd..c7da17bce 100644 --- a/src/gen/models/UpdateInvoiceItemsResponse.ts +++ b/src/gen/models/UpdateInvoiceItemsResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateInvoiceResponse.ts b/src/gen/models/UpdateInvoiceResponse.ts index 443d3286f..39e45bc4a 100644 --- a/src/gen/models/UpdateInvoiceResponse.ts +++ b/src/gen/models/UpdateInvoiceResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateItemResponse.ts b/src/gen/models/UpdateItemResponse.ts index b5f28bac2..4b6b546e6 100644 --- a/src/gen/models/UpdateItemResponse.ts +++ b/src/gen/models/UpdateItemResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateJobResponse.ts b/src/gen/models/UpdateJobResponse.ts index 18d60c533..7ef36103e 100644 --- a/src/gen/models/UpdateJobResponse.ts +++ b/src/gen/models/UpdateJobResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateJournalEntryResponse.ts b/src/gen/models/UpdateJournalEntryResponse.ts index 14abc97d7..b56a0c4f0 100644 --- a/src/gen/models/UpdateJournalEntryResponse.ts +++ b/src/gen/models/UpdateJournalEntryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLeadResponse.ts b/src/gen/models/UpdateLeadResponse.ts index d476a47e0..7283f91bc 100644 --- a/src/gen/models/UpdateLeadResponse.ts +++ b/src/gen/models/UpdateLeadResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLedgerAccountResponse.ts b/src/gen/models/UpdateLedgerAccountResponse.ts index 929fbf611..aa1943026 100644 --- a/src/gen/models/UpdateLedgerAccountResponse.ts +++ b/src/gen/models/UpdateLedgerAccountResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateLocationResponse.ts b/src/gen/models/UpdateLocationResponse.ts index 2e7ec4ae5..b6ac53f17 100644 --- a/src/gen/models/UpdateLocationResponse.ts +++ b/src/gen/models/UpdateLocationResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateMerchantResponse.ts b/src/gen/models/UpdateMerchantResponse.ts index b08a34ff1..ff2512953 100644 --- a/src/gen/models/UpdateMerchantResponse.ts +++ b/src/gen/models/UpdateMerchantResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateMessageResponse.ts b/src/gen/models/UpdateMessageResponse.ts index 181bcb3d3..916d511ff 100644 --- a/src/gen/models/UpdateMessageResponse.ts +++ b/src/gen/models/UpdateMessageResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateModifierGroupResponse.ts b/src/gen/models/UpdateModifierGroupResponse.ts index 0c56562d8..658907d3f 100644 --- a/src/gen/models/UpdateModifierGroupResponse.ts +++ b/src/gen/models/UpdateModifierGroupResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateModifierResponse.ts b/src/gen/models/UpdateModifierResponse.ts index 84339eb54..e51dfea28 100644 --- a/src/gen/models/UpdateModifierResponse.ts +++ b/src/gen/models/UpdateModifierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateNoteResponse.ts b/src/gen/models/UpdateNoteResponse.ts index 916c84b62..35be199fb 100644 --- a/src/gen/models/UpdateNoteResponse.ts +++ b/src/gen/models/UpdateNoteResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOpportunityResponse.ts b/src/gen/models/UpdateOpportunityResponse.ts index 316e42f0c..0b29e7c39 100644 --- a/src/gen/models/UpdateOpportunityResponse.ts +++ b/src/gen/models/UpdateOpportunityResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOrderResponse.ts b/src/gen/models/UpdateOrderResponse.ts index 61193d9ee..e3d6f5582 100644 --- a/src/gen/models/UpdateOrderResponse.ts +++ b/src/gen/models/UpdateOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateOrderTypeResponse.ts b/src/gen/models/UpdateOrderTypeResponse.ts index 11a7675a5..f3995b0fb 100644 --- a/src/gen/models/UpdateOrderTypeResponse.ts +++ b/src/gen/models/UpdateOrderTypeResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePaymentResponse.ts b/src/gen/models/UpdatePaymentResponse.ts index f829abc61..dc1633b45 100644 --- a/src/gen/models/UpdatePaymentResponse.ts +++ b/src/gen/models/UpdatePaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePipelineResponse.ts b/src/gen/models/UpdatePipelineResponse.ts index 29a860b4a..763d489b0 100644 --- a/src/gen/models/UpdatePipelineResponse.ts +++ b/src/gen/models/UpdatePipelineResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePosPaymentResponse.ts b/src/gen/models/UpdatePosPaymentResponse.ts index 9551a545b..891b34851 100644 --- a/src/gen/models/UpdatePosPaymentResponse.ts +++ b/src/gen/models/UpdatePosPaymentResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateProductResponse.ts b/src/gen/models/UpdateProductResponse.ts index d6a095459..bc8a9023e 100644 --- a/src/gen/models/UpdateProductResponse.ts +++ b/src/gen/models/UpdateProductResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdatePurchaseOrderResponse.ts b/src/gen/models/UpdatePurchaseOrderResponse.ts index 9f1ec1645..bc2f6dbc1 100644 --- a/src/gen/models/UpdatePurchaseOrderResponse.ts +++ b/src/gen/models/UpdatePurchaseOrderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSharedLinkResponse.ts b/src/gen/models/UpdateSharedLinkResponse.ts index 3b0ad68d4..6031d6eb4 100644 --- a/src/gen/models/UpdateSharedLinkResponse.ts +++ b/src/gen/models/UpdateSharedLinkResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSubsidiaryResponse.ts b/src/gen/models/UpdateSubsidiaryResponse.ts index 30b2aa4f1..6fd3b6c96 100644 --- a/src/gen/models/UpdateSubsidiaryResponse.ts +++ b/src/gen/models/UpdateSubsidiaryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateSupplierResponse.ts b/src/gen/models/UpdateSupplierResponse.ts index bdf3ea446..fff4e8218 100644 --- a/src/gen/models/UpdateSupplierResponse.ts +++ b/src/gen/models/UpdateSupplierResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTaxRateResponse.ts b/src/gen/models/UpdateTaxRateResponse.ts index fc8cf80eb..aef082b83 100644 --- a/src/gen/models/UpdateTaxRateResponse.ts +++ b/src/gen/models/UpdateTaxRateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTenderResponse.ts b/src/gen/models/UpdateTenderResponse.ts index ae0a6d900..4ac06754f 100644 --- a/src/gen/models/UpdateTenderResponse.ts +++ b/src/gen/models/UpdateTenderResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTicketResponse.ts b/src/gen/models/UpdateTicketResponse.ts index b339b5d88..787ba7242 100644 --- a/src/gen/models/UpdateTicketResponse.ts +++ b/src/gen/models/UpdateTicketResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTimeOffRequestResponse.ts b/src/gen/models/UpdateTimeOffRequestResponse.ts index fe1c27b51..6e3f999e1 100644 --- a/src/gen/models/UpdateTimeOffRequestResponse.ts +++ b/src/gen/models/UpdateTimeOffRequestResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateTrackingCategoryResponse.ts b/src/gen/models/UpdateTrackingCategoryResponse.ts index 4939825d5..17fc4f78b 100644 --- a/src/gen/models/UpdateTrackingCategoryResponse.ts +++ b/src/gen/models/UpdateTrackingCategoryResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateUploadSessionResponse.ts b/src/gen/models/UpdateUploadSessionResponse.ts index ef15d384e..310384d3c 100644 --- a/src/gen/models/UpdateUploadSessionResponse.ts +++ b/src/gen/models/UpdateUploadSessionResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateUserResponse.ts b/src/gen/models/UpdateUserResponse.ts index d603ec08e..e2a6cabd3 100644 --- a/src/gen/models/UpdateUserResponse.ts +++ b/src/gen/models/UpdateUserResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateWebhookRequest.ts b/src/gen/models/UpdateWebhookRequest.ts index cd0a6b9fd..4ee05b556 100644 --- a/src/gen/models/UpdateWebhookRequest.ts +++ b/src/gen/models/UpdateWebhookRequest.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UpdateWebhookResponse.ts b/src/gen/models/UpdateWebhookResponse.ts index 0bd083ca7..43b73ab3c 100644 --- a/src/gen/models/UpdateWebhookResponse.ts +++ b/src/gen/models/UpdateWebhookResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/UploadSession.ts b/src/gen/models/UploadSession.ts index be709510b..1d1d36b83 100644 --- a/src/gen/models/UploadSession.ts +++ b/src/gen/models/UploadSession.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/User.ts b/src/gen/models/User.ts index 2be0b1c7d..7ada78b01 100644 --- a/src/gen/models/User.ts +++ b/src/gen/models/User.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,7 @@ import { exists } from '../runtime' import { Address, AddressFromJSON, AddressToJSON } from './Address' +import { CustomMappings, CustomMappingsFromJSON, CustomMappingsToJSON } from './CustomMappings' import { Email, EmailFromJSON, EmailToJSON } from './Email' import { PassThroughBody, PassThroughBodyFromJSON, PassThroughBodyToJSON } from './PassThroughBody' import { PhoneNumber, PhoneNumberFromJSON, PhoneNumberToJSON } from './PhoneNumber' @@ -133,11 +134,11 @@ export interface User { */ phone_numbers?: Array /** - * When custom mappings are configured on the resource, the result is included here. - * @type {object} + * + * @type {CustomMappings} * @memberof User */ - readonly custom_mappings?: object | null + custom_mappings?: CustomMappings | null /** * The date and time when the user was last updated. * @type {string} @@ -189,7 +190,9 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User phone_numbers: !exists(json, 'phone_numbers') ? undefined : (json['phone_numbers'] as Array).map(PhoneNumberFromJSON), - custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'], + custom_mappings: !exists(json, 'custom_mappings') + ? undefined + : CustomMappingsFromJSON(json['custom_mappings']), updated_at: !exists(json, 'updated_at') ? undefined : json['updated_at'], created_at: !exists(json, 'created_at') ? undefined : json['created_at'], pass_through: !exists(json, 'pass_through') @@ -229,6 +232,7 @@ export function UserToJSON(value?: User | null): any { value.phone_numbers === undefined ? undefined : (value.phone_numbers as Array).map(PhoneNumberToJSON), + custom_mappings: CustomMappingsToJSON(value.custom_mappings), pass_through: PassThroughBodyToJSON(value.pass_through) } } diff --git a/src/gen/models/ValidateConnectionStateResponse.ts b/src/gen/models/ValidateConnectionStateResponse.ts index 8854c12c3..890c94588 100644 --- a/src/gen/models/ValidateConnectionStateResponse.ts +++ b/src/gen/models/ValidateConnectionStateResponse.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/ValidateConnectionStateResponseData.ts b/src/gen/models/ValidateConnectionStateResponseData.ts index 0bf3152df..5247d1e2b 100644 --- a/src/gen/models/ValidateConnectionStateResponseData.ts +++ b/src/gen/models/ValidateConnectionStateResponseData.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/VaultEventType.ts b/src/gen/models/VaultEventType.ts index b2d15338c..cc3cca183 100644 --- a/src/gen/models/VaultEventType.ts +++ b/src/gen/models/VaultEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/VirtualWebhooks.ts b/src/gen/models/VirtualWebhooks.ts index 9e545e9cf..2e0d5a621 100644 --- a/src/gen/models/VirtualWebhooks.ts +++ b/src/gen/models/VirtualWebhooks.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/VirtualWebhooksResources.ts b/src/gen/models/VirtualWebhooksResources.ts index cd7f0d6f7..7eed8daff 100644 --- a/src/gen/models/VirtualWebhooksResources.ts +++ b/src/gen/models/VirtualWebhooksResources.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WalletDetails.ts b/src/gen/models/WalletDetails.ts index cde71cb0e..5882ce98e 100644 --- a/src/gen/models/WalletDetails.ts +++ b/src/gen/models/WalletDetails.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Webhook.ts b/src/gen/models/Webhook.ts index abda7eea7..6b3ef921a 100644 --- a/src/gen/models/Webhook.ts +++ b/src/gen/models/Webhook.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEvent.ts b/src/gen/models/WebhookEvent.ts index 708c09d78..450d2ff1e 100644 --- a/src/gen/models/WebhookEvent.ts +++ b/src/gen/models/WebhookEvent.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLog.ts b/src/gen/models/WebhookEventLog.ts index ae61d0511..3a017215b 100644 --- a/src/gen/models/WebhookEventLog.ts +++ b/src/gen/models/WebhookEventLog.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogAttempts.ts b/src/gen/models/WebhookEventLogAttempts.ts index 9c01997ad..8482dfd7e 100644 --- a/src/gen/models/WebhookEventLogAttempts.ts +++ b/src/gen/models/WebhookEventLogAttempts.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogsFilter.ts b/src/gen/models/WebhookEventLogsFilter.ts index b23356d9e..c1423e373 100644 --- a/src/gen/models/WebhookEventLogsFilter.ts +++ b/src/gen/models/WebhookEventLogsFilter.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventLogsFilterService.ts b/src/gen/models/WebhookEventLogsFilterService.ts index a50bcec54..afaf809bf 100644 --- a/src/gen/models/WebhookEventLogsFilterService.ts +++ b/src/gen/models/WebhookEventLogsFilterService.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookEventType.ts b/src/gen/models/WebhookEventType.ts index 7a421058d..650f8a383 100644 --- a/src/gen/models/WebhookEventType.ts +++ b/src/gen/models/WebhookEventType.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookSubscription.ts b/src/gen/models/WebhookSubscription.ts index 16b39308c..ed9a9792f 100644 --- a/src/gen/models/WebhookSubscription.ts +++ b/src/gen/models/WebhookSubscription.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/WebhookSupport.ts b/src/gen/models/WebhookSupport.ts index 28ed8bd27..3c21e1dbe 100644 --- a/src/gen/models/WebhookSupport.ts +++ b/src/gen/models/WebhookSupport.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/Website.ts b/src/gen/models/Website.ts index 3e4972928..ff6cf4a59 100644 --- a/src/gen/models/Website.ts +++ b/src/gen/models/Website.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/models/index.ts b/src/gen/models/index.ts index da6056546..edc4e167b 100644 --- a/src/gen/models/index.ts +++ b/src/gen/models/index.ts @@ -49,6 +49,9 @@ export * from './BalanceSheetLiabilitiesAccount' export * from './BalanceSheetReports' export * from './BalanceSheetUncategorizedItemsAccount' export * from './BankAccount' +export * from './BankFeedAccount' +export * from './BankFeedStatement' +export * from './BankFeedStatementTransactions' export * from './Benefit' export * from './Bill' export * from './BillLineItem' @@ -106,6 +109,8 @@ export * from './CreateApplicantResponse' export * from './CreateApplicationResponse' export * from './CreateAttachmentRequest' export * from './CreateAttachmentResponse' +export * from './CreateBankFeedAccountResponse' +export * from './CreateBankFeedStatementResponse' export * from './CreateBillPaymentResponse' export * from './CreateBillResponse' export * from './CreateCallbackState' @@ -120,6 +125,8 @@ export * from './CreateCreditNoteResponse' export * from './CreateCustomerResponse' export * from './CreateCustomMappingRequest' export * from './CreateCustomMappingResponse' +export * from './CreateCustomObjectResponse' +export * from './CreateCustomObjectSchemaResponse' export * from './CreateDepartmentResponse' export * from './CreateDriveGroupResponse' export * from './CreateDriveResponse' @@ -171,6 +178,7 @@ export * from './CreateWebhookResponse' export * from './CreditNote' export * from './CreditNotesFilter' export * from './CreditNotesSort' +export * from './CreditOrDebit' export * from './CrmEventType' export * from './Currency' export * from './Customer' @@ -179,6 +187,14 @@ export * from './CustomersSort' export * from './CustomField' export * from './CustomFieldFinder' export * from './CustomMapping' +export * from './CustomMappings' +export * from './CustomObject' +export * from './CustomObjectFields' +export * from './CustomObjectSchema' +export * from './CustomObjectSchemaFields' +export * from './CustomObjectSchemaOptions' +export * from './CustomObjectSchemasSort' +export * from './CustomObjectsSort' export * from './Deduction' export * from './DeleteAccountingDepartmentResponse' export * from './DeleteAccountingLocationResponse' @@ -186,6 +202,8 @@ export * from './DeleteActivityResponse' export * from './DeleteApplicantResponse' export * from './DeleteApplicationResponse' export * from './DeleteAttachmentResponse' +export * from './DeleteBankFeedAccountResponse' +export * from './DeleteBankFeedStatementResponse' export * from './DeleteBillPaymentResponse' export * from './DeleteBillResponse' export * from './DeleteCommentResponse' @@ -194,6 +212,8 @@ export * from './DeleteConsumerResponse' export * from './DeleteContactResponse' export * from './DeleteCreditNoteResponse' export * from './DeleteCustomerResponse' +export * from './DeleteCustomObjectResponse' +export * from './DeleteCustomObjectSchemaResponse' export * from './DeleteDepartmentResponse' export * from './DeleteDriveGroupResponse' export * from './DeleteDriveResponse' @@ -250,6 +270,7 @@ export * from './EcommerceDiscount' export * from './EcommerceEventType' export * from './EcommerceOrder' export * from './EcommerceOrderLineItem' +export * from './EcommerceOrderRefund' export * from './EcommerceOrdersFilter' export * from './EcommerceOrderStatus' export * from './EcommerceProduct' @@ -308,6 +329,10 @@ export * from './GetApplicationsResponse' export * from './GetAttachmentResponse' export * from './GetAttachmentsResponse' export * from './GetBalanceSheetResponse' +export * from './GetBankFeedAccountResponse' +export * from './GetBankFeedAccountsResponse' +export * from './GetBankFeedStatementResponse' +export * from './GetBankFeedStatementsResponse' export * from './GetBillPaymentResponse' export * from './GetBillPaymentsResponse' export * from './GetBillResponse' @@ -342,6 +367,10 @@ export * from './GetCustomersResponse' export * from './GetCustomFieldsResponse' export * from './GetCustomMappingResponse' export * from './GetCustomMappingsResponse' +export * from './GetCustomObjectResponse' +export * from './GetCustomObjectSchemaResponse' +export * from './GetCustomObjectSchemasResponse' +export * from './GetCustomObjectsResponse' export * from './GetDepartmentResponse' export * from './GetDepartmentsResponse' export * from './GetDriveGroupResponse' @@ -453,6 +482,7 @@ export * from './InvoiceItemSalesDetails' export * from './InvoiceItemsFilter' export * from './InvoiceItemsSort' export * from './InvoiceLineItem' +export * from './InvoicePaymentAllocations' export * from './InvoiceResponse' export * from './InvoicesFilter' export * from './InvoicesSort' @@ -623,6 +653,8 @@ export * from './UpdateAccountingLocationResponse' export * from './UpdateActivityResponse' export * from './UpdateApplicantResponse' export * from './UpdateApplicationResponse' +export * from './UpdateBankFeedAccountResponse' +export * from './UpdateBankFeedStatementResponse' export * from './UpdateBillPaymentResponse' export * from './UpdateBillResponse' export * from './UpdateCommentResponse' @@ -635,6 +667,8 @@ export * from './UpdateCreditNoteResponse' export * from './UpdateCustomerResponse' export * from './UpdateCustomMappingRequest' export * from './UpdateCustomMappingResponse' +export * from './UpdateCustomObjectResponse' +export * from './UpdateCustomObjectSchemaResponse' export * from './UpdateDepartmentResponse' export * from './UpdateDriveGroupResponse' export * from './UpdateDriveResponse' diff --git a/src/gen/runtime.ts b/src/gen/runtime.ts index cebbba9d6..66316c766 100644 --- a/src/gen/runtime.ts +++ b/src/gen/runtime.ts @@ -4,7 +4,7 @@ * Apideck * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.13.0 + * The version of the OpenAPI document: 10.17.2 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/tests/apis/AccountingApiTest.api.test.ts b/src/gen/tests/apis/AccountingApiTest.api.test.ts index 4e3508bbb..496b78894 100644 --- a/src/gen/tests/apis/AccountingApiTest.api.test.ts +++ b/src/gen/tests/apis/AccountingApiTest.api.test.ts @@ -431,6 +431,610 @@ describe('AccountingApi', () => { }) }) + describe('#bankFeedAccountsAdd', () => { + const endpoint = '/accounting/bank-feed-accounts' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'bills', + operation: 'add', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + bankFeedAccount: { + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ] + } + } as any + const current = await accounting.bankFeedAccountsAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedAccountsAll', () => { + const endpoint = '/accounting/bank-feed-accounts' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-accounts', + operation: 'all', + data: [ + { + id: '12345', + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + custom_mappings: {}, + created_at: '2020-09-30T07:43:32.000Z', + updated_at: '2020-09-30T07:43:32.000Z', + updated_by: '12345', + created_by: '12345' + } + ], + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = {} as any + const current = await accounting.bankFeedAccountsAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedAccountsDelete', () => { + const endpoint = '/accounting/bank-feed-accounts/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-accounts', + operation: 'delete', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.bankFeedAccountsDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedAccountsOne', () => { + const endpoint = '/accounting/bank-feed-accounts/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-accounts', + operation: 'one', + data: { + id: '12345', + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], + custom_mappings: {}, + created_at: '2020-09-30T07:43:32.000Z', + updated_at: '2020-09-30T07:43:32.000Z', + updated_by: '12345', + created_by: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.bankFeedAccountsOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedAccountsUpdate', () => { + const endpoint = '/accounting/bank-feed-accounts/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-accounts', + operation: 'update', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example', + bankFeedAccount: { + bank_account_type: 'bank', + source_account_id: 'src_456', + target_account_id: 'tgt_789', + target_account_name: 'Main Company Checking', + target_account_number: 'NL91ABNA0417164300', + currency: 'USD', + feed_status: 'pending', + country: 'US', + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ] + } + } as any + const current = await accounting.bankFeedAccountsUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedStatementsAdd', () => { + const endpoint = '/accounting/bank-feed-statements' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'xero', + resource: 'bills', + operation: 'add', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + bankFeedStatement: { + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ] + } + } as any + const current = await accounting.bankFeedStatementsAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedStatementsAll', () => { + const endpoint = '/accounting/bank-feed-statements' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-statements', + operation: 'all', + data: [ + { + id: '12345', + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ], + created_at: '2020-09-30T07:43:32.000Z', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + updated_by: '12345' + } + ], + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = {} as any + const current = await accounting.bankFeedStatementsAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedStatementsDelete', () => { + const endpoint = '/accounting/bank-feed-statements/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-statements', + operation: 'delete', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.bankFeedStatementsDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedStatementsOne', () => { + const endpoint = '/accounting/bank-feed-statements/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-statements', + operation: 'one', + data: { + id: '12345', + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ], + created_at: '2020-09-30T07:43:32.000Z', + created_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + updated_by: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example' + } as any + const current = await accounting.bankFeedStatementsOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#bankFeedStatementsUpdate', () => { + const endpoint = '/accounting/bank-feed-statements/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'quickbooks', + resource: 'bank-feed-statements', + operation: 'update', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { accounting } = apideck + const params = { + id: 'id_example', + bankFeedStatement: { + bank_feed_account_id: 'acc_456', + status: 'pending', + start_date: '2021-05-01T12:00:00.000Z', + end_date: '2025-01-31T12:00:00.000Z', + start_balance: 10500.25, + start_balance_credit_or_debit: 'debit', + end_balance: 9800.5, + end_balance_credit_or_debit: 'debit', + transactions: [ + { + posted_date: '2025-01-15T12:00:00.000Z', + description: 'Payment received from ACME Corp', + amount: 250, + credit_or_debit: 'debit', + source_transaction_id: 'txn_987', + counterparty: 'ACME Corp', + reference: 'INV-2025-01', + transaction_type: 'payment' + } + ] + } + } as any + const current = await accounting.bankFeedStatementsUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + describe('#billPaymentsAdd', () => { const endpoint = '/accounting/bill-payments' @@ -1100,8 +1704,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -1278,8 +1882,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -1521,8 +2125,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -1729,8 +2333,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -2051,8 +2655,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -2252,8 +2856,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -2511,8 +3115,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -2743,8 +3347,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -3626,6 +4230,7 @@ describe('AccountingApi', () => { name: 'SpaceX' } ], + code: '123', row_version: '1-12345', pass_through: [ { @@ -3681,6 +4286,7 @@ describe('AccountingApi', () => { name: 'SpaceX' } ], + code: '123', custom_mappings: {}, row_version: '1-12345', updated_by: '12345', @@ -3798,6 +4404,7 @@ describe('AccountingApi', () => { name: 'SpaceX' } ], + code: '123', custom_mappings: {}, row_version: '1-12345', updated_by: '12345', @@ -3878,6 +4485,7 @@ describe('AccountingApi', () => { name: 'SpaceX' } ], + code: '123', row_version: '1-12345', pass_through: [ { @@ -3963,13 +4571,15 @@ describe('AccountingApi', () => { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', rate: 10 }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -4053,6 +4663,7 @@ describe('AccountingApi', () => { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', code: 'N-T', @@ -4061,7 +4672,8 @@ describe('AccountingApi', () => { }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -4076,6 +4688,8 @@ describe('AccountingApi', () => { updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', row_version: '1-12345', + updated_by: '12345', + created_by: '12345', pass_through: [ { service_id: 'string', @@ -4210,6 +4824,7 @@ describe('AccountingApi', () => { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', code: 'N-T', @@ -4218,7 +4833,8 @@ describe('AccountingApi', () => { }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -4233,6 +4849,8 @@ describe('AccountingApi', () => { updated_at: '2020-09-30T07:43:32.000Z', created_at: '2020-09-30T07:43:32.000Z', row_version: '1-12345', + updated_by: '12345', + created_by: '12345', pass_through: [ { service_id: 'string', @@ -4328,13 +4946,15 @@ describe('AccountingApi', () => { customer_id: '12345', department_id: '12345', location_id: '12345', + subsidiary_id: '12345', tax_rate: { id: '123456', rate: 10 }, description: 'Travel US.', total_amount: 275, - billable: true + billable: true, + line_number: 1 } ], custom_fields: [ @@ -4457,6 +5077,10 @@ describe('AccountingApi', () => { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', row_version: '1-12345', pass_through: [ { @@ -4566,6 +5190,10 @@ describe('AccountingApi', () => { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', custom_mappings: {}, row_version: '1-12345', updated_by: '12345', @@ -4737,6 +5365,10 @@ describe('AccountingApi', () => { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', custom_mappings: {}, row_version: '1-12345', updated_by: '12345', @@ -4865,6 +5497,10 @@ describe('AccountingApi', () => { } ], active: true, + department_id: '12345', + location_id: '12345', + subsidiary_id: '12345', + tax_schedule_id: '123456', row_version: '1-12345', pass_through: [ { @@ -4976,8 +5612,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -5063,6 +5699,13 @@ describe('AccountingApi', () => { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5196,8 +5839,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -5278,6 +5921,13 @@ describe('AccountingApi', () => { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5475,8 +6125,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -5569,6 +6219,13 @@ describe('AccountingApi', () => { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5727,8 +6384,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -5814,6 +6471,13 @@ describe('AccountingApi', () => { }, template_id: '123456', source_document_url: 'https://www.invoicesolution.com/invoice/123456', + payment_allocations: [ + { + id: '123456', + allocated_amount: 1000, + date: '2020-09-30T07:43:32.000Z' + } + ], payment_method: 'cash', channel: 'email', language: 'EN', @@ -5967,6 +6631,8 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 }, { @@ -6031,9 +6697,12 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -6195,6 +6864,7 @@ describe('AccountingApi', () => { line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -6478,6 +7148,7 @@ describe('AccountingApi', () => { line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -6638,6 +7309,8 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 }, { @@ -6702,9 +7375,12 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + department_id: '12345', + location_id: '12345', line_number: 1 } ], + status: 'draft', memo: 'Thank you for your business and have a great day!', posted_at: '2020-09-30T07:43:32.000Z', journal_symbol: 'IND', @@ -8567,6 +9243,7 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -8594,8 +9271,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -8685,6 +9362,14 @@ describe('AccountingApi', () => { name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', pass_through: [ { @@ -8766,6 +9451,7 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -8793,8 +9479,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -8881,6 +9567,14 @@ describe('AccountingApi', () => { } ], custom_mappings: {}, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', updated_by: '12345', created_by: '12345', @@ -9023,6 +9717,7 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -9050,8 +9745,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -9150,6 +9845,14 @@ describe('AccountingApi', () => { } ], custom_mappings: {}, + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', updated_by: '12345', created_by: '12345', @@ -9253,6 +9956,7 @@ describe('AccountingApi', () => { row_version: '1-12345' } }, + subsidiary_id: '12345', company_id: '12345', status: 'open', issued_date: '2020-09-30', @@ -9280,8 +9984,8 @@ describe('AccountingApi', () => { unit_of_measure: 'pc.', discount_percentage: 0.01, discount_amount: 19.99, - location_id: '1234', - department_id: '1234', + location_id: '12345', + department_id: '12345', item: { id: '12344', code: '120-C', @@ -9371,6 +10075,14 @@ describe('AccountingApi', () => { name: 'New York' } ], + custom_fields: [ + { + id: '2389328923893298', + name: 'employee_level', + description: 'Employee Level', + value: 'Uses Salesforce and Marketo' + } + ], row_version: '1-12345', pass_through: [ { diff --git a/src/gen/tests/apis/CrmApiTest.api.test.ts b/src/gen/tests/apis/CrmApiTest.api.test.ts index 46abb64c8..35f51a5a0 100644 --- a/src/gen/tests/apis/CrmApiTest.api.test.ts +++ b/src/gen/tests/apis/CrmApiTest.api.test.ts @@ -2037,6 +2037,706 @@ describe('CrmApi', () => { }) }) + describe('#customObjectSchemasAdd', () => { + const endpoint = '/crm/custom-object-schemas' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 201, + status: 'Created', + service: 'zoho-crm', + resource: 'custom-object-schemas', + operation: 'add', + data: { + id: 'cos_12345', + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + created_by: '12345', + updated_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + customObjectSchema: { + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await crm.customObjectSchemasAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectSchemasAll', () => { + const endpoint = '/crm/custom-object-schemas' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-object-schemas', + operation: 'all', + data: [ + { + id: 'cos_12345', + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [[Object]], + default_value: 'New Project' + } + ], + visible: true, + active: true, + created_by: '12345', + updated_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [[Object]] + } + ] + } + ], + _raw: {}, + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = {} as any + const current = await crm.customObjectSchemasAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectSchemasDelete', () => { + const endpoint = '/crm/custom-object-schemas/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-object-schemas', + operation: 'delete', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example' + } as any + const current = await crm.customObjectSchemasDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectSchemasOne', () => { + const endpoint = '/crm/custom-object-schemas/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-object-schemas', + operation: 'one', + data: { + id: 'cos_12345', + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + created_by: '12345', + updated_by: '12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example' + } as any + const current = await crm.customObjectSchemasOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectSchemasUpdate', () => { + const endpoint = '/crm/custom-object-schemas/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-object-schemas', + operation: 'update', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example', + customObjectSchema: { + name: 'project', + description: 'This schema defines a project custom object', + fields: [ + { + id: 'field_123', + name: 'project_name', + description: 'Name of the project', + type: 'string', + required: true, + options: [ + { + value: 'option1', + label: 'Option 1' + } + ], + default_value: 'New Project' + } + ], + visible: true, + active: true, + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await crm.customObjectSchemasUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectsAdd', () => { + const endpoint = '/crm/custom-objects/{object_id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-objects', + operation: 'add', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + objectId: 'object_id_example', + customObject: { + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await crm.customObjectsAdd(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectsAll', () => { + const endpoint = '/crm/custom-objects/{object_id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-objects', + operation: 'all', + data: [ + { + id: 'co_12345', + owner_id: 'user_12345', + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + updated_by: 'user_12345', + created_by: 'user_12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [[Object]] + } + ] + } + ], + _raw: {}, + meta: { + items_on_page: 50, + cursors: { + previous: 'em9oby1jcm06OnBhZ2U6OjE=', + current: 'em9oby1jcm06OnBhZ2U6OjI=', + next: 'em9oby1jcm06OnBhZ2U6OjM=' + } + }, + links: { + previous: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D', + current: 'https://unify.apideck.com/crm/companies', + next: 'https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM' + } + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + objectId: 'object_id_example' + } as any + const current = await crm.customObjectsAll(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectsDelete', () => { + const endpoint = '/crm/custom-objects/{object_id}/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-objects', + operation: 'delete', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example', + objectId: 'object_id_example' + } as any + const current = await crm.customObjectsDelete(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectsOne', () => { + const endpoint = '/crm/custom-objects/{object_id}/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-objects', + operation: 'one', + data: { + id: 'co_12345', + owner_id: 'user_12345', + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + updated_by: 'user_12345', + created_by: 'user_12345', + updated_at: '2020-09-30T07:43:32.000Z', + created_at: '2020-09-30T07:43:32.000Z', + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example', + objectId: 'object_id_example' + } as any + const current = await crm.customObjectsOne(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + + describe('#customObjectsUpdate', () => { + const endpoint = '/crm/custom-objects/{object_id}/{id}' + + const config = { + apiKey: 'REPLACE_WITH_API_KEY', + appId: 'REPLACE_WITH_APP_ID', + consumerId: 'REPLACE_WITH_CONSUMER_ID' + } + const apideck = new Apideck({ ...config, basePath: basePath }) + + afterEach(() => { + jest.clearAllMocks() + }) + + it('should call Apideck with expected params', async () => { + const mockedResponse: Record = { + status_code: 200, + status: 'OK', + service: 'zoho-crm', + resource: 'custom-objects', + operation: 'update', + data: { + id: '12345' + }, + _raw: {} + } as any + + ;(fetch as jest.MockedFunction).mockResolvedValueOnce( + Promise.resolve(new Response(JSON.stringify(mockedResponse))) + ) + + const { crm } = apideck + const params = { + id: 'id_example', + objectId: 'object_id_example', + customObject: { + name: 'project', + fields: [ + { + name: 'name', + value: 'string' + } + ], + pass_through: [ + { + service_id: 'string', + operation_id: 'string', + extend_object: {}, + extend_paths: [ + { + path: '$.nested.property', + value: [Object] + } + ] + } + ] + } + } as any + const current = await crm.customObjectsUpdate(params) + + expect(fetch).toHaveBeenCalledTimes(1) + }) + }) + describe('#leadsAdd', () => { const endpoint = '/crm/leads' @@ -2691,6 +3391,7 @@ describe('CrmApi', () => { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, pass_through: [ @@ -2744,6 +3445,7 @@ describe('CrmApi', () => { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, custom_mappings: {}, @@ -2859,6 +3561,7 @@ describe('CrmApi', () => { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, custom_mappings: {}, @@ -2938,6 +3641,7 @@ describe('CrmApi', () => { contact_id: '12345', company_id: '12345', opportunity_id: '12345', + activity_id: '12345', lead_id: '12345', active: true, pass_through: [ diff --git a/src/gen/tests/apis/EcommerceApiTest.api.test.ts b/src/gen/tests/apis/EcommerceApiTest.api.test.ts index 6c3ff9344..19cae06f2 100644 --- a/src/gen/tests/apis/EcommerceApiTest.api.test.ts +++ b/src/gen/tests/apis/EcommerceApiTest.api.test.ts @@ -317,6 +317,15 @@ describe('EcommerceApi', () => { } ], note: 'Special instructions for delivery', + refunds: [ + { + id: '12345', + amount: '100', + currency: 'USD', + reason: 'Customer requested a refund', + created_at: '2020-09-30T07:43:32.000Z' + } + ], custom_mappings: {}, created_at: '2020-09-30T07:43:32.000Z', updated_at: '2020-09-30T07:43:32.000Z' @@ -478,6 +487,15 @@ describe('EcommerceApi', () => { } ], note: 'Special instructions for delivery', + refunds: [ + { + id: '12345', + amount: '100', + currency: 'USD', + reason: 'Customer requested a refund', + created_at: '2020-09-30T07:43:32.000Z' + } + ], custom_mappings: {}, created_at: '2020-09-30T07:43:32.000Z', updated_at: '2020-09-30T07:43:32.000Z' diff --git a/src/gen/tests/apis/HrisApiTest.api.test.ts b/src/gen/tests/apis/HrisApiTest.api.test.ts index 69be252b7..bebb83d99 100644 --- a/src/gen/tests/apis/HrisApiTest.api.test.ts +++ b/src/gen/tests/apis/HrisApiTest.api.test.ts @@ -1005,6 +1005,7 @@ describe('HrisApi', () => { data: { employee: { id: '12345', + downstream_id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -1556,6 +1557,7 @@ describe('HrisApi', () => { data: [ { id: '12345', + downstream_id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', @@ -1871,6 +1873,7 @@ describe('HrisApi', () => { operation: 'one', data: { id: '12345', + downstream_id: '12345', first_name: 'Elon', last_name: 'Musk', middle_name: 'D.', diff --git a/yarn.lock b/yarn.lock index 3158167d5..1730f5910 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,89 +10,89 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.26.2", "@babel/code-frame@^7.5.5": - version "7.26.2" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" - integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.27.1", "@babel/code-frame@^7.5.5": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" + integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== dependencies: - "@babel/helper-validator-identifier" "^7.25.9" + "@babel/helper-validator-identifier" "^7.27.1" js-tokens "^4.0.0" - picocolors "^1.0.0" + picocolors "^1.1.1" -"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.26.5", "@babel/compat-data@^7.26.8": - version "7.26.8" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.8.tgz#821c1d35641c355284d4a870b8a4a7b0c141e367" - integrity sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ== +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.27.2": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.27.3.tgz#cc49c2ac222d69b889bf34c795f537c0c6311111" + integrity sha512-V42wFfx1ymFte+ecf6iXghnnP8kWTO+ZLXIyZq+1LAXHHvTZdVxicn4yiVYdYMGaCO3tmqub11AorKkv+iodqw== "@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9", "@babel/core@^7.4.4", "@babel/core@^7.7.5": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.10.tgz#5c876f83c8c4dcb233ee4b670c0606f2ac3000f9" - integrity sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ== + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.27.3.tgz#d7d05502bccede3cab36373ed142e6a1df554c2f" + integrity sha512-hyrN8ivxfvJ4i0fIJuV4EOlV0WDMz5Ui4StRTgVaAvWeiRCilXgwVvxJKtFQ3TKtHgJscB2YiXKGNJuVwhQMtA== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.26.2" - "@babel/generator" "^7.26.10" - "@babel/helper-compilation-targets" "^7.26.5" - "@babel/helper-module-transforms" "^7.26.0" - "@babel/helpers" "^7.26.10" - "@babel/parser" "^7.26.10" - "@babel/template" "^7.26.9" - "@babel/traverse" "^7.26.10" - "@babel/types" "^7.26.10" + "@babel/code-frame" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/helper-compilation-targets" "^7.27.2" + "@babel/helper-module-transforms" "^7.27.3" + "@babel/helpers" "^7.27.3" + "@babel/parser" "^7.27.3" + "@babel/template" "^7.27.2" + "@babel/traverse" "^7.27.3" + "@babel/types" "^7.27.3" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.26.10", "@babel/generator@^7.7.2": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.10.tgz#a60d9de49caca16744e6340c3658dfef6138c3f7" - integrity sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang== +"@babel/generator@^7.27.3", "@babel/generator@^7.7.2": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.3.tgz#ef1c0f7cfe3b5fc8cbb9f6cc69f93441a68edefc" + integrity sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q== dependencies: - "@babel/parser" "^7.26.10" - "@babel/types" "^7.26.10" + "@babel/parser" "^7.27.3" + "@babel/types" "^7.27.3" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" -"@babel/helper-annotate-as-pure@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz#d8eac4d2dc0d7b6e11fa6e535332e0d3184f06b4" - integrity sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g== +"@babel/helper-annotate-as-pure@^7.27.1": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz#f31fd86b915fc4daf1f3ac6976c59be7084ed9c5" + integrity sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg== dependencies: - "@babel/types" "^7.25.9" + "@babel/types" "^7.27.3" -"@babel/helper-compilation-targets@^7.10.4", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.25.9", "@babel/helper-compilation-targets@^7.26.5": - version "7.26.5" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz#75d92bb8d8d51301c0d49e52a65c9a7fe94514d8" - integrity sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA== +"@babel/helper-compilation-targets@^7.10.4", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.27.1", "@babel/helper-compilation-targets@^7.27.2": + version "7.27.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz#46a0f6efab808d51d29ce96858dd10ce8732733d" + integrity sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ== dependencies: - "@babel/compat-data" "^7.26.5" - "@babel/helper-validator-option" "^7.25.9" + "@babel/compat-data" "^7.27.2" + "@babel/helper-validator-option" "^7.27.1" browserslist "^4.24.0" lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.25.9": - version "7.26.9" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.26.9.tgz#d6f83e3039547fbb39967e78043cd3c8b7820c71" - integrity sha512-ubbUqCofvxPRurw5L8WTsCLSkQiVpov4Qx0WMA+jUN+nXBK8ADPlJO1grkFw5CWKC5+sZSOfuGMdX1aI1iT9Sg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.9" - "@babel/helper-member-expression-to-functions" "^7.25.9" - "@babel/helper-optimise-call-expression" "^7.25.9" - "@babel/helper-replace-supers" "^7.26.5" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9" - "@babel/traverse" "^7.26.9" +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.1.tgz#5bee4262a6ea5ddc852d0806199eb17ca3de9281" + integrity sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.27.1" + "@babel/helper-member-expression-to-functions" "^7.27.1" + "@babel/helper-optimise-call-expression" "^7.27.1" + "@babel/helper-replace-supers" "^7.27.1" + "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" + "@babel/traverse" "^7.27.1" semver "^6.3.1" -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.25.9": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.26.3.tgz#5169756ecbe1d95f7866b90bb555b022595302a0" - integrity sha512-G7ZRb40uUgdKOQqPLjfD12ZmGA54PzqDFUv2BKImnC9QIfGhIHKvVML0oN8IUiDq4iRqpq74ABpvOaerfWdong== +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.27.1.tgz#05b0882d97ba1d4d03519e4bce615d70afa18c53" + integrity sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.25.9" + "@babel/helper-annotate-as-pure" "^7.27.1" regexpu-core "^6.2.0" semver "^6.3.1" @@ -121,146 +121,146 @@ lodash.debounce "^4.0.8" resolve "^1.14.2" -"@babel/helper-member-expression-to-functions@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz#9dfffe46f727005a5ea29051ac835fb735e4c1a3" - integrity sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ== - dependencies: - "@babel/traverse" "^7.25.9" - "@babel/types" "^7.25.9" - -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz#e7f8d20602ebdbf9ebbea0a0751fb0f2a4141715" - integrity sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw== - dependencies: - "@babel/traverse" "^7.25.9" - "@babel/types" "^7.25.9" - -"@babel/helper-module-transforms@^7.25.9", "@babel/helper-module-transforms@^7.26.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz#8ce54ec9d592695e58d84cd884b7b5c6a2fdeeae" - integrity sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw== - dependencies: - "@babel/helper-module-imports" "^7.25.9" - "@babel/helper-validator-identifier" "^7.25.9" - "@babel/traverse" "^7.25.9" +"@babel/helper-member-expression-to-functions@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz#ea1211276be93e798ce19037da6f06fbb994fa44" + integrity sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA== + dependencies: + "@babel/traverse" "^7.27.1" + "@babel/types" "^7.27.1" + +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz#7ef769a323e2655e126673bb6d2d6913bbead204" + integrity sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w== + dependencies: + "@babel/traverse" "^7.27.1" + "@babel/types" "^7.27.1" + +"@babel/helper-module-transforms@^7.27.1", "@babel/helper-module-transforms@^7.27.3": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz#db0bbcfba5802f9ef7870705a7ef8788508ede02" + integrity sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg== + dependencies: + "@babel/helper-module-imports" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + "@babel/traverse" "^7.27.3" -"@babel/helper-optimise-call-expression@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz#3324ae50bae7e2ab3c33f60c9a877b6a0146b54e" - integrity sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ== +"@babel/helper-optimise-call-expression@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz#c65221b61a643f3e62705e5dd2b5f115e35f9200" + integrity sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw== dependencies: - "@babel/types" "^7.25.9" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.25.9", "@babel/helper-plugin-utils@^7.26.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.26.5" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz#18580d00c9934117ad719392c4f6585c9333cc35" - integrity sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg== - -"@babel/helper-remap-async-to-generator@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.9.tgz#e53956ab3d5b9fb88be04b3e2f31b523afd34b92" - integrity sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw== + "@babel/types" "^7.27.1" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.27.1", "@babel/helper-plugin-utils@^7.8.0": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz#ddb2f876534ff8013e6c2b299bf4d39b3c51d44c" + integrity sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw== + +"@babel/helper-remap-async-to-generator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz#4601d5c7ce2eb2aea58328d43725523fcd362ce6" + integrity sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA== dependencies: - "@babel/helper-annotate-as-pure" "^7.25.9" - "@babel/helper-wrap-function" "^7.25.9" - "@babel/traverse" "^7.25.9" + "@babel/helper-annotate-as-pure" "^7.27.1" + "@babel/helper-wrap-function" "^7.27.1" + "@babel/traverse" "^7.27.1" -"@babel/helper-replace-supers@^7.25.9", "@babel/helper-replace-supers@^7.26.5": - version "7.26.5" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.26.5.tgz#6cb04e82ae291dae8e72335dfe438b0725f14c8d" - integrity sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg== +"@babel/helper-replace-supers@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz#b1ed2d634ce3bdb730e4b52de30f8cccfd692bc0" + integrity sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA== dependencies: - "@babel/helper-member-expression-to-functions" "^7.25.9" - "@babel/helper-optimise-call-expression" "^7.25.9" - "@babel/traverse" "^7.26.5" + "@babel/helper-member-expression-to-functions" "^7.27.1" + "@babel/helper-optimise-call-expression" "^7.27.1" + "@babel/traverse" "^7.27.1" -"@babel/helper-skip-transparent-expression-wrappers@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz#0b2e1b62d560d6b1954893fd2b705dc17c91f0c9" - integrity sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA== +"@babel/helper-skip-transparent-expression-wrappers@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz#62bb91b3abba8c7f1fec0252d9dbea11b3ee7a56" + integrity sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg== dependencies: - "@babel/traverse" "^7.25.9" - "@babel/types" "^7.25.9" + "@babel/traverse" "^7.27.1" + "@babel/types" "^7.27.1" -"@babel/helper-string-parser@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c" - integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA== +"@babel/helper-string-parser@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" + integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== -"@babel/helper-validator-identifier@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" - integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== +"@babel/helper-validator-identifier@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" + integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== -"@babel/helper-validator-option@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz#86e45bd8a49ab7e03f276577f96179653d41da72" - integrity sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw== +"@babel/helper-validator-option@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz#fa52f5b1e7db1ab049445b421c4471303897702f" + integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== -"@babel/helper-wrap-function@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.25.9.tgz#d99dfd595312e6c894bd7d237470025c85eea9d0" - integrity sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g== +"@babel/helper-wrap-function@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.27.1.tgz#b88285009c31427af318d4fe37651cd62a142409" + integrity sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ== dependencies: - "@babel/template" "^7.25.9" - "@babel/traverse" "^7.25.9" - "@babel/types" "^7.25.9" + "@babel/template" "^7.27.1" + "@babel/traverse" "^7.27.1" + "@babel/types" "^7.27.1" -"@babel/helpers@^7.26.10": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.26.10.tgz#6baea3cd62ec2d0c1068778d63cb1314f6637384" - integrity sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g== +"@babel/helpers@^7.27.3": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.27.3.tgz#387d65d279290e22fe7a47a8ffcd2d0c0184edd0" + integrity sha512-h/eKy9agOya1IGuLaZ9tEUgz+uIRXcbtOhRtUyyMf8JFmn1iT13vnl/IGVWSkdOCG/pC57U4S1jnAabAavTMwg== dependencies: - "@babel/template" "^7.26.9" - "@babel/types" "^7.26.10" + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.3" -"@babel/parser@^7.1.0", "@babel/parser@^7.11.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.26.10", "@babel/parser@^7.26.9", "@babel/parser@^7.7.0": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.10.tgz#e9bdb82f14b97df6569b0b038edd436839c57749" - integrity sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA== +"@babel/parser@^7.1.0", "@babel/parser@^7.11.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.27.2", "@babel/parser@^7.27.3", "@babel/parser@^7.7.0": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.27.3.tgz#1b7533f0d908ad2ac545c4d05cbe2fb6dc8cfaaf" + integrity sha512-xyYxRj6+tLNDTWi0KCBcZ9V7yg3/lwL9DWh9Uwh/RIVlIfFidggcgxKX3GCXwCiswwcGRawBKbEg2LG/Y8eJhw== dependencies: - "@babel/types" "^7.26.10" - -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.9.tgz#cc2e53ebf0a0340777fff5ed521943e253b4d8fe" - integrity sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g== + "@babel/types" "^7.27.3" + +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.27.1.tgz#61dd8a8e61f7eb568268d1b5f129da3eee364bf9" + integrity sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/traverse" "^7.25.9" - -"@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.9.tgz#af9e4fb63ccb8abcb92375b2fcfe36b60c774d30" - integrity sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw== + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/traverse" "^7.27.1" + +"@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.27.1.tgz#43f70a6d7efd52370eefbdf55ae03d91b293856d" + integrity sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.9.tgz#e8dc26fcd616e6c5bf2bd0d5a2c151d4f92a9137" - integrity sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug== - dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.27.1.tgz#beb623bd573b8b6f3047bd04c32506adc3e58a72" + integrity sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA== + dependencies: + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.9.tgz#807a667f9158acac6f6164b4beb85ad9ebc9e1d1" - integrity sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g== +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.27.1.tgz#e134a5479eb2ba9c02714e8c1ebf1ec9076124fd" + integrity sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9" - "@babel/plugin-transform-optional-chaining" "^7.25.9" - -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.9.tgz#de7093f1e7deaf68eadd7cc6b07f2ab82543269e" - integrity sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg== - dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/traverse" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" + "@babel/plugin-transform-optional-chaining" "^7.27.1" + +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.27.1.tgz#bb1c25af34d75115ce229a1de7fa44bf8f955670" + integrity sha512-6BpaYGDavZqkI6yT+KSPdpZFfpnd68UKXbcjI9pJ13pvHhPrCKWOOLp+ysvMeA+DxnhuPpgIaRpxRxo5A9t5jw== + dependencies: + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/traverse" "^7.27.1" "@babel/plugin-proposal-class-properties@^7.4.4": version "7.18.6" @@ -303,19 +303,19 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-import-assertions@^7.26.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz#620412405058efa56e4a564903b79355020f445f" - integrity sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg== +"@babel/plugin-syntax-import-assertions@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz#88894aefd2b03b5ee6ad1562a7c8e1587496aecd" + integrity sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-syntax-import-attributes@^7.24.7", "@babel/plugin-syntax-import-attributes@^7.26.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz#3b1412847699eea739b4f2602c74ce36f6b0b0f7" - integrity sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A== +"@babel/plugin-syntax-import-attributes@^7.24.7", "@babel/plugin-syntax-import-attributes@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz#34c017d54496f9b11b61474e7ea3dfd5563ffe07" + integrity sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" "@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" @@ -332,11 +332,11 @@ "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-jsx@^7.7.2": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz#a34313a178ea56f1951599b929c1ceacee719290" - integrity sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA== + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz#2f9beb5eff30fa507c5532d107daac7b888fa34c" + integrity sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" "@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" @@ -395,11 +395,11 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz#67dda2b74da43727cf21d46cf9afef23f4365399" - integrity sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ== + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz#5147d29066a793450f220c63fa3a9431b7e6dd18" + integrity sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" "@babel/plugin-syntax-unicode-sets-regex@^7.18.6": version "7.18.6" @@ -409,461 +409,461 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.9.tgz#7821d4410bee5daaadbb4cdd9a6649704e176845" - integrity sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg== +"@babel/plugin-transform-arrow-functions@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz#6e2061067ba3ab0266d834a9f94811196f2aba9a" + integrity sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-async-generator-functions@^7.26.8": - version "7.26.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.26.8.tgz#5e3991135e3b9c6eaaf5eff56d1ae5a11df45ff8" - integrity sha512-He9Ej2X7tNf2zdKMAGOsmg2MrFc+hfoAhd3po4cWfo/NWjzEAKa0oQruj1ROVUdl0e6fb6/kE/G3SSxE0lRJOg== +"@babel/plugin-transform-async-generator-functions@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.27.1.tgz#ca433df983d68e1375398e7ca71bf2a4f6fd89d7" + integrity sha512-eST9RrwlpaoJBDHShc+DS2SG4ATTi2MYNb4OxYkf3n+7eb49LWpnS+HSpVfW4x927qQwgk8A2hGNVaajAEw0EA== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" - "@babel/helper-remap-async-to-generator" "^7.25.9" - "@babel/traverse" "^7.26.8" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-remap-async-to-generator" "^7.27.1" + "@babel/traverse" "^7.27.1" -"@babel/plugin-transform-async-to-generator@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz#c80008dacae51482793e5a9c08b39a5be7e12d71" - integrity sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ== +"@babel/plugin-transform-async-to-generator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz#9a93893b9379b39466c74474f55af03de78c66e7" + integrity sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA== dependencies: - "@babel/helper-module-imports" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-remap-async-to-generator" "^7.25.9" + "@babel/helper-module-imports" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-remap-async-to-generator" "^7.27.1" -"@babel/plugin-transform-block-scoped-functions@^7.26.5": - version "7.26.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.26.5.tgz#3dc4405d31ad1cbe45293aa57205a6e3b009d53e" - integrity sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ== +"@babel/plugin-transform-block-scoped-functions@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.27.1.tgz#558a9d6e24cf72802dd3b62a4b51e0d62c0f57f9" + integrity sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-block-scoping@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.9.tgz#c33665e46b06759c93687ca0f84395b80c0473a1" - integrity sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg== +"@babel/plugin-transform-block-scoping@^7.27.1": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.27.3.tgz#a21f37e222dc0a7b91c3784fa3bd4edf8d7a6dc1" + integrity sha512-+F8CnfhuLhwUACIJMLWnjz6zvzYM2r0yeIHKlbgfw7ml8rOMJsXNXV/hyRcb3nb493gRs4WvYpQAndWj/qQmkQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-class-properties@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.9.tgz#a8ce84fedb9ad512549984101fa84080a9f5f51f" - integrity sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q== +"@babel/plugin-transform-class-properties@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz#dd40a6a370dfd49d32362ae206ddaf2bb082a925" + integrity sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-class-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-class-static-block@^7.26.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.26.0.tgz#6c8da219f4eb15cae9834ec4348ff8e9e09664a0" - integrity sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ== +"@babel/plugin-transform-class-static-block@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.27.1.tgz#7e920d5625b25bbccd3061aefbcc05805ed56ce4" + integrity sha512-s734HmYU78MVzZ++joYM+NkJusItbdRcbm+AGRgJCt3iA+yux0QpD9cBVdz3tKyrjVYWRl7j0mHSmv4lhV0aoA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-class-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-classes@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.9.tgz#7152457f7880b593a63ade8a861e6e26a4469f52" - integrity sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg== +"@babel/plugin-transform-classes@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.27.1.tgz#03bb04bea2c7b2f711f0db7304a8da46a85cced4" + integrity sha512-7iLhfFAubmpeJe/Wo2TVuDrykh/zlWXLzPNdL0Jqn/Xu8R3QQ8h9ff8FQoISZOsw74/HFqFI7NX63HN7QFIHKA== dependencies: - "@babel/helper-annotate-as-pure" "^7.25.9" - "@babel/helper-compilation-targets" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-replace-supers" "^7.25.9" - "@babel/traverse" "^7.25.9" + "@babel/helper-annotate-as-pure" "^7.27.1" + "@babel/helper-compilation-targets" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-replace-supers" "^7.27.1" + "@babel/traverse" "^7.27.1" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.9.tgz#db36492c78460e534b8852b1d5befe3c923ef10b" - integrity sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA== +"@babel/plugin-transform-computed-properties@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz#81662e78bf5e734a97982c2b7f0a793288ef3caa" + integrity sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/template" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/template" "^7.27.1" -"@babel/plugin-transform-destructuring@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.9.tgz#966ea2595c498224340883602d3cfd7a0c79cea1" - integrity sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ== +"@babel/plugin-transform-destructuring@^7.27.1", "@babel/plugin-transform-destructuring@^7.27.3": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.27.3.tgz#3cc8299ed798d9a909f8d66ddeb40849ec32e3b0" + integrity sha512-s4Jrok82JpiaIprtY2nHsYmrThKvvwgHwjgd7UMiYhZaN0asdXNLr0y+NjTfkA7SyQE5i2Fb7eawUOZmLvyqOA== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-dotall-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.9.tgz#bad7945dd07734ca52fe3ad4e872b40ed09bb09a" - integrity sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA== +"@babel/plugin-transform-dotall-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.27.1.tgz#aa6821de864c528b1fecf286f0a174e38e826f4d" + integrity sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-duplicate-keys@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.9.tgz#8850ddf57dce2aebb4394bb434a7598031059e6d" - integrity sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw== +"@babel/plugin-transform-duplicate-keys@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.27.1.tgz#f1fbf628ece18e12e7b32b175940e68358f546d1" + integrity sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.9.tgz#6f7259b4de127721a08f1e5165b852fcaa696d31" - integrity sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog== +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.27.1.tgz#5043854ca620a94149372e69030ff8cb6a9eb0ec" + integrity sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-dynamic-import@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.9.tgz#23e917de63ed23c6600c5dd06d94669dce79f7b8" - integrity sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg== +"@babel/plugin-transform-dynamic-import@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.27.1.tgz#4c78f35552ac0e06aa1f6e3c573d67695e8af5a4" + integrity sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-exponentiation-operator@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.26.3.tgz#e29f01b6de302c7c2c794277a48f04a9ca7f03bc" - integrity sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ== +"@babel/plugin-transform-exponentiation-operator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.27.1.tgz#fc497b12d8277e559747f5a3ed868dd8064f83e1" + integrity sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-export-namespace-from@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.9.tgz#90745fe55053394f554e40584cda81f2c8a402a2" - integrity sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww== +"@babel/plugin-transform-export-namespace-from@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz#71ca69d3471edd6daa711cf4dfc3400415df9c23" + integrity sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-for-of@^7.26.9": - version "7.26.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.26.9.tgz#27231f79d5170ef33b5111f07fe5cafeb2c96a56" - integrity sha512-Hry8AusVm8LW5BVFgiyUReuoGzPUpdHQQqJY5bZnbbf+ngOHWuCuYFKw/BqaaWlvEUrF91HMhDtEaI1hZzNbLg== +"@babel/plugin-transform-for-of@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz#bc24f7080e9ff721b63a70ac7b2564ca15b6c40a" + integrity sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" -"@babel/plugin-transform-function-name@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.9.tgz#939d956e68a606661005bfd550c4fc2ef95f7b97" - integrity sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA== +"@babel/plugin-transform-function-name@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz#4d0bf307720e4dce6d7c30fcb1fd6ca77bdeb3a7" + integrity sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ== dependencies: - "@babel/helper-compilation-targets" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/traverse" "^7.25.9" + "@babel/helper-compilation-targets" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/traverse" "^7.27.1" -"@babel/plugin-transform-json-strings@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.9.tgz#c86db407cb827cded902a90c707d2781aaa89660" - integrity sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw== +"@babel/plugin-transform-json-strings@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.27.1.tgz#a2e0ce6ef256376bd527f290da023983527a4f4c" + integrity sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-literals@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.9.tgz#1a1c6b4d4aa59bc4cad5b6b3a223a0abd685c9de" - integrity sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ== +"@babel/plugin-transform-literals@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz#baaefa4d10a1d4206f9dcdda50d7d5827bb70b24" + integrity sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-logical-assignment-operators@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.9.tgz#b19441a8c39a2fda0902900b306ea05ae1055db7" - integrity sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q== +"@babel/plugin-transform-logical-assignment-operators@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.27.1.tgz#890cb20e0270e0e5bebe3f025b434841c32d5baa" + integrity sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-member-expression-literals@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.9.tgz#63dff19763ea64a31f5e6c20957e6a25e41ed5de" - integrity sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA== +"@babel/plugin-transform-member-expression-literals@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.27.1.tgz#37b88ba594d852418e99536f5612f795f23aeaf9" + integrity sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-modules-amd@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.9.tgz#49ba478f2295101544abd794486cd3088dddb6c5" - integrity sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw== +"@babel/plugin-transform-modules-amd@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.27.1.tgz#a4145f9d87c2291fe2d05f994b65dba4e3e7196f" + integrity sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA== dependencies: - "@babel/helper-module-transforms" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-module-transforms" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-modules-commonjs@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.26.3.tgz#8f011d44b20d02c3de44d8850d971d8497f981fb" - integrity sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ== +"@babel/plugin-transform-modules-commonjs@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz#8e44ed37c2787ecc23bdc367f49977476614e832" + integrity sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw== dependencies: - "@babel/helper-module-transforms" "^7.26.0" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-module-transforms" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-modules-systemjs@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz#8bd1b43836269e3d33307151a114bcf3ba6793f8" - integrity sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA== +"@babel/plugin-transform-modules-systemjs@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.27.1.tgz#00e05b61863070d0f3292a00126c16c0e024c4ed" + integrity sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA== dependencies: - "@babel/helper-module-transforms" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-validator-identifier" "^7.25.9" - "@babel/traverse" "^7.25.9" + "@babel/helper-module-transforms" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + "@babel/traverse" "^7.27.1" -"@babel/plugin-transform-modules-umd@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.9.tgz#6710079cdd7c694db36529a1e8411e49fcbf14c9" - integrity sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw== +"@babel/plugin-transform-modules-umd@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.27.1.tgz#63f2cf4f6dc15debc12f694e44714863d34cd334" + integrity sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w== dependencies: - "@babel/helper-module-transforms" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-module-transforms" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-named-capturing-groups-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.9.tgz#454990ae6cc22fd2a0fa60b3a2c6f63a38064e6a" - integrity sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA== +"@babel/plugin-transform-named-capturing-groups-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz#f32b8f7818d8fc0cc46ee20a8ef75f071af976e1" + integrity sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-new-target@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.9.tgz#42e61711294b105c248336dcb04b77054ea8becd" - integrity sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ== +"@babel/plugin-transform-new-target@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.27.1.tgz#259c43939728cad1706ac17351b7e6a7bea1abeb" + integrity sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-nullish-coalescing-operator@^7.26.6": - version "7.26.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.26.6.tgz#fbf6b3c92cb509e7b319ee46e3da89c5bedd31fe" - integrity sha512-CKW8Vu+uUZneQCPtXmSBUC6NCAUdya26hWCElAWh5mVSlSRsmiCPUUDKb3Z0szng1hiAJa098Hkhg9o4SE35Qw== +"@babel/plugin-transform-nullish-coalescing-operator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz#4f9d3153bf6782d73dd42785a9d22d03197bc91d" + integrity sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-numeric-separator@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.9.tgz#bfed75866261a8b643468b0ccfd275f2033214a1" - integrity sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q== +"@babel/plugin-transform-numeric-separator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz#614e0b15cc800e5997dadd9bd6ea524ed6c819c6" + integrity sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-object-rest-spread@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.9.tgz#0203725025074164808bcf1a2cfa90c652c99f18" - integrity sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg== +"@babel/plugin-transform-object-rest-spread@^7.27.2": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.27.3.tgz#ce130aa73fef828bc3e3e835f9bc6144be3eb1c0" + integrity sha512-7ZZtznF9g4l2JCImCo5LNKFHB5eXnN39lLtLY5Tg+VkR0jwOt7TBciMckuiQIOIW7L5tkQOCh3bVGYeXgMx52Q== dependencies: - "@babel/helper-compilation-targets" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/plugin-transform-parameters" "^7.25.9" + "@babel/helper-compilation-targets" "^7.27.2" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/plugin-transform-destructuring" "^7.27.3" + "@babel/plugin-transform-parameters" "^7.27.1" -"@babel/plugin-transform-object-super@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.9.tgz#385d5de135162933beb4a3d227a2b7e52bb4cf03" - integrity sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A== +"@babel/plugin-transform-object-super@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.27.1.tgz#1c932cd27bf3874c43a5cac4f43ebf970c9871b5" + integrity sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-replace-supers" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-replace-supers" "^7.27.1" -"@babel/plugin-transform-optional-catch-binding@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.9.tgz#10e70d96d52bb1f10c5caaac59ac545ea2ba7ff3" - integrity sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g== +"@babel/plugin-transform-optional-catch-binding@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz#84c7341ebde35ccd36b137e9e45866825072a30c" + integrity sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-optional-chaining@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz#e142eb899d26ef715435f201ab6e139541eee7dd" - integrity sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A== +"@babel/plugin-transform-optional-chaining@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.27.1.tgz#874ce3c4f06b7780592e946026eb76a32830454f" + integrity sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" -"@babel/plugin-transform-parameters@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz#b856842205b3e77e18b7a7a1b94958069c7ba257" - integrity sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g== +"@babel/plugin-transform-parameters@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.1.tgz#80334b54b9b1ac5244155a0c8304a187a618d5a7" + integrity sha512-018KRk76HWKeZ5l4oTj2zPpSh+NbGdt0st5S6x0pga6HgrjBOJb24mMDHorFopOOd6YHkLgOZ+zaCjZGPO4aKg== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-private-methods@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz#847f4139263577526455d7d3223cd8bda51e3b57" - integrity sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw== +"@babel/plugin-transform-private-methods@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz#fdacbab1c5ed81ec70dfdbb8b213d65da148b6af" + integrity sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-class-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-private-property-in-object@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.9.tgz#9c8b73e64e6cc3cbb2743633885a7dd2c385fe33" - integrity sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw== +"@babel/plugin-transform-private-property-in-object@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz#4dbbef283b5b2f01a21e81e299f76e35f900fb11" + integrity sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.25.9" - "@babel/helper-create-class-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-annotate-as-pure" "^7.27.1" + "@babel/helper-create-class-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-property-literals@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.9.tgz#d72d588bd88b0dec8b62e36f6fda91cedfe28e3f" - integrity sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA== +"@babel/plugin-transform-property-literals@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.27.1.tgz#07eafd618800591e88073a0af1b940d9a42c6424" + integrity sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-regenerator@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.9.tgz#03a8a4670d6cebae95305ac6defac81ece77740b" - integrity sha512-vwDcDNsgMPDGP0nMqzahDWE5/MLcX8sv96+wfX7as7LoF/kr97Bo/7fI00lXY4wUXYfVmwIIyG80fGZ1uvt2qg== +"@babel/plugin-transform-regenerator@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.27.1.tgz#0a471df9213416e44cd66bf67176b66f65768401" + integrity sha512-B19lbbL7PMrKr52BNPjCqg1IyNUIjTcxKj8uX9zHO+PmWN93s19NDr/f69mIkEp2x9nmDJ08a7lgHaTTzvW7mw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - regenerator-transform "^0.15.2" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-regexp-modifiers@^7.26.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.26.0.tgz#2f5837a5b5cd3842a919d8147e9903cc7455b850" - integrity sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw== +"@babel/plugin-transform-regexp-modifiers@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.27.1.tgz#df9ba5577c974e3f1449888b70b76169998a6d09" + integrity sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-reserved-words@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.9.tgz#0398aed2f1f10ba3f78a93db219b27ef417fb9ce" - integrity sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg== +"@babel/plugin-transform-reserved-words@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.27.1.tgz#40fba4878ccbd1c56605a4479a3a891ac0274bb4" + integrity sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-shorthand-properties@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz#bb785e6091f99f826a95f9894fc16fde61c163f2" - integrity sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng== +"@babel/plugin-transform-shorthand-properties@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz#532abdacdec87bfee1e0ef8e2fcdee543fe32b90" + integrity sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-spread@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.9.tgz#24a35153931b4ba3d13cec4a7748c21ab5514ef9" - integrity sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A== +"@babel/plugin-transform-spread@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz#1a264d5fc12750918f50e3fe3e24e437178abb08" + integrity sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" -"@babel/plugin-transform-sticky-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.9.tgz#c7f02b944e986a417817b20ba2c504dfc1453d32" - integrity sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA== +"@babel/plugin-transform-sticky-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz#18984935d9d2296843a491d78a014939f7dcd280" + integrity sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-template-literals@^7.26.8": - version "7.26.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.26.8.tgz#966b15d153a991172a540a69ad5e1845ced990b5" - integrity sha512-OmGDL5/J0CJPJZTHZbi2XpO0tyT2Ia7fzpW5GURwdtp2X3fMmN8au/ej6peC/T33/+CRiIpA8Krse8hFGVmT5Q== +"@babel/plugin-transform-template-literals@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz#1a0eb35d8bb3e6efc06c9fd40eb0bcef548328b8" + integrity sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-typeof-symbol@^7.26.7": - version "7.26.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.26.7.tgz#d0e33acd9223744c1e857dbd6fa17bd0a3786937" - integrity sha512-jfoTXXZTgGg36BmhqT3cAYK5qkmqvJpvNrPhaK/52Vgjhw4Rq29s9UqpWWV0D6yuRmgiFH/BUVlkl96zJWqnaw== +"@babel/plugin-transform-typeof-symbol@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.27.1.tgz#70e966bb492e03509cf37eafa6dcc3051f844369" + integrity sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw== dependencies: - "@babel/helper-plugin-utils" "^7.26.5" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-unicode-escapes@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz#a75ef3947ce15363fccaa38e2dd9bc70b2788b82" - integrity sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q== +"@babel/plugin-transform-unicode-escapes@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz#3e3143f8438aef842de28816ece58780190cf806" + integrity sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg== dependencies: - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-unicode-property-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.9.tgz#a901e96f2c1d071b0d1bb5dc0d3c880ce8f53dd3" - integrity sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg== +"@babel/plugin-transform-unicode-property-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.27.1.tgz#bdfe2d3170c78c5691a3c3be934c8c0087525956" + integrity sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-unicode-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.9.tgz#5eae747fe39eacf13a8bd006a4fb0b5d1fa5e9b1" - integrity sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA== +"@babel/plugin-transform-unicode-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz#25948f5c395db15f609028e370667ed8bae9af97" + integrity sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-unicode-sets-regex@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.9.tgz#65114c17b4ffc20fa5b163c63c70c0d25621fabe" - integrity sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ== +"@babel/plugin-transform-unicode-sets-regex@^7.27.1": + version "7.27.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.27.1.tgz#6ab706d10f801b5c72da8bb2548561fa04193cd1" + integrity sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.9" - "@babel/helper-plugin-utils" "^7.25.9" + "@babel/helper-create-regexp-features-plugin" "^7.27.1" + "@babel/helper-plugin-utils" "^7.27.1" "@babel/preset-env@^7.11.0": - version "7.26.9" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.26.9.tgz#2ec64e903d0efe743699f77a10bdf7955c2123c3" - integrity sha512-vX3qPGE8sEKEAZCWk05k3cpTAE3/nOYca++JA+Rd0z2NCNzabmYvEiSShKzm10zdquOIAVXsy2Ei/DTW34KlKQ== - dependencies: - "@babel/compat-data" "^7.26.8" - "@babel/helper-compilation-targets" "^7.26.5" - "@babel/helper-plugin-utils" "^7.26.5" - "@babel/helper-validator-option" "^7.25.9" - "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.25.9" - "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.25.9" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.25.9" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.25.9" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.25.9" + version "7.27.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.27.2.tgz#106e6bfad92b591b1f6f76fd4cf13b7725a7bf9a" + integrity sha512-Ma4zSuYSlGNRlCLO+EAzLnCmJK2vdstgv+n7aUP+/IKZrOfWHOJVdSJtuub8RzHTj3ahD37k5OKJWvzf16TQyQ== + dependencies: + "@babel/compat-data" "^7.27.2" + "@babel/helper-compilation-targets" "^7.27.2" + "@babel/helper-plugin-utils" "^7.27.1" + "@babel/helper-validator-option" "^7.27.1" + "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.27.1" + "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.27.1" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.27.1" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.27.1" + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.27.1" "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" - "@babel/plugin-syntax-import-assertions" "^7.26.0" - "@babel/plugin-syntax-import-attributes" "^7.26.0" + "@babel/plugin-syntax-import-assertions" "^7.27.1" + "@babel/plugin-syntax-import-attributes" "^7.27.1" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" - "@babel/plugin-transform-arrow-functions" "^7.25.9" - "@babel/plugin-transform-async-generator-functions" "^7.26.8" - "@babel/plugin-transform-async-to-generator" "^7.25.9" - "@babel/plugin-transform-block-scoped-functions" "^7.26.5" - "@babel/plugin-transform-block-scoping" "^7.25.9" - "@babel/plugin-transform-class-properties" "^7.25.9" - "@babel/plugin-transform-class-static-block" "^7.26.0" - "@babel/plugin-transform-classes" "^7.25.9" - "@babel/plugin-transform-computed-properties" "^7.25.9" - "@babel/plugin-transform-destructuring" "^7.25.9" - "@babel/plugin-transform-dotall-regex" "^7.25.9" - "@babel/plugin-transform-duplicate-keys" "^7.25.9" - "@babel/plugin-transform-duplicate-named-capturing-groups-regex" "^7.25.9" - "@babel/plugin-transform-dynamic-import" "^7.25.9" - "@babel/plugin-transform-exponentiation-operator" "^7.26.3" - "@babel/plugin-transform-export-namespace-from" "^7.25.9" - "@babel/plugin-transform-for-of" "^7.26.9" - "@babel/plugin-transform-function-name" "^7.25.9" - "@babel/plugin-transform-json-strings" "^7.25.9" - "@babel/plugin-transform-literals" "^7.25.9" - "@babel/plugin-transform-logical-assignment-operators" "^7.25.9" - "@babel/plugin-transform-member-expression-literals" "^7.25.9" - "@babel/plugin-transform-modules-amd" "^7.25.9" - "@babel/plugin-transform-modules-commonjs" "^7.26.3" - "@babel/plugin-transform-modules-systemjs" "^7.25.9" - "@babel/plugin-transform-modules-umd" "^7.25.9" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.25.9" - "@babel/plugin-transform-new-target" "^7.25.9" - "@babel/plugin-transform-nullish-coalescing-operator" "^7.26.6" - "@babel/plugin-transform-numeric-separator" "^7.25.9" - "@babel/plugin-transform-object-rest-spread" "^7.25.9" - "@babel/plugin-transform-object-super" "^7.25.9" - "@babel/plugin-transform-optional-catch-binding" "^7.25.9" - "@babel/plugin-transform-optional-chaining" "^7.25.9" - "@babel/plugin-transform-parameters" "^7.25.9" - "@babel/plugin-transform-private-methods" "^7.25.9" - "@babel/plugin-transform-private-property-in-object" "^7.25.9" - "@babel/plugin-transform-property-literals" "^7.25.9" - "@babel/plugin-transform-regenerator" "^7.25.9" - "@babel/plugin-transform-regexp-modifiers" "^7.26.0" - "@babel/plugin-transform-reserved-words" "^7.25.9" - "@babel/plugin-transform-shorthand-properties" "^7.25.9" - "@babel/plugin-transform-spread" "^7.25.9" - "@babel/plugin-transform-sticky-regex" "^7.25.9" - "@babel/plugin-transform-template-literals" "^7.26.8" - "@babel/plugin-transform-typeof-symbol" "^7.26.7" - "@babel/plugin-transform-unicode-escapes" "^7.25.9" - "@babel/plugin-transform-unicode-property-regex" "^7.25.9" - "@babel/plugin-transform-unicode-regex" "^7.25.9" - "@babel/plugin-transform-unicode-sets-regex" "^7.25.9" + "@babel/plugin-transform-arrow-functions" "^7.27.1" + "@babel/plugin-transform-async-generator-functions" "^7.27.1" + "@babel/plugin-transform-async-to-generator" "^7.27.1" + "@babel/plugin-transform-block-scoped-functions" "^7.27.1" + "@babel/plugin-transform-block-scoping" "^7.27.1" + "@babel/plugin-transform-class-properties" "^7.27.1" + "@babel/plugin-transform-class-static-block" "^7.27.1" + "@babel/plugin-transform-classes" "^7.27.1" + "@babel/plugin-transform-computed-properties" "^7.27.1" + "@babel/plugin-transform-destructuring" "^7.27.1" + "@babel/plugin-transform-dotall-regex" "^7.27.1" + "@babel/plugin-transform-duplicate-keys" "^7.27.1" + "@babel/plugin-transform-duplicate-named-capturing-groups-regex" "^7.27.1" + "@babel/plugin-transform-dynamic-import" "^7.27.1" + "@babel/plugin-transform-exponentiation-operator" "^7.27.1" + "@babel/plugin-transform-export-namespace-from" "^7.27.1" + "@babel/plugin-transform-for-of" "^7.27.1" + "@babel/plugin-transform-function-name" "^7.27.1" + "@babel/plugin-transform-json-strings" "^7.27.1" + "@babel/plugin-transform-literals" "^7.27.1" + "@babel/plugin-transform-logical-assignment-operators" "^7.27.1" + "@babel/plugin-transform-member-expression-literals" "^7.27.1" + "@babel/plugin-transform-modules-amd" "^7.27.1" + "@babel/plugin-transform-modules-commonjs" "^7.27.1" + "@babel/plugin-transform-modules-systemjs" "^7.27.1" + "@babel/plugin-transform-modules-umd" "^7.27.1" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.27.1" + "@babel/plugin-transform-new-target" "^7.27.1" + "@babel/plugin-transform-nullish-coalescing-operator" "^7.27.1" + "@babel/plugin-transform-numeric-separator" "^7.27.1" + "@babel/plugin-transform-object-rest-spread" "^7.27.2" + "@babel/plugin-transform-object-super" "^7.27.1" + "@babel/plugin-transform-optional-catch-binding" "^7.27.1" + "@babel/plugin-transform-optional-chaining" "^7.27.1" + "@babel/plugin-transform-parameters" "^7.27.1" + "@babel/plugin-transform-private-methods" "^7.27.1" + "@babel/plugin-transform-private-property-in-object" "^7.27.1" + "@babel/plugin-transform-property-literals" "^7.27.1" + "@babel/plugin-transform-regenerator" "^7.27.1" + "@babel/plugin-transform-regexp-modifiers" "^7.27.1" + "@babel/plugin-transform-reserved-words" "^7.27.1" + "@babel/plugin-transform-shorthand-properties" "^7.27.1" + "@babel/plugin-transform-spread" "^7.27.1" + "@babel/plugin-transform-sticky-regex" "^7.27.1" + "@babel/plugin-transform-template-literals" "^7.27.1" + "@babel/plugin-transform-typeof-symbol" "^7.27.1" + "@babel/plugin-transform-unicode-escapes" "^7.27.1" + "@babel/plugin-transform-unicode-property-regex" "^7.27.1" + "@babel/plugin-transform-unicode-regex" "^7.27.1" + "@babel/plugin-transform-unicode-sets-regex" "^7.27.1" "@babel/preset-modules" "0.1.6-no-external-plugins" babel-plugin-polyfill-corejs2 "^0.4.10" babel-plugin-polyfill-corejs3 "^0.11.0" @@ -880,42 +880,40 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.10.tgz#a07b4d8fa27af131a633d7b3524db803eb4764c2" - integrity sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw== - dependencies: - regenerator-runtime "^0.14.0" - -"@babel/template@^7.25.9", "@babel/template@^7.26.9", "@babel/template@^7.3.3": - version "7.26.9" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.26.9.tgz#4577ad3ddf43d194528cff4e1fa6b232fa609bb2" - integrity sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA== - dependencies: - "@babel/code-frame" "^7.26.2" - "@babel/parser" "^7.26.9" - "@babel/types" "^7.26.9" - -"@babel/traverse@^7.1.0", "@babel/traverse@^7.11.5", "@babel/traverse@^7.25.9", "@babel/traverse@^7.26.10", "@babel/traverse@^7.26.5", "@babel/traverse@^7.26.8", "@babel/traverse@^7.26.9", "@babel/traverse@^7.7.0": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.10.tgz#43cca33d76005dbaa93024fae536cc1946a4c380" - integrity sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A== - dependencies: - "@babel/code-frame" "^7.26.2" - "@babel/generator" "^7.26.10" - "@babel/parser" "^7.26.10" - "@babel/template" "^7.26.9" - "@babel/types" "^7.26.10" +"@babel/runtime@^7.7.2": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.3.tgz#10491113799fb8d77e1d9273384d5d68deeea8f6" + integrity sha512-7EYtGezsdiDMyY80+65EzwiGmcJqpmcZCojSXaRgdrBaGtWTgDZKq69cPIVped6MkIM78cTQ2GOiEYjwOlG4xw== + +"@babel/template@^7.27.1", "@babel/template@^7.27.2", "@babel/template@^7.3.3": + version "7.27.2" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.2.tgz#fa78ceed3c4e7b63ebf6cb39e5852fca45f6809d" + integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw== + dependencies: + "@babel/code-frame" "^7.27.1" + "@babel/parser" "^7.27.2" + "@babel/types" "^7.27.1" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.11.5", "@babel/traverse@^7.27.1", "@babel/traverse@^7.27.3", "@babel/traverse@^7.7.0": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.27.3.tgz#8b62a6c2d10f9d921ba7339c90074708509cffae" + integrity sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ== + dependencies: + "@babel/code-frame" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/parser" "^7.27.3" + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.3" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.26.10", "@babel/types@^7.26.9", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.10.tgz#396382f6335bd4feb65741eacfc808218f859259" - integrity sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.27.3.tgz#c0257bedf33aad6aad1f406d35c44758321eb3ec" + integrity sha512-Y1GkI4ktrtvmawoSq+4FCVHNryea6uR+qUQy0AGxLSsjCX0nVmkYQMBLHDkXZuo5hGx7eYdnIaslsdBFm7zbUw== dependencies: - "@babel/helper-string-parser" "^7.25.9" - "@babel/helper-validator-identifier" "^7.25.9" + "@babel/helper-string-parser" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" "@bcoe/v8-coverage@^0.2.3": version "0.2.3" @@ -1438,9 +1436,9 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.8" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" - integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== + version "7.27.0" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.27.0.tgz#b5819294c51179957afaec341442f9341e4108a9" + integrity sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg== dependencies: "@babel/types" "^7.0.0" @@ -1453,9 +1451,9 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" - integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.7.tgz#968cdc2366ec3da159f61166428ee40f370e56c2" + integrity sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng== dependencies: "@babel/types" "^7.20.7" @@ -1465,9 +1463,9 @@ integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== "@types/estree@*": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" - integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== + version "1.0.7" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.7.tgz#4158d3105276773d5b7695cd4834b1722e4f37a8" + integrity sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ== "@types/estree@0.0.39": version "0.0.39" @@ -1535,11 +1533,11 @@ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/node@*": - version "22.13.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.11.tgz#f0ed6b302dcf0f4229d44ea707e77484ad46d234" - integrity sha512-iEUCUJoU0i3VnrCmgoWCXttklWcvoCIx4jzcP22fioIVSdTmjgoEvmAO/QPw6TcS9k5FrNgn4w7q5lGOd1CT5g== + version "22.15.27" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.27.tgz#b99cd64129c4c85a69edca903af9b3aa72c3b4f7" + integrity sha512-5fF+eu5mwihV2BeVtX5vijhdaZOfkQTATrePEaXTcKqI16LhJ7gi2/Vhd9OZM0UojcdmiOCVg5rrax+i1MdoQQ== dependencies: - undici-types "~6.20.0" + undici-types "~6.21.0" "@types/normalize-package-data@^2.4.0": version "2.4.4" @@ -2214,14 +2212,14 @@ browser-resolve@^1.11.3: resolve "1.1.7" browserslist@^4.24.0, browserslist@^4.24.4: - version "4.24.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.4.tgz#c6b2865a3f08bcb860a0e827389003b9fe686e4b" - integrity sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A== + version "4.25.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.25.0.tgz#986aa9c6d87916885da2b50d8eb577ac8d133b2c" + integrity sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA== dependencies: - caniuse-lite "^1.0.30001688" - electron-to-chromium "^1.5.73" + caniuse-lite "^1.0.30001718" + electron-to-chromium "^1.5.160" node-releases "^2.0.19" - update-browserslist-db "^1.1.1" + update-browserslist-db "^1.1.3" bs-logger@0.x: version "0.2.6" @@ -2303,10 +2301,10 @@ camelcase@^6.0.0, camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001688: - version "1.0.30001706" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001706.tgz#902c3f896f4b2968031c3a546ab2ef8b465a2c8f" - integrity sha512-3ZczoTApMAZwPKYWmwVbQMFpXBDds3/0VciVoUwPUbldlYyVLmRVuRs/PcUZtHpbLRpzzDvrvnFuREsGt6lUug== +caniuse-lite@^1.0.30001718: + version "1.0.30001720" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001720.tgz#c138cb6026d362be9d8d7b0e4bcd0183a850edfd" + integrity sha512-Ec/2yV2nNPwb4DnTANEV99ZWwm3ZWfdlfkQbWSDDt+PsXEVYwlhPH8tdMaPunYTKKmz7AnHi2oNEi1GcmKCD8g== capture-exit@^2.0.0: version "2.0.0" @@ -2552,9 +2550,9 @@ copy-descriptor@^0.1.0: integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== core-js-compat@^3.40.0: - version "3.41.0" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.41.0.tgz#4cdfce95f39a8f27759b667cf693d96e5dda3d17" - integrity sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A== + version "3.42.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.42.0.tgz#ce19c29706ee5806e26d3cb3c542d4cfc0ed51bb" + integrity sha512-bQasjMfyDGyaeWKBIu33lHh9qlSR0MFE/Nmc6nMjf/iU9b3rSMdAYz1Baxrv4lPdGUsTqZudHA4jIGSJy0SWZQ== dependencies: browserslist "^4.24.4" @@ -2694,9 +2692,9 @@ debug@^3.2.7: ms "^2.1.1" debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: - version "4.4.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" - integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== + version "4.4.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" + integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== dependencies: ms "^2.1.3" @@ -2711,9 +2709,9 @@ decode-uri-component@^0.2.0: integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== dedent@^1.0.0: - version "1.5.3" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" - integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== + version "1.6.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.6.0.tgz#79d52d6389b1ffa67d2bcef59ba51847a9d503b2" + integrity sha512-F1Z+5UCFpmQUzJa11agbyPVMbpgT/qA3/SKyJ1jyBgm7dUcUEa8v9JwDkerSQXfakBwFljIxhOJqGkjUwZ9FSA== deep-is@~0.1.3: version "0.1.4" @@ -2835,10 +2833,10 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -electron-to-chromium@^1.5.73: - version "1.5.123" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.123.tgz#fae5bdba0ba27045895176327aa79831aba0790c" - integrity sha512-refir3NlutEZqlKaBLK0tzlVLe5P2wDKS7UQt/3SpibizgsRAPOsqQC3ffw1nlv3ze5gjRQZYHoPymgVZkplFA== +electron-to-chromium@^1.5.160: + version "1.5.161" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.161.tgz#650376bd3be7ff8e581031409fc2d4f150620b12" + integrity sha512-hwtetwfKNZo/UlwHIVBlKZVdy7o8bIZxxKs0Mv/ROPiQQQmDgdm5a+KvKtBsxM8ZjFzTaCeLoodZ8jiBE3o9rA== emittery@^0.13.1: version "0.13.1" @@ -2883,26 +2881,26 @@ error-ex@^1.3.1: is-arrayish "^0.2.1" es-abstract@^1.17.5, es-abstract@^1.23.2, es-abstract@^1.23.3, es-abstract@^1.23.5, es-abstract@^1.23.6, es-abstract@^1.23.9: - version "1.23.9" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.9.tgz#5b45994b7de78dada5c1bebf1379646b32b9d606" - integrity sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA== + version "1.24.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.24.0.tgz#c44732d2beb0acc1ed60df840869e3106e7af328" + integrity sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg== dependencies: array-buffer-byte-length "^1.0.2" arraybuffer.prototype.slice "^1.0.4" available-typed-arrays "^1.0.7" call-bind "^1.0.8" - call-bound "^1.0.3" + call-bound "^1.0.4" data-view-buffer "^1.0.2" data-view-byte-length "^1.0.2" data-view-byte-offset "^1.0.1" es-define-property "^1.0.1" es-errors "^1.3.0" - es-object-atoms "^1.0.0" + es-object-atoms "^1.1.1" es-set-tostringtag "^2.1.0" es-to-primitive "^1.3.0" function.prototype.name "^1.1.8" - get-intrinsic "^1.2.7" - get-proto "^1.0.0" + get-intrinsic "^1.3.0" + get-proto "^1.0.1" get-symbol-description "^1.1.0" globalthis "^1.0.4" gopd "^1.2.0" @@ -2914,21 +2912,24 @@ es-abstract@^1.17.5, es-abstract@^1.23.2, es-abstract@^1.23.3, es-abstract@^1.23 is-array-buffer "^3.0.5" is-callable "^1.2.7" is-data-view "^1.0.2" + is-negative-zero "^2.0.3" is-regex "^1.2.1" + is-set "^2.0.3" is-shared-array-buffer "^1.0.4" is-string "^1.1.1" is-typed-array "^1.1.15" - is-weakref "^1.1.0" + is-weakref "^1.1.1" math-intrinsics "^1.1.0" - object-inspect "^1.13.3" + object-inspect "^1.13.4" object-keys "^1.1.1" object.assign "^4.1.7" own-keys "^1.0.1" - regexp.prototype.flags "^1.5.3" + regexp.prototype.flags "^1.5.4" safe-array-concat "^1.1.3" safe-push-apply "^1.0.0" safe-regex-test "^1.1.0" set-proto "^1.0.0" + stop-iteration-iterator "^1.1.0" string.prototype.trim "^1.2.10" string.prototype.trimend "^1.0.9" string.prototype.trimstart "^1.0.8" @@ -2937,7 +2938,7 @@ es-abstract@^1.17.5, es-abstract@^1.23.2, es-abstract@^1.23.3, es-abstract@^1.23 typed-array-byte-offset "^1.0.4" typed-array-length "^1.0.7" unbox-primitive "^1.1.0" - which-typed-array "^1.1.18" + which-typed-array "^1.1.19" es-define-property@^1.0.0, es-define-property@^1.0.1: version "1.0.1" @@ -3127,9 +3128,9 @@ eslint-plugin-react-hooks@^2.2.0: integrity sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g== eslint-plugin-react@^7.14.3: - version "7.37.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.4.tgz#1b6c80b6175b6ae4b26055ae4d55d04c414c7181" - integrity sha512-BGP0jRmfYyvOyvMoRX/uoUeW+GqNj9y16bPQzqAHf3AYII/tDs+jMN0dBVkl88/OZwNGwrVFxE7riHsXVfy/LQ== + version "7.37.5" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz#2975511472bdda1b272b34d779335c9b0e877065" + integrity sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA== dependencies: array-includes "^3.1.8" array.prototype.findlast "^1.2.5" @@ -3141,7 +3142,7 @@ eslint-plugin-react@^7.14.3: hasown "^2.0.2" jsx-ast-utils "^2.4.1 || ^3.0.0" minimatch "^3.1.2" - object.entries "^1.1.8" + object.entries "^1.1.9" object.fromentries "^2.0.8" object.values "^1.2.1" prop-types "^15.8.1" @@ -3911,9 +3912,9 @@ human-signals@^4.3.0: integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ== humanize-duration@^3.15.3: - version "3.32.1" - resolved "https://registry.yarnpkg.com/humanize-duration/-/humanize-duration-3.32.1.tgz#922beff5da36fb1cee3de26ada24c592b0fe519b" - integrity sha512-inh5wue5XdfObhu/IGEMiA1nUXigSGcaKNemcbLRKa7jXYGDZXr3LoT9pTIzq2hPEbld7w/qv9h+ikWGz8fL1g== + version "3.32.2" + resolved "https://registry.yarnpkg.com/humanize-duration/-/humanize-duration-3.32.2.tgz#c80287a1b89f1aa7c7fe8fae33417a302b77b427" + integrity sha512-jcTwWYeCJf4dN5GJnjBmHd42bNyK94lY49QTkrsAQrMTUoIYLevvDpmQtg5uv8ZrdIRIbzdasmSNZ278HHUPEg== husky@^5.2.0: version "5.2.0" @@ -4196,6 +4197,11 @@ is-module@^1.0.0: resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + is-number-object@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.1.1.tgz#144b21e95a1bc148205dcc2814a9134ec41b2541" @@ -4301,7 +4307,7 @@ is-weakmap@^2.0.2: resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.2.tgz#bf72615d649dfe5f699079c54b83e47d1ae19cfd" integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== -is-weakref@^1.0.2, is-weakref@^1.1.0: +is-weakref@^1.0.2, is-weakref@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.1.1.tgz#eea430182be8d64174bd96bffbc46f21bf3f9293" integrity sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew== @@ -5767,9 +5773,9 @@ npm-run-path@^5.1.0: path-key "^4.0.0" nwsapi@^2.2.0: - version "2.2.19" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.19.tgz#586660f7c24c34691907002309a8dc28064c9c0b" - integrity sha512-94bcyI3RsqiZufXjkr3ltkI86iEl+I7uiHVDtcq9wJUTwYQJ5odHDeSzkkrRzi80jJ8MaeZgqKjH1bAWAFw9bA== + version "2.2.20" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.20.tgz#22e53253c61e7b0e7e93cef42c891154bcca11ef" + integrity sha512-/ieB+mDe4MrrKMT8z+mQL8klXydZWGR5Dowt4RAGKbJ3kIGEx3X4ljUo+6V73IXtUPWgfOlU5B9MlGxFO5T+cA== oauth-sign@~0.9.0: version "0.9.0" @@ -5790,7 +5796,7 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.13.3: +object-inspect@^1.13.3, object-inspect@^1.13.4: version "1.13.4" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== @@ -5819,7 +5825,7 @@ object.assign@^4.1.4, object.assign@^4.1.7: has-symbols "^1.1.0" object-keys "^1.1.1" -object.entries@^1.1.8: +object.entries@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.9.tgz#e4770a6a1444afb61bd39f984018b5bede25f8b3" integrity sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw== @@ -6049,7 +6055,7 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -picocolors@^1.0.0, picocolors@^1.1.1: +picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== @@ -6065,9 +6071,9 @@ pidtree@0.6.0: integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== pirates@^4.0.1, pirates@^4.0.4: - version "4.0.6" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" - integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + version "4.0.7" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" + integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== pkg-dir@^4.1.0, pkg-dir@^4.2.0: version "4.2.0" @@ -6273,18 +6279,6 @@ regenerator-runtime@^0.13.7: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== -regenerator-runtime@^0.14.0: - version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" - integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== - -regenerator-transform@^0.15.2: - version "0.15.2" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" - integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== - dependencies: - "@babel/runtime" "^7.8.4" - regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" @@ -6293,7 +6287,7 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.5.3: +regexp.prototype.flags@^1.5.3, regexp.prototype.flags@^1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz#1ad6c62d44a259007e55b3970e00f746efbcaa19" integrity sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA== @@ -6659,9 +6653,9 @@ semver@6.x, semver@^6.0.0, semver@^6.1.2, semver@^6.3.0, semver@^6.3.1: integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.1.1, semver@^7.3.2, semver@^7.5.3, semver@^7.5.4: - version "7.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f" - integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA== + version "7.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" + integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== serialize-javascript@^4.0.0: version "4.0.0" @@ -6996,6 +6990,14 @@ stealthy-require@^1.1.1: resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" integrity sha512-ZnWpYnYugiOVEY5GkcuJK1io5V8QmNYChG62gSit9pQVGErXtrKuPC55ITaVSukmMta5qpMU7vqLt2Lnni4f/g== +stop-iteration-iterator@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz#f481ff70a548f6124d0312c3aa14cbfa7aa542ad" + integrity sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ== + dependencies: + es-errors "^1.3.0" + internal-slot "^1.1.0" + string-argv@0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" @@ -7577,10 +7579,10 @@ unbox-primitive@^1.1.0: has-symbols "^1.1.0" which-boxed-primitive "^1.1.1" -undici-types@~6.20.0: - version "6.20.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433" - integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg== +undici-types@~6.21.0: + version "6.21.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" + integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.1" @@ -7633,7 +7635,7 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -update-browserslist-db@^1.1.1: +update-browserslist-db@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420" integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw== @@ -7809,7 +7811,7 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.16, which-typed-array@^1.1.18: +which-typed-array@^1.1.16, which-typed-array@^1.1.19: version "1.1.19" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.19.tgz#df03842e870b6b88e117524a4b364b6fc689f956" integrity sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==