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