@vrplatform/api 1.3.1-6522 → 1.3.1-6533

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.
@@ -3633,7 +3633,7 @@ export interface paths {
3633
3633
  };
3634
3634
  get?: never;
3635
3635
  /**
3636
- * @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.
3636
+ * @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.
3637
3637
  *
3638
3638
  * Required scope: listings:write
3639
3639
  */
@@ -7154,20 +7154,20 @@ export interface paths {
7154
7154
  cookie?: never;
7155
7155
  };
7156
7156
  /**
7157
- * @description Get a transaction. Ramp payout reads include the latest immutable provider attempt and server-owned payment and recovery action capabilities with disabled reasons.
7157
+ * @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.
7158
7158
  *
7159
7159
  * Required scope: transactions:read
7160
7160
  */
7161
7161
  get: operations["getTransactionsById"];
7162
7162
  /**
7163
- * @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.
7163
+ * @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.
7164
7164
  *
7165
7165
  * Required scope: transactions:write
7166
7166
  */
7167
7167
  put: operations["putTransactionsById"];
7168
7168
  post?: never;
7169
7169
  /**
7170
- * @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.
7170
+ * @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.
7171
7171
  *
7172
7172
  * Required scope: transactions:delete
7173
7173
  */
@@ -7251,7 +7251,7 @@ export interface paths {
7251
7251
  get?: never;
7252
7252
  put?: never;
7253
7253
  /**
7254
- * @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.
7254
+ * @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.
7255
7255
  *
7256
7256
  * Required scope: transactions:write, ach-payments:execute
7257
7257
  */
@@ -7272,7 +7272,7 @@ export interface paths {
7272
7272
  get?: never;
7273
7273
  put?: never;
7274
7274
  /**
7275
- * @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.
7275
+ * @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.
7276
7276
  *
7277
7277
  * Required scope: transactions:mark-paid, ach-payments:execute
7278
7278
  */
@@ -11115,7 +11115,7 @@ export interface operations {
11115
11115
  /** @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. */
11116
11116
  attachmentIds?: string[] | null;
11117
11117
  recurringTemplateId?: string | null;
11118
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
11118
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
11119
11119
  recreatedFromTransactionId?: string | null;
11120
11120
  matchBankAccountLast4?: string | null;
11121
11121
  id: string;
@@ -17964,7 +17964,7 @@ export interface operations {
17964
17964
  connectionId?: string | null;
17965
17965
  sourceId?: string | null;
17966
17966
  recurringTemplateId?: string | null;
17967
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
17967
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
17968
17968
  recreatedFromTransactionId?: string | null;
17969
17969
  matchBankAccountLast4?: string | null;
17970
17970
  };
@@ -19148,7 +19148,7 @@ export interface operations {
19148
19148
  connectionId?: string | null;
19149
19149
  sourceId?: string | null;
19150
19150
  recurringTemplateId?: string | null;
19151
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
19151
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
19152
19152
  recreatedFromTransactionId?: string | null;
19153
19153
  matchBankAccountLast4?: string | null;
19154
19154
  };
@@ -20839,7 +20839,7 @@ export interface operations {
20839
20839
  connectionId?: string | null;
20840
20840
  sourceId?: string | null;
20841
20841
  recurringTemplateId?: string | null;
20842
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
20842
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
20843
20843
  recreatedFromTransactionId?: string | null;
20844
20844
  matchBankAccountLast4?: string | null;
20845
20845
  };
@@ -22188,7 +22188,7 @@ export interface operations {
22188
22188
  connectionId?: string | null;
22189
22189
  sourceId?: string | null;
22190
22190
  recurringTemplateId?: string | null;
22191
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
22191
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
22192
22192
  recreatedFromTransactionId?: string | null;
22193
22193
  matchBankAccountLast4?: string | null;
22194
22194
  };
@@ -35364,7 +35364,7 @@ export interface operations {
35364
35364
  } | null;
35365
35365
  sourceId?: string | null;
35366
35366
  recurringTemplateId?: string | null;
35367
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
35367
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
35368
35368
  recreatedFromTransactionId?: string | null;
35369
35369
  matchBankAccountLast4?: string | null;
35370
35370
  id?: string;
@@ -35579,7 +35579,7 @@ export interface operations {
35579
35579
  } | null;
35580
35580
  sourceId?: string | null;
35581
35581
  recurringTemplateId?: string | null;
35582
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
35582
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
35583
35583
  recreatedFromTransactionId?: string | null;
35584
35584
  matchBankAccountLast4?: string | null;
35585
35585
  id?: string;
@@ -130540,7 +130540,7 @@ export interface operations {
130540
130540
  /** @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. */
130541
130541
  attachmentIds?: string[] | null;
130542
130542
  recurringTemplateId?: string | null;
130543
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
130543
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
130544
130544
  recreatedFromTransactionId?: string | null;
130545
130545
  matchBankAccountLast4?: string | null;
130546
130546
  id: string;
@@ -148727,7 +148727,7 @@ export interface operations {
148727
148727
  /** @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. */
148728
148728
  attachmentIds?: string[] | null;
148729
148729
  recurringTemplateId?: string | null;
148730
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
148730
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
148731
148731
  recreatedFromTransactionId?: string | null;
148732
148732
  matchBankAccountLast4?: string | null;
148733
148733
  id: string;
@@ -148933,7 +148933,7 @@ export interface operations {
148933
148933
  */
148934
148934
  updatedAt: string;
148935
148935
  } | null;
148936
- /** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
148936
+ /** @description Server-owned Ramp expense and payout recovery capabilities. Permissions remain independently enforced. */
148937
148937
  providerPaymentActions: {
148938
148938
  pay: {
148939
148939
  /** @description Whether current provider and accounting state allows the action. */
@@ -149329,7 +149329,7 @@ export interface operations {
149329
149329
  connectionId?: string | null;
149330
149330
  sourceId?: string | null;
149331
149331
  recurringTemplateId?: string | null;
149332
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
149332
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
149333
149333
  recreatedFromTransactionId?: string | null;
149334
149334
  matchBankAccountLast4?: string | null;
149335
149335
  };
@@ -149480,7 +149480,7 @@ export interface operations {
149480
149480
  /** @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. */
149481
149481
  attachmentIds?: string[] | null;
149482
149482
  recurringTemplateId?: string | null;
149483
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
149483
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
149484
149484
  recreatedFromTransactionId?: string | null;
149485
149485
  matchBankAccountLast4?: string | null;
149486
149486
  id: string;
@@ -151264,7 +151264,7 @@ export interface operations {
151264
151264
  } | null;
151265
151265
  sourceId?: string | null;
151266
151266
  recurringTemplateId?: string | null;
151267
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
151267
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
151268
151268
  recreatedFromTransactionId?: string | null;
151269
151269
  matchBankAccountLast4?: string | null;
151270
151270
  id?: string;
@@ -154861,7 +154861,7 @@ export interface operations {
154861
154861
  /** @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. */
154862
154862
  attachmentIds?: string[] | null;
154863
154863
  recurringTemplateId?: string | null;
154864
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
154864
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
154865
154865
  recreatedFromTransactionId?: string | null;
154866
154866
  matchBankAccountLast4?: string | null;
154867
154867
  id: string;
@@ -155404,7 +155404,7 @@ export interface operations {
155404
155404
  /** @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. */
155405
155405
  attachmentIds?: string[] | null;
155406
155406
  recurringTemplateId?: string | null;
155407
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
155407
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
155408
155408
  recreatedFromTransactionId?: string | null;
155409
155409
  matchBankAccountLast4?: string | null;
155410
155410
  id: string;
@@ -155610,7 +155610,7 @@ export interface operations {
155610
155610
  */
155611
155611
  updatedAt: string;
155612
155612
  } | null;
155613
- /** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
155613
+ /** @description Server-owned Ramp expense and payout recovery capabilities. Permissions remain independently enforced. */
155614
155614
  providerPaymentActions: {
155615
155615
  pay: {
155616
155616
  /** @description Whether current provider and accounting state allows the action. */
@@ -156218,7 +156218,7 @@ export interface operations {
156218
156218
  /** @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. */
156219
156219
  attachmentIds?: string[] | null;
156220
156220
  recurringTemplateId?: string | null;
156221
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
156221
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
156222
156222
  recreatedFromTransactionId?: string | null;
156223
156223
  matchBankAccountLast4?: string | null;
156224
156224
  id: string;
@@ -158444,7 +158444,7 @@ export interface operations {
158444
158444
  /** @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. */
158445
158445
  attachmentIds?: string[] | null;
158446
158446
  recurringTemplateId?: string | null;
158447
- /** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
158447
+ /** @description Archived expense or payout replaced by this transaction. The source and every other transaction in its replacement chain must remain inactive. */
158448
158448
  recreatedFromTransactionId?: string | null;
158449
158449
  matchBankAccountLast4?: string | null;
158450
158450
  id: string;