@vrplatform/api 1.3.1-6522 → 1.3.1-6528

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-6522",
6
+ "version": "1.3.1-6528",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -3634,7 +3634,7 @@ export interface paths {
3634
3634
  };
3635
3635
  get?: never;
3636
3636
  /**
3637
- * @description Set Listing Parent. A child with a non-zero opening balance must be cleared before grouping. A current in-review child statement can join a matching published parent statement.
3637
+ * @description Set a listing's group parent. Grouping requires compatible ownership and unlocked child history; a current in-review child statement can join a matching published parent statement.
3638
3638
  *
3639
3639
  * Required scope: listings:write
3640
3640
  */
@@ -7155,20 +7155,20 @@ export interface paths {
7155
7155
  cookie?: never;
7156
7156
  };
7157
7157
  /**
7158
- * @description Get a transaction. Ramp payout reads include the latest immutable provider attempt and server-owned payment and recovery action capabilities with disabled reasons.
7158
+ * @description Get a transaction. Ramp expense and payout reads include the latest immutable provider attempt and server-owned payment and recovery action capabilities with disabled reasons.
7159
7159
  *
7160
7160
  * Required scope: transactions:read
7161
7161
  */
7162
7162
  get: operations["getTransactionsById"];
7163
7163
  /**
7164
- * @description Update a transaction by ID. Locks apply per line: lines whose journal entries are attached to an owner statement or fall into a books-closed month are locked while the remaining lines stay editable. Changing line account, assignment, listing, or reservation context can recompute a default or forced party. A bank-record match alone still permits deposit and expense description, line account, party, listing, reservation, and expense-markup changes. Amount, date, root bank account, line creation, and line deletion require unmatching first. Books-closed and statement locks still take precedence. After the first Ramp payment attempt, ordinary payout mutations accept only description updates. A status-only archive or unarchive additionally requires durable Ramp bill archive or verified no-bill recovery evidence. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. A uniqueRef already used by another team transaction returns a structured user error.
7164
+ * @description Update a transaction by ID. Locks apply per line: lines whose journal entries are attached to an owner statement or fall into a books-closed month are locked while the remaining lines stay editable. Changing line account, assignment, listing, or reservation context can recompute a default or forced party. A bank-record match alone still permits deposit and expense description, line account, party, listing, reservation, and expense-markup changes. Amount, date, root bank account, line creation, and line deletion require unmatching first. Books-closed and statement locks still take precedence. After the first Ramp payment attempt, ordinary expense and payout mutations accept only description updates. A status-only archive or unarchive additionally requires durable Ramp bill archive or verified no-bill recovery evidence. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. A uniqueRef already used by another team transaction returns a structured user error.
7165
7165
  *
7166
7166
  * Required scope: transactions:write
7167
7167
  */
7168
7168
  put: operations["putTransactionsById"];
7169
7169
  post?: never;
7170
7170
  /**
7171
- * @description Delete a transaction by ID. Use onLocked=archive to archive eligible locked transactions; the option does not bypass statement, books-closed, or reconciliation rules. Payouts with a Requested, Processing, or Paid Ramp payment cannot be deleted until the provider attempt becomes terminal. A concurrent duplicate delete returns the standard not-found response after the first request removes the transaction.
7171
+ * @description Delete a transaction by ID. Use onLocked=archive to archive eligible locked transactions; the option does not bypass statement, books-closed, or reconciliation rules. Expenses and payouts with Ramp payment history cannot be deleted. A concurrent duplicate delete returns the standard not-found response after the first request removes the transaction.
7172
7172
  *
7173
7173
  * Required scope: transactions:delete
7174
7174
  */
@@ -7252,7 +7252,7 @@ export interface paths {
7252
7252
  get?: never;
7253
7253
  put?: never;
7254
7254
  /**
7255
- * @description Archive a failed, returned, or canceled Ramp bill before archiving payout accounting. Poll the returned `operationId` through `GET /operations/{id}`; paid payouts cannot be archived.
7255
+ * @description Archive a failed, returned, or canceled Ramp bill before archiving expense or payout accounting. Poll the returned `operationId` through `GET /operations/{id}`; paid provider payments cannot be archived.
7256
7256
  *
7257
7257
  * Required scope: transactions:write, ach-payments:execute
7258
7258
  */
@@ -7273,7 +7273,7 @@ export interface paths {
7273
7273
  get?: never;
7274
7274
  put?: never;
7275
7275
  /**
7276
- * @description Request cancellation of a requested or processing Ramp payment, optionally followed by payout accounting archive. Poll the returned `operationId` through `GET /operations/{id}`; Ramp remains authoritative about cancellation eligibility.
7276
+ * @description Request cancellation of a requested or processing Ramp payment, optionally followed by transaction accounting archive. Poll the returned `operationId` through `GET /operations/{id}`; Ramp remains authoritative about cancellation eligibility.
7277
7277
  *
7278
7278
  * Required scope: transactions:mark-paid, ach-payments:execute
7279
7279
  */
@@ -11116,7 +11116,7 @@ export interface operations {
11116
11116
  /** @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. */
11117
11117
  attachmentIds?: string[] | null;
11118
11118
  recurringTemplateId?: string | null;
11119
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
11119
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
11120
11120
  recreatedFromTransactionId?: string | null;
11121
11121
  matchBankAccountLast4?: string | null;
11122
11122
  id: string;
@@ -17965,7 +17965,7 @@ export interface operations {
17965
17965
  connectionId?: string | null;
17966
17966
  sourceId?: string | null;
17967
17967
  recurringTemplateId?: string | null;
17968
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
17968
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
17969
17969
  recreatedFromTransactionId?: string | null;
17970
17970
  matchBankAccountLast4?: string | null;
17971
17971
  };
@@ -19149,7 +19149,7 @@ export interface operations {
19149
19149
  connectionId?: string | null;
19150
19150
  sourceId?: string | null;
19151
19151
  recurringTemplateId?: string | null;
19152
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
19152
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
19153
19153
  recreatedFromTransactionId?: string | null;
19154
19154
  matchBankAccountLast4?: string | null;
19155
19155
  };
@@ -20840,7 +20840,7 @@ export interface operations {
20840
20840
  connectionId?: string | null;
20841
20841
  sourceId?: string | null;
20842
20842
  recurringTemplateId?: string | null;
20843
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
20843
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
20844
20844
  recreatedFromTransactionId?: string | null;
20845
20845
  matchBankAccountLast4?: string | null;
20846
20846
  };
@@ -22189,7 +22189,7 @@ export interface operations {
22189
22189
  connectionId?: string | null;
22190
22190
  sourceId?: string | null;
22191
22191
  recurringTemplateId?: string | null;
22192
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
22192
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
22193
22193
  recreatedFromTransactionId?: string | null;
22194
22194
  matchBankAccountLast4?: string | null;
22195
22195
  };
@@ -35365,7 +35365,7 @@ export interface operations {
35365
35365
  } | null;
35366
35366
  sourceId?: string | null;
35367
35367
  recurringTemplateId?: string | null;
35368
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
35368
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
35369
35369
  recreatedFromTransactionId?: string | null;
35370
35370
  matchBankAccountLast4?: string | null;
35371
35371
  id?: string;
@@ -35580,7 +35580,7 @@ export interface operations {
35580
35580
  } | null;
35581
35581
  sourceId?: string | null;
35582
35582
  recurringTemplateId?: string | null;
35583
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
35583
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
35584
35584
  recreatedFromTransactionId?: string | null;
35585
35585
  matchBankAccountLast4?: string | null;
35586
35586
  id?: string;
@@ -130541,7 +130541,7 @@ export interface operations {
130541
130541
  /** @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. */
130542
130542
  attachmentIds?: string[] | null;
130543
130543
  recurringTemplateId?: string | null;
130544
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
130544
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
130545
130545
  recreatedFromTransactionId?: string | null;
130546
130546
  matchBankAccountLast4?: string | null;
130547
130547
  id: string;
@@ -148728,7 +148728,7 @@ export interface operations {
148728
148728
  /** @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. */
148729
148729
  attachmentIds?: string[] | null;
148730
148730
  recurringTemplateId?: string | null;
148731
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
148731
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
148732
148732
  recreatedFromTransactionId?: string | null;
148733
148733
  matchBankAccountLast4?: string | null;
148734
148734
  id: string;
@@ -148934,7 +148934,7 @@ export interface operations {
148934
148934
  */
148935
148935
  updatedAt: string;
148936
148936
  } | null;
148937
- /** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
148937
+ /** @description Server-owned Ramp expense and payout recovery capabilities. Permissions remain independently enforced. */
148938
148938
  providerPaymentActions: {
148939
148939
  pay: {
148940
148940
  /** @description Whether current provider and accounting state allows the action. */
@@ -149330,7 +149330,7 @@ export interface operations {
149330
149330
  connectionId?: string | null;
149331
149331
  sourceId?: string | null;
149332
149332
  recurringTemplateId?: string | null;
149333
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
149333
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
149334
149334
  recreatedFromTransactionId?: string | null;
149335
149335
  matchBankAccountLast4?: string | null;
149336
149336
  };
@@ -149481,7 +149481,7 @@ export interface operations {
149481
149481
  /** @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. */
149482
149482
  attachmentIds?: string[] | null;
149483
149483
  recurringTemplateId?: string | null;
149484
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
149484
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
149485
149485
  recreatedFromTransactionId?: string | null;
149486
149486
  matchBankAccountLast4?: string | null;
149487
149487
  id: string;
@@ -151265,7 +151265,7 @@ export interface operations {
151265
151265
  } | null;
151266
151266
  sourceId?: string | null;
151267
151267
  recurringTemplateId?: string | null;
151268
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
151268
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
151269
151269
  recreatedFromTransactionId?: string | null;
151270
151270
  matchBankAccountLast4?: string | null;
151271
151271
  id?: string;
@@ -154862,7 +154862,7 @@ export interface operations {
154862
154862
  /** @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. */
154863
154863
  attachmentIds?: string[] | null;
154864
154864
  recurringTemplateId?: string | null;
154865
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
154865
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
154866
154866
  recreatedFromTransactionId?: string | null;
154867
154867
  matchBankAccountLast4?: string | null;
154868
154868
  id: string;
@@ -155405,7 +155405,7 @@ export interface operations {
155405
155405
  /** @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. */
155406
155406
  attachmentIds?: string[] | null;
155407
155407
  recurringTemplateId?: string | null;
155408
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
155408
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
155409
155409
  recreatedFromTransactionId?: string | null;
155410
155410
  matchBankAccountLast4?: string | null;
155411
155411
  id: string;
@@ -155611,7 +155611,7 @@ export interface operations {
155611
155611
  */
155612
155612
  updatedAt: string;
155613
155613
  } | null;
155614
- /** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
155614
+ /** @description Server-owned Ramp expense and payout recovery capabilities. Permissions remain independently enforced. */
155615
155615
  providerPaymentActions: {
155616
155616
  pay: {
155617
155617
  /** @description Whether current provider and accounting state allows the action. */
@@ -156219,7 +156219,7 @@ export interface operations {
156219
156219
  /** @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. */
156220
156220
  attachmentIds?: string[] | null;
156221
156221
  recurringTemplateId?: string | null;
156222
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
156222
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
156223
156223
  recreatedFromTransactionId?: string | null;
156224
156224
  matchBankAccountLast4?: string | null;
156225
156225
  id: string;
@@ -158445,7 +158445,7 @@ export interface operations {
158445
158445
  /** @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. */
158446
158446
  attachmentIds?: string[] | null;
158447
158447
  recurringTemplateId?: string | null;
158448
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
158448
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
158449
158449
  recreatedFromTransactionId?: string | null;
158450
158450
  matchBankAccountLast4?: string | null;
158451
158451
  id: string;