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