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