@vrplatform/api 1.2.33-stage.884 → 1.2.33-stage.886

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.2.33-stage.884",
6
+ "version": "1.2.33-stage.886",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1284,6 +1284,23 @@ export interface paths {
1284
1284
  patch?: never;
1285
1285
  trace?: never;
1286
1286
  };
1287
+ "/extract": {
1288
+ parameters: {
1289
+ query?: never;
1290
+ header?: never;
1291
+ path?: never;
1292
+ cookie?: never;
1293
+ };
1294
+ get?: never;
1295
+ put?: never;
1296
+ /** @description Trigger extract workflows for connections. */
1297
+ post: operations["extract"];
1298
+ delete?: never;
1299
+ options?: never;
1300
+ head?: never;
1301
+ patch?: never;
1302
+ trace?: never;
1303
+ };
1287
1304
  "/syncs/{id}": {
1288
1305
  parameters: {
1289
1306
  query?: never;
@@ -2264,9 +2281,9 @@ export interface components {
2264
2281
  total: number;
2265
2282
  values: components["schemas"]["ProfitAndLossValueCell"][];
2266
2283
  };
2267
- /** @description Collection of settings returned by GET routes. Each value is either { id, name, type } or the raw stored value when type=value. */
2284
+ /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2268
2285
  FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2269
- /** @description Setting representation returned from GET routes. value is { id, name, type } for resolved entities or the raw stored value when type=value. */
2286
+ /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2270
2287
  FlowSettingItemGet: {
2271
2288
  /** Format: uuid */
2272
2289
  id: string;
@@ -2283,20 +2300,22 @@ export interface components {
2283
2300
  */
2284
2301
  type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2285
2302
  filter: string | null;
2286
- value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2287
- [key: string]: string | number | boolean | null;
2288
- });
2303
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2289
2304
  };
2290
- /** @description Resolved mapping entity summary ({ id, name, type }) returned by GET endpoints. */
2305
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2291
2306
  FlowMappingResolvedEntityValue: {
2292
2307
  /** Format: uuid */
2293
2308
  id: string;
2294
- name: string | null;
2295
- type: "account" | "bookingChannel" | "contact" | "listing" | "source";
2309
+ name: string;
2310
+ /**
2311
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2312
+ * @enum {string}
2313
+ */
2314
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2296
2315
  };
2297
- /** @description Collection of settings after mutation with value equal to the entity id. */
2316
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2298
2317
  FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2299
- /** @description Setting representation returned from mutation routes with value=id. */
2318
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2300
2319
  FlowSettingItemPost: {
2301
2320
  /** Format: uuid */
2302
2321
  id: string;
@@ -2313,14 +2332,9 @@ export interface components {
2313
2332
  */
2314
2333
  type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2315
2334
  filter: string | null;
2316
- value: components["schemas"]["FlowMappingPostValue"];
2335
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2317
2336
  };
2318
- /**
2319
- * Format: uuid
2320
- * @description Identifier of the selected entity, used when creating or updating mappings/settings.
2321
- */
2322
- FlowMappingPostValue: string;
2323
- /** @description Mapping entry returned from GET routes. value is { id, name, type } for resolved entities or the raw value when type=value. */
2337
+ /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2324
2338
  FlowMappingItemGet: {
2325
2339
  /** Format: uuid */
2326
2340
  id: string;
@@ -2329,14 +2343,13 @@ export interface components {
2329
2343
  /** Format: uuid */
2330
2344
  connectionId: string;
2331
2345
  mappingKey: string;
2332
- sourceId: string | null;
2346
+ /** Format: uuid */
2347
+ sourceId: string;
2333
2348
  title: string | null;
2334
2349
  description: string | null;
2335
- value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2336
- [key: string]: string | number | boolean | null;
2337
- });
2350
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2338
2351
  };
2339
- /** @description Mapping entry returned from mutation routes with value=id. */
2352
+ /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2340
2353
  FlowMappingItemPost: {
2341
2354
  /** Format: uuid */
2342
2355
  id: string;
@@ -2345,10 +2358,11 @@ export interface components {
2345
2358
  /** Format: uuid */
2346
2359
  connectionId: string;
2347
2360
  mappingKey: string;
2348
- sourceId: string | null;
2361
+ /** Format: uuid */
2362
+ sourceId: string;
2349
2363
  title: string | null;
2350
2364
  description: string | null;
2351
- value: components["schemas"]["FlowMappingPostValue"];
2365
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2352
2366
  };
2353
2367
  };
2354
2368
  responses: never;
@@ -5812,7 +5826,7 @@ export interface operations {
5812
5826
  data: {
5813
5827
  /** Format: uuid */
5814
5828
  listingId: string;
5815
- /** @default 2025-10-29 */
5829
+ /** @default 2025-10-30 */
5816
5830
  startAt: string;
5817
5831
  endAt?: string | null;
5818
5832
  setListingInactive?: boolean | null;
@@ -5894,7 +5908,7 @@ export interface operations {
5894
5908
  "application/json": {
5895
5909
  /** Format: uuid */
5896
5910
  listingId: string;
5897
- /** @default 2025-10-29 */
5911
+ /** @default 2025-10-30 */
5898
5912
  startAt?: string;
5899
5913
  endAt?: string | null;
5900
5914
  members: {
@@ -5928,7 +5942,7 @@ export interface operations {
5928
5942
  "application/json": {
5929
5943
  /** Format: uuid */
5930
5944
  listingId: string;
5931
- /** @default 2025-10-29 */
5945
+ /** @default 2025-10-30 */
5932
5946
  startAt: string;
5933
5947
  endAt?: string | null;
5934
5948
  setListingInactive?: boolean | null;
@@ -6008,7 +6022,7 @@ export interface operations {
6008
6022
  "application/json": {
6009
6023
  /** Format: uuid */
6010
6024
  listingId: string;
6011
- /** @default 2025-10-29 */
6025
+ /** @default 2025-10-30 */
6012
6026
  startAt: string;
6013
6027
  endAt?: string | null;
6014
6028
  setListingInactive?: boolean | null;
@@ -6091,7 +6105,7 @@ export interface operations {
6091
6105
  "application/json": {
6092
6106
  /** Format: uuid */
6093
6107
  listingId?: string;
6094
- /** @default 2025-10-29 */
6108
+ /** @default 2025-10-30 */
6095
6109
  startAt?: string;
6096
6110
  endAt?: string | null;
6097
6111
  members?: {
@@ -6125,7 +6139,7 @@ export interface operations {
6125
6139
  "application/json": {
6126
6140
  /** Format: uuid */
6127
6141
  listingId: string;
6128
- /** @default 2025-10-29 */
6142
+ /** @default 2025-10-30 */
6129
6143
  startAt: string;
6130
6144
  endAt?: string | null;
6131
6145
  setListingInactive?: boolean | null;
@@ -6311,7 +6325,7 @@ export interface operations {
6311
6325
  /** Format: uuid */
6312
6326
  sourceId?: string | null;
6313
6327
  initialOwnership?: {
6314
- /** @default 2025-10-29 */
6328
+ /** @default 2025-10-30 */
6315
6329
  startAt?: string;
6316
6330
  endAt?: string | null;
6317
6331
  members: {
@@ -6369,7 +6383,7 @@ export interface operations {
6369
6383
  status: "active" | "inactive";
6370
6384
  defaultCurrency?: string | null;
6371
6385
  activeOwnership?: {
6372
- /** @default 2025-10-29 */
6386
+ /** @default 2025-10-30 */
6373
6387
  startAt: string;
6374
6388
  endAt?: string | null;
6375
6389
  setListingInactive?: boolean | null;
@@ -6610,7 +6624,7 @@ export interface operations {
6610
6624
  status: "active" | "inactive";
6611
6625
  defaultCurrency?: string | null;
6612
6626
  activeOwnership?: {
6613
- /** @default 2025-10-29 */
6627
+ /** @default 2025-10-30 */
6614
6628
  startAt: string;
6615
6629
  endAt?: string | null;
6616
6630
  setListingInactive?: boolean | null;
@@ -6749,7 +6763,7 @@ export interface operations {
6749
6763
  /** Format: uuid */
6750
6764
  sourceId?: string | null;
6751
6765
  initialOwnership?: {
6752
- /** @default 2025-10-29 */
6766
+ /** @default 2025-10-30 */
6753
6767
  startAt?: string;
6754
6768
  endAt?: string | null;
6755
6769
  members: {
@@ -6803,7 +6817,7 @@ export interface operations {
6803
6817
  status: "active" | "inactive";
6804
6818
  defaultCurrency?: string | null;
6805
6819
  activeOwnership?: {
6806
- /** @default 2025-10-29 */
6820
+ /** @default 2025-10-30 */
6807
6821
  startAt: string;
6808
6822
  endAt?: string | null;
6809
6823
  setListingInactive?: boolean | null;
@@ -7020,7 +7034,7 @@ export interface operations {
7020
7034
  status: "active" | "inactive";
7021
7035
  defaultCurrency?: string | null;
7022
7036
  activeOwnership?: {
7023
- /** @default 2025-10-29 */
7037
+ /** @default 2025-10-30 */
7024
7038
  startAt: string;
7025
7039
  endAt?: string | null;
7026
7040
  setListingInactive?: boolean | null;
@@ -7167,7 +7181,7 @@ export interface operations {
7167
7181
  /** Format: uuid */
7168
7182
  sourceId?: string | null;
7169
7183
  initialOwnership?: {
7170
- /** @default 2025-10-29 */
7184
+ /** @default 2025-10-30 */
7171
7185
  startAt?: string;
7172
7186
  endAt?: string | null;
7173
7187
  members: {
@@ -7221,7 +7235,7 @@ export interface operations {
7221
7235
  status: "active" | "inactive";
7222
7236
  defaultCurrency?: string | null;
7223
7237
  activeOwnership?: {
7224
- /** @default 2025-10-29 */
7238
+ /** @default 2025-10-30 */
7225
7239
  startAt: string;
7226
7240
  endAt?: string | null;
7227
7241
  setListingInactive?: boolean | null;
@@ -20255,6 +20269,97 @@ export interface operations {
20255
20269
  };
20256
20270
  };
20257
20271
  };
20272
+ extract: {
20273
+ parameters: {
20274
+ query?: never;
20275
+ header?: {
20276
+ "X-Team-Id"?: string;
20277
+ };
20278
+ path?: never;
20279
+ cookie?: never;
20280
+ };
20281
+ requestBody: {
20282
+ content: {
20283
+ "application/json": {
20284
+ isInitial?: boolean;
20285
+ connections: {
20286
+ /** Format: uuid */
20287
+ connectionId: string;
20288
+ params?: unknown;
20289
+ type?: string;
20290
+ range?: {
20291
+ start?: string;
20292
+ end?: string;
20293
+ };
20294
+ forceUpdate?: boolean;
20295
+ }[];
20296
+ };
20297
+ };
20298
+ };
20299
+ responses: {
20300
+ /** @description Successful response */
20301
+ 200: {
20302
+ headers: {
20303
+ [name: string]: unknown;
20304
+ };
20305
+ content: {
20306
+ "application/json": {
20307
+ data: {
20308
+ /** Format: uuid */
20309
+ runId: string;
20310
+ /** Format: uuid */
20311
+ workflowId: string;
20312
+ /** Format: uuid */
20313
+ taskId: string;
20314
+ /** Format: uuid */
20315
+ syncId: string;
20316
+ data?: unknown;
20317
+ error?: {
20318
+ message: string;
20319
+ error?: string;
20320
+ };
20321
+ }[];
20322
+ };
20323
+ };
20324
+ };
20325
+ /** @description Invalid input data */
20326
+ 400: {
20327
+ headers: {
20328
+ [name: string]: unknown;
20329
+ };
20330
+ content: {
20331
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
20332
+ };
20333
+ };
20334
+ /** @description Authorization not provided */
20335
+ 401: {
20336
+ headers: {
20337
+ [name: string]: unknown;
20338
+ };
20339
+ content: {
20340
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
20341
+ };
20342
+ };
20343
+ /** @description Insufficient access */
20344
+ 403: {
20345
+ headers: {
20346
+ [name: string]: unknown;
20347
+ };
20348
+ content: {
20349
+ "application/json": components["schemas"]["error.FORBIDDEN"];
20350
+ };
20351
+ };
20352
+ /** @description Internal server error */
20353
+ 500: {
20354
+ headers: {
20355
+ [name: string]: unknown;
20356
+ };
20357
+ content: {
20358
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
20359
+ };
20360
+ };
20361
+ };
20362
+ };
20258
20363
  getSync: {
20259
20364
  parameters: {
20260
20365
  query?: never;