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