@vrplatform/api 1.3.1-6238 → 1.3.1-6251

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.
@@ -818,7 +818,7 @@ export interface paths {
818
818
  get?: never;
819
819
  put?: never;
820
820
  /**
821
- * @description Connect an app and create the connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. The legacy production /callback path is normalized to /callback/. Provider integrations must return stable account identity. The built-in API app receives server-generated connection identity. PMS connections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp connections activate and run chart-of-accounts synchronization when autoExtract is enabled. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
821
+ * @description Connect an app and create the connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. Provider integrations must return stable account identity. The built-in API app receives server-generated connection identity. PMS connections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp connections activate and run chart-of-accounts synchronization when autoExtract is enabled. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
822
822
  *
823
823
  * Required scope: integrations:write
824
824
  */
@@ -860,7 +860,7 @@ export interface paths {
860
860
  get?: never;
861
861
  put?: never;
862
862
  /**
863
- * @description Get a redirect URL to connect an app through OAuth2.0. Defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Normalizes the legacy production /callback path to /callback/.
863
+ * @description Get a redirect URL to connect an app through OAuth2.0. Defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Normalizes legacy production /callback to /callback/ and legacy staging /callback to /connections/oauth-callback.
864
864
  *
865
865
  * Required scope: integrations:write
866
866
  */
@@ -975,7 +975,7 @@ export interface paths {
975
975
  get?: never;
976
976
  put?: never;
977
977
  /**
978
- * @description Reconnect an existing app connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. The legacy production /callback path is normalized to /callback/. The built-in API app preserves its existing server-generated identity. Provider identities owned by another connection are rejected before mutation. PMS reconnections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp reconnections run chart-of-accounts synchronization unless that flow is explicitly inactive. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
978
+ * @description Reconnect an existing app connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. The built-in API app preserves its existing server-generated identity. Provider identities owned by another connection are rejected before mutation. PMS reconnections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp reconnections run chart-of-accounts synchronization unless that flow is explicitly inactive. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
979
979
  *
980
980
  * Required scope: integrations:write
981
981
  */
@@ -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
  */
@@ -1384,6 +1384,27 @@ export interface paths {
1384
1384
  patch?: never;
1385
1385
  trace?: never;
1386
1386
  };
1387
+ "/email-templates/test": {
1388
+ parameters: {
1389
+ query?: never;
1390
+ header?: never;
1391
+ path?: never;
1392
+ cookie?: never;
1393
+ };
1394
+ get?: never;
1395
+ put?: never;
1396
+ /**
1397
+ * @description Send unsaved email-template content to the authenticated user's email address through the API Trigger project. The recipient cannot be supplied by the caller.
1398
+ *
1399
+ * Required scope: team-settings:write
1400
+ */
1401
+ post: operations["sendTestEmail"];
1402
+ delete?: never;
1403
+ options?: never;
1404
+ head?: never;
1405
+ patch?: never;
1406
+ trace?: never;
1407
+ };
1387
1408
  "/email-templates/{type}": {
1388
1409
  parameters: {
1389
1410
  query?: never;
@@ -1454,7 +1475,7 @@ export interface paths {
1454
1475
  get: operations["getFiles"];
1455
1476
  put?: never;
1456
1477
  /**
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.
1478
+ * @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
1479
  *
1459
1480
  * Required scope: files:write
1460
1481
  */
@@ -1465,6 +1486,27 @@ export interface paths {
1465
1486
  patch?: never;
1466
1487
  trace?: never;
1467
1488
  };
1489
+ "/files/uploads/{uploadRef}": {
1490
+ parameters: {
1491
+ query?: never;
1492
+ header?: never;
1493
+ path?: never;
1494
+ cookie?: never;
1495
+ };
1496
+ get?: never;
1497
+ /**
1498
+ * @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.
1499
+ *
1500
+ * Required scope: files:write
1501
+ */
1502
+ put: operations["putFilesUploadsByUploadRef"];
1503
+ post?: never;
1504
+ delete?: never;
1505
+ options?: never;
1506
+ head?: never;
1507
+ patch?: never;
1508
+ trace?: never;
1509
+ };
1468
1510
  "/files/{id}": {
1469
1511
  parameters: {
1470
1512
  query?: never;
@@ -1481,7 +1523,7 @@ export interface paths {
1481
1523
  put: operations["putFilesById"];
1482
1524
  post?: never;
1483
1525
  /**
1484
- * @description Delete GL file metadata and its TEAM_STORAGE object.
1526
+ * @description Delete a GL file and its TEAM_STORAGE object. A still-valid upload reference cannot recreate it.
1485
1527
  *
1486
1528
  * Required scope: files:delete
1487
1529
  */
@@ -4479,7 +4521,7 @@ export interface paths {
4479
4521
  get: operations["getReservations"];
4480
4522
  put?: never;
4481
4523
  /**
4482
- * @description Create a reservation. Financial lines post journal entries inline against the listing ownership period covering the stay, so writes into books-closed or statement-locked months are rejected. Owner API keys cannot create reservations. Supports dryRun. See https://docs.vrplatform.app/guides/build/reservations.
4524
+ * @description Create a reservation. Financial lines post journal entries inline against the listing ownership period covering the stay, so writes into books-closed or statement-locked months are rejected. Creation rejects duplicates by connection and unique reference or by connection, resolved listing, and confirmation code. Owner API keys cannot create reservations. Supports dryRun. See https://docs.vrplatform.app/guides/build/reservations.
4483
4525
  *
4484
4526
  * Required scope: reservations:write
4485
4527
  */
@@ -5715,7 +5757,7 @@ export interface paths {
5715
5757
  get: operations["getTeams"];
5716
5758
  put?: never;
5717
5759
  /**
5718
- * @description Create team. The generic gateway forwards an explicit dataRegion to that regional cell; an omitted region uses the receiving cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /teams/lookup instead of creating it again. Retrying a provisioning request that failed before completing is safe. Generated and explicit slugs are checked against the global tenant registry before the regional tenant is written. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation.
5760
+ * @description Create team. The generic gateway forwards an explicit dataRegion to that regional cell; an omitted region uses the receiving cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /teams/lookup instead of creating it again. Retrying a provisioning request that failed before completing is safe. Generated and explicit slugs are checked against the global tenant registry before the regional tenant is written. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation. An explicit General Ledger copyFromTeamId must use the target data region; a mismatch returns 400 before either tenant registry is written.
5719
5761
  *
5720
5762
  * Required scope: teams:provision
5721
5763
  */
@@ -5804,7 +5846,7 @@ export interface paths {
5804
5846
  get: operations["getTransactions"];
5805
5847
  put?: never;
5806
5848
  /**
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.
5849
+ * @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
5850
  *
5809
5851
  * Required scope: transactions:write
5810
5852
  */
@@ -5825,7 +5867,7 @@ export interface paths {
5825
5867
  get?: never;
5826
5868
  put?: never;
5827
5869
  /**
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.
5870
+ * @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
5871
  *
5830
5872
  * Required scope: transactions:write
5831
5873
  */
@@ -5836,6 +5878,27 @@ export interface paths {
5836
5878
  patch?: never;
5837
5879
  trace?: never;
5838
5880
  };
5881
+ "/transactions/attachments/uploads/{uploadRef}": {
5882
+ parameters: {
5883
+ query?: never;
5884
+ header?: never;
5885
+ path?: never;
5886
+ cookie?: never;
5887
+ };
5888
+ get?: never;
5889
+ /**
5890
+ * @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.
5891
+ *
5892
+ * Required scope: transactions:write
5893
+ */
5894
+ put: operations["putTransactionsAttachmentsUploadsByUploadRef"];
5895
+ post?: never;
5896
+ delete?: never;
5897
+ options?: never;
5898
+ head?: never;
5899
+ patch?: never;
5900
+ trace?: never;
5901
+ };
5839
5902
  "/transactions/attachments/{id}": {
5840
5903
  parameters: {
5841
5904
  query?: never;
@@ -5852,7 +5915,7 @@ export interface paths {
5852
5915
  put: operations["putTransactionsAttachmentsById"];
5853
5916
  post?: never;
5854
5917
  /**
5855
- * @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions.
5918
+ * @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
5919
  *
5857
5920
  * Required scope: transactions:delete
5858
5921
  */
@@ -10036,7 +10099,7 @@ export interface operations {
10036
10099
  } | null;
10037
10100
  } | null;
10038
10101
  }[];
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. */
10102
+ /** @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
10103
  attachmentIds?: string[] | null;
10041
10104
  recurringTemplateId?: string | null;
10042
10105
  matchBankAccountLast4?: string | null;
@@ -16744,7 +16807,7 @@ export interface operations {
16744
16807
  matchReservationProcessorBookingRef?: string | null;
16745
16808
  matchLineTypeClassification?: string | null;
16746
16809
  }[];
16747
- /** @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. */
16810
+ /** @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. */
16748
16811
  attachmentIds?: string[] | null;
16749
16812
  payment?: {
16750
16813
  bankRecordIds: string[];
@@ -17755,7 +17818,7 @@ export interface operations {
17755
17818
  matchReservationProcessorBookingRef?: string | null;
17756
17819
  matchLineTypeClassification?: string | null;
17757
17820
  }[];
17758
- /** @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. */
17821
+ /** @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. */
17759
17822
  attachmentIds?: string[] | null;
17760
17823
  payment?: {
17761
17824
  bankRecordIds: string[];
@@ -19417,7 +19480,7 @@ export interface operations {
19417
19480
  matchReservationProcessorBookingRef?: string | null;
19418
19481
  matchLineTypeClassification?: string | null;
19419
19482
  }[];
19420
- /** @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. */
19483
+ /** @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. */
19421
19484
  attachmentIds?: string[] | null;
19422
19485
  payment?: {
19423
19486
  bankRecordIds: string[];
@@ -20772,7 +20835,7 @@ export interface operations {
20772
20835
  matchReservationProcessorBookingRef?: string | null;
20773
20836
  matchLineTypeClassification?: string | null;
20774
20837
  }[];
20775
- /** @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. */
20838
+ /** @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. */
20776
20839
  attachmentIds?: string[] | null;
20777
20840
  payment?: {
20778
20841
  bankRecordIds: string[];
@@ -32093,30 +32156,19 @@ export interface operations {
32093
32156
  };
32094
32157
  };
32095
32158
  };
32096
- upsertEmailTemplate: {
32159
+ sendTestEmail: {
32097
32160
  parameters: {
32098
32161
  query?: never;
32099
32162
  header?: never;
32100
- path: {
32101
- /** @description Email template type to save. */
32102
- type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
32103
- };
32163
+ path?: never;
32104
32164
  cookie?: never;
32105
32165
  };
32106
32166
  requestBody?: {
32107
32167
  content: {
32108
32168
  "application/json": {
32109
- /** @description Email template content to save. */
32110
- data: {
32111
- subject: string;
32112
- shortDescription: string;
32113
- banner?: string | null;
32114
- header: string;
32115
- bodyOne: string;
32116
- bodyTwo: string;
32117
- buttonText: string;
32118
- href?: string | null;
32119
- };
32169
+ html: string;
32170
+ subject: string;
32171
+ text: string;
32120
32172
  };
32121
32173
  };
32122
32174
  };
@@ -32128,32 +32180,8 @@ export interface operations {
32128
32180
  };
32129
32181
  content: {
32130
32182
  "application/json": {
32131
- /** Format: uuid */
32132
- id: string;
32133
- /** @enum {string} */
32134
- type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
32135
- data: {
32136
- subject: string;
32137
- shortDescription: string;
32138
- banner?: string | null;
32139
- header: string;
32140
- bodyOne: string;
32141
- bodyTwo: string;
32142
- buttonText: string;
32143
- href?: string | null;
32144
- };
32145
- /**
32146
- * Format: date-time
32147
- * @description Timestamp string with date, time, milliseconds, and timezone.
32148
- * @example 2024-01-15T12:30:00.000+00:00
32149
- */
32150
- createdAt: string;
32151
- /**
32152
- * Format: date-time
32153
- * @description Timestamp string with date, time, milliseconds, and timezone.
32154
- * @example 2024-01-15T12:30:00.000+00:00
32155
- */
32156
- updatedAt: string;
32183
+ /** @constant */
32184
+ ok: true;
32157
32185
  };
32158
32186
  };
32159
32187
  };
@@ -32384,18 +32412,30 @@ export interface operations {
32384
32412
  };
32385
32413
  };
32386
32414
  };
32387
- exchangeEmbedSession: {
32415
+ upsertEmailTemplate: {
32388
32416
  parameters: {
32389
32417
  query?: never;
32390
32418
  header?: never;
32391
- path?: never;
32419
+ path: {
32420
+ /** @description Email template type to save. */
32421
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
32422
+ };
32392
32423
  cookie?: never;
32393
32424
  };
32394
32425
  requestBody?: {
32395
32426
  content: {
32396
32427
  "application/json": {
32397
- /** @description One-time code from the embed URL fragment. */
32398
- code: string;
32428
+ /** @description Email template content to save. */
32429
+ data: {
32430
+ subject: string;
32431
+ shortDescription: string;
32432
+ banner?: string | null;
32433
+ header: string;
32434
+ bodyOne: string;
32435
+ bodyTwo: string;
32436
+ buttonText: string;
32437
+ href?: string | null;
32438
+ };
32399
32439
  };
32400
32440
  };
32401
32441
  };
@@ -32403,46 +32443,36 @@ export interface operations {
32403
32443
  /** @description Successful response */
32404
32444
  200: {
32405
32445
  headers: {
32406
- /** @description Prevents storage of the embedded bearer token. */
32407
- "Cache-Control"?: "no-store";
32408
32446
  [name: string]: unknown;
32409
32447
  };
32410
32448
  content: {
32411
32449
  "application/json": {
32412
- /** @description Short-lived embedded bearer token. */
32413
- accessToken: string;
32414
- /** @description Embedded capability bundles granted to the session. */
32415
- bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1")[];
32416
- /**
32417
- * Format: uuid
32418
- * @description Stable lifecycle channel ID for this iframe.
32419
- */
32420
- channelId: string;
32450
+ /** Format: uuid */
32451
+ id: string;
32452
+ /** @enum {string} */
32453
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
32454
+ data: {
32455
+ subject: string;
32456
+ shortDescription: string;
32457
+ banner?: string | null;
32458
+ header: string;
32459
+ bodyOne: string;
32460
+ bodyTwo: string;
32461
+ buttonText: string;
32462
+ href?: string | null;
32463
+ };
32421
32464
  /**
32422
32465
  * Format: date-time
32423
- * @description Bearer-token expiration timestamp.
32424
- */
32425
- expiresAt: string;
32426
- /**
32427
- * Format: uri
32428
- * @description Exact parent-page origin bound to the lifecycle channel.
32429
- */
32430
- parentOrigin: string;
32431
- /**
32432
- * Format: uuid
32433
- * @description Session ID created by the partner backend.
32434
- */
32435
- sessionId: string;
32436
- /**
32437
- * Format: uuid
32438
- * @description Team bound to the embedded session.
32466
+ * @description Timestamp string with date, time, milliseconds, and timezone.
32467
+ * @example 2024-01-15T12:30:00.000+00:00
32439
32468
  */
32440
- teamId: string;
32469
+ createdAt: string;
32441
32470
  /**
32442
- * Format: uuid
32443
- * @description VRPlatform user bound to the session.
32471
+ * Format: date-time
32472
+ * @description Timestamp string with date, time, milliseconds, and timezone.
32473
+ * @example 2024-01-15T12:30:00.000+00:00
32444
32474
  */
32445
- userId: string;
32475
+ updatedAt: string;
32446
32476
  };
32447
32477
  };
32448
32478
  };
@@ -32673,7 +32703,7 @@ export interface operations {
32673
32703
  };
32674
32704
  };
32675
32705
  };
32676
- getEmbedSessionFrameAncestorPolicy: {
32706
+ exchangeEmbedSession: {
32677
32707
  parameters: {
32678
32708
  query?: never;
32679
32709
  header?: never;
@@ -32683,8 +32713,8 @@ export interface operations {
32683
32713
  requestBody?: {
32684
32714
  content: {
32685
32715
  "application/json": {
32686
- /** @description Short-lived opaque policy token from the issued embed URL query. */
32687
- frameAncestorToken: string;
32716
+ /** @description One-time code from the embed URL fragment. */
32717
+ code: string;
32688
32718
  };
32689
32719
  };
32690
32720
  };
@@ -32692,22 +32722,46 @@ export interface operations {
32692
32722
  /** @description Successful response */
32693
32723
  200: {
32694
32724
  headers: {
32695
- /** @description Prevents storage of the short-lived ancestor policy. */
32725
+ /** @description Prevents storage of the embedded bearer token. */
32696
32726
  "Cache-Control"?: "no-store";
32697
32727
  [name: string]: unknown;
32698
32728
  };
32699
32729
  content: {
32700
32730
  "application/json": {
32731
+ /** @description Short-lived embedded bearer token. */
32732
+ accessToken: string;
32733
+ /** @description Embedded capability bundles granted to the session. */
32734
+ bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1")[];
32701
32735
  /**
32702
- * Format: uri
32703
- * @description Exact embedded-application origin allowed to use this policy.
32736
+ * Format: uuid
32737
+ * @description Stable lifecycle channel ID for this iframe.
32704
32738
  */
32705
- embedOrigin: string;
32739
+ channelId: string;
32740
+ /**
32741
+ * Format: date-time
32742
+ * @description Bearer-token expiration timestamp.
32743
+ */
32744
+ expiresAt: string;
32706
32745
  /**
32707
32746
  * Format: uri
32708
- * @description Exact parent-page origin allowed to frame the embedded application.
32747
+ * @description Exact parent-page origin bound to the lifecycle channel.
32709
32748
  */
32710
32749
  parentOrigin: string;
32750
+ /**
32751
+ * Format: uuid
32752
+ * @description Session ID created by the partner backend.
32753
+ */
32754
+ sessionId: string;
32755
+ /**
32756
+ * Format: uuid
32757
+ * @description Team bound to the embedded session.
32758
+ */
32759
+ teamId: string;
32760
+ /**
32761
+ * Format: uuid
32762
+ * @description VRPlatform user bound to the session.
32763
+ */
32764
+ userId: string;
32711
32765
  };
32712
32766
  };
32713
32767
  };
@@ -32938,67 +32992,41 @@ export interface operations {
32938
32992
  };
32939
32993
  };
32940
32994
  };
32941
- getFiles: {
32995
+ getEmbedSessionFrameAncestorPolicy: {
32942
32996
  parameters: {
32943
- query?: {
32944
- /** @description Filter files by filename text match. */
32945
- search?: string;
32946
- /** @description Filter files by their upload purpose. */
32947
- type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
32948
- /** @description Sort field; prefix with - for descending order. */
32949
- sort?: "filename" | "-filename" | "startDate" | "-startDate" | "endDate" | "-endDate" | "createdAt" | "-createdAt" | "contactName" | "-contactName";
32950
- limit?: number;
32951
- page?: number;
32952
- offset?: number;
32953
- };
32997
+ query?: never;
32954
32998
  header?: never;
32955
32999
  path?: never;
32956
33000
  cookie?: never;
32957
33001
  };
32958
- requestBody?: never;
33002
+ requestBody?: {
33003
+ content: {
33004
+ "application/json": {
33005
+ /** @description Short-lived opaque policy token from the issued embed URL query. */
33006
+ frameAncestorToken: string;
33007
+ };
33008
+ };
33009
+ };
32959
33010
  responses: {
32960
33011
  /** @description Successful response */
32961
33012
  200: {
32962
33013
  headers: {
33014
+ /** @description Prevents storage of the short-lived ancestor policy. */
33015
+ "Cache-Control"?: "no-store";
32963
33016
  [name: string]: unknown;
32964
33017
  };
32965
33018
  content: {
32966
33019
  "application/json": {
32967
- data: {
32968
- /** Format: uuid */
32969
- id: string;
32970
- filename: string;
32971
- /** @enum {string} */
32972
- type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
32973
- startDate: string | null;
32974
- endDate: string | null;
32975
- /**
32976
- * Format: date-time
32977
- * @description Timestamp string with date, time, milliseconds, and timezone.
32978
- * @example 2024-01-15T12:30:00.000+00:00
32979
- */
32980
- createdAt: string;
32981
- contact: {
32982
- /** Format: uuid */
32983
- id: string;
32984
- name?: string | null;
32985
- firstName?: string | null;
32986
- uniqueRef?: string | null;
32987
- shortRef?: string | null;
32988
- email?: string | null;
32989
- /** @enum {string} */
32990
- type: "owner" | "vendor";
32991
- } | null;
32992
- }[];
32993
- pagination: {
32994
- /** @default 100 */
32995
- limit: number;
32996
- /** @default 1 */
32997
- page: number;
32998
- total: number;
32999
- totalPage: number;
33000
- nextPage?: number;
33001
- };
33020
+ /**
33021
+ * Format: uri
33022
+ * @description Exact embedded-application origin allowed to use this policy.
33023
+ */
33024
+ embedOrigin: string;
33025
+ /**
33026
+ * Format: uri
33027
+ * @description Exact parent-page origin allowed to frame the embedded application.
33028
+ */
33029
+ parentOrigin: string;
33002
33030
  };
33003
33031
  };
33004
33032
  };
@@ -33229,9 +33257,19 @@ export interface operations {
33229
33257
  };
33230
33258
  };
33231
33259
  };
33232
- postFiles: {
33260
+ getFiles: {
33233
33261
  parameters: {
33234
- query?: never;
33262
+ query?: {
33263
+ /** @description Filter files by filename text match. */
33264
+ search?: string;
33265
+ /** @description Filter files by their upload purpose. */
33266
+ type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33267
+ /** @description Sort field; prefix with - for descending order. */
33268
+ sort?: "filename" | "-filename" | "startDate" | "-startDate" | "endDate" | "-endDate" | "createdAt" | "-createdAt" | "contactName" | "-contactName";
33269
+ limit?: number;
33270
+ page?: number;
33271
+ offset?: number;
33272
+ };
33235
33273
  header?: never;
33236
33274
  path?: never;
33237
33275
  cookie?: never;
@@ -33245,30 +33283,560 @@ export interface operations {
33245
33283
  };
33246
33284
  content: {
33247
33285
  "application/json": {
33248
- /** Format: uuid */
33249
- id: string;
33250
- filename: string;
33251
- /** @enum {string} */
33252
- type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33253
- startDate: string | null;
33254
- endDate: string | null;
33255
- /**
33256
- * Format: date-time
33257
- * @description Timestamp string with date, time, milliseconds, and timezone.
33258
- * @example 2024-01-15T12:30:00.000+00:00
33259
- */
33260
- createdAt: string;
33261
- contact: {
33286
+ data: {
33262
33287
  /** Format: uuid */
33263
33288
  id: string;
33264
- name?: string | null;
33265
- firstName?: string | null;
33266
- uniqueRef?: string | null;
33267
- shortRef?: string | null;
33268
- email?: string | null;
33289
+ filename: string;
33269
33290
  /** @enum {string} */
33270
- type: "owner" | "vendor";
33271
- } | null;
33291
+ type: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33292
+ startDate: string | null;
33293
+ endDate: string | null;
33294
+ /**
33295
+ * Format: date-time
33296
+ * @description Timestamp string with date, time, milliseconds, and timezone.
33297
+ * @example 2024-01-15T12:30:00.000+00:00
33298
+ */
33299
+ createdAt: string;
33300
+ contact: {
33301
+ /** Format: uuid */
33302
+ id: string;
33303
+ name?: string | null;
33304
+ firstName?: string | null;
33305
+ uniqueRef?: string | null;
33306
+ shortRef?: string | null;
33307
+ email?: string | null;
33308
+ /** @enum {string} */
33309
+ type: "owner" | "vendor";
33310
+ } | null;
33311
+ }[];
33312
+ pagination: {
33313
+ /** @default 100 */
33314
+ limit: number;
33315
+ /** @default 1 */
33316
+ page: number;
33317
+ total: number;
33318
+ totalPage: number;
33319
+ nextPage?: number;
33320
+ };
33321
+ };
33322
+ };
33323
+ };
33324
+ /** @description Bad request */
33325
+ 400: {
33326
+ headers: {
33327
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33328
+ "Retry-After"?: number;
33329
+ [name: string]: unknown;
33330
+ };
33331
+ content: {
33332
+ "application/json": {
33333
+ code: string;
33334
+ message: string;
33335
+ links?: {
33336
+ docs: string;
33337
+ schema: string;
33338
+ };
33339
+ issues?: {
33340
+ message: string;
33341
+ path?: (string | number)[];
33342
+ schema?: string;
33343
+ }[];
33344
+ retryable?: boolean;
33345
+ context?: unknown;
33346
+ };
33347
+ };
33348
+ };
33349
+ /** @description Unauthorized */
33350
+ 401: {
33351
+ headers: {
33352
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33353
+ "Retry-After"?: number;
33354
+ [name: string]: unknown;
33355
+ };
33356
+ content: {
33357
+ "application/json": {
33358
+ code: string;
33359
+ message: string;
33360
+ links?: {
33361
+ docs: string;
33362
+ schema: string;
33363
+ };
33364
+ issues?: {
33365
+ message: string;
33366
+ path?: (string | number)[];
33367
+ schema?: string;
33368
+ }[];
33369
+ retryable?: boolean;
33370
+ context?: unknown;
33371
+ };
33372
+ };
33373
+ };
33374
+ /** @description Forbidden */
33375
+ 403: {
33376
+ headers: {
33377
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33378
+ "Retry-After"?: number;
33379
+ [name: string]: unknown;
33380
+ };
33381
+ content: {
33382
+ "application/json": {
33383
+ code: string;
33384
+ message: string;
33385
+ links?: {
33386
+ docs: string;
33387
+ schema: string;
33388
+ };
33389
+ issues?: {
33390
+ message: string;
33391
+ path?: (string | number)[];
33392
+ schema?: string;
33393
+ }[];
33394
+ retryable?: boolean;
33395
+ context?: unknown;
33396
+ };
33397
+ };
33398
+ };
33399
+ /** @description Not found */
33400
+ 404: {
33401
+ headers: {
33402
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33403
+ "Retry-After"?: number;
33404
+ [name: string]: unknown;
33405
+ };
33406
+ content: {
33407
+ "application/json": {
33408
+ code: string;
33409
+ message: string;
33410
+ links?: {
33411
+ docs: string;
33412
+ schema: string;
33413
+ };
33414
+ issues?: {
33415
+ message: string;
33416
+ path?: (string | number)[];
33417
+ schema?: string;
33418
+ }[];
33419
+ retryable?: boolean;
33420
+ context?: unknown;
33421
+ };
33422
+ };
33423
+ };
33424
+ /** @description Conflict */
33425
+ 409: {
33426
+ headers: {
33427
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33428
+ "Retry-After"?: number;
33429
+ [name: string]: unknown;
33430
+ };
33431
+ content: {
33432
+ "application/json": {
33433
+ code: string;
33434
+ message: string;
33435
+ links?: {
33436
+ docs: string;
33437
+ schema: string;
33438
+ };
33439
+ issues?: {
33440
+ message: string;
33441
+ path?: (string | number)[];
33442
+ schema?: string;
33443
+ }[];
33444
+ retryable?: boolean;
33445
+ context?: unknown;
33446
+ };
33447
+ };
33448
+ };
33449
+ /** @description Gone */
33450
+ 410: {
33451
+ headers: {
33452
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33453
+ "Retry-After"?: number;
33454
+ [name: string]: unknown;
33455
+ };
33456
+ content: {
33457
+ "application/json": {
33458
+ code: string;
33459
+ message: string;
33460
+ links?: {
33461
+ docs: string;
33462
+ schema: string;
33463
+ };
33464
+ issues?: {
33465
+ message: string;
33466
+ path?: (string | number)[];
33467
+ schema?: string;
33468
+ }[];
33469
+ retryable?: boolean;
33470
+ context?: unknown;
33471
+ };
33472
+ };
33473
+ };
33474
+ /** @description Unprocessable content */
33475
+ 422: {
33476
+ headers: {
33477
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33478
+ "Retry-After"?: number;
33479
+ [name: string]: unknown;
33480
+ };
33481
+ content: {
33482
+ "application/json": {
33483
+ code: string;
33484
+ message: string;
33485
+ links?: {
33486
+ docs: string;
33487
+ schema: string;
33488
+ };
33489
+ issues?: {
33490
+ message: string;
33491
+ path?: (string | number)[];
33492
+ schema?: string;
33493
+ }[];
33494
+ retryable?: boolean;
33495
+ context?: unknown;
33496
+ };
33497
+ };
33498
+ };
33499
+ /** @description Internal server error */
33500
+ 500: {
33501
+ headers: {
33502
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33503
+ "Retry-After"?: number;
33504
+ [name: string]: unknown;
33505
+ };
33506
+ content: {
33507
+ "application/json": {
33508
+ code: string;
33509
+ message: string;
33510
+ links?: {
33511
+ docs: string;
33512
+ schema: string;
33513
+ };
33514
+ issues?: {
33515
+ message: string;
33516
+ path?: (string | number)[];
33517
+ schema?: string;
33518
+ }[];
33519
+ retryable?: boolean;
33520
+ context?: unknown;
33521
+ };
33522
+ };
33523
+ };
33524
+ /** @description Service unavailable */
33525
+ 503: {
33526
+ headers: {
33527
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33528
+ "Retry-After"?: number;
33529
+ [name: string]: unknown;
33530
+ };
33531
+ content: {
33532
+ "application/json": {
33533
+ code: string;
33534
+ message: string;
33535
+ links?: {
33536
+ docs: string;
33537
+ schema: string;
33538
+ };
33539
+ issues?: {
33540
+ message: string;
33541
+ path?: (string | number)[];
33542
+ schema?: string;
33543
+ }[];
33544
+ retryable?: boolean;
33545
+ context?: unknown;
33546
+ };
33547
+ };
33548
+ };
33549
+ };
33550
+ };
33551
+ postFiles: {
33552
+ parameters: {
33553
+ query?: never;
33554
+ header?: never;
33555
+ path?: never;
33556
+ cookie?: never;
33557
+ };
33558
+ requestBody?: {
33559
+ content: {
33560
+ "application/json": {
33561
+ filename: string;
33562
+ contentType: string;
33563
+ fileSize: number;
33564
+ /**
33565
+ * @default userUpload
33566
+ * @enum {string}
33567
+ */
33568
+ type?: "userUpload" | "historicalData" | "historicalOwnerStatement" | "ownerStatementExample" | "listingOwnerAssignment" | "listingFeeAssignment";
33569
+ startDate?: string | null;
33570
+ endDate?: string | null;
33571
+ contactId?: string | null;
33572
+ };
33573
+ };
33574
+ };
33575
+ responses: {
33576
+ /** @description Successful response */
33577
+ 200: {
33578
+ headers: {
33579
+ [name: string]: unknown;
33580
+ };
33581
+ content: {
33582
+ "application/json": {
33583
+ /** Format: date-time */
33584
+ expiresAt: string;
33585
+ /** Format: uuid */
33586
+ fileId: string;
33587
+ uploadRef: string;
33588
+ /** Format: uri */
33589
+ uploadUrl: string;
33590
+ };
33591
+ };
33592
+ };
33593
+ /** @description Bad request */
33594
+ 400: {
33595
+ headers: {
33596
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33597
+ "Retry-After"?: number;
33598
+ [name: string]: unknown;
33599
+ };
33600
+ content: {
33601
+ "application/json": {
33602
+ code: string;
33603
+ message: string;
33604
+ links?: {
33605
+ docs: string;
33606
+ schema: string;
33607
+ };
33608
+ issues?: {
33609
+ message: string;
33610
+ path?: (string | number)[];
33611
+ schema?: string;
33612
+ }[];
33613
+ retryable?: boolean;
33614
+ context?: unknown;
33615
+ };
33616
+ };
33617
+ };
33618
+ /** @description Unauthorized */
33619
+ 401: {
33620
+ headers: {
33621
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33622
+ "Retry-After"?: number;
33623
+ [name: string]: unknown;
33624
+ };
33625
+ content: {
33626
+ "application/json": {
33627
+ code: string;
33628
+ message: string;
33629
+ links?: {
33630
+ docs: string;
33631
+ schema: string;
33632
+ };
33633
+ issues?: {
33634
+ message: string;
33635
+ path?: (string | number)[];
33636
+ schema?: string;
33637
+ }[];
33638
+ retryable?: boolean;
33639
+ context?: unknown;
33640
+ };
33641
+ };
33642
+ };
33643
+ /** @description Forbidden */
33644
+ 403: {
33645
+ headers: {
33646
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33647
+ "Retry-After"?: number;
33648
+ [name: string]: unknown;
33649
+ };
33650
+ content: {
33651
+ "application/json": {
33652
+ code: string;
33653
+ message: string;
33654
+ links?: {
33655
+ docs: string;
33656
+ schema: string;
33657
+ };
33658
+ issues?: {
33659
+ message: string;
33660
+ path?: (string | number)[];
33661
+ schema?: string;
33662
+ }[];
33663
+ retryable?: boolean;
33664
+ context?: unknown;
33665
+ };
33666
+ };
33667
+ };
33668
+ /** @description Not found */
33669
+ 404: {
33670
+ headers: {
33671
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33672
+ "Retry-After"?: number;
33673
+ [name: string]: unknown;
33674
+ };
33675
+ content: {
33676
+ "application/json": {
33677
+ code: string;
33678
+ message: string;
33679
+ links?: {
33680
+ docs: string;
33681
+ schema: string;
33682
+ };
33683
+ issues?: {
33684
+ message: string;
33685
+ path?: (string | number)[];
33686
+ schema?: string;
33687
+ }[];
33688
+ retryable?: boolean;
33689
+ context?: unknown;
33690
+ };
33691
+ };
33692
+ };
33693
+ /** @description Conflict */
33694
+ 409: {
33695
+ headers: {
33696
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33697
+ "Retry-After"?: number;
33698
+ [name: string]: unknown;
33699
+ };
33700
+ content: {
33701
+ "application/json": {
33702
+ code: string;
33703
+ message: string;
33704
+ links?: {
33705
+ docs: string;
33706
+ schema: string;
33707
+ };
33708
+ issues?: {
33709
+ message: string;
33710
+ path?: (string | number)[];
33711
+ schema?: string;
33712
+ }[];
33713
+ retryable?: boolean;
33714
+ context?: unknown;
33715
+ };
33716
+ };
33717
+ };
33718
+ /** @description Gone */
33719
+ 410: {
33720
+ headers: {
33721
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33722
+ "Retry-After"?: number;
33723
+ [name: string]: unknown;
33724
+ };
33725
+ content: {
33726
+ "application/json": {
33727
+ code: string;
33728
+ message: string;
33729
+ links?: {
33730
+ docs: string;
33731
+ schema: string;
33732
+ };
33733
+ issues?: {
33734
+ message: string;
33735
+ path?: (string | number)[];
33736
+ schema?: string;
33737
+ }[];
33738
+ retryable?: boolean;
33739
+ context?: unknown;
33740
+ };
33741
+ };
33742
+ };
33743
+ /** @description Unprocessable content */
33744
+ 422: {
33745
+ headers: {
33746
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33747
+ "Retry-After"?: number;
33748
+ [name: string]: unknown;
33749
+ };
33750
+ content: {
33751
+ "application/json": {
33752
+ code: string;
33753
+ message: string;
33754
+ links?: {
33755
+ docs: string;
33756
+ schema: string;
33757
+ };
33758
+ issues?: {
33759
+ message: string;
33760
+ path?: (string | number)[];
33761
+ schema?: string;
33762
+ }[];
33763
+ retryable?: boolean;
33764
+ context?: unknown;
33765
+ };
33766
+ };
33767
+ };
33768
+ /** @description Internal server error */
33769
+ 500: {
33770
+ headers: {
33771
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33772
+ "Retry-After"?: number;
33773
+ [name: string]: unknown;
33774
+ };
33775
+ content: {
33776
+ "application/json": {
33777
+ code: string;
33778
+ message: string;
33779
+ links?: {
33780
+ docs: string;
33781
+ schema: string;
33782
+ };
33783
+ issues?: {
33784
+ message: string;
33785
+ path?: (string | number)[];
33786
+ schema?: string;
33787
+ }[];
33788
+ retryable?: boolean;
33789
+ context?: unknown;
33790
+ };
33791
+ };
33792
+ };
33793
+ /** @description Service unavailable */
33794
+ 503: {
33795
+ headers: {
33796
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
33797
+ "Retry-After"?: number;
33798
+ [name: string]: unknown;
33799
+ };
33800
+ content: {
33801
+ "application/json": {
33802
+ code: string;
33803
+ message: string;
33804
+ links?: {
33805
+ docs: string;
33806
+ schema: string;
33807
+ };
33808
+ issues?: {
33809
+ message: string;
33810
+ path?: (string | number)[];
33811
+ schema?: string;
33812
+ }[];
33813
+ retryable?: boolean;
33814
+ context?: unknown;
33815
+ };
33816
+ };
33817
+ };
33818
+ };
33819
+ };
33820
+ putFilesUploadsByUploadRef: {
33821
+ parameters: {
33822
+ query?: never;
33823
+ header?: never;
33824
+ path: {
33825
+ uploadRef: string;
33826
+ };
33827
+ cookie?: never;
33828
+ };
33829
+ requestBody?: never;
33830
+ responses: {
33831
+ /** @description Successful response */
33832
+ 200: {
33833
+ headers: {
33834
+ [name: string]: unknown;
33835
+ };
33836
+ content: {
33837
+ "application/json": {
33838
+ /** @constant */
33839
+ status: "uploaded";
33272
33840
  };
33273
33841
  };
33274
33842
  };
@@ -106199,7 +106767,7 @@ export interface operations {
106199
106767
  } | null;
106200
106768
  } | null;
106201
106769
  }[];
106202
- /** @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. */
106770
+ /** @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. */
106203
106771
  attachmentIds?: string[] | null;
106204
106772
  recurringTemplateId?: string | null;
106205
106773
  matchBankAccountLast4?: string | null;
@@ -124351,7 +124919,7 @@ export interface operations {
124351
124919
  } | null;
124352
124920
  } | null;
124353
124921
  }[];
124354
- /** @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. */
124922
+ /** @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. */
124355
124923
  attachmentIds?: string[] | null;
124356
124924
  recurringTemplateId?: string | null;
124357
124925
  matchBankAccountLast4?: string | null;
@@ -124839,7 +125407,7 @@ export interface operations {
124839
125407
  matchReservationProcessorBookingRef?: string | null;
124840
125408
  matchLineTypeClassification?: string | null;
124841
125409
  }[];
124842
- /** @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. */
125410
+ /** @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. */
124843
125411
  attachmentIds?: string[] | null;
124844
125412
  /** @description Expense payment and reconciliation state */
124845
125413
  payment?: {
@@ -125036,7 +125604,7 @@ export interface operations {
125036
125604
  } | null;
125037
125605
  } | null;
125038
125606
  }[];
125039
- /** @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. */
125607
+ /** @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. */
125040
125608
  attachmentIds?: string[] | null;
125041
125609
  recurringTemplateId?: string | null;
125042
125610
  matchBankAccountLast4?: string | null;
@@ -125431,7 +125999,17 @@ export interface operations {
125431
125999
  path?: never;
125432
126000
  cookie?: never;
125433
126001
  };
125434
- requestBody?: never;
126002
+ requestBody?: {
126003
+ content: {
126004
+ "application/json": {
126005
+ filename: string;
126006
+ contentType: string;
126007
+ fileSize: number;
126008
+ /** @default false */
126009
+ isOwnerAccessible?: boolean;
126010
+ };
126011
+ };
126012
+ };
125435
126013
  responses: {
125436
126014
  /** @description Successful response */
125437
126015
  200: {
@@ -125441,19 +126019,262 @@ export interface operations {
125441
126019
  content: {
125442
126020
  "application/json": {
125443
126021
  /** Format: uuid */
125444
- id: string;
125445
- transactionId: string | null;
125446
- /**
125447
- * Format: date-time
125448
- * @description Timestamp string with date, time, milliseconds, and timezone.
125449
- * @example 2024-01-15T12:30:00.000+00:00
125450
- */
125451
- createdAt: string;
125452
- filename: string;
125453
- extension?: string | null;
125454
- contentType: string;
125455
- byteSize: number;
125456
- isOwnerAccessible: boolean;
126022
+ attachmentId: string;
126023
+ /** Format: date-time */
126024
+ expiresAt: string;
126025
+ uploadRef: string;
126026
+ /** Format: uri */
126027
+ uploadUrl: string;
126028
+ };
126029
+ };
126030
+ };
126031
+ /** @description Bad request */
126032
+ 400: {
126033
+ headers: {
126034
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126035
+ "Retry-After"?: number;
126036
+ [name: string]: unknown;
126037
+ };
126038
+ content: {
126039
+ "application/json": {
126040
+ code: string;
126041
+ message: string;
126042
+ links?: {
126043
+ docs: string;
126044
+ schema: string;
126045
+ };
126046
+ issues?: {
126047
+ message: string;
126048
+ path?: (string | number)[];
126049
+ schema?: string;
126050
+ }[];
126051
+ retryable?: boolean;
126052
+ context?: unknown;
126053
+ };
126054
+ };
126055
+ };
126056
+ /** @description Unauthorized */
126057
+ 401: {
126058
+ headers: {
126059
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126060
+ "Retry-After"?: number;
126061
+ [name: string]: unknown;
126062
+ };
126063
+ content: {
126064
+ "application/json": {
126065
+ code: string;
126066
+ message: string;
126067
+ links?: {
126068
+ docs: string;
126069
+ schema: string;
126070
+ };
126071
+ issues?: {
126072
+ message: string;
126073
+ path?: (string | number)[];
126074
+ schema?: string;
126075
+ }[];
126076
+ retryable?: boolean;
126077
+ context?: unknown;
126078
+ };
126079
+ };
126080
+ };
126081
+ /** @description Forbidden */
126082
+ 403: {
126083
+ headers: {
126084
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126085
+ "Retry-After"?: number;
126086
+ [name: string]: unknown;
126087
+ };
126088
+ content: {
126089
+ "application/json": {
126090
+ code: string;
126091
+ message: string;
126092
+ links?: {
126093
+ docs: string;
126094
+ schema: string;
126095
+ };
126096
+ issues?: {
126097
+ message: string;
126098
+ path?: (string | number)[];
126099
+ schema?: string;
126100
+ }[];
126101
+ retryable?: boolean;
126102
+ context?: unknown;
126103
+ };
126104
+ };
126105
+ };
126106
+ /** @description Not found */
126107
+ 404: {
126108
+ headers: {
126109
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126110
+ "Retry-After"?: number;
126111
+ [name: string]: unknown;
126112
+ };
126113
+ content: {
126114
+ "application/json": {
126115
+ code: string;
126116
+ message: string;
126117
+ links?: {
126118
+ docs: string;
126119
+ schema: string;
126120
+ };
126121
+ issues?: {
126122
+ message: string;
126123
+ path?: (string | number)[];
126124
+ schema?: string;
126125
+ }[];
126126
+ retryable?: boolean;
126127
+ context?: unknown;
126128
+ };
126129
+ };
126130
+ };
126131
+ /** @description Conflict */
126132
+ 409: {
126133
+ headers: {
126134
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126135
+ "Retry-After"?: number;
126136
+ [name: string]: unknown;
126137
+ };
126138
+ content: {
126139
+ "application/json": {
126140
+ code: string;
126141
+ message: string;
126142
+ links?: {
126143
+ docs: string;
126144
+ schema: string;
126145
+ };
126146
+ issues?: {
126147
+ message: string;
126148
+ path?: (string | number)[];
126149
+ schema?: string;
126150
+ }[];
126151
+ retryable?: boolean;
126152
+ context?: unknown;
126153
+ };
126154
+ };
126155
+ };
126156
+ /** @description Gone */
126157
+ 410: {
126158
+ headers: {
126159
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126160
+ "Retry-After"?: number;
126161
+ [name: string]: unknown;
126162
+ };
126163
+ content: {
126164
+ "application/json": {
126165
+ code: string;
126166
+ message: string;
126167
+ links?: {
126168
+ docs: string;
126169
+ schema: string;
126170
+ };
126171
+ issues?: {
126172
+ message: string;
126173
+ path?: (string | number)[];
126174
+ schema?: string;
126175
+ }[];
126176
+ retryable?: boolean;
126177
+ context?: unknown;
126178
+ };
126179
+ };
126180
+ };
126181
+ /** @description Unprocessable content */
126182
+ 422: {
126183
+ headers: {
126184
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126185
+ "Retry-After"?: number;
126186
+ [name: string]: unknown;
126187
+ };
126188
+ content: {
126189
+ "application/json": {
126190
+ code: string;
126191
+ message: string;
126192
+ links?: {
126193
+ docs: string;
126194
+ schema: string;
126195
+ };
126196
+ issues?: {
126197
+ message: string;
126198
+ path?: (string | number)[];
126199
+ schema?: string;
126200
+ }[];
126201
+ retryable?: boolean;
126202
+ context?: unknown;
126203
+ };
126204
+ };
126205
+ };
126206
+ /** @description Internal server error */
126207
+ 500: {
126208
+ headers: {
126209
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126210
+ "Retry-After"?: number;
126211
+ [name: string]: unknown;
126212
+ };
126213
+ content: {
126214
+ "application/json": {
126215
+ code: string;
126216
+ message: string;
126217
+ links?: {
126218
+ docs: string;
126219
+ schema: string;
126220
+ };
126221
+ issues?: {
126222
+ message: string;
126223
+ path?: (string | number)[];
126224
+ schema?: string;
126225
+ }[];
126226
+ retryable?: boolean;
126227
+ context?: unknown;
126228
+ };
126229
+ };
126230
+ };
126231
+ /** @description Service unavailable */
126232
+ 503: {
126233
+ headers: {
126234
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
126235
+ "Retry-After"?: number;
126236
+ [name: string]: unknown;
126237
+ };
126238
+ content: {
126239
+ "application/json": {
126240
+ code: string;
126241
+ message: string;
126242
+ links?: {
126243
+ docs: string;
126244
+ schema: string;
126245
+ };
126246
+ issues?: {
126247
+ message: string;
126248
+ path?: (string | number)[];
126249
+ schema?: string;
126250
+ }[];
126251
+ retryable?: boolean;
126252
+ context?: unknown;
126253
+ };
126254
+ };
126255
+ };
126256
+ };
126257
+ };
126258
+ putTransactionsAttachmentsUploadsByUploadRef: {
126259
+ parameters: {
126260
+ query?: never;
126261
+ header?: never;
126262
+ path: {
126263
+ uploadRef: string;
126264
+ };
126265
+ cookie?: never;
126266
+ };
126267
+ requestBody?: never;
126268
+ responses: {
126269
+ /** @description Successful response */
126270
+ 200: {
126271
+ headers: {
126272
+ [name: string]: unknown;
126273
+ };
126274
+ content: {
126275
+ "application/json": {
126276
+ /** @constant */
126277
+ status: "uploaded";
125457
126278
  };
125458
126279
  };
125459
126280
  };
@@ -126522,7 +127343,7 @@ export interface operations {
126522
127343
  matchReservationProcessorBookingRef?: string | null;
126523
127344
  matchLineTypeClassification?: string | null;
126524
127345
  }[];
126525
- /** @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. */
127346
+ /** @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. */
126526
127347
  attachmentIds?: string[] | null;
126527
127348
  /** @description Expense payment and reconciliation state */
126528
127349
  payment?: {
@@ -130673,7 +131494,7 @@ export interface operations {
130673
131494
  } | null;
130674
131495
  } | null;
130675
131496
  }[];
130676
- /** @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. */
131497
+ /** @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. */
130677
131498
  attachmentIds?: string[] | null;
130678
131499
  recurringTemplateId?: string | null;
130679
131500
  matchBankAccountLast4?: string | null;
@@ -131215,7 +132036,7 @@ export interface operations {
131215
132036
  } | null;
131216
132037
  } | null;
131217
132038
  }[];
131218
- /** @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. */
132039
+ /** @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. */
131219
132040
  attachmentIds?: string[] | null;
131220
132041
  recurringTemplateId?: string | null;
131221
132042
  matchBankAccountLast4?: string | null;
@@ -131662,7 +132483,7 @@ export interface operations {
131662
132483
  type?: "deposit" | "expense" | "transfer" | "payout";
131663
132484
  date?: string;
131664
132485
  currency?: string | null;
131665
- /** @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. */
132486
+ /** @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. */
131666
132487
  attachmentIds?: string[] | null;
131667
132488
  /** @description Expense payment and reconciliation state */
131668
132489
  payment?: {
@@ -131966,7 +132787,7 @@ export interface operations {
131966
132787
  } | null;
131967
132788
  } | null;
131968
132789
  }[];
131969
- /** @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. */
132790
+ /** @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. */
131970
132791
  attachmentIds?: string[] | null;
131971
132792
  recurringTemplateId?: string | null;
131972
132793
  matchBankAccountLast4?: string | null;
@@ -133628,7 +134449,7 @@ export interface operations {
133628
134449
  } | null;
133629
134450
  } | null;
133630
134451
  }[];
133631
- /** @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. */
134452
+ /** @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. */
133632
134453
  attachmentIds?: string[] | null;
133633
134454
  recurringTemplateId?: string | null;
133634
134455
  matchBankAccountLast4?: string | null;