@vrplatform/api 1.3.1-stage.1976 → 1.3.1-stage.1980

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.
@@ -1,6 +1,6 @@
1
1
  import type { ApiClient } from './types';
2
2
  export * from './client';
3
3
  export * from './error';
4
- export * from './generated/v1';
4
+ export type * from './generated/v1';
5
5
  export * from './types';
6
6
  export type VRPlatformApi = ApiClient;
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
18
  __exportStar(require("./error"), exports);
19
- __exportStar(require("./generated/v1"), exports);
20
19
  __exportStar(require("./types"), exports);
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,2CAAyB;AACzB,0CAAwB;AACxB,iDAA+B;AAC/B,0CAAwB","sourcesContent":["import type { ApiClient } from './types';\n\nexport * from './client';\nexport * from './error';\nexport * from './generated/v1';\nexport * from './types';\n\nexport type VRPlatformApi = ApiClient;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,2CAAyB;AACzB,0CAAwB;AAExB,0CAAwB","sourcesContent":["import type { ApiClient } from './types';\n\nexport * from './client';\nexport * from './error';\nexport type * from './generated/v1';\nexport * from './types';\n\nexport type VRPlatformApi = ApiClient;\n"]}
@@ -2184,6 +2184,23 @@ export interface paths {
2184
2184
  patch?: never;
2185
2185
  trace?: never;
2186
2186
  };
2187
+ "/sync/resolve": {
2188
+ parameters: {
2189
+ query?: never;
2190
+ header?: never;
2191
+ path?: never;
2192
+ cookie?: never;
2193
+ };
2194
+ get?: never;
2195
+ put?: never;
2196
+ /** @description Resolve canonical entity ID by source identity */
2197
+ post: operations["resolveSyncEntity"];
2198
+ delete?: never;
2199
+ options?: never;
2200
+ head?: never;
2201
+ patch?: never;
2202
+ trace?: never;
2203
+ };
2187
2204
  "/syncs": {
2188
2205
  parameters: {
2189
2206
  query?: never;
@@ -26366,6 +26383,31 @@ export interface operations {
26366
26383
  endAt: string;
26367
26384
  };
26368
26385
  message: string;
26386
+ } | {
26387
+ /** @constant */
26388
+ code: "statementFinancialEquationMismatch";
26389
+ /** @constant */
26390
+ severity: "warning";
26391
+ context: {
26392
+ balanceStart: number;
26393
+ netIncome: number;
26394
+ transfers: number;
26395
+ balanceEnd: number;
26396
+ delta: number;
26397
+ };
26398
+ message: string;
26399
+ } | {
26400
+ /** @constant */
26401
+ code: "statementPreviousBalanceMismatch";
26402
+ /** @constant */
26403
+ severity: "warning";
26404
+ context: {
26405
+ previousStatementId: string;
26406
+ previousBalanceEnd: number;
26407
+ balanceStart: number;
26408
+ delta: number;
26409
+ };
26410
+ message: string;
26369
26411
  })[];
26370
26412
  transfers: {
26371
26413
  id: string;
@@ -26701,6 +26743,31 @@ export interface operations {
26701
26743
  endAt: string;
26702
26744
  };
26703
26745
  message: string;
26746
+ } | {
26747
+ /** @constant */
26748
+ code: "statementFinancialEquationMismatch";
26749
+ /** @constant */
26750
+ severity: "warning";
26751
+ context: {
26752
+ balanceStart: number;
26753
+ netIncome: number;
26754
+ transfers: number;
26755
+ balanceEnd: number;
26756
+ delta: number;
26757
+ };
26758
+ message: string;
26759
+ } | {
26760
+ /** @constant */
26761
+ code: "statementPreviousBalanceMismatch";
26762
+ /** @constant */
26763
+ severity: "warning";
26764
+ context: {
26765
+ previousStatementId: string;
26766
+ previousBalanceEnd: number;
26767
+ balanceStart: number;
26768
+ delta: number;
26769
+ };
26770
+ message: string;
26704
26771
  })[];
26705
26772
  transfers: {
26706
26773
  id: string;
@@ -27265,6 +27332,31 @@ export interface operations {
27265
27332
  endAt: string;
27266
27333
  };
27267
27334
  message: string;
27335
+ } | {
27336
+ /** @constant */
27337
+ code: "statementFinancialEquationMismatch";
27338
+ /** @constant */
27339
+ severity: "warning";
27340
+ context: {
27341
+ balanceStart: number;
27342
+ netIncome: number;
27343
+ transfers: number;
27344
+ balanceEnd: number;
27345
+ delta: number;
27346
+ };
27347
+ message: string;
27348
+ } | {
27349
+ /** @constant */
27350
+ code: "statementPreviousBalanceMismatch";
27351
+ /** @constant */
27352
+ severity: "warning";
27353
+ context: {
27354
+ previousStatementId: string;
27355
+ previousBalanceEnd: number;
27356
+ balanceStart: number;
27357
+ delta: number;
27358
+ };
27359
+ message: string;
27268
27360
  })[];
27269
27361
  transfers: {
27270
27362
  id: string;
@@ -29763,6 +29855,31 @@ export interface operations {
29763
29855
  endAt: string;
29764
29856
  };
29765
29857
  message: string;
29858
+ } | {
29859
+ /** @constant */
29860
+ code: "statementFinancialEquationMismatch";
29861
+ /** @constant */
29862
+ severity: "warning";
29863
+ context: {
29864
+ balanceStart: number;
29865
+ netIncome: number;
29866
+ transfers: number;
29867
+ balanceEnd: number;
29868
+ delta: number;
29869
+ };
29870
+ message: string;
29871
+ } | {
29872
+ /** @constant */
29873
+ code: "statementPreviousBalanceMismatch";
29874
+ /** @constant */
29875
+ severity: "warning";
29876
+ context: {
29877
+ previousStatementId: string;
29878
+ previousBalanceEnd: number;
29879
+ balanceStart: number;
29880
+ delta: number;
29881
+ };
29882
+ message: string;
29766
29883
  })[];
29767
29884
  transfers: {
29768
29885
  id: string;
@@ -30332,6 +30449,31 @@ export interface operations {
30332
30449
  endAt: string;
30333
30450
  };
30334
30451
  message: string;
30452
+ } | {
30453
+ /** @constant */
30454
+ code: "statementFinancialEquationMismatch";
30455
+ /** @constant */
30456
+ severity: "warning";
30457
+ context: {
30458
+ balanceStart: number;
30459
+ netIncome: number;
30460
+ transfers: number;
30461
+ balanceEnd: number;
30462
+ delta: number;
30463
+ };
30464
+ message: string;
30465
+ } | {
30466
+ /** @constant */
30467
+ code: "statementPreviousBalanceMismatch";
30468
+ /** @constant */
30469
+ severity: "warning";
30470
+ context: {
30471
+ previousStatementId: string;
30472
+ previousBalanceEnd: number;
30473
+ balanceStart: number;
30474
+ delta: number;
30475
+ };
30476
+ message: string;
30335
30477
  })[];
30336
30478
  transfers: {
30337
30479
  id: string;
@@ -31050,6 +31192,124 @@ export interface operations {
31050
31192
  };
31051
31193
  };
31052
31194
  };
31195
+ resolveSyncEntity: {
31196
+ parameters: {
31197
+ query?: never;
31198
+ header?: never;
31199
+ path?: never;
31200
+ cookie?: never;
31201
+ };
31202
+ requestBody?: {
31203
+ content: {
31204
+ "application/json": {
31205
+ /** @enum {string} */
31206
+ entityType: "reservation" | "listing" | "transaction" | "payment" | "bankAccount" | "bankRecord" | "contact";
31207
+ /** Format: uuid */
31208
+ connectionId?: string;
31209
+ /** Format: uuid */
31210
+ id?: string;
31211
+ /** Format: uuid */
31212
+ sourceId?: string;
31213
+ uniqueRef?: string;
31214
+ /** Format: uuid */
31215
+ accountId?: string;
31216
+ };
31217
+ };
31218
+ };
31219
+ responses: {
31220
+ /** @description Successful response */
31221
+ 200: {
31222
+ headers: {
31223
+ [name: string]: unknown;
31224
+ };
31225
+ content: {
31226
+ "application/json": {
31227
+ id: string | null;
31228
+ };
31229
+ };
31230
+ };
31231
+ /** @description Bad request */
31232
+ 400: {
31233
+ headers: {
31234
+ [name: string]: unknown;
31235
+ };
31236
+ content: {
31237
+ "application/json": {
31238
+ code: string;
31239
+ message: string;
31240
+ issues?: {
31241
+ message: string;
31242
+ }[];
31243
+ context?: unknown;
31244
+ };
31245
+ };
31246
+ };
31247
+ /** @description Unauthorized */
31248
+ 401: {
31249
+ headers: {
31250
+ [name: string]: unknown;
31251
+ };
31252
+ content: {
31253
+ "application/json": {
31254
+ code: string;
31255
+ message: string;
31256
+ issues?: {
31257
+ message: string;
31258
+ }[];
31259
+ context?: unknown;
31260
+ };
31261
+ };
31262
+ };
31263
+ /** @description Forbidden */
31264
+ 403: {
31265
+ headers: {
31266
+ [name: string]: unknown;
31267
+ };
31268
+ content: {
31269
+ "application/json": {
31270
+ code: string;
31271
+ message: string;
31272
+ issues?: {
31273
+ message: string;
31274
+ }[];
31275
+ context?: unknown;
31276
+ };
31277
+ };
31278
+ };
31279
+ /** @description Not found */
31280
+ 404: {
31281
+ headers: {
31282
+ [name: string]: unknown;
31283
+ };
31284
+ content: {
31285
+ "application/json": {
31286
+ code: string;
31287
+ message: string;
31288
+ issues?: {
31289
+ message: string;
31290
+ }[];
31291
+ context?: unknown;
31292
+ };
31293
+ };
31294
+ };
31295
+ /** @description Internal server error */
31296
+ 500: {
31297
+ headers: {
31298
+ [name: string]: unknown;
31299
+ };
31300
+ content: {
31301
+ "application/json": {
31302
+ code: string;
31303
+ message: string;
31304
+ issues?: {
31305
+ message: string;
31306
+ }[];
31307
+ context?: unknown;
31308
+ };
31309
+ };
31310
+ };
31311
+ };
31312
+ };
31053
31313
  getSyncs: {
31054
31314
  parameters: {
31055
31315
  query?: {