@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.
@@ -1060,7 +1060,7 @@ export interface paths {
1060
1060
  get?: never;
1061
1061
  put?: never;
1062
1062
  /**
1063
- * @description Create a size-bound CSV upload reference and raw PUT URL for this Connection
1063
+ * @description Create a 24-hour, size-bound CSV upload reference and regional raw PUT URL for this Connection for a file up to 100,000,000 bytes. PUT the original file with Content-Type text/csv (optional parameters are accepted) and Content-Length. Completed retries are idempotent.
1064
1064
  *
1065
1065
  * Required scope: integrations:import
1066
1066
  */
@@ -1080,7 +1080,7 @@ export interface paths {
1080
1080
  };
1081
1081
  get?: never;
1082
1082
  /**
1083
- * @description Stream the complete CSV body into regional storage using an issued upload reference
1083
+ * @description Stream the complete raw CSV body into regional storage using an issued upload reference. Content-Type must be text/csv (optional parameters are accepted), Content-Length is required, and the stored byte size must exactly match the create-upload request. A completed retry does not overwrite the stored object.
1084
1084
  *
1085
1085
  * Required scope: integrations:import
1086
1086
  */
@@ -1455,7 +1455,7 @@ export interface paths {
1455
1455
  get: operations["getFiles"];
1456
1456
  put?: never;
1457
1457
  /**
1458
- * @description Upload a GL user file as multipart/form-data. Fields: file, optional filename, optional type (userUpload or historicalData or historicalOwnerStatement or ownerStatementExample or listingOwnerAssignment or listingFeeAssignment), optional startDate, optional endDate, and optional contactId. Type defaults to userUpload. The API derives team and user context from auth.
1458
+ * @description Create a size-bound upload reference and authenticated regional raw PUT URL for a GL user file up to 100,000,000 bytes. Send filename, contentType, fileSize, and optional type (userUpload or historicalData or historicalOwnerStatement or ownerStatementExample or listingOwnerAssignment or listingFeeAssignment), optional startDate, optional endDate, and optional contactId. Type defaults to userUpload. PUT the unmodified file body to uploadUrl with the declared Content-Type and Content-Length, then use fileId for the created file. Retrying the same completed upload is idempotent.
1459
1459
  *
1460
1460
  * Required scope: files:write
1461
1461
  */
@@ -1466,6 +1466,27 @@ export interface paths {
1466
1466
  patch?: never;
1467
1467
  trace?: never;
1468
1468
  };
1469
+ "/files/uploads/{uploadRef}": {
1470
+ parameters: {
1471
+ query?: never;
1472
+ header?: never;
1473
+ path?: never;
1474
+ cookie?: never;
1475
+ };
1476
+ get?: never;
1477
+ /**
1478
+ * @description Stream the complete raw file body into regional team storage using an issued upload reference. Content-Type and the stored byte size must exactly match the create-upload request, and Content-Length is required. The upload reference is single-file, team-scoped, valid for 24 hours, and safe to retry without overwriting a completed object.
1479
+ *
1480
+ * Required scope: files:write
1481
+ */
1482
+ put: operations["putFilesUploadsByUploadRef"];
1483
+ post?: never;
1484
+ delete?: never;
1485
+ options?: never;
1486
+ head?: never;
1487
+ patch?: never;
1488
+ trace?: never;
1489
+ };
1469
1490
  "/files/{id}": {
1470
1491
  parameters: {
1471
1492
  query?: never;
@@ -1482,7 +1503,7 @@ export interface paths {
1482
1503
  put: operations["putFilesById"];
1483
1504
  post?: never;
1484
1505
  /**
1485
- * @description Delete GL file metadata and its TEAM_STORAGE object.
1506
+ * @description Delete a GL file and its TEAM_STORAGE object. A still-valid upload reference cannot recreate it.
1486
1507
  *
1487
1508
  * Required scope: files:delete
1488
1509
  */
@@ -5805,7 +5826,7 @@ export interface paths {
5805
5826
  get: operations["getTransactions"];
5806
5827
  put?: never;
5807
5828
  /**
5808
- * @description Create a transaction. Journal entries post inline per line; creation into a books-closed month or a statement-locked listing period is rejected. The transaction uniqueRef and every line uniqueRef must be unique; duplicate line references are rejected before anything is inserted. Line party defaults and validity depend on transaction type, owner context, account assignment, and account category. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, first upload each file with POST /transactions/attachments, then pass the returned ids in attachmentIds. Attachments are only supported for expense transactions.
5829
+ * @description Create a transaction. Journal entries post inline per line; creation into a books-closed month or a statement-locked listing period is rejected. The transaction uniqueRef and every line uniqueRef must be unique; duplicate line references are rejected before anything is inserted. Line party defaults and validity depend on transaction type, owner context, account assignment, and account category. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, create an upload with POST /transactions/attachments, PUT the raw file to uploadUrl, then pass the returned attachmentId in attachmentIds. Attachments are only supported for expense transactions.
5809
5830
  *
5810
5831
  * Required scope: transactions:write
5811
5832
  */
@@ -5826,7 +5847,7 @@ export interface paths {
5826
5847
  get?: never;
5827
5848
  put?: never;
5828
5849
  /**
5829
- * @description Upload an expense attachment as multipart/form-data. The returned staged attachment id can be passed in attachmentIds when creating or updating an expense transaction.
5850
+ * @description Create a size-bound upload reference and authenticated regional raw PUT URL for an expense attachment up to 100,000,000 bytes. PUT the unmodified file body to uploadUrl with the declared Content-Type and Content-Length. After the PUT succeeds, pass the attachmentId returned here in attachmentIds when creating or updating an expense transaction. Retrying the same completed upload is idempotent.
5830
5851
  *
5831
5852
  * Required scope: transactions:write
5832
5853
  */
@@ -5837,6 +5858,27 @@ export interface paths {
5837
5858
  patch?: never;
5838
5859
  trace?: never;
5839
5860
  };
5861
+ "/transactions/attachments/uploads/{uploadRef}": {
5862
+ parameters: {
5863
+ query?: never;
5864
+ header?: never;
5865
+ path?: never;
5866
+ cookie?: never;
5867
+ };
5868
+ get?: never;
5869
+ /**
5870
+ * @description Stream the complete raw attachment body into regional storage using an issued upload reference. Content-Type and the stored byte size must exactly match the create-upload request, and Content-Length is required. The upload reference is single-file, team-scoped, valid for 24 hours, and safe to retry without overwriting a completed object.
5871
+ *
5872
+ * Required scope: transactions:write
5873
+ */
5874
+ put: operations["putTransactionsAttachmentsUploadsByUploadRef"];
5875
+ post?: never;
5876
+ delete?: never;
5877
+ options?: never;
5878
+ head?: never;
5879
+ patch?: never;
5880
+ trace?: never;
5881
+ };
5840
5882
  "/transactions/attachments/{id}": {
5841
5883
  parameters: {
5842
5884
  query?: never;
@@ -5853,7 +5895,7 @@ export interface paths {
5853
5895
  put: operations["putTransactionsAttachmentsById"];
5854
5896
  post?: never;
5855
5897
  /**
5856
- * @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions.
5898
+ * @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions. A still-valid upload reference cannot recreate it.
5857
5899
  *
5858
5900
  * Required scope: transactions:delete
5859
5901
  */
@@ -10037,7 +10079,7 @@ export interface operations {
10037
10079
  } | null;
10038
10080
  } | null;
10039
10081
  }[];
10040
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
10082
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
10041
10083
  attachmentIds?: string[] | null;
10042
10084
  recurringTemplateId?: string | null;
10043
10085
  matchBankAccountLast4?: string | null;
@@ -16743,7 +16785,7 @@ export interface operations {
16743
16785
  matchReservationProcessorBookingRef?: string | null;
16744
16786
  matchLineTypeClassification?: string | null;
16745
16787
  }[];
16746
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
16788
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
16747
16789
  attachmentIds?: string[] | null;
16748
16790
  payment?: {
16749
16791
  bankRecordIds: string[];
@@ -17752,7 +17794,7 @@ export interface operations {
17752
17794
  matchReservationProcessorBookingRef?: string | null;
17753
17795
  matchLineTypeClassification?: string | null;
17754
17796
  }[];
17755
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
17797
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
17756
17798
  attachmentIds?: string[] | null;
17757
17799
  payment?: {
17758
17800
  bankRecordIds: string[];
@@ -19414,7 +19456,7 @@ export interface operations {
19414
19456
  matchReservationProcessorBookingRef?: string | null;
19415
19457
  matchLineTypeClassification?: string | null;
19416
19458
  }[];
19417
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
19459
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
19418
19460
  attachmentIds?: string[] | null;
19419
19461
  payment?: {
19420
19462
  bankRecordIds: string[];
@@ -20769,7 +20811,7 @@ export interface operations {
20769
20811
  matchReservationProcessorBookingRef?: string | null;
20770
20812
  matchLineTypeClassification?: string | null;
20771
20813
  }[];
20772
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
20814
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
20773
20815
  attachmentIds?: string[] | null;
20774
20816
  payment?: {
20775
20817
  bankRecordIds: string[];
@@ -33215,7 +33257,23 @@ export interface operations {
33215
33257
  path?: never;
33216
33258
  cookie?: never;
33217
33259
  };
33218
- requestBody?: never;
33260
+ requestBody?: {
33261
+ content: {
33262
+ "application/json": {
33263
+ filename: string;
33264
+ contentType: string;
33265
+ fileSize: number;
33266
+ /**
33267
+ * @default userUpload
33268
+ * @enum {string}
33269
+ */
33270
+ type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33271
+ startDate?: string | null;
33272
+ endDate?: string | null;
33273
+ contactId?: string | null;
33274
+ };
33275
+ };
33276
+ };
33219
33277
  responses: {
33220
33278
  /** @description Successful response */
33221
33279
  200: {
@@ -33224,30 +33282,263 @@ export interface operations {
33224
33282
  };
33225
33283
  content: {
33226
33284
  "application/json": {
33285
+ /** Format: date-time */
33286
+ expiresAt: string;
33227
33287
  /** Format: uuid */
33228
- id: string;
33229
- filename: string;
33230
- /** @enum {string} */
33231
- type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33232
- startDate: string | null;
33233
- endDate: string | null;
33234
- /**
33235
- * Format: date-time
33236
- * @description Timestamp string with date, time, milliseconds, and timezone.
33237
- * @example 2024-01-15T12:30:00.000+00:00
33238
- */
33239
- createdAt: string;
33240
- contact: {
33241
- /** Format: uuid */
33242
- id: string;
33243
- name?: string | null;
33244
- firstName?: string | null;
33245
- uniqueRef?: string | null;
33246
- shortRef?: string | null;
33247
- email?: string | null;
33248
- /** @enum {string} */
33249
- type: "owner" | "vendor";
33250
- } | null;
33288
+ fileId: string;
33289
+ uploadRef: string;
33290
+ /** Format: uri */
33291
+ uploadUrl: string;
33292
+ };
33293
+ };
33294
+ };
33295
+ /** @description Bad request */
33296
+ 400: {
33297
+ headers: {
33298
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33299
+ "Retry-After"?: number;
33300
+ [name: string]: unknown;
33301
+ };
33302
+ content: {
33303
+ "application/json": {
33304
+ code: string;
33305
+ message: string;
33306
+ links?: {
33307
+ docs: string;
33308
+ schema: string;
33309
+ };
33310
+ issues?: {
33311
+ message: string;
33312
+ path?: (string | number)[];
33313
+ schema?: string;
33314
+ }[];
33315
+ retryable?: boolean;
33316
+ context?: unknown;
33317
+ };
33318
+ };
33319
+ };
33320
+ /** @description Unauthorized */
33321
+ 401: {
33322
+ headers: {
33323
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33324
+ "Retry-After"?: number;
33325
+ [name: string]: unknown;
33326
+ };
33327
+ content: {
33328
+ "application/json": {
33329
+ code: string;
33330
+ message: string;
33331
+ links?: {
33332
+ docs: string;
33333
+ schema: string;
33334
+ };
33335
+ issues?: {
33336
+ message: string;
33337
+ path?: (string | number)[];
33338
+ schema?: string;
33339
+ }[];
33340
+ retryable?: boolean;
33341
+ context?: unknown;
33342
+ };
33343
+ };
33344
+ };
33345
+ /** @description Forbidden */
33346
+ 403: {
33347
+ headers: {
33348
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33349
+ "Retry-After"?: number;
33350
+ [name: string]: unknown;
33351
+ };
33352
+ content: {
33353
+ "application/json": {
33354
+ code: string;
33355
+ message: string;
33356
+ links?: {
33357
+ docs: string;
33358
+ schema: string;
33359
+ };
33360
+ issues?: {
33361
+ message: string;
33362
+ path?: (string | number)[];
33363
+ schema?: string;
33364
+ }[];
33365
+ retryable?: boolean;
33366
+ context?: unknown;
33367
+ };
33368
+ };
33369
+ };
33370
+ /** @description Not found */
33371
+ 404: {
33372
+ headers: {
33373
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33374
+ "Retry-After"?: number;
33375
+ [name: string]: unknown;
33376
+ };
33377
+ content: {
33378
+ "application/json": {
33379
+ code: string;
33380
+ message: string;
33381
+ links?: {
33382
+ docs: string;
33383
+ schema: string;
33384
+ };
33385
+ issues?: {
33386
+ message: string;
33387
+ path?: (string | number)[];
33388
+ schema?: string;
33389
+ }[];
33390
+ retryable?: boolean;
33391
+ context?: unknown;
33392
+ };
33393
+ };
33394
+ };
33395
+ /** @description Conflict */
33396
+ 409: {
33397
+ headers: {
33398
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33399
+ "Retry-After"?: number;
33400
+ [name: string]: unknown;
33401
+ };
33402
+ content: {
33403
+ "application/json": {
33404
+ code: string;
33405
+ message: string;
33406
+ links?: {
33407
+ docs: string;
33408
+ schema: string;
33409
+ };
33410
+ issues?: {
33411
+ message: string;
33412
+ path?: (string | number)[];
33413
+ schema?: string;
33414
+ }[];
33415
+ retryable?: boolean;
33416
+ context?: unknown;
33417
+ };
33418
+ };
33419
+ };
33420
+ /** @description Gone */
33421
+ 410: {
33422
+ headers: {
33423
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33424
+ "Retry-After"?: number;
33425
+ [name: string]: unknown;
33426
+ };
33427
+ content: {
33428
+ "application/json": {
33429
+ code: string;
33430
+ message: string;
33431
+ links?: {
33432
+ docs: string;
33433
+ schema: string;
33434
+ };
33435
+ issues?: {
33436
+ message: string;
33437
+ path?: (string | number)[];
33438
+ schema?: string;
33439
+ }[];
33440
+ retryable?: boolean;
33441
+ context?: unknown;
33442
+ };
33443
+ };
33444
+ };
33445
+ /** @description Unprocessable content */
33446
+ 422: {
33447
+ headers: {
33448
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33449
+ "Retry-After"?: number;
33450
+ [name: string]: unknown;
33451
+ };
33452
+ content: {
33453
+ "application/json": {
33454
+ code: string;
33455
+ message: string;
33456
+ links?: {
33457
+ docs: string;
33458
+ schema: string;
33459
+ };
33460
+ issues?: {
33461
+ message: string;
33462
+ path?: (string | number)[];
33463
+ schema?: string;
33464
+ }[];
33465
+ retryable?: boolean;
33466
+ context?: unknown;
33467
+ };
33468
+ };
33469
+ };
33470
+ /** @description Internal server error */
33471
+ 500: {
33472
+ headers: {
33473
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33474
+ "Retry-After"?: number;
33475
+ [name: string]: unknown;
33476
+ };
33477
+ content: {
33478
+ "application/json": {
33479
+ code: string;
33480
+ message: string;
33481
+ links?: {
33482
+ docs: string;
33483
+ schema: string;
33484
+ };
33485
+ issues?: {
33486
+ message: string;
33487
+ path?: (string | number)[];
33488
+ schema?: string;
33489
+ }[];
33490
+ retryable?: boolean;
33491
+ context?: unknown;
33492
+ };
33493
+ };
33494
+ };
33495
+ /** @description Service unavailable */
33496
+ 503: {
33497
+ headers: {
33498
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33499
+ "Retry-After"?: number;
33500
+ [name: string]: unknown;
33501
+ };
33502
+ content: {
33503
+ "application/json": {
33504
+ code: string;
33505
+ message: string;
33506
+ links?: {
33507
+ docs: string;
33508
+ schema: string;
33509
+ };
33510
+ issues?: {
33511
+ message: string;
33512
+ path?: (string | number)[];
33513
+ schema?: string;
33514
+ }[];
33515
+ retryable?: boolean;
33516
+ context?: unknown;
33517
+ };
33518
+ };
33519
+ };
33520
+ };
33521
+ };
33522
+ putFilesUploadsByUploadRef: {
33523
+ parameters: {
33524
+ query?: never;
33525
+ header?: never;
33526
+ path: {
33527
+ uploadRef: string;
33528
+ };
33529
+ cookie?: never;
33530
+ };
33531
+ requestBody?: never;
33532
+ responses: {
33533
+ /** @description Successful response */
33534
+ 200: {
33535
+ headers: {
33536
+ [name: string]: unknown;
33537
+ };
33538
+ content: {
33539
+ "application/json": {
33540
+ /** @constant */
33541
+ status: "uploaded";
33251
33542
  };
33252
33543
  };
33253
33544
  };
@@ -106151,7 +106442,7 @@ export interface operations {
106151
106442
  } | null;
106152
106443
  } | null;
106153
106444
  }[];
106154
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
106445
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
106155
106446
  attachmentIds?: string[] | null;
106156
106447
  recurringTemplateId?: string | null;
106157
106448
  matchBankAccountLast4?: string | null;
@@ -124303,7 +124594,7 @@ export interface operations {
124303
124594
  } | null;
124304
124595
  } | null;
124305
124596
  }[];
124306
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124597
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124307
124598
  attachmentIds?: string[] | null;
124308
124599
  recurringTemplateId?: string | null;
124309
124600
  matchBankAccountLast4?: string | null;
@@ -124791,7 +125082,7 @@ export interface operations {
124791
125082
  matchReservationProcessorBookingRef?: string | null;
124792
125083
  matchLineTypeClassification?: string | null;
124793
125084
  }[];
124794
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
125085
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124795
125086
  attachmentIds?: string[] | null;
124796
125087
  /** @description Expense payment and reconciliation state */
124797
125088
  payment?: {
@@ -124988,7 +125279,7 @@ export interface operations {
124988
125279
  } | null;
124989
125280
  } | null;
124990
125281
  }[];
124991
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
125282
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
124992
125283
  attachmentIds?: string[] | null;
124993
125284
  recurringTemplateId?: string | null;
124994
125285
  matchBankAccountLast4?: string | null;
@@ -125383,7 +125674,17 @@ export interface operations {
125383
125674
  path?: never;
125384
125675
  cookie?: never;
125385
125676
  };
125386
- requestBody?: never;
125677
+ requestBody?: {
125678
+ content: {
125679
+ "application/json": {
125680
+ filename: string;
125681
+ contentType: string;
125682
+ fileSize: number;
125683
+ /** @default false */
125684
+ isOwnerAccessible?: boolean;
125685
+ };
125686
+ };
125687
+ };
125387
125688
  responses: {
125388
125689
  /** @description Successful response */
125389
125690
  200: {
@@ -125393,19 +125694,262 @@ export interface operations {
125393
125694
  content: {
125394
125695
  "application/json": {
125395
125696
  /** Format: uuid */
125396
- id: string;
125397
- transactionId: string | null;
125398
- /**
125399
- * Format: date-time
125400
- * @description Timestamp string with date, time, milliseconds, and timezone.
125401
- * @example 2024-01-15T12:30:00.000+00:00
125402
- */
125403
- createdAt: string;
125404
- filename: string;
125405
- extension?: string | null;
125406
- contentType: string;
125407
- byteSize: number;
125408
- isOwnerAccessible: boolean;
125697
+ attachmentId: string;
125698
+ /** Format: date-time */
125699
+ expiresAt: string;
125700
+ uploadRef: string;
125701
+ /** Format: uri */
125702
+ uploadUrl: string;
125703
+ };
125704
+ };
125705
+ };
125706
+ /** @description Bad request */
125707
+ 400: {
125708
+ headers: {
125709
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125710
+ "Retry-After"?: number;
125711
+ [name: string]: unknown;
125712
+ };
125713
+ content: {
125714
+ "application/json": {
125715
+ code: string;
125716
+ message: string;
125717
+ links?: {
125718
+ docs: string;
125719
+ schema: string;
125720
+ };
125721
+ issues?: {
125722
+ message: string;
125723
+ path?: (string | number)[];
125724
+ schema?: string;
125725
+ }[];
125726
+ retryable?: boolean;
125727
+ context?: unknown;
125728
+ };
125729
+ };
125730
+ };
125731
+ /** @description Unauthorized */
125732
+ 401: {
125733
+ headers: {
125734
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125735
+ "Retry-After"?: number;
125736
+ [name: string]: unknown;
125737
+ };
125738
+ content: {
125739
+ "application/json": {
125740
+ code: string;
125741
+ message: string;
125742
+ links?: {
125743
+ docs: string;
125744
+ schema: string;
125745
+ };
125746
+ issues?: {
125747
+ message: string;
125748
+ path?: (string | number)[];
125749
+ schema?: string;
125750
+ }[];
125751
+ retryable?: boolean;
125752
+ context?: unknown;
125753
+ };
125754
+ };
125755
+ };
125756
+ /** @description Forbidden */
125757
+ 403: {
125758
+ headers: {
125759
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125760
+ "Retry-After"?: number;
125761
+ [name: string]: unknown;
125762
+ };
125763
+ content: {
125764
+ "application/json": {
125765
+ code: string;
125766
+ message: string;
125767
+ links?: {
125768
+ docs: string;
125769
+ schema: string;
125770
+ };
125771
+ issues?: {
125772
+ message: string;
125773
+ path?: (string | number)[];
125774
+ schema?: string;
125775
+ }[];
125776
+ retryable?: boolean;
125777
+ context?: unknown;
125778
+ };
125779
+ };
125780
+ };
125781
+ /** @description Not found */
125782
+ 404: {
125783
+ headers: {
125784
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125785
+ "Retry-After"?: number;
125786
+ [name: string]: unknown;
125787
+ };
125788
+ content: {
125789
+ "application/json": {
125790
+ code: string;
125791
+ message: string;
125792
+ links?: {
125793
+ docs: string;
125794
+ schema: string;
125795
+ };
125796
+ issues?: {
125797
+ message: string;
125798
+ path?: (string | number)[];
125799
+ schema?: string;
125800
+ }[];
125801
+ retryable?: boolean;
125802
+ context?: unknown;
125803
+ };
125804
+ };
125805
+ };
125806
+ /** @description Conflict */
125807
+ 409: {
125808
+ headers: {
125809
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125810
+ "Retry-After"?: number;
125811
+ [name: string]: unknown;
125812
+ };
125813
+ content: {
125814
+ "application/json": {
125815
+ code: string;
125816
+ message: string;
125817
+ links?: {
125818
+ docs: string;
125819
+ schema: string;
125820
+ };
125821
+ issues?: {
125822
+ message: string;
125823
+ path?: (string | number)[];
125824
+ schema?: string;
125825
+ }[];
125826
+ retryable?: boolean;
125827
+ context?: unknown;
125828
+ };
125829
+ };
125830
+ };
125831
+ /** @description Gone */
125832
+ 410: {
125833
+ headers: {
125834
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125835
+ "Retry-After"?: number;
125836
+ [name: string]: unknown;
125837
+ };
125838
+ content: {
125839
+ "application/json": {
125840
+ code: string;
125841
+ message: string;
125842
+ links?: {
125843
+ docs: string;
125844
+ schema: string;
125845
+ };
125846
+ issues?: {
125847
+ message: string;
125848
+ path?: (string | number)[];
125849
+ schema?: string;
125850
+ }[];
125851
+ retryable?: boolean;
125852
+ context?: unknown;
125853
+ };
125854
+ };
125855
+ };
125856
+ /** @description Unprocessable content */
125857
+ 422: {
125858
+ headers: {
125859
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125860
+ "Retry-After"?: number;
125861
+ [name: string]: unknown;
125862
+ };
125863
+ content: {
125864
+ "application/json": {
125865
+ code: string;
125866
+ message: string;
125867
+ links?: {
125868
+ docs: string;
125869
+ schema: string;
125870
+ };
125871
+ issues?: {
125872
+ message: string;
125873
+ path?: (string | number)[];
125874
+ schema?: string;
125875
+ }[];
125876
+ retryable?: boolean;
125877
+ context?: unknown;
125878
+ };
125879
+ };
125880
+ };
125881
+ /** @description Internal server error */
125882
+ 500: {
125883
+ headers: {
125884
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125885
+ "Retry-After"?: number;
125886
+ [name: string]: unknown;
125887
+ };
125888
+ content: {
125889
+ "application/json": {
125890
+ code: string;
125891
+ message: string;
125892
+ links?: {
125893
+ docs: string;
125894
+ schema: string;
125895
+ };
125896
+ issues?: {
125897
+ message: string;
125898
+ path?: (string | number)[];
125899
+ schema?: string;
125900
+ }[];
125901
+ retryable?: boolean;
125902
+ context?: unknown;
125903
+ };
125904
+ };
125905
+ };
125906
+ /** @description Service unavailable */
125907
+ 503: {
125908
+ headers: {
125909
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
125910
+ "Retry-After"?: number;
125911
+ [name: string]: unknown;
125912
+ };
125913
+ content: {
125914
+ "application/json": {
125915
+ code: string;
125916
+ message: string;
125917
+ links?: {
125918
+ docs: string;
125919
+ schema: string;
125920
+ };
125921
+ issues?: {
125922
+ message: string;
125923
+ path?: (string | number)[];
125924
+ schema?: string;
125925
+ }[];
125926
+ retryable?: boolean;
125927
+ context?: unknown;
125928
+ };
125929
+ };
125930
+ };
125931
+ };
125932
+ };
125933
+ putTransactionsAttachmentsUploadsByUploadRef: {
125934
+ parameters: {
125935
+ query?: never;
125936
+ header?: never;
125937
+ path: {
125938
+ uploadRef: string;
125939
+ };
125940
+ cookie?: never;
125941
+ };
125942
+ requestBody?: never;
125943
+ responses: {
125944
+ /** @description Successful response */
125945
+ 200: {
125946
+ headers: {
125947
+ [name: string]: unknown;
125948
+ };
125949
+ content: {
125950
+ "application/json": {
125951
+ /** @constant */
125952
+ status: "uploaded";
125409
125953
  };
125410
125954
  };
125411
125955
  };
@@ -126474,7 +127018,7 @@ export interface operations {
126474
127018
  matchReservationProcessorBookingRef?: string | null;
126475
127019
  matchLineTypeClassification?: string | null;
126476
127020
  }[];
126477
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
127021
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
126478
127022
  attachmentIds?: string[] | null;
126479
127023
  /** @description Expense payment and reconciliation state */
126480
127024
  payment?: {
@@ -130625,7 +131169,7 @@ export interface operations {
130625
131169
  } | null;
130626
131170
  } | null;
130627
131171
  }[];
130628
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131172
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
130629
131173
  attachmentIds?: string[] | null;
130630
131174
  recurringTemplateId?: string | null;
130631
131175
  matchBankAccountLast4?: string | null;
@@ -131167,7 +131711,7 @@ export interface operations {
131167
131711
  } | null;
131168
131712
  } | null;
131169
131713
  }[];
131170
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131714
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131171
131715
  attachmentIds?: string[] | null;
131172
131716
  recurringTemplateId?: string | null;
131173
131717
  matchBankAccountLast4?: string | null;
@@ -131614,7 +132158,7 @@ export interface operations {
131614
132158
  type?: "deposit" | "expense" | "transfer" | "payout";
131615
132159
  date?: string;
131616
132160
  currency?: string | null;
131617
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
132161
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131618
132162
  attachmentIds?: string[] | null;
131619
132163
  /** @description Expense payment and reconciliation state */
131620
132164
  payment?: {
@@ -131918,7 +132462,7 @@ export interface operations {
131918
132462
  } | null;
131919
132463
  } | null;
131920
132464
  }[];
131921
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
132465
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131922
132466
  attachmentIds?: string[] | null;
131923
132467
  recurringTemplateId?: string | null;
131924
132468
  matchBankAccountLast4?: string | null;
@@ -133580,7 +134124,7 @@ export interface operations {
133580
134124
  } | null;
133581
134125
  } | null;
133582
134126
  }[];
133583
- /** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
134127
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
133584
134128
  attachmentIds?: string[] | null;
133585
134129
  recurringTemplateId?: string | null;
133586
134130
  matchBankAccountLast4?: string | null;