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

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.
@@ -1141,7 +1141,7 @@ export interface paths {
1141
1141
  cookie?: never;
1142
1142
  };
1143
1143
  /**
1144
- * @description List contacts, including linked owner secondary-email search and embedded report filter options. Owner access is limited to directly owned contacts.
1144
+ * @description List contacts with masked ACH state, including hasInFlightPayment for requested or processing Ramp payments, linked owner secondary-email search, and embedded report filter options. Owner access is limited to directly owned contacts.
1145
1145
  *
1146
1146
  * Required scope: contacts:read
1147
1147
  */
@@ -1201,6 +1201,27 @@ export interface paths {
1201
1201
  patch?: never;
1202
1202
  trace?: never;
1203
1203
  };
1204
+ "/contacts/{contactId}/payouts": {
1205
+ parameters: {
1206
+ query?: never;
1207
+ header?: never;
1208
+ path?: never;
1209
+ cookie?: never;
1210
+ };
1211
+ /**
1212
+ * @description List the selected contact's active payout transactions newest first. Authenticated owners may request only contact IDs in their server-derived owner access; unauthorized contacts return an opaque not-found response. Property managers and owner-preview sessions may request a selected team contact. The response is an owner-facing projection with the latest provider-payment state, including requested payments, and excludes bank, reconciliation, journal, connection, and internal provider fields.
1213
+ *
1214
+ * Required scope: transactions:read
1215
+ */
1216
+ get: operations["getContactsByContactIdPayouts"];
1217
+ put?: never;
1218
+ post?: never;
1219
+ delete?: never;
1220
+ options?: never;
1221
+ head?: never;
1222
+ patch?: never;
1223
+ trace?: never;
1224
+ };
1204
1225
  "/contacts/{id}": {
1205
1226
  parameters: {
1206
1227
  query?: never;
@@ -1209,7 +1230,7 @@ export interface paths {
1209
1230
  cookie?: never;
1210
1231
  };
1211
1232
  /**
1212
- * @description Get contact by ID
1233
+ * @description Get a contact by ID with masked ACH state. hasInFlightPayment identifies requested or processing Ramp payments so clients can warn that bank changes affect future payments only.
1213
1234
  *
1214
1235
  * Required scope: contacts:read
1215
1236
  */
@@ -1263,7 +1284,7 @@ export interface paths {
1263
1284
  get?: never;
1264
1285
  put?: never;
1265
1286
  /**
1266
- * @description Send owner ACH details to the single eligible Ramp push-vendor flow for verification. This action requires ach-payment-methods:write rather than general contact write access. The server resolves the connection; clients do not select one. First use activates a flow that has never been configured, while an explicitly inactive flow remains unavailable. Raw routing and account numbers are write-only and are never stored by VRPlatform. The contact becomes ready only after Ramp confirms the account.
1287
+ * @description Send owner ACH details to the single eligible Ramp push-vendor flow for verification. This action requires ach-payment-methods:write rather than general contact write access. The server resolves the connection; clients do not select one. First use activates a flow that has never been configured, while an explicitly inactive flow remains unavailable. Raw routing and account numbers are write-only and are never stored by VRPlatform. The contact becomes ready only after Ramp confirms the account. Requested and processing payments remain bound to their scheduled destination, so an update affects future payments only.
1267
1288
  *
1268
1289
  * Required scope: ach-payment-methods:write
1269
1290
  */
@@ -9746,11 +9767,7 @@ export interface operations {
9746
9767
  };
9747
9768
  cookie?: never;
9748
9769
  };
9749
- requestBody?: {
9750
- content: {
9751
- "application/json": Record<string, never>;
9752
- };
9753
- };
9770
+ requestBody?: never;
9754
9771
  responses: {
9755
9772
  /** @description Successful response */
9756
9773
  200: {
@@ -10981,11 +10998,7 @@ export interface operations {
10981
10998
  };
10982
10999
  cookie?: never;
10983
11000
  };
10984
- requestBody?: {
10985
- content: {
10986
- "application/json": Record<string, never>;
10987
- };
10988
- };
11001
+ requestBody?: never;
10989
11002
  responses: {
10990
11003
  /** @description Successful response */
10991
11004
  200: {
@@ -18396,11 +18409,7 @@ export interface operations {
18396
18409
  };
18397
18410
  cookie?: never;
18398
18411
  };
18399
- requestBody?: {
18400
- content: {
18401
- "application/json": Record<string, never>;
18402
- };
18403
- };
18412
+ requestBody?: never;
18404
18413
  responses: {
18405
18414
  /** @description Successful response */
18406
18415
  200: {
@@ -20541,11 +20550,7 @@ export interface operations {
20541
20550
  };
20542
20551
  cookie?: never;
20543
20552
  };
20544
- requestBody?: {
20545
- content: {
20546
- "application/json": Record<string, never>;
20547
- };
20548
- };
20553
+ requestBody?: never;
20549
20554
  responses: {
20550
20555
  /** @description Successful response */
20551
20556
  200: {
@@ -21929,11 +21934,7 @@ export interface operations {
21929
21934
  path?: never;
21930
21935
  cookie?: never;
21931
21936
  };
21932
- requestBody?: {
21933
- content: {
21934
- "application/json": Record<string, never>;
21935
- };
21936
- };
21937
+ requestBody?: never;
21937
21938
  responses: {
21938
21939
  /** @description Successful response */
21939
21940
  200: {
@@ -25240,11 +25241,7 @@ export interface operations {
25240
25241
  };
25241
25242
  cookie?: never;
25242
25243
  };
25243
- requestBody?: {
25244
- content: {
25245
- "application/json": Record<string, never>;
25246
- };
25247
- };
25244
+ requestBody?: never;
25248
25245
  responses: {
25249
25246
  /** @description Successful response */
25250
25247
  200: {
@@ -28027,6 +28024,8 @@ export interface operations {
28027
28024
  last4: string | null;
28028
28025
  /** @enum {string} */
28029
28026
  status: "notConfigured" | "pending" | "ready" | "failed";
28027
+ /** @description True when a Ramp payment is requested or processing. Bank changes remain allowed and affect future payments only. */
28028
+ hasInFlightPayment: boolean;
28030
28029
  };
28031
28030
  };
28032
28031
  }[];
@@ -29166,6 +29165,311 @@ export interface operations {
29166
29165
  };
29167
29166
  };
29168
29167
  };
29168
+ getContactsByContactIdPayouts: {
29169
+ parameters: {
29170
+ query?: {
29171
+ limit?: number;
29172
+ page?: number;
29173
+ offset?: number;
29174
+ };
29175
+ header?: never;
29176
+ path: {
29177
+ contactId: string;
29178
+ };
29179
+ cookie?: never;
29180
+ };
29181
+ requestBody?: never;
29182
+ responses: {
29183
+ /** @description Successful response */
29184
+ 200: {
29185
+ headers: {
29186
+ [name: string]: unknown;
29187
+ };
29188
+ content: {
29189
+ "application/json": {
29190
+ data: {
29191
+ /** Format: uuid */
29192
+ id: string;
29193
+ uniqueRef: string | null;
29194
+ shortRef: string | null;
29195
+ date: string;
29196
+ description: string;
29197
+ /** @description Value in cents (100 = 1€) */
29198
+ amount: number;
29199
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
29200
+ currency: string;
29201
+ ownerStatement: {
29202
+ /** Format: uuid */
29203
+ id: string;
29204
+ uniqueRef: string | null;
29205
+ /**
29206
+ * Format: vrp-month
29207
+ * @description Month string in format `YYYY-MM`.
29208
+ * @example 2024-01
29209
+ */
29210
+ month: string;
29211
+ } | null;
29212
+ providerPayment: {
29213
+ /** Format: uuid */
29214
+ id: string;
29215
+ /** @constant */
29216
+ provider: "ramp";
29217
+ /** @enum {string} */
29218
+ status: "requested" | "processing" | "paid" | "failed" | "returned" | "canceled";
29219
+ failureReason: string | null;
29220
+ /**
29221
+ * Format: date-time
29222
+ * @description Timestamp string with date, time, milliseconds, and timezone.
29223
+ * @example 2024-01-15T12:30:00.000+00:00
29224
+ */
29225
+ createdAt: string;
29226
+ /**
29227
+ * Format: date-time
29228
+ * @description Timestamp string with date, time, milliseconds, and timezone.
29229
+ * @example 2024-01-15T12:30:00.000+00:00
29230
+ */
29231
+ updatedAt: string;
29232
+ } | null;
29233
+ }[];
29234
+ pagination: {
29235
+ /** @default 100 */
29236
+ limit: number;
29237
+ /** @default 1 */
29238
+ page: number;
29239
+ total: number;
29240
+ totalPage: number;
29241
+ nextPage?: number;
29242
+ };
29243
+ };
29244
+ };
29245
+ };
29246
+ /** @description Bad request */
29247
+ 400: {
29248
+ headers: {
29249
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29250
+ "Retry-After"?: number;
29251
+ [name: string]: unknown;
29252
+ };
29253
+ content: {
29254
+ "application/json": {
29255
+ code: string;
29256
+ message: string;
29257
+ links?: {
29258
+ docs: string;
29259
+ schema: string;
29260
+ };
29261
+ issues?: {
29262
+ message: string;
29263
+ path?: (string | number)[];
29264
+ schema?: string;
29265
+ }[];
29266
+ retryable?: boolean;
29267
+ context?: unknown;
29268
+ };
29269
+ };
29270
+ };
29271
+ /** @description Unauthorized */
29272
+ 401: {
29273
+ headers: {
29274
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29275
+ "Retry-After"?: number;
29276
+ [name: string]: unknown;
29277
+ };
29278
+ content: {
29279
+ "application/json": {
29280
+ code: string;
29281
+ message: string;
29282
+ links?: {
29283
+ docs: string;
29284
+ schema: string;
29285
+ };
29286
+ issues?: {
29287
+ message: string;
29288
+ path?: (string | number)[];
29289
+ schema?: string;
29290
+ }[];
29291
+ retryable?: boolean;
29292
+ context?: unknown;
29293
+ };
29294
+ };
29295
+ };
29296
+ /** @description Forbidden */
29297
+ 403: {
29298
+ headers: {
29299
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29300
+ "Retry-After"?: number;
29301
+ [name: string]: unknown;
29302
+ };
29303
+ content: {
29304
+ "application/json": {
29305
+ code: string;
29306
+ message: string;
29307
+ links?: {
29308
+ docs: string;
29309
+ schema: string;
29310
+ };
29311
+ issues?: {
29312
+ message: string;
29313
+ path?: (string | number)[];
29314
+ schema?: string;
29315
+ }[];
29316
+ retryable?: boolean;
29317
+ context?: unknown;
29318
+ };
29319
+ };
29320
+ };
29321
+ /** @description Not found */
29322
+ 404: {
29323
+ headers: {
29324
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29325
+ "Retry-After"?: number;
29326
+ [name: string]: unknown;
29327
+ };
29328
+ content: {
29329
+ "application/json": {
29330
+ code: string;
29331
+ message: string;
29332
+ links?: {
29333
+ docs: string;
29334
+ schema: string;
29335
+ };
29336
+ issues?: {
29337
+ message: string;
29338
+ path?: (string | number)[];
29339
+ schema?: string;
29340
+ }[];
29341
+ retryable?: boolean;
29342
+ context?: unknown;
29343
+ };
29344
+ };
29345
+ };
29346
+ /** @description Conflict */
29347
+ 409: {
29348
+ headers: {
29349
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29350
+ "Retry-After"?: number;
29351
+ [name: string]: unknown;
29352
+ };
29353
+ content: {
29354
+ "application/json": {
29355
+ code: string;
29356
+ message: string;
29357
+ links?: {
29358
+ docs: string;
29359
+ schema: string;
29360
+ };
29361
+ issues?: {
29362
+ message: string;
29363
+ path?: (string | number)[];
29364
+ schema?: string;
29365
+ }[];
29366
+ retryable?: boolean;
29367
+ context?: unknown;
29368
+ };
29369
+ };
29370
+ };
29371
+ /** @description Gone */
29372
+ 410: {
29373
+ headers: {
29374
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29375
+ "Retry-After"?: number;
29376
+ [name: string]: unknown;
29377
+ };
29378
+ content: {
29379
+ "application/json": {
29380
+ code: string;
29381
+ message: string;
29382
+ links?: {
29383
+ docs: string;
29384
+ schema: string;
29385
+ };
29386
+ issues?: {
29387
+ message: string;
29388
+ path?: (string | number)[];
29389
+ schema?: string;
29390
+ }[];
29391
+ retryable?: boolean;
29392
+ context?: unknown;
29393
+ };
29394
+ };
29395
+ };
29396
+ /** @description Unprocessable content */
29397
+ 422: {
29398
+ headers: {
29399
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29400
+ "Retry-After"?: number;
29401
+ [name: string]: unknown;
29402
+ };
29403
+ content: {
29404
+ "application/json": {
29405
+ code: string;
29406
+ message: string;
29407
+ links?: {
29408
+ docs: string;
29409
+ schema: string;
29410
+ };
29411
+ issues?: {
29412
+ message: string;
29413
+ path?: (string | number)[];
29414
+ schema?: string;
29415
+ }[];
29416
+ retryable?: boolean;
29417
+ context?: unknown;
29418
+ };
29419
+ };
29420
+ };
29421
+ /** @description Internal server error */
29422
+ 500: {
29423
+ headers: {
29424
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29425
+ "Retry-After"?: number;
29426
+ [name: string]: unknown;
29427
+ };
29428
+ content: {
29429
+ "application/json": {
29430
+ code: string;
29431
+ message: string;
29432
+ links?: {
29433
+ docs: string;
29434
+ schema: string;
29435
+ };
29436
+ issues?: {
29437
+ message: string;
29438
+ path?: (string | number)[];
29439
+ schema?: string;
29440
+ }[];
29441
+ retryable?: boolean;
29442
+ context?: unknown;
29443
+ };
29444
+ };
29445
+ };
29446
+ /** @description Service unavailable */
29447
+ 503: {
29448
+ headers: {
29449
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
29450
+ "Retry-After"?: number;
29451
+ [name: string]: unknown;
29452
+ };
29453
+ content: {
29454
+ "application/json": {
29455
+ code: string;
29456
+ message: string;
29457
+ links?: {
29458
+ docs: string;
29459
+ schema: string;
29460
+ };
29461
+ issues?: {
29462
+ message: string;
29463
+ path?: (string | number)[];
29464
+ schema?: string;
29465
+ }[];
29466
+ retryable?: boolean;
29467
+ context?: unknown;
29468
+ };
29469
+ };
29470
+ };
29471
+ };
29472
+ };
29169
29473
  getContactsById: {
29170
29474
  parameters: {
29171
29475
  query?: never;
@@ -29254,6 +29558,8 @@ export interface operations {
29254
29558
  last4: string | null;
29255
29559
  /** @enum {string} */
29256
29560
  status: "notConfigured" | "pending" | "ready" | "failed";
29561
+ /** @description True when a Ramp payment is requested or processing. Bank changes remain allowed and affect future payments only. */
29562
+ hasInFlightPayment: boolean;
29257
29563
  };
29258
29564
  };
29259
29565
  };
@@ -29841,11 +30147,7 @@ export interface operations {
29841
30147
  };
29842
30148
  cookie?: never;
29843
30149
  };
29844
- requestBody?: {
29845
- content: {
29846
- "application/json": Record<string, never>;
29847
- };
29848
- };
30150
+ requestBody?: never;
29849
30151
  responses: {
29850
30152
  /** @description Successful response */
29851
30153
  200: {
@@ -34404,11 +34706,7 @@ export interface operations {
34404
34706
  };
34405
34707
  cookie?: never;
34406
34708
  };
34407
- requestBody?: {
34408
- content: {
34409
- "application/json": Record<string, never>;
34410
- };
34411
- };
34709
+ requestBody?: never;
34412
34710
  responses: {
34413
34711
  /** @description Successful response */
34414
34712
  200: {
@@ -44499,11 +44797,7 @@ export interface operations {
44499
44797
  };
44500
44798
  cookie?: never;
44501
44799
  };
44502
- requestBody?: {
44503
- content: {
44504
- "application/json": Record<string, never>;
44505
- };
44506
- };
44800
+ requestBody?: never;
44507
44801
  responses: {
44508
44802
  /** @description Successful response */
44509
44803
  200: {
@@ -56175,11 +56469,7 @@ export interface operations {
56175
56469
  };
56176
56470
  cookie?: never;
56177
56471
  };
56178
- requestBody?: {
56179
- content: {
56180
- "application/json": Record<string, never>;
56181
- };
56182
- };
56472
+ requestBody?: never;
56183
56473
  responses: {
56184
56474
  /** @description Successful response */
56185
56475
  200: {
@@ -57294,11 +57584,7 @@ export interface operations {
57294
57584
  };
57295
57585
  cookie?: never;
57296
57586
  };
57297
- requestBody?: {
57298
- content: {
57299
- "application/json": Record<string, never>;
57300
- };
57301
- };
57587
+ requestBody?: never;
57302
57588
  responses: {
57303
57589
  /** @description Successful response */
57304
57590
  200: {
@@ -58483,11 +58769,7 @@ export interface operations {
58483
58769
  };
58484
58770
  cookie?: never;
58485
58771
  };
58486
- requestBody?: {
58487
- content: {
58488
- "application/json": Record<string, never>;
58489
- };
58490
- };
58772
+ requestBody?: never;
58491
58773
  responses: {
58492
58774
  /** @description Successful response */
58493
58775
  200: {
@@ -69817,11 +70099,7 @@ export interface operations {
69817
70099
  };
69818
70100
  cookie?: never;
69819
70101
  };
69820
- requestBody?: {
69821
- content: {
69822
- "application/json": Record<string, never>;
69823
- };
69824
- };
70102
+ requestBody?: never;
69825
70103
  responses: {
69826
70104
  /** @description Successful response */
69827
70105
  200: {
@@ -75002,11 +75280,7 @@ export interface operations {
75002
75280
  };
75003
75281
  cookie?: never;
75004
75282
  };
75005
- requestBody?: {
75006
- content: {
75007
- "application/json": Record<string, never>;
75008
- };
75009
- };
75283
+ requestBody?: never;
75010
75284
  responses: {
75011
75285
  /** @description Successful response */
75012
75286
  200: {
@@ -76407,11 +76681,7 @@ export interface operations {
76407
76681
  };
76408
76682
  cookie?: never;
76409
76683
  };
76410
- requestBody?: {
76411
- content: {
76412
- "application/json": Record<string, never>;
76413
- };
76414
- };
76684
+ requestBody?: never;
76415
76685
  responses: {
76416
76686
  /** @description Successful response */
76417
76687
  200: {
@@ -97038,11 +97308,7 @@ export interface operations {
97038
97308
  };
97039
97309
  cookie?: never;
97040
97310
  };
97041
- requestBody?: {
97042
- content: {
97043
- "application/json": Record<string, never>;
97044
- };
97045
- };
97311
+ requestBody?: never;
97046
97312
  responses: {
97047
97313
  /** @description Successful response */
97048
97314
  200: {
@@ -106919,11 +107185,7 @@ export interface operations {
106919
107185
  };
106920
107186
  cookie?: never;
106921
107187
  };
106922
- requestBody?: {
106923
- content: {
106924
- "application/json": Record<string, never>;
106925
- };
106926
- };
107188
+ requestBody?: never;
106927
107189
  responses: {
106928
107190
  /** @description Successful response */
106929
107191
  200: {
@@ -112481,11 +112743,7 @@ export interface operations {
112481
112743
  };
112482
112744
  cookie?: never;
112483
112745
  };
112484
- requestBody?: {
112485
- content: {
112486
- "application/json": Record<string, never>;
112487
- };
112488
- };
112746
+ requestBody?: never;
112489
112747
  responses: {
112490
112748
  /** @description Successful response */
112491
112749
  200: {
@@ -116624,11 +116882,7 @@ export interface operations {
116624
116882
  };
116625
116883
  cookie?: never;
116626
116884
  };
116627
- requestBody?: {
116628
- content: {
116629
- "application/json": Record<string, never>;
116630
- };
116631
- };
116885
+ requestBody?: never;
116632
116886
  responses: {
116633
116887
  /** @description Successful response */
116634
116888
  200: {
@@ -117806,11 +118060,7 @@ export interface operations {
117806
118060
  path?: never;
117807
118061
  cookie?: never;
117808
118062
  };
117809
- requestBody?: {
117810
- content: {
117811
- "application/json": Record<string, never>;
117812
- };
117813
- };
118063
+ requestBody?: never;
117814
118064
  responses: {
117815
118065
  /** @description Successful response */
117816
118066
  200: {
@@ -127624,11 +127874,7 @@ export interface operations {
127624
127874
  };
127625
127875
  cookie?: never;
127626
127876
  };
127627
- requestBody?: {
127628
- content: {
127629
- "application/json": Record<string, never>;
127630
- };
127631
- };
127877
+ requestBody?: never;
127632
127878
  responses: {
127633
127879
  /** @description Successful response */
127634
127880
  200: {
@@ -131929,11 +132175,7 @@ export interface operations {
131929
132175
  };
131930
132176
  cookie?: never;
131931
132177
  };
131932
- requestBody?: {
131933
- content: {
131934
- "application/json": Record<string, never>;
131935
- };
131936
- };
132178
+ requestBody?: never;
131937
132179
  responses: {
131938
132180
  /** @description Successful response */
131939
132181
  200: {
@@ -134846,11 +135088,7 @@ export interface operations {
134846
135088
  };
134847
135089
  cookie?: never;
134848
135090
  };
134849
- requestBody?: {
134850
- content: {
134851
- "application/json": Record<string, never>;
134852
- };
134853
- };
135091
+ requestBody?: never;
134854
135092
  responses: {
134855
135093
  /** @description Successful response */
134856
135094
  200: {