@vrplatform/api 1.3.1-stage.6380 → 1.3.1-stage.6382

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