@vrplatform/api 1.3.1-stage.6168 → 1.3.1-stage.6180

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 Import a CSV after validating its importer against canonical app capabilities; mapped bank records require this Connection's upload reference and accept the reviewed preview mapping unchanged, including null unused optional columns.
1000
+ * @description Import a CSV after validating its importer against canonical app capabilities. Mapped bank records require the reviewed preview, upload, and bank account; confirmation is rejected if the account beginning-balance date changed after preview.
1001
1001
  *
1002
1002
  * Required scope: integrations:import
1003
1003
  */
@@ -1018,7 +1018,7 @@ export interface paths {
1018
1018
  get?: never;
1019
1019
  put?: never;
1020
1020
  /**
1021
- * @description Start a bank-record CSV preview from this Connection's upload reference
1021
+ * @description Start a bank-record CSV preview for a tenant-scoped bank account from this Connection's upload reference. Rows before the account's beginning-balance date are returned as system exclusions.
1022
1022
  *
1023
1023
  * Required scope: integrations:import
1024
1024
  */
@@ -1060,7 +1060,7 @@ export interface paths {
1060
1060
  get?: never;
1061
1061
  put?: never;
1062
1062
  /**
1063
- * @description Create a size-bound CSV upload reference and raw PUT URL for this Connection
1063
+ * @description Create a 24-hour, size-bound CSV upload reference and regional raw PUT URL for this Connection for a file up to 100,000,000 bytes. PUT the original file with Content-Type text/csv (optional parameters are accepted) and Content-Length. Completed retries are idempotent.
1064
1064
  *
1065
1065
  * Required scope: integrations:import
1066
1066
  */
@@ -1080,7 +1080,7 @@ export interface paths {
1080
1080
  };
1081
1081
  get?: never;
1082
1082
  /**
1083
- * @description Stream the complete CSV body into regional storage using an issued upload reference
1083
+ * @description Stream the complete raw CSV body into regional storage using an issued upload reference. Content-Type must be text/csv (optional parameters are accepted), Content-Length is required, and the stored byte size must exactly match the create-upload request. A completed retry does not overwrite the stored object.
1084
1084
  *
1085
1085
  * Required scope: integrations:import
1086
1086
  */
@@ -1455,7 +1455,7 @@ export interface paths {
1455
1455
  get: operations["getFiles"];
1456
1456
  put?: never;
1457
1457
  /**
1458
- * @description Upload a GL user file as multipart/form-data. Fields: file, optional filename, optional type (userUpload or historicalData or historicalOwnerStatement or ownerStatementExample or listingOwnerAssignment or listingFeeAssignment), optional startDate, optional endDate, and optional contactId. Type defaults to userUpload. The API derives team and user context from auth.
1458
+ * @description Create a size-bound upload reference and authenticated regional raw PUT URL for a GL user file up to 100,000,000 bytes. Send filename, contentType, fileSize, and optional type (userUpload or historicalData or historicalOwnerStatement or ownerStatementExample or listingOwnerAssignment or listingFeeAssignment), optional startDate, optional endDate, and optional contactId. Type defaults to userUpload. PUT the unmodified file body to uploadUrl with the declared Content-Type and Content-Length, then use fileId for the created file. Retrying the same completed upload is idempotent.
1459
1459
  *
1460
1460
  * Required scope: files:write
1461
1461
  */
@@ -1466,6 +1466,27 @@ export interface paths {
1466
1466
  patch?: never;
1467
1467
  trace?: never;
1468
1468
  };
1469
+ "/files/uploads/{uploadRef}": {
1470
+ parameters: {
1471
+ query?: never;
1472
+ header?: never;
1473
+ path?: never;
1474
+ cookie?: never;
1475
+ };
1476
+ get?: never;
1477
+ /**
1478
+ * @description Stream the complete raw file body into regional team storage using an issued upload reference. Content-Type and the stored byte size must exactly match the create-upload request, and Content-Length is required. The upload reference is single-file, team-scoped, valid for 24 hours, and safe to retry without overwriting a completed object.
1479
+ *
1480
+ * Required scope: files:write
1481
+ */
1482
+ put: operations["putFilesUploadsByUploadRef"];
1483
+ post?: never;
1484
+ delete?: never;
1485
+ options?: never;
1486
+ head?: never;
1487
+ patch?: never;
1488
+ trace?: never;
1489
+ };
1469
1490
  "/files/{id}": {
1470
1491
  parameters: {
1471
1492
  query?: never;
@@ -1482,7 +1503,7 @@ export interface paths {
1482
1503
  put: operations["putFilesById"];
1483
1504
  post?: never;
1484
1505
  /**
1485
- * @description Delete GL file metadata and its TEAM_STORAGE object.
1506
+ * @description Delete a GL file and its TEAM_STORAGE object. A still-valid upload reference cannot recreate it.
1486
1507
  *
1487
1508
  * Required scope: files:delete
1488
1509
  */
@@ -5805,7 +5826,7 @@ export interface paths {
5805
5826
  get: operations["getTransactions"];
5806
5827
  put?: never;
5807
5828
  /**
5808
- * @description Create a transaction. Journal entries post inline per line; creation into a books-closed month or a statement-locked listing period is rejected. The transaction uniqueRef and every line uniqueRef must be unique; duplicate line references are rejected before anything is inserted. Line party defaults and validity depend on transaction type, owner context, account assignment, and account category. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, first upload each file with POST /transactions/attachments, then pass the returned ids in attachmentIds. Attachments are only supported for expense transactions.
5829
+ * @description Create a transaction. Journal entries post inline per line; creation into a books-closed month or a statement-locked listing period is rejected. The transaction uniqueRef and every line uniqueRef must be unique; duplicate line references are rejected before anything is inserted. Line party defaults and validity depend on transaction type, owner context, account assignment, and account category. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, create an upload with POST /transactions/attachments, PUT the raw file to uploadUrl, then pass the returned attachmentId in attachmentIds. Attachments are only supported for expense transactions.
5809
5830
  *
5810
5831
  * Required scope: transactions:write
5811
5832
  */
@@ -5826,7 +5847,7 @@ export interface paths {
5826
5847
  get?: never;
5827
5848
  put?: never;
5828
5849
  /**
5829
- * @description Upload an expense attachment as multipart/form-data. The returned staged attachment id can be passed in attachmentIds when creating or updating an expense transaction.
5850
+ * @description Create a size-bound upload reference and authenticated regional raw PUT URL for an expense attachment up to 100,000,000 bytes. PUT the unmodified file body to uploadUrl with the declared Content-Type and Content-Length. After the PUT succeeds, pass the attachmentId returned here in attachmentIds when creating or updating an expense transaction. Retrying the same completed upload is idempotent.
5830
5851
  *
5831
5852
  * Required scope: transactions:write
5832
5853
  */
@@ -5837,6 +5858,27 @@ export interface paths {
5837
5858
  patch?: never;
5838
5859
  trace?: never;
5839
5860
  };
5861
+ "/transactions/attachments/uploads/{uploadRef}": {
5862
+ parameters: {
5863
+ query?: never;
5864
+ header?: never;
5865
+ path?: never;
5866
+ cookie?: never;
5867
+ };
5868
+ get?: never;
5869
+ /**
5870
+ * @description Stream the complete raw attachment body into regional storage using an issued upload reference. Content-Type and the stored byte size must exactly match the create-upload request, and Content-Length is required. The upload reference is single-file, team-scoped, valid for 24 hours, and safe to retry without overwriting a completed object.
5871
+ *
5872
+ * Required scope: transactions:write
5873
+ */
5874
+ put: operations["putTransactionsAttachmentsUploadsByUploadRef"];
5875
+ post?: never;
5876
+ delete?: never;
5877
+ options?: never;
5878
+ head?: never;
5879
+ patch?: never;
5880
+ trace?: never;
5881
+ };
5840
5882
  "/transactions/attachments/{id}": {
5841
5883
  parameters: {
5842
5884
  query?: never;
@@ -5853,7 +5895,7 @@ export interface paths {
5853
5895
  put: operations["putTransactionsAttachmentsById"];
5854
5896
  post?: never;
5855
5897
  /**
5856
- * @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions.
5898
+ * @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions. A still-valid upload reference cannot recreate it.
5857
5899
  *
5858
5900
  * Required scope: transactions:delete
5859
5901
  */
@@ -10037,7 +10079,7 @@ export interface operations {
10037
10079
  } | null;
10038
10080
  } | null;
10039
10081
  }[];
10040
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
10082
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
10041
10083
  attachmentIds?: string[] | null;
10042
10084
  recurringTemplateId?: string | null;
10043
10085
  matchBankAccountLast4?: string | null;
@@ -16743,7 +16785,7 @@ export interface operations {
16743
16785
  matchReservationProcessorBookingRef?: string | null;
16744
16786
  matchLineTypeClassification?: string | null;
16745
16787
  }[];
16746
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
16788
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
16747
16789
  attachmentIds?: string[] | null;
16748
16790
  payment?: {
16749
16791
  bankRecordIds: string[];
@@ -17752,7 +17794,7 @@ export interface operations {
17752
17794
  matchReservationProcessorBookingRef?: string | null;
17753
17795
  matchLineTypeClassification?: string | null;
17754
17796
  }[];
17755
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
17797
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
17756
17798
  attachmentIds?: string[] | null;
17757
17799
  payment?: {
17758
17800
  bankRecordIds: string[];
@@ -19414,7 +19456,7 @@ export interface operations {
19414
19456
  matchReservationProcessorBookingRef?: string | null;
19415
19457
  matchLineTypeClassification?: string | null;
19416
19458
  }[];
19417
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
19459
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
19418
19460
  attachmentIds?: string[] | null;
19419
19461
  payment?: {
19420
19462
  bankRecordIds: string[];
@@ -20769,7 +20811,7 @@ export interface operations {
20769
20811
  matchReservationProcessorBookingRef?: string | null;
20770
20812
  matchLineTypeClassification?: string | null;
20771
20813
  }[];
20772
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
20814
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
20773
20815
  attachmentIds?: string[] | null;
20774
20816
  payment?: {
20775
20817
  bankRecordIds: string[];
@@ -25726,6 +25768,10 @@ export interface operations {
25726
25768
  fileUri?: string;
25727
25769
  fileName?: string;
25728
25770
  uploadRef?: string;
25771
+ /** Format: uuid */
25772
+ accountId?: string;
25773
+ /** Format: uuid */
25774
+ previewId?: string;
25729
25775
  uniqueRef: string;
25730
25776
  params?: {
25731
25777
  [key: string]: unknown;
@@ -26030,6 +26076,8 @@ export interface operations {
26030
26076
  requestBody?: {
26031
26077
  content: {
26032
26078
  "application/json": {
26079
+ /** Format: uuid */
26080
+ accountId: string;
26033
26081
  uploadRef: string;
26034
26082
  mapping?: {
26035
26083
  /** @constant */
@@ -26136,7 +26184,13 @@ export interface operations {
26136
26184
  Description: string;
26137
26185
  Amount: number;
26138
26186
  } | null;
26187
+ systemExclusion?: {
26188
+ /** @constant */
26189
+ code: "beforeBankRecordStartDate";
26190
+ bankRecordStartDate: string;
26191
+ };
26139
26192
  }[];
26193
+ sampleRowsTruncated: boolean;
26140
26194
  sourceHash: string;
26141
26195
  totals: {
26142
26196
  rows: number;
@@ -26472,7 +26526,13 @@ export interface operations {
26472
26526
  Description: string;
26473
26527
  Amount: number;
26474
26528
  } | null;
26529
+ systemExclusion?: {
26530
+ /** @constant */
26531
+ code: "beforeBankRecordStartDate";
26532
+ bankRecordStartDate: string;
26533
+ };
26475
26534
  }[];
26535
+ sampleRowsTruncated: boolean;
26476
26536
  sourceHash: string;
26477
26537
  totals: {
26478
26538
  rows: number;
@@ -33215,7 +33275,23 @@ export interface operations {
33215
33275
  path?: never;
33216
33276
  cookie?: never;
33217
33277
  };
33218
- requestBody?: never;
33278
+ requestBody?: {
33279
+ content: {
33280
+ "application/json": {
33281
+ filename: string;
33282
+ contentType: string;
33283
+ fileSize: number;
33284
+ /**
33285
+ * @default userUpload
33286
+ * @enum {string}
33287
+ */
33288
+ type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33289
+ startDate?: string | null;
33290
+ endDate?: string | null;
33291
+ contactId?: string | null;
33292
+ };
33293
+ };
33294
+ };
33219
33295
  responses: {
33220
33296
  /** @description Successful response */
33221
33297
  200: {
@@ -33224,30 +33300,13 @@ export interface operations {
33224
33300
  };
33225
33301
  content: {
33226
33302
  "application/json": {
33303
+ /** Format: date-time */
33304
+ expiresAt: string;
33227
33305
  /** Format: uuid */
33228
- id: string;
33229
- filename: string;
33230
- /** @enum {string} */
33231
- type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33232
- startDate: string | null;
33233
- endDate: string | null;
33234
- /**
33235
- * Format: date-time
33236
- * @description Timestamp string with date, time, milliseconds, and timezone.
33237
- * @example 2024-01-15T12:30:00.000+00:00
33238
- */
33239
- createdAt: string;
33240
- contact: {
33241
- /** Format: uuid */
33242
- id: string;
33243
- name?: string | null;
33244
- firstName?: string | null;
33245
- uniqueRef?: string | null;
33246
- shortRef?: string | null;
33247
- email?: string | null;
33248
- /** @enum {string} */
33249
- type: "owner" | "vendor";
33250
- } | null;
33306
+ fileId: string;
33307
+ uploadRef: string;
33308
+ /** Format: uri */
33309
+ uploadUrl: string;
33251
33310
  };
33252
33311
  };
33253
33312
  };
@@ -33478,25 +33537,16 @@ export interface operations {
33478
33537
  };
33479
33538
  };
33480
33539
  };
33481
- putFilesById: {
33540
+ putFilesUploadsByUploadRef: {
33482
33541
  parameters: {
33483
33542
  query?: never;
33484
33543
  header?: never;
33485
33544
  path: {
33486
- id: string;
33545
+ uploadRef: string;
33487
33546
  };
33488
33547
  cookie?: never;
33489
33548
  };
33490
- requestBody?: {
33491
- content: {
33492
- "application/json": {
33493
- filename?: string;
33494
- startDate?: string | null;
33495
- endDate?: string | null;
33496
- contactId?: string | null;
33497
- };
33498
- };
33499
- };
33549
+ requestBody?: never;
33500
33550
  responses: {
33501
33551
  /** @description Successful response */
33502
33552
  200: {
@@ -33505,30 +33555,8 @@ export interface operations {
33505
33555
  };
33506
33556
  content: {
33507
33557
  "application/json": {
33508
- /** Format: uuid */
33509
- id: string;
33510
- filename: string;
33511
- /** @enum {string} */
33512
- type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33513
- startDate: string | null;
33514
- endDate: string | null;
33515
- /**
33516
- * Format: date-time
33517
- * @description Timestamp string with date, time, milliseconds, and timezone.
33518
- * @example 2024-01-15T12:30:00.000+00:00
33519
- */
33520
- createdAt: string;
33521
- contact: {
33522
- /** Format: uuid */
33523
- id: string;
33524
- name?: string | null;
33525
- firstName?: string | null;
33526
- uniqueRef?: string | null;
33527
- shortRef?: string | null;
33528
- email?: string | null;
33529
- /** @enum {string} */
33530
- type: "owner" | "vendor";
33531
- } | null;
33558
+ /** @constant */
33559
+ status: "uploaded";
33532
33560
  };
33533
33561
  };
33534
33562
  };
@@ -33759,7 +33787,7 @@ export interface operations {
33759
33787
  };
33760
33788
  };
33761
33789
  };
33762
- deleteFilesById: {
33790
+ putFilesById: {
33763
33791
  parameters: {
33764
33792
  query?: never;
33765
33793
  header?: never;
@@ -33770,7 +33798,12 @@ export interface operations {
33770
33798
  };
33771
33799
  requestBody?: {
33772
33800
  content: {
33773
- "application/json": Record<string, never>;
33801
+ "application/json": {
33802
+ filename?: string;
33803
+ startDate?: string | null;
33804
+ endDate?: string | null;
33805
+ contactId?: string | null;
33806
+ };
33774
33807
  };
33775
33808
  };
33776
33809
  responses: {
@@ -33781,8 +33814,30 @@ export interface operations {
33781
33814
  };
33782
33815
  content: {
33783
33816
  "application/json": {
33817
+ /** Format: uuid */
33818
+ id: string;
33819
+ filename: string;
33784
33820
  /** @enum {string} */
33785
- status: "deleted";
33821
+ type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33822
+ startDate: string | null;
33823
+ endDate: string | null;
33824
+ /**
33825
+ * Format: date-time
33826
+ * @description Timestamp string with date, time, milliseconds, and timezone.
33827
+ * @example 2024-01-15T12:30:00.000+00:00
33828
+ */
33829
+ createdAt: string;
33830
+ contact: {
33831
+ /** Format: uuid */
33832
+ id: string;
33833
+ name?: string | null;
33834
+ firstName?: string | null;
33835
+ uniqueRef?: string | null;
33836
+ shortRef?: string | null;
33837
+ email?: string | null;
33838
+ /** @enum {string} */
33839
+ type: "owner" | "vendor";
33840
+ } | null;
33786
33841
  };
33787
33842
  };
33788
33843
  };
@@ -34013,7 +34068,7 @@ export interface operations {
34013
34068
  };
34014
34069
  };
34015
34070
  };
34016
- getFilesByIdDownload: {
34071
+ deleteFilesById: {
34017
34072
  parameters: {
34018
34073
  query?: never;
34019
34074
  header?: never;
@@ -34022,7 +34077,11 @@ export interface operations {
34022
34077
  };
34023
34078
  cookie?: never;
34024
34079
  };
34025
- requestBody?: never;
34080
+ requestBody?: {
34081
+ content: {
34082
+ "application/json": Record<string, never>;
34083
+ };
34084
+ };
34026
34085
  responses: {
34027
34086
  /** @description Successful response */
34028
34087
  200: {
@@ -34031,8 +34090,8 @@ export interface operations {
34031
34090
  };
34032
34091
  content: {
34033
34092
  "application/json": {
34034
- /** Format: uuid */
34035
- id: string;
34093
+ /** @enum {string} */
34094
+ status: "deleted";
34036
34095
  };
34037
34096
  };
34038
34097
  };
@@ -34263,16 +34322,13 @@ export interface operations {
34263
34322
  };
34264
34323
  };
34265
34324
  };
34266
- getFlows: {
34325
+ getFilesByIdDownload: {
34267
34326
  parameters: {
34268
- query?: {
34269
- appId?: string;
34270
- limit?: number;
34271
- page?: number;
34272
- offset?: number;
34273
- };
34327
+ query?: never;
34274
34328
  header?: never;
34275
- path?: never;
34329
+ path: {
34330
+ id: string;
34331
+ };
34276
34332
  cookie?: never;
34277
34333
  };
34278
34334
  requestBody?: never;
@@ -34284,80 +34340,8 @@ export interface operations {
34284
34340
  };
34285
34341
  content: {
34286
34342
  "application/json": {
34287
- data: {
34288
- /** Format: uuid */
34289
- id: string;
34290
- title: string;
34291
- appId: string;
34292
- isPublic: boolean;
34293
- /** @default false */
34294
- useGlobalMapping: boolean;
34295
- description?: string | null;
34296
- /** @default [] */
34297
- eventListening: string[];
34298
- /** @description Mapping schema configuration for this flow */
34299
- mappingSchema: {
34300
- [key: string]: {
34301
- /** @description Title for UI/display */
34302
- title: string;
34303
- /** @description Description for UI/display */
34304
- description: string;
34305
- /** @description Optional internal left-side semantic type for internal-keyed mappings */
34306
- type?: string;
34307
- /** @description Internal system mapping configuration */
34308
- internal?: {
34309
- /**
34310
- * @description Internal semantic type
34311
- * @enum {string}
34312
- */
34313
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34314
- /** @description Optional JSONB filter for internal data */
34315
- filter?: string;
34316
- };
34317
- /** @description External system mapping configuration */
34318
- external?: {
34319
- /** @description External type identifier (vendor/system specific) */
34320
- type: string;
34321
- /** @description Optional JSONB filter for external data */
34322
- filter?: string;
34323
- };
34324
- };
34325
- };
34326
- /** @description Setting schema configuration for this flow */
34327
- settingSchema: {
34328
- [key: string]: {
34329
- /** @description Title for UI/display */
34330
- title: string;
34331
- /** @description Description for UI/display */
34332
- description: string;
34333
- /**
34334
- * @description Semantic type of the setting value
34335
- * @enum {string}
34336
- */
34337
- type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34338
- /** @description Optional JSONB filter for available values */
34339
- filter?: string;
34340
- /** @description External type identifier (vendor/system specific) for options */
34341
- external?: string;
34342
- };
34343
- };
34344
- /** @description Run schema configuration for this flow */
34345
- runSchema: {
34346
- /** @description Human readable description for date selection when triggering a run */
34347
- dateDescription?: string;
34348
- };
34349
- /** @enum {string} */
34350
- type?: "push" | "pull";
34351
- }[];
34352
- pagination: {
34353
- /** @default 100 */
34354
- limit: number;
34355
- /** @default 1 */
34356
- page: number;
34357
- total: number;
34358
- totalPage: number;
34359
- nextPage?: number;
34360
- };
34343
+ /** Format: uuid */
34344
+ id: string;
34361
34345
  };
34362
34346
  };
34363
34347
  };
@@ -34588,13 +34572,16 @@ export interface operations {
34588
34572
  };
34589
34573
  };
34590
34574
  };
34591
- getFlow: {
34575
+ getFlows: {
34592
34576
  parameters: {
34593
- query?: never;
34594
- header?: never;
34595
- path: {
34596
- id: string;
34577
+ query?: {
34578
+ appId?: string;
34579
+ limit?: number;
34580
+ page?: number;
34581
+ offset?: number;
34597
34582
  };
34583
+ header?: never;
34584
+ path?: never;
34598
34585
  cookie?: never;
34599
34586
  };
34600
34587
  requestBody?: never;
@@ -34606,69 +34593,80 @@ export interface operations {
34606
34593
  };
34607
34594
  content: {
34608
34595
  "application/json": {
34609
- /** Format: uuid */
34610
- id: string;
34611
- title: string;
34612
- appId: string;
34613
- isPublic: boolean;
34614
- /** @default false */
34615
- useGlobalMapping: boolean;
34616
- description?: string | null;
34617
- /** @default [] */
34618
- eventListening: string[];
34619
- /** @description Mapping schema configuration for this flow */
34620
- mappingSchema: {
34621
- [key: string]: {
34622
- /** @description Title for UI/display */
34623
- title: string;
34624
- /** @description Description for UI/display */
34625
- description: string;
34626
- /** @description Optional internal left-side semantic type for internal-keyed mappings */
34627
- type?: string;
34628
- /** @description Internal system mapping configuration */
34629
- internal?: {
34596
+ data: {
34597
+ /** Format: uuid */
34598
+ id: string;
34599
+ title: string;
34600
+ appId: string;
34601
+ isPublic: boolean;
34602
+ /** @default false */
34603
+ useGlobalMapping: boolean;
34604
+ description?: string | null;
34605
+ /** @default [] */
34606
+ eventListening: string[];
34607
+ /** @description Mapping schema configuration for this flow */
34608
+ mappingSchema: {
34609
+ [key: string]: {
34610
+ /** @description Title for UI/display */
34611
+ title: string;
34612
+ /** @description Description for UI/display */
34613
+ description: string;
34614
+ /** @description Optional internal left-side semantic type for internal-keyed mappings */
34615
+ type?: string;
34616
+ /** @description Internal system mapping configuration */
34617
+ internal?: {
34618
+ /**
34619
+ * @description Internal semantic type
34620
+ * @enum {string}
34621
+ */
34622
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34623
+ /** @description Optional JSONB filter for internal data */
34624
+ filter?: string;
34625
+ };
34626
+ /** @description External system mapping configuration */
34627
+ external?: {
34628
+ /** @description External type identifier (vendor/system specific) */
34629
+ type: string;
34630
+ /** @description Optional JSONB filter for external data */
34631
+ filter?: string;
34632
+ };
34633
+ };
34634
+ };
34635
+ /** @description Setting schema configuration for this flow */
34636
+ settingSchema: {
34637
+ [key: string]: {
34638
+ /** @description Title for UI/display */
34639
+ title: string;
34640
+ /** @description Description for UI/display */
34641
+ description: string;
34630
34642
  /**
34631
- * @description Internal semantic type
34643
+ * @description Semantic type of the setting value
34632
34644
  * @enum {string}
34633
34645
  */
34634
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34635
- /** @description Optional JSONB filter for internal data */
34636
- filter?: string;
34637
- };
34638
- /** @description External system mapping configuration */
34639
- external?: {
34640
- /** @description External type identifier (vendor/system specific) */
34641
- type: string;
34642
- /** @description Optional JSONB filter for external data */
34646
+ type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34647
+ /** @description Optional JSONB filter for available values */
34643
34648
  filter?: string;
34649
+ /** @description External type identifier (vendor/system specific) for options */
34650
+ external?: string;
34644
34651
  };
34645
34652
  };
34646
- };
34647
- /** @description Setting schema configuration for this flow */
34648
- settingSchema: {
34649
- [key: string]: {
34650
- /** @description Title for UI/display */
34651
- title: string;
34652
- /** @description Description for UI/display */
34653
- description: string;
34654
- /**
34655
- * @description Semantic type of the setting value
34656
- * @enum {string}
34657
- */
34658
- type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34659
- /** @description Optional JSONB filter for available values */
34660
- filter?: string;
34661
- /** @description External type identifier (vendor/system specific) for options */
34662
- external?: string;
34653
+ /** @description Run schema configuration for this flow */
34654
+ runSchema: {
34655
+ /** @description Human readable description for date selection when triggering a run */
34656
+ dateDescription?: string;
34663
34657
  };
34658
+ /** @enum {string} */
34659
+ type?: "push" | "pull";
34660
+ }[];
34661
+ pagination: {
34662
+ /** @default 100 */
34663
+ limit: number;
34664
+ /** @default 1 */
34665
+ page: number;
34666
+ total: number;
34667
+ totalPage: number;
34668
+ nextPage?: number;
34664
34669
  };
34665
- /** @description Run schema configuration for this flow */
34666
- runSchema: {
34667
- /** @description Human readable description for date selection when triggering a run */
34668
- dateDescription?: string;
34669
- };
34670
- /** @enum {string} */
34671
- type?: "push" | "pull";
34672
34670
  };
34673
34671
  };
34674
34672
  };
@@ -34899,13 +34897,12 @@ export interface operations {
34899
34897
  };
34900
34898
  };
34901
34899
  };
34902
- getFlowConnection: {
34900
+ getFlow: {
34903
34901
  parameters: {
34904
34902
  query?: never;
34905
34903
  header?: never;
34906
34904
  path: {
34907
34905
  id: string;
34908
- connectionId: string;
34909
34906
  };
34910
34907
  cookie?: never;
34911
34908
  };
@@ -34920,35 +34917,67 @@ export interface operations {
34920
34917
  "application/json": {
34921
34918
  /** Format: uuid */
34922
34919
  id: string;
34923
- /** Format: uuid */
34924
- connectionId: string;
34925
34920
  title: string;
34926
- description: string | null;
34927
- /** @enum {string} */
34928
- status: "active" | "inactive";
34929
- settings: {
34930
- /** Format: uuid */
34931
- id: string;
34932
- /** Format: uuid */
34933
- flowId: string;
34934
- /** Format: uuid */
34935
- connectionId: string;
34936
- settingKey: string;
34937
- title: string | null;
34938
- description: string | null;
34939
- type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
34940
- filter: string | null;
34941
- /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
34942
- value: {
34943
- id: string | number;
34944
- name: string;
34921
+ appId: string;
34922
+ isPublic: boolean;
34923
+ /** @default false */
34924
+ useGlobalMapping: boolean;
34925
+ description?: string | null;
34926
+ /** @default [] */
34927
+ eventListening: string[];
34928
+ /** @description Mapping schema configuration for this flow */
34929
+ mappingSchema: {
34930
+ [key: string]: {
34931
+ /** @description Title for UI/display */
34932
+ title: string;
34933
+ /** @description Description for UI/display */
34934
+ description: string;
34935
+ /** @description Optional internal left-side semantic type for internal-keyed mappings */
34936
+ type?: string;
34937
+ /** @description Internal system mapping configuration */
34938
+ internal?: {
34939
+ /**
34940
+ * @description Internal semantic type
34941
+ * @enum {string}
34942
+ */
34943
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34944
+ /** @description Optional JSONB filter for internal data */
34945
+ filter?: string;
34946
+ };
34947
+ /** @description External system mapping configuration */
34948
+ external?: {
34949
+ /** @description External type identifier (vendor/system specific) */
34950
+ type: string;
34951
+ /** @description Optional JSONB filter for external data */
34952
+ filter?: string;
34953
+ };
34954
+ };
34955
+ };
34956
+ /** @description Setting schema configuration for this flow */
34957
+ settingSchema: {
34958
+ [key: string]: {
34959
+ /** @description Title for UI/display */
34960
+ title: string;
34961
+ /** @description Description for UI/display */
34962
+ description: string;
34945
34963
  /**
34946
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
34964
+ * @description Semantic type of the setting value
34947
34965
  * @enum {string}
34948
34966
  */
34949
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34967
+ type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
34968
+ /** @description Optional JSONB filter for available values */
34969
+ filter?: string;
34970
+ /** @description External type identifier (vendor/system specific) for options */
34971
+ external?: string;
34950
34972
  };
34951
- }[];
34973
+ };
34974
+ /** @description Run schema configuration for this flow */
34975
+ runSchema: {
34976
+ /** @description Human readable description for date selection when triggering a run */
34977
+ dateDescription?: string;
34978
+ };
34979
+ /** @enum {string} */
34980
+ type?: "push" | "pull";
34952
34981
  };
34953
34982
  };
34954
34983
  };
@@ -35179,7 +35208,7 @@ export interface operations {
35179
35208
  };
35180
35209
  };
35181
35210
  };
35182
- setFlowStatus: {
35211
+ getFlowConnection: {
35183
35212
  parameters: {
35184
35213
  query?: never;
35185
35214
  header?: never;
@@ -35189,14 +35218,7 @@ export interface operations {
35189
35218
  };
35190
35219
  cookie?: never;
35191
35220
  };
35192
- requestBody?: {
35193
- content: {
35194
- "application/json": {
35195
- /** @enum {string} */
35196
- status: "active" | "inactive";
35197
- };
35198
- };
35199
- };
35221
+ requestBody?: never;
35200
35222
  responses: {
35201
35223
  /** @description Successful response */
35202
35224
  200: {
@@ -35466,23 +35488,24 @@ export interface operations {
35466
35488
  };
35467
35489
  };
35468
35490
  };
35469
- getFlowMapping: {
35491
+ setFlowStatus: {
35470
35492
  parameters: {
35471
- query?: {
35472
- leftId?: string;
35473
- limit?: number;
35474
- page?: number;
35475
- offset?: number;
35476
- };
35493
+ query?: never;
35477
35494
  header?: never;
35478
35495
  path: {
35479
35496
  id: string;
35480
35497
  connectionId: string;
35481
- mappingKey: string;
35482
35498
  };
35483
35499
  cookie?: never;
35484
35500
  };
35485
- requestBody?: never;
35501
+ requestBody?: {
35502
+ content: {
35503
+ "application/json": {
35504
+ /** @enum {string} */
35505
+ status: "active" | "inactive";
35506
+ };
35507
+ };
35508
+ };
35486
35509
  responses: {
35487
35510
  /** @description Successful response */
35488
35511
  200: {
@@ -35491,36 +35514,322 @@ export interface operations {
35491
35514
  };
35492
35515
  content: {
35493
35516
  "application/json": {
35494
- data: {
35517
+ /** Format: uuid */
35518
+ id: string;
35519
+ /** Format: uuid */
35520
+ connectionId: string;
35521
+ title: string;
35522
+ description: string | null;
35523
+ /** @enum {string} */
35524
+ status: "active" | "inactive";
35525
+ settings: {
35495
35526
  /** Format: uuid */
35496
35527
  id: string;
35497
35528
  /** Format: uuid */
35498
35529
  flowId: string;
35499
35530
  /** Format: uuid */
35500
35531
  connectionId: string;
35501
- mappingKey: string;
35532
+ settingKey: string;
35502
35533
  title: string | null;
35503
35534
  description: string | null;
35504
- left: {
35505
- value: string | number;
35506
- text: string;
35507
- type: "source" | ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
35508
- };
35509
- right: {
35510
- value: string | number;
35511
- text: string;
35512
- type: "source" | ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
35535
+ type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
35536
+ filter: string | null;
35537
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
35538
+ value: {
35539
+ id: string | number;
35540
+ name: string;
35541
+ /**
35542
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
35543
+ * @enum {string}
35544
+ */
35545
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
35513
35546
  };
35514
35547
  }[];
35515
- pagination: {
35516
- /** @default 100 */
35517
- limit: number;
35518
- /** @default 1 */
35519
- page: number;
35520
- total: number;
35521
- totalPage: number;
35522
- nextPage?: number;
35523
- };
35548
+ };
35549
+ };
35550
+ };
35551
+ /** @description Bad request */
35552
+ 400: {
35553
+ headers: {
35554
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35555
+ "Retry-After"?: number;
35556
+ [name: string]: unknown;
35557
+ };
35558
+ content: {
35559
+ "application/json": {
35560
+ code: string;
35561
+ message: string;
35562
+ links?: {
35563
+ docs: string;
35564
+ schema: string;
35565
+ };
35566
+ issues?: {
35567
+ message: string;
35568
+ path?: (string | number)[];
35569
+ schema?: string;
35570
+ }[];
35571
+ retryable?: boolean;
35572
+ context?: unknown;
35573
+ };
35574
+ };
35575
+ };
35576
+ /** @description Unauthorized */
35577
+ 401: {
35578
+ headers: {
35579
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35580
+ "Retry-After"?: number;
35581
+ [name: string]: unknown;
35582
+ };
35583
+ content: {
35584
+ "application/json": {
35585
+ code: string;
35586
+ message: string;
35587
+ links?: {
35588
+ docs: string;
35589
+ schema: string;
35590
+ };
35591
+ issues?: {
35592
+ message: string;
35593
+ path?: (string | number)[];
35594
+ schema?: string;
35595
+ }[];
35596
+ retryable?: boolean;
35597
+ context?: unknown;
35598
+ };
35599
+ };
35600
+ };
35601
+ /** @description Forbidden */
35602
+ 403: {
35603
+ headers: {
35604
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35605
+ "Retry-After"?: number;
35606
+ [name: string]: unknown;
35607
+ };
35608
+ content: {
35609
+ "application/json": {
35610
+ code: string;
35611
+ message: string;
35612
+ links?: {
35613
+ docs: string;
35614
+ schema: string;
35615
+ };
35616
+ issues?: {
35617
+ message: string;
35618
+ path?: (string | number)[];
35619
+ schema?: string;
35620
+ }[];
35621
+ retryable?: boolean;
35622
+ context?: unknown;
35623
+ };
35624
+ };
35625
+ };
35626
+ /** @description Not found */
35627
+ 404: {
35628
+ headers: {
35629
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35630
+ "Retry-After"?: number;
35631
+ [name: string]: unknown;
35632
+ };
35633
+ content: {
35634
+ "application/json": {
35635
+ code: string;
35636
+ message: string;
35637
+ links?: {
35638
+ docs: string;
35639
+ schema: string;
35640
+ };
35641
+ issues?: {
35642
+ message: string;
35643
+ path?: (string | number)[];
35644
+ schema?: string;
35645
+ }[];
35646
+ retryable?: boolean;
35647
+ context?: unknown;
35648
+ };
35649
+ };
35650
+ };
35651
+ /** @description Conflict */
35652
+ 409: {
35653
+ headers: {
35654
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35655
+ "Retry-After"?: number;
35656
+ [name: string]: unknown;
35657
+ };
35658
+ content: {
35659
+ "application/json": {
35660
+ code: string;
35661
+ message: string;
35662
+ links?: {
35663
+ docs: string;
35664
+ schema: string;
35665
+ };
35666
+ issues?: {
35667
+ message: string;
35668
+ path?: (string | number)[];
35669
+ schema?: string;
35670
+ }[];
35671
+ retryable?: boolean;
35672
+ context?: unknown;
35673
+ };
35674
+ };
35675
+ };
35676
+ /** @description Gone */
35677
+ 410: {
35678
+ headers: {
35679
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35680
+ "Retry-After"?: number;
35681
+ [name: string]: unknown;
35682
+ };
35683
+ content: {
35684
+ "application/json": {
35685
+ code: string;
35686
+ message: string;
35687
+ links?: {
35688
+ docs: string;
35689
+ schema: string;
35690
+ };
35691
+ issues?: {
35692
+ message: string;
35693
+ path?: (string | number)[];
35694
+ schema?: string;
35695
+ }[];
35696
+ retryable?: boolean;
35697
+ context?: unknown;
35698
+ };
35699
+ };
35700
+ };
35701
+ /** @description Unprocessable content */
35702
+ 422: {
35703
+ headers: {
35704
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35705
+ "Retry-After"?: number;
35706
+ [name: string]: unknown;
35707
+ };
35708
+ content: {
35709
+ "application/json": {
35710
+ code: string;
35711
+ message: string;
35712
+ links?: {
35713
+ docs: string;
35714
+ schema: string;
35715
+ };
35716
+ issues?: {
35717
+ message: string;
35718
+ path?: (string | number)[];
35719
+ schema?: string;
35720
+ }[];
35721
+ retryable?: boolean;
35722
+ context?: unknown;
35723
+ };
35724
+ };
35725
+ };
35726
+ /** @description Internal server error */
35727
+ 500: {
35728
+ headers: {
35729
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35730
+ "Retry-After"?: number;
35731
+ [name: string]: unknown;
35732
+ };
35733
+ content: {
35734
+ "application/json": {
35735
+ code: string;
35736
+ message: string;
35737
+ links?: {
35738
+ docs: string;
35739
+ schema: string;
35740
+ };
35741
+ issues?: {
35742
+ message: string;
35743
+ path?: (string | number)[];
35744
+ schema?: string;
35745
+ }[];
35746
+ retryable?: boolean;
35747
+ context?: unknown;
35748
+ };
35749
+ };
35750
+ };
35751
+ /** @description Service unavailable */
35752
+ 503: {
35753
+ headers: {
35754
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
35755
+ "Retry-After"?: number;
35756
+ [name: string]: unknown;
35757
+ };
35758
+ content: {
35759
+ "application/json": {
35760
+ code: string;
35761
+ message: string;
35762
+ links?: {
35763
+ docs: string;
35764
+ schema: string;
35765
+ };
35766
+ issues?: {
35767
+ message: string;
35768
+ path?: (string | number)[];
35769
+ schema?: string;
35770
+ }[];
35771
+ retryable?: boolean;
35772
+ context?: unknown;
35773
+ };
35774
+ };
35775
+ };
35776
+ };
35777
+ };
35778
+ getFlowMapping: {
35779
+ parameters: {
35780
+ query?: {
35781
+ leftId?: string;
35782
+ limit?: number;
35783
+ page?: number;
35784
+ offset?: number;
35785
+ };
35786
+ header?: never;
35787
+ path: {
35788
+ id: string;
35789
+ connectionId: string;
35790
+ mappingKey: string;
35791
+ };
35792
+ cookie?: never;
35793
+ };
35794
+ requestBody?: never;
35795
+ responses: {
35796
+ /** @description Successful response */
35797
+ 200: {
35798
+ headers: {
35799
+ [name: string]: unknown;
35800
+ };
35801
+ content: {
35802
+ "application/json": {
35803
+ data: {
35804
+ /** Format: uuid */
35805
+ id: string;
35806
+ /** Format: uuid */
35807
+ flowId: string;
35808
+ /** Format: uuid */
35809
+ connectionId: string;
35810
+ mappingKey: string;
35811
+ title: string | null;
35812
+ description: string | null;
35813
+ left: {
35814
+ value: string | number;
35815
+ text: string;
35816
+ type: "source" | ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
35817
+ };
35818
+ right: {
35819
+ value: string | number;
35820
+ text: string;
35821
+ type: "source" | ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
35822
+ };
35823
+ }[];
35824
+ pagination: {
35825
+ /** @default 100 */
35826
+ limit: number;
35827
+ /** @default 1 */
35828
+ page: number;
35829
+ total: number;
35830
+ totalPage: number;
35831
+ nextPage?: number;
35832
+ };
35524
35833
  };
35525
35834
  };
35526
35835
  };
@@ -106151,7 +106460,7 @@ export interface operations {
106151
106460
  } | null;
106152
106461
  } | null;
106153
106462
  }[];
106154
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
106463
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
106155
106464
  attachmentIds?: string[] | null;
106156
106465
  recurringTemplateId?: string | null;
106157
106466
  matchBankAccountLast4?: string | null;
@@ -124303,7 +124612,7 @@ export interface operations {
124303
124612
  } | null;
124304
124613
  } | null;
124305
124614
  }[];
124306
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124615
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124307
124616
  attachmentIds?: string[] | null;
124308
124617
  recurringTemplateId?: string | null;
124309
124618
  matchBankAccountLast4?: string | null;
@@ -124791,7 +125100,7 @@ export interface operations {
124791
125100
  matchReservationProcessorBookingRef?: string | null;
124792
125101
  matchLineTypeClassification?: string | null;
124793
125102
  }[];
124794
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
125103
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124795
125104
  attachmentIds?: string[] | null;
124796
125105
  /** @description Expense payment and reconciliation state */
124797
125106
  payment?: {
@@ -124988,7 +125297,7 @@ export interface operations {
124988
125297
  } | null;
124989
125298
  } | null;
124990
125299
  }[];
124991
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
125300
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124992
125301
  attachmentIds?: string[] | null;
124993
125302
  recurringTemplateId?: string | null;
124994
125303
  matchBankAccountLast4?: string | null;
@@ -125383,7 +125692,17 @@ export interface operations {
125383
125692
  path?: never;
125384
125693
  cookie?: never;
125385
125694
  };
125386
- requestBody?: never;
125695
+ requestBody?: {
125696
+ content: {
125697
+ "application/json": {
125698
+ filename: string;
125699
+ contentType: string;
125700
+ fileSize: number;
125701
+ /** @default false */
125702
+ isOwnerAccessible?: boolean;
125703
+ };
125704
+ };
125705
+ };
125387
125706
  responses: {
125388
125707
  /** @description Successful response */
125389
125708
  200: {
@@ -125393,19 +125712,262 @@ export interface operations {
125393
125712
  content: {
125394
125713
  "application/json": {
125395
125714
  /** Format: uuid */
125396
- id: string;
125397
- transactionId: string | null;
125398
- /**
125399
- * Format: date-time
125400
- * @description Timestamp string with date, time, milliseconds, and timezone.
125401
- * @example 2024-01-15T12:30:00.000+00:00
125402
- */
125403
- createdAt: string;
125404
- filename: string;
125405
- extension?: string | null;
125406
- contentType: string;
125407
- byteSize: number;
125408
- isOwnerAccessible: boolean;
125715
+ attachmentId: string;
125716
+ /** Format: date-time */
125717
+ expiresAt: string;
125718
+ uploadRef: string;
125719
+ /** Format: uri */
125720
+ uploadUrl: string;
125721
+ };
125722
+ };
125723
+ };
125724
+ /** @description Bad request */
125725
+ 400: {
125726
+ headers: {
125727
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125728
+ "Retry-After"?: number;
125729
+ [name: string]: unknown;
125730
+ };
125731
+ content: {
125732
+ "application/json": {
125733
+ code: string;
125734
+ message: string;
125735
+ links?: {
125736
+ docs: string;
125737
+ schema: string;
125738
+ };
125739
+ issues?: {
125740
+ message: string;
125741
+ path?: (string | number)[];
125742
+ schema?: string;
125743
+ }[];
125744
+ retryable?: boolean;
125745
+ context?: unknown;
125746
+ };
125747
+ };
125748
+ };
125749
+ /** @description Unauthorized */
125750
+ 401: {
125751
+ headers: {
125752
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125753
+ "Retry-After"?: number;
125754
+ [name: string]: unknown;
125755
+ };
125756
+ content: {
125757
+ "application/json": {
125758
+ code: string;
125759
+ message: string;
125760
+ links?: {
125761
+ docs: string;
125762
+ schema: string;
125763
+ };
125764
+ issues?: {
125765
+ message: string;
125766
+ path?: (string | number)[];
125767
+ schema?: string;
125768
+ }[];
125769
+ retryable?: boolean;
125770
+ context?: unknown;
125771
+ };
125772
+ };
125773
+ };
125774
+ /** @description Forbidden */
125775
+ 403: {
125776
+ headers: {
125777
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125778
+ "Retry-After"?: number;
125779
+ [name: string]: unknown;
125780
+ };
125781
+ content: {
125782
+ "application/json": {
125783
+ code: string;
125784
+ message: string;
125785
+ links?: {
125786
+ docs: string;
125787
+ schema: string;
125788
+ };
125789
+ issues?: {
125790
+ message: string;
125791
+ path?: (string | number)[];
125792
+ schema?: string;
125793
+ }[];
125794
+ retryable?: boolean;
125795
+ context?: unknown;
125796
+ };
125797
+ };
125798
+ };
125799
+ /** @description Not found */
125800
+ 404: {
125801
+ headers: {
125802
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125803
+ "Retry-After"?: number;
125804
+ [name: string]: unknown;
125805
+ };
125806
+ content: {
125807
+ "application/json": {
125808
+ code: string;
125809
+ message: string;
125810
+ links?: {
125811
+ docs: string;
125812
+ schema: string;
125813
+ };
125814
+ issues?: {
125815
+ message: string;
125816
+ path?: (string | number)[];
125817
+ schema?: string;
125818
+ }[];
125819
+ retryable?: boolean;
125820
+ context?: unknown;
125821
+ };
125822
+ };
125823
+ };
125824
+ /** @description Conflict */
125825
+ 409: {
125826
+ headers: {
125827
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125828
+ "Retry-After"?: number;
125829
+ [name: string]: unknown;
125830
+ };
125831
+ content: {
125832
+ "application/json": {
125833
+ code: string;
125834
+ message: string;
125835
+ links?: {
125836
+ docs: string;
125837
+ schema: string;
125838
+ };
125839
+ issues?: {
125840
+ message: string;
125841
+ path?: (string | number)[];
125842
+ schema?: string;
125843
+ }[];
125844
+ retryable?: boolean;
125845
+ context?: unknown;
125846
+ };
125847
+ };
125848
+ };
125849
+ /** @description Gone */
125850
+ 410: {
125851
+ headers: {
125852
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125853
+ "Retry-After"?: number;
125854
+ [name: string]: unknown;
125855
+ };
125856
+ content: {
125857
+ "application/json": {
125858
+ code: string;
125859
+ message: string;
125860
+ links?: {
125861
+ docs: string;
125862
+ schema: string;
125863
+ };
125864
+ issues?: {
125865
+ message: string;
125866
+ path?: (string | number)[];
125867
+ schema?: string;
125868
+ }[];
125869
+ retryable?: boolean;
125870
+ context?: unknown;
125871
+ };
125872
+ };
125873
+ };
125874
+ /** @description Unprocessable content */
125875
+ 422: {
125876
+ headers: {
125877
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125878
+ "Retry-After"?: number;
125879
+ [name: string]: unknown;
125880
+ };
125881
+ content: {
125882
+ "application/json": {
125883
+ code: string;
125884
+ message: string;
125885
+ links?: {
125886
+ docs: string;
125887
+ schema: string;
125888
+ };
125889
+ issues?: {
125890
+ message: string;
125891
+ path?: (string | number)[];
125892
+ schema?: string;
125893
+ }[];
125894
+ retryable?: boolean;
125895
+ context?: unknown;
125896
+ };
125897
+ };
125898
+ };
125899
+ /** @description Internal server error */
125900
+ 500: {
125901
+ headers: {
125902
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125903
+ "Retry-After"?: number;
125904
+ [name: string]: unknown;
125905
+ };
125906
+ content: {
125907
+ "application/json": {
125908
+ code: string;
125909
+ message: string;
125910
+ links?: {
125911
+ docs: string;
125912
+ schema: string;
125913
+ };
125914
+ issues?: {
125915
+ message: string;
125916
+ path?: (string | number)[];
125917
+ schema?: string;
125918
+ }[];
125919
+ retryable?: boolean;
125920
+ context?: unknown;
125921
+ };
125922
+ };
125923
+ };
125924
+ /** @description Service unavailable */
125925
+ 503: {
125926
+ headers: {
125927
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125928
+ "Retry-After"?: number;
125929
+ [name: string]: unknown;
125930
+ };
125931
+ content: {
125932
+ "application/json": {
125933
+ code: string;
125934
+ message: string;
125935
+ links?: {
125936
+ docs: string;
125937
+ schema: string;
125938
+ };
125939
+ issues?: {
125940
+ message: string;
125941
+ path?: (string | number)[];
125942
+ schema?: string;
125943
+ }[];
125944
+ retryable?: boolean;
125945
+ context?: unknown;
125946
+ };
125947
+ };
125948
+ };
125949
+ };
125950
+ };
125951
+ putTransactionsAttachmentsUploadsByUploadRef: {
125952
+ parameters: {
125953
+ query?: never;
125954
+ header?: never;
125955
+ path: {
125956
+ uploadRef: string;
125957
+ };
125958
+ cookie?: never;
125959
+ };
125960
+ requestBody?: never;
125961
+ responses: {
125962
+ /** @description Successful response */
125963
+ 200: {
125964
+ headers: {
125965
+ [name: string]: unknown;
125966
+ };
125967
+ content: {
125968
+ "application/json": {
125969
+ /** @constant */
125970
+ status: "uploaded";
125409
125971
  };
125410
125972
  };
125411
125973
  };
@@ -126474,7 +127036,7 @@ export interface operations {
126474
127036
  matchReservationProcessorBookingRef?: string | null;
126475
127037
  matchLineTypeClassification?: string | null;
126476
127038
  }[];
126477
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
127039
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
126478
127040
  attachmentIds?: string[] | null;
126479
127041
  /** @description Expense payment and reconciliation state */
126480
127042
  payment?: {
@@ -130625,7 +131187,7 @@ export interface operations {
130625
131187
  } | null;
130626
131188
  } | null;
130627
131189
  }[];
130628
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131190
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
130629
131191
  attachmentIds?: string[] | null;
130630
131192
  recurringTemplateId?: string | null;
130631
131193
  matchBankAccountLast4?: string | null;
@@ -131167,7 +131729,7 @@ export interface operations {
131167
131729
  } | null;
131168
131730
  } | null;
131169
131731
  }[];
131170
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131732
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131171
131733
  attachmentIds?: string[] | null;
131172
131734
  recurringTemplateId?: string | null;
131173
131735
  matchBankAccountLast4?: string | null;
@@ -131614,7 +132176,7 @@ export interface operations {
131614
132176
  type?: "deposit" | "expense" | "transfer" | "payout";
131615
132177
  date?: string;
131616
132178
  currency?: string | null;
131617
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
132179
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131618
132180
  attachmentIds?: string[] | null;
131619
132181
  /** @description Expense payment and reconciliation state */
131620
132182
  payment?: {
@@ -131918,7 +132480,7 @@ export interface operations {
131918
132480
  } | null;
131919
132481
  } | null;
131920
132482
  }[];
131921
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
132483
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131922
132484
  attachmentIds?: string[] | null;
131923
132485
  recurringTemplateId?: string | null;
131924
132486
  matchBankAccountLast4?: string | null;
@@ -133580,7 +134142,7 @@ export interface operations {
133580
134142
  } | null;
133581
134143
  } | null;
133582
134144
  }[];
133583
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
134145
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
133584
134146
  attachmentIds?: string[] | null;
133585
134147
  recurringTemplateId?: string | null;
133586
134148
  matchBankAccountLast4?: string | null;