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