@vrplatform/api 1.2.33-stage.877 → 1.2.33-stage.879

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.
@@ -2262,6 +2262,94 @@ export interface components {
2262
2262
  total: number;
2263
2263
  values: components["schemas"]["ProfitAndLossValueCell"][];
2264
2264
  };
2265
+ /** @description Collection of settings returned by GET routes. Each value is either { id, name, type } or the raw stored value when type=value. */
2266
+ FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2267
+ /** @description Setting representation returned from GET routes. value is { id, name, type } for resolved entities or the raw stored value when type=value. */
2268
+ FlowSettingItemGet: {
2269
+ /** Format: uuid */
2270
+ id: string;
2271
+ /** Format: uuid */
2272
+ flowId: string;
2273
+ /** Format: uuid */
2274
+ connectionId: string;
2275
+ settingKey: string;
2276
+ title: string | null;
2277
+ description: string | null;
2278
+ /**
2279
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2280
+ * @enum {string|null}
2281
+ */
2282
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2283
+ filter: string | null;
2284
+ value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2285
+ [key: string]: string | number | boolean | null;
2286
+ });
2287
+ };
2288
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by GET endpoints. */
2289
+ FlowMappingResolvedEntityValue: {
2290
+ /** Format: uuid */
2291
+ id: string;
2292
+ name: string | null;
2293
+ type: "account" | "bookingChannel" | "contact" | "listing" | "source";
2294
+ };
2295
+ /** @description Collection of settings after mutation with value equal to the entity id. */
2296
+ FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2297
+ /** @description Setting representation returned from mutation routes with value=id. */
2298
+ FlowSettingItemPost: {
2299
+ /** Format: uuid */
2300
+ id: string;
2301
+ /** Format: uuid */
2302
+ flowId: string;
2303
+ /** Format: uuid */
2304
+ connectionId: string;
2305
+ settingKey: string;
2306
+ title: string | null;
2307
+ description: string | null;
2308
+ /**
2309
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2310
+ * @enum {string|null}
2311
+ */
2312
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2313
+ filter: string | null;
2314
+ value: components["schemas"]["FlowMappingPostValue"];
2315
+ };
2316
+ /**
2317
+ * Format: uuid
2318
+ * @description Identifier of the selected entity, used when creating or updating mappings/settings.
2319
+ */
2320
+ FlowMappingPostValue: string;
2321
+ /** @description Mapping entry returned from GET routes. value is { id, name, type } for resolved entities or the raw value when type=value. */
2322
+ FlowMappingItemGet: {
2323
+ /** Format: uuid */
2324
+ id: string;
2325
+ /** Format: uuid */
2326
+ flowId: string;
2327
+ /** Format: uuid */
2328
+ connectionId: string;
2329
+ mappingKey: string;
2330
+ /** Format: uuid */
2331
+ sourceId: string;
2332
+ title: string | null;
2333
+ description: string | null;
2334
+ value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2335
+ [key: string]: string | number | boolean | null;
2336
+ });
2337
+ };
2338
+ /** @description Mapping entry returned from mutation routes with value=id. */
2339
+ FlowMappingItemPost: {
2340
+ /** Format: uuid */
2341
+ id: string;
2342
+ /** Format: uuid */
2343
+ flowId: string;
2344
+ /** Format: uuid */
2345
+ connectionId: string;
2346
+ mappingKey: string;
2347
+ /** Format: uuid */
2348
+ sourceId: string;
2349
+ title: string | null;
2350
+ description: string | null;
2351
+ value: components["schemas"]["FlowMappingPostValue"];
2352
+ };
2265
2353
  };
2266
2354
  responses: never;
2267
2355
  parameters: never;
@@ -26180,70 +26268,7 @@ export interface operations {
26180
26268
  description: string | null;
26181
26269
  /** @enum {string} */
26182
26270
  status: "active" | "inactive";
26183
- settings: {
26184
- /** Format: uuid */
26185
- id: string;
26186
- /** Format: uuid */
26187
- flowId: string;
26188
- /** Format: uuid */
26189
- connectionId: string;
26190
- settingKey: string;
26191
- title: string | null;
26192
- description: string | null;
26193
- type: string | null;
26194
- filter: string | null;
26195
- value: {
26196
- /** @enum {string} */
26197
- type: "account";
26198
- account: {
26199
- /** Format: uuid */
26200
- id: string;
26201
- title?: string | null;
26202
- type?: string | null;
26203
- };
26204
- } | {
26205
- /** @enum {string} */
26206
- type: "bookingChannel";
26207
- bookingChannel: {
26208
- /** Format: uuid */
26209
- id: string;
26210
- uniqueRef?: string | null;
26211
- icon?: string | null;
26212
- };
26213
- } | {
26214
- /** @enum {string} */
26215
- type: "contact";
26216
- contact: {
26217
- /** Format: uuid */
26218
- id: string;
26219
- name?: string | null;
26220
- email?: string | null;
26221
- type?: string | null;
26222
- };
26223
- } | {
26224
- /** @enum {string} */
26225
- type: "listing";
26226
- listing: {
26227
- /** Format: uuid */
26228
- id: string;
26229
- name?: string | null;
26230
- title?: string | null;
26231
- };
26232
- } | {
26233
- /** @enum {string} */
26234
- type: "source";
26235
- source: {
26236
- /** Format: uuid */
26237
- id: string;
26238
- description?: string | null;
26239
- code?: string | null;
26240
- };
26241
- } | {
26242
- /** @enum {string} */
26243
- type: "value";
26244
- value?: unknown;
26245
- };
26246
- }[];
26271
+ settings: components["schemas"]["FlowSettingItemsGet"];
26247
26272
  };
26248
26273
  };
26249
26274
  };
@@ -26330,70 +26355,7 @@ export interface operations {
26330
26355
  description: string | null;
26331
26356
  /** @enum {string} */
26332
26357
  status: "active" | "inactive";
26333
- settings: {
26334
- /** Format: uuid */
26335
- id: string;
26336
- /** Format: uuid */
26337
- flowId: string;
26338
- /** Format: uuid */
26339
- connectionId: string;
26340
- settingKey: string;
26341
- title: string | null;
26342
- description: string | null;
26343
- type: string | null;
26344
- filter: string | null;
26345
- value: {
26346
- /** @enum {string} */
26347
- type: "account";
26348
- account: {
26349
- /** Format: uuid */
26350
- id: string;
26351
- title?: string | null;
26352
- type?: string | null;
26353
- };
26354
- } | {
26355
- /** @enum {string} */
26356
- type: "bookingChannel";
26357
- bookingChannel: {
26358
- /** Format: uuid */
26359
- id: string;
26360
- uniqueRef?: string | null;
26361
- icon?: string | null;
26362
- };
26363
- } | {
26364
- /** @enum {string} */
26365
- type: "contact";
26366
- contact: {
26367
- /** Format: uuid */
26368
- id: string;
26369
- name?: string | null;
26370
- email?: string | null;
26371
- type?: string | null;
26372
- };
26373
- } | {
26374
- /** @enum {string} */
26375
- type: "listing";
26376
- listing: {
26377
- /** Format: uuid */
26378
- id: string;
26379
- name?: string | null;
26380
- title?: string | null;
26381
- };
26382
- } | {
26383
- /** @enum {string} */
26384
- type: "source";
26385
- source: {
26386
- /** Format: uuid */
26387
- id: string;
26388
- description?: string | null;
26389
- code?: string | null;
26390
- };
26391
- } | {
26392
- /** @enum {string} */
26393
- type: "value";
26394
- value?: unknown;
26395
- };
26396
- }[];
26358
+ settings: components["schemas"]["FlowSettingItemsGet"];
26397
26359
  };
26398
26360
  };
26399
26361
  };
@@ -26541,70 +26503,7 @@ export interface operations {
26541
26503
  };
26542
26504
  content: {
26543
26505
  "application/json": {
26544
- data: {
26545
- /** Format: uuid */
26546
- id: string;
26547
- /** Format: uuid */
26548
- flowId: string;
26549
- /** Format: uuid */
26550
- connectionId: string;
26551
- settingKey: string;
26552
- title: string | null;
26553
- description: string | null;
26554
- type: string | null;
26555
- filter: string | null;
26556
- value: {
26557
- /** @enum {string} */
26558
- type: "account";
26559
- account: {
26560
- /** Format: uuid */
26561
- id: string;
26562
- title?: string | null;
26563
- type?: string | null;
26564
- };
26565
- } | {
26566
- /** @enum {string} */
26567
- type: "bookingChannel";
26568
- bookingChannel: {
26569
- /** Format: uuid */
26570
- id: string;
26571
- uniqueRef?: string | null;
26572
- icon?: string | null;
26573
- };
26574
- } | {
26575
- /** @enum {string} */
26576
- type: "contact";
26577
- contact: {
26578
- /** Format: uuid */
26579
- id: string;
26580
- name?: string | null;
26581
- email?: string | null;
26582
- type?: string | null;
26583
- };
26584
- } | {
26585
- /** @enum {string} */
26586
- type: "listing";
26587
- listing: {
26588
- /** Format: uuid */
26589
- id: string;
26590
- name?: string | null;
26591
- title?: string | null;
26592
- };
26593
- } | {
26594
- /** @enum {string} */
26595
- type: "source";
26596
- source: {
26597
- /** Format: uuid */
26598
- id: string;
26599
- description?: string | null;
26600
- code?: string | null;
26601
- };
26602
- } | {
26603
- /** @enum {string} */
26604
- type: "value";
26605
- value?: unknown;
26606
- };
26607
- }[];
26506
+ data: components["schemas"]["FlowSettingItemGet"][];
26608
26507
  pagination: {
26609
26508
  /** @default 100 */
26610
26509
  limit: number;
@@ -26791,70 +26690,7 @@ export interface operations {
26791
26690
  description: string | null;
26792
26691
  /** @enum {string} */
26793
26692
  status: "active" | "inactive";
26794
- settings: {
26795
- /** Format: uuid */
26796
- id: string;
26797
- /** Format: uuid */
26798
- flowId: string;
26799
- /** Format: uuid */
26800
- connectionId: string;
26801
- settingKey: string;
26802
- title: string | null;
26803
- description: string | null;
26804
- type: string | null;
26805
- filter: string | null;
26806
- value: {
26807
- /** @enum {string} */
26808
- type: "account";
26809
- account: {
26810
- /** Format: uuid */
26811
- id: string;
26812
- title?: string | null;
26813
- type?: string | null;
26814
- };
26815
- } | {
26816
- /** @enum {string} */
26817
- type: "bookingChannel";
26818
- bookingChannel: {
26819
- /** Format: uuid */
26820
- id: string;
26821
- uniqueRef?: string | null;
26822
- icon?: string | null;
26823
- };
26824
- } | {
26825
- /** @enum {string} */
26826
- type: "contact";
26827
- contact: {
26828
- /** Format: uuid */
26829
- id: string;
26830
- name?: string | null;
26831
- email?: string | null;
26832
- type?: string | null;
26833
- };
26834
- } | {
26835
- /** @enum {string} */
26836
- type: "listing";
26837
- listing: {
26838
- /** Format: uuid */
26839
- id: string;
26840
- name?: string | null;
26841
- title?: string | null;
26842
- };
26843
- } | {
26844
- /** @enum {string} */
26845
- type: "source";
26846
- source: {
26847
- /** Format: uuid */
26848
- id: string;
26849
- description?: string | null;
26850
- code?: string | null;
26851
- };
26852
- } | {
26853
- /** @enum {string} */
26854
- type: "value";
26855
- value?: unknown;
26856
- };
26857
- }[];
26693
+ settings: components["schemas"]["FlowSettingItemsPost"];
26858
26694
  };
26859
26695
  };
26860
26696
  };
@@ -26921,70 +26757,7 @@ export interface operations {
26921
26757
  };
26922
26758
  content: {
26923
26759
  "application/json": {
26924
- data: {
26925
- /** Format: uuid */
26926
- id: string;
26927
- /** Format: uuid */
26928
- flowId: string;
26929
- /** Format: uuid */
26930
- connectionId: string;
26931
- mappingKey: string;
26932
- /** Format: uuid */
26933
- sourceId: string;
26934
- title: string | null;
26935
- description: string | null;
26936
- value: {
26937
- /** @enum {string} */
26938
- type: "account";
26939
- account: {
26940
- /** Format: uuid */
26941
- id: string;
26942
- title?: string | null;
26943
- type?: string | null;
26944
- };
26945
- } | {
26946
- /** @enum {string} */
26947
- type: "bookingChannel";
26948
- bookingChannel: {
26949
- /** Format: uuid */
26950
- id: string;
26951
- uniqueRef?: string | null;
26952
- icon?: string | null;
26953
- };
26954
- } | {
26955
- /** @enum {string} */
26956
- type: "contact";
26957
- contact: {
26958
- /** Format: uuid */
26959
- id: string;
26960
- name?: string | null;
26961
- email?: string | null;
26962
- type?: string | null;
26963
- };
26964
- } | {
26965
- /** @enum {string} */
26966
- type: "listing";
26967
- listing: {
26968
- /** Format: uuid */
26969
- id: string;
26970
- name?: string | null;
26971
- title?: string | null;
26972
- };
26973
- } | {
26974
- /** @enum {string} */
26975
- type: "source";
26976
- source: {
26977
- /** Format: uuid */
26978
- id: string;
26979
- description?: string | null;
26980
- code?: string | null;
26981
- };
26982
- } | {
26983
- /** @enum {string} */
26984
- type: "value";
26985
- value?: unknown;
26986
- };
26987
- }[];
26760
+ data: components["schemas"]["FlowMappingItemGet"][];
26988
26761
  pagination: {
26989
26762
  /** @default 100 */
26990
26763
  limit: number;
@@ -27078,70 +26851,7 @@ export interface operations {
27078
26851
  };
27079
26852
  content: {
27080
26853
  "application/json": {
27081
- data: {
27082
- /** Format: uuid */
27083
- id: string;
27084
- /** Format: uuid */
27085
- flowId: string;
27086
- /** Format: uuid */
27087
- connectionId: string;
27088
- mappingKey: string;
27089
- /** Format: uuid */
27090
- sourceId: string;
27091
- title: string | null;
27092
- description: string | null;
27093
- value: {
27094
- /** @enum {string} */
27095
- type: "account";
27096
- account: {
27097
- /** Format: uuid */
27098
- id: string;
27099
- title?: string | null;
27100
- type?: string | null;
27101
- };
27102
- } | {
27103
- /** @enum {string} */
27104
- type: "bookingChannel";
27105
- bookingChannel: {
27106
- /** Format: uuid */
27107
- id: string;
27108
- uniqueRef?: string | null;
27109
- icon?: string | null;
27110
- };
27111
- } | {
27112
- /** @enum {string} */
27113
- type: "contact";
27114
- contact: {
27115
- /** Format: uuid */
27116
- id: string;
27117
- name?: string | null;
27118
- email?: string | null;
27119
- type?: string | null;
27120
- };
27121
- } | {
27122
- /** @enum {string} */
27123
- type: "listing";
27124
- listing: {
27125
- /** Format: uuid */
27126
- id: string;
27127
- name?: string | null;
27128
- title?: string | null;
27129
- };
27130
- } | {
27131
- /** @enum {string} */
27132
- type: "source";
27133
- source: {
27134
- /** Format: uuid */
27135
- id: string;
27136
- description?: string | null;
27137
- code?: string | null;
27138
- };
27139
- } | {
27140
- /** @enum {string} */
27141
- type: "value";
27142
- value?: unknown;
27143
- };
27144
- }[];
26854
+ data: components["schemas"]["FlowMappingItemPost"][];
27145
26855
  pagination: {
27146
26856
  /** @default 100 */
27147
26857
  limit: number;