@vrplatform/api 1.3.0-stage.1145 → 1.3.0-stage.1146

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.
@@ -2013,7 +2013,7 @@ export interface paths {
2013
2013
  path?: never;
2014
2014
  cookie?: never;
2015
2015
  };
2016
- /** @description List available values/options for a flow setting */
2016
+ /** @description Get a flow setting entry */
2017
2017
  get: operations["getFlowSetting"];
2018
2018
  put?: never;
2019
2019
  /** @description Create, update or delete a flow setting entry */
@@ -2370,52 +2370,6 @@ export interface components {
2370
2370
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2371
2371
  };
2372
2372
  };
2373
- /** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
2374
- FlowMappingItemPost: {
2375
- /** Format: uuid */
2376
- id: string;
2377
- /** Format: uuid */
2378
- flowId: string;
2379
- /** Format: uuid */
2380
- connectionId: string;
2381
- mappingKey: string;
2382
- title: string | null;
2383
- description: string | null;
2384
- left: {
2385
- /** Format: uuid */
2386
- sourceId: string;
2387
- };
2388
- right: {
2389
- value: string | number;
2390
- text: string;
2391
- /**
2392
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2393
- * @enum {string}
2394
- */
2395
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2396
- };
2397
- };
2398
- /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2399
- FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2400
- /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2401
- FlowSettingItemPost: {
2402
- /** Format: uuid */
2403
- id: string;
2404
- /** Format: uuid */
2405
- flowId: string;
2406
- /** Format: uuid */
2407
- connectionId: string;
2408
- settingKey: string;
2409
- title: string | null;
2410
- description: string | null;
2411
- /**
2412
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2413
- * @enum {string|null}
2414
- */
2415
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2416
- filter: string | null;
2417
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2418
- };
2419
2373
  };
2420
2374
  responses: never;
2421
2375
  parameters: never;
@@ -24144,11 +24098,7 @@ export interface operations {
24144
24098
  /** Format: uuid */
24145
24099
  id: string;
24146
24100
  title: string;
24147
- app: {
24148
- id: string;
24149
- name: string;
24150
- icon?: string | null;
24151
- };
24101
+ appId: string;
24152
24102
  description?: string | null;
24153
24103
  /** @description Mapping schema configuration for this flow */
24154
24104
  mappingSchema: {
@@ -24277,11 +24227,7 @@ export interface operations {
24277
24227
  /** Format: uuid */
24278
24228
  id: string;
24279
24229
  title: string;
24280
- app: {
24281
- id: string;
24282
- name: string;
24283
- icon?: string | null;
24284
- };
24230
+ appId: string;
24285
24231
  description?: string | null;
24286
24232
  /** @description Mapping schema configuration for this flow */
24287
24233
  mappingSchema: {
@@ -24619,8 +24565,8 @@ export interface operations {
24619
24565
  };
24620
24566
  getFlowMapping: {
24621
24567
  parameters: {
24622
- query?: {
24623
- sourceId?: string;
24568
+ query: {
24569
+ sourceId: string;
24624
24570
  limit?: number;
24625
24571
  page?: number;
24626
24572
  };
@@ -24721,11 +24667,9 @@ export interface operations {
24721
24667
  "application/json": {
24722
24668
  /** Format: uuid */
24723
24669
  sourceId: string;
24724
- value?: unknown;
24725
- /** @default 100 */
24726
- limit?: number;
24727
- /** @default 1 */
24728
- page?: number;
24670
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
24671
+ [key: string]: string | number | boolean | null;
24672
+ }) | null;
24729
24673
  };
24730
24674
  };
24731
24675
  };
@@ -24737,15 +24681,27 @@ export interface operations {
24737
24681
  };
24738
24682
  content: {
24739
24683
  "application/json": {
24740
- data: components["schemas"]["FlowMappingItemPost"][];
24741
- pagination: {
24742
- /** @default 100 */
24743
- limit: number;
24744
- /** @default 1 */
24745
- page: number;
24746
- total: number;
24747
- totalPage: number;
24748
- nextPage?: number;
24684
+ /** Format: uuid */
24685
+ id?: string;
24686
+ /** Format: uuid */
24687
+ flowId?: string;
24688
+ /** Format: uuid */
24689
+ connectionId?: string;
24690
+ mappingKey?: string;
24691
+ title?: string | null;
24692
+ description?: string | null;
24693
+ left?: {
24694
+ /** Format: uuid */
24695
+ sourceId: string;
24696
+ };
24697
+ right?: {
24698
+ value: string | number;
24699
+ text: string;
24700
+ /**
24701
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24702
+ * @enum {string}
24703
+ */
24704
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24749
24705
  };
24750
24706
  };
24751
24707
  };
@@ -24972,8 +24928,6 @@ export interface operations {
24972
24928
  parameters: {
24973
24929
  query?: {
24974
24930
  search?: string;
24975
- limit?: number;
24976
- page?: number;
24977
24931
  };
24978
24932
  header?: {
24979
24933
  "X-Team-Id"?: string;
@@ -24993,23 +24947,7 @@ export interface operations {
24993
24947
  [name: string]: unknown;
24994
24948
  };
24995
24949
  content: {
24996
- "application/json": {
24997
- data: {
24998
- id: string;
24999
- name: string;
25000
- description: string | null;
25001
- value?: unknown;
25002
- }[];
25003
- pagination: {
25004
- /** @default 100 */
25005
- limit: number;
25006
- /** @default 1 */
25007
- page: number;
25008
- total: number;
25009
- totalPage: number;
25010
- nextPage?: number;
25011
- };
25012
- };
24950
+ "application/json": components["schemas"]["FlowSettingItemGet"];
25013
24951
  };
25014
24952
  };
25015
24953
  /** @description Invalid input data */
@@ -25075,7 +25013,9 @@ export interface operations {
25075
25013
  requestBody: {
25076
25014
  content: {
25077
25015
  "application/json": {
25078
- value?: unknown;
25016
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25017
+ [key: string]: string | number | boolean | null;
25018
+ }) | null;
25079
25019
  };
25080
25020
  };
25081
25021
  };
@@ -25088,14 +25028,21 @@ export interface operations {
25088
25028
  content: {
25089
25029
  "application/json": {
25090
25030
  /** Format: uuid */
25091
- id: string;
25031
+ id?: string;
25092
25032
  /** Format: uuid */
25093
- connectionId: string;
25094
- title: string;
25095
- description: string | null;
25096
- /** @enum {string} */
25097
- status: "active" | "inactive";
25098
- settings: components["schemas"]["FlowSettingItemsPost"];
25033
+ flowId?: string;
25034
+ /** Format: uuid */
25035
+ connectionId?: string;
25036
+ settingKey?: string;
25037
+ title?: string | null;
25038
+ description?: string | null;
25039
+ /**
25040
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25041
+ * @enum {string|null}
25042
+ */
25043
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
25044
+ filter?: string | null;
25045
+ value?: components["schemas"]["FlowMappingResolvedEntityValue"];
25099
25046
  };
25100
25047
  };
25101
25048
  };