@vrplatform/api 1.3.0-stage.1187 → 1.3.0-stage.1190

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;
@@ -10229,6 +10229,9 @@ export interface operations {
10229
10229
  content: {
10230
10230
  "application/json": {
10231
10231
  deleted: boolean;
10232
+ archived: boolean;
10233
+ /** @enum {string} */
10234
+ lockReason?: "statement" | "period";
10232
10235
  };
10233
10236
  };
10234
10237
  };
@@ -25208,17 +25211,17 @@ export interface operations {
25208
25211
  };
25209
25212
  };
25210
25213
  };
25211
- getFlows: {
25214
+ getFlowSetting: {
25212
25215
  parameters: {
25213
- query?: {
25214
- appId?: string;
25215
- limit?: number;
25216
- page?: number;
25217
- };
25216
+ query?: never;
25218
25217
  header?: {
25219
25218
  "X-Team-Id"?: string;
25220
25219
  };
25221
- path?: never;
25220
+ path: {
25221
+ id: string;
25222
+ connectionId: string;
25223
+ settingKey: string;
25224
+ };
25222
25225
  cookie?: never;
25223
25226
  };
25224
25227
  requestBody?: never;
@@ -25229,68 +25232,7 @@ export interface operations {
25229
25232
  [name: string]: unknown;
25230
25233
  };
25231
25234
  content: {
25232
- "application/json": {
25233
- data: {
25234
- /** Format: uuid */
25235
- id: string;
25236
- title: string;
25237
- appId: string;
25238
- description?: string | null;
25239
- /** @description Mapping schema configuration for this flow */
25240
- mappingSchema: {
25241
- [key: string]: {
25242
- /** @description Title for UI/display */
25243
- title: string;
25244
- /** @description Description for UI/display */
25245
- description: string;
25246
- /** @description Internal system mapping configuration */
25247
- internal: {
25248
- /**
25249
- * @description Internal semantic type
25250
- * @enum {string}
25251
- */
25252
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25253
- /** @description Optional JSONB filter for internal data */
25254
- filter?: string;
25255
- };
25256
- /** @description External system mapping configuration */
25257
- external: {
25258
- /** @description External type identifier (vendor/system specific) */
25259
- type: string;
25260
- /** @description Optional JSONB filter for external data */
25261
- filter?: string;
25262
- };
25263
- };
25264
- };
25265
- /** @description Setting schema configuration for this flow */
25266
- settingSchema: {
25267
- [key: string]: {
25268
- /** @description Title for UI/display */
25269
- title: string;
25270
- /** @description Description for UI/display */
25271
- description: string;
25272
- /**
25273
- * @description Semantic type of the setting value
25274
- * @enum {string}
25275
- */
25276
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25277
- /** @description Optional JSONB filter for available values */
25278
- filter?: string;
25279
- };
25280
- };
25281
- /** @enum {string} */
25282
- type?: "push" | "pull";
25283
- }[];
25284
- pagination: {
25285
- /** @default 100 */
25286
- limit: number;
25287
- /** @default 1 */
25288
- page: number;
25289
- total: number;
25290
- totalPage: number;
25291
- nextPage?: number;
25292
- };
25293
- };
25235
+ "application/json": components["schemas"]["FlowSettingItemGet"];
25294
25236
  };
25295
25237
  };
25296
25238
  /** @description Invalid input data */
@@ -25340,7 +25282,7 @@ export interface operations {
25340
25282
  };
25341
25283
  };
25342
25284
  };
25343
- getFlow: {
25285
+ setFlowSetting: {
25344
25286
  parameters: {
25345
25287
  query?: never;
25346
25288
  header?: {
@@ -25348,10 +25290,20 @@ export interface operations {
25348
25290
  };
25349
25291
  path: {
25350
25292
  id: string;
25293
+ connectionId: string;
25294
+ settingKey: string;
25351
25295
  };
25352
25296
  cookie?: never;
25353
25297
  };
25354
- 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
+ };
25355
25307
  responses: {
25356
25308
  /** @description Successful response */
25357
25309
  200: {
@@ -25361,54 +25313,21 @@ export interface operations {
25361
25313
  content: {
25362
25314
  "application/json": {
25363
25315
  /** Format: uuid */
25364
- id: string;
25365
- title: string;
25366
- appId: string;
25316
+ id?: string;
25317
+ /** Format: uuid */
25318
+ flowId?: string;
25319
+ /** Format: uuid */
25320
+ connectionId?: string;
25321
+ settingKey?: string;
25322
+ title?: string | null;
25367
25323
  description?: string | null;
25368
- /** @description Mapping schema configuration for this flow */
25369
- mappingSchema: {
25370
- [key: string]: {
25371
- /** @description Title for UI/display */
25372
- title: string;
25373
- /** @description Description for UI/display */
25374
- description: string;
25375
- /** @description Internal system mapping configuration */
25376
- internal: {
25377
- /**
25378
- * @description Internal semantic type
25379
- * @enum {string}
25380
- */
25381
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25382
- /** @description Optional JSONB filter for internal data */
25383
- filter?: string;
25384
- };
25385
- /** @description External system mapping configuration */
25386
- external: {
25387
- /** @description External type identifier (vendor/system specific) */
25388
- type: string;
25389
- /** @description Optional JSONB filter for external data */
25390
- filter?: string;
25391
- };
25392
- };
25393
- };
25394
- /** @description Setting schema configuration for this flow */
25395
- settingSchema: {
25396
- [key: string]: {
25397
- /** @description Title for UI/display */
25398
- title: string;
25399
- /** @description Description for UI/display */
25400
- description: string;
25401
- /**
25402
- * @description Semantic type of the setting value
25403
- * @enum {string}
25404
- */
25405
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25406
- /** @description Optional JSONB filter for available values */
25407
- filter?: string;
25408
- };
25409
- };
25410
- /** @enum {string} */
25411
- 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"];
25412
25331
  };
25413
25332
  };
25414
25333
  };
@@ -25439,15 +25358,6 @@ export interface operations {
25439
25358
  "application/json": components["schemas"]["error.FORBIDDEN"];
25440
25359
  };
25441
25360
  };
25442
- /** @description Not found */
25443
- 404: {
25444
- headers: {
25445
- [name: string]: unknown;
25446
- };
25447
- content: {
25448
- "application/json": components["schemas"]["error.NOT_FOUND"];
25449
- };
25450
- };
25451
25361
  /** @description Internal server error */
25452
25362
  500: {
25453
25363
  headers: {
@@ -25459,15 +25369,20 @@ export interface operations {
25459
25369
  };
25460
25370
  };
25461
25371
  };
25462
- getFlowConnection: {
25372
+ getFlowSettingOptions: {
25463
25373
  parameters: {
25464
- query?: never;
25374
+ query?: {
25375
+ search?: string;
25376
+ limit?: number;
25377
+ page?: number;
25378
+ };
25465
25379
  header?: {
25466
25380
  "X-Team-Id"?: string;
25467
25381
  };
25468
25382
  path: {
25469
25383
  id: string;
25470
25384
  connectionId: string;
25385
+ settingKey: string;
25471
25386
  };
25472
25387
  cookie?: never;
25473
25388
  };
@@ -25480,18 +25395,22 @@ export interface operations {
25480
25395
  };
25481
25396
  content: {
25482
25397
  "application/json": {
25483
- /** Format: uuid */
25484
- id: string;
25485
- /** Format: uuid */
25486
- connectionId: string;
25487
- title: string;
25488
- description: string | null;
25489
- /** @enum {string} */
25490
- status: "active" | "inactive";
25491
- settings: components["schemas"]["FlowSettingItemGet"][];
25492
- };
25493
- };
25494
- };
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
+ };
25411
+ };
25412
+ };
25413
+ };
25495
25414
  /** @description Invalid input data */
25496
25415
  400: {
25497
25416
  headers: {
@@ -25539,26 +25458,24 @@ export interface operations {
25539
25458
  };
25540
25459
  };
25541
25460
  };
25542
- setFlowStatus: {
25461
+ getFlowMapping: {
25543
25462
  parameters: {
25544
- query?: never;
25463
+ query?: {
25464
+ sourceId?: string;
25465
+ limit?: number;
25466
+ page?: number;
25467
+ };
25545
25468
  header?: {
25546
25469
  "X-Team-Id"?: string;
25547
25470
  };
25548
25471
  path: {
25549
25472
  id: string;
25550
25473
  connectionId: string;
25474
+ mappingKey: string;
25551
25475
  };
25552
25476
  cookie?: never;
25553
25477
  };
25554
- requestBody: {
25555
- content: {
25556
- "application/json": {
25557
- /** @enum {string} */
25558
- status: "active" | "inactive";
25559
- };
25560
- };
25561
- };
25478
+ requestBody?: never;
25562
25479
  responses: {
25563
25480
  /** @description Successful response */
25564
25481
  200: {
@@ -25567,15 +25484,16 @@ export interface operations {
25567
25484
  };
25568
25485
  content: {
25569
25486
  "application/json": {
25570
- /** Format: uuid */
25571
- id: string;
25572
- /** Format: uuid */
25573
- connectionId: string;
25574
- title: string;
25575
- description: string | null;
25576
- /** @enum {string} */
25577
- status: "active" | "inactive";
25578
- 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
+ };
25579
25497
  };
25580
25498
  };
25581
25499
  };
@@ -25626,22 +25544,30 @@ export interface operations {
25626
25544
  };
25627
25545
  };
25628
25546
  };
25629
- runFlow: {
25547
+ setFlowMapping: {
25630
25548
  parameters: {
25631
- query?: {
25632
- dateRange?: string;
25633
- isDateRangeEndInclusive?: boolean;
25634
- };
25549
+ query?: never;
25635
25550
  header?: {
25636
25551
  "X-Team-Id"?: string;
25637
25552
  };
25638
25553
  path: {
25639
25554
  id: string;
25640
25555
  connectionId: string;
25556
+ mappingKey: string;
25641
25557
  };
25642
25558
  cookie?: never;
25643
25559
  };
25644
- 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
+ };
25645
25571
  responses: {
25646
25572
  /** @description Successful response */
25647
25573
  200: {
@@ -25651,7 +25577,27 @@ export interface operations {
25651
25577
  content: {
25652
25578
  "application/json": {
25653
25579
  /** Format: uuid */
25654
- 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
+ };
25655
25601
  };
25656
25602
  };
25657
25603
  };
@@ -25682,15 +25628,6 @@ export interface operations {
25682
25628
  "application/json": components["schemas"]["error.FORBIDDEN"];
25683
25629
  };
25684
25630
  };
25685
- /** @description Not found */
25686
- 404: {
25687
- headers: {
25688
- [name: string]: unknown;
25689
- };
25690
- content: {
25691
- "application/json": components["schemas"]["error.NOT_FOUND"];
25692
- };
25693
- };
25694
25631
  /** @description Internal server error */
25695
25632
  500: {
25696
25633
  headers: {
@@ -25702,10 +25639,10 @@ export interface operations {
25702
25639
  };
25703
25640
  };
25704
25641
  };
25705
- getFlowMapping: {
25642
+ getFlowMappingSources: {
25706
25643
  parameters: {
25707
25644
  query?: {
25708
- sourceId?: string;
25645
+ search?: string;
25709
25646
  limit?: number;
25710
25647
  page?: number;
25711
25648
  };
@@ -25728,7 +25665,12 @@ export interface operations {
25728
25665
  };
25729
25666
  content: {
25730
25667
  "application/json": {
25731
- data: components["schemas"]["FlowMappingItemGet"][];
25668
+ data: {
25669
+ id: string;
25670
+ name: string;
25671
+ /** @enum {string} */
25672
+ status: "mapped" | "unmapped";
25673
+ }[];
25732
25674
  pagination: {
25733
25675
  /** @default 100 */
25734
25676
  limit: number;
@@ -25788,9 +25730,13 @@ export interface operations {
25788
25730
  };
25789
25731
  };
25790
25732
  };
25791
- setFlowMapping: {
25733
+ getFlowMappingDestinations: {
25792
25734
  parameters: {
25793
- query?: never;
25735
+ query?: {
25736
+ search?: string;
25737
+ limit?: number;
25738
+ page?: number;
25739
+ };
25794
25740
  header?: {
25795
25741
  "X-Team-Id"?: string;
25796
25742
  };
@@ -25801,17 +25747,7 @@ export interface operations {
25801
25747
  };
25802
25748
  cookie?: never;
25803
25749
  };
25804
- requestBody: {
25805
- content: {
25806
- "application/json": {
25807
- /** Format: uuid */
25808
- sourceId: string;
25809
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25810
- [key: string]: string | number | boolean | null;
25811
- }) | null;
25812
- };
25813
- };
25814
- };
25750
+ requestBody?: never;
25815
25751
  responses: {
25816
25752
  /** @description Successful response */
25817
25753
  200: {
@@ -25820,27 +25756,18 @@ export interface operations {
25820
25756
  };
25821
25757
  content: {
25822
25758
  "application/json": {
25823
- /** Format: uuid */
25824
- id?: string;
25825
- /** Format: uuid */
25826
- flowId?: string;
25827
- /** Format: uuid */
25828
- connectionId?: string;
25829
- mappingKey?: string;
25830
- title?: string | null;
25831
- description?: string | null;
25832
- left?: {
25833
- /** Format: uuid */
25834
- sourceId: string;
25835
- };
25836
- right?: {
25837
- value: string | number;
25838
- text: string;
25839
- /**
25840
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25841
- * @enum {string}
25842
- */
25843
- 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;
25844
25771
  };
25845
25772
  };
25846
25773
  };
@@ -25872,6 +25799,15 @@ export interface operations {
25872
25799
  "application/json": components["schemas"]["error.FORBIDDEN"];
25873
25800
  };
25874
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
+ };
25875
25811
  /** @description Internal server error */
25876
25812
  500: {
25877
25813
  headers: {
@@ -25883,21 +25819,17 @@ export interface operations {
25883
25819
  };
25884
25820
  };
25885
25821
  };
25886
- getFlowMappingSources: {
25822
+ getFlows: {
25887
25823
  parameters: {
25888
25824
  query?: {
25889
- search?: string;
25825
+ appId?: string;
25890
25826
  limit?: number;
25891
25827
  page?: number;
25892
25828
  };
25893
25829
  header?: {
25894
25830
  "X-Team-Id"?: string;
25895
25831
  };
25896
- path: {
25897
- id: string;
25898
- connectionId: string;
25899
- mappingKey: string;
25900
- };
25832
+ path?: never;
25901
25833
  cookie?: never;
25902
25834
  };
25903
25835
  requestBody?: never;
@@ -25910,10 +25842,55 @@ export interface operations {
25910
25842
  content: {
25911
25843
  "application/json": {
25912
25844
  data: {
25845
+ /** Format: uuid */
25913
25846
  id: string;
25914
- 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
+ };
25915
25892
  /** @enum {string} */
25916
- status: "mapped" | "unmapped";
25893
+ type?: "push" | "pull";
25917
25894
  }[];
25918
25895
  pagination: {
25919
25896
  /** @default 100 */
@@ -25974,20 +25951,14 @@ export interface operations {
25974
25951
  };
25975
25952
  };
25976
25953
  };
25977
- getFlowMappingDestinations: {
25954
+ getFlow: {
25978
25955
  parameters: {
25979
- query?: {
25980
- search?: string;
25981
- limit?: number;
25982
- page?: number;
25983
- };
25956
+ query?: never;
25984
25957
  header?: {
25985
25958
  "X-Team-Id"?: string;
25986
25959
  };
25987
25960
  path: {
25988
25961
  id: string;
25989
- connectionId: string;
25990
- mappingKey: string;
25991
25962
  };
25992
25963
  cookie?: never;
25993
25964
  };
@@ -26000,19 +25971,55 @@ export interface operations {
26000
25971
  };
26001
25972
  content: {
26002
25973
  "application/json": {
26003
- data: {
26004
- id: string;
26005
- name: string;
26006
- }[];
26007
- pagination: {
26008
- /** @default 100 */
26009
- limit: number;
26010
- /** @default 1 */
26011
- page: number;
26012
- total: number;
26013
- totalPage: number;
26014
- 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
+ };
26015
26020
  };
26021
+ /** @enum {string} */
26022
+ type?: "push" | "pull";
26016
26023
  };
26017
26024
  };
26018
26025
  };
@@ -26063,7 +26070,7 @@ export interface operations {
26063
26070
  };
26064
26071
  };
26065
26072
  };
26066
- getFlowSetting: {
26073
+ getFlowConnection: {
26067
26074
  parameters: {
26068
26075
  query?: never;
26069
26076
  header?: {
@@ -26072,7 +26079,6 @@ export interface operations {
26072
26079
  path: {
26073
26080
  id: string;
26074
26081
  connectionId: string;
26075
- settingKey: string;
26076
26082
  };
26077
26083
  cookie?: never;
26078
26084
  };
@@ -26084,7 +26090,17 @@ export interface operations {
26084
26090
  [name: string]: unknown;
26085
26091
  };
26086
26092
  content: {
26087
- "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
+ };
26088
26104
  };
26089
26105
  };
26090
26106
  /** @description Invalid input data */
@@ -26134,7 +26150,7 @@ export interface operations {
26134
26150
  };
26135
26151
  };
26136
26152
  };
26137
- setFlowSetting: {
26153
+ setFlowStatus: {
26138
26154
  parameters: {
26139
26155
  query?: never;
26140
26156
  header?: {
@@ -26143,16 +26159,14 @@ export interface operations {
26143
26159
  path: {
26144
26160
  id: string;
26145
26161
  connectionId: string;
26146
- settingKey: string;
26147
26162
  };
26148
26163
  cookie?: never;
26149
26164
  };
26150
26165
  requestBody: {
26151
26166
  content: {
26152
26167
  "application/json": {
26153
- value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
26154
- [key: string]: string | number | boolean | null;
26155
- }) | null;
26168
+ /** @enum {string} */
26169
+ status: "active" | "inactive";
26156
26170
  };
26157
26171
  };
26158
26172
  };
@@ -26165,21 +26179,14 @@ export interface operations {
26165
26179
  content: {
26166
26180
  "application/json": {
26167
26181
  /** Format: uuid */
26168
- id?: string;
26169
- /** Format: uuid */
26170
- flowId?: string;
26182
+ id: string;
26171
26183
  /** Format: uuid */
26172
- connectionId?: string;
26173
- settingKey?: string;
26174
- title?: string | null;
26175
- description?: string | null;
26176
- /**
26177
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
26178
- * @enum {string|null}
26179
- */
26180
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
26181
- filter?: string | null;
26182
- 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"][];
26183
26190
  };
26184
26191
  };
26185
26192
  };
@@ -26210,6 +26217,15 @@ export interface operations {
26210
26217
  "application/json": components["schemas"]["error.FORBIDDEN"];
26211
26218
  };
26212
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
+ };
26213
26229
  /** @description Internal server error */
26214
26230
  500: {
26215
26231
  headers: {
@@ -26221,12 +26237,11 @@ export interface operations {
26221
26237
  };
26222
26238
  };
26223
26239
  };
26224
- getFlowSettingOptions: {
26240
+ runFlow: {
26225
26241
  parameters: {
26226
26242
  query?: {
26227
- search?: string;
26228
- limit?: number;
26229
- page?: number;
26243
+ dateRange?: string;
26244
+ isDateRangeEndInclusive?: boolean;
26230
26245
  };
26231
26246
  header?: {
26232
26247
  "X-Team-Id"?: string;
@@ -26234,7 +26249,6 @@ export interface operations {
26234
26249
  path: {
26235
26250
  id: string;
26236
26251
  connectionId: string;
26237
- settingKey: string;
26238
26252
  };
26239
26253
  cookie?: never;
26240
26254
  };
@@ -26247,19 +26261,8 @@ export interface operations {
26247
26261
  };
26248
26262
  content: {
26249
26263
  "application/json": {
26250
- data: {
26251
- id: string;
26252
- name: string;
26253
- }[];
26254
- pagination: {
26255
- /** @default 100 */
26256
- limit: number;
26257
- /** @default 1 */
26258
- page: number;
26259
- total: number;
26260
- totalPage: number;
26261
- nextPage?: number;
26262
- };
26264
+ /** Format: uuid */
26265
+ syncId: string;
26263
26266
  };
26264
26267
  };
26265
26268
  };