@vrplatform/api 1.3.1-stage.6276 → 1.3.1-stage.6291

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.
@@ -568,7 +568,7 @@ export interface paths {
568
568
  get?: never;
569
569
  put?: never;
570
570
  /**
571
- * @description Create or update multiple bank records. Items with a stale Account reference are skipped and returned in issues.
571
+ * @description Create or update multiple bank records. Records before an AccountConnection sync start date are stored inactive without an issue. Items with a stale Account reference are skipped and returned in issues.
572
572
  *
573
573
  * Required scope: bank-records:write
574
574
  */
@@ -2226,6 +2226,23 @@ export interface paths {
2226
2226
  patch?: never;
2227
2227
  trace?: never;
2228
2228
  };
2229
+ "/internal/files/{id}/abandoned-upload": {
2230
+ parameters: {
2231
+ query?: never;
2232
+ header?: never;
2233
+ path?: never;
2234
+ cookie?: never;
2235
+ };
2236
+ get?: never;
2237
+ put?: never;
2238
+ post?: never;
2239
+ /** @description Claim and remove an abandoned GL raw upload after its 24-hour upload reference window. The object bucket is selected from the persisted regional r2:// ref. Missing rows and objects are safe to retry; non-expired uploads and completed files are preserved. */
2240
+ delete: operations["deleteInternalFilesByIdAbandonedUpload"];
2241
+ options?: never;
2242
+ head?: never;
2243
+ patch?: never;
2244
+ trace?: never;
2245
+ };
2229
2246
  "/internal/memberships/{membershipId}": {
2230
2247
  parameters: {
2231
2248
  query?: never;
@@ -5128,7 +5145,7 @@ export interface paths {
5128
5145
  get?: never;
5129
5146
  put?: never;
5130
5147
  /**
5131
- * @description Preview owner statement payout plans without creating transactions. Returns authoritative per-owner allocations after server rounding, default bank accounts, ACH payment-method readiness, exact Ramp funding-source readiness, completed Ramp Category-account synchronization readiness, and typed blockers for the submitted owner selections and payout date. A statement-period-locked date returns `statementPeriodLocked` with `openFrom`. An unconfigured Ramp transfer flow is eligible but remains unchanged until payment. `POST /statements/pay` revalidates the same rules; the preview is advisory.
5148
+ * @description Preview owner statement payout plans without creating transactions. Returns authoritative per-owner allocations after server rounding, default bank accounts, ACH payment-method readiness, exact Ramp funding-source readiness, completed Ramp Category-account synchronization readiness, typed blockers for the submitted owner selections and payout date, and a non-blocking `amountExceedsAvailableBalance` warning for an explicit overpayment. A statement-period-locked date returns `statementPeriodLocked` with `openFrom`. An unconfigured Ramp transfer flow is eligible but remains unchanged until payment. `POST /statements/pay` revalidates the same blocking rules; the preview is advisory and overpayment remains allowed.
5132
5149
  *
5133
5150
  * Required scope: statements:read
5134
5151
  */
@@ -48029,6 +48046,258 @@ export interface operations {
48029
48046
  };
48030
48047
  };
48031
48048
  };
48049
+ deleteInternalFilesByIdAbandonedUpload: {
48050
+ parameters: {
48051
+ query?: never;
48052
+ header?: never;
48053
+ path: {
48054
+ id: string;
48055
+ };
48056
+ cookie?: never;
48057
+ };
48058
+ requestBody?: never;
48059
+ responses: {
48060
+ /** @description Successful response */
48061
+ 200: {
48062
+ headers: {
48063
+ [name: string]: unknown;
48064
+ };
48065
+ content: {
48066
+ "application/json": {
48067
+ /** @enum {string} */
48068
+ outcome: "cleaned" | "preserved";
48069
+ /** @constant */
48070
+ status: "deleted";
48071
+ };
48072
+ };
48073
+ };
48074
+ /** @description Bad request */
48075
+ 400: {
48076
+ headers: {
48077
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48078
+ "Retry-After"?: number;
48079
+ [name: string]: unknown;
48080
+ };
48081
+ content: {
48082
+ "application/json": {
48083
+ code: string;
48084
+ message: string;
48085
+ links?: {
48086
+ docs: string;
48087
+ schema: string;
48088
+ };
48089
+ issues?: {
48090
+ message: string;
48091
+ path?: (string | number)[];
48092
+ schema?: string;
48093
+ }[];
48094
+ retryable?: boolean;
48095
+ context?: unknown;
48096
+ };
48097
+ };
48098
+ };
48099
+ /** @description Unauthorized */
48100
+ 401: {
48101
+ headers: {
48102
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48103
+ "Retry-After"?: number;
48104
+ [name: string]: unknown;
48105
+ };
48106
+ content: {
48107
+ "application/json": {
48108
+ code: string;
48109
+ message: string;
48110
+ links?: {
48111
+ docs: string;
48112
+ schema: string;
48113
+ };
48114
+ issues?: {
48115
+ message: string;
48116
+ path?: (string | number)[];
48117
+ schema?: string;
48118
+ }[];
48119
+ retryable?: boolean;
48120
+ context?: unknown;
48121
+ };
48122
+ };
48123
+ };
48124
+ /** @description Forbidden */
48125
+ 403: {
48126
+ headers: {
48127
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48128
+ "Retry-After"?: number;
48129
+ [name: string]: unknown;
48130
+ };
48131
+ content: {
48132
+ "application/json": {
48133
+ code: string;
48134
+ message: string;
48135
+ links?: {
48136
+ docs: string;
48137
+ schema: string;
48138
+ };
48139
+ issues?: {
48140
+ message: string;
48141
+ path?: (string | number)[];
48142
+ schema?: string;
48143
+ }[];
48144
+ retryable?: boolean;
48145
+ context?: unknown;
48146
+ };
48147
+ };
48148
+ };
48149
+ /** @description Not found */
48150
+ 404: {
48151
+ headers: {
48152
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48153
+ "Retry-After"?: number;
48154
+ [name: string]: unknown;
48155
+ };
48156
+ content: {
48157
+ "application/json": {
48158
+ code: string;
48159
+ message: string;
48160
+ links?: {
48161
+ docs: string;
48162
+ schema: string;
48163
+ };
48164
+ issues?: {
48165
+ message: string;
48166
+ path?: (string | number)[];
48167
+ schema?: string;
48168
+ }[];
48169
+ retryable?: boolean;
48170
+ context?: unknown;
48171
+ };
48172
+ };
48173
+ };
48174
+ /** @description Conflict */
48175
+ 409: {
48176
+ headers: {
48177
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48178
+ "Retry-After"?: number;
48179
+ [name: string]: unknown;
48180
+ };
48181
+ content: {
48182
+ "application/json": {
48183
+ code: string;
48184
+ message: string;
48185
+ links?: {
48186
+ docs: string;
48187
+ schema: string;
48188
+ };
48189
+ issues?: {
48190
+ message: string;
48191
+ path?: (string | number)[];
48192
+ schema?: string;
48193
+ }[];
48194
+ retryable?: boolean;
48195
+ context?: unknown;
48196
+ };
48197
+ };
48198
+ };
48199
+ /** @description Gone */
48200
+ 410: {
48201
+ headers: {
48202
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48203
+ "Retry-After"?: number;
48204
+ [name: string]: unknown;
48205
+ };
48206
+ content: {
48207
+ "application/json": {
48208
+ code: string;
48209
+ message: string;
48210
+ links?: {
48211
+ docs: string;
48212
+ schema: string;
48213
+ };
48214
+ issues?: {
48215
+ message: string;
48216
+ path?: (string | number)[];
48217
+ schema?: string;
48218
+ }[];
48219
+ retryable?: boolean;
48220
+ context?: unknown;
48221
+ };
48222
+ };
48223
+ };
48224
+ /** @description Unprocessable content */
48225
+ 422: {
48226
+ headers: {
48227
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48228
+ "Retry-After"?: number;
48229
+ [name: string]: unknown;
48230
+ };
48231
+ content: {
48232
+ "application/json": {
48233
+ code: string;
48234
+ message: string;
48235
+ links?: {
48236
+ docs: string;
48237
+ schema: string;
48238
+ };
48239
+ issues?: {
48240
+ message: string;
48241
+ path?: (string | number)[];
48242
+ schema?: string;
48243
+ }[];
48244
+ retryable?: boolean;
48245
+ context?: unknown;
48246
+ };
48247
+ };
48248
+ };
48249
+ /** @description Internal server error */
48250
+ 500: {
48251
+ headers: {
48252
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48253
+ "Retry-After"?: number;
48254
+ [name: string]: unknown;
48255
+ };
48256
+ content: {
48257
+ "application/json": {
48258
+ code: string;
48259
+ message: string;
48260
+ links?: {
48261
+ docs: string;
48262
+ schema: string;
48263
+ };
48264
+ issues?: {
48265
+ message: string;
48266
+ path?: (string | number)[];
48267
+ schema?: string;
48268
+ }[];
48269
+ retryable?: boolean;
48270
+ context?: unknown;
48271
+ };
48272
+ };
48273
+ };
48274
+ /** @description Service unavailable */
48275
+ 503: {
48276
+ headers: {
48277
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
48278
+ "Retry-After"?: number;
48279
+ [name: string]: unknown;
48280
+ };
48281
+ content: {
48282
+ "application/json": {
48283
+ code: string;
48284
+ message: string;
48285
+ links?: {
48286
+ docs: string;
48287
+ schema: string;
48288
+ };
48289
+ issues?: {
48290
+ message: string;
48291
+ path?: (string | number)[];
48292
+ schema?: string;
48293
+ }[];
48294
+ retryable?: boolean;
48295
+ context?: unknown;
48296
+ };
48297
+ };
48298
+ };
48299
+ };
48300
+ };
48032
48301
  getInternalMembershipsByMembershipId: {
48033
48302
  parameters: {
48034
48303
  query?: never;
@@ -108077,6 +108346,16 @@ export interface operations {
108077
108346
  /** @description First date available for a statement-period-locked payout. */
108078
108347
  openFrom?: string;
108079
108348
  }[];
108349
+ warnings: {
108350
+ /** @constant */
108351
+ code: "amountExceedsAvailableBalance";
108352
+ /** @constant */
108353
+ message: "Payout amount exceeds statement available balance";
108354
+ /** @description Signed remaining statement balance before the requested payout: expected payment minus received payment. */
108355
+ availableBalance: number;
108356
+ /** @description Positive amount by which the requested payout exceeds the remaining statement balance. */
108357
+ excessAmount: number;
108358
+ }[];
108080
108359
  }[];
108081
108360
  };
108082
108361
  };