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