@vrplatform/api 1.3.0-stage.1186 → 1.3.0-stage.1189

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.
@@ -563,7 +563,7 @@ export interface paths {
563
563
  /** @description Update Recurring Fees */
564
564
  put: operations["updateRecurringFee"];
565
565
  post?: never;
566
- /** @description Delete Recurring Fees By Id */
566
+ /** @description Delete Recurring Fee By Id */
567
567
  delete: operations["deleteRecurringFee"];
568
568
  options?: never;
569
569
  head?: never;
@@ -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 mapping entry for a specific key or get a specific mapping entry by sourceId */
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}/sources": {
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}/destinations": {
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;
@@ -4154,7 +4154,7 @@ export interface operations {
4154
4154
  [key: string]: unknown;
4155
4155
  };
4156
4156
  } | null;
4157
- lines: {
4157
+ lines?: {
4158
4158
  id?: string | null;
4159
4159
  uniqueRef?: string | null;
4160
4160
  type: string;
@@ -6591,6 +6591,11 @@ export interface operations {
6591
6591
  title: string;
6592
6592
  /** @enum {string} */
6593
6593
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6594
+ /**
6595
+ * @default flat
6596
+ * @enum {string}
6597
+ */
6598
+ rateType?: "flat" | "percentage";
6594
6599
  };
6595
6600
  }[] | null;
6596
6601
  /** Format: uuid */
@@ -6685,6 +6690,11 @@ export interface operations {
6685
6690
  title: string;
6686
6691
  /** @enum {string} */
6687
6692
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6693
+ /**
6694
+ * @default flat
6695
+ * @enum {string}
6696
+ */
6697
+ rateType: "flat" | "percentage";
6688
6698
  };
6689
6699
  }[] | null;
6690
6700
  source?: {
@@ -6931,6 +6941,11 @@ export interface operations {
6931
6941
  title: string;
6932
6942
  /** @enum {string} */
6933
6943
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6944
+ /**
6945
+ * @default flat
6946
+ * @enum {string}
6947
+ */
6948
+ rateType: "flat" | "percentage";
6934
6949
  };
6935
6950
  }[] | null;
6936
6951
  source?: {
@@ -7044,6 +7059,11 @@ export interface operations {
7044
7059
  title: string;
7045
7060
  /** @enum {string} */
7046
7061
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7062
+ /**
7063
+ * @default flat
7064
+ * @enum {string}
7065
+ */
7066
+ rateType?: "flat" | "percentage";
7047
7067
  };
7048
7068
  }[] | null;
7049
7069
  /** Format: uuid */
@@ -7134,6 +7154,11 @@ export interface operations {
7134
7154
  title: string;
7135
7155
  /** @enum {string} */
7136
7156
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7157
+ /**
7158
+ * @default flat
7159
+ * @enum {string}
7160
+ */
7161
+ rateType: "flat" | "percentage";
7137
7162
  };
7138
7163
  }[] | null;
7139
7164
  source?: {
@@ -7356,6 +7381,11 @@ export interface operations {
7356
7381
  title: string;
7357
7382
  /** @enum {string} */
7358
7383
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7384
+ /**
7385
+ * @default flat
7386
+ * @enum {string}
7387
+ */
7388
+ rateType: "flat" | "percentage";
7359
7389
  };
7360
7390
  }[] | null;
7361
7391
  source?: {
@@ -7477,6 +7507,11 @@ export interface operations {
7477
7507
  title: string;
7478
7508
  /** @enum {string} */
7479
7509
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7510
+ /**
7511
+ * @default flat
7512
+ * @enum {string}
7513
+ */
7514
+ rateType?: "flat" | "percentage";
7480
7515
  };
7481
7516
  }[] | null;
7482
7517
  /** Format: uuid */
@@ -7567,6 +7602,11 @@ export interface operations {
7567
7602
  title: string;
7568
7603
  /** @enum {string} */
7569
7604
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7605
+ /**
7606
+ * @default flat
7607
+ * @enum {string}
7608
+ */
7609
+ rateType: "flat" | "percentage";
7570
7610
  };
7571
7611
  }[] | null;
7572
7612
  source?: {
@@ -9431,6 +9471,11 @@ export interface operations {
9431
9471
  title: string;
9432
9472
  /** @enum {string} */
9433
9473
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9474
+ /**
9475
+ * @default flat
9476
+ * @enum {string}
9477
+ */
9478
+ rateType: "flat" | "percentage";
9434
9479
  };
9435
9480
  }[];
9436
9481
  pagination: {
@@ -9543,6 +9588,11 @@ export interface operations {
9543
9588
  title: string;
9544
9589
  /** @enum {string} */
9545
9590
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9591
+ /**
9592
+ * @default flat
9593
+ * @enum {string}
9594
+ */
9595
+ rateType: "flat" | "percentage";
9546
9596
  };
9547
9597
  }[];
9548
9598
  };
@@ -9643,6 +9693,11 @@ export interface operations {
9643
9693
  title: string;
9644
9694
  /** @enum {string} */
9645
9695
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9696
+ /**
9697
+ * @default flat
9698
+ * @enum {string}
9699
+ */
9700
+ rateType: "flat" | "percentage";
9646
9701
  };
9647
9702
  };
9648
9703
  };
@@ -9733,6 +9788,11 @@ export interface operations {
9733
9788
  title: string;
9734
9789
  /** @enum {string} */
9735
9790
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9791
+ /**
9792
+ * @default flat
9793
+ * @enum {string}
9794
+ */
9795
+ rateType: "flat" | "percentage";
9736
9796
  };
9737
9797
  };
9738
9798
  };
@@ -10168,6 +10228,9 @@ export interface operations {
10168
10228
  content: {
10169
10229
  "application/json": {
10170
10230
  deleted: boolean;
10231
+ archived: boolean;
10232
+ /** @enum {string} */
10233
+ lockReason?: "statement" | "period";
10171
10234
  };
10172
10235
  };
10173
10236
  };
@@ -25147,17 +25210,17 @@ export interface operations {
25147
25210
  };
25148
25211
  };
25149
25212
  };
25150
- getFlows: {
25213
+ getFlowSetting: {
25151
25214
  parameters: {
25152
- query?: {
25153
- appId?: string;
25154
- limit?: number;
25155
- page?: number;
25156
- };
25215
+ query?: never;
25157
25216
  header?: {
25158
25217
  "X-Team-Id"?: string;
25159
25218
  };
25160
- path?: never;
25219
+ path: {
25220
+ id: string;
25221
+ connectionId: string;
25222
+ settingKey: string;
25223
+ };
25161
25224
  cookie?: never;
25162
25225
  };
25163
25226
  requestBody?: never;
@@ -25168,68 +25231,7 @@ export interface operations {
25168
25231
  [name: string]: unknown;
25169
25232
  };
25170
25233
  content: {
25171
- "application/json": {
25172
- data: {
25173
- /** Format: uuid */
25174
- id: string;
25175
- title: string;
25176
- appId: string;
25177
- description?: string | null;
25178
- /** @description Mapping schema configuration for this flow */
25179
- mappingSchema: {
25180
- [key: string]: {
25181
- /** @description Title for UI/display */
25182
- title: string;
25183
- /** @description Description for UI/display */
25184
- description: string;
25185
- /** @description Internal system mapping configuration */
25186
- internal: {
25187
- /**
25188
- * @description Internal semantic type
25189
- * @enum {string}
25190
- */
25191
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25192
- /** @description Optional JSONB filter for internal data */
25193
- filter?: string;
25194
- };
25195
- /** @description External system mapping configuration */
25196
- external: {
25197
- /** @description External type identifier (vendor/system specific) */
25198
- type: string;
25199
- /** @description Optional JSONB filter for external data */
25200
- filter?: string;
25201
- };
25202
- };
25203
- };
25204
- /** @description Setting schema configuration for this flow */
25205
- settingSchema: {
25206
- [key: string]: {
25207
- /** @description Title for UI/display */
25208
- title: string;
25209
- /** @description Description for UI/display */
25210
- description: string;
25211
- /**
25212
- * @description Semantic type of the setting value
25213
- * @enum {string}
25214
- */
25215
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25216
- /** @description Optional JSONB filter for available values */
25217
- filter?: string;
25218
- };
25219
- };
25220
- /** @enum {string} */
25221
- type?: "push" | "pull";
25222
- }[];
25223
- pagination: {
25224
- /** @default 100 */
25225
- limit: number;
25226
- /** @default 1 */
25227
- page: number;
25228
- total: number;
25229
- totalPage: number;
25230
- nextPage?: number;
25231
- };
25232
- };
25234
+ "application/json": components["schemas"]["FlowSettingItemGet"];
25233
25235
  };
25234
25236
  };
25235
25237
  /** @description Invalid input data */
@@ -25279,7 +25281,7 @@ export interface operations {
25279
25281
  };
25280
25282
  };
25281
25283
  };
25282
- getFlow: {
25284
+ setFlowSetting: {
25283
25285
  parameters: {
25284
25286
  query?: never;
25285
25287
  header?: {
@@ -25287,10 +25289,20 @@ export interface operations {
25287
25289
  };
25288
25290
  path: {
25289
25291
  id: string;
25292
+ connectionId: string;
25293
+ settingKey: string;
25290
25294
  };
25291
25295
  cookie?: never;
25292
25296
  };
25293
- requestBody?: never;
25297
+ requestBody: {
25298
+ content: {
25299
+ "application/json": {
25300
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25301
+ [key: string]: string | number | boolean | null;
25302
+ }) | null;
25303
+ };
25304
+ };
25305
+ };
25294
25306
  responses: {
25295
25307
  /** @description Successful response */
25296
25308
  200: {
@@ -25300,54 +25312,21 @@ export interface operations {
25300
25312
  content: {
25301
25313
  "application/json": {
25302
25314
  /** Format: uuid */
25303
- id: string;
25304
- title: string;
25305
- appId: string;
25315
+ id?: string;
25316
+ /** Format: uuid */
25317
+ flowId?: string;
25318
+ /** Format: uuid */
25319
+ connectionId?: string;
25320
+ settingKey?: string;
25321
+ title?: string | null;
25306
25322
  description?: string | null;
25307
- /** @description Mapping schema configuration for this flow */
25308
- mappingSchema: {
25309
- [key: string]: {
25310
- /** @description Title for UI/display */
25311
- title: string;
25312
- /** @description Description for UI/display */
25313
- description: string;
25314
- /** @description Internal system mapping configuration */
25315
- internal: {
25316
- /**
25317
- * @description Internal semantic type
25318
- * @enum {string}
25319
- */
25320
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25321
- /** @description Optional JSONB filter for internal data */
25322
- filter?: string;
25323
- };
25324
- /** @description External system mapping configuration */
25325
- external: {
25326
- /** @description External type identifier (vendor/system specific) */
25327
- type: string;
25328
- /** @description Optional JSONB filter for external data */
25329
- filter?: string;
25330
- };
25331
- };
25332
- };
25333
- /** @description Setting schema configuration for this flow */
25334
- settingSchema: {
25335
- [key: string]: {
25336
- /** @description Title for UI/display */
25337
- title: string;
25338
- /** @description Description for UI/display */
25339
- description: string;
25340
- /**
25341
- * @description Semantic type of the setting value
25342
- * @enum {string}
25343
- */
25344
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25345
- /** @description Optional JSONB filter for available values */
25346
- filter?: string;
25347
- };
25348
- };
25349
- /** @enum {string} */
25350
- type?: "push" | "pull";
25323
+ /**
25324
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25325
+ * @enum {string|null}
25326
+ */
25327
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
25328
+ filter?: string | null;
25329
+ value?: components["schemas"]["FlowMappingResolvedEntityValue"];
25351
25330
  };
25352
25331
  };
25353
25332
  };
@@ -25378,15 +25357,6 @@ export interface operations {
25378
25357
  "application/json": components["schemas"]["error.FORBIDDEN"];
25379
25358
  };
25380
25359
  };
25381
- /** @description Not found */
25382
- 404: {
25383
- headers: {
25384
- [name: string]: unknown;
25385
- };
25386
- content: {
25387
- "application/json": components["schemas"]["error.NOT_FOUND"];
25388
- };
25389
- };
25390
25360
  /** @description Internal server error */
25391
25361
  500: {
25392
25362
  headers: {
@@ -25398,15 +25368,20 @@ export interface operations {
25398
25368
  };
25399
25369
  };
25400
25370
  };
25401
- getFlowConnection: {
25371
+ getFlowSettingOptions: {
25402
25372
  parameters: {
25403
- query?: never;
25373
+ query?: {
25374
+ search?: string;
25375
+ limit?: number;
25376
+ page?: number;
25377
+ };
25404
25378
  header?: {
25405
25379
  "X-Team-Id"?: string;
25406
25380
  };
25407
25381
  path: {
25408
25382
  id: string;
25409
25383
  connectionId: string;
25384
+ settingKey: string;
25410
25385
  };
25411
25386
  cookie?: never;
25412
25387
  };
@@ -25419,15 +25394,19 @@ export interface operations {
25419
25394
  };
25420
25395
  content: {
25421
25396
  "application/json": {
25422
- /** Format: uuid */
25423
- id: string;
25424
- /** Format: uuid */
25425
- connectionId: string;
25426
- title: string;
25427
- description: string | null;
25428
- /** @enum {string} */
25429
- status: "active" | "inactive";
25430
- settings: components["schemas"]["FlowSettingItemGet"][];
25397
+ data: {
25398
+ id: string;
25399
+ name: string;
25400
+ }[];
25401
+ pagination: {
25402
+ /** @default 100 */
25403
+ limit: number;
25404
+ /** @default 1 */
25405
+ page: number;
25406
+ total: number;
25407
+ totalPage: number;
25408
+ nextPage?: number;
25409
+ };
25431
25410
  };
25432
25411
  };
25433
25412
  };
@@ -25478,26 +25457,24 @@ export interface operations {
25478
25457
  };
25479
25458
  };
25480
25459
  };
25481
- setFlowStatus: {
25460
+ getFlowMapping: {
25482
25461
  parameters: {
25483
- query?: never;
25462
+ query?: {
25463
+ sourceId?: string;
25464
+ limit?: number;
25465
+ page?: number;
25466
+ };
25484
25467
  header?: {
25485
25468
  "X-Team-Id"?: string;
25486
25469
  };
25487
25470
  path: {
25488
25471
  id: string;
25489
25472
  connectionId: string;
25473
+ mappingKey: string;
25490
25474
  };
25491
25475
  cookie?: never;
25492
25476
  };
25493
- requestBody: {
25494
- content: {
25495
- "application/json": {
25496
- /** @enum {string} */
25497
- status: "active" | "inactive";
25498
- };
25499
- };
25500
- };
25477
+ requestBody?: never;
25501
25478
  responses: {
25502
25479
  /** @description Successful response */
25503
25480
  200: {
@@ -25506,15 +25483,16 @@ export interface operations {
25506
25483
  };
25507
25484
  content: {
25508
25485
  "application/json": {
25509
- /** Format: uuid */
25510
- id: string;
25511
- /** Format: uuid */
25512
- connectionId: string;
25513
- title: string;
25514
- description: string | null;
25515
- /** @enum {string} */
25516
- status: "active" | "inactive";
25517
- settings: components["schemas"]["FlowSettingItemGet"][];
25486
+ data: components["schemas"]["FlowMappingItemGet"][];
25487
+ pagination: {
25488
+ /** @default 100 */
25489
+ limit: number;
25490
+ /** @default 1 */
25491
+ page: number;
25492
+ total: number;
25493
+ totalPage: number;
25494
+ nextPage?: number;
25495
+ };
25518
25496
  };
25519
25497
  };
25520
25498
  };
@@ -25565,22 +25543,30 @@ export interface operations {
25565
25543
  };
25566
25544
  };
25567
25545
  };
25568
- runFlow: {
25546
+ setFlowMapping: {
25569
25547
  parameters: {
25570
- query?: {
25571
- dateRange?: string;
25572
- isDateRangeEndInclusive?: boolean;
25573
- };
25548
+ query?: never;
25574
25549
  header?: {
25575
25550
  "X-Team-Id"?: string;
25576
25551
  };
25577
25552
  path: {
25578
25553
  id: string;
25579
25554
  connectionId: string;
25555
+ mappingKey: string;
25580
25556
  };
25581
25557
  cookie?: never;
25582
25558
  };
25583
- requestBody?: never;
25559
+ requestBody: {
25560
+ content: {
25561
+ "application/json": {
25562
+ /** Format: uuid */
25563
+ sourceId: string;
25564
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25565
+ [key: string]: string | number | boolean | null;
25566
+ }) | null;
25567
+ };
25568
+ };
25569
+ };
25584
25570
  responses: {
25585
25571
  /** @description Successful response */
25586
25572
  200: {
@@ -25590,7 +25576,27 @@ export interface operations {
25590
25576
  content: {
25591
25577
  "application/json": {
25592
25578
  /** Format: uuid */
25593
- syncId: string;
25579
+ id?: string;
25580
+ /** Format: uuid */
25581
+ flowId?: string;
25582
+ /** Format: uuid */
25583
+ connectionId?: string;
25584
+ mappingKey?: string;
25585
+ title?: string | null;
25586
+ description?: string | null;
25587
+ left?: {
25588
+ /** Format: uuid */
25589
+ sourceId: string;
25590
+ };
25591
+ right?: {
25592
+ value: string | number;
25593
+ text: string;
25594
+ /**
25595
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25596
+ * @enum {string}
25597
+ */
25598
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25599
+ };
25594
25600
  };
25595
25601
  };
25596
25602
  };
@@ -25621,15 +25627,6 @@ export interface operations {
25621
25627
  "application/json": components["schemas"]["error.FORBIDDEN"];
25622
25628
  };
25623
25629
  };
25624
- /** @description Not found */
25625
- 404: {
25626
- headers: {
25627
- [name: string]: unknown;
25628
- };
25629
- content: {
25630
- "application/json": components["schemas"]["error.NOT_FOUND"];
25631
- };
25632
- };
25633
25630
  /** @description Internal server error */
25634
25631
  500: {
25635
25632
  headers: {
@@ -25641,10 +25638,10 @@ export interface operations {
25641
25638
  };
25642
25639
  };
25643
25640
  };
25644
- getFlowMapping: {
25641
+ getFlowMappingSources: {
25645
25642
  parameters: {
25646
25643
  query?: {
25647
- sourceId?: string;
25644
+ search?: string;
25648
25645
  limit?: number;
25649
25646
  page?: number;
25650
25647
  };
@@ -25667,7 +25664,12 @@ export interface operations {
25667
25664
  };
25668
25665
  content: {
25669
25666
  "application/json": {
25670
- data: components["schemas"]["FlowMappingItemGet"][];
25667
+ data: {
25668
+ id: string;
25669
+ name: string;
25670
+ /** @enum {string} */
25671
+ status: "mapped" | "unmapped";
25672
+ }[];
25671
25673
  pagination: {
25672
25674
  /** @default 100 */
25673
25675
  limit: number;
@@ -25727,9 +25729,13 @@ export interface operations {
25727
25729
  };
25728
25730
  };
25729
25731
  };
25730
- setFlowMapping: {
25732
+ getFlowMappingDestinations: {
25731
25733
  parameters: {
25732
- query?: never;
25734
+ query?: {
25735
+ search?: string;
25736
+ limit?: number;
25737
+ page?: number;
25738
+ };
25733
25739
  header?: {
25734
25740
  "X-Team-Id"?: string;
25735
25741
  };
@@ -25740,17 +25746,7 @@ export interface operations {
25740
25746
  };
25741
25747
  cookie?: never;
25742
25748
  };
25743
- requestBody: {
25744
- content: {
25745
- "application/json": {
25746
- /** Format: uuid */
25747
- sourceId: string;
25748
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25749
- [key: string]: string | number | boolean | null;
25750
- }) | null;
25751
- };
25752
- };
25753
- };
25749
+ requestBody?: never;
25754
25750
  responses: {
25755
25751
  /** @description Successful response */
25756
25752
  200: {
@@ -25759,27 +25755,18 @@ export interface operations {
25759
25755
  };
25760
25756
  content: {
25761
25757
  "application/json": {
25762
- /** Format: uuid */
25763
- id?: string;
25764
- /** Format: uuid */
25765
- flowId?: string;
25766
- /** Format: uuid */
25767
- connectionId?: string;
25768
- mappingKey?: string;
25769
- title?: string | null;
25770
- description?: string | null;
25771
- left?: {
25772
- /** Format: uuid */
25773
- sourceId: string;
25774
- };
25775
- right?: {
25776
- value: string | number;
25777
- text: string;
25778
- /**
25779
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25780
- * @enum {string}
25781
- */
25782
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25758
+ data: {
25759
+ id: string;
25760
+ name: string;
25761
+ }[];
25762
+ pagination: {
25763
+ /** @default 100 */
25764
+ limit: number;
25765
+ /** @default 1 */
25766
+ page: number;
25767
+ total: number;
25768
+ totalPage: number;
25769
+ nextPage?: number;
25783
25770
  };
25784
25771
  };
25785
25772
  };
@@ -25811,6 +25798,15 @@ export interface operations {
25811
25798
  "application/json": components["schemas"]["error.FORBIDDEN"];
25812
25799
  };
25813
25800
  };
25801
+ /** @description Not found */
25802
+ 404: {
25803
+ headers: {
25804
+ [name: string]: unknown;
25805
+ };
25806
+ content: {
25807
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25808
+ };
25809
+ };
25814
25810
  /** @description Internal server error */
25815
25811
  500: {
25816
25812
  headers: {
@@ -25822,21 +25818,17 @@ export interface operations {
25822
25818
  };
25823
25819
  };
25824
25820
  };
25825
- getFlowMappingSources: {
25821
+ getFlows: {
25826
25822
  parameters: {
25827
25823
  query?: {
25828
- search?: string;
25824
+ appId?: string;
25829
25825
  limit?: number;
25830
25826
  page?: number;
25831
25827
  };
25832
25828
  header?: {
25833
25829
  "X-Team-Id"?: string;
25834
25830
  };
25835
- path: {
25836
- id: string;
25837
- connectionId: string;
25838
- mappingKey: string;
25839
- };
25831
+ path?: never;
25840
25832
  cookie?: never;
25841
25833
  };
25842
25834
  requestBody?: never;
@@ -25849,10 +25841,55 @@ export interface operations {
25849
25841
  content: {
25850
25842
  "application/json": {
25851
25843
  data: {
25844
+ /** Format: uuid */
25852
25845
  id: string;
25853
- name: string;
25846
+ title: string;
25847
+ appId: string;
25848
+ description?: string | null;
25849
+ /** @description Mapping schema configuration for this flow */
25850
+ mappingSchema: {
25851
+ [key: string]: {
25852
+ /** @description Title for UI/display */
25853
+ title: string;
25854
+ /** @description Description for UI/display */
25855
+ description: string;
25856
+ /** @description Internal system mapping configuration */
25857
+ internal: {
25858
+ /**
25859
+ * @description Internal semantic type
25860
+ * @enum {string}
25861
+ */
25862
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25863
+ /** @description Optional JSONB filter for internal data */
25864
+ filter?: string;
25865
+ };
25866
+ /** @description External system mapping configuration */
25867
+ external: {
25868
+ /** @description External type identifier (vendor/system specific) */
25869
+ type: string;
25870
+ /** @description Optional JSONB filter for external data */
25871
+ filter?: string;
25872
+ };
25873
+ };
25874
+ };
25875
+ /** @description Setting schema configuration for this flow */
25876
+ settingSchema: {
25877
+ [key: string]: {
25878
+ /** @description Title for UI/display */
25879
+ title: string;
25880
+ /** @description Description for UI/display */
25881
+ description: string;
25882
+ /**
25883
+ * @description Semantic type of the setting value
25884
+ * @enum {string}
25885
+ */
25886
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25887
+ /** @description Optional JSONB filter for available values */
25888
+ filter?: string;
25889
+ };
25890
+ };
25854
25891
  /** @enum {string} */
25855
- status: "mapped" | "unmapped";
25892
+ type?: "push" | "pull";
25856
25893
  }[];
25857
25894
  pagination: {
25858
25895
  /** @default 100 */
@@ -25913,20 +25950,14 @@ export interface operations {
25913
25950
  };
25914
25951
  };
25915
25952
  };
25916
- getFlowMappingDestinations: {
25953
+ getFlow: {
25917
25954
  parameters: {
25918
- query?: {
25919
- search?: string;
25920
- limit?: number;
25921
- page?: number;
25922
- };
25955
+ query?: never;
25923
25956
  header?: {
25924
25957
  "X-Team-Id"?: string;
25925
25958
  };
25926
25959
  path: {
25927
25960
  id: string;
25928
- connectionId: string;
25929
- mappingKey: string;
25930
25961
  };
25931
25962
  cookie?: never;
25932
25963
  };
@@ -25939,19 +25970,55 @@ export interface operations {
25939
25970
  };
25940
25971
  content: {
25941
25972
  "application/json": {
25942
- data: {
25943
- id: string;
25944
- name: string;
25945
- }[];
25946
- pagination: {
25947
- /** @default 100 */
25948
- limit: number;
25949
- /** @default 1 */
25950
- page: number;
25951
- total: number;
25952
- totalPage: number;
25953
- nextPage?: number;
25973
+ /** Format: uuid */
25974
+ id: string;
25975
+ title: string;
25976
+ appId: string;
25977
+ description?: string | null;
25978
+ /** @description Mapping schema configuration for this flow */
25979
+ mappingSchema: {
25980
+ [key: string]: {
25981
+ /** @description Title for UI/display */
25982
+ title: string;
25983
+ /** @description Description for UI/display */
25984
+ description: string;
25985
+ /** @description Internal system mapping configuration */
25986
+ internal: {
25987
+ /**
25988
+ * @description Internal semantic type
25989
+ * @enum {string}
25990
+ */
25991
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25992
+ /** @description Optional JSONB filter for internal data */
25993
+ filter?: string;
25994
+ };
25995
+ /** @description External system mapping configuration */
25996
+ external: {
25997
+ /** @description External type identifier (vendor/system specific) */
25998
+ type: string;
25999
+ /** @description Optional JSONB filter for external data */
26000
+ filter?: string;
26001
+ };
26002
+ };
26003
+ };
26004
+ /** @description Setting schema configuration for this flow */
26005
+ settingSchema: {
26006
+ [key: string]: {
26007
+ /** @description Title for UI/display */
26008
+ title: string;
26009
+ /** @description Description for UI/display */
26010
+ description: string;
26011
+ /**
26012
+ * @description Semantic type of the setting value
26013
+ * @enum {string}
26014
+ */
26015
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
26016
+ /** @description Optional JSONB filter for available values */
26017
+ filter?: string;
26018
+ };
25954
26019
  };
26020
+ /** @enum {string} */
26021
+ type?: "push" | "pull";
25955
26022
  };
25956
26023
  };
25957
26024
  };
@@ -26002,7 +26069,7 @@ export interface operations {
26002
26069
  };
26003
26070
  };
26004
26071
  };
26005
- getFlowSetting: {
26072
+ getFlowConnection: {
26006
26073
  parameters: {
26007
26074
  query?: never;
26008
26075
  header?: {
@@ -26011,7 +26078,6 @@ export interface operations {
26011
26078
  path: {
26012
26079
  id: string;
26013
26080
  connectionId: string;
26014
- settingKey: string;
26015
26081
  };
26016
26082
  cookie?: never;
26017
26083
  };
@@ -26023,7 +26089,17 @@ export interface operations {
26023
26089
  [name: string]: unknown;
26024
26090
  };
26025
26091
  content: {
26026
- "application/json": components["schemas"]["FlowSettingItemGet"];
26092
+ "application/json": {
26093
+ /** Format: uuid */
26094
+ id: string;
26095
+ /** Format: uuid */
26096
+ connectionId: string;
26097
+ title: string;
26098
+ description: string | null;
26099
+ /** @enum {string} */
26100
+ status: "active" | "inactive";
26101
+ settings: components["schemas"]["FlowSettingItemGet"][];
26102
+ };
26027
26103
  };
26028
26104
  };
26029
26105
  /** @description Invalid input data */
@@ -26073,7 +26149,7 @@ export interface operations {
26073
26149
  };
26074
26150
  };
26075
26151
  };
26076
- setFlowSetting: {
26152
+ setFlowStatus: {
26077
26153
  parameters: {
26078
26154
  query?: never;
26079
26155
  header?: {
@@ -26082,16 +26158,14 @@ export interface operations {
26082
26158
  path: {
26083
26159
  id: string;
26084
26160
  connectionId: string;
26085
- settingKey: string;
26086
26161
  };
26087
26162
  cookie?: never;
26088
26163
  };
26089
26164
  requestBody: {
26090
26165
  content: {
26091
26166
  "application/json": {
26092
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
26093
- [key: string]: string | number | boolean | null;
26094
- }) | null;
26167
+ /** @enum {string} */
26168
+ status: "active" | "inactive";
26095
26169
  };
26096
26170
  };
26097
26171
  };
@@ -26104,21 +26178,14 @@ export interface operations {
26104
26178
  content: {
26105
26179
  "application/json": {
26106
26180
  /** Format: uuid */
26107
- id?: string;
26108
- /** Format: uuid */
26109
- flowId?: string;
26181
+ id: string;
26110
26182
  /** Format: uuid */
26111
- connectionId?: string;
26112
- settingKey?: string;
26113
- title?: string | null;
26114
- description?: string | null;
26115
- /**
26116
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
26117
- * @enum {string|null}
26118
- */
26119
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
26120
- filter?: string | null;
26121
- value?: components["schemas"]["FlowMappingResolvedEntityValue"];
26183
+ connectionId: string;
26184
+ title: string;
26185
+ description: string | null;
26186
+ /** @enum {string} */
26187
+ status: "active" | "inactive";
26188
+ settings: components["schemas"]["FlowSettingItemGet"][];
26122
26189
  };
26123
26190
  };
26124
26191
  };
@@ -26149,6 +26216,15 @@ export interface operations {
26149
26216
  "application/json": components["schemas"]["error.FORBIDDEN"];
26150
26217
  };
26151
26218
  };
26219
+ /** @description Not found */
26220
+ 404: {
26221
+ headers: {
26222
+ [name: string]: unknown;
26223
+ };
26224
+ content: {
26225
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26226
+ };
26227
+ };
26152
26228
  /** @description Internal server error */
26153
26229
  500: {
26154
26230
  headers: {
@@ -26160,12 +26236,11 @@ export interface operations {
26160
26236
  };
26161
26237
  };
26162
26238
  };
26163
- getFlowSettingOptions: {
26239
+ runFlow: {
26164
26240
  parameters: {
26165
26241
  query?: {
26166
- search?: string;
26167
- limit?: number;
26168
- page?: number;
26242
+ dateRange?: string;
26243
+ isDateRangeEndInclusive?: boolean;
26169
26244
  };
26170
26245
  header?: {
26171
26246
  "X-Team-Id"?: string;
@@ -26173,7 +26248,6 @@ export interface operations {
26173
26248
  path: {
26174
26249
  id: string;
26175
26250
  connectionId: string;
26176
- settingKey: string;
26177
26251
  };
26178
26252
  cookie?: never;
26179
26253
  };
@@ -26186,19 +26260,8 @@ export interface operations {
26186
26260
  };
26187
26261
  content: {
26188
26262
  "application/json": {
26189
- data: {
26190
- id: string;
26191
- name: string;
26192
- }[];
26193
- pagination: {
26194
- /** @default 100 */
26195
- limit: number;
26196
- /** @default 1 */
26197
- page: number;
26198
- total: number;
26199
- totalPage: number;
26200
- nextPage?: number;
26201
- };
26263
+ /** Format: uuid */
26264
+ syncId: string;
26202
26265
  };
26203
26266
  };
26204
26267
  };