@vrplatform/api 1.3.1-stage.6159 → 1.3.1-stage.6173

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.
@@ -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[];
@@ -33214,7 +33256,23 @@ export interface operations {
33214
33256
  path?: never;
33215
33257
  cookie?: never;
33216
33258
  };
33217
- requestBody?: never;
33259
+ requestBody?: {
33260
+ content: {
33261
+ "application/json": {
33262
+ filename: string;
33263
+ contentType: string;
33264
+ fileSize: number;
33265
+ /**
33266
+ * @default userUpload
33267
+ * @enum {string}
33268
+ */
33269
+ type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33270
+ startDate?: string | null;
33271
+ endDate?: string | null;
33272
+ contactId?: string | null;
33273
+ };
33274
+ };
33275
+ };
33218
33276
  responses: {
33219
33277
  /** @description Successful response */
33220
33278
  200: {
@@ -33223,30 +33281,263 @@ export interface operations {
33223
33281
  };
33224
33282
  content: {
33225
33283
  "application/json": {
33284
+ /** Format: date-time */
33285
+ expiresAt: string;
33226
33286
  /** 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;
33287
+ fileId: string;
33288
+ uploadRef: string;
33289
+ /** Format: uri */
33290
+ uploadUrl: string;
33291
+ };
33292
+ };
33293
+ };
33294
+ /** @description Bad request */
33295
+ 400: {
33296
+ headers: {
33297
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33298
+ "Retry-After"?: number;
33299
+ [name: string]: unknown;
33300
+ };
33301
+ content: {
33302
+ "application/json": {
33303
+ code: string;
33304
+ message: string;
33305
+ links?: {
33306
+ docs: string;
33307
+ schema: string;
33308
+ };
33309
+ issues?: {
33310
+ message: string;
33311
+ path?: (string | number)[];
33312
+ schema?: string;
33313
+ }[];
33314
+ retryable?: boolean;
33315
+ context?: unknown;
33316
+ };
33317
+ };
33318
+ };
33319
+ /** @description Unauthorized */
33320
+ 401: {
33321
+ headers: {
33322
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33323
+ "Retry-After"?: number;
33324
+ [name: string]: unknown;
33325
+ };
33326
+ content: {
33327
+ "application/json": {
33328
+ code: string;
33329
+ message: string;
33330
+ links?: {
33331
+ docs: string;
33332
+ schema: string;
33333
+ };
33334
+ issues?: {
33335
+ message: string;
33336
+ path?: (string | number)[];
33337
+ schema?: string;
33338
+ }[];
33339
+ retryable?: boolean;
33340
+ context?: unknown;
33341
+ };
33342
+ };
33343
+ };
33344
+ /** @description Forbidden */
33345
+ 403: {
33346
+ headers: {
33347
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33348
+ "Retry-After"?: number;
33349
+ [name: string]: unknown;
33350
+ };
33351
+ content: {
33352
+ "application/json": {
33353
+ code: string;
33354
+ message: string;
33355
+ links?: {
33356
+ docs: string;
33357
+ schema: string;
33358
+ };
33359
+ issues?: {
33360
+ message: string;
33361
+ path?: (string | number)[];
33362
+ schema?: string;
33363
+ }[];
33364
+ retryable?: boolean;
33365
+ context?: unknown;
33366
+ };
33367
+ };
33368
+ };
33369
+ /** @description Not found */
33370
+ 404: {
33371
+ headers: {
33372
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33373
+ "Retry-After"?: number;
33374
+ [name: string]: unknown;
33375
+ };
33376
+ content: {
33377
+ "application/json": {
33378
+ code: string;
33379
+ message: string;
33380
+ links?: {
33381
+ docs: string;
33382
+ schema: string;
33383
+ };
33384
+ issues?: {
33385
+ message: string;
33386
+ path?: (string | number)[];
33387
+ schema?: string;
33388
+ }[];
33389
+ retryable?: boolean;
33390
+ context?: unknown;
33391
+ };
33392
+ };
33393
+ };
33394
+ /** @description Conflict */
33395
+ 409: {
33396
+ headers: {
33397
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33398
+ "Retry-After"?: number;
33399
+ [name: string]: unknown;
33400
+ };
33401
+ content: {
33402
+ "application/json": {
33403
+ code: string;
33404
+ message: string;
33405
+ links?: {
33406
+ docs: string;
33407
+ schema: string;
33408
+ };
33409
+ issues?: {
33410
+ message: string;
33411
+ path?: (string | number)[];
33412
+ schema?: string;
33413
+ }[];
33414
+ retryable?: boolean;
33415
+ context?: unknown;
33416
+ };
33417
+ };
33418
+ };
33419
+ /** @description Gone */
33420
+ 410: {
33421
+ headers: {
33422
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33423
+ "Retry-After"?: number;
33424
+ [name: string]: unknown;
33425
+ };
33426
+ content: {
33427
+ "application/json": {
33428
+ code: string;
33429
+ message: string;
33430
+ links?: {
33431
+ docs: string;
33432
+ schema: string;
33433
+ };
33434
+ issues?: {
33435
+ message: string;
33436
+ path?: (string | number)[];
33437
+ schema?: string;
33438
+ }[];
33439
+ retryable?: boolean;
33440
+ context?: unknown;
33441
+ };
33442
+ };
33443
+ };
33444
+ /** @description Unprocessable content */
33445
+ 422: {
33446
+ headers: {
33447
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33448
+ "Retry-After"?: number;
33449
+ [name: string]: unknown;
33450
+ };
33451
+ content: {
33452
+ "application/json": {
33453
+ code: string;
33454
+ message: string;
33455
+ links?: {
33456
+ docs: string;
33457
+ schema: string;
33458
+ };
33459
+ issues?: {
33460
+ message: string;
33461
+ path?: (string | number)[];
33462
+ schema?: string;
33463
+ }[];
33464
+ retryable?: boolean;
33465
+ context?: unknown;
33466
+ };
33467
+ };
33468
+ };
33469
+ /** @description Internal server error */
33470
+ 500: {
33471
+ headers: {
33472
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33473
+ "Retry-After"?: number;
33474
+ [name: string]: unknown;
33475
+ };
33476
+ content: {
33477
+ "application/json": {
33478
+ code: string;
33479
+ message: string;
33480
+ links?: {
33481
+ docs: string;
33482
+ schema: string;
33483
+ };
33484
+ issues?: {
33485
+ message: string;
33486
+ path?: (string | number)[];
33487
+ schema?: string;
33488
+ }[];
33489
+ retryable?: boolean;
33490
+ context?: unknown;
33491
+ };
33492
+ };
33493
+ };
33494
+ /** @description Service unavailable */
33495
+ 503: {
33496
+ headers: {
33497
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33498
+ "Retry-After"?: number;
33499
+ [name: string]: unknown;
33500
+ };
33501
+ content: {
33502
+ "application/json": {
33503
+ code: string;
33504
+ message: string;
33505
+ links?: {
33506
+ docs: string;
33507
+ schema: string;
33508
+ };
33509
+ issues?: {
33510
+ message: string;
33511
+ path?: (string | number)[];
33512
+ schema?: string;
33513
+ }[];
33514
+ retryable?: boolean;
33515
+ context?: unknown;
33516
+ };
33517
+ };
33518
+ };
33519
+ };
33520
+ };
33521
+ putFilesUploadsByUploadRef: {
33522
+ parameters: {
33523
+ query?: never;
33524
+ header?: never;
33525
+ path: {
33526
+ uploadRef: string;
33527
+ };
33528
+ cookie?: never;
33529
+ };
33530
+ requestBody?: never;
33531
+ responses: {
33532
+ /** @description Successful response */
33533
+ 200: {
33534
+ headers: {
33535
+ [name: string]: unknown;
33536
+ };
33537
+ content: {
33538
+ "application/json": {
33539
+ /** @constant */
33540
+ status: "uploaded";
33250
33541
  };
33251
33542
  };
33252
33543
  };
@@ -106150,7 +106441,7 @@ export interface operations {
106150
106441
  } | null;
106151
106442
  } | null;
106152
106443
  }[];
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. */
106444
+ /** @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
106445
  attachmentIds?: string[] | null;
106155
106446
  recurringTemplateId?: string | null;
106156
106447
  matchBankAccountLast4?: string | null;
@@ -124302,7 +124593,7 @@ export interface operations {
124302
124593
  } | null;
124303
124594
  } | null;
124304
124595
  }[];
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. */
124596
+ /** @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
124597
  attachmentIds?: string[] | null;
124307
124598
  recurringTemplateId?: string | null;
124308
124599
  matchBankAccountLast4?: string | null;
@@ -124790,7 +125081,7 @@ export interface operations {
124790
125081
  matchReservationProcessorBookingRef?: string | null;
124791
125082
  matchLineTypeClassification?: string | null;
124792
125083
  }[];
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. */
125084
+ /** @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
125085
  attachmentIds?: string[] | null;
124795
125086
  /** @description Expense payment and reconciliation state */
124796
125087
  payment?: {
@@ -124987,7 +125278,7 @@ export interface operations {
124987
125278
  } | null;
124988
125279
  } | null;
124989
125280
  }[];
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. */
125281
+ /** @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
125282
  attachmentIds?: string[] | null;
124992
125283
  recurringTemplateId?: string | null;
124993
125284
  matchBankAccountLast4?: string | null;
@@ -125382,7 +125673,17 @@ export interface operations {
125382
125673
  path?: never;
125383
125674
  cookie?: never;
125384
125675
  };
125385
- requestBody?: never;
125676
+ requestBody?: {
125677
+ content: {
125678
+ "application/json": {
125679
+ filename: string;
125680
+ contentType: string;
125681
+ fileSize: number;
125682
+ /** @default false */
125683
+ isOwnerAccessible?: boolean;
125684
+ };
125685
+ };
125686
+ };
125386
125687
  responses: {
125387
125688
  /** @description Successful response */
125388
125689
  200: {
@@ -125392,19 +125693,262 @@ export interface operations {
125392
125693
  content: {
125393
125694
  "application/json": {
125394
125695
  /** 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;
125696
+ attachmentId: string;
125697
+ /** Format: date-time */
125698
+ expiresAt: string;
125699
+ uploadRef: string;
125700
+ /** Format: uri */
125701
+ uploadUrl: string;
125702
+ };
125703
+ };
125704
+ };
125705
+ /** @description Bad request */
125706
+ 400: {
125707
+ headers: {
125708
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125709
+ "Retry-After"?: number;
125710
+ [name: string]: unknown;
125711
+ };
125712
+ content: {
125713
+ "application/json": {
125714
+ code: string;
125715
+ message: string;
125716
+ links?: {
125717
+ docs: string;
125718
+ schema: string;
125719
+ };
125720
+ issues?: {
125721
+ message: string;
125722
+ path?: (string | number)[];
125723
+ schema?: string;
125724
+ }[];
125725
+ retryable?: boolean;
125726
+ context?: unknown;
125727
+ };
125728
+ };
125729
+ };
125730
+ /** @description Unauthorized */
125731
+ 401: {
125732
+ headers: {
125733
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125734
+ "Retry-After"?: number;
125735
+ [name: string]: unknown;
125736
+ };
125737
+ content: {
125738
+ "application/json": {
125739
+ code: string;
125740
+ message: string;
125741
+ links?: {
125742
+ docs: string;
125743
+ schema: string;
125744
+ };
125745
+ issues?: {
125746
+ message: string;
125747
+ path?: (string | number)[];
125748
+ schema?: string;
125749
+ }[];
125750
+ retryable?: boolean;
125751
+ context?: unknown;
125752
+ };
125753
+ };
125754
+ };
125755
+ /** @description Forbidden */
125756
+ 403: {
125757
+ headers: {
125758
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125759
+ "Retry-After"?: number;
125760
+ [name: string]: unknown;
125761
+ };
125762
+ content: {
125763
+ "application/json": {
125764
+ code: string;
125765
+ message: string;
125766
+ links?: {
125767
+ docs: string;
125768
+ schema: string;
125769
+ };
125770
+ issues?: {
125771
+ message: string;
125772
+ path?: (string | number)[];
125773
+ schema?: string;
125774
+ }[];
125775
+ retryable?: boolean;
125776
+ context?: unknown;
125777
+ };
125778
+ };
125779
+ };
125780
+ /** @description Not found */
125781
+ 404: {
125782
+ headers: {
125783
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125784
+ "Retry-After"?: number;
125785
+ [name: string]: unknown;
125786
+ };
125787
+ content: {
125788
+ "application/json": {
125789
+ code: string;
125790
+ message: string;
125791
+ links?: {
125792
+ docs: string;
125793
+ schema: string;
125794
+ };
125795
+ issues?: {
125796
+ message: string;
125797
+ path?: (string | number)[];
125798
+ schema?: string;
125799
+ }[];
125800
+ retryable?: boolean;
125801
+ context?: unknown;
125802
+ };
125803
+ };
125804
+ };
125805
+ /** @description Conflict */
125806
+ 409: {
125807
+ headers: {
125808
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125809
+ "Retry-After"?: number;
125810
+ [name: string]: unknown;
125811
+ };
125812
+ content: {
125813
+ "application/json": {
125814
+ code: string;
125815
+ message: string;
125816
+ links?: {
125817
+ docs: string;
125818
+ schema: string;
125819
+ };
125820
+ issues?: {
125821
+ message: string;
125822
+ path?: (string | number)[];
125823
+ schema?: string;
125824
+ }[];
125825
+ retryable?: boolean;
125826
+ context?: unknown;
125827
+ };
125828
+ };
125829
+ };
125830
+ /** @description Gone */
125831
+ 410: {
125832
+ headers: {
125833
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125834
+ "Retry-After"?: number;
125835
+ [name: string]: unknown;
125836
+ };
125837
+ content: {
125838
+ "application/json": {
125839
+ code: string;
125840
+ message: string;
125841
+ links?: {
125842
+ docs: string;
125843
+ schema: string;
125844
+ };
125845
+ issues?: {
125846
+ message: string;
125847
+ path?: (string | number)[];
125848
+ schema?: string;
125849
+ }[];
125850
+ retryable?: boolean;
125851
+ context?: unknown;
125852
+ };
125853
+ };
125854
+ };
125855
+ /** @description Unprocessable content */
125856
+ 422: {
125857
+ headers: {
125858
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125859
+ "Retry-After"?: number;
125860
+ [name: string]: unknown;
125861
+ };
125862
+ content: {
125863
+ "application/json": {
125864
+ code: string;
125865
+ message: string;
125866
+ links?: {
125867
+ docs: string;
125868
+ schema: string;
125869
+ };
125870
+ issues?: {
125871
+ message: string;
125872
+ path?: (string | number)[];
125873
+ schema?: string;
125874
+ }[];
125875
+ retryable?: boolean;
125876
+ context?: unknown;
125877
+ };
125878
+ };
125879
+ };
125880
+ /** @description Internal server error */
125881
+ 500: {
125882
+ headers: {
125883
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125884
+ "Retry-After"?: number;
125885
+ [name: string]: unknown;
125886
+ };
125887
+ content: {
125888
+ "application/json": {
125889
+ code: string;
125890
+ message: string;
125891
+ links?: {
125892
+ docs: string;
125893
+ schema: string;
125894
+ };
125895
+ issues?: {
125896
+ message: string;
125897
+ path?: (string | number)[];
125898
+ schema?: string;
125899
+ }[];
125900
+ retryable?: boolean;
125901
+ context?: unknown;
125902
+ };
125903
+ };
125904
+ };
125905
+ /** @description Service unavailable */
125906
+ 503: {
125907
+ headers: {
125908
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125909
+ "Retry-After"?: number;
125910
+ [name: string]: unknown;
125911
+ };
125912
+ content: {
125913
+ "application/json": {
125914
+ code: string;
125915
+ message: string;
125916
+ links?: {
125917
+ docs: string;
125918
+ schema: string;
125919
+ };
125920
+ issues?: {
125921
+ message: string;
125922
+ path?: (string | number)[];
125923
+ schema?: string;
125924
+ }[];
125925
+ retryable?: boolean;
125926
+ context?: unknown;
125927
+ };
125928
+ };
125929
+ };
125930
+ };
125931
+ };
125932
+ putTransactionsAttachmentsUploadsByUploadRef: {
125933
+ parameters: {
125934
+ query?: never;
125935
+ header?: never;
125936
+ path: {
125937
+ uploadRef: string;
125938
+ };
125939
+ cookie?: never;
125940
+ };
125941
+ requestBody?: never;
125942
+ responses: {
125943
+ /** @description Successful response */
125944
+ 200: {
125945
+ headers: {
125946
+ [name: string]: unknown;
125947
+ };
125948
+ content: {
125949
+ "application/json": {
125950
+ /** @constant */
125951
+ status: "uploaded";
125408
125952
  };
125409
125953
  };
125410
125954
  };
@@ -126473,7 +127017,7 @@ export interface operations {
126473
127017
  matchReservationProcessorBookingRef?: string | null;
126474
127018
  matchLineTypeClassification?: string | null;
126475
127019
  }[];
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. */
127020
+ /** @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
127021
  attachmentIds?: string[] | null;
126478
127022
  /** @description Expense payment and reconciliation state */
126479
127023
  payment?: {
@@ -130624,7 +131168,7 @@ export interface operations {
130624
131168
  } | null;
130625
131169
  } | null;
130626
131170
  }[];
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. */
131171
+ /** @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
131172
  attachmentIds?: string[] | null;
130629
131173
  recurringTemplateId?: string | null;
130630
131174
  matchBankAccountLast4?: string | null;
@@ -131166,7 +131710,7 @@ export interface operations {
131166
131710
  } | null;
131167
131711
  } | null;
131168
131712
  }[];
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. */
131713
+ /** @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
131714
  attachmentIds?: string[] | null;
131171
131715
  recurringTemplateId?: string | null;
131172
131716
  matchBankAccountLast4?: string | null;
@@ -131613,7 +132157,7 @@ export interface operations {
131613
132157
  type?: "deposit" | "expense" | "transfer" | "payout";
131614
132158
  date?: string;
131615
132159
  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. */
132160
+ /** @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
132161
  attachmentIds?: string[] | null;
131618
132162
  /** @description Expense payment and reconciliation state */
131619
132163
  payment?: {
@@ -131917,7 +132461,7 @@ export interface operations {
131917
132461
  } | null;
131918
132462
  } | null;
131919
132463
  }[];
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. */
132464
+ /** @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
132465
  attachmentIds?: string[] | null;
131922
132466
  recurringTemplateId?: string | null;
131923
132467
  matchBankAccountLast4?: string | null;
@@ -133579,7 +134123,7 @@ export interface operations {
133579
134123
  } | null;
133580
134124
  } | null;
133581
134125
  }[];
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. */
134126
+ /** @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
134127
  attachmentIds?: string[] | null;
133584
134128
  recurringTemplateId?: string | null;
133585
134129
  matchBankAccountLast4?: string | null;