@wisemen/wise-invoicing-web 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/AccountingSettingsViewDataProvider-BtDPqr_P.js +981 -0
  2. package/dist/{ApprovalReminderSettingsViewDataProvider-DyrHExKn.js → ApprovalReminderSettingsViewDataProvider-CuFo2JF5.js} +287 -287
  3. package/dist/{BillingDocumentDetailViewDataProvider-kFzqhrxW.js → BillingDocumentDetailViewDataProvider-qKW6LiRR.js} +1629 -1604
  4. package/dist/{BillingDocumentPdf-Dp6HSypy.js → BillingDocumentPdf-CgnrE4eq.js} +5 -5
  5. package/dist/{DataProvider-BtnD-BzI.js → DataProvider-Dj5ckiN2.js} +6 -9
  6. package/dist/{DunningCaseSendDialog-1S6OD9wd.js → DunningCaseSendDialog-CQ1yvbUt.js} +36 -36
  7. package/dist/{InvoiceApprovalOutOfSyncIndicator-DaM5hQVT.js → InvoiceApprovalOutOfSyncIndicator-BeqzoD3H.js} +2 -2
  8. package/dist/{InvoiceApprovalOverviewView-DM_LiO19.js → InvoiceApprovalOverviewView-B0ulYsYy.js} +230 -230
  9. package/dist/{InvoiceApprovalStatusBadge-mbYHYU3x.js → InvoiceApprovalStatusBadge-BZuyVHKk.js} +4 -4
  10. package/dist/{InvoicePdfView-YbDJpTIA.js → InvoicePdfView-BBTa7EaO.js} +2 -2
  11. package/dist/{InvoicePublicProFormaPdfViewDataProvider-BgAhcvB6.js → InvoicePublicProFormaPdfViewDataProvider-_Tbt2pTv.js} +4 -4
  12. package/dist/{InvoiceRejectDialogDataProvider-yegAlkDB.js → InvoiceRejectDialogDataProvider-ma2UsSzC.js} +33 -33
  13. package/dist/{InvoiceStatusBadge-Bo5PDjEy.js → InvoiceStatusBadge-JIR1gUDL.js} +3 -3
  14. package/dist/{InvoicingFileUploadProvider-DVh22OUB.js → InvoicingFileUploadProvider-B-eq6i9v.js} +14 -14
  15. package/dist/{IssuerSettingsViewDataProvider-BgSFemZr.js → IssuerSettingsViewDataProvider-CHyCCy9K.js} +66 -66
  16. package/dist/{PeppolSettingsViewDataProvider-_Bx0xx9e.js → PeppolSettingsViewDataProvider-j1btvXOf.js} +4 -4
  17. package/dist/{api.util-lGbimoKL.js → api.util-BkwbrwEm.js} +1026 -800
  18. package/dist/billingDocumentDetail.transformer-B-GSRQc0.js +324 -0
  19. package/dist/client/index.d.ts +2 -2
  20. package/dist/client/sdk.gen.d.ts +10 -1
  21. package/dist/client/types.gen.d.ts +452 -1
  22. package/dist/client/zod.gen.d.ts +524 -0
  23. package/dist/composables/invoicingConfig.composable.d.ts +3 -0
  24. package/dist/{creditNoteDetail.query-CqJeWeRV.js → creditNoteDetail.query-Tg4s5B8Q.js} +34 -34
  25. package/dist/{customFieldDefinitionIndex.query-Co7hoMow.js → customFieldDefinitionIndex.query-DtMibcTn.js} +28 -28
  26. package/dist/{deliveryReason.util-ny1rA7Sm.js → deliveryReason.util-BuCD1Fuz.js} +6 -6
  27. package/dist/{dist-CrNFh-CR.js → dist-AbMUaDf-.js} +93 -93
  28. package/dist/{dist-DmVrfBOT.js → dist-DaJ08k0k.js} +231 -119
  29. package/dist/{documentTitle.composable-aTEYXgaZ.js → documentTitle.composable-Bxu0YL71.js} +27 -19
  30. package/dist/{i18n.lib-B1H9r0km.js → i18n.lib-C8TA6PCf.js} +162 -2
  31. package/dist/index.d.ts +160 -0
  32. package/dist/index.js +1576 -1554
  33. package/dist/instant.transformer-KmBsH3E9.js +18 -0
  34. package/dist/{invoice.service-D9ubyWPb.js → invoice.service-BtgRZKrv.js} +152 -151
  35. package/dist/{invoiceApproval.service-BtDIOHIo.js → invoiceApproval.service-DEvaL-MH.js} +22 -21
  36. package/dist/invoiceApprovalStatus.util-NpxAuQ0t.js +83 -0
  37. package/dist/{invoiceCustomer.service-D0AtVrLg.js → invoiceCustomer.service-Cowdna7o.js} +6 -6
  38. package/dist/{invoiceDetail.query-BNL6MkvC.js → invoiceDetail.query-nEhWRrdL.js} +1 -1
  39. package/dist/{invoicingConfig.composable-DEF0lzNP.js → invoicingConfig.composable-CW47czLa.js} +20 -19
  40. package/dist/{issuerSettings.query-Cu-I6OAg.js → issuerSettings.query-CIWw1Zku.js} +27 -27
  41. package/dist/libs/i18n.lib.d.ts +160 -0
  42. package/dist/locales/en-US.json.d.ts +81 -1
  43. package/dist/locales/nl-BE.json.d.ts +81 -1
  44. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +7 -1
  45. package/dist/modules/accounting/api/mutations/accountingConnectionDisconnect.mutation.d.ts +4 -0
  46. package/dist/modules/accounting/api/mutations/accountingPostingProfileUpdate.mutation.d.ts +15 -0
  47. package/dist/modules/accounting/api/mutations/exactAccountingConnect.mutation.d.ts +6 -0
  48. package/dist/modules/accounting/api/queries/accountingConnection.query.d.ts +1 -0
  49. package/dist/modules/accounting/api/queries/exactAuthorizationConfig.query.d.ts +1 -0
  50. package/dist/modules/accounting/api/queries/exactGlAccounts.query.d.ts +3 -0
  51. package/dist/modules/accounting/api/queries/exactJournals.query.d.ts +3 -0
  52. package/dist/modules/accounting/api/query-keys/accounting.queryKeys.d.ts +24 -0
  53. package/dist/modules/accounting/api/services/accountingConnection.service.d.ts +19 -0
  54. package/dist/modules/accounting/components/AccountingPostingProfileFields.vue.d.ts +14 -0
  55. package/dist/modules/accounting/components/AccountingSyncStatusBadge.vue.d.ts +7 -0
  56. package/dist/modules/accounting/components/ExactGlAccountField.vue.d.ts +12 -0
  57. package/dist/modules/accounting/components/ExactLogo.vue.d.ts +3 -0
  58. package/dist/modules/accounting/composables/exactLookupError.composable.d.ts +19 -0
  59. package/dist/modules/accounting/models/accountingConnection.model.d.ts +34 -0
  60. package/dist/modules/accounting/models/accountingConnection.transformer.d.ts +23 -0
  61. package/dist/modules/accounting/models/accountingConnection.transformer.spec.d.ts +1 -0
  62. package/dist/modules/accounting/models/accountingConnectionReadiness.util.d.ts +10 -0
  63. package/dist/modules/accounting/models/accountingConnectionUuid.model.d.ts +3 -0
  64. package/dist/modules/accounting/models/accountingError.util.d.ts +13 -0
  65. package/dist/modules/accounting/models/accountingError.util.spec.d.ts +1 -0
  66. package/dist/modules/accounting/models/accountingPostingProfileForm.model.d.ts +14 -0
  67. package/dist/modules/accounting/models/accountingPostingProfileForm.model.spec.d.ts +1 -0
  68. package/dist/modules/accounting/models/accountingPostingProfileUpdateForm.model.d.ts +17 -0
  69. package/dist/modules/accounting/models/exactAccountingConnectForm.model.d.ts +9 -0
  70. package/dist/modules/accounting/models/exactAccountingConnectForm.model.spec.d.ts +1 -0
  71. package/dist/modules/accounting/models/exactLookupOption.model.d.ts +5 -0
  72. package/dist/modules/accounting/models/exactLookupOption.util.d.ts +4 -0
  73. package/dist/modules/accounting/models/exactRegion.util.d.ts +5 -0
  74. package/dist/modules/accounting/models/exactRegion.util.spec.d.ts +1 -0
  75. package/dist/modules/accounting/routes/accounting.routes.d.ts +9 -0
  76. package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionDetails.vue.d.ts +7 -0
  77. package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionNotice.vue.d.ts +11 -0
  78. package/dist/modules/accounting/use-cases/settings/components/AccountingPostingProfileForm.vue.d.ts +8 -0
  79. package/dist/modules/accounting/use-cases/settings/components/ExactAccountingConnectForm.vue.d.ts +12 -0
  80. package/dist/modules/accounting/use-cases/settings/composables/accountingAuthorizationResult.composable.d.ts +5 -0
  81. package/dist/modules/accounting/use-cases/settings/composables/exactConnect.composable.d.ts +11 -0
  82. package/dist/modules/accounting/use-cases/settings/dialogs/AccountingConnectionDisconnectDialog.vue.d.ts +11 -0
  83. package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsView.vue.d.ts +9 -0
  84. package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsViewDataProvider.vue.d.ts +3 -0
  85. package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
  86. package/dist/{plainDate.transformer-Bhiz9jW7.js → plainDate.transformer-BxvJpJOv.js} +4 -17
  87. package/dist/{reminderConfig.query-DHMHVOeX.js → reminderConfig.query-nb1P7ufx.js} +38 -37
  88. package/dist/types/queryKey.type.d.ts +3 -2
  89. package/dist/ui/data-provider/DataProvider.vue.d.ts +5 -1
  90. package/package.json +1 -1
  91. package/dist/billingDocumentDetail.transformer-C5-zjIhL.js +0 -319
  92. package/dist/invoiceApprovalStatus.util-Bqq_bILG.js +0 -83
@@ -394,6 +394,8 @@ export declare enum SubjectType {
394
394
  USER = "user",
395
395
  TENANT = "tenant",
396
396
  RECIPIENT = "recipient",
397
+ ACCOUNTING_CONNECTION = "accounting-connection",
398
+ ACCOUNTING_SYNC_OUTBOX = "accounting-sync-outbox",
397
399
  ISSUER = "issuer",
398
400
  INVOICE = "invoice",
399
401
  INVOICE_APPROVAL = "invoice-approval",
@@ -414,6 +416,8 @@ export type ViewDomainEventLogIndexPaginationQuery = {
414
416
  key?: ViewDomainEventLogIndexQueryKey | null;
415
417
  };
416
418
  export declare enum DomainEventType {
419
+ ACCOUNTING_CONNECTION_CREATED = "accounting-connection.created",
420
+ ACCOUNTING_CONNECTION_UPDATED = "accounting-connection.updated",
417
421
  API_KEY_CREATED = "api-key.created",
418
422
  API_KEY_DELETED = "api-key.deleted",
419
423
  APPROVAL_REMINDER_SENT = "approval-reminder.sent",
@@ -428,6 +432,10 @@ export declare enum DomainEventType {
428
432
  CUSTOMER_SYNCED = "customer.synced",
429
433
  CUSTOMER_DEACTIVATED = "customer.deactivated",
430
434
  CUSTOMER_REACTIVATED = "customer.reactivated",
435
+ ACCOUNTING_CONNECTION_DISCONNECTED = "accounting-connection.disconnected",
436
+ ACCOUNTING_POSTING_PROFILE_UPDATED = "accounting-posting-profile.updated",
437
+ ACCOUNTING_SYNC_OUTBOX_CREATED = "accounting-sync-outbox.created",
438
+ EXACT_CONNECTION_TOKEN_CREATED = "exact-connection-token.created",
431
439
  FILE_CREATED = "file.created",
432
440
  FILE_UPLOADED = "file.uploaded",
433
441
  ISSUER_UPDATED = "issuer.updated",
@@ -938,7 +946,9 @@ export type ViewJobsIndexSortQuery = {
938
946
  order: SortDirection;
939
947
  };
940
948
  export declare enum QueueName {
941
- SYSTEM = "system"
949
+ SYSTEM = "system",
950
+ ACCOUNTING = "accounting",
951
+ ACCOUNTING_EXACT = "accounting-exact"
942
952
  }
943
953
  export type ViewJobsIndexFilterQuery = {
944
954
  queueNames?: Array<QueueName>;
@@ -1984,6 +1994,18 @@ export type ViewInvoiceDetailApprovalResponse = {
1984
1994
  level: ApprovalReminderLevel | null;
1985
1995
  reminderSentAt: string | null;
1986
1996
  };
1997
+ export declare enum AccountingProvider {
1998
+ EXACT_ONLINE = "EXACT_ONLINE"
1999
+ }
2000
+ export declare enum AccountingSyncStatus {
2001
+ SYNCED = "synced",
2002
+ PENDING = "pending",
2003
+ FAILED = "failed"
2004
+ }
2005
+ export type ViewInvoiceDetailAccountingSyncResponse = {
2006
+ provider: AccountingProvider;
2007
+ status: AccountingSyncStatus;
2008
+ };
1987
2009
  export type ViewInvoiceDetailResponse = {
1988
2010
  uuid: string;
1989
2011
  sequence: string | null;
@@ -2062,6 +2084,10 @@ export type ViewInvoiceDetailResponse = {
2062
2084
  isEditable: boolean;
2063
2085
  isExternallyCreated: boolean;
2064
2086
  reference: string | null;
2087
+ /**
2088
+ * Null when the invoice is not synced to an accounting provider
2089
+ */
2090
+ accountingSync: ViewInvoiceDetailAccountingSyncResponse | null;
2065
2091
  };
2066
2092
  export declare enum ViewInvoiceIndexSortQueryKey {
2067
2093
  CREATED_AT = "created_at",
@@ -3236,6 +3262,219 @@ export type ViewPublicDunningCaseReminderResponse = {
3236
3262
  outstandingInvoices: Array<ViewPublicDunningCaseReminderOutstandingInvoiceResponse>;
3237
3263
  totalFee: MonetaryDto;
3238
3264
  };
3265
+ export declare enum ExactRegion {
3266
+ BE = "BE",
3267
+ DE = "DE",
3268
+ ES = "ES",
3269
+ FR = "FR",
3270
+ GB = "GB",
3271
+ NL = "NL",
3272
+ US = "US"
3273
+ }
3274
+ export type ConnectExactAccountingCommand = {
3275
+ region: ExactRegion;
3276
+ clientId: string;
3277
+ /**
3278
+ * Required for a new connection, the saved secret is kept when omitted
3279
+ */
3280
+ clientSecret?: string;
3281
+ };
3282
+ export type ConnectExactAccountingResponse = {
3283
+ uuid: string;
3284
+ /**
3285
+ * If not null, follow the url to finish the connection
3286
+ */
3287
+ loginUrl: string | null;
3288
+ };
3289
+ export type AccountingConnectionNotFoundError = {
3290
+ /**
3291
+ * a human-readable explanation specific to this occurrence of the problem
3292
+ */
3293
+ detail?: string;
3294
+ status: '404';
3295
+ code: 'accounting_connection_not_found';
3296
+ };
3297
+ export type ExactLedgerCodeByRateCommand = {
3298
+ 0: string;
3299
+ 6: string;
3300
+ 12: string;
3301
+ 21: string;
3302
+ };
3303
+ export type UpdateAccountingPostingProfileCommand = {
3304
+ salesEntryInvoiceJournal: string;
3305
+ salesEntryCreditNoteJournal?: string | null;
3306
+ defaultLedgerCode: string;
3307
+ ledgerCodeByRate?: ExactLedgerCodeByRateCommand;
3308
+ };
3309
+ export declare enum AccountingConnectionReadiness {
3310
+ PENDING_AUTHORIZATION = "pending_authorization",
3311
+ READY = "ready",
3312
+ DISCONNECTED = "disconnected"
3313
+ }
3314
+ export declare enum AccountingPostingProfileResolutionStatus {
3315
+ PENDING = "pending",
3316
+ RESOLVED = "resolved",
3317
+ FAILED = "failed"
3318
+ }
3319
+ export type ViewAccountingPostingProfileResponse = {
3320
+ uuid: string;
3321
+ name: string;
3322
+ resolutionStatus: AccountingPostingProfileResolutionStatus;
3323
+ resolutionError: string | null;
3324
+ resolvedAt: string | null;
3325
+ salesEntryInvoiceJournal: string;
3326
+ salesEntryCreditNoteJournal: string | null;
3327
+ defaultLedgerCode: string;
3328
+ /**
3329
+ * Ledger code per VAT rate
3330
+ */
3331
+ ledgerCodeByRate: {
3332
+ [key: string]: string;
3333
+ } | null;
3334
+ };
3335
+ export type ViewAccountingConnectionDetailResponse = {
3336
+ uuid: string;
3337
+ provider: AccountingProvider;
3338
+ readiness: AccountingConnectionReadiness;
3339
+ issuerUuid: string;
3340
+ /**
3341
+ * Exact Online environment the connection uses
3342
+ */
3343
+ region: ExactRegion;
3344
+ clientId: string;
3345
+ /**
3346
+ * Exact company (division) the connection is authorized for
3347
+ */
3348
+ division: number | null;
3349
+ /**
3350
+ * Name of the authorized company
3351
+ */
3352
+ companyName: string | null;
3353
+ defaultPostingProfile: ViewAccountingPostingProfileResponse | null;
3354
+ createdAt: string;
3355
+ updatedAt: string;
3356
+ };
3357
+ export type ViewAccountingConnectionIndexItemResponse = {
3358
+ uuid: string;
3359
+ provider: AccountingProvider;
3360
+ readiness: AccountingConnectionReadiness;
3361
+ issuerUuid: string;
3362
+ /**
3363
+ * Name of the authorized company
3364
+ */
3365
+ companyName: string | null;
3366
+ createdAt: string;
3367
+ updatedAt: string;
3368
+ };
3369
+ export type ViewAccountingConnectionIndexResponse = {
3370
+ items: Array<ViewAccountingConnectionIndexItemResponse>;
3371
+ };
3372
+ export type ViewExactAuthorizationConfigResponse = {
3373
+ /**
3374
+ * Redirect URI to register in the Exact App Center before connecting
3375
+ */
3376
+ redirectUri: string;
3377
+ };
3378
+ export type ExactConnectionNotFoundError = {
3379
+ /**
3380
+ * a human-readable explanation specific to this occurrence of the problem
3381
+ */
3382
+ detail?: string;
3383
+ status: '404';
3384
+ code: 'exact_connection_not_found';
3385
+ };
3386
+ export type ExactConnectionNotReadyError = {
3387
+ /**
3388
+ * a human-readable explanation specific to this occurrence of the problem
3389
+ */
3390
+ detail?: string;
3391
+ status: '409';
3392
+ code: 'exact_connection_not_ready';
3393
+ };
3394
+ export type ExactConnectionTokenNotFoundError = {
3395
+ /**
3396
+ * a human-readable explanation specific to this occurrence of the problem
3397
+ */
3398
+ detail?: string;
3399
+ status: '409';
3400
+ code: 'exact_connection_token_not_found';
3401
+ };
3402
+ export type ExactAuthorizationRevokedError = {
3403
+ /**
3404
+ * a human-readable explanation specific to this occurrence of the problem
3405
+ */
3406
+ detail?: string;
3407
+ status: '409';
3408
+ code: 'exact_authorization_revoked';
3409
+ };
3410
+ export type ExactInvalidTokenResponseError = {
3411
+ /**
3412
+ * a human-readable explanation specific to this occurrence of the problem
3413
+ */
3414
+ detail?: string;
3415
+ status: '503';
3416
+ code: 'exact_invalid_token_response';
3417
+ };
3418
+ export type ExactRateLimitErrorWindow = {
3419
+ limit: number | null;
3420
+ remaining: number | null;
3421
+ resetAt: string | null;
3422
+ };
3423
+ export type ExactRateLimitErrorMeta = {
3424
+ daily: ExactRateLimitErrorWindow;
3425
+ minutely: ExactRateLimitErrorWindow;
3426
+ resetAt: string | null;
3427
+ };
3428
+ export type ExactRateLimitError = {
3429
+ /**
3430
+ * a human-readable explanation specific to this occurrence of the problem
3431
+ */
3432
+ detail?: string;
3433
+ status: '429';
3434
+ code: 'exact_rate_limit';
3435
+ /**
3436
+ * a meta object containing non-standard meta-information about the error
3437
+ */
3438
+ meta: ExactRateLimitErrorMeta;
3439
+ };
3440
+ export type ExactRequestErrorMeta = {
3441
+ responseStatus: number;
3442
+ rateLimit: ExactRateLimitErrorMeta;
3443
+ };
3444
+ export type ExactRequestError = {
3445
+ /**
3446
+ * a human-readable explanation specific to this occurrence of the problem
3447
+ */
3448
+ detail?: string;
3449
+ code: 'exact_request_failed';
3450
+ status: '503';
3451
+ /**
3452
+ * a meta object containing non-standard meta-information about the error
3453
+ */
3454
+ meta: ExactRequestErrorMeta;
3455
+ };
3456
+ export type ExactNetworkError = {
3457
+ /**
3458
+ * a human-readable explanation specific to this occurrence of the problem
3459
+ */
3460
+ detail?: string;
3461
+ status: '503';
3462
+ code: 'exact_network_error';
3463
+ };
3464
+ export type ViewExactGlAccountIndexItemResponse = {
3465
+ code: string;
3466
+ description: string | null;
3467
+ };
3468
+ export type ViewExactGlAccountIndexResponse = {
3469
+ items: Array<ViewExactGlAccountIndexItemResponse>;
3470
+ };
3471
+ export type ViewExactJournalIndexItemResponse = {
3472
+ code: string;
3473
+ description: string | null;
3474
+ };
3475
+ export type ViewExactJournalIndexResponse = {
3476
+ items: Array<ViewExactJournalIndexItemResponse>;
3477
+ };
3239
3478
  export type ApprovalRequestedOnFinalizationError = {
3240
3479
  /**
3241
3480
  * a human-readable explanation specific to this occurrence of the problem
@@ -6389,6 +6628,218 @@ export type ViewPublicDunningCaseReminderV1Responses = {
6389
6628
  200: ViewPublicDunningCaseReminderResponse;
6390
6629
  };
6391
6630
  export type ViewPublicDunningCaseReminderV1Response = ViewPublicDunningCaseReminderV1Responses[keyof ViewPublicDunningCaseReminderV1Responses];
6631
+ export type ConnectExactAccountingV1Data = {
6632
+ body: ConnectExactAccountingCommand;
6633
+ path?: never;
6634
+ query?: never;
6635
+ url: '/api/v1/accounting/exact/connect';
6636
+ };
6637
+ export type ConnectExactAccountingV1Errors = {
6638
+ 500: {
6639
+ traceId?: string | null;
6640
+ errors?: Array<InternalServerApiError>;
6641
+ };
6642
+ };
6643
+ export type ConnectExactAccountingV1Error = ConnectExactAccountingV1Errors[keyof ConnectExactAccountingV1Errors];
6644
+ export type ConnectExactAccountingV1Responses = {
6645
+ 200: ConnectExactAccountingResponse;
6646
+ };
6647
+ export type ConnectExactAccountingV1Response = ConnectExactAccountingV1Responses[keyof ConnectExactAccountingV1Responses];
6648
+ export type CompleteExactAuthorizationV1Data = {
6649
+ body?: never;
6650
+ path?: never;
6651
+ query?: {
6652
+ code?: string;
6653
+ state?: string;
6654
+ error?: string;
6655
+ };
6656
+ url: '/api/v1/exact/auth/callback';
6657
+ };
6658
+ export type CompleteExactAuthorizationV1Errors = {
6659
+ 500: {
6660
+ traceId?: string | null;
6661
+ errors?: Array<InternalServerApiError>;
6662
+ };
6663
+ };
6664
+ export type CompleteExactAuthorizationV1Error = CompleteExactAuthorizationV1Errors[keyof CompleteExactAuthorizationV1Errors];
6665
+ export type DisconnectAccountingConnectionV1Data = {
6666
+ body?: never;
6667
+ path: {
6668
+ uuid: string;
6669
+ };
6670
+ query?: never;
6671
+ url: '/api/v1/accounting/connections/{uuid}/disconnect';
6672
+ };
6673
+ export type DisconnectAccountingConnectionV1Errors = {
6674
+ 404: {
6675
+ traceId?: string | null;
6676
+ errors?: Array<AccountingConnectionNotFoundError>;
6677
+ };
6678
+ 500: {
6679
+ traceId?: string | null;
6680
+ errors?: Array<InternalServerApiError>;
6681
+ };
6682
+ };
6683
+ export type DisconnectAccountingConnectionV1Error = DisconnectAccountingConnectionV1Errors[keyof DisconnectAccountingConnectionV1Errors];
6684
+ export type DisconnectAccountingConnectionV1Responses = {
6685
+ 204: void;
6686
+ };
6687
+ export type DisconnectAccountingConnectionV1Response = DisconnectAccountingConnectionV1Responses[keyof DisconnectAccountingConnectionV1Responses];
6688
+ export type UpdateAccountingPostingProfileV1Data = {
6689
+ body: UpdateAccountingPostingProfileCommand;
6690
+ path: {
6691
+ uuid: string;
6692
+ };
6693
+ query?: never;
6694
+ url: '/api/v1/accounting/connections/{uuid}/posting-profile';
6695
+ };
6696
+ export type UpdateAccountingPostingProfileV1Errors = {
6697
+ 404: {
6698
+ traceId?: string | null;
6699
+ errors?: Array<AccountingConnectionNotFoundError>;
6700
+ };
6701
+ 500: {
6702
+ traceId?: string | null;
6703
+ errors?: Array<InternalServerApiError>;
6704
+ };
6705
+ };
6706
+ export type UpdateAccountingPostingProfileV1Error = UpdateAccountingPostingProfileV1Errors[keyof UpdateAccountingPostingProfileV1Errors];
6707
+ export type UpdateAccountingPostingProfileV1Responses = {
6708
+ 204: void;
6709
+ };
6710
+ export type UpdateAccountingPostingProfileV1Response = UpdateAccountingPostingProfileV1Responses[keyof UpdateAccountingPostingProfileV1Responses];
6711
+ export type ViewAccountingConnectionDetailV1Data = {
6712
+ body?: never;
6713
+ path: {
6714
+ uuid: string;
6715
+ };
6716
+ query?: never;
6717
+ url: '/api/v1/accounting/connections/{uuid}';
6718
+ };
6719
+ export type ViewAccountingConnectionDetailV1Errors = {
6720
+ 404: {
6721
+ traceId?: string | null;
6722
+ errors?: Array<AccountingConnectionNotFoundError>;
6723
+ };
6724
+ 500: {
6725
+ traceId?: string | null;
6726
+ errors?: Array<InternalServerApiError>;
6727
+ };
6728
+ };
6729
+ export type ViewAccountingConnectionDetailV1Error = ViewAccountingConnectionDetailV1Errors[keyof ViewAccountingConnectionDetailV1Errors];
6730
+ export type ViewAccountingConnectionDetailV1Responses = {
6731
+ 200: ViewAccountingConnectionDetailResponse;
6732
+ };
6733
+ export type ViewAccountingConnectionDetailV1Response = ViewAccountingConnectionDetailV1Responses[keyof ViewAccountingConnectionDetailV1Responses];
6734
+ export type ViewAccountingConnectionIndexV1Data = {
6735
+ body?: never;
6736
+ path?: never;
6737
+ query?: never;
6738
+ url: '/api/v1/accounting/connections';
6739
+ };
6740
+ export type ViewAccountingConnectionIndexV1Errors = {
6741
+ 500: {
6742
+ traceId?: string | null;
6743
+ errors?: Array<InternalServerApiError>;
6744
+ };
6745
+ };
6746
+ export type ViewAccountingConnectionIndexV1Error = ViewAccountingConnectionIndexV1Errors[keyof ViewAccountingConnectionIndexV1Errors];
6747
+ export type ViewAccountingConnectionIndexV1Responses = {
6748
+ 200: ViewAccountingConnectionIndexResponse;
6749
+ };
6750
+ export type ViewAccountingConnectionIndexV1Response = ViewAccountingConnectionIndexV1Responses[keyof ViewAccountingConnectionIndexV1Responses];
6751
+ export type ViewExactAuthorizationConfigV1Data = {
6752
+ body?: never;
6753
+ path?: never;
6754
+ query?: never;
6755
+ url: '/api/v1/exact/authorization-config';
6756
+ };
6757
+ export type ViewExactAuthorizationConfigV1Errors = {
6758
+ 500: {
6759
+ traceId?: string | null;
6760
+ errors?: Array<InternalServerApiError>;
6761
+ };
6762
+ };
6763
+ export type ViewExactAuthorizationConfigV1Error = ViewExactAuthorizationConfigV1Errors[keyof ViewExactAuthorizationConfigV1Errors];
6764
+ export type ViewExactAuthorizationConfigV1Responses = {
6765
+ 200: ViewExactAuthorizationConfigResponse;
6766
+ };
6767
+ export type ViewExactAuthorizationConfigV1Response = ViewExactAuthorizationConfigV1Responses[keyof ViewExactAuthorizationConfigV1Responses];
6768
+ export type ViewExactGlAccountIndexV1Data = {
6769
+ body?: never;
6770
+ path: {
6771
+ uuid: string;
6772
+ };
6773
+ query?: {
6774
+ /**
6775
+ * Searches code and description
6776
+ */
6777
+ search?: string;
6778
+ };
6779
+ url: '/api/v1/exact/connections/{uuid}/gl-accounts';
6780
+ };
6781
+ export type ViewExactGlAccountIndexV1Errors = {
6782
+ 404: {
6783
+ traceId?: string | null;
6784
+ errors?: Array<ExactConnectionNotFoundError>;
6785
+ };
6786
+ 409: {
6787
+ traceId?: string | null;
6788
+ errors?: Array<ExactConnectionNotReadyError | ExactConnectionTokenNotFoundError | ExactAuthorizationRevokedError>;
6789
+ };
6790
+ 429: {
6791
+ traceId?: string | null;
6792
+ errors?: Array<ExactRateLimitError>;
6793
+ };
6794
+ 500: {
6795
+ traceId?: string | null;
6796
+ errors?: Array<InternalServerApiError>;
6797
+ };
6798
+ 503: {
6799
+ traceId?: string | null;
6800
+ errors?: Array<ExactInvalidTokenResponseError | ExactRequestError | ExactNetworkError>;
6801
+ };
6802
+ };
6803
+ export type ViewExactGlAccountIndexV1Error = ViewExactGlAccountIndexV1Errors[keyof ViewExactGlAccountIndexV1Errors];
6804
+ export type ViewExactGlAccountIndexV1Responses = {
6805
+ 200: ViewExactGlAccountIndexResponse;
6806
+ };
6807
+ export type ViewExactGlAccountIndexV1Response = ViewExactGlAccountIndexV1Responses[keyof ViewExactGlAccountIndexV1Responses];
6808
+ export type ViewExactJournalIndexV1Data = {
6809
+ body?: never;
6810
+ path: {
6811
+ uuid: string;
6812
+ };
6813
+ query?: never;
6814
+ url: '/api/v1/exact/connections/{uuid}/journals';
6815
+ };
6816
+ export type ViewExactJournalIndexV1Errors = {
6817
+ 404: {
6818
+ traceId?: string | null;
6819
+ errors?: Array<ExactConnectionNotFoundError>;
6820
+ };
6821
+ 409: {
6822
+ traceId?: string | null;
6823
+ errors?: Array<ExactConnectionNotReadyError | ExactConnectionTokenNotFoundError | ExactAuthorizationRevokedError>;
6824
+ };
6825
+ 429: {
6826
+ traceId?: string | null;
6827
+ errors?: Array<ExactRateLimitError>;
6828
+ };
6829
+ 500: {
6830
+ traceId?: string | null;
6831
+ errors?: Array<InternalServerApiError>;
6832
+ };
6833
+ 503: {
6834
+ traceId?: string | null;
6835
+ errors?: Array<ExactInvalidTokenResponseError | ExactRequestError | ExactNetworkError>;
6836
+ };
6837
+ };
6838
+ export type ViewExactJournalIndexV1Error = ViewExactJournalIndexV1Errors[keyof ViewExactJournalIndexV1Errors];
6839
+ export type ViewExactJournalIndexV1Responses = {
6840
+ 200: ViewExactJournalIndexResponse;
6841
+ };
6842
+ export type ViewExactJournalIndexV1Response = ViewExactJournalIndexV1Responses[keyof ViewExactJournalIndexV1Responses];
6392
6843
  export type SendProFormaApprovalV1Data = {
6393
6844
  body?: never;
6394
6845
  path: {