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