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