@vrplatform/api 1.3.1-stage.1978 → 1.3.1-stage.1983

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.1978",
6
+ "version": "1.3.1-stage.1983",
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;
@@ -31176,6 +31193,124 @@ export interface operations {
31176
31193
  };
31177
31194
  };
31178
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
+ };
31179
31314
  getSyncs: {
31180
31315
  parameters: {
31181
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;