@vrplatform/api 1.3.1-2158 → 1.3.1-2172

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.
@@ -452,6 +452,23 @@ export interface paths {
452
452
  patch?: never;
453
453
  trace?: never;
454
454
  };
455
+ "/booking-channels": {
456
+ parameters: {
457
+ query?: never;
458
+ header?: never;
459
+ path?: never;
460
+ cookie?: never;
461
+ };
462
+ /** @description List booking channels available on the team */
463
+ get: operations["getBookingChannels"];
464
+ put?: never;
465
+ post?: never;
466
+ delete?: never;
467
+ options?: never;
468
+ head?: never;
469
+ patch?: never;
470
+ trace?: never;
471
+ };
455
472
  "/calendar-blocks": {
456
473
  parameters: {
457
474
  query?: never;
@@ -2735,6 +2752,23 @@ export interface paths {
2735
2752
  patch?: never;
2736
2753
  trace?: never;
2737
2754
  };
2755
+ "/teams/migrate-vri-to-vrt/account-mappings": {
2756
+ parameters: {
2757
+ query?: never;
2758
+ header?: never;
2759
+ path?: never;
2760
+ cookie?: never;
2761
+ };
2762
+ /** @description Retrieve required historical VRI account mappings and suggested VRT targets */
2763
+ get: operations["getTeamsMigrateVriToVrtAccountMappings"];
2764
+ put?: never;
2765
+ post?: never;
2766
+ delete?: never;
2767
+ options?: never;
2768
+ head?: never;
2769
+ patch?: never;
2770
+ trace?: never;
2771
+ };
2738
2772
  "/teams/opening-balances/accounts-payable": {
2739
2773
  parameters: {
2740
2774
  query?: never;
@@ -5974,7 +6008,7 @@ export interface operations {
5974
6008
  entityId?: string;
5975
6009
  entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
5976
6010
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
5977
- effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
6011
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
5978
6012
  page?: number;
5979
6013
  };
5980
6014
  header?: never;
@@ -6012,7 +6046,7 @@ export interface operations {
6012
6046
  rootEntityType: string | null;
6013
6047
  rootEntityId: string | null;
6014
6048
  /** @enum {string} */
6015
- effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
6049
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
6016
6050
  payload: unknown;
6017
6051
  entity: ({
6018
6052
  /** @constant */
@@ -8091,11 +8125,27 @@ export interface operations {
8091
8125
  transactionType: "deposit" | "expense";
8092
8126
  /** @enum {string} */
8093
8127
  mode: "suggest" | "autoCreateAndMatch";
8128
+ /** @enum {string} */
8129
+ matchMode: "all" | "any";
8130
+ conditions: ({
8131
+ /** @constant */
8132
+ type: "description";
8133
+ /** @enum {string} */
8134
+ operator: "contains" | "equals" | "startsWith";
8135
+ value: string;
8136
+ } | {
8137
+ /** @constant */
8138
+ type: "amount";
8139
+ /** @enum {string} */
8140
+ operator: ">" | ">=" | "=" | "<" | "<=";
8141
+ centValue: number;
8142
+ })[];
8094
8143
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8095
8144
  descriptionValue?: string | null;
8096
8145
  amountMinCent?: number | null;
8097
8146
  amountMaxCent?: number | null;
8098
8147
  descriptionOverride?: string | null;
8148
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8099
8149
  usePriorMonthEnd: boolean;
8100
8150
  version: number;
8101
8151
  vendorContact?: {
@@ -8281,11 +8331,26 @@ export interface operations {
8281
8331
  /** @enum {string} */
8282
8332
  transactionType: "deposit" | "expense";
8283
8333
  mode?: ("suggest" | "autoCreateAndMatch") | null;
8334
+ matchMode?: ("all" | "any") | null;
8335
+ conditions?: ({
8336
+ /** @constant */
8337
+ type: "description";
8338
+ /** @enum {string} */
8339
+ operator: "contains" | "equals" | "startsWith";
8340
+ value: string;
8341
+ } | {
8342
+ /** @constant */
8343
+ type: "amount";
8344
+ /** @enum {string} */
8345
+ operator: ">" | ">=" | "=" | "<" | "<=";
8346
+ centValue: number;
8347
+ })[] | null;
8284
8348
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8285
8349
  descriptionValue?: string | null;
8286
8350
  amountMinCent?: number | null;
8287
8351
  amountMaxCent?: number | null;
8288
8352
  descriptionOverride?: string | null;
8353
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8289
8354
  usePriorMonthEnd?: boolean | null;
8290
8355
  vendorContactId?: string | null;
8291
8356
  accountIds?: string[] | null;
@@ -8330,11 +8395,27 @@ export interface operations {
8330
8395
  transactionType: "deposit" | "expense";
8331
8396
  /** @enum {string} */
8332
8397
  mode: "suggest" | "autoCreateAndMatch";
8398
+ /** @enum {string} */
8399
+ matchMode: "all" | "any";
8400
+ conditions: ({
8401
+ /** @constant */
8402
+ type: "description";
8403
+ /** @enum {string} */
8404
+ operator: "contains" | "equals" | "startsWith";
8405
+ value: string;
8406
+ } | {
8407
+ /** @constant */
8408
+ type: "amount";
8409
+ /** @enum {string} */
8410
+ operator: ">" | ">=" | "=" | "<" | "<=";
8411
+ centValue: number;
8412
+ })[];
8333
8413
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8334
8414
  descriptionValue?: string | null;
8335
8415
  amountMinCent?: number | null;
8336
8416
  amountMaxCent?: number | null;
8337
8417
  descriptionOverride?: string | null;
8418
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8338
8419
  usePriorMonthEnd: boolean;
8339
8420
  version: number;
8340
8421
  vendorContact?: {
@@ -8510,11 +8591,26 @@ export interface operations {
8510
8591
  /** @enum {string} */
8511
8592
  transactionType: "deposit" | "expense";
8512
8593
  mode?: ("suggest" | "autoCreateAndMatch") | null;
8594
+ matchMode?: ("all" | "any") | null;
8595
+ conditions?: ({
8596
+ /** @constant */
8597
+ type: "description";
8598
+ /** @enum {string} */
8599
+ operator: "contains" | "equals" | "startsWith";
8600
+ value: string;
8601
+ } | {
8602
+ /** @constant */
8603
+ type: "amount";
8604
+ /** @enum {string} */
8605
+ operator: ">" | ">=" | "=" | "<" | "<=";
8606
+ centValue: number;
8607
+ })[] | null;
8513
8608
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8514
8609
  descriptionValue?: string | null;
8515
8610
  amountMinCent?: number | null;
8516
8611
  amountMaxCent?: number | null;
8517
8612
  descriptionOverride?: string | null;
8613
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8518
8614
  usePriorMonthEnd?: boolean | null;
8519
8615
  vendorContactId?: string | null;
8520
8616
  accountIds?: string[] | null;
@@ -8724,11 +8820,27 @@ export interface operations {
8724
8820
  transactionType: "deposit" | "expense";
8725
8821
  /** @enum {string} */
8726
8822
  mode: "suggest" | "autoCreateAndMatch";
8823
+ /** @enum {string} */
8824
+ matchMode: "all" | "any";
8825
+ conditions: ({
8826
+ /** @constant */
8827
+ type: "description";
8828
+ /** @enum {string} */
8829
+ operator: "contains" | "equals" | "startsWith";
8830
+ value: string;
8831
+ } | {
8832
+ /** @constant */
8833
+ type: "amount";
8834
+ /** @enum {string} */
8835
+ operator: ">" | ">=" | "=" | "<" | "<=";
8836
+ centValue: number;
8837
+ })[];
8727
8838
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8728
8839
  descriptionValue?: string | null;
8729
8840
  amountMinCent?: number | null;
8730
8841
  amountMaxCent?: number | null;
8731
8842
  descriptionOverride?: string | null;
8843
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8732
8844
  usePriorMonthEnd: boolean;
8733
8845
  version: number;
8734
8846
  vendorContact?: {
@@ -8907,11 +9019,27 @@ export interface operations {
8907
9019
  transactionType?: "deposit" | "expense";
8908
9020
  /** @enum {string} */
8909
9021
  mode?: "suggest" | "autoCreateAndMatch";
9022
+ /** @enum {string} */
9023
+ matchMode?: "all" | "any";
9024
+ conditions?: ({
9025
+ /** @constant */
9026
+ type: "description";
9027
+ /** @enum {string} */
9028
+ operator: "contains" | "equals" | "startsWith";
9029
+ value: string;
9030
+ } | {
9031
+ /** @constant */
9032
+ type: "amount";
9033
+ /** @enum {string} */
9034
+ operator: ">" | ">=" | "=" | "<" | "<=";
9035
+ centValue: number;
9036
+ })[] | null;
8910
9037
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8911
9038
  descriptionValue?: string | null;
8912
9039
  amountMinCent?: number | null;
8913
9040
  amountMaxCent?: number | null;
8914
9041
  descriptionOverride?: string | null;
9042
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8915
9043
  usePriorMonthEnd?: boolean;
8916
9044
  vendorContactId?: string | null;
8917
9045
  accountIds?: string[] | null;
@@ -8956,11 +9084,27 @@ export interface operations {
8956
9084
  transactionType: "deposit" | "expense";
8957
9085
  /** @enum {string} */
8958
9086
  mode: "suggest" | "autoCreateAndMatch";
9087
+ /** @enum {string} */
9088
+ matchMode: "all" | "any";
9089
+ conditions: ({
9090
+ /** @constant */
9091
+ type: "description";
9092
+ /** @enum {string} */
9093
+ operator: "contains" | "equals" | "startsWith";
9094
+ value: string;
9095
+ } | {
9096
+ /** @constant */
9097
+ type: "amount";
9098
+ /** @enum {string} */
9099
+ operator: ">" | ">=" | "=" | "<" | "<=";
9100
+ centValue: number;
9101
+ })[];
8959
9102
  descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8960
9103
  descriptionValue?: string | null;
8961
9104
  amountMinCent?: number | null;
8962
9105
  amountMaxCent?: number | null;
8963
9106
  descriptionOverride?: string | null;
9107
+ /** @description Accrual date override for expense bank rules: post on the prior month end instead of the bank record date */
8964
9108
  usePriorMonthEnd: boolean;
8965
9109
  version: number;
8966
9110
  vendorContact?: {
@@ -9409,6 +9553,112 @@ export interface operations {
9409
9553
  };
9410
9554
  };
9411
9555
  };
9556
+ getBookingChannels: {
9557
+ parameters: {
9558
+ query?: never;
9559
+ header?: never;
9560
+ path?: never;
9561
+ cookie?: never;
9562
+ };
9563
+ requestBody?: never;
9564
+ responses: {
9565
+ /** @description Successful response */
9566
+ 200: {
9567
+ headers: {
9568
+ [name: string]: unknown;
9569
+ };
9570
+ content: {
9571
+ "application/json": {
9572
+ data: {
9573
+ name: string;
9574
+ icon: string | null;
9575
+ color: string | null;
9576
+ }[];
9577
+ };
9578
+ };
9579
+ };
9580
+ /** @description Bad request */
9581
+ 400: {
9582
+ headers: {
9583
+ [name: string]: unknown;
9584
+ };
9585
+ content: {
9586
+ "application/json": {
9587
+ code: string;
9588
+ message: string;
9589
+ issues?: {
9590
+ message: string;
9591
+ }[];
9592
+ context?: unknown;
9593
+ };
9594
+ };
9595
+ };
9596
+ /** @description Unauthorized */
9597
+ 401: {
9598
+ headers: {
9599
+ [name: string]: unknown;
9600
+ };
9601
+ content: {
9602
+ "application/json": {
9603
+ code: string;
9604
+ message: string;
9605
+ issues?: {
9606
+ message: string;
9607
+ }[];
9608
+ context?: unknown;
9609
+ };
9610
+ };
9611
+ };
9612
+ /** @description Forbidden */
9613
+ 403: {
9614
+ headers: {
9615
+ [name: string]: unknown;
9616
+ };
9617
+ content: {
9618
+ "application/json": {
9619
+ code: string;
9620
+ message: string;
9621
+ issues?: {
9622
+ message: string;
9623
+ }[];
9624
+ context?: unknown;
9625
+ };
9626
+ };
9627
+ };
9628
+ /** @description Not found */
9629
+ 404: {
9630
+ headers: {
9631
+ [name: string]: unknown;
9632
+ };
9633
+ content: {
9634
+ "application/json": {
9635
+ code: string;
9636
+ message: string;
9637
+ issues?: {
9638
+ message: string;
9639
+ }[];
9640
+ context?: unknown;
9641
+ };
9642
+ };
9643
+ };
9644
+ /** @description Internal server error */
9645
+ 500: {
9646
+ headers: {
9647
+ [name: string]: unknown;
9648
+ };
9649
+ content: {
9650
+ "application/json": {
9651
+ code: string;
9652
+ message: string;
9653
+ issues?: {
9654
+ message: string;
9655
+ }[];
9656
+ context?: unknown;
9657
+ };
9658
+ };
9659
+ };
9660
+ };
9661
+ };
9412
9662
  getCalendar: {
9413
9663
  parameters: {
9414
9664
  query: {
@@ -16036,7 +16286,7 @@ export interface operations {
16036
16286
  data: {
16037
16287
  /** Format: uuid */
16038
16288
  listingId: string;
16039
- startAt: string;
16289
+ startAt: string | null;
16040
16290
  endAt?: string | null;
16041
16291
  setListingInactive?: boolean | null;
16042
16292
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16155,7 +16405,7 @@ export interface operations {
16155
16405
  "application/json": {
16156
16406
  /** Format: uuid */
16157
16407
  listingId: string;
16158
- startAt?: string;
16408
+ startAt?: string | null;
16159
16409
  endAt?: string | null;
16160
16410
  reserve?: number | null;
16161
16411
  members: {
@@ -16178,7 +16428,7 @@ export interface operations {
16178
16428
  "application/json": {
16179
16429
  /** Format: uuid */
16180
16430
  listingId: string;
16181
- startAt: string;
16431
+ startAt: string | null;
16182
16432
  endAt?: string | null;
16183
16433
  setListingInactive?: boolean | null;
16184
16434
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16295,7 +16545,7 @@ export interface operations {
16295
16545
  "application/json": {
16296
16546
  /** Format: uuid */
16297
16547
  listingId: string;
16298
- startAt: string;
16548
+ startAt: string | null;
16299
16549
  endAt?: string | null;
16300
16550
  setListingInactive?: boolean | null;
16301
16551
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16406,7 +16656,7 @@ export interface operations {
16406
16656
  "application/json": {
16407
16657
  /** Format: uuid */
16408
16658
  listingId?: string;
16409
- startAt?: string;
16659
+ startAt?: string | null;
16410
16660
  endAt?: string | null;
16411
16661
  reserve?: number | null;
16412
16662
  members?: {
@@ -16429,7 +16679,7 @@ export interface operations {
16429
16679
  "application/json": {
16430
16680
  /** Format: uuid */
16431
16681
  listingId: string;
16432
- startAt: string;
16682
+ startAt: string | null;
16433
16683
  endAt?: string | null;
16434
16684
  setListingInactive?: boolean | null;
16435
16685
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -23511,7 +23761,7 @@ export interface operations {
23511
23761
  netIncome: number;
23512
23762
  adjustments: number;
23513
23763
  transfers: number;
23514
- reserves: number;
23764
+ assetsAndLiabilities: number;
23515
23765
  availableBalance: number;
23516
23766
  };
23517
23767
  summary: {
@@ -23743,7 +23993,7 @@ export interface operations {
23743
23993
  netIncome: number;
23744
23994
  adjustments: number;
23745
23995
  transfers: number;
23746
- reserves: number;
23996
+ assetsAndLiabilities: number;
23747
23997
  availableBalance: number;
23748
23998
  };
23749
23999
  summary: {
@@ -23768,7 +24018,7 @@ export interface operations {
23768
24018
  }[];
23769
24019
  sections: {
23770
24020
  /** @enum {string} */
23771
- id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "reserves" | "other";
24021
+ id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "assets-and-liabilities" | "other";
23772
24022
  name: string;
23773
24023
  accounts: {
23774
24024
  id: string;
@@ -23990,8 +24240,6 @@ export interface operations {
23990
24240
  search?: string;
23991
24241
  date?: string;
23992
24242
  amount?: string;
23993
- /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
23994
- isDateRangeEndInclusive?: boolean;
23995
24243
  /** @description comma separated reservation ids */
23996
24244
  reservationIds?: string;
23997
24245
  /** @description comma separated transaction ids */
@@ -24252,8 +24500,6 @@ export interface operations {
24252
24500
  search?: string;
24253
24501
  date?: string;
24254
24502
  amount?: string;
24255
- /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
24256
- isDateRangeEndInclusive?: boolean;
24257
24503
  /** @description comma separated reservation ids */
24258
24504
  reservationIds?: string;
24259
24505
  /** @description comma separated transaction ids */
@@ -37977,6 +38223,11 @@ export interface operations {
37977
38223
  targetName?: string | null;
37978
38224
  glStartAt: string;
37979
38225
  includeHistoricalStatements?: boolean;
38226
+ accountMappings?: {
38227
+ legacyAccountKey: string;
38228
+ /** Format: uuid */
38229
+ targetAccountId: string;
38230
+ }[];
37980
38231
  };
37981
38232
  };
37982
38233
  };
@@ -38186,6 +38437,130 @@ export interface operations {
38186
38437
  };
38187
38438
  };
38188
38439
  };
38440
+ getTeamsMigrateVriToVrtAccountMappings: {
38441
+ parameters: {
38442
+ query: {
38443
+ sourceTenantId: string;
38444
+ targetPartnerId?: string | null;
38445
+ glStartAt: string;
38446
+ };
38447
+ header?: never;
38448
+ path?: never;
38449
+ cookie?: never;
38450
+ };
38451
+ requestBody?: never;
38452
+ responses: {
38453
+ /** @description Successful response */
38454
+ 200: {
38455
+ headers: {
38456
+ [name: string]: unknown;
38457
+ };
38458
+ content: {
38459
+ "application/json": {
38460
+ effectiveGlStartAt: string;
38461
+ oldAccounts: {
38462
+ legacyAccountKey: string;
38463
+ legacyAccountRef?: string | null;
38464
+ legacyAccountName: string;
38465
+ legacyClassification?: string | null;
38466
+ sources: ("template" | "line")[];
38467
+ suggestedTargetAccountId?: string | null;
38468
+ suggestedTargetAccountTitle?: string | null;
38469
+ }[];
38470
+ newAccounts: {
38471
+ /** Format: uuid */
38472
+ id: string;
38473
+ title: string;
38474
+ /** Format: uuid */
38475
+ categoryId: string;
38476
+ type: string;
38477
+ status?: string | null;
38478
+ }[];
38479
+ };
38480
+ };
38481
+ };
38482
+ /** @description Bad request */
38483
+ 400: {
38484
+ headers: {
38485
+ [name: string]: unknown;
38486
+ };
38487
+ content: {
38488
+ "application/json": {
38489
+ code: string;
38490
+ message: string;
38491
+ issues?: {
38492
+ message: string;
38493
+ }[];
38494
+ context?: unknown;
38495
+ };
38496
+ };
38497
+ };
38498
+ /** @description Unauthorized */
38499
+ 401: {
38500
+ headers: {
38501
+ [name: string]: unknown;
38502
+ };
38503
+ content: {
38504
+ "application/json": {
38505
+ code: string;
38506
+ message: string;
38507
+ issues?: {
38508
+ message: string;
38509
+ }[];
38510
+ context?: unknown;
38511
+ };
38512
+ };
38513
+ };
38514
+ /** @description Forbidden */
38515
+ 403: {
38516
+ headers: {
38517
+ [name: string]: unknown;
38518
+ };
38519
+ content: {
38520
+ "application/json": {
38521
+ code: string;
38522
+ message: string;
38523
+ issues?: {
38524
+ message: string;
38525
+ }[];
38526
+ context?: unknown;
38527
+ };
38528
+ };
38529
+ };
38530
+ /** @description Not found */
38531
+ 404: {
38532
+ headers: {
38533
+ [name: string]: unknown;
38534
+ };
38535
+ content: {
38536
+ "application/json": {
38537
+ code: string;
38538
+ message: string;
38539
+ issues?: {
38540
+ message: string;
38541
+ }[];
38542
+ context?: unknown;
38543
+ };
38544
+ };
38545
+ };
38546
+ /** @description Internal server error */
38547
+ 500: {
38548
+ headers: {
38549
+ [name: string]: unknown;
38550
+ };
38551
+ content: {
38552
+ "application/json": {
38553
+ code: string;
38554
+ message: string;
38555
+ issues?: {
38556
+ message: string;
38557
+ }[];
38558
+ context?: unknown;
38559
+ };
38560
+ };
38561
+ };
38562
+ };
38563
+ };
38189
38564
  getTeamsOpeningBalancesAccountsPayable: {
38190
38565
  parameters: {
38191
38566
  query: {