@vrplatform/api 1.3.0-1259 → 1.3.0-1267

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.
@@ -2021,32 +2021,33 @@ export interface paths {
2021
2021
  patch?: never;
2022
2022
  trace?: never;
2023
2023
  };
2024
- "/flows": {
2024
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
2025
2025
  parameters: {
2026
2026
  query?: never;
2027
2027
  header?: never;
2028
2028
  path?: never;
2029
2029
  cookie?: never;
2030
2030
  };
2031
- /** @description List flows */
2032
- get: operations["getFlows"];
2031
+ /** @description Get a flow setting entry */
2032
+ get: operations["getFlowSetting"];
2033
2033
  put?: never;
2034
- post?: never;
2034
+ /** @description Create, update or delete a flow setting entry */
2035
+ post: operations["setFlowSetting"];
2035
2036
  delete?: never;
2036
2037
  options?: never;
2037
2038
  head?: never;
2038
2039
  patch?: never;
2039
2040
  trace?: never;
2040
2041
  };
2041
- "/flows/{id}": {
2042
+ "/flows/{id}/{connectionId}/settings/{settingKey}/options": {
2042
2043
  parameters: {
2043
2044
  query?: never;
2044
2045
  header?: never;
2045
2046
  path?: never;
2046
2047
  cookie?: never;
2047
2048
  };
2048
- /** @description Get flow by ID */
2049
- get: operations["getFlow"];
2049
+ /** @description List available options for a flow setting */
2050
+ get: operations["getFlowSettingOptions"];
2050
2051
  put?: never;
2051
2052
  post?: never;
2052
2053
  delete?: never;
@@ -2055,33 +2056,33 @@ export interface paths {
2055
2056
  patch?: never;
2056
2057
  trace?: never;
2057
2058
  };
2058
- "/flows/{id}/{connectionId}": {
2059
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
2059
2060
  parameters: {
2060
2061
  query?: never;
2061
2062
  header?: never;
2062
2063
  path?: never;
2063
2064
  cookie?: never;
2064
2065
  };
2065
- /** @description Get flow configuration for a connection */
2066
- get: operations["getFlowConnection"];
2067
- /** @description Update flow status for a connection */
2068
- put: operations["setFlowStatus"];
2069
- post?: never;
2066
+ /** @description List flow mappings for a key; optionally filter by leftId (source side id) */
2067
+ get: operations["getFlowMapping"];
2068
+ put?: never;
2069
+ /** @description Create, update or delete a flow mapping entry */
2070
+ post: operations["setFlowMapping"];
2070
2071
  delete?: never;
2071
2072
  options?: never;
2072
2073
  head?: never;
2073
2074
  patch?: never;
2074
2075
  trace?: never;
2075
2076
  };
2076
- "/flows/{id}/{connectionId}/run": {
2077
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/left": {
2077
2078
  parameters: {
2078
2079
  query?: never;
2079
2080
  header?: never;
2080
2081
  path?: never;
2081
2082
  cookie?: never;
2082
2083
  };
2083
- /** @description Trigger execution of a flow for a connection */
2084
- get: operations["runFlow"];
2084
+ /** @description List available source entities for a flow mapping */
2085
+ get: operations["getFlowMappingSources"];
2085
2086
  put?: never;
2086
2087
  post?: never;
2087
2088
  delete?: never;
@@ -2090,33 +2091,32 @@ export interface paths {
2090
2091
  patch?: never;
2091
2092
  trace?: never;
2092
2093
  };
2093
- "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
2094
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/right": {
2094
2095
  parameters: {
2095
2096
  query?: never;
2096
2097
  header?: never;
2097
2098
  path?: never;
2098
2099
  cookie?: never;
2099
2100
  };
2100
- /** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
2101
- get: operations["getFlowMapping"];
2101
+ /** @description List available destination entities for a flow mapping */
2102
+ get: operations["getFlowMappingDestinations"];
2102
2103
  put?: never;
2103
- /** @description Create, update or delete a flow mapping entry */
2104
- post: operations["setFlowMapping"];
2104
+ post?: never;
2105
2105
  delete?: never;
2106
2106
  options?: never;
2107
2107
  head?: never;
2108
2108
  patch?: never;
2109
2109
  trace?: never;
2110
2110
  };
2111
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
2111
+ "/flows": {
2112
2112
  parameters: {
2113
2113
  query?: never;
2114
2114
  header?: never;
2115
2115
  path?: never;
2116
2116
  cookie?: never;
2117
2117
  };
2118
- /** @description List available source entities for a flow mapping */
2119
- get: operations["getFlowMappingSources"];
2118
+ /** @description List flows */
2119
+ get: operations["getFlows"];
2120
2120
  put?: never;
2121
2121
  post?: never;
2122
2122
  delete?: never;
@@ -2125,15 +2125,15 @@ export interface paths {
2125
2125
  patch?: never;
2126
2126
  trace?: never;
2127
2127
  };
2128
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2128
+ "/flows/{id}": {
2129
2129
  parameters: {
2130
2130
  query?: never;
2131
2131
  header?: never;
2132
2132
  path?: never;
2133
2133
  cookie?: never;
2134
2134
  };
2135
- /** @description List available destination entities for a flow mapping */
2136
- get: operations["getFlowMappingDestinations"];
2135
+ /** @description Get flow by ID */
2136
+ get: operations["getFlow"];
2137
2137
  put?: never;
2138
2138
  post?: never;
2139
2139
  delete?: never;
@@ -2142,33 +2142,33 @@ export interface paths {
2142
2142
  patch?: never;
2143
2143
  trace?: never;
2144
2144
  };
2145
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
2145
+ "/flows/{id}/{connectionId}": {
2146
2146
  parameters: {
2147
2147
  query?: never;
2148
2148
  header?: never;
2149
2149
  path?: never;
2150
2150
  cookie?: never;
2151
2151
  };
2152
- /** @description Get a flow setting entry */
2153
- get: operations["getFlowSetting"];
2154
- put?: never;
2155
- /** @description Create, update or delete a flow setting entry */
2156
- post: operations["setFlowSetting"];
2152
+ /** @description Get flow configuration for a connection */
2153
+ get: operations["getFlowConnection"];
2154
+ /** @description Update flow status for a connection */
2155
+ put: operations["setFlowStatus"];
2156
+ post?: never;
2157
2157
  delete?: never;
2158
2158
  options?: never;
2159
2159
  head?: never;
2160
2160
  patch?: never;
2161
2161
  trace?: never;
2162
2162
  };
2163
- "/flows/{id}/{connectionId}/settings/{settingKey}/options": {
2163
+ "/flows/{id}/{connectionId}/run": {
2164
2164
  parameters: {
2165
2165
  query?: never;
2166
2166
  header?: never;
2167
2167
  path?: never;
2168
2168
  cookie?: never;
2169
2169
  };
2170
- /** @description List available options for a flow setting */
2171
- get: operations["getFlowSettingOptions"];
2170
+ /** @description Trigger execution of a flow for a connection */
2171
+ get: operations["runFlow"];
2172
2172
  put?: never;
2173
2173
  post?: never;
2174
2174
  delete?: never;
@@ -2529,7 +2529,7 @@ export interface components {
2529
2529
  */
2530
2530
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2531
2531
  };
2532
- /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2532
+ /** @description Mapping entry returned from GET routes with normalized left/right payloads. Each side uses { value, text, type }; source sides use type "source" (value = sourceId) and the mapped side uses the schema mapping type. The left side represents the source side of the flow (external for pull, internal for push). */
2533
2533
  FlowMappingItemGet: {
2534
2534
  /** Format: uuid */
2535
2535
  id: string;
@@ -2541,17 +2541,14 @@ export interface components {
2541
2541
  title: string | null;
2542
2542
  description: string | null;
2543
2543
  left: {
2544
- /** Format: uuid */
2545
- sourceId: string;
2544
+ value: string | number;
2545
+ text: string;
2546
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2546
2547
  };
2547
2548
  right: {
2548
2549
  value: string | number;
2549
2550
  text: string;
2550
- /**
2551
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2552
- * @enum {string}
2553
- */
2554
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2551
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2555
2552
  };
2556
2553
  };
2557
2554
  };
@@ -6083,7 +6080,7 @@ export interface operations {
6083
6080
  data: {
6084
6081
  /** Format: uuid */
6085
6082
  listingId: string;
6086
- /** @default 2025-12-09 */
6083
+ /** @default 2025-12-10 */
6087
6084
  startAt: string;
6088
6085
  endAt?: string | null;
6089
6086
  setListingInactive?: boolean | null;
@@ -6165,7 +6162,7 @@ export interface operations {
6165
6162
  "application/json": {
6166
6163
  /** Format: uuid */
6167
6164
  listingId: string;
6168
- /** @default 2025-12-09 */
6165
+ /** @default 2025-12-10 */
6169
6166
  startAt?: string;
6170
6167
  endAt?: string | null;
6171
6168
  members: {
@@ -6199,7 +6196,7 @@ export interface operations {
6199
6196
  "application/json": {
6200
6197
  /** Format: uuid */
6201
6198
  listingId: string;
6202
- /** @default 2025-12-09 */
6199
+ /** @default 2025-12-10 */
6203
6200
  startAt: string;
6204
6201
  endAt?: string | null;
6205
6202
  setListingInactive?: boolean | null;
@@ -6279,7 +6276,7 @@ export interface operations {
6279
6276
  "application/json": {
6280
6277
  /** Format: uuid */
6281
6278
  listingId: string;
6282
- /** @default 2025-12-09 */
6279
+ /** @default 2025-12-10 */
6283
6280
  startAt: string;
6284
6281
  endAt?: string | null;
6285
6282
  setListingInactive?: boolean | null;
@@ -6362,7 +6359,7 @@ export interface operations {
6362
6359
  "application/json": {
6363
6360
  /** Format: uuid */
6364
6361
  listingId?: string;
6365
- /** @default 2025-12-09 */
6362
+ /** @default 2025-12-10 */
6366
6363
  startAt?: string;
6367
6364
  endAt?: string | null;
6368
6365
  members?: {
@@ -6396,7 +6393,7 @@ export interface operations {
6396
6393
  "application/json": {
6397
6394
  /** Format: uuid */
6398
6395
  listingId: string;
6399
- /** @default 2025-12-09 */
6396
+ /** @default 2025-12-10 */
6400
6397
  startAt: string;
6401
6398
  endAt?: string | null;
6402
6399
  setListingInactive?: boolean | null;
@@ -6587,7 +6584,7 @@ export interface operations {
6587
6584
  /** Format: uuid */
6588
6585
  sourceId?: string | null;
6589
6586
  initialOwnership?: {
6590
- /** @default 2025-12-09 */
6587
+ /** @default 2025-12-10 */
6591
6588
  startAt?: string;
6592
6589
  endAt?: string | null;
6593
6590
  members: {
@@ -6645,7 +6642,7 @@ export interface operations {
6645
6642
  status: "active" | "inactive";
6646
6643
  defaultCurrency?: string | null;
6647
6644
  activeOwnership?: {
6648
- /** @default 2025-12-09 */
6645
+ /** @default 2025-12-10 */
6649
6646
  startAt: string;
6650
6647
  endAt?: string | null;
6651
6648
  setListingInactive?: boolean | null;
@@ -6891,7 +6888,7 @@ export interface operations {
6891
6888
  status: "active" | "inactive";
6892
6889
  defaultCurrency?: string | null;
6893
6890
  activeOwnership?: {
6894
- /** @default 2025-12-09 */
6891
+ /** @default 2025-12-10 */
6895
6892
  startAt: string;
6896
6893
  endAt?: string | null;
6897
6894
  setListingInactive?: boolean | null;
@@ -7040,7 +7037,7 @@ export interface operations {
7040
7037
  /** Format: uuid */
7041
7038
  sourceId?: string | null;
7042
7039
  initialOwnership?: {
7043
- /** @default 2025-12-09 */
7040
+ /** @default 2025-12-10 */
7044
7041
  startAt?: string;
7045
7042
  endAt?: string | null;
7046
7043
  members: {
@@ -7094,7 +7091,7 @@ export interface operations {
7094
7091
  status: "active" | "inactive";
7095
7092
  defaultCurrency?: string | null;
7096
7093
  activeOwnership?: {
7097
- /** @default 2025-12-09 */
7094
+ /** @default 2025-12-10 */
7098
7095
  startAt: string;
7099
7096
  endAt?: string | null;
7100
7097
  setListingInactive?: boolean | null;
@@ -7316,7 +7313,7 @@ export interface operations {
7316
7313
  status: "active" | "inactive";
7317
7314
  defaultCurrency?: string | null;
7318
7315
  activeOwnership?: {
7319
- /** @default 2025-12-09 */
7316
+ /** @default 2025-12-10 */
7320
7317
  startAt: string;
7321
7318
  endAt?: string | null;
7322
7319
  setListingInactive?: boolean | null;
@@ -7473,7 +7470,7 @@ export interface operations {
7473
7470
  /** Format: uuid */
7474
7471
  sourceId?: string | null;
7475
7472
  initialOwnership?: {
7476
- /** @default 2025-12-09 */
7473
+ /** @default 2025-12-10 */
7477
7474
  startAt?: string;
7478
7475
  endAt?: string | null;
7479
7476
  members: {
@@ -7527,7 +7524,7 @@ export interface operations {
7527
7524
  status: "active" | "inactive";
7528
7525
  defaultCurrency?: string | null;
7529
7526
  activeOwnership?: {
7530
- /** @default 2025-12-09 */
7527
+ /** @default 2025-12-10 */
7531
7528
  startAt: string;
7532
7529
  endAt?: string | null;
7533
7530
  setListingInactive?: boolean | null;
@@ -25138,17 +25135,17 @@ export interface operations {
25138
25135
  };
25139
25136
  };
25140
25137
  };
25141
- getFlows: {
25138
+ getFlowSetting: {
25142
25139
  parameters: {
25143
- query?: {
25144
- appId?: string;
25145
- limit?: number;
25146
- page?: number;
25147
- };
25140
+ query?: never;
25148
25141
  header?: {
25149
25142
  "X-Team-Id"?: string;
25150
25143
  };
25151
- path?: never;
25144
+ path: {
25145
+ id: string;
25146
+ connectionId: string;
25147
+ settingKey: string;
25148
+ };
25152
25149
  cookie?: never;
25153
25150
  };
25154
25151
  requestBody?: never;
@@ -25159,68 +25156,7 @@ export interface operations {
25159
25156
  [name: string]: unknown;
25160
25157
  };
25161
25158
  content: {
25162
- "application/json": {
25163
- data: {
25164
- /** Format: uuid */
25165
- id: string;
25166
- title: string;
25167
- appId: string;
25168
- description?: string | null;
25169
- /** @description Mapping schema configuration for this flow */
25170
- mappingSchema: {
25171
- [key: string]: {
25172
- /** @description Title for UI/display */
25173
- title: string;
25174
- /** @description Description for UI/display */
25175
- description: string;
25176
- /** @description Internal system mapping configuration */
25177
- internal: {
25178
- /**
25179
- * @description Internal semantic type
25180
- * @enum {string}
25181
- */
25182
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25183
- /** @description Optional JSONB filter for internal data */
25184
- filter?: string;
25185
- };
25186
- /** @description External system mapping configuration */
25187
- external: {
25188
- /** @description External type identifier (vendor/system specific) */
25189
- type: string;
25190
- /** @description Optional JSONB filter for external data */
25191
- filter?: string;
25192
- };
25193
- };
25194
- };
25195
- /** @description Setting schema configuration for this flow */
25196
- settingSchema: {
25197
- [key: string]: {
25198
- /** @description Title for UI/display */
25199
- title: string;
25200
- /** @description Description for UI/display */
25201
- description: string;
25202
- /**
25203
- * @description Semantic type of the setting value
25204
- * @enum {string}
25205
- */
25206
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25207
- /** @description Optional JSONB filter for available values */
25208
- filter?: string;
25209
- };
25210
- };
25211
- /** @enum {string} */
25212
- type?: "push" | "pull";
25213
- }[];
25214
- pagination: {
25215
- /** @default 100 */
25216
- limit: number;
25217
- /** @default 1 */
25218
- page: number;
25219
- total: number;
25220
- totalPage: number;
25221
- nextPage?: number;
25222
- };
25223
- };
25159
+ "application/json": components["schemas"]["FlowSettingItemGet"];
25224
25160
  };
25225
25161
  };
25226
25162
  /** @description Invalid input data */
@@ -25270,7 +25206,7 @@ export interface operations {
25270
25206
  };
25271
25207
  };
25272
25208
  };
25273
- getFlow: {
25209
+ setFlowSetting: {
25274
25210
  parameters: {
25275
25211
  query?: never;
25276
25212
  header?: {
@@ -25278,10 +25214,20 @@ export interface operations {
25278
25214
  };
25279
25215
  path: {
25280
25216
  id: string;
25217
+ connectionId: string;
25218
+ settingKey: string;
25281
25219
  };
25282
25220
  cookie?: never;
25283
25221
  };
25284
- requestBody?: never;
25222
+ requestBody: {
25223
+ content: {
25224
+ "application/json": {
25225
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25226
+ [key: string]: string | number | boolean | null;
25227
+ }) | null;
25228
+ };
25229
+ };
25230
+ };
25285
25231
  responses: {
25286
25232
  /** @description Successful response */
25287
25233
  200: {
@@ -25291,54 +25237,21 @@ export interface operations {
25291
25237
  content: {
25292
25238
  "application/json": {
25293
25239
  /** Format: uuid */
25294
- id: string;
25295
- title: string;
25296
- appId: string;
25240
+ id?: string;
25241
+ /** Format: uuid */
25242
+ flowId?: string;
25243
+ /** Format: uuid */
25244
+ connectionId?: string;
25245
+ settingKey?: string;
25246
+ title?: string | null;
25297
25247
  description?: string | null;
25298
- /** @description Mapping schema configuration for this flow */
25299
- mappingSchema: {
25300
- [key: string]: {
25301
- /** @description Title for UI/display */
25302
- title: string;
25303
- /** @description Description for UI/display */
25304
- description: string;
25305
- /** @description Internal system mapping configuration */
25306
- internal: {
25307
- /**
25308
- * @description Internal semantic type
25309
- * @enum {string}
25310
- */
25311
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25312
- /** @description Optional JSONB filter for internal data */
25313
- filter?: string;
25314
- };
25315
- /** @description External system mapping configuration */
25316
- external: {
25317
- /** @description External type identifier (vendor/system specific) */
25318
- type: string;
25319
- /** @description Optional JSONB filter for external data */
25320
- filter?: string;
25321
- };
25322
- };
25323
- };
25324
- /** @description Setting schema configuration for this flow */
25325
- settingSchema: {
25326
- [key: string]: {
25327
- /** @description Title for UI/display */
25328
- title: string;
25329
- /** @description Description for UI/display */
25330
- description: string;
25331
- /**
25332
- * @description Semantic type of the setting value
25333
- * @enum {string}
25334
- */
25335
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25336
- /** @description Optional JSONB filter for available values */
25337
- filter?: string;
25338
- };
25339
- };
25340
- /** @enum {string} */
25341
- type?: "push" | "pull";
25248
+ /**
25249
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25250
+ * @enum {string|null}
25251
+ */
25252
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
25253
+ filter?: string | null;
25254
+ value?: components["schemas"]["FlowMappingResolvedEntityValue"];
25342
25255
  };
25343
25256
  };
25344
25257
  };
@@ -25369,15 +25282,6 @@ export interface operations {
25369
25282
  "application/json": components["schemas"]["error.FORBIDDEN"];
25370
25283
  };
25371
25284
  };
25372
- /** @description Not found */
25373
- 404: {
25374
- headers: {
25375
- [name: string]: unknown;
25376
- };
25377
- content: {
25378
- "application/json": components["schemas"]["error.NOT_FOUND"];
25379
- };
25380
- };
25381
25285
  /** @description Internal server error */
25382
25286
  500: {
25383
25287
  headers: {
@@ -25389,15 +25293,20 @@ export interface operations {
25389
25293
  };
25390
25294
  };
25391
25295
  };
25392
- getFlowConnection: {
25296
+ getFlowSettingOptions: {
25393
25297
  parameters: {
25394
- query?: never;
25298
+ query?: {
25299
+ search?: string;
25300
+ limit?: number;
25301
+ page?: number;
25302
+ };
25395
25303
  header?: {
25396
25304
  "X-Team-Id"?: string;
25397
25305
  };
25398
25306
  path: {
25399
25307
  id: string;
25400
25308
  connectionId: string;
25309
+ settingKey: string;
25401
25310
  };
25402
25311
  cookie?: never;
25403
25312
  };
@@ -25410,25 +25319,29 @@ export interface operations {
25410
25319
  };
25411
25320
  content: {
25412
25321
  "application/json": {
25413
- /** Format: uuid */
25414
- id: string;
25415
- /** Format: uuid */
25416
- connectionId: string;
25417
- title: string;
25418
- description: string | null;
25419
- /** @enum {string} */
25420
- status: "active" | "inactive";
25421
- settings: components["schemas"]["FlowSettingItemGet"][];
25422
- };
25423
- };
25424
- };
25425
- /** @description Invalid input data */
25426
- 400: {
25427
- headers: {
25428
- [name: string]: unknown;
25429
- };
25430
- content: {
25431
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25322
+ data: {
25323
+ id: string;
25324
+ name: string;
25325
+ }[];
25326
+ pagination: {
25327
+ /** @default 100 */
25328
+ limit: number;
25329
+ /** @default 1 */
25330
+ page: number;
25331
+ total: number;
25332
+ totalPage: number;
25333
+ nextPage?: number;
25334
+ };
25335
+ };
25336
+ };
25337
+ };
25338
+ /** @description Invalid input data */
25339
+ 400: {
25340
+ headers: {
25341
+ [name: string]: unknown;
25342
+ };
25343
+ content: {
25344
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25432
25345
  };
25433
25346
  };
25434
25347
  /** @description Authorization not provided */
@@ -25469,26 +25382,24 @@ export interface operations {
25469
25382
  };
25470
25383
  };
25471
25384
  };
25472
- setFlowStatus: {
25385
+ getFlowMapping: {
25473
25386
  parameters: {
25474
- query?: never;
25387
+ query?: {
25388
+ leftId?: string;
25389
+ limit?: number;
25390
+ page?: number;
25391
+ };
25475
25392
  header?: {
25476
25393
  "X-Team-Id"?: string;
25477
25394
  };
25478
25395
  path: {
25479
25396
  id: string;
25480
25397
  connectionId: string;
25398
+ mappingKey: string;
25481
25399
  };
25482
25400
  cookie?: never;
25483
25401
  };
25484
- requestBody: {
25485
- content: {
25486
- "application/json": {
25487
- /** @enum {string} */
25488
- status: "active" | "inactive";
25489
- };
25490
- };
25491
- };
25402
+ requestBody?: never;
25492
25403
  responses: {
25493
25404
  /** @description Successful response */
25494
25405
  200: {
@@ -25497,15 +25408,16 @@ export interface operations {
25497
25408
  };
25498
25409
  content: {
25499
25410
  "application/json": {
25500
- /** Format: uuid */
25501
- id: string;
25502
- /** Format: uuid */
25503
- connectionId: string;
25504
- title: string;
25505
- description: string | null;
25506
- /** @enum {string} */
25507
- status: "active" | "inactive";
25508
- settings: components["schemas"]["FlowSettingItemGet"][];
25411
+ data: components["schemas"]["FlowMappingItemGet"][];
25412
+ pagination: {
25413
+ /** @default 100 */
25414
+ limit: number;
25415
+ /** @default 1 */
25416
+ page: number;
25417
+ total: number;
25418
+ totalPage: number;
25419
+ nextPage?: number;
25420
+ };
25509
25421
  };
25510
25422
  };
25511
25423
  };
@@ -25556,22 +25468,30 @@ export interface operations {
25556
25468
  };
25557
25469
  };
25558
25470
  };
25559
- runFlow: {
25471
+ setFlowMapping: {
25560
25472
  parameters: {
25561
- query?: {
25562
- dateRange?: string;
25563
- isDateRangeEndInclusive?: boolean;
25564
- };
25473
+ query?: never;
25565
25474
  header?: {
25566
25475
  "X-Team-Id"?: string;
25567
25476
  };
25568
25477
  path: {
25569
25478
  id: string;
25570
25479
  connectionId: string;
25480
+ mappingKey: string;
25571
25481
  };
25572
25482
  cookie?: never;
25573
25483
  };
25574
- requestBody?: never;
25484
+ requestBody: {
25485
+ content: {
25486
+ "application/json": {
25487
+ /** Format: uuid */
25488
+ leftId: string;
25489
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25490
+ [key: string]: string | number | boolean | null;
25491
+ }) | null;
25492
+ };
25493
+ };
25494
+ };
25575
25495
  responses: {
25576
25496
  /** @description Successful response */
25577
25497
  200: {
@@ -25581,7 +25501,24 @@ export interface operations {
25581
25501
  content: {
25582
25502
  "application/json": {
25583
25503
  /** Format: uuid */
25584
- syncId: string;
25504
+ id?: string;
25505
+ /** Format: uuid */
25506
+ flowId?: string;
25507
+ /** Format: uuid */
25508
+ connectionId?: string;
25509
+ mappingKey?: string;
25510
+ title?: string | null;
25511
+ description?: string | null;
25512
+ left?: {
25513
+ value: string | number;
25514
+ text: string;
25515
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
25516
+ };
25517
+ right?: {
25518
+ value: string | number;
25519
+ text: string;
25520
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
25521
+ };
25585
25522
  };
25586
25523
  };
25587
25524
  };
@@ -25612,15 +25549,6 @@ export interface operations {
25612
25549
  "application/json": components["schemas"]["error.FORBIDDEN"];
25613
25550
  };
25614
25551
  };
25615
- /** @description Not found */
25616
- 404: {
25617
- headers: {
25618
- [name: string]: unknown;
25619
- };
25620
- content: {
25621
- "application/json": components["schemas"]["error.NOT_FOUND"];
25622
- };
25623
- };
25624
25552
  /** @description Internal server error */
25625
25553
  500: {
25626
25554
  headers: {
@@ -25632,10 +25560,10 @@ export interface operations {
25632
25560
  };
25633
25561
  };
25634
25562
  };
25635
- getFlowMapping: {
25563
+ getFlowMappingSources: {
25636
25564
  parameters: {
25637
25565
  query?: {
25638
- sourceId?: string;
25566
+ search?: string;
25639
25567
  limit?: number;
25640
25568
  page?: number;
25641
25569
  };
@@ -25658,7 +25586,12 @@ export interface operations {
25658
25586
  };
25659
25587
  content: {
25660
25588
  "application/json": {
25661
- data: components["schemas"]["FlowMappingItemGet"][];
25589
+ data: {
25590
+ id: string;
25591
+ name: string;
25592
+ /** @enum {string} */
25593
+ status: "mapped" | "unmapped";
25594
+ }[];
25662
25595
  pagination: {
25663
25596
  /** @default 100 */
25664
25597
  limit: number;
@@ -25718,9 +25651,13 @@ export interface operations {
25718
25651
  };
25719
25652
  };
25720
25653
  };
25721
- setFlowMapping: {
25654
+ getFlowMappingDestinations: {
25722
25655
  parameters: {
25723
- query?: never;
25656
+ query?: {
25657
+ search?: string;
25658
+ limit?: number;
25659
+ page?: number;
25660
+ };
25724
25661
  header?: {
25725
25662
  "X-Team-Id"?: string;
25726
25663
  };
@@ -25731,17 +25668,7 @@ export interface operations {
25731
25668
  };
25732
25669
  cookie?: never;
25733
25670
  };
25734
- requestBody: {
25735
- content: {
25736
- "application/json": {
25737
- /** Format: uuid */
25738
- sourceId: string;
25739
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25740
- [key: string]: string | number | boolean | null;
25741
- }) | null;
25742
- };
25743
- };
25744
- };
25671
+ requestBody?: never;
25745
25672
  responses: {
25746
25673
  /** @description Successful response */
25747
25674
  200: {
@@ -25750,27 +25677,18 @@ export interface operations {
25750
25677
  };
25751
25678
  content: {
25752
25679
  "application/json": {
25753
- /** Format: uuid */
25754
- id?: string;
25755
- /** Format: uuid */
25756
- flowId?: string;
25757
- /** Format: uuid */
25758
- connectionId?: string;
25759
- mappingKey?: string;
25760
- title?: string | null;
25761
- description?: string | null;
25762
- left?: {
25763
- /** Format: uuid */
25764
- sourceId: string;
25765
- };
25766
- right?: {
25767
- value: string | number;
25768
- text: string;
25769
- /**
25770
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25771
- * @enum {string}
25772
- */
25773
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25680
+ data: {
25681
+ id: string;
25682
+ name: string;
25683
+ }[];
25684
+ pagination: {
25685
+ /** @default 100 */
25686
+ limit: number;
25687
+ /** @default 1 */
25688
+ page: number;
25689
+ total: number;
25690
+ totalPage: number;
25691
+ nextPage?: number;
25774
25692
  };
25775
25693
  };
25776
25694
  };
@@ -25802,6 +25720,15 @@ export interface operations {
25802
25720
  "application/json": components["schemas"]["error.FORBIDDEN"];
25803
25721
  };
25804
25722
  };
25723
+ /** @description Not found */
25724
+ 404: {
25725
+ headers: {
25726
+ [name: string]: unknown;
25727
+ };
25728
+ content: {
25729
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25730
+ };
25731
+ };
25805
25732
  /** @description Internal server error */
25806
25733
  500: {
25807
25734
  headers: {
@@ -25813,21 +25740,17 @@ export interface operations {
25813
25740
  };
25814
25741
  };
25815
25742
  };
25816
- getFlowMappingSources: {
25743
+ getFlows: {
25817
25744
  parameters: {
25818
25745
  query?: {
25819
- search?: string;
25746
+ appId?: string;
25820
25747
  limit?: number;
25821
25748
  page?: number;
25822
25749
  };
25823
25750
  header?: {
25824
25751
  "X-Team-Id"?: string;
25825
25752
  };
25826
- path: {
25827
- id: string;
25828
- connectionId: string;
25829
- mappingKey: string;
25830
- };
25753
+ path?: never;
25831
25754
  cookie?: never;
25832
25755
  };
25833
25756
  requestBody?: never;
@@ -25840,10 +25763,57 @@ export interface operations {
25840
25763
  content: {
25841
25764
  "application/json": {
25842
25765
  data: {
25766
+ /** Format: uuid */
25843
25767
  id: string;
25844
- name: string;
25768
+ title: string;
25769
+ appId: string;
25770
+ description?: string | null;
25771
+ /** @description Mapping schema configuration for this flow */
25772
+ mappingSchema: {
25773
+ [key: string]: {
25774
+ /** @description Title for UI/display */
25775
+ title: string;
25776
+ /** @description Description for UI/display */
25777
+ description: string;
25778
+ /** @description Internal system mapping configuration */
25779
+ internal: {
25780
+ /**
25781
+ * @description Internal semantic type
25782
+ * @enum {string}
25783
+ */
25784
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25785
+ /** @description Optional JSONB filter for internal data */
25786
+ filter?: string;
25787
+ };
25788
+ /** @description External system mapping configuration */
25789
+ external: {
25790
+ /** @description External type identifier (vendor/system specific) */
25791
+ type: string;
25792
+ /** @description Optional JSONB filter for external data */
25793
+ filter?: string;
25794
+ };
25795
+ };
25796
+ };
25797
+ /** @description Setting schema configuration for this flow */
25798
+ settingSchema: {
25799
+ [key: string]: {
25800
+ /** @description Title for UI/display */
25801
+ title: string;
25802
+ /** @description Description for UI/display */
25803
+ description: string;
25804
+ /**
25805
+ * @description Semantic type of the setting value
25806
+ * @enum {string}
25807
+ */
25808
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25809
+ /** @description Optional JSONB filter for available values */
25810
+ filter?: string;
25811
+ /** @description External type identifier (vendor/system specific) for options */
25812
+ external?: string;
25813
+ };
25814
+ };
25845
25815
  /** @enum {string} */
25846
- status: "mapped" | "unmapped";
25816
+ type?: "push" | "pull";
25847
25817
  }[];
25848
25818
  pagination: {
25849
25819
  /** @default 100 */
@@ -25904,20 +25874,14 @@ export interface operations {
25904
25874
  };
25905
25875
  };
25906
25876
  };
25907
- getFlowMappingDestinations: {
25877
+ getFlow: {
25908
25878
  parameters: {
25909
- query?: {
25910
- search?: string;
25911
- limit?: number;
25912
- page?: number;
25913
- };
25879
+ query?: never;
25914
25880
  header?: {
25915
25881
  "X-Team-Id"?: string;
25916
25882
  };
25917
25883
  path: {
25918
25884
  id: string;
25919
- connectionId: string;
25920
- mappingKey: string;
25921
25885
  };
25922
25886
  cookie?: never;
25923
25887
  };
@@ -25930,19 +25894,57 @@ export interface operations {
25930
25894
  };
25931
25895
  content: {
25932
25896
  "application/json": {
25933
- data: {
25934
- id: string;
25935
- name: string;
25936
- }[];
25937
- pagination: {
25938
- /** @default 100 */
25939
- limit: number;
25940
- /** @default 1 */
25941
- page: number;
25942
- total: number;
25943
- totalPage: number;
25944
- nextPage?: number;
25897
+ /** Format: uuid */
25898
+ id: string;
25899
+ title: string;
25900
+ appId: string;
25901
+ description?: string | null;
25902
+ /** @description Mapping schema configuration for this flow */
25903
+ mappingSchema: {
25904
+ [key: string]: {
25905
+ /** @description Title for UI/display */
25906
+ title: string;
25907
+ /** @description Description for UI/display */
25908
+ description: string;
25909
+ /** @description Internal system mapping configuration */
25910
+ internal: {
25911
+ /**
25912
+ * @description Internal semantic type
25913
+ * @enum {string}
25914
+ */
25915
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25916
+ /** @description Optional JSONB filter for internal data */
25917
+ filter?: string;
25918
+ };
25919
+ /** @description External system mapping configuration */
25920
+ external: {
25921
+ /** @description External type identifier (vendor/system specific) */
25922
+ type: string;
25923
+ /** @description Optional JSONB filter for external data */
25924
+ filter?: string;
25925
+ };
25926
+ };
25945
25927
  };
25928
+ /** @description Setting schema configuration for this flow */
25929
+ settingSchema: {
25930
+ [key: string]: {
25931
+ /** @description Title for UI/display */
25932
+ title: string;
25933
+ /** @description Description for UI/display */
25934
+ description: string;
25935
+ /**
25936
+ * @description Semantic type of the setting value
25937
+ * @enum {string}
25938
+ */
25939
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25940
+ /** @description Optional JSONB filter for available values */
25941
+ filter?: string;
25942
+ /** @description External type identifier (vendor/system specific) for options */
25943
+ external?: string;
25944
+ };
25945
+ };
25946
+ /** @enum {string} */
25947
+ type?: "push" | "pull";
25946
25948
  };
25947
25949
  };
25948
25950
  };
@@ -25993,7 +25995,7 @@ export interface operations {
25993
25995
  };
25994
25996
  };
25995
25997
  };
25996
- getFlowSetting: {
25998
+ getFlowConnection: {
25997
25999
  parameters: {
25998
26000
  query?: never;
25999
26001
  header?: {
@@ -26002,7 +26004,6 @@ export interface operations {
26002
26004
  path: {
26003
26005
  id: string;
26004
26006
  connectionId: string;
26005
- settingKey: string;
26006
26007
  };
26007
26008
  cookie?: never;
26008
26009
  };
@@ -26014,7 +26015,17 @@ export interface operations {
26014
26015
  [name: string]: unknown;
26015
26016
  };
26016
26017
  content: {
26017
- "application/json": components["schemas"]["FlowSettingItemGet"];
26018
+ "application/json": {
26019
+ /** Format: uuid */
26020
+ id: string;
26021
+ /** Format: uuid */
26022
+ connectionId: string;
26023
+ title: string;
26024
+ description: string | null;
26025
+ /** @enum {string} */
26026
+ status: "active" | "inactive";
26027
+ settings: components["schemas"]["FlowSettingItemGet"][];
26028
+ };
26018
26029
  };
26019
26030
  };
26020
26031
  /** @description Invalid input data */
@@ -26064,7 +26075,7 @@ export interface operations {
26064
26075
  };
26065
26076
  };
26066
26077
  };
26067
- setFlowSetting: {
26078
+ setFlowStatus: {
26068
26079
  parameters: {
26069
26080
  query?: never;
26070
26081
  header?: {
@@ -26073,16 +26084,14 @@ export interface operations {
26073
26084
  path: {
26074
26085
  id: string;
26075
26086
  connectionId: string;
26076
- settingKey: string;
26077
26087
  };
26078
26088
  cookie?: never;
26079
26089
  };
26080
26090
  requestBody: {
26081
26091
  content: {
26082
26092
  "application/json": {
26083
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
26084
- [key: string]: string | number | boolean | null;
26085
- }) | null;
26093
+ /** @enum {string} */
26094
+ status: "active" | "inactive";
26086
26095
  };
26087
26096
  };
26088
26097
  };
@@ -26095,21 +26104,14 @@ export interface operations {
26095
26104
  content: {
26096
26105
  "application/json": {
26097
26106
  /** Format: uuid */
26098
- id?: string;
26099
- /** Format: uuid */
26100
- flowId?: string;
26107
+ id: string;
26101
26108
  /** Format: uuid */
26102
- connectionId?: string;
26103
- settingKey?: string;
26104
- title?: string | null;
26105
- description?: string | null;
26106
- /**
26107
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
26108
- * @enum {string|null}
26109
- */
26110
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
26111
- filter?: string | null;
26112
- value?: components["schemas"]["FlowMappingResolvedEntityValue"];
26109
+ connectionId: string;
26110
+ title: string;
26111
+ description: string | null;
26112
+ /** @enum {string} */
26113
+ status: "active" | "inactive";
26114
+ settings: components["schemas"]["FlowSettingItemGet"][];
26113
26115
  };
26114
26116
  };
26115
26117
  };
@@ -26140,6 +26142,15 @@ export interface operations {
26140
26142
  "application/json": components["schemas"]["error.FORBIDDEN"];
26141
26143
  };
26142
26144
  };
26145
+ /** @description Not found */
26146
+ 404: {
26147
+ headers: {
26148
+ [name: string]: unknown;
26149
+ };
26150
+ content: {
26151
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26152
+ };
26153
+ };
26143
26154
  /** @description Internal server error */
26144
26155
  500: {
26145
26156
  headers: {
@@ -26151,12 +26162,11 @@ export interface operations {
26151
26162
  };
26152
26163
  };
26153
26164
  };
26154
- getFlowSettingOptions: {
26165
+ runFlow: {
26155
26166
  parameters: {
26156
26167
  query?: {
26157
- search?: string;
26158
- limit?: number;
26159
- page?: number;
26168
+ dateRange?: string;
26169
+ isDateRangeEndInclusive?: boolean;
26160
26170
  };
26161
26171
  header?: {
26162
26172
  "X-Team-Id"?: string;
@@ -26164,7 +26174,6 @@ export interface operations {
26164
26174
  path: {
26165
26175
  id: string;
26166
26176
  connectionId: string;
26167
- settingKey: string;
26168
26177
  };
26169
26178
  cookie?: never;
26170
26179
  };
@@ -26177,19 +26186,8 @@ export interface operations {
26177
26186
  };
26178
26187
  content: {
26179
26188
  "application/json": {
26180
- data: {
26181
- id: string;
26182
- name: string;
26183
- }[];
26184
- pagination: {
26185
- /** @default 100 */
26186
- limit: number;
26187
- /** @default 1 */
26188
- page: number;
26189
- total: number;
26190
- totalPage: number;
26191
- nextPage?: number;
26192
- };
26189
+ /** Format: uuid */
26190
+ syncId: string;
26193
26191
  };
26194
26192
  };
26195
26193
  };