@vrplatform/api 1.3.1-stage.6437 → 1.3.1-stage.6445
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.
|
@@ -545,7 +545,7 @@ export interface paths {
|
|
|
545
545
|
cookie?: never;
|
|
546
546
|
};
|
|
547
547
|
/**
|
|
548
|
-
* @description
|
|
548
|
+
* @description List bank records with optional reconciliation suggestions and bank-rule previews.
|
|
549
549
|
*
|
|
550
550
|
* Required scope: bank-records:read
|
|
551
551
|
*/
|
|
@@ -608,7 +608,7 @@ export interface paths {
|
|
|
608
608
|
cookie?: never;
|
|
609
609
|
};
|
|
610
610
|
/**
|
|
611
|
-
* @description Get a bank record
|
|
611
|
+
* @description Get a bank record with optional reconciliation suggestions and bank-rule previews.
|
|
612
612
|
*
|
|
613
613
|
* Required scope: bank-records:read
|
|
614
614
|
*/
|
|
@@ -6378,7 +6378,7 @@ export interface paths {
|
|
|
6378
6378
|
cookie?: never;
|
|
6379
6379
|
};
|
|
6380
6380
|
/**
|
|
6381
|
-
* @description
|
|
6381
|
+
* @description List transactions. Each row includes the latest Ramp provider attempt and server-owned payment and recovery action capabilities with disabled reasons.
|
|
6382
6382
|
*
|
|
6383
6383
|
* Required scope: transactions:read
|
|
6384
6384
|
*/
|
|
@@ -6676,13 +6676,13 @@ export interface paths {
|
|
|
6676
6676
|
cookie?: never;
|
|
6677
6677
|
};
|
|
6678
6678
|
/**
|
|
6679
|
-
* @description
|
|
6679
|
+
* @description Get a transaction. Ramp payout reads include the latest immutable provider attempt and server-owned payment and recovery action capabilities with disabled reasons.
|
|
6680
6680
|
*
|
|
6681
6681
|
* Required scope: transactions:read
|
|
6682
6682
|
*/
|
|
6683
6683
|
get: operations["getTransactionsById"];
|
|
6684
6684
|
/**
|
|
6685
|
-
* @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.
|
|
6685
|
+
* @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.
|
|
6686
6686
|
*
|
|
6687
6687
|
* Required scope: transactions:write
|
|
6688
6688
|
*/
|
|
@@ -6709,7 +6709,7 @@ export interface paths {
|
|
|
6709
6709
|
get?: never;
|
|
6710
6710
|
put?: never;
|
|
6711
6711
|
/**
|
|
6712
|
-
* @description Record an expense as paid manually, or request a Ramp ACH payment for an expense or payout. Manual recording requires transactions:mark-paid. Ramp requests additionally require ach-payments:execute and a fundingAccountId whose imported source provides the exact Ramp entity and bank account. Every outbound bill Category account must also have a completed current Ramp chart-of-accounts push. A
|
|
6712
|
+
* @description Record an expense as paid manually, or request a Ramp ACH payment for an expense or payout. Manual recording requires transactions:mark-paid. Ramp requests additionally require ach-payments:execute and a fundingAccountId whose imported source provides the exact Ramp entity and bank account. Every outbound bill Category account must also have a completed current Ramp chart-of-accounts push. A payout can be submitted to Ramp only once; failed or returned payouts must be archived and recreated.
|
|
6713
6713
|
*
|
|
6714
6714
|
* Required scope: transactions:mark-paid
|
|
6715
6715
|
*/
|
|
@@ -6752,7 +6752,8 @@ export interface paths {
|
|
|
6752
6752
|
put?: never;
|
|
6753
6753
|
post?: never;
|
|
6754
6754
|
/**
|
|
6755
|
-
* @
|
|
6755
|
+
* @deprecated
|
|
6756
|
+
* @description Deprecated compatibility endpoint. Provider payment history is permanent and cannot be unlinked.
|
|
6756
6757
|
*
|
|
6757
6758
|
* Required scope: transactions:mark-paid, ach-payments:execute
|
|
6758
6759
|
*/
|
|
@@ -6762,6 +6763,27 @@ export interface paths {
|
|
|
6762
6763
|
patch?: never;
|
|
6763
6764
|
trace?: never;
|
|
6764
6765
|
};
|
|
6766
|
+
"/transactions/{id}/provider-payments/{providerPaymentId}/archive": {
|
|
6767
|
+
parameters: {
|
|
6768
|
+
query?: never;
|
|
6769
|
+
header?: never;
|
|
6770
|
+
path?: never;
|
|
6771
|
+
cookie?: never;
|
|
6772
|
+
};
|
|
6773
|
+
get?: never;
|
|
6774
|
+
put?: never;
|
|
6775
|
+
/**
|
|
6776
|
+
* @description Archive a failed, returned, or canceled Ramp bill and then archive the payout accounting. Paid payouts cannot be archived. The provider mutation completes before journal entries are made inactive.
|
|
6777
|
+
*
|
|
6778
|
+
* Required scope: transactions:write, ach-payments:execute
|
|
6779
|
+
*/
|
|
6780
|
+
post: operations["postTransactionsByIdProviderPaymentsByProviderPaymentIdArchive"];
|
|
6781
|
+
delete?: never;
|
|
6782
|
+
options?: never;
|
|
6783
|
+
head?: never;
|
|
6784
|
+
patch?: never;
|
|
6785
|
+
trace?: never;
|
|
6786
|
+
};
|
|
6765
6787
|
"/transactions/{id}/provider-payments/{providerPaymentId}/cancel": {
|
|
6766
6788
|
parameters: {
|
|
6767
6789
|
query?: never;
|
|
@@ -6772,7 +6794,7 @@ export interface paths {
|
|
|
6772
6794
|
get?: never;
|
|
6773
6795
|
put?: never;
|
|
6774
6796
|
/**
|
|
6775
|
-
* @description Request cancellation of a requested or processing Ramp payment. Ramp
|
|
6797
|
+
* @description Request cancellation of a requested or processing Ramp payment. Ramp is authoritative about cancellation eligibility. archivePayout=true first validates local accounting, then archives the payout only after the Ramp bill archive is durable. archivePayout=false stops money movement without changing payout accounting.
|
|
6776
6798
|
*
|
|
6777
6799
|
* Required scope: transactions:mark-paid, ach-payments:execute
|
|
6778
6800
|
*/
|
|
@@ -10615,6 +10637,8 @@ export interface operations {
|
|
|
10615
10637
|
/** @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. */
|
|
10616
10638
|
attachmentIds?: string[] | null;
|
|
10617
10639
|
recurringTemplateId?: string | null;
|
|
10640
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
10641
|
+
recreatedFromTransactionId?: string | null;
|
|
10618
10642
|
matchBankAccountLast4?: string | null;
|
|
10619
10643
|
id: string;
|
|
10620
10644
|
shortRef?: string | null;
|
|
@@ -17130,6 +17154,7 @@ export interface operations {
|
|
|
17130
17154
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
17131
17155
|
matchedByBankRule?: boolean;
|
|
17132
17156
|
includeBalanceRecords?: boolean;
|
|
17157
|
+
/** @description Include bank-rule suggestions; defaults to true when includeMatchingTransactions is set */
|
|
17133
17158
|
includeMatchingRules?: boolean;
|
|
17134
17159
|
/** @description Include matching transactions, optionally with max days offset */
|
|
17135
17160
|
includeMatchingTransactions?: string;
|
|
@@ -17245,7 +17270,37 @@ export interface operations {
|
|
|
17245
17270
|
recurringTemplate?: {
|
|
17246
17271
|
id: string;
|
|
17247
17272
|
} | null;
|
|
17273
|
+
/** @description Absolute difference in days from the bank record date */
|
|
17248
17274
|
dateOffset: number;
|
|
17275
|
+
/** @description Structured explanation for the transaction suggestion */
|
|
17276
|
+
matchDetails: {
|
|
17277
|
+
/** @description Whether another candidate has the same date offset */
|
|
17278
|
+
ambiguous: boolean;
|
|
17279
|
+
/** @description Candidate amount minus bank record amount, in cents; exact matches return zero */
|
|
17280
|
+
amountDifference: number;
|
|
17281
|
+
/** @description Transaction date used to evaluate the bank-record date window */
|
|
17282
|
+
matchingDate: string;
|
|
17283
|
+
/** @description Maximum eligible difference in days */
|
|
17284
|
+
maxDateOffset: number;
|
|
17285
|
+
/** @description Typed criteria satisfied by this candidate */
|
|
17286
|
+
reasons: ("exactAmount" | "sameBankAccount" | "bankAccountAssignedOnMatch" | "dateWithinWindow")[];
|
|
17287
|
+
};
|
|
17288
|
+
/** @description Unique listings referenced by the transaction lines */
|
|
17289
|
+
listings: {
|
|
17290
|
+
/** Format: uuid */
|
|
17291
|
+
id: string;
|
|
17292
|
+
name: string;
|
|
17293
|
+
uniqueRef?: string | null;
|
|
17294
|
+
shortRef?: string | null;
|
|
17295
|
+
}[];
|
|
17296
|
+
/** @description Unique reservations referenced by the transaction lines */
|
|
17297
|
+
reservations: {
|
|
17298
|
+
/** Format: uuid */
|
|
17299
|
+
id: string;
|
|
17300
|
+
confirmationCode?: string | null;
|
|
17301
|
+
uniqueRef?: string | null;
|
|
17302
|
+
shortRef?: string | null;
|
|
17303
|
+
}[];
|
|
17249
17304
|
}[] | null;
|
|
17250
17305
|
matchingRules?: {
|
|
17251
17306
|
rule: {
|
|
@@ -17329,9 +17384,45 @@ export interface operations {
|
|
|
17329
17384
|
connectionId?: string | null;
|
|
17330
17385
|
sourceId?: string | null;
|
|
17331
17386
|
recurringTemplateId?: string | null;
|
|
17387
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
17388
|
+
recreatedFromTransactionId?: string | null;
|
|
17332
17389
|
matchBankAccountLast4?: string | null;
|
|
17333
17390
|
};
|
|
17334
17391
|
};
|
|
17392
|
+
/** @description Structured explanation for the bank-rule suggestion */
|
|
17393
|
+
matchDetails: {
|
|
17394
|
+
/** @description Whether another matching rule has the same mode and priority */
|
|
17395
|
+
ambiguous: boolean;
|
|
17396
|
+
/** @description Whether the rule is limited to selected bank accounts */
|
|
17397
|
+
hasAccountScope: boolean;
|
|
17398
|
+
/** @description Whether the bank record satisfies the rule account scope */
|
|
17399
|
+
accountMatches: boolean;
|
|
17400
|
+
/** @description Whether deposit or expense direction matches the record */
|
|
17401
|
+
directionMatches: boolean;
|
|
17402
|
+
/**
|
|
17403
|
+
* @description Whether all or any configured conditions must match
|
|
17404
|
+
* @enum {string}
|
|
17405
|
+
*/
|
|
17406
|
+
matchMode: "all" | "any";
|
|
17407
|
+
/** @description Evaluation result for every configured condition */
|
|
17408
|
+
conditions: {
|
|
17409
|
+
condition: {
|
|
17410
|
+
/** @constant */
|
|
17411
|
+
type: "description";
|
|
17412
|
+
/** @enum {string} */
|
|
17413
|
+
operator: "contains" | "equals" | "startsWith";
|
|
17414
|
+
value: string;
|
|
17415
|
+
} | {
|
|
17416
|
+
/** @constant */
|
|
17417
|
+
type: "amount";
|
|
17418
|
+
/** @enum {string} */
|
|
17419
|
+
operator: ">" | ">=" | "=" | "<" | "<=";
|
|
17420
|
+
centValue: number;
|
|
17421
|
+
};
|
|
17422
|
+
/** @description Whether this individual condition matches */
|
|
17423
|
+
matches: boolean;
|
|
17424
|
+
}[];
|
|
17425
|
+
};
|
|
17335
17426
|
}[] | null;
|
|
17336
17427
|
currency?: string | null;
|
|
17337
17428
|
}[];
|
|
@@ -17891,6 +17982,7 @@ export interface operations {
|
|
|
17891
17982
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
17892
17983
|
matchedByBankRule?: boolean;
|
|
17893
17984
|
includeBalanceRecords?: boolean;
|
|
17985
|
+
/** @description Include bank-rule suggestions; defaults to true when includeMatchingTransactions is set */
|
|
17894
17986
|
includeMatchingRules?: boolean;
|
|
17895
17987
|
/** @description Include matching transactions, optionally with max days offset */
|
|
17896
17988
|
includeMatchingTransactions?: string;
|
|
@@ -18146,6 +18238,7 @@ export interface operations {
|
|
|
18146
18238
|
getBankRecordsById: {
|
|
18147
18239
|
parameters: {
|
|
18148
18240
|
query?: {
|
|
18241
|
+
/** @description Include bank-rule suggestions; defaults to true when includeMatchingTransactions is set */
|
|
18149
18242
|
includeMatchingRules?: boolean;
|
|
18150
18243
|
/** @description Include matching transactions, optionally with max days offset */
|
|
18151
18244
|
includeMatchingTransactions?: string;
|
|
@@ -18255,7 +18348,37 @@ export interface operations {
|
|
|
18255
18348
|
recurringTemplate?: {
|
|
18256
18349
|
id: string;
|
|
18257
18350
|
} | null;
|
|
18351
|
+
/** @description Absolute difference in days from the bank record date */
|
|
18258
18352
|
dateOffset: number;
|
|
18353
|
+
/** @description Structured explanation for the transaction suggestion */
|
|
18354
|
+
matchDetails: {
|
|
18355
|
+
/** @description Whether another candidate has the same date offset */
|
|
18356
|
+
ambiguous: boolean;
|
|
18357
|
+
/** @description Candidate amount minus bank record amount, in cents; exact matches return zero */
|
|
18358
|
+
amountDifference: number;
|
|
18359
|
+
/** @description Transaction date used to evaluate the bank-record date window */
|
|
18360
|
+
matchingDate: string;
|
|
18361
|
+
/** @description Maximum eligible difference in days */
|
|
18362
|
+
maxDateOffset: number;
|
|
18363
|
+
/** @description Typed criteria satisfied by this candidate */
|
|
18364
|
+
reasons: ("exactAmount" | "sameBankAccount" | "bankAccountAssignedOnMatch" | "dateWithinWindow")[];
|
|
18365
|
+
};
|
|
18366
|
+
/** @description Unique listings referenced by the transaction lines */
|
|
18367
|
+
listings: {
|
|
18368
|
+
/** Format: uuid */
|
|
18369
|
+
id: string;
|
|
18370
|
+
name: string;
|
|
18371
|
+
uniqueRef?: string | null;
|
|
18372
|
+
shortRef?: string | null;
|
|
18373
|
+
}[];
|
|
18374
|
+
/** @description Unique reservations referenced by the transaction lines */
|
|
18375
|
+
reservations: {
|
|
18376
|
+
/** Format: uuid */
|
|
18377
|
+
id: string;
|
|
18378
|
+
confirmationCode?: string | null;
|
|
18379
|
+
uniqueRef?: string | null;
|
|
18380
|
+
shortRef?: string | null;
|
|
18381
|
+
}[];
|
|
18259
18382
|
}[] | null;
|
|
18260
18383
|
matchingRules?: {
|
|
18261
18384
|
rule: {
|
|
@@ -18339,9 +18462,45 @@ export interface operations {
|
|
|
18339
18462
|
connectionId?: string | null;
|
|
18340
18463
|
sourceId?: string | null;
|
|
18341
18464
|
recurringTemplateId?: string | null;
|
|
18465
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
18466
|
+
recreatedFromTransactionId?: string | null;
|
|
18342
18467
|
matchBankAccountLast4?: string | null;
|
|
18343
18468
|
};
|
|
18344
18469
|
};
|
|
18470
|
+
/** @description Structured explanation for the bank-rule suggestion */
|
|
18471
|
+
matchDetails: {
|
|
18472
|
+
/** @description Whether another matching rule has the same mode and priority */
|
|
18473
|
+
ambiguous: boolean;
|
|
18474
|
+
/** @description Whether the rule is limited to selected bank accounts */
|
|
18475
|
+
hasAccountScope: boolean;
|
|
18476
|
+
/** @description Whether the bank record satisfies the rule account scope */
|
|
18477
|
+
accountMatches: boolean;
|
|
18478
|
+
/** @description Whether deposit or expense direction matches the record */
|
|
18479
|
+
directionMatches: boolean;
|
|
18480
|
+
/**
|
|
18481
|
+
* @description Whether all or any configured conditions must match
|
|
18482
|
+
* @enum {string}
|
|
18483
|
+
*/
|
|
18484
|
+
matchMode: "all" | "any";
|
|
18485
|
+
/** @description Evaluation result for every configured condition */
|
|
18486
|
+
conditions: {
|
|
18487
|
+
condition: {
|
|
18488
|
+
/** @constant */
|
|
18489
|
+
type: "description";
|
|
18490
|
+
/** @enum {string} */
|
|
18491
|
+
operator: "contains" | "equals" | "startsWith";
|
|
18492
|
+
value: string;
|
|
18493
|
+
} | {
|
|
18494
|
+
/** @constant */
|
|
18495
|
+
type: "amount";
|
|
18496
|
+
/** @enum {string} */
|
|
18497
|
+
operator: ">" | ">=" | "=" | "<" | "<=";
|
|
18498
|
+
centValue: number;
|
|
18499
|
+
};
|
|
18500
|
+
/** @description Whether this individual condition matches */
|
|
18501
|
+
matches: boolean;
|
|
18502
|
+
}[];
|
|
18503
|
+
};
|
|
18345
18504
|
}[] | null;
|
|
18346
18505
|
currency?: string | null;
|
|
18347
18506
|
};
|
|
@@ -19992,6 +20151,8 @@ export interface operations {
|
|
|
19992
20151
|
connectionId?: string | null;
|
|
19993
20152
|
sourceId?: string | null;
|
|
19994
20153
|
recurringTemplateId?: string | null;
|
|
20154
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
20155
|
+
recreatedFromTransactionId?: string | null;
|
|
19995
20156
|
matchBankAccountLast4?: string | null;
|
|
19996
20157
|
};
|
|
19997
20158
|
}[];
|
|
@@ -21339,6 +21500,8 @@ export interface operations {
|
|
|
21339
21500
|
connectionId?: string | null;
|
|
21340
21501
|
sourceId?: string | null;
|
|
21341
21502
|
recurringTemplateId?: string | null;
|
|
21503
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
21504
|
+
recreatedFromTransactionId?: string | null;
|
|
21342
21505
|
matchBankAccountLast4?: string | null;
|
|
21343
21506
|
};
|
|
21344
21507
|
} | null;
|
|
@@ -34512,6 +34675,8 @@ export interface operations {
|
|
|
34512
34675
|
} | null;
|
|
34513
34676
|
sourceId?: string | null;
|
|
34514
34677
|
recurringTemplateId?: string | null;
|
|
34678
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
34679
|
+
recreatedFromTransactionId?: string | null;
|
|
34515
34680
|
matchBankAccountLast4?: string | null;
|
|
34516
34681
|
id?: string;
|
|
34517
34682
|
};
|
|
@@ -34724,6 +34889,8 @@ export interface operations {
|
|
|
34724
34889
|
} | null;
|
|
34725
34890
|
sourceId?: string | null;
|
|
34726
34891
|
recurringTemplateId?: string | null;
|
|
34892
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
34893
|
+
recreatedFromTransactionId?: string | null;
|
|
34727
34894
|
matchBankAccountLast4?: string | null;
|
|
34728
34895
|
id?: string;
|
|
34729
34896
|
};
|
|
@@ -112856,6 +113023,10 @@ export interface operations {
|
|
|
112856
113023
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
112857
113024
|
/** @description Ramp bill status summary returned by the provider. */
|
|
112858
113025
|
providerStatus: string | null;
|
|
113026
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
113027
|
+
providerTransferId: string | null;
|
|
113028
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
113029
|
+
providerTransferStatus: string | null;
|
|
112859
113030
|
externalRef: string | null;
|
|
112860
113031
|
/** @description Customer-friendly Ramp payment reference. */
|
|
112861
113032
|
paymentReference: string | null;
|
|
@@ -112869,6 +113040,8 @@ export interface operations {
|
|
|
112869
113040
|
initiatedAt: string | null;
|
|
112870
113041
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
112871
113042
|
completedAt: string | null;
|
|
113043
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
113044
|
+
billArchivedAt: string | null;
|
|
112872
113045
|
failureReason: string | null;
|
|
112873
113046
|
attemptId: string;
|
|
112874
113047
|
attempt: number;
|
|
@@ -115092,6 +115265,10 @@ export interface operations {
|
|
|
115092
115265
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
115093
115266
|
/** @description Ramp bill status summary returned by the provider. */
|
|
115094
115267
|
providerStatus: string | null;
|
|
115268
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
115269
|
+
providerTransferId: string | null;
|
|
115270
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
115271
|
+
providerTransferStatus: string | null;
|
|
115095
115272
|
externalRef: string | null;
|
|
115096
115273
|
/** @description Customer-friendly Ramp payment reference. */
|
|
115097
115274
|
paymentReference: string | null;
|
|
@@ -115105,6 +115282,8 @@ export interface operations {
|
|
|
115105
115282
|
initiatedAt: string | null;
|
|
115106
115283
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
115107
115284
|
completedAt: string | null;
|
|
115285
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
115286
|
+
billArchivedAt: string | null;
|
|
115108
115287
|
failureReason: string | null;
|
|
115109
115288
|
attemptId: string;
|
|
115110
115289
|
attempt: number;
|
|
@@ -120283,6 +120462,8 @@ export interface operations {
|
|
|
120283
120462
|
/** @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. */
|
|
120284
120463
|
attachmentIds?: string[] | null;
|
|
120285
120464
|
recurringTemplateId?: string | null;
|
|
120465
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
120466
|
+
recreatedFromTransactionId?: string | null;
|
|
120286
120467
|
matchBankAccountLast4?: string | null;
|
|
120287
120468
|
id: string;
|
|
120288
120469
|
shortRef?: string | null;
|
|
@@ -122436,6 +122617,10 @@ export interface operations {
|
|
|
122436
122617
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
122437
122618
|
/** @description Ramp bill status summary returned by the provider. */
|
|
122438
122619
|
providerStatus: string | null;
|
|
122620
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
122621
|
+
providerTransferId: string | null;
|
|
122622
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
122623
|
+
providerTransferStatus: string | null;
|
|
122439
122624
|
externalRef: string | null;
|
|
122440
122625
|
/** @description Customer-friendly Ramp payment reference. */
|
|
122441
122626
|
paymentReference: string | null;
|
|
@@ -122449,6 +122634,8 @@ export interface operations {
|
|
|
122449
122634
|
initiatedAt: string | null;
|
|
122450
122635
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
122451
122636
|
completedAt: string | null;
|
|
122637
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
122638
|
+
billArchivedAt: string | null;
|
|
122452
122639
|
failureReason: string | null;
|
|
122453
122640
|
attemptId: string;
|
|
122454
122641
|
attempt: number;
|
|
@@ -138462,6 +138649,8 @@ export interface operations {
|
|
|
138462
138649
|
/** @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. */
|
|
138463
138650
|
attachmentIds?: string[] | null;
|
|
138464
138651
|
recurringTemplateId?: string | null;
|
|
138652
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
138653
|
+
recreatedFromTransactionId?: string | null;
|
|
138465
138654
|
matchBankAccountLast4?: string | null;
|
|
138466
138655
|
id: string;
|
|
138467
138656
|
shortRef?: string | null;
|
|
@@ -138631,6 +138820,10 @@ export interface operations {
|
|
|
138631
138820
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
138632
138821
|
/** @description Ramp bill status summary returned by the provider. */
|
|
138633
138822
|
providerStatus: string | null;
|
|
138823
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
138824
|
+
providerTransferId: string | null;
|
|
138825
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
138826
|
+
providerTransferStatus: string | null;
|
|
138634
138827
|
externalRef: string | null;
|
|
138635
138828
|
/** @description Customer-friendly Ramp payment reference. */
|
|
138636
138829
|
paymentReference: string | null;
|
|
@@ -138644,6 +138837,8 @@ export interface operations {
|
|
|
138644
138837
|
initiatedAt: string | null;
|
|
138645
138838
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
138646
138839
|
completedAt: string | null;
|
|
138840
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
138841
|
+
billArchivedAt: string | null;
|
|
138647
138842
|
failureReason: string | null;
|
|
138648
138843
|
attemptId: string;
|
|
138649
138844
|
attempt: number;
|
|
@@ -138660,6 +138855,51 @@ export interface operations {
|
|
|
138660
138855
|
*/
|
|
138661
138856
|
updatedAt: string;
|
|
138662
138857
|
} | null;
|
|
138858
|
+
/** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
|
|
138859
|
+
providerPaymentActions: {
|
|
138860
|
+
pay: {
|
|
138861
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138862
|
+
available: boolean;
|
|
138863
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138864
|
+
reason: string | null;
|
|
138865
|
+
};
|
|
138866
|
+
cancel: {
|
|
138867
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138868
|
+
available: boolean;
|
|
138869
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138870
|
+
reason: string | null;
|
|
138871
|
+
};
|
|
138872
|
+
cancelAndArchive: {
|
|
138873
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138874
|
+
available: boolean;
|
|
138875
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138876
|
+
reason: string | null;
|
|
138877
|
+
};
|
|
138878
|
+
cancelAndRecreate: {
|
|
138879
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138880
|
+
available: boolean;
|
|
138881
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138882
|
+
reason: string | null;
|
|
138883
|
+
};
|
|
138884
|
+
archive: {
|
|
138885
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138886
|
+
available: boolean;
|
|
138887
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138888
|
+
reason: string | null;
|
|
138889
|
+
};
|
|
138890
|
+
archiveAndRecreate: {
|
|
138891
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138892
|
+
available: boolean;
|
|
138893
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138894
|
+
reason: string | null;
|
|
138895
|
+
};
|
|
138896
|
+
unarchive: {
|
|
138897
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
138898
|
+
available: boolean;
|
|
138899
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
138900
|
+
reason: string | null;
|
|
138901
|
+
};
|
|
138902
|
+
};
|
|
138663
138903
|
}[];
|
|
138664
138904
|
pagination: {
|
|
138665
138905
|
/** @default 100 */
|
|
@@ -139010,6 +139250,8 @@ export interface operations {
|
|
|
139010
139250
|
connectionId?: string | null;
|
|
139011
139251
|
sourceId?: string | null;
|
|
139012
139252
|
recurringTemplateId?: string | null;
|
|
139253
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
139254
|
+
recreatedFromTransactionId?: string | null;
|
|
139013
139255
|
matchBankAccountLast4?: string | null;
|
|
139014
139256
|
};
|
|
139015
139257
|
};
|
|
@@ -139159,6 +139401,8 @@ export interface operations {
|
|
|
139159
139401
|
/** @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. */
|
|
139160
139402
|
attachmentIds?: string[] | null;
|
|
139161
139403
|
recurringTemplateId?: string | null;
|
|
139404
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
139405
|
+
recreatedFromTransactionId?: string | null;
|
|
139162
139406
|
matchBankAccountLast4?: string | null;
|
|
139163
139407
|
id: string;
|
|
139164
139408
|
shortRef?: string | null;
|
|
@@ -140940,6 +141184,8 @@ export interface operations {
|
|
|
140940
141184
|
} | null;
|
|
140941
141185
|
sourceId?: string | null;
|
|
140942
141186
|
recurringTemplateId?: string | null;
|
|
141187
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
141188
|
+
recreatedFromTransactionId?: string | null;
|
|
140943
141189
|
matchBankAccountLast4?: string | null;
|
|
140944
141190
|
id?: string;
|
|
140945
141191
|
}[];
|
|
@@ -144519,6 +144765,8 @@ export interface operations {
|
|
|
144519
144765
|
/** @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. */
|
|
144520
144766
|
attachmentIds?: string[] | null;
|
|
144521
144767
|
recurringTemplateId?: string | null;
|
|
144768
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
144769
|
+
recreatedFromTransactionId?: string | null;
|
|
144522
144770
|
matchBankAccountLast4?: string | null;
|
|
144523
144771
|
id: string;
|
|
144524
144772
|
shortRef?: string | null;
|
|
@@ -145060,6 +145308,8 @@ export interface operations {
|
|
|
145060
145308
|
/** @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. */
|
|
145061
145309
|
attachmentIds?: string[] | null;
|
|
145062
145310
|
recurringTemplateId?: string | null;
|
|
145311
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
145312
|
+
recreatedFromTransactionId?: string | null;
|
|
145063
145313
|
matchBankAccountLast4?: string | null;
|
|
145064
145314
|
id: string;
|
|
145065
145315
|
shortRef?: string | null;
|
|
@@ -145229,6 +145479,10 @@ export interface operations {
|
|
|
145229
145479
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
145230
145480
|
/** @description Ramp bill status summary returned by the provider. */
|
|
145231
145481
|
providerStatus: string | null;
|
|
145482
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
145483
|
+
providerTransferId: string | null;
|
|
145484
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
145485
|
+
providerTransferStatus: string | null;
|
|
145232
145486
|
externalRef: string | null;
|
|
145233
145487
|
/** @description Customer-friendly Ramp payment reference. */
|
|
145234
145488
|
paymentReference: string | null;
|
|
@@ -145242,6 +145496,8 @@ export interface operations {
|
|
|
145242
145496
|
initiatedAt: string | null;
|
|
145243
145497
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
145244
145498
|
completedAt: string | null;
|
|
145499
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
145500
|
+
billArchivedAt: string | null;
|
|
145245
145501
|
failureReason: string | null;
|
|
145246
145502
|
attemptId: string;
|
|
145247
145503
|
attempt: number;
|
|
@@ -145258,6 +145514,51 @@ export interface operations {
|
|
|
145258
145514
|
*/
|
|
145259
145515
|
updatedAt: string;
|
|
145260
145516
|
} | null;
|
|
145517
|
+
/** @description Server-owned Ramp payout recovery capabilities. Permissions remain independently enforced. */
|
|
145518
|
+
providerPaymentActions: {
|
|
145519
|
+
pay: {
|
|
145520
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145521
|
+
available: boolean;
|
|
145522
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145523
|
+
reason: string | null;
|
|
145524
|
+
};
|
|
145525
|
+
cancel: {
|
|
145526
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145527
|
+
available: boolean;
|
|
145528
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145529
|
+
reason: string | null;
|
|
145530
|
+
};
|
|
145531
|
+
cancelAndArchive: {
|
|
145532
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145533
|
+
available: boolean;
|
|
145534
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145535
|
+
reason: string | null;
|
|
145536
|
+
};
|
|
145537
|
+
cancelAndRecreate: {
|
|
145538
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145539
|
+
available: boolean;
|
|
145540
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145541
|
+
reason: string | null;
|
|
145542
|
+
};
|
|
145543
|
+
archive: {
|
|
145544
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145545
|
+
available: boolean;
|
|
145546
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145547
|
+
reason: string | null;
|
|
145548
|
+
};
|
|
145549
|
+
archiveAndRecreate: {
|
|
145550
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145551
|
+
available: boolean;
|
|
145552
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145553
|
+
reason: string | null;
|
|
145554
|
+
};
|
|
145555
|
+
unarchive: {
|
|
145556
|
+
/** @description Whether current provider and accounting state allows the action. */
|
|
145557
|
+
available: boolean;
|
|
145558
|
+
/** @description Static disabled reason, or null when the action is available. */
|
|
145559
|
+
reason: string | null;
|
|
145560
|
+
};
|
|
145561
|
+
};
|
|
145261
145562
|
};
|
|
145262
145563
|
};
|
|
145263
145564
|
};
|
|
@@ -145821,6 +146122,8 @@ export interface operations {
|
|
|
145821
146122
|
/** @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. */
|
|
145822
146123
|
attachmentIds?: string[] | null;
|
|
145823
146124
|
recurringTemplateId?: string | null;
|
|
146125
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
146126
|
+
recreatedFromTransactionId?: string | null;
|
|
145824
146127
|
matchBankAccountLast4?: string | null;
|
|
145825
146128
|
id: string;
|
|
145826
146129
|
shortRef?: string | null;
|
|
@@ -146508,6 +146811,10 @@ export interface operations {
|
|
|
146508
146811
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
146509
146812
|
/** @description Ramp bill status summary returned by the provider. */
|
|
146510
146813
|
providerStatus: string | null;
|
|
146814
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
146815
|
+
providerTransferId: string | null;
|
|
146816
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
146817
|
+
providerTransferStatus: string | null;
|
|
146511
146818
|
externalRef: string | null;
|
|
146512
146819
|
/** @description Customer-friendly Ramp payment reference. */
|
|
146513
146820
|
paymentReference: string | null;
|
|
@@ -146521,6 +146828,8 @@ export interface operations {
|
|
|
146521
146828
|
initiatedAt: string | null;
|
|
146522
146829
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
146523
146830
|
completedAt: string | null;
|
|
146831
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
146832
|
+
billArchivedAt: string | null;
|
|
146524
146833
|
failureReason: string | null;
|
|
146525
146834
|
attemptId: string;
|
|
146526
146835
|
attempt: number;
|
|
@@ -146799,6 +147108,10 @@ export interface operations {
|
|
|
146799
147108
|
status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
|
|
146800
147109
|
/** @description Ramp bill status summary returned by the provider. */
|
|
146801
147110
|
providerStatus: string | null;
|
|
147111
|
+
/** @description Ramp Transfer API identifier when a transfer was observed. */
|
|
147112
|
+
providerTransferId: string | null;
|
|
147113
|
+
/** @description Raw Ramp Transfer API status used for lifecycle evidence. */
|
|
147114
|
+
providerTransferStatus: string | null;
|
|
146802
147115
|
externalRef: string | null;
|
|
146803
147116
|
/** @description Customer-friendly Ramp payment reference. */
|
|
146804
147117
|
paymentReference: string | null;
|
|
@@ -146812,6 +147125,8 @@ export interface operations {
|
|
|
146812
147125
|
initiatedAt: string | null;
|
|
146813
147126
|
/** @description Date and time Ramp marks the bill payment completed. */
|
|
146814
147127
|
completedAt: string | null;
|
|
147128
|
+
/** @description Date and time VRPlatform confirmed the Ramp bill archive. */
|
|
147129
|
+
billArchivedAt: string | null;
|
|
146815
147130
|
failureReason: string | null;
|
|
146816
147131
|
attemptId: string;
|
|
146817
147132
|
attempt: number;
|
|
@@ -147311,7 +147626,7 @@ export interface operations {
|
|
|
147311
147626
|
};
|
|
147312
147627
|
};
|
|
147313
147628
|
};
|
|
147314
|
-
|
|
147629
|
+
postTransactionsByIdProviderPaymentsByProviderPaymentIdArchive: {
|
|
147315
147630
|
parameters: {
|
|
147316
147631
|
query?: never;
|
|
147317
147632
|
header?: never;
|
|
@@ -147338,6 +147653,273 @@ export interface operations {
|
|
|
147338
147653
|
providerPaymentId: string;
|
|
147339
147654
|
/** Format: uuid */
|
|
147340
147655
|
syncId: string;
|
|
147656
|
+
/** @enum {string} */
|
|
147657
|
+
operation: "cancel" | "archive";
|
|
147658
|
+
archivePayout: boolean;
|
|
147659
|
+
/** @constant */
|
|
147660
|
+
status: "requested";
|
|
147661
|
+
};
|
|
147662
|
+
};
|
|
147663
|
+
};
|
|
147664
|
+
/** @description Bad request */
|
|
147665
|
+
400: {
|
|
147666
|
+
headers: {
|
|
147667
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147668
|
+
"Retry-After"?: number;
|
|
147669
|
+
[name: string]: unknown;
|
|
147670
|
+
};
|
|
147671
|
+
content: {
|
|
147672
|
+
"application/json": {
|
|
147673
|
+
code: string;
|
|
147674
|
+
message: string;
|
|
147675
|
+
links?: {
|
|
147676
|
+
docs: string;
|
|
147677
|
+
schema: string;
|
|
147678
|
+
};
|
|
147679
|
+
issues?: {
|
|
147680
|
+
message: string;
|
|
147681
|
+
path?: (string | number)[];
|
|
147682
|
+
schema?: string;
|
|
147683
|
+
}[];
|
|
147684
|
+
retryable?: boolean;
|
|
147685
|
+
context?: unknown;
|
|
147686
|
+
};
|
|
147687
|
+
};
|
|
147688
|
+
};
|
|
147689
|
+
/** @description Unauthorized */
|
|
147690
|
+
401: {
|
|
147691
|
+
headers: {
|
|
147692
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147693
|
+
"Retry-After"?: number;
|
|
147694
|
+
[name: string]: unknown;
|
|
147695
|
+
};
|
|
147696
|
+
content: {
|
|
147697
|
+
"application/json": {
|
|
147698
|
+
code: string;
|
|
147699
|
+
message: string;
|
|
147700
|
+
links?: {
|
|
147701
|
+
docs: string;
|
|
147702
|
+
schema: string;
|
|
147703
|
+
};
|
|
147704
|
+
issues?: {
|
|
147705
|
+
message: string;
|
|
147706
|
+
path?: (string | number)[];
|
|
147707
|
+
schema?: string;
|
|
147708
|
+
}[];
|
|
147709
|
+
retryable?: boolean;
|
|
147710
|
+
context?: unknown;
|
|
147711
|
+
};
|
|
147712
|
+
};
|
|
147713
|
+
};
|
|
147714
|
+
/** @description Forbidden */
|
|
147715
|
+
403: {
|
|
147716
|
+
headers: {
|
|
147717
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147718
|
+
"Retry-After"?: number;
|
|
147719
|
+
[name: string]: unknown;
|
|
147720
|
+
};
|
|
147721
|
+
content: {
|
|
147722
|
+
"application/json": {
|
|
147723
|
+
code: string;
|
|
147724
|
+
message: string;
|
|
147725
|
+
links?: {
|
|
147726
|
+
docs: string;
|
|
147727
|
+
schema: string;
|
|
147728
|
+
};
|
|
147729
|
+
issues?: {
|
|
147730
|
+
message: string;
|
|
147731
|
+
path?: (string | number)[];
|
|
147732
|
+
schema?: string;
|
|
147733
|
+
}[];
|
|
147734
|
+
retryable?: boolean;
|
|
147735
|
+
context?: unknown;
|
|
147736
|
+
};
|
|
147737
|
+
};
|
|
147738
|
+
};
|
|
147739
|
+
/** @description Not found */
|
|
147740
|
+
404: {
|
|
147741
|
+
headers: {
|
|
147742
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147743
|
+
"Retry-After"?: number;
|
|
147744
|
+
[name: string]: unknown;
|
|
147745
|
+
};
|
|
147746
|
+
content: {
|
|
147747
|
+
"application/json": {
|
|
147748
|
+
code: string;
|
|
147749
|
+
message: string;
|
|
147750
|
+
links?: {
|
|
147751
|
+
docs: string;
|
|
147752
|
+
schema: string;
|
|
147753
|
+
};
|
|
147754
|
+
issues?: {
|
|
147755
|
+
message: string;
|
|
147756
|
+
path?: (string | number)[];
|
|
147757
|
+
schema?: string;
|
|
147758
|
+
}[];
|
|
147759
|
+
retryable?: boolean;
|
|
147760
|
+
context?: unknown;
|
|
147761
|
+
};
|
|
147762
|
+
};
|
|
147763
|
+
};
|
|
147764
|
+
/** @description Conflict */
|
|
147765
|
+
409: {
|
|
147766
|
+
headers: {
|
|
147767
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147768
|
+
"Retry-After"?: number;
|
|
147769
|
+
[name: string]: unknown;
|
|
147770
|
+
};
|
|
147771
|
+
content: {
|
|
147772
|
+
"application/json": {
|
|
147773
|
+
code: string;
|
|
147774
|
+
message: string;
|
|
147775
|
+
links?: {
|
|
147776
|
+
docs: string;
|
|
147777
|
+
schema: string;
|
|
147778
|
+
};
|
|
147779
|
+
issues?: {
|
|
147780
|
+
message: string;
|
|
147781
|
+
path?: (string | number)[];
|
|
147782
|
+
schema?: string;
|
|
147783
|
+
}[];
|
|
147784
|
+
retryable?: boolean;
|
|
147785
|
+
context?: unknown;
|
|
147786
|
+
};
|
|
147787
|
+
};
|
|
147788
|
+
};
|
|
147789
|
+
/** @description Gone */
|
|
147790
|
+
410: {
|
|
147791
|
+
headers: {
|
|
147792
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147793
|
+
"Retry-After"?: number;
|
|
147794
|
+
[name: string]: unknown;
|
|
147795
|
+
};
|
|
147796
|
+
content: {
|
|
147797
|
+
"application/json": {
|
|
147798
|
+
code: string;
|
|
147799
|
+
message: string;
|
|
147800
|
+
links?: {
|
|
147801
|
+
docs: string;
|
|
147802
|
+
schema: string;
|
|
147803
|
+
};
|
|
147804
|
+
issues?: {
|
|
147805
|
+
message: string;
|
|
147806
|
+
path?: (string | number)[];
|
|
147807
|
+
schema?: string;
|
|
147808
|
+
}[];
|
|
147809
|
+
retryable?: boolean;
|
|
147810
|
+
context?: unknown;
|
|
147811
|
+
};
|
|
147812
|
+
};
|
|
147813
|
+
};
|
|
147814
|
+
/** @description Unprocessable content */
|
|
147815
|
+
422: {
|
|
147816
|
+
headers: {
|
|
147817
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147818
|
+
"Retry-After"?: number;
|
|
147819
|
+
[name: string]: unknown;
|
|
147820
|
+
};
|
|
147821
|
+
content: {
|
|
147822
|
+
"application/json": {
|
|
147823
|
+
code: string;
|
|
147824
|
+
message: string;
|
|
147825
|
+
links?: {
|
|
147826
|
+
docs: string;
|
|
147827
|
+
schema: string;
|
|
147828
|
+
};
|
|
147829
|
+
issues?: {
|
|
147830
|
+
message: string;
|
|
147831
|
+
path?: (string | number)[];
|
|
147832
|
+
schema?: string;
|
|
147833
|
+
}[];
|
|
147834
|
+
retryable?: boolean;
|
|
147835
|
+
context?: unknown;
|
|
147836
|
+
};
|
|
147837
|
+
};
|
|
147838
|
+
};
|
|
147839
|
+
/** @description Internal server error */
|
|
147840
|
+
500: {
|
|
147841
|
+
headers: {
|
|
147842
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147843
|
+
"Retry-After"?: number;
|
|
147844
|
+
[name: string]: unknown;
|
|
147845
|
+
};
|
|
147846
|
+
content: {
|
|
147847
|
+
"application/json": {
|
|
147848
|
+
code: string;
|
|
147849
|
+
message: string;
|
|
147850
|
+
links?: {
|
|
147851
|
+
docs: string;
|
|
147852
|
+
schema: string;
|
|
147853
|
+
};
|
|
147854
|
+
issues?: {
|
|
147855
|
+
message: string;
|
|
147856
|
+
path?: (string | number)[];
|
|
147857
|
+
schema?: string;
|
|
147858
|
+
}[];
|
|
147859
|
+
retryable?: boolean;
|
|
147860
|
+
context?: unknown;
|
|
147861
|
+
};
|
|
147862
|
+
};
|
|
147863
|
+
};
|
|
147864
|
+
/** @description Service unavailable */
|
|
147865
|
+
503: {
|
|
147866
|
+
headers: {
|
|
147867
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
147868
|
+
"Retry-After"?: number;
|
|
147869
|
+
[name: string]: unknown;
|
|
147870
|
+
};
|
|
147871
|
+
content: {
|
|
147872
|
+
"application/json": {
|
|
147873
|
+
code: string;
|
|
147874
|
+
message: string;
|
|
147875
|
+
links?: {
|
|
147876
|
+
docs: string;
|
|
147877
|
+
schema: string;
|
|
147878
|
+
};
|
|
147879
|
+
issues?: {
|
|
147880
|
+
message: string;
|
|
147881
|
+
path?: (string | number)[];
|
|
147882
|
+
schema?: string;
|
|
147883
|
+
}[];
|
|
147884
|
+
retryable?: boolean;
|
|
147885
|
+
context?: unknown;
|
|
147886
|
+
};
|
|
147887
|
+
};
|
|
147888
|
+
};
|
|
147889
|
+
};
|
|
147890
|
+
};
|
|
147891
|
+
postTransactionsByIdProviderPaymentsByProviderPaymentIdCancel: {
|
|
147892
|
+
parameters: {
|
|
147893
|
+
query?: never;
|
|
147894
|
+
header?: never;
|
|
147895
|
+
path: {
|
|
147896
|
+
id: string;
|
|
147897
|
+
providerPaymentId: string;
|
|
147898
|
+
};
|
|
147899
|
+
cookie?: never;
|
|
147900
|
+
};
|
|
147901
|
+
requestBody?: {
|
|
147902
|
+
content: {
|
|
147903
|
+
"application/json": {
|
|
147904
|
+
archivePayout: boolean;
|
|
147905
|
+
};
|
|
147906
|
+
};
|
|
147907
|
+
};
|
|
147908
|
+
responses: {
|
|
147909
|
+
/** @description Successful response */
|
|
147910
|
+
200: {
|
|
147911
|
+
headers: {
|
|
147912
|
+
[name: string]: unknown;
|
|
147913
|
+
};
|
|
147914
|
+
content: {
|
|
147915
|
+
"application/json": {
|
|
147916
|
+
/** Format: uuid */
|
|
147917
|
+
providerPaymentId: string;
|
|
147918
|
+
/** Format: uuid */
|
|
147919
|
+
syncId: string;
|
|
147920
|
+
/** @enum {string} */
|
|
147921
|
+
operation: "cancel" | "archive";
|
|
147922
|
+
archivePayout: boolean;
|
|
147341
147923
|
/** @constant */
|
|
147342
147924
|
status: "requested";
|
|
147343
147925
|
};
|
|
@@ -147764,6 +148346,8 @@ export interface operations {
|
|
|
147764
148346
|
/** @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. */
|
|
147765
148347
|
attachmentIds?: string[] | null;
|
|
147766
148348
|
recurringTemplateId?: string | null;
|
|
148349
|
+
/** @description Archived payout replaced by this payout. The source and every other payout in its replacement chain must remain inactive. */
|
|
148350
|
+
recreatedFromTransactionId?: string | null;
|
|
147767
148351
|
matchBankAccountLast4?: string | null;
|
|
147768
148352
|
id: string;
|
|
147769
148353
|
shortRef?: string | null;
|