@vrplatform/api 1.3.1-6369 → 1.3.1-6381

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.
@@ -996,7 +996,7 @@ export interface paths {
996
996
  get?: never;
997
997
  put?: never;
998
998
  /**
999
- * @description Queue a CSV import after permission checks. Reviewed imports must match the preview's upload, resource, mapping, and source hash. Bank-record previews become stale when the account start date changes.
999
+ * @description Import a fixed-template CSV through a connection.
1000
1000
  *
1001
1001
  * Required scope: integrations:import
1002
1002
  */
@@ -1007,132 +1007,6 @@ export interface paths {
1007
1007
  patch?: never;
1008
1008
  trace?: never;
1009
1009
  };
1010
- "/connections/{id}/csv-import/preview": {
1011
- parameters: {
1012
- query?: never;
1013
- header?: never;
1014
- path?: never;
1015
- cookie?: never;
1016
- };
1017
- get?: never;
1018
- put?: never;
1019
- /**
1020
- * @description Start a CSV preview after checking the resource's write permission. Bank records require a team-scoped bank account; rows before its start date are system exclusions.
1021
- *
1022
- * Required scope: integrations:import
1023
- */
1024
- post: operations["postConnectionsByIdCsvImportPreview"];
1025
- delete?: never;
1026
- options?: never;
1027
- head?: never;
1028
- patch?: never;
1029
- trace?: never;
1030
- };
1031
- "/connections/{id}/csv-import/preview/{previewId}": {
1032
- parameters: {
1033
- query?: never;
1034
- header?: never;
1035
- path?: never;
1036
- cookie?: never;
1037
- };
1038
- /**
1039
- * @description Get a validated resource-discriminated CSV preview summary. Full logical records are available through the paginated records endpoint.
1040
- *
1041
- * Required scope: integrations:import
1042
- */
1043
- get: operations["getConnectionsByIdCsvImportPreviewByPreviewId"];
1044
- put?: never;
1045
- post?: never;
1046
- delete?: never;
1047
- options?: never;
1048
- head?: never;
1049
- patch?: never;
1050
- trace?: never;
1051
- };
1052
- "/connections/{id}/csv-import/preview/{previewId}/records": {
1053
- parameters: {
1054
- query?: never;
1055
- header?: never;
1056
- path?: never;
1057
- cookie?: never;
1058
- };
1059
- /**
1060
- * @description Get a bounded page of logical records from a completed CSV preview. The opaque cursor is bound to the preview, filter, and page size.
1061
- *
1062
- * Required scope: integrations:import
1063
- */
1064
- get: operations["getConnectionsByIdCsvImportPreviewByPreviewIdRecords"];
1065
- put?: never;
1066
- post?: never;
1067
- delete?: never;
1068
- options?: never;
1069
- head?: never;
1070
- patch?: never;
1071
- trace?: never;
1072
- };
1073
- "/connections/{id}/csv-import/uploads": {
1074
- parameters: {
1075
- query?: never;
1076
- header?: never;
1077
- path?: never;
1078
- cookie?: never;
1079
- };
1080
- get?: never;
1081
- put?: never;
1082
- /**
1083
- * @description Create a 24-hour Connection-scoped upload for one CSV up to 100,000,000 bytes. Send the unchanged file once to uploadUrl with Content-Type text/csv and Content-Length. Completed retries are idempotent.
1084
- *
1085
- * Required scope: integrations:import
1086
- */
1087
- post: operations["postConnectionsByIdCsvImportUploads"];
1088
- delete?: never;
1089
- options?: never;
1090
- head?: never;
1091
- patch?: never;
1092
- trace?: never;
1093
- };
1094
- "/connections/{id}/csv-import/uploads/{uploadRef}": {
1095
- parameters: {
1096
- query?: never;
1097
- header?: never;
1098
- path?: never;
1099
- cookie?: never;
1100
- };
1101
- get?: never;
1102
- /**
1103
- * @description Upload the complete raw CSV once to regional storage. Content-Type must be text/csv (parameters allowed). Content-Length is required, and the stored byte size must match fileSize. A completed retry does not overwrite the stored object.
1104
- *
1105
- * Required scope: integrations:import
1106
- */
1107
- put: operations["putConnectionsByIdCsvImportUploadsByUploadRef"];
1108
- post?: never;
1109
- delete?: never;
1110
- options?: never;
1111
- head?: never;
1112
- patch?: never;
1113
- trace?: never;
1114
- };
1115
- "/connections/{id}/csv-import/{syncId}": {
1116
- parameters: {
1117
- query?: never;
1118
- header?: never;
1119
- path?: never;
1120
- cookie?: never;
1121
- };
1122
- /**
1123
- * @description Get an asynchronous CSV import result
1124
- *
1125
- * Required scope: integrations:import
1126
- */
1127
- get: operations["getConnectionsByIdCsvImportBySyncId"];
1128
- put?: never;
1129
- post?: never;
1130
- delete?: never;
1131
- options?: never;
1132
- head?: never;
1133
- patch?: never;
1134
- trace?: never;
1135
- };
1136
1010
  "/connections/{id}/sync": {
1137
1011
  parameters: {
1138
1012
  query?: never;
@@ -4877,7 +4751,7 @@ export interface paths {
4877
4751
  cookie?: never;
4878
4752
  };
4879
4753
  /**
4880
- * @description List mapping settings for the selected team from its compact line-type usage catalog and explicit mappings. Status filters expose mapped, excluded, or unmapped totals without scanning payment-line history.
4754
+ * @description List mapping settings for the selected team from its indexed distinct reservation line types and explicit mappings. Status filters expose mapped, excluded, or unmapped totals without scanning repeated payment-line history.
4881
4755
  *
4882
4756
  * Required scope: reservation-mappings:read
4883
4757
  */
@@ -26052,360 +25926,10 @@ export interface operations {
26052
25926
  fileData?: string;
26053
25927
  fileUri?: string;
26054
25928
  fileName?: string;
26055
- uploadRef?: string;
26056
- /** Format: uuid */
26057
- accountId?: string;
26058
- /** Format: uuid */
26059
- previewId?: string;
26060
- /** @enum {string} */
26061
- resource?: "bankRecords" | "owners" | "expenses" | "vendors" | "deposits";
26062
- uniqueRef?: string;
25929
+ uniqueRef: string;
26063
25930
  params?: {
26064
25931
  [key: string]: unknown;
26065
25932
  };
26066
- mapping?: {
26067
- /** @constant */
26068
- resource?: "bankRecords";
26069
- /** @constant */
26070
- version: 1;
26071
- /** @enum {string} */
26072
- delimiter: "," | ";" | "\t" | "|";
26073
- headerRow: number;
26074
- date: {
26075
- source?: string | null;
26076
- format?: ("yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy") | null;
26077
- };
26078
- description: {
26079
- sources: string[];
26080
- /** @constant */
26081
- operation: "join";
26082
- };
26083
- amount: {
26084
- /** @enum {string} */
26085
- mode: "signed" | "debitCredit";
26086
- source?: string | null;
26087
- debit?: string | null;
26088
- credit?: string | null;
26089
- /** @constant */
26090
- debitSign: -1;
26091
- /** @constant */
26092
- creditSign: 1;
26093
- };
26094
- excludedRows: number[];
26095
- } | {
26096
- /** @constant */
26097
- resource: "owners";
26098
- /** @constant */
26099
- version: 1;
26100
- /** @enum {string} */
26101
- delimiter: "," | ";" | "\t" | "|";
26102
- headerRow: number;
26103
- excludedRows: number[];
26104
- fields: {
26105
- listing: {
26106
- source?: string | null;
26107
- overrides: {
26108
- [key: string]: string;
26109
- };
26110
- };
26111
- ownerKind: {
26112
- source?: string | null;
26113
- /** @enum {string} */
26114
- constant?: "individual" | "company";
26115
- values: {
26116
- [key: string]: "individual" | "company";
26117
- };
26118
- };
26119
- firstName: {
26120
- source?: string | null;
26121
- };
26122
- lastName: {
26123
- source?: string | null;
26124
- };
26125
- companyName: {
26126
- source?: string | null;
26127
- };
26128
- companyType: {
26129
- source?: string | null;
26130
- values: {
26131
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
26132
- };
26133
- };
26134
- ownerReference: {
26135
- source?: string | null;
26136
- overrides: {
26137
- [key: string]: string;
26138
- };
26139
- };
26140
- email: {
26141
- source?: string | null;
26142
- };
26143
- phone: {
26144
- source?: string | null;
26145
- };
26146
- taxIdentifier: {
26147
- source?: string | null;
26148
- };
26149
- address: {
26150
- source?: string | null;
26151
- };
26152
- unit: {
26153
- source?: string | null;
26154
- };
26155
- city: {
26156
- source?: string | null;
26157
- };
26158
- state: {
26159
- source?: string | null;
26160
- };
26161
- postalCode: {
26162
- source?: string | null;
26163
- };
26164
- country: {
26165
- source?: string | null;
26166
- };
26167
- payoutAccount: {
26168
- source?: string | null;
26169
- overrides: {
26170
- [key: string]: string;
26171
- };
26172
- };
26173
- };
26174
- } | {
26175
- /** @constant */
26176
- resource: "expenses";
26177
- /** @constant */
26178
- version: 1;
26179
- /** @enum {string} */
26180
- delimiter: "," | ";" | "\t" | "|";
26181
- headerRow: number;
26182
- excludedRows: number[];
26183
- fields: {
26184
- billReference: {
26185
- source?: string | null;
26186
- };
26187
- issueDate: {
26188
- source?: string | null;
26189
- /** @enum {string} */
26190
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26191
- };
26192
- vendor: {
26193
- source?: string | null;
26194
- overrides: {
26195
- [key: string]: string;
26196
- };
26197
- };
26198
- status: {
26199
- source?: string | null;
26200
- /** @enum {string} */
26201
- constant?: "paid" | "unpaid";
26202
- values: {
26203
- [key: string]: "paid" | "unpaid";
26204
- };
26205
- };
26206
- paymentDate: {
26207
- source?: string | null;
26208
- /** @enum {string} */
26209
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26210
- };
26211
- bankAccount: {
26212
- source?: string | null;
26213
- overrides: {
26214
- [key: string]: string;
26215
- };
26216
- };
26217
- currency: {
26218
- source?: string | null;
26219
- };
26220
- description: {
26221
- source?: string | null;
26222
- };
26223
- lineDescription: {
26224
- source?: string | null;
26225
- };
26226
- expenseAccount: {
26227
- source?: string | null;
26228
- overrides: {
26229
- [key: string]: string;
26230
- };
26231
- };
26232
- appliedAmount: {
26233
- source?: string | null;
26234
- };
26235
- reservation: {
26236
- source?: string | null;
26237
- overrides: {
26238
- [key: string]: string;
26239
- };
26240
- };
26241
- listing: {
26242
- source?: string | null;
26243
- overrides: {
26244
- [key: string]: string;
26245
- };
26246
- };
26247
- billToOwner: {
26248
- source?: string | null;
26249
- constant?: boolean;
26250
- values: {
26251
- [key: string]: boolean;
26252
- };
26253
- };
26254
- markup: {
26255
- source?: string | null;
26256
- };
26257
- markupTax: {
26258
- source?: string | null;
26259
- overrides: {
26260
- [key: string]: string;
26261
- };
26262
- };
26263
- };
26264
- } | {
26265
- /** @constant */
26266
- resource: "vendors";
26267
- /** @constant */
26268
- version: 1;
26269
- /** @enum {string} */
26270
- delimiter: "," | ";" | "\t" | "|";
26271
- headerRow: number;
26272
- excludedRows: number[];
26273
- fields: {
26274
- vendorKind: {
26275
- source?: string | null;
26276
- /** @enum {string} */
26277
- constant?: "individual" | "company";
26278
- values: {
26279
- [key: string]: "individual" | "company";
26280
- };
26281
- };
26282
- firstName: {
26283
- source?: string | null;
26284
- };
26285
- lastName: {
26286
- source?: string | null;
26287
- };
26288
- companyName: {
26289
- source?: string | null;
26290
- };
26291
- companyType: {
26292
- source?: string | null;
26293
- values: {
26294
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
26295
- };
26296
- };
26297
- vendorReference: {
26298
- source?: string | null;
26299
- overrides: {
26300
- [key: string]: string;
26301
- };
26302
- };
26303
- email: {
26304
- source?: string | null;
26305
- };
26306
- phone: {
26307
- source?: string | null;
26308
- };
26309
- taxIdentifier: {
26310
- source?: string | null;
26311
- };
26312
- address: {
26313
- source?: string | null;
26314
- };
26315
- unit: {
26316
- source?: string | null;
26317
- };
26318
- city: {
26319
- source?: string | null;
26320
- };
26321
- state: {
26322
- source?: string | null;
26323
- };
26324
- postalCode: {
26325
- source?: string | null;
26326
- };
26327
- country: {
26328
- source?: string | null;
26329
- };
26330
- };
26331
- } | {
26332
- /** @constant */
26333
- resource: "deposits";
26334
- /** @constant */
26335
- version: 1;
26336
- /** @enum {string} */
26337
- delimiter: "," | ";" | "\t" | "|";
26338
- headerRow: number;
26339
- excludedRows: number[];
26340
- fields: {
26341
- reference: {
26342
- source?: string | null;
26343
- };
26344
- date: {
26345
- source?: string | null;
26346
- /** @enum {string} */
26347
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26348
- };
26349
- bankAccount: {
26350
- source?: string | null;
26351
- overrides: {
26352
- [key: string]: string;
26353
- };
26354
- };
26355
- description: {
26356
- source?: string | null;
26357
- };
26358
- currency: {
26359
- source?: string | null;
26360
- };
26361
- reservation: {
26362
- source?: string | null;
26363
- overrides: {
26364
- [key: string]: string;
26365
- };
26366
- };
26367
- contact: {
26368
- source?: string | null;
26369
- overrides: {
26370
- [key: string]: string;
26371
- };
26372
- };
26373
- listing: {
26374
- source?: string | null;
26375
- overrides: {
26376
- [key: string]: string;
26377
- };
26378
- };
26379
- account: {
26380
- source?: string | null;
26381
- overrides: {
26382
- [key: string]: string;
26383
- };
26384
- };
26385
- lineDescription: {
26386
- source?: string | null;
26387
- };
26388
- appliedAmount: {
26389
- source?: string | null;
26390
- };
26391
- merchantFee: {
26392
- source?: string | null;
26393
- };
26394
- channelFee: {
26395
- source?: string | null;
26396
- };
26397
- reserve: {
26398
- source?: string | null;
26399
- };
26400
- coHostPayout: {
26401
- source?: string | null;
26402
- };
26403
- vat: {
26404
- source?: string | null;
26405
- };
26406
- };
26407
- };
26408
- sourceHash?: string;
26409
25933
  };
26410
25934
  };
26411
25935
  };
@@ -26417,7 +25941,7 @@ export interface operations {
26417
25941
  };
26418
25942
  content: {
26419
25943
  "application/json": {
26420
- data: ({
25944
+ data: {
26421
25945
  syncId: string;
26422
25946
  /** @enum {string} */
26423
25947
  status: "completed";
@@ -26430,3037 +25954,6 @@ export interface operations {
26430
25954
  rowNumber: number;
26431
25955
  message: string;
26432
25956
  }[];
26433
- }) | {
26434
- syncId: string;
26435
- /** @enum {string} */
26436
- status: "queued";
26437
- };
26438
- };
26439
- };
26440
- };
26441
- /** @description Bad request */
26442
- 400: {
26443
- headers: {
26444
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26445
- "Retry-After"?: number;
26446
- [name: string]: unknown;
26447
- };
26448
- content: {
26449
- "application/json": {
26450
- code: string;
26451
- message: string;
26452
- links?: {
26453
- docs: string;
26454
- schema: string;
26455
- };
26456
- issues?: {
26457
- message: string;
26458
- path?: (string | number)[];
26459
- schema?: string;
26460
- }[];
26461
- retryable?: boolean;
26462
- context?: unknown;
26463
- };
26464
- };
26465
- };
26466
- /** @description Unauthorized */
26467
- 401: {
26468
- headers: {
26469
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26470
- "Retry-After"?: number;
26471
- [name: string]: unknown;
26472
- };
26473
- content: {
26474
- "application/json": {
26475
- code: string;
26476
- message: string;
26477
- links?: {
26478
- docs: string;
26479
- schema: string;
26480
- };
26481
- issues?: {
26482
- message: string;
26483
- path?: (string | number)[];
26484
- schema?: string;
26485
- }[];
26486
- retryable?: boolean;
26487
- context?: unknown;
26488
- };
26489
- };
26490
- };
26491
- /** @description Forbidden */
26492
- 403: {
26493
- headers: {
26494
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26495
- "Retry-After"?: number;
26496
- [name: string]: unknown;
26497
- };
26498
- content: {
26499
- "application/json": {
26500
- code: string;
26501
- message: string;
26502
- links?: {
26503
- docs: string;
26504
- schema: string;
26505
- };
26506
- issues?: {
26507
- message: string;
26508
- path?: (string | number)[];
26509
- schema?: string;
26510
- }[];
26511
- retryable?: boolean;
26512
- context?: unknown;
26513
- };
26514
- };
26515
- };
26516
- /** @description Not found */
26517
- 404: {
26518
- headers: {
26519
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26520
- "Retry-After"?: number;
26521
- [name: string]: unknown;
26522
- };
26523
- content: {
26524
- "application/json": {
26525
- code: string;
26526
- message: string;
26527
- links?: {
26528
- docs: string;
26529
- schema: string;
26530
- };
26531
- issues?: {
26532
- message: string;
26533
- path?: (string | number)[];
26534
- schema?: string;
26535
- }[];
26536
- retryable?: boolean;
26537
- context?: unknown;
26538
- };
26539
- };
26540
- };
26541
- /** @description Conflict */
26542
- 409: {
26543
- headers: {
26544
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26545
- "Retry-After"?: number;
26546
- [name: string]: unknown;
26547
- };
26548
- content: {
26549
- "application/json": {
26550
- code: string;
26551
- message: string;
26552
- links?: {
26553
- docs: string;
26554
- schema: string;
26555
- };
26556
- issues?: {
26557
- message: string;
26558
- path?: (string | number)[];
26559
- schema?: string;
26560
- }[];
26561
- retryable?: boolean;
26562
- context?: unknown;
26563
- };
26564
- };
26565
- };
26566
- /** @description Gone */
26567
- 410: {
26568
- headers: {
26569
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26570
- "Retry-After"?: number;
26571
- [name: string]: unknown;
26572
- };
26573
- content: {
26574
- "application/json": {
26575
- code: string;
26576
- message: string;
26577
- links?: {
26578
- docs: string;
26579
- schema: string;
26580
- };
26581
- issues?: {
26582
- message: string;
26583
- path?: (string | number)[];
26584
- schema?: string;
26585
- }[];
26586
- retryable?: boolean;
26587
- context?: unknown;
26588
- };
26589
- };
26590
- };
26591
- /** @description Unprocessable content */
26592
- 422: {
26593
- headers: {
26594
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26595
- "Retry-After"?: number;
26596
- [name: string]: unknown;
26597
- };
26598
- content: {
26599
- "application/json": {
26600
- code: string;
26601
- message: string;
26602
- links?: {
26603
- docs: string;
26604
- schema: string;
26605
- };
26606
- issues?: {
26607
- message: string;
26608
- path?: (string | number)[];
26609
- schema?: string;
26610
- }[];
26611
- retryable?: boolean;
26612
- context?: unknown;
26613
- };
26614
- };
26615
- };
26616
- /** @description Internal server error */
26617
- 500: {
26618
- headers: {
26619
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26620
- "Retry-After"?: number;
26621
- [name: string]: unknown;
26622
- };
26623
- content: {
26624
- "application/json": {
26625
- code: string;
26626
- message: string;
26627
- links?: {
26628
- docs: string;
26629
- schema: string;
26630
- };
26631
- issues?: {
26632
- message: string;
26633
- path?: (string | number)[];
26634
- schema?: string;
26635
- }[];
26636
- retryable?: boolean;
26637
- context?: unknown;
26638
- };
26639
- };
26640
- };
26641
- /** @description Service unavailable */
26642
- 503: {
26643
- headers: {
26644
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
26645
- "Retry-After"?: number;
26646
- [name: string]: unknown;
26647
- };
26648
- content: {
26649
- "application/json": {
26650
- code: string;
26651
- message: string;
26652
- links?: {
26653
- docs: string;
26654
- schema: string;
26655
- };
26656
- issues?: {
26657
- message: string;
26658
- path?: (string | number)[];
26659
- schema?: string;
26660
- }[];
26661
- retryable?: boolean;
26662
- context?: unknown;
26663
- };
26664
- };
26665
- };
26666
- };
26667
- };
26668
- postConnectionsByIdCsvImportPreview: {
26669
- parameters: {
26670
- query?: never;
26671
- header?: never;
26672
- path: {
26673
- id: string;
26674
- };
26675
- cookie?: never;
26676
- };
26677
- requestBody?: {
26678
- content: {
26679
- "application/json": {
26680
- /** @enum {string} */
26681
- resource?: "bankRecords" | "owners" | "expenses" | "vendors" | "deposits";
26682
- /** Format: uuid */
26683
- accountId?: string;
26684
- uploadRef: string;
26685
- mapping?: {
26686
- /** @constant */
26687
- resource?: "bankRecords";
26688
- /** @constant */
26689
- version: 1;
26690
- /** @enum {string} */
26691
- delimiter: "," | ";" | "\t" | "|";
26692
- headerRow: number;
26693
- date: {
26694
- source?: string | null;
26695
- format?: ("yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy") | null;
26696
- };
26697
- description: {
26698
- sources: string[];
26699
- /** @constant */
26700
- operation: "join";
26701
- };
26702
- amount: {
26703
- /** @enum {string} */
26704
- mode: "signed" | "debitCredit";
26705
- source?: string | null;
26706
- debit?: string | null;
26707
- credit?: string | null;
26708
- /** @constant */
26709
- debitSign: -1;
26710
- /** @constant */
26711
- creditSign: 1;
26712
- };
26713
- excludedRows: number[];
26714
- } | {
26715
- /** @constant */
26716
- resource: "owners";
26717
- /** @constant */
26718
- version: 1;
26719
- /** @enum {string} */
26720
- delimiter: "," | ";" | "\t" | "|";
26721
- headerRow: number;
26722
- excludedRows: number[];
26723
- fields: {
26724
- listing: {
26725
- source?: string | null;
26726
- overrides: {
26727
- [key: string]: string;
26728
- };
26729
- };
26730
- ownerKind: {
26731
- source?: string | null;
26732
- /** @enum {string} */
26733
- constant?: "individual" | "company";
26734
- values: {
26735
- [key: string]: "individual" | "company";
26736
- };
26737
- };
26738
- firstName: {
26739
- source?: string | null;
26740
- };
26741
- lastName: {
26742
- source?: string | null;
26743
- };
26744
- companyName: {
26745
- source?: string | null;
26746
- };
26747
- companyType: {
26748
- source?: string | null;
26749
- values: {
26750
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
26751
- };
26752
- };
26753
- ownerReference: {
26754
- source?: string | null;
26755
- overrides: {
26756
- [key: string]: string;
26757
- };
26758
- };
26759
- email: {
26760
- source?: string | null;
26761
- };
26762
- phone: {
26763
- source?: string | null;
26764
- };
26765
- taxIdentifier: {
26766
- source?: string | null;
26767
- };
26768
- address: {
26769
- source?: string | null;
26770
- };
26771
- unit: {
26772
- source?: string | null;
26773
- };
26774
- city: {
26775
- source?: string | null;
26776
- };
26777
- state: {
26778
- source?: string | null;
26779
- };
26780
- postalCode: {
26781
- source?: string | null;
26782
- };
26783
- country: {
26784
- source?: string | null;
26785
- };
26786
- payoutAccount: {
26787
- source?: string | null;
26788
- overrides: {
26789
- [key: string]: string;
26790
- };
26791
- };
26792
- };
26793
- } | {
26794
- /** @constant */
26795
- resource: "expenses";
26796
- /** @constant */
26797
- version: 1;
26798
- /** @enum {string} */
26799
- delimiter: "," | ";" | "\t" | "|";
26800
- headerRow: number;
26801
- excludedRows: number[];
26802
- fields: {
26803
- billReference: {
26804
- source?: string | null;
26805
- };
26806
- issueDate: {
26807
- source?: string | null;
26808
- /** @enum {string} */
26809
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26810
- };
26811
- vendor: {
26812
- source?: string | null;
26813
- overrides: {
26814
- [key: string]: string;
26815
- };
26816
- };
26817
- status: {
26818
- source?: string | null;
26819
- /** @enum {string} */
26820
- constant?: "paid" | "unpaid";
26821
- values: {
26822
- [key: string]: "paid" | "unpaid";
26823
- };
26824
- };
26825
- paymentDate: {
26826
- source?: string | null;
26827
- /** @enum {string} */
26828
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26829
- };
26830
- bankAccount: {
26831
- source?: string | null;
26832
- overrides: {
26833
- [key: string]: string;
26834
- };
26835
- };
26836
- currency: {
26837
- source?: string | null;
26838
- };
26839
- description: {
26840
- source?: string | null;
26841
- };
26842
- lineDescription: {
26843
- source?: string | null;
26844
- };
26845
- expenseAccount: {
26846
- source?: string | null;
26847
- overrides: {
26848
- [key: string]: string;
26849
- };
26850
- };
26851
- appliedAmount: {
26852
- source?: string | null;
26853
- };
26854
- reservation: {
26855
- source?: string | null;
26856
- overrides: {
26857
- [key: string]: string;
26858
- };
26859
- };
26860
- listing: {
26861
- source?: string | null;
26862
- overrides: {
26863
- [key: string]: string;
26864
- };
26865
- };
26866
- billToOwner: {
26867
- source?: string | null;
26868
- constant?: boolean;
26869
- values: {
26870
- [key: string]: boolean;
26871
- };
26872
- };
26873
- markup: {
26874
- source?: string | null;
26875
- };
26876
- markupTax: {
26877
- source?: string | null;
26878
- overrides: {
26879
- [key: string]: string;
26880
- };
26881
- };
26882
- };
26883
- } | {
26884
- /** @constant */
26885
- resource: "vendors";
26886
- /** @constant */
26887
- version: 1;
26888
- /** @enum {string} */
26889
- delimiter: "," | ";" | "\t" | "|";
26890
- headerRow: number;
26891
- excludedRows: number[];
26892
- fields: {
26893
- vendorKind: {
26894
- source?: string | null;
26895
- /** @enum {string} */
26896
- constant?: "individual" | "company";
26897
- values: {
26898
- [key: string]: "individual" | "company";
26899
- };
26900
- };
26901
- firstName: {
26902
- source?: string | null;
26903
- };
26904
- lastName: {
26905
- source?: string | null;
26906
- };
26907
- companyName: {
26908
- source?: string | null;
26909
- };
26910
- companyType: {
26911
- source?: string | null;
26912
- values: {
26913
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
26914
- };
26915
- };
26916
- vendorReference: {
26917
- source?: string | null;
26918
- overrides: {
26919
- [key: string]: string;
26920
- };
26921
- };
26922
- email: {
26923
- source?: string | null;
26924
- };
26925
- phone: {
26926
- source?: string | null;
26927
- };
26928
- taxIdentifier: {
26929
- source?: string | null;
26930
- };
26931
- address: {
26932
- source?: string | null;
26933
- };
26934
- unit: {
26935
- source?: string | null;
26936
- };
26937
- city: {
26938
- source?: string | null;
26939
- };
26940
- state: {
26941
- source?: string | null;
26942
- };
26943
- postalCode: {
26944
- source?: string | null;
26945
- };
26946
- country: {
26947
- source?: string | null;
26948
- };
26949
- };
26950
- } | {
26951
- /** @constant */
26952
- resource: "deposits";
26953
- /** @constant */
26954
- version: 1;
26955
- /** @enum {string} */
26956
- delimiter: "," | ";" | "\t" | "|";
26957
- headerRow: number;
26958
- excludedRows: number[];
26959
- fields: {
26960
- reference: {
26961
- source?: string | null;
26962
- };
26963
- date: {
26964
- source?: string | null;
26965
- /** @enum {string} */
26966
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
26967
- };
26968
- bankAccount: {
26969
- source?: string | null;
26970
- overrides: {
26971
- [key: string]: string;
26972
- };
26973
- };
26974
- description: {
26975
- source?: string | null;
26976
- };
26977
- currency: {
26978
- source?: string | null;
26979
- };
26980
- reservation: {
26981
- source?: string | null;
26982
- overrides: {
26983
- [key: string]: string;
26984
- };
26985
- };
26986
- contact: {
26987
- source?: string | null;
26988
- overrides: {
26989
- [key: string]: string;
26990
- };
26991
- };
26992
- listing: {
26993
- source?: string | null;
26994
- overrides: {
26995
- [key: string]: string;
26996
- };
26997
- };
26998
- account: {
26999
- source?: string | null;
27000
- overrides: {
27001
- [key: string]: string;
27002
- };
27003
- };
27004
- lineDescription: {
27005
- source?: string | null;
27006
- };
27007
- appliedAmount: {
27008
- source?: string | null;
27009
- };
27010
- merchantFee: {
27011
- source?: string | null;
27012
- };
27013
- channelFee: {
27014
- source?: string | null;
27015
- };
27016
- reserve: {
27017
- source?: string | null;
27018
- };
27019
- coHostPayout: {
27020
- source?: string | null;
27021
- };
27022
- vat: {
27023
- source?: string | null;
27024
- };
27025
- };
27026
- };
27027
- };
27028
- };
27029
- };
27030
- responses: {
27031
- /** @description Successful response */
27032
- 200: {
27033
- headers: {
27034
- [name: string]: unknown;
27035
- };
27036
- content: {
27037
- "application/json": {
27038
- data: {
27039
- /** @constant */
27040
- status: "queued";
27041
- /** Format: uuid */
27042
- previewId: string;
27043
- /** Format: uuid */
27044
- syncId: string;
27045
- } | {
27046
- /** @constant */
27047
- status: "processing";
27048
- /** Format: uuid */
27049
- previewId: string;
27050
- /** Format: uuid */
27051
- syncId: string;
27052
- } | {
27053
- /** @constant */
27054
- status: "completed";
27055
- /** Format: uuid */
27056
- previewId: string;
27057
- /** Format: uuid */
27058
- syncId: string;
27059
- result: {
27060
- canImport: boolean;
27061
- columns: string[];
27062
- issues: {
27063
- code: string;
27064
- field?: string;
27065
- rowNumber: number;
27066
- message: string;
27067
- }[];
27068
- issueCounts: {
27069
- [key: string]: number;
27070
- };
27071
- logicalRecordCount: number;
27072
- resolutionCounts: {
27073
- matched: number;
27074
- unmatched: number;
27075
- ambiguous: number;
27076
- };
27077
- sourceHash: string;
27078
- /** @constant */
27079
- resource: "bankRecords";
27080
- mapping: {
27081
- /** @constant */
27082
- resource?: "bankRecords";
27083
- /** @constant */
27084
- version: 1;
27085
- /** @enum {string} */
27086
- delimiter: "," | ";" | "\t" | "|";
27087
- headerRow: number;
27088
- date: {
27089
- source?: string | null;
27090
- format?: ("yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy") | null;
27091
- };
27092
- description: {
27093
- sources: string[];
27094
- /** @constant */
27095
- operation: "join";
27096
- };
27097
- amount: {
27098
- /** @enum {string} */
27099
- mode: "signed" | "debitCredit";
27100
- source?: string | null;
27101
- debit?: string | null;
27102
- credit?: string | null;
27103
- /** @constant */
27104
- debitSign: -1;
27105
- /** @constant */
27106
- creditSign: 1;
27107
- };
27108
- excludedRows: number[];
27109
- };
27110
- totals: {
27111
- rows: number;
27112
- valid: number;
27113
- invalid: number;
27114
- excluded: number;
27115
- moneyIn: number;
27116
- moneyOut: number;
27117
- net: number;
27118
- };
27119
- } | {
27120
- canImport: boolean;
27121
- columns: string[];
27122
- issues: {
27123
- code: string;
27124
- field?: string;
27125
- rowNumber: number;
27126
- message: string;
27127
- }[];
27128
- issueCounts: {
27129
- [key: string]: number;
27130
- };
27131
- logicalRecordCount: number;
27132
- resolutionCounts: {
27133
- matched: number;
27134
- unmatched: number;
27135
- ambiguous: number;
27136
- };
27137
- sourceHash: string;
27138
- /** @constant */
27139
- resource: "owners";
27140
- mapping: {
27141
- /** @constant */
27142
- resource: "owners";
27143
- /** @constant */
27144
- version: 1;
27145
- /** @enum {string} */
27146
- delimiter: "," | ";" | "\t" | "|";
27147
- headerRow: number;
27148
- excludedRows: number[];
27149
- fields: {
27150
- listing: {
27151
- source?: string | null;
27152
- overrides: {
27153
- [key: string]: string;
27154
- };
27155
- };
27156
- ownerKind: {
27157
- source?: string | null;
27158
- /** @enum {string} */
27159
- constant?: "individual" | "company";
27160
- values: {
27161
- [key: string]: "individual" | "company";
27162
- };
27163
- };
27164
- firstName: {
27165
- source?: string | null;
27166
- };
27167
- lastName: {
27168
- source?: string | null;
27169
- };
27170
- companyName: {
27171
- source?: string | null;
27172
- };
27173
- companyType: {
27174
- source?: string | null;
27175
- values: {
27176
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
27177
- };
27178
- };
27179
- ownerReference: {
27180
- source?: string | null;
27181
- overrides: {
27182
- [key: string]: string;
27183
- };
27184
- };
27185
- email: {
27186
- source?: string | null;
27187
- };
27188
- phone: {
27189
- source?: string | null;
27190
- };
27191
- taxIdentifier: {
27192
- source?: string | null;
27193
- };
27194
- address: {
27195
- source?: string | null;
27196
- };
27197
- unit: {
27198
- source?: string | null;
27199
- };
27200
- city: {
27201
- source?: string | null;
27202
- };
27203
- state: {
27204
- source?: string | null;
27205
- };
27206
- postalCode: {
27207
- source?: string | null;
27208
- };
27209
- country: {
27210
- source?: string | null;
27211
- };
27212
- payoutAccount: {
27213
- source?: string | null;
27214
- overrides: {
27215
- [key: string]: string;
27216
- };
27217
- };
27218
- };
27219
- };
27220
- totals: {
27221
- rows: number;
27222
- valid: number;
27223
- invalid: number;
27224
- excluded: number;
27225
- owners: number;
27226
- listings: number;
27227
- create: number;
27228
- update: number;
27229
- conflicts: number;
27230
- };
27231
- } | {
27232
- canImport: boolean;
27233
- columns: string[];
27234
- issues: {
27235
- code: string;
27236
- field?: string;
27237
- rowNumber: number;
27238
- message: string;
27239
- }[];
27240
- issueCounts: {
27241
- [key: string]: number;
27242
- };
27243
- logicalRecordCount: number;
27244
- resolutionCounts: {
27245
- matched: number;
27246
- unmatched: number;
27247
- ambiguous: number;
27248
- };
27249
- sourceHash: string;
27250
- /** @constant */
27251
- resource: "expenses";
27252
- mapping: {
27253
- /** @constant */
27254
- resource: "expenses";
27255
- /** @constant */
27256
- version: 1;
27257
- /** @enum {string} */
27258
- delimiter: "," | ";" | "\t" | "|";
27259
- headerRow: number;
27260
- excludedRows: number[];
27261
- fields: {
27262
- billReference: {
27263
- source?: string | null;
27264
- };
27265
- issueDate: {
27266
- source?: string | null;
27267
- /** @enum {string} */
27268
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
27269
- };
27270
- vendor: {
27271
- source?: string | null;
27272
- overrides: {
27273
- [key: string]: string;
27274
- };
27275
- };
27276
- status: {
27277
- source?: string | null;
27278
- /** @enum {string} */
27279
- constant?: "paid" | "unpaid";
27280
- values: {
27281
- [key: string]: "paid" | "unpaid";
27282
- };
27283
- };
27284
- paymentDate: {
27285
- source?: string | null;
27286
- /** @enum {string} */
27287
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
27288
- };
27289
- bankAccount: {
27290
- source?: string | null;
27291
- overrides: {
27292
- [key: string]: string;
27293
- };
27294
- };
27295
- currency: {
27296
- source?: string | null;
27297
- };
27298
- description: {
27299
- source?: string | null;
27300
- };
27301
- lineDescription: {
27302
- source?: string | null;
27303
- };
27304
- expenseAccount: {
27305
- source?: string | null;
27306
- overrides: {
27307
- [key: string]: string;
27308
- };
27309
- };
27310
- appliedAmount: {
27311
- source?: string | null;
27312
- };
27313
- reservation: {
27314
- source?: string | null;
27315
- overrides: {
27316
- [key: string]: string;
27317
- };
27318
- };
27319
- listing: {
27320
- source?: string | null;
27321
- overrides: {
27322
- [key: string]: string;
27323
- };
27324
- };
27325
- billToOwner: {
27326
- source?: string | null;
27327
- constant?: boolean;
27328
- values: {
27329
- [key: string]: boolean;
27330
- };
27331
- };
27332
- markup: {
27333
- source?: string | null;
27334
- };
27335
- markupTax: {
27336
- source?: string | null;
27337
- overrides: {
27338
- [key: string]: string;
27339
- };
27340
- };
27341
- };
27342
- };
27343
- totals: {
27344
- rows: number;
27345
- expenses: number;
27346
- valid: number;
27347
- invalid: number;
27348
- excluded: number;
27349
- applied: number;
27350
- markup: number;
27351
- byCurrency: {
27352
- [key: string]: {
27353
- applied: number;
27354
- markup: number;
27355
- };
27356
- };
27357
- };
27358
- } | {
27359
- canImport: boolean;
27360
- columns: string[];
27361
- issues: {
27362
- code: string;
27363
- field?: string;
27364
- rowNumber: number;
27365
- message: string;
27366
- }[];
27367
- issueCounts: {
27368
- [key: string]: number;
27369
- };
27370
- logicalRecordCount: number;
27371
- resolutionCounts: {
27372
- matched: number;
27373
- unmatched: number;
27374
- ambiguous: number;
27375
- };
27376
- sourceHash: string;
27377
- /** @constant */
27378
- resource: "vendors";
27379
- mapping: {
27380
- /** @constant */
27381
- resource: "vendors";
27382
- /** @constant */
27383
- version: 1;
27384
- /** @enum {string} */
27385
- delimiter: "," | ";" | "\t" | "|";
27386
- headerRow: number;
27387
- excludedRows: number[];
27388
- fields: {
27389
- vendorKind: {
27390
- source?: string | null;
27391
- /** @enum {string} */
27392
- constant?: "individual" | "company";
27393
- values: {
27394
- [key: string]: "individual" | "company";
27395
- };
27396
- };
27397
- firstName: {
27398
- source?: string | null;
27399
- };
27400
- lastName: {
27401
- source?: string | null;
27402
- };
27403
- companyName: {
27404
- source?: string | null;
27405
- };
27406
- companyType: {
27407
- source?: string | null;
27408
- values: {
27409
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
27410
- };
27411
- };
27412
- vendorReference: {
27413
- source?: string | null;
27414
- overrides: {
27415
- [key: string]: string;
27416
- };
27417
- };
27418
- email: {
27419
- source?: string | null;
27420
- };
27421
- phone: {
27422
- source?: string | null;
27423
- };
27424
- taxIdentifier: {
27425
- source?: string | null;
27426
- };
27427
- address: {
27428
- source?: string | null;
27429
- };
27430
- unit: {
27431
- source?: string | null;
27432
- };
27433
- city: {
27434
- source?: string | null;
27435
- };
27436
- state: {
27437
- source?: string | null;
27438
- };
27439
- postalCode: {
27440
- source?: string | null;
27441
- };
27442
- country: {
27443
- source?: string | null;
27444
- };
27445
- };
27446
- };
27447
- totals: {
27448
- rows: number;
27449
- valid: number;
27450
- invalid: number;
27451
- excluded: number;
27452
- create: number;
27453
- update: number;
27454
- duplicate: number;
27455
- ambiguous: number;
27456
- };
27457
- } | {
27458
- canImport: boolean;
27459
- columns: string[];
27460
- issues: {
27461
- code: string;
27462
- field?: string;
27463
- rowNumber: number;
27464
- message: string;
27465
- }[];
27466
- issueCounts: {
27467
- [key: string]: number;
27468
- };
27469
- logicalRecordCount: number;
27470
- resolutionCounts: {
27471
- matched: number;
27472
- unmatched: number;
27473
- ambiguous: number;
27474
- };
27475
- sourceHash: string;
27476
- /** @constant */
27477
- resource: "deposits";
27478
- mapping: {
27479
- /** @constant */
27480
- resource: "deposits";
27481
- /** @constant */
27482
- version: 1;
27483
- /** @enum {string} */
27484
- delimiter: "," | ";" | "\t" | "|";
27485
- headerRow: number;
27486
- excludedRows: number[];
27487
- fields: {
27488
- reference: {
27489
- source?: string | null;
27490
- };
27491
- date: {
27492
- source?: string | null;
27493
- /** @enum {string} */
27494
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
27495
- };
27496
- bankAccount: {
27497
- source?: string | null;
27498
- overrides: {
27499
- [key: string]: string;
27500
- };
27501
- };
27502
- description: {
27503
- source?: string | null;
27504
- };
27505
- currency: {
27506
- source?: string | null;
27507
- };
27508
- reservation: {
27509
- source?: string | null;
27510
- overrides: {
27511
- [key: string]: string;
27512
- };
27513
- };
27514
- contact: {
27515
- source?: string | null;
27516
- overrides: {
27517
- [key: string]: string;
27518
- };
27519
- };
27520
- listing: {
27521
- source?: string | null;
27522
- overrides: {
27523
- [key: string]: string;
27524
- };
27525
- };
27526
- account: {
27527
- source?: string | null;
27528
- overrides: {
27529
- [key: string]: string;
27530
- };
27531
- };
27532
- lineDescription: {
27533
- source?: string | null;
27534
- };
27535
- appliedAmount: {
27536
- source?: string | null;
27537
- };
27538
- merchantFee: {
27539
- source?: string | null;
27540
- };
27541
- channelFee: {
27542
- source?: string | null;
27543
- };
27544
- reserve: {
27545
- source?: string | null;
27546
- };
27547
- coHostPayout: {
27548
- source?: string | null;
27549
- };
27550
- vat: {
27551
- source?: string | null;
27552
- };
27553
- };
27554
- };
27555
- totals: {
27556
- rows: number;
27557
- deposits: number;
27558
- valid: number;
27559
- invalid: number;
27560
- excluded: number;
27561
- applied: number;
27562
- merchantFee: number;
27563
- channelFee: number;
27564
- reserve: number;
27565
- coHostPayout: number;
27566
- vat: number;
27567
- net: number;
27568
- byCurrency: {
27569
- [key: string]: {
27570
- applied: number;
27571
- merchantFee: number;
27572
- channelFee: number;
27573
- reserve: number;
27574
- coHostPayout: number;
27575
- vat: number;
27576
- net: number;
27577
- };
27578
- };
27579
- };
27580
- };
27581
- } | {
27582
- /** @constant */
27583
- status: "failed";
27584
- /** Format: uuid */
27585
- previewId: string;
27586
- /** Format: uuid */
27587
- syncId: string;
27588
- error: string;
27589
- };
27590
- };
27591
- };
27592
- };
27593
- /** @description Bad request */
27594
- 400: {
27595
- headers: {
27596
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27597
- "Retry-After"?: number;
27598
- [name: string]: unknown;
27599
- };
27600
- content: {
27601
- "application/json": {
27602
- code: string;
27603
- message: string;
27604
- links?: {
27605
- docs: string;
27606
- schema: string;
27607
- };
27608
- issues?: {
27609
- message: string;
27610
- path?: (string | number)[];
27611
- schema?: string;
27612
- }[];
27613
- retryable?: boolean;
27614
- context?: unknown;
27615
- };
27616
- };
27617
- };
27618
- /** @description Unauthorized */
27619
- 401: {
27620
- headers: {
27621
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27622
- "Retry-After"?: number;
27623
- [name: string]: unknown;
27624
- };
27625
- content: {
27626
- "application/json": {
27627
- code: string;
27628
- message: string;
27629
- links?: {
27630
- docs: string;
27631
- schema: string;
27632
- };
27633
- issues?: {
27634
- message: string;
27635
- path?: (string | number)[];
27636
- schema?: string;
27637
- }[];
27638
- retryable?: boolean;
27639
- context?: unknown;
27640
- };
27641
- };
27642
- };
27643
- /** @description Forbidden */
27644
- 403: {
27645
- headers: {
27646
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27647
- "Retry-After"?: number;
27648
- [name: string]: unknown;
27649
- };
27650
- content: {
27651
- "application/json": {
27652
- code: string;
27653
- message: string;
27654
- links?: {
27655
- docs: string;
27656
- schema: string;
27657
- };
27658
- issues?: {
27659
- message: string;
27660
- path?: (string | number)[];
27661
- schema?: string;
27662
- }[];
27663
- retryable?: boolean;
27664
- context?: unknown;
27665
- };
27666
- };
27667
- };
27668
- /** @description Not found */
27669
- 404: {
27670
- headers: {
27671
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27672
- "Retry-After"?: number;
27673
- [name: string]: unknown;
27674
- };
27675
- content: {
27676
- "application/json": {
27677
- code: string;
27678
- message: string;
27679
- links?: {
27680
- docs: string;
27681
- schema: string;
27682
- };
27683
- issues?: {
27684
- message: string;
27685
- path?: (string | number)[];
27686
- schema?: string;
27687
- }[];
27688
- retryable?: boolean;
27689
- context?: unknown;
27690
- };
27691
- };
27692
- };
27693
- /** @description Conflict */
27694
- 409: {
27695
- headers: {
27696
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27697
- "Retry-After"?: number;
27698
- [name: string]: unknown;
27699
- };
27700
- content: {
27701
- "application/json": {
27702
- code: string;
27703
- message: string;
27704
- links?: {
27705
- docs: string;
27706
- schema: string;
27707
- };
27708
- issues?: {
27709
- message: string;
27710
- path?: (string | number)[];
27711
- schema?: string;
27712
- }[];
27713
- retryable?: boolean;
27714
- context?: unknown;
27715
- };
27716
- };
27717
- };
27718
- /** @description Gone */
27719
- 410: {
27720
- headers: {
27721
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27722
- "Retry-After"?: number;
27723
- [name: string]: unknown;
27724
- };
27725
- content: {
27726
- "application/json": {
27727
- code: string;
27728
- message: string;
27729
- links?: {
27730
- docs: string;
27731
- schema: string;
27732
- };
27733
- issues?: {
27734
- message: string;
27735
- path?: (string | number)[];
27736
- schema?: string;
27737
- }[];
27738
- retryable?: boolean;
27739
- context?: unknown;
27740
- };
27741
- };
27742
- };
27743
- /** @description Unprocessable content */
27744
- 422: {
27745
- headers: {
27746
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27747
- "Retry-After"?: number;
27748
- [name: string]: unknown;
27749
- };
27750
- content: {
27751
- "application/json": {
27752
- code: string;
27753
- message: string;
27754
- links?: {
27755
- docs: string;
27756
- schema: string;
27757
- };
27758
- issues?: {
27759
- message: string;
27760
- path?: (string | number)[];
27761
- schema?: string;
27762
- }[];
27763
- retryable?: boolean;
27764
- context?: unknown;
27765
- };
27766
- };
27767
- };
27768
- /** @description Internal server error */
27769
- 500: {
27770
- headers: {
27771
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27772
- "Retry-After"?: number;
27773
- [name: string]: unknown;
27774
- };
27775
- content: {
27776
- "application/json": {
27777
- code: string;
27778
- message: string;
27779
- links?: {
27780
- docs: string;
27781
- schema: string;
27782
- };
27783
- issues?: {
27784
- message: string;
27785
- path?: (string | number)[];
27786
- schema?: string;
27787
- }[];
27788
- retryable?: boolean;
27789
- context?: unknown;
27790
- };
27791
- };
27792
- };
27793
- /** @description Service unavailable */
27794
- 503: {
27795
- headers: {
27796
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
27797
- "Retry-After"?: number;
27798
- [name: string]: unknown;
27799
- };
27800
- content: {
27801
- "application/json": {
27802
- code: string;
27803
- message: string;
27804
- links?: {
27805
- docs: string;
27806
- schema: string;
27807
- };
27808
- issues?: {
27809
- message: string;
27810
- path?: (string | number)[];
27811
- schema?: string;
27812
- }[];
27813
- retryable?: boolean;
27814
- context?: unknown;
27815
- };
27816
- };
27817
- };
27818
- };
27819
- };
27820
- getConnectionsByIdCsvImportPreviewByPreviewId: {
27821
- parameters: {
27822
- query?: never;
27823
- header?: never;
27824
- path: {
27825
- id: string;
27826
- previewId: string;
27827
- };
27828
- cookie?: never;
27829
- };
27830
- requestBody?: never;
27831
- responses: {
27832
- /** @description Successful response */
27833
- 200: {
27834
- headers: {
27835
- [name: string]: unknown;
27836
- };
27837
- content: {
27838
- "application/json": {
27839
- data: {
27840
- /** @constant */
27841
- status: "queued";
27842
- /** Format: uuid */
27843
- previewId: string;
27844
- /** Format: uuid */
27845
- syncId: string;
27846
- } | {
27847
- /** @constant */
27848
- status: "processing";
27849
- /** Format: uuid */
27850
- previewId: string;
27851
- /** Format: uuid */
27852
- syncId: string;
27853
- } | {
27854
- /** @constant */
27855
- status: "completed";
27856
- /** Format: uuid */
27857
- previewId: string;
27858
- /** Format: uuid */
27859
- syncId: string;
27860
- result: {
27861
- canImport: boolean;
27862
- columns: string[];
27863
- issues: {
27864
- code: string;
27865
- field?: string;
27866
- rowNumber: number;
27867
- message: string;
27868
- }[];
27869
- issueCounts: {
27870
- [key: string]: number;
27871
- };
27872
- logicalRecordCount: number;
27873
- resolutionCounts: {
27874
- matched: number;
27875
- unmatched: number;
27876
- ambiguous: number;
27877
- };
27878
- sourceHash: string;
27879
- /** @constant */
27880
- resource: "bankRecords";
27881
- mapping: {
27882
- /** @constant */
27883
- resource?: "bankRecords";
27884
- /** @constant */
27885
- version: 1;
27886
- /** @enum {string} */
27887
- delimiter: "," | ";" | "\t" | "|";
27888
- headerRow: number;
27889
- date: {
27890
- source?: string | null;
27891
- format?: ("yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy") | null;
27892
- };
27893
- description: {
27894
- sources: string[];
27895
- /** @constant */
27896
- operation: "join";
27897
- };
27898
- amount: {
27899
- /** @enum {string} */
27900
- mode: "signed" | "debitCredit";
27901
- source?: string | null;
27902
- debit?: string | null;
27903
- credit?: string | null;
27904
- /** @constant */
27905
- debitSign: -1;
27906
- /** @constant */
27907
- creditSign: 1;
27908
- };
27909
- excludedRows: number[];
27910
- };
27911
- totals: {
27912
- rows: number;
27913
- valid: number;
27914
- invalid: number;
27915
- excluded: number;
27916
- moneyIn: number;
27917
- moneyOut: number;
27918
- net: number;
27919
- };
27920
- } | {
27921
- canImport: boolean;
27922
- columns: string[];
27923
- issues: {
27924
- code: string;
27925
- field?: string;
27926
- rowNumber: number;
27927
- message: string;
27928
- }[];
27929
- issueCounts: {
27930
- [key: string]: number;
27931
- };
27932
- logicalRecordCount: number;
27933
- resolutionCounts: {
27934
- matched: number;
27935
- unmatched: number;
27936
- ambiguous: number;
27937
- };
27938
- sourceHash: string;
27939
- /** @constant */
27940
- resource: "owners";
27941
- mapping: {
27942
- /** @constant */
27943
- resource: "owners";
27944
- /** @constant */
27945
- version: 1;
27946
- /** @enum {string} */
27947
- delimiter: "," | ";" | "\t" | "|";
27948
- headerRow: number;
27949
- excludedRows: number[];
27950
- fields: {
27951
- listing: {
27952
- source?: string | null;
27953
- overrides: {
27954
- [key: string]: string;
27955
- };
27956
- };
27957
- ownerKind: {
27958
- source?: string | null;
27959
- /** @enum {string} */
27960
- constant?: "individual" | "company";
27961
- values: {
27962
- [key: string]: "individual" | "company";
27963
- };
27964
- };
27965
- firstName: {
27966
- source?: string | null;
27967
- };
27968
- lastName: {
27969
- source?: string | null;
27970
- };
27971
- companyName: {
27972
- source?: string | null;
27973
- };
27974
- companyType: {
27975
- source?: string | null;
27976
- values: {
27977
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
27978
- };
27979
- };
27980
- ownerReference: {
27981
- source?: string | null;
27982
- overrides: {
27983
- [key: string]: string;
27984
- };
27985
- };
27986
- email: {
27987
- source?: string | null;
27988
- };
27989
- phone: {
27990
- source?: string | null;
27991
- };
27992
- taxIdentifier: {
27993
- source?: string | null;
27994
- };
27995
- address: {
27996
- source?: string | null;
27997
- };
27998
- unit: {
27999
- source?: string | null;
28000
- };
28001
- city: {
28002
- source?: string | null;
28003
- };
28004
- state: {
28005
- source?: string | null;
28006
- };
28007
- postalCode: {
28008
- source?: string | null;
28009
- };
28010
- country: {
28011
- source?: string | null;
28012
- };
28013
- payoutAccount: {
28014
- source?: string | null;
28015
- overrides: {
28016
- [key: string]: string;
28017
- };
28018
- };
28019
- };
28020
- };
28021
- totals: {
28022
- rows: number;
28023
- valid: number;
28024
- invalid: number;
28025
- excluded: number;
28026
- owners: number;
28027
- listings: number;
28028
- create: number;
28029
- update: number;
28030
- conflicts: number;
28031
- };
28032
- } | {
28033
- canImport: boolean;
28034
- columns: string[];
28035
- issues: {
28036
- code: string;
28037
- field?: string;
28038
- rowNumber: number;
28039
- message: string;
28040
- }[];
28041
- issueCounts: {
28042
- [key: string]: number;
28043
- };
28044
- logicalRecordCount: number;
28045
- resolutionCounts: {
28046
- matched: number;
28047
- unmatched: number;
28048
- ambiguous: number;
28049
- };
28050
- sourceHash: string;
28051
- /** @constant */
28052
- resource: "expenses";
28053
- mapping: {
28054
- /** @constant */
28055
- resource: "expenses";
28056
- /** @constant */
28057
- version: 1;
28058
- /** @enum {string} */
28059
- delimiter: "," | ";" | "\t" | "|";
28060
- headerRow: number;
28061
- excludedRows: number[];
28062
- fields: {
28063
- billReference: {
28064
- source?: string | null;
28065
- };
28066
- issueDate: {
28067
- source?: string | null;
28068
- /** @enum {string} */
28069
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
28070
- };
28071
- vendor: {
28072
- source?: string | null;
28073
- overrides: {
28074
- [key: string]: string;
28075
- };
28076
- };
28077
- status: {
28078
- source?: string | null;
28079
- /** @enum {string} */
28080
- constant?: "paid" | "unpaid";
28081
- values: {
28082
- [key: string]: "paid" | "unpaid";
28083
- };
28084
- };
28085
- paymentDate: {
28086
- source?: string | null;
28087
- /** @enum {string} */
28088
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
28089
- };
28090
- bankAccount: {
28091
- source?: string | null;
28092
- overrides: {
28093
- [key: string]: string;
28094
- };
28095
- };
28096
- currency: {
28097
- source?: string | null;
28098
- };
28099
- description: {
28100
- source?: string | null;
28101
- };
28102
- lineDescription: {
28103
- source?: string | null;
28104
- };
28105
- expenseAccount: {
28106
- source?: string | null;
28107
- overrides: {
28108
- [key: string]: string;
28109
- };
28110
- };
28111
- appliedAmount: {
28112
- source?: string | null;
28113
- };
28114
- reservation: {
28115
- source?: string | null;
28116
- overrides: {
28117
- [key: string]: string;
28118
- };
28119
- };
28120
- listing: {
28121
- source?: string | null;
28122
- overrides: {
28123
- [key: string]: string;
28124
- };
28125
- };
28126
- billToOwner: {
28127
- source?: string | null;
28128
- constant?: boolean;
28129
- values: {
28130
- [key: string]: boolean;
28131
- };
28132
- };
28133
- markup: {
28134
- source?: string | null;
28135
- };
28136
- markupTax: {
28137
- source?: string | null;
28138
- overrides: {
28139
- [key: string]: string;
28140
- };
28141
- };
28142
- };
28143
- };
28144
- totals: {
28145
- rows: number;
28146
- expenses: number;
28147
- valid: number;
28148
- invalid: number;
28149
- excluded: number;
28150
- applied: number;
28151
- markup: number;
28152
- byCurrency: {
28153
- [key: string]: {
28154
- applied: number;
28155
- markup: number;
28156
- };
28157
- };
28158
- };
28159
- } | {
28160
- canImport: boolean;
28161
- columns: string[];
28162
- issues: {
28163
- code: string;
28164
- field?: string;
28165
- rowNumber: number;
28166
- message: string;
28167
- }[];
28168
- issueCounts: {
28169
- [key: string]: number;
28170
- };
28171
- logicalRecordCount: number;
28172
- resolutionCounts: {
28173
- matched: number;
28174
- unmatched: number;
28175
- ambiguous: number;
28176
- };
28177
- sourceHash: string;
28178
- /** @constant */
28179
- resource: "vendors";
28180
- mapping: {
28181
- /** @constant */
28182
- resource: "vendors";
28183
- /** @constant */
28184
- version: 1;
28185
- /** @enum {string} */
28186
- delimiter: "," | ";" | "\t" | "|";
28187
- headerRow: number;
28188
- excludedRows: number[];
28189
- fields: {
28190
- vendorKind: {
28191
- source?: string | null;
28192
- /** @enum {string} */
28193
- constant?: "individual" | "company";
28194
- values: {
28195
- [key: string]: "individual" | "company";
28196
- };
28197
- };
28198
- firstName: {
28199
- source?: string | null;
28200
- };
28201
- lastName: {
28202
- source?: string | null;
28203
- };
28204
- companyName: {
28205
- source?: string | null;
28206
- };
28207
- companyType: {
28208
- source?: string | null;
28209
- values: {
28210
- [key: string]: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
28211
- };
28212
- };
28213
- vendorReference: {
28214
- source?: string | null;
28215
- overrides: {
28216
- [key: string]: string;
28217
- };
28218
- };
28219
- email: {
28220
- source?: string | null;
28221
- };
28222
- phone: {
28223
- source?: string | null;
28224
- };
28225
- taxIdentifier: {
28226
- source?: string | null;
28227
- };
28228
- address: {
28229
- source?: string | null;
28230
- };
28231
- unit: {
28232
- source?: string | null;
28233
- };
28234
- city: {
28235
- source?: string | null;
28236
- };
28237
- state: {
28238
- source?: string | null;
28239
- };
28240
- postalCode: {
28241
- source?: string | null;
28242
- };
28243
- country: {
28244
- source?: string | null;
28245
- };
28246
- };
28247
- };
28248
- totals: {
28249
- rows: number;
28250
- valid: number;
28251
- invalid: number;
28252
- excluded: number;
28253
- create: number;
28254
- update: number;
28255
- duplicate: number;
28256
- ambiguous: number;
28257
- };
28258
- } | {
28259
- canImport: boolean;
28260
- columns: string[];
28261
- issues: {
28262
- code: string;
28263
- field?: string;
28264
- rowNumber: number;
28265
- message: string;
28266
- }[];
28267
- issueCounts: {
28268
- [key: string]: number;
28269
- };
28270
- logicalRecordCount: number;
28271
- resolutionCounts: {
28272
- matched: number;
28273
- unmatched: number;
28274
- ambiguous: number;
28275
- };
28276
- sourceHash: string;
28277
- /** @constant */
28278
- resource: "deposits";
28279
- mapping: {
28280
- /** @constant */
28281
- resource: "deposits";
28282
- /** @constant */
28283
- version: 1;
28284
- /** @enum {string} */
28285
- delimiter: "," | ";" | "\t" | "|";
28286
- headerRow: number;
28287
- excludedRows: number[];
28288
- fields: {
28289
- reference: {
28290
- source?: string | null;
28291
- };
28292
- date: {
28293
- source?: string | null;
28294
- /** @enum {string} */
28295
- format?: "yyyy-mm-dd" | "mm/dd/yyyy" | "dd/mm/yyyy" | "dd.mm.yyyy";
28296
- };
28297
- bankAccount: {
28298
- source?: string | null;
28299
- overrides: {
28300
- [key: string]: string;
28301
- };
28302
- };
28303
- description: {
28304
- source?: string | null;
28305
- };
28306
- currency: {
28307
- source?: string | null;
28308
- };
28309
- reservation: {
28310
- source?: string | null;
28311
- overrides: {
28312
- [key: string]: string;
28313
- };
28314
- };
28315
- contact: {
28316
- source?: string | null;
28317
- overrides: {
28318
- [key: string]: string;
28319
- };
28320
- };
28321
- listing: {
28322
- source?: string | null;
28323
- overrides: {
28324
- [key: string]: string;
28325
- };
28326
- };
28327
- account: {
28328
- source?: string | null;
28329
- overrides: {
28330
- [key: string]: string;
28331
- };
28332
- };
28333
- lineDescription: {
28334
- source?: string | null;
28335
- };
28336
- appliedAmount: {
28337
- source?: string | null;
28338
- };
28339
- merchantFee: {
28340
- source?: string | null;
28341
- };
28342
- channelFee: {
28343
- source?: string | null;
28344
- };
28345
- reserve: {
28346
- source?: string | null;
28347
- };
28348
- coHostPayout: {
28349
- source?: string | null;
28350
- };
28351
- vat: {
28352
- source?: string | null;
28353
- };
28354
- };
28355
- };
28356
- totals: {
28357
- rows: number;
28358
- deposits: number;
28359
- valid: number;
28360
- invalid: number;
28361
- excluded: number;
28362
- applied: number;
28363
- merchantFee: number;
28364
- channelFee: number;
28365
- reserve: number;
28366
- coHostPayout: number;
28367
- vat: number;
28368
- net: number;
28369
- byCurrency: {
28370
- [key: string]: {
28371
- applied: number;
28372
- merchantFee: number;
28373
- channelFee: number;
28374
- reserve: number;
28375
- coHostPayout: number;
28376
- vat: number;
28377
- net: number;
28378
- };
28379
- };
28380
- };
28381
- };
28382
- } | {
28383
- /** @constant */
28384
- status: "failed";
28385
- /** Format: uuid */
28386
- previewId: string;
28387
- /** Format: uuid */
28388
- syncId: string;
28389
- error: string;
28390
- };
28391
- };
28392
- };
28393
- };
28394
- /** @description Bad request */
28395
- 400: {
28396
- headers: {
28397
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28398
- "Retry-After"?: number;
28399
- [name: string]: unknown;
28400
- };
28401
- content: {
28402
- "application/json": {
28403
- code: string;
28404
- message: string;
28405
- links?: {
28406
- docs: string;
28407
- schema: string;
28408
- };
28409
- issues?: {
28410
- message: string;
28411
- path?: (string | number)[];
28412
- schema?: string;
28413
- }[];
28414
- retryable?: boolean;
28415
- context?: unknown;
28416
- };
28417
- };
28418
- };
28419
- /** @description Unauthorized */
28420
- 401: {
28421
- headers: {
28422
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28423
- "Retry-After"?: number;
28424
- [name: string]: unknown;
28425
- };
28426
- content: {
28427
- "application/json": {
28428
- code: string;
28429
- message: string;
28430
- links?: {
28431
- docs: string;
28432
- schema: string;
28433
- };
28434
- issues?: {
28435
- message: string;
28436
- path?: (string | number)[];
28437
- schema?: string;
28438
- }[];
28439
- retryable?: boolean;
28440
- context?: unknown;
28441
- };
28442
- };
28443
- };
28444
- /** @description Forbidden */
28445
- 403: {
28446
- headers: {
28447
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28448
- "Retry-After"?: number;
28449
- [name: string]: unknown;
28450
- };
28451
- content: {
28452
- "application/json": {
28453
- code: string;
28454
- message: string;
28455
- links?: {
28456
- docs: string;
28457
- schema: string;
28458
- };
28459
- issues?: {
28460
- message: string;
28461
- path?: (string | number)[];
28462
- schema?: string;
28463
- }[];
28464
- retryable?: boolean;
28465
- context?: unknown;
28466
- };
28467
- };
28468
- };
28469
- /** @description Not found */
28470
- 404: {
28471
- headers: {
28472
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28473
- "Retry-After"?: number;
28474
- [name: string]: unknown;
28475
- };
28476
- content: {
28477
- "application/json": {
28478
- code: string;
28479
- message: string;
28480
- links?: {
28481
- docs: string;
28482
- schema: string;
28483
- };
28484
- issues?: {
28485
- message: string;
28486
- path?: (string | number)[];
28487
- schema?: string;
28488
- }[];
28489
- retryable?: boolean;
28490
- context?: unknown;
28491
- };
28492
- };
28493
- };
28494
- /** @description Conflict */
28495
- 409: {
28496
- headers: {
28497
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28498
- "Retry-After"?: number;
28499
- [name: string]: unknown;
28500
- };
28501
- content: {
28502
- "application/json": {
28503
- code: string;
28504
- message: string;
28505
- links?: {
28506
- docs: string;
28507
- schema: string;
28508
- };
28509
- issues?: {
28510
- message: string;
28511
- path?: (string | number)[];
28512
- schema?: string;
28513
- }[];
28514
- retryable?: boolean;
28515
- context?: unknown;
28516
- };
28517
- };
28518
- };
28519
- /** @description Gone */
28520
- 410: {
28521
- headers: {
28522
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28523
- "Retry-After"?: number;
28524
- [name: string]: unknown;
28525
- };
28526
- content: {
28527
- "application/json": {
28528
- code: string;
28529
- message: string;
28530
- links?: {
28531
- docs: string;
28532
- schema: string;
28533
- };
28534
- issues?: {
28535
- message: string;
28536
- path?: (string | number)[];
28537
- schema?: string;
28538
- }[];
28539
- retryable?: boolean;
28540
- context?: unknown;
28541
- };
28542
- };
28543
- };
28544
- /** @description Unprocessable content */
28545
- 422: {
28546
- headers: {
28547
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28548
- "Retry-After"?: number;
28549
- [name: string]: unknown;
28550
- };
28551
- content: {
28552
- "application/json": {
28553
- code: string;
28554
- message: string;
28555
- links?: {
28556
- docs: string;
28557
- schema: string;
28558
- };
28559
- issues?: {
28560
- message: string;
28561
- path?: (string | number)[];
28562
- schema?: string;
28563
- }[];
28564
- retryable?: boolean;
28565
- context?: unknown;
28566
- };
28567
- };
28568
- };
28569
- /** @description Internal server error */
28570
- 500: {
28571
- headers: {
28572
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28573
- "Retry-After"?: number;
28574
- [name: string]: unknown;
28575
- };
28576
- content: {
28577
- "application/json": {
28578
- code: string;
28579
- message: string;
28580
- links?: {
28581
- docs: string;
28582
- schema: string;
28583
- };
28584
- issues?: {
28585
- message: string;
28586
- path?: (string | number)[];
28587
- schema?: string;
28588
- }[];
28589
- retryable?: boolean;
28590
- context?: unknown;
28591
- };
28592
- };
28593
- };
28594
- /** @description Service unavailable */
28595
- 503: {
28596
- headers: {
28597
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28598
- "Retry-After"?: number;
28599
- [name: string]: unknown;
28600
- };
28601
- content: {
28602
- "application/json": {
28603
- code: string;
28604
- message: string;
28605
- links?: {
28606
- docs: string;
28607
- schema: string;
28608
- };
28609
- issues?: {
28610
- message: string;
28611
- path?: (string | number)[];
28612
- schema?: string;
28613
- }[];
28614
- retryable?: boolean;
28615
- context?: unknown;
28616
- };
28617
- };
28618
- };
28619
- };
28620
- };
28621
- getConnectionsByIdCsvImportPreviewByPreviewIdRecords: {
28622
- parameters: {
28623
- query?: {
28624
- cursor?: string;
28625
- limit?: number;
28626
- state?: "all" | "valid" | "invalid" | "excluded" | "unresolved";
28627
- };
28628
- header?: never;
28629
- path: {
28630
- id: string;
28631
- previewId: string;
28632
- };
28633
- cookie?: never;
28634
- };
28635
- requestBody?: never;
28636
- responses: {
28637
- /** @description Successful response */
28638
- 200: {
28639
- headers: {
28640
- [name: string]: unknown;
28641
- };
28642
- content: {
28643
- "application/json": {
28644
- data: {
28645
- /** @enum {string} */
28646
- resource: "bankRecords" | "owners" | "expenses" | "vendors" | "deposits";
28647
- recordRef: string;
28648
- rowNumbers: number[];
28649
- source: {
28650
- [key: string]: string | null;
28651
- }[];
28652
- transformed?: {
28653
- [key: string]: unknown;
28654
- } | null;
28655
- systemExclusion?: {
28656
- /** @constant */
28657
- code: "beforeBankRecordStartDate";
28658
- bankRecordStartDate: string;
28659
- };
28660
- resolutions: {
28661
- field: string;
28662
- sourceValue: string;
28663
- /** @enum {string} */
28664
- state: "matched" | "unmatched" | "ambiguous";
28665
- candidates: {
28666
- /** Format: uuid */
28667
- id: string;
28668
- label: string;
28669
- secondaryLabel?: string;
28670
- }[];
28671
- candidateCount: number;
28672
- candidatesTruncated: boolean;
28673
- /** Format: uuid */
28674
- selectedId?: string;
28675
- }[];
28676
- issues: {
28677
- code: string;
28678
- field?: string;
28679
- rowNumber: number;
28680
- message: string;
28681
- }[];
28682
- excluded: boolean;
28683
- /** @enum {string} */
28684
- state: "valid" | "invalid" | "excluded" | "unresolved";
28685
- }[];
28686
- nextCursor: string | null;
28687
- };
28688
- };
28689
- };
28690
- /** @description Bad request */
28691
- 400: {
28692
- headers: {
28693
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28694
- "Retry-After"?: number;
28695
- [name: string]: unknown;
28696
- };
28697
- content: {
28698
- "application/json": {
28699
- code: string;
28700
- message: string;
28701
- links?: {
28702
- docs: string;
28703
- schema: string;
28704
- };
28705
- issues?: {
28706
- message: string;
28707
- path?: (string | number)[];
28708
- schema?: string;
28709
- }[];
28710
- retryable?: boolean;
28711
- context?: unknown;
28712
- };
28713
- };
28714
- };
28715
- /** @description Unauthorized */
28716
- 401: {
28717
- headers: {
28718
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28719
- "Retry-After"?: number;
28720
- [name: string]: unknown;
28721
- };
28722
- content: {
28723
- "application/json": {
28724
- code: string;
28725
- message: string;
28726
- links?: {
28727
- docs: string;
28728
- schema: string;
28729
- };
28730
- issues?: {
28731
- message: string;
28732
- path?: (string | number)[];
28733
- schema?: string;
28734
- }[];
28735
- retryable?: boolean;
28736
- context?: unknown;
28737
- };
28738
- };
28739
- };
28740
- /** @description Forbidden */
28741
- 403: {
28742
- headers: {
28743
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28744
- "Retry-After"?: number;
28745
- [name: string]: unknown;
28746
- };
28747
- content: {
28748
- "application/json": {
28749
- code: string;
28750
- message: string;
28751
- links?: {
28752
- docs: string;
28753
- schema: string;
28754
- };
28755
- issues?: {
28756
- message: string;
28757
- path?: (string | number)[];
28758
- schema?: string;
28759
- }[];
28760
- retryable?: boolean;
28761
- context?: unknown;
28762
- };
28763
- };
28764
- };
28765
- /** @description Not found */
28766
- 404: {
28767
- headers: {
28768
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28769
- "Retry-After"?: number;
28770
- [name: string]: unknown;
28771
- };
28772
- content: {
28773
- "application/json": {
28774
- code: string;
28775
- message: string;
28776
- links?: {
28777
- docs: string;
28778
- schema: string;
28779
- };
28780
- issues?: {
28781
- message: string;
28782
- path?: (string | number)[];
28783
- schema?: string;
28784
- }[];
28785
- retryable?: boolean;
28786
- context?: unknown;
28787
- };
28788
- };
28789
- };
28790
- /** @description Conflict */
28791
- 409: {
28792
- headers: {
28793
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28794
- "Retry-After"?: number;
28795
- [name: string]: unknown;
28796
- };
28797
- content: {
28798
- "application/json": {
28799
- code: string;
28800
- message: string;
28801
- links?: {
28802
- docs: string;
28803
- schema: string;
28804
- };
28805
- issues?: {
28806
- message: string;
28807
- path?: (string | number)[];
28808
- schema?: string;
28809
- }[];
28810
- retryable?: boolean;
28811
- context?: unknown;
28812
- };
28813
- };
28814
- };
28815
- /** @description Gone */
28816
- 410: {
28817
- headers: {
28818
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28819
- "Retry-After"?: number;
28820
- [name: string]: unknown;
28821
- };
28822
- content: {
28823
- "application/json": {
28824
- code: string;
28825
- message: string;
28826
- links?: {
28827
- docs: string;
28828
- schema: string;
28829
- };
28830
- issues?: {
28831
- message: string;
28832
- path?: (string | number)[];
28833
- schema?: string;
28834
- }[];
28835
- retryable?: boolean;
28836
- context?: unknown;
28837
- };
28838
- };
28839
- };
28840
- /** @description Unprocessable content */
28841
- 422: {
28842
- headers: {
28843
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28844
- "Retry-After"?: number;
28845
- [name: string]: unknown;
28846
- };
28847
- content: {
28848
- "application/json": {
28849
- code: string;
28850
- message: string;
28851
- links?: {
28852
- docs: string;
28853
- schema: string;
28854
- };
28855
- issues?: {
28856
- message: string;
28857
- path?: (string | number)[];
28858
- schema?: string;
28859
- }[];
28860
- retryable?: boolean;
28861
- context?: unknown;
28862
- };
28863
- };
28864
- };
28865
- /** @description Internal server error */
28866
- 500: {
28867
- headers: {
28868
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28869
- "Retry-After"?: number;
28870
- [name: string]: unknown;
28871
- };
28872
- content: {
28873
- "application/json": {
28874
- code: string;
28875
- message: string;
28876
- links?: {
28877
- docs: string;
28878
- schema: string;
28879
- };
28880
- issues?: {
28881
- message: string;
28882
- path?: (string | number)[];
28883
- schema?: string;
28884
- }[];
28885
- retryable?: boolean;
28886
- context?: unknown;
28887
- };
28888
- };
28889
- };
28890
- /** @description Service unavailable */
28891
- 503: {
28892
- headers: {
28893
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28894
- "Retry-After"?: number;
28895
- [name: string]: unknown;
28896
- };
28897
- content: {
28898
- "application/json": {
28899
- code: string;
28900
- message: string;
28901
- links?: {
28902
- docs: string;
28903
- schema: string;
28904
- };
28905
- issues?: {
28906
- message: string;
28907
- path?: (string | number)[];
28908
- schema?: string;
28909
- }[];
28910
- retryable?: boolean;
28911
- context?: unknown;
28912
- };
28913
- };
28914
- };
28915
- };
28916
- };
28917
- postConnectionsByIdCsvImportUploads: {
28918
- parameters: {
28919
- query?: never;
28920
- header?: never;
28921
- path: {
28922
- id: string;
28923
- };
28924
- cookie?: never;
28925
- };
28926
- requestBody?: {
28927
- content: {
28928
- "application/json": {
28929
- fileName: string;
28930
- fileSize: number;
28931
- };
28932
- };
28933
- };
28934
- responses: {
28935
- /** @description Successful response */
28936
- 200: {
28937
- headers: {
28938
- [name: string]: unknown;
28939
- };
28940
- content: {
28941
- "application/json": {
28942
- /** Format: date-time */
28943
- expiresAt: string;
28944
- uploadRef: string;
28945
- /** Format: uri */
28946
- uploadUrl: string;
28947
- };
28948
- };
28949
- };
28950
- /** @description Bad request */
28951
- 400: {
28952
- headers: {
28953
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28954
- "Retry-After"?: number;
28955
- [name: string]: unknown;
28956
- };
28957
- content: {
28958
- "application/json": {
28959
- code: string;
28960
- message: string;
28961
- links?: {
28962
- docs: string;
28963
- schema: string;
28964
- };
28965
- issues?: {
28966
- message: string;
28967
- path?: (string | number)[];
28968
- schema?: string;
28969
- }[];
28970
- retryable?: boolean;
28971
- context?: unknown;
28972
- };
28973
- };
28974
- };
28975
- /** @description Unauthorized */
28976
- 401: {
28977
- headers: {
28978
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
28979
- "Retry-After"?: number;
28980
- [name: string]: unknown;
28981
- };
28982
- content: {
28983
- "application/json": {
28984
- code: string;
28985
- message: string;
28986
- links?: {
28987
- docs: string;
28988
- schema: string;
28989
- };
28990
- issues?: {
28991
- message: string;
28992
- path?: (string | number)[];
28993
- schema?: string;
28994
- }[];
28995
- retryable?: boolean;
28996
- context?: unknown;
28997
- };
28998
- };
28999
- };
29000
- /** @description Forbidden */
29001
- 403: {
29002
- headers: {
29003
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29004
- "Retry-After"?: number;
29005
- [name: string]: unknown;
29006
- };
29007
- content: {
29008
- "application/json": {
29009
- code: string;
29010
- message: string;
29011
- links?: {
29012
- docs: string;
29013
- schema: string;
29014
- };
29015
- issues?: {
29016
- message: string;
29017
- path?: (string | number)[];
29018
- schema?: string;
29019
- }[];
29020
- retryable?: boolean;
29021
- context?: unknown;
29022
- };
29023
- };
29024
- };
29025
- /** @description Not found */
29026
- 404: {
29027
- headers: {
29028
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29029
- "Retry-After"?: number;
29030
- [name: string]: unknown;
29031
- };
29032
- content: {
29033
- "application/json": {
29034
- code: string;
29035
- message: string;
29036
- links?: {
29037
- docs: string;
29038
- schema: string;
29039
- };
29040
- issues?: {
29041
- message: string;
29042
- path?: (string | number)[];
29043
- schema?: string;
29044
- }[];
29045
- retryable?: boolean;
29046
- context?: unknown;
29047
- };
29048
- };
29049
- };
29050
- /** @description Conflict */
29051
- 409: {
29052
- headers: {
29053
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29054
- "Retry-After"?: number;
29055
- [name: string]: unknown;
29056
- };
29057
- content: {
29058
- "application/json": {
29059
- code: string;
29060
- message: string;
29061
- links?: {
29062
- docs: string;
29063
- schema: string;
29064
- };
29065
- issues?: {
29066
- message: string;
29067
- path?: (string | number)[];
29068
- schema?: string;
29069
- }[];
29070
- retryable?: boolean;
29071
- context?: unknown;
29072
- };
29073
- };
29074
- };
29075
- /** @description Gone */
29076
- 410: {
29077
- headers: {
29078
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29079
- "Retry-After"?: number;
29080
- [name: string]: unknown;
29081
- };
29082
- content: {
29083
- "application/json": {
29084
- code: string;
29085
- message: string;
29086
- links?: {
29087
- docs: string;
29088
- schema: string;
29089
- };
29090
- issues?: {
29091
- message: string;
29092
- path?: (string | number)[];
29093
- schema?: string;
29094
- }[];
29095
- retryable?: boolean;
29096
- context?: unknown;
29097
- };
29098
- };
29099
- };
29100
- /** @description Unprocessable content */
29101
- 422: {
29102
- headers: {
29103
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29104
- "Retry-After"?: number;
29105
- [name: string]: unknown;
29106
- };
29107
- content: {
29108
- "application/json": {
29109
- code: string;
29110
- message: string;
29111
- links?: {
29112
- docs: string;
29113
- schema: string;
29114
- };
29115
- issues?: {
29116
- message: string;
29117
- path?: (string | number)[];
29118
- schema?: string;
29119
- }[];
29120
- retryable?: boolean;
29121
- context?: unknown;
29122
- };
29123
- };
29124
- };
29125
- /** @description Internal server error */
29126
- 500: {
29127
- headers: {
29128
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29129
- "Retry-After"?: number;
29130
- [name: string]: unknown;
29131
- };
29132
- content: {
29133
- "application/json": {
29134
- code: string;
29135
- message: string;
29136
- links?: {
29137
- docs: string;
29138
- schema: string;
29139
- };
29140
- issues?: {
29141
- message: string;
29142
- path?: (string | number)[];
29143
- schema?: string;
29144
- }[];
29145
- retryable?: boolean;
29146
- context?: unknown;
29147
- };
29148
- };
29149
- };
29150
- /** @description Service unavailable */
29151
- 503: {
29152
- headers: {
29153
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29154
- "Retry-After"?: number;
29155
- [name: string]: unknown;
29156
- };
29157
- content: {
29158
- "application/json": {
29159
- code: string;
29160
- message: string;
29161
- links?: {
29162
- docs: string;
29163
- schema: string;
29164
- };
29165
- issues?: {
29166
- message: string;
29167
- path?: (string | number)[];
29168
- schema?: string;
29169
- }[];
29170
- retryable?: boolean;
29171
- context?: unknown;
29172
- };
29173
- };
29174
- };
29175
- };
29176
- };
29177
- putConnectionsByIdCsvImportUploadsByUploadRef: {
29178
- parameters: {
29179
- query?: never;
29180
- header?: never;
29181
- path: {
29182
- id: string;
29183
- uploadRef: string;
29184
- };
29185
- cookie?: never;
29186
- };
29187
- requestBody?: never;
29188
- responses: {
29189
- /** @description Successful response */
29190
- 200: {
29191
- headers: {
29192
- [name: string]: unknown;
29193
- };
29194
- content: {
29195
- "application/json": {
29196
- /** @constant */
29197
- status: "uploaded";
29198
- };
29199
- };
29200
- };
29201
- /** @description Bad request */
29202
- 400: {
29203
- headers: {
29204
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29205
- "Retry-After"?: number;
29206
- [name: string]: unknown;
29207
- };
29208
- content: {
29209
- "application/json": {
29210
- code: string;
29211
- message: string;
29212
- links?: {
29213
- docs: string;
29214
- schema: string;
29215
- };
29216
- issues?: {
29217
- message: string;
29218
- path?: (string | number)[];
29219
- schema?: string;
29220
- }[];
29221
- retryable?: boolean;
29222
- context?: unknown;
29223
- };
29224
- };
29225
- };
29226
- /** @description Unauthorized */
29227
- 401: {
29228
- headers: {
29229
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29230
- "Retry-After"?: number;
29231
- [name: string]: unknown;
29232
- };
29233
- content: {
29234
- "application/json": {
29235
- code: string;
29236
- message: string;
29237
- links?: {
29238
- docs: string;
29239
- schema: string;
29240
- };
29241
- issues?: {
29242
- message: string;
29243
- path?: (string | number)[];
29244
- schema?: string;
29245
- }[];
29246
- retryable?: boolean;
29247
- context?: unknown;
29248
- };
29249
- };
29250
- };
29251
- /** @description Forbidden */
29252
- 403: {
29253
- headers: {
29254
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29255
- "Retry-After"?: number;
29256
- [name: string]: unknown;
29257
- };
29258
- content: {
29259
- "application/json": {
29260
- code: string;
29261
- message: string;
29262
- links?: {
29263
- docs: string;
29264
- schema: string;
29265
- };
29266
- issues?: {
29267
- message: string;
29268
- path?: (string | number)[];
29269
- schema?: string;
29270
- }[];
29271
- retryable?: boolean;
29272
- context?: unknown;
29273
- };
29274
- };
29275
- };
29276
- /** @description Not found */
29277
- 404: {
29278
- headers: {
29279
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29280
- "Retry-After"?: number;
29281
- [name: string]: unknown;
29282
- };
29283
- content: {
29284
- "application/json": {
29285
- code: string;
29286
- message: string;
29287
- links?: {
29288
- docs: string;
29289
- schema: string;
29290
- };
29291
- issues?: {
29292
- message: string;
29293
- path?: (string | number)[];
29294
- schema?: string;
29295
- }[];
29296
- retryable?: boolean;
29297
- context?: unknown;
29298
- };
29299
- };
29300
- };
29301
- /** @description Conflict */
29302
- 409: {
29303
- headers: {
29304
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29305
- "Retry-After"?: number;
29306
- [name: string]: unknown;
29307
- };
29308
- content: {
29309
- "application/json": {
29310
- code: string;
29311
- message: string;
29312
- links?: {
29313
- docs: string;
29314
- schema: string;
29315
- };
29316
- issues?: {
29317
- message: string;
29318
- path?: (string | number)[];
29319
- schema?: string;
29320
- }[];
29321
- retryable?: boolean;
29322
- context?: unknown;
29323
- };
29324
- };
29325
- };
29326
- /** @description Gone */
29327
- 410: {
29328
- headers: {
29329
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29330
- "Retry-After"?: number;
29331
- [name: string]: unknown;
29332
- };
29333
- content: {
29334
- "application/json": {
29335
- code: string;
29336
- message: string;
29337
- links?: {
29338
- docs: string;
29339
- schema: string;
29340
- };
29341
- issues?: {
29342
- message: string;
29343
- path?: (string | number)[];
29344
- schema?: string;
29345
- }[];
29346
- retryable?: boolean;
29347
- context?: unknown;
29348
- };
29349
- };
29350
- };
29351
- /** @description Unprocessable content */
29352
- 422: {
29353
- headers: {
29354
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29355
- "Retry-After"?: number;
29356
- [name: string]: unknown;
29357
- };
29358
- content: {
29359
- "application/json": {
29360
- code: string;
29361
- message: string;
29362
- links?: {
29363
- docs: string;
29364
- schema: string;
29365
- };
29366
- issues?: {
29367
- message: string;
29368
- path?: (string | number)[];
29369
- schema?: string;
29370
- }[];
29371
- retryable?: boolean;
29372
- context?: unknown;
29373
- };
29374
- };
29375
- };
29376
- /** @description Internal server error */
29377
- 500: {
29378
- headers: {
29379
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29380
- "Retry-After"?: number;
29381
- [name: string]: unknown;
29382
- };
29383
- content: {
29384
- "application/json": {
29385
- code: string;
29386
- message: string;
29387
- links?: {
29388
- docs: string;
29389
- schema: string;
29390
- };
29391
- issues?: {
29392
- message: string;
29393
- path?: (string | number)[];
29394
- schema?: string;
29395
- }[];
29396
- retryable?: boolean;
29397
- context?: unknown;
29398
- };
29399
- };
29400
- };
29401
- /** @description Service unavailable */
29402
- 503: {
29403
- headers: {
29404
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29405
- "Retry-After"?: number;
29406
- [name: string]: unknown;
29407
- };
29408
- content: {
29409
- "application/json": {
29410
- code: string;
29411
- message: string;
29412
- links?: {
29413
- docs: string;
29414
- schema: string;
29415
- };
29416
- issues?: {
29417
- message: string;
29418
- path?: (string | number)[];
29419
- schema?: string;
29420
- }[];
29421
- retryable?: boolean;
29422
- context?: unknown;
29423
- };
29424
- };
29425
- };
29426
- };
29427
- };
29428
- getConnectionsByIdCsvImportBySyncId: {
29429
- parameters: {
29430
- query?: never;
29431
- header?: never;
29432
- path: {
29433
- id: string;
29434
- syncId: string;
29435
- };
29436
- cookie?: never;
29437
- };
29438
- requestBody?: never;
29439
- responses: {
29440
- /** @description Successful response */
29441
- 200: {
29442
- headers: {
29443
- [name: string]: unknown;
29444
- };
29445
- content: {
29446
- "application/json": {
29447
- data: ({
29448
- syncId: string;
29449
- /** @enum {string} */
29450
- status: "completed";
29451
- } | {
29452
- /** @enum {string} */
29453
- status: "failed";
29454
- syncId: string;
29455
- error: string;
29456
- parseErrors?: {
29457
- rowNumber: number;
29458
- message: string;
29459
- }[];
29460
- }) | {
29461
- syncId: string;
29462
- /** @enum {string} */
29463
- status: "queued";
29464
25957
  };
29465
25958
  };
29466
25959
  };