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