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