@vrplatform/api 1.3.1-stage.2514 → 1.3.1-stage.2518
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 +827 -174
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +827 -174
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +827 -174
|
@@ -747,6 +747,58 @@ export interface paths {
|
|
|
747
747
|
patch: operations["patchContactsByIdRevokeAccess"];
|
|
748
748
|
trace?: never;
|
|
749
749
|
};
|
|
750
|
+
"/contacts/{id}/viewers": {
|
|
751
|
+
parameters: {
|
|
752
|
+
query?: never;
|
|
753
|
+
header?: never;
|
|
754
|
+
path?: never;
|
|
755
|
+
cookie?: never;
|
|
756
|
+
};
|
|
757
|
+
/** @description List owner-viewer access for an owner contact */
|
|
758
|
+
get: operations["getContactsByIdViewers"];
|
|
759
|
+
put?: never;
|
|
760
|
+
/** @description Invite an owner viewer for an owner contact */
|
|
761
|
+
post: operations["postContactsByIdViewers"];
|
|
762
|
+
delete?: never;
|
|
763
|
+
options?: never;
|
|
764
|
+
head?: never;
|
|
765
|
+
patch?: never;
|
|
766
|
+
trace?: never;
|
|
767
|
+
};
|
|
768
|
+
"/contacts/{id}/viewers/{userId}": {
|
|
769
|
+
parameters: {
|
|
770
|
+
query?: never;
|
|
771
|
+
header?: never;
|
|
772
|
+
path?: never;
|
|
773
|
+
cookie?: never;
|
|
774
|
+
};
|
|
775
|
+
get?: never;
|
|
776
|
+
put?: never;
|
|
777
|
+
post?: never;
|
|
778
|
+
/** @description Remove an owner-viewer access row from an owner contact */
|
|
779
|
+
delete: operations["deleteContactsByIdViewersByUserId"];
|
|
780
|
+
options?: never;
|
|
781
|
+
head?: never;
|
|
782
|
+
patch?: never;
|
|
783
|
+
trace?: never;
|
|
784
|
+
};
|
|
785
|
+
"/contacts/{id}/viewers/{userId}/invite": {
|
|
786
|
+
parameters: {
|
|
787
|
+
query?: never;
|
|
788
|
+
header?: never;
|
|
789
|
+
path?: never;
|
|
790
|
+
cookie?: never;
|
|
791
|
+
};
|
|
792
|
+
get?: never;
|
|
793
|
+
put?: never;
|
|
794
|
+
post?: never;
|
|
795
|
+
delete?: never;
|
|
796
|
+
options?: never;
|
|
797
|
+
head?: never;
|
|
798
|
+
/** @description Reinvite an existing owner viewer */
|
|
799
|
+
patch: operations["patchContactsByIdViewersByUserIdInvite"];
|
|
800
|
+
trace?: never;
|
|
801
|
+
};
|
|
750
802
|
"/csv/import": {
|
|
751
803
|
parameters: {
|
|
752
804
|
query?: never;
|
|
@@ -1252,6 +1304,23 @@ export interface paths {
|
|
|
1252
1304
|
patch?: never;
|
|
1253
1305
|
trace?: never;
|
|
1254
1306
|
};
|
|
1307
|
+
"/members": {
|
|
1308
|
+
parameters: {
|
|
1309
|
+
query?: never;
|
|
1310
|
+
header?: never;
|
|
1311
|
+
path?: never;
|
|
1312
|
+
cookie?: never;
|
|
1313
|
+
};
|
|
1314
|
+
/** @description List property-managers for the current team */
|
|
1315
|
+
get: operations["getMembers"];
|
|
1316
|
+
put?: never;
|
|
1317
|
+
post?: never;
|
|
1318
|
+
delete?: never;
|
|
1319
|
+
options?: never;
|
|
1320
|
+
head?: never;
|
|
1321
|
+
patch?: never;
|
|
1322
|
+
trace?: never;
|
|
1323
|
+
};
|
|
1255
1324
|
"/metrics/active-listings": {
|
|
1256
1325
|
parameters: {
|
|
1257
1326
|
query?: never;
|
|
@@ -12810,25 +12879,16 @@ export interface operations {
|
|
|
12810
12879
|
};
|
|
12811
12880
|
};
|
|
12812
12881
|
};
|
|
12813
|
-
|
|
12882
|
+
getContactsByIdViewers: {
|
|
12814
12883
|
parameters: {
|
|
12815
12884
|
query?: never;
|
|
12816
12885
|
header?: never;
|
|
12817
|
-
path
|
|
12818
|
-
|
|
12819
|
-
};
|
|
12820
|
-
requestBody?: {
|
|
12821
|
-
content: {
|
|
12822
|
-
"application/json": {
|
|
12823
|
-
fileData?: string;
|
|
12824
|
-
fileUri?: string;
|
|
12825
|
-
fileName?: string;
|
|
12826
|
-
connectionId: string;
|
|
12827
|
-
uniqueRef: string;
|
|
12828
|
-
params?: unknown;
|
|
12829
|
-
};
|
|
12886
|
+
path: {
|
|
12887
|
+
id: string;
|
|
12830
12888
|
};
|
|
12889
|
+
cookie?: never;
|
|
12831
12890
|
};
|
|
12891
|
+
requestBody?: never;
|
|
12832
12892
|
responses: {
|
|
12833
12893
|
/** @description Successful response */
|
|
12834
12894
|
200: {
|
|
@@ -12838,19 +12898,16 @@ export interface operations {
|
|
|
12838
12898
|
content: {
|
|
12839
12899
|
"application/json": {
|
|
12840
12900
|
data: {
|
|
12841
|
-
|
|
12842
|
-
|
|
12843
|
-
|
|
12844
|
-
|
|
12901
|
+
/** Format: uuid */
|
|
12902
|
+
userId: string;
|
|
12903
|
+
email: string;
|
|
12904
|
+
firstName: string | null;
|
|
12905
|
+
lastName: string | null;
|
|
12845
12906
|
/** @enum {string} */
|
|
12846
|
-
status: "
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
rowNumber: number;
|
|
12851
|
-
message: string;
|
|
12852
|
-
}[];
|
|
12853
|
-
};
|
|
12907
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
12908
|
+
lastInvitedAt: string | null;
|
|
12909
|
+
lastSeen: string | null;
|
|
12910
|
+
}[];
|
|
12854
12911
|
};
|
|
12855
12912
|
};
|
|
12856
12913
|
};
|
|
@@ -12936,18 +12993,24 @@ export interface operations {
|
|
|
12936
12993
|
};
|
|
12937
12994
|
};
|
|
12938
12995
|
};
|
|
12939
|
-
|
|
12996
|
+
postContactsByIdViewers: {
|
|
12940
12997
|
parameters: {
|
|
12941
|
-
query?:
|
|
12942
|
-
appId?: string;
|
|
12943
|
-
limit?: number;
|
|
12944
|
-
page?: number;
|
|
12945
|
-
};
|
|
12998
|
+
query?: never;
|
|
12946
12999
|
header?: never;
|
|
12947
|
-
path
|
|
13000
|
+
path: {
|
|
13001
|
+
id: string;
|
|
13002
|
+
};
|
|
12948
13003
|
cookie?: never;
|
|
12949
13004
|
};
|
|
12950
|
-
requestBody?:
|
|
13005
|
+
requestBody?: {
|
|
13006
|
+
content: {
|
|
13007
|
+
"application/json": {
|
|
13008
|
+
email: string;
|
|
13009
|
+
/** @default true */
|
|
13010
|
+
sendEmail?: boolean;
|
|
13011
|
+
};
|
|
13012
|
+
};
|
|
13013
|
+
};
|
|
12951
13014
|
responses: {
|
|
12952
13015
|
/** @description Successful response */
|
|
12953
13016
|
200: {
|
|
@@ -12956,77 +13019,17 @@ export interface operations {
|
|
|
12956
13019
|
};
|
|
12957
13020
|
content: {
|
|
12958
13021
|
"application/json": {
|
|
12959
|
-
|
|
13022
|
+
url: string;
|
|
13023
|
+
viewer: {
|
|
12960
13024
|
/** Format: uuid */
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
/** @default false */
|
|
12966
|
-
useGlobalMapping: boolean;
|
|
12967
|
-
description?: string | null;
|
|
12968
|
-
/** @description Mapping schema configuration for this flow */
|
|
12969
|
-
mappingSchema: {
|
|
12970
|
-
[key: string]: {
|
|
12971
|
-
/** @description Title for UI/display */
|
|
12972
|
-
title: string;
|
|
12973
|
-
/** @description Description for UI/display */
|
|
12974
|
-
description: string;
|
|
12975
|
-
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
12976
|
-
type?: string;
|
|
12977
|
-
/** @description Internal system mapping configuration */
|
|
12978
|
-
internal?: {
|
|
12979
|
-
/**
|
|
12980
|
-
* @description Internal semantic type
|
|
12981
|
-
* @enum {string}
|
|
12982
|
-
*/
|
|
12983
|
-
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
12984
|
-
/** @description Optional JSONB filter for internal data */
|
|
12985
|
-
filter?: string;
|
|
12986
|
-
};
|
|
12987
|
-
/** @description External system mapping configuration */
|
|
12988
|
-
external?: {
|
|
12989
|
-
/** @description External type identifier (vendor/system specific) */
|
|
12990
|
-
type: string;
|
|
12991
|
-
/** @description Optional JSONB filter for external data */
|
|
12992
|
-
filter?: string;
|
|
12993
|
-
};
|
|
12994
|
-
};
|
|
12995
|
-
};
|
|
12996
|
-
/** @description Setting schema configuration for this flow */
|
|
12997
|
-
settingSchema: {
|
|
12998
|
-
[key: string]: {
|
|
12999
|
-
/** @description Title for UI/display */
|
|
13000
|
-
title: string;
|
|
13001
|
-
/** @description Description for UI/display */
|
|
13002
|
-
description: string;
|
|
13003
|
-
/**
|
|
13004
|
-
* @description Semantic type of the setting value
|
|
13005
|
-
* @enum {string}
|
|
13006
|
-
*/
|
|
13007
|
-
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13008
|
-
/** @description Optional JSONB filter for available values */
|
|
13009
|
-
filter?: string;
|
|
13010
|
-
/** @description External type identifier (vendor/system specific) for options */
|
|
13011
|
-
external?: string;
|
|
13012
|
-
};
|
|
13013
|
-
};
|
|
13014
|
-
/** @description Run schema configuration for this flow */
|
|
13015
|
-
runSchema: {
|
|
13016
|
-
/** @description Human readable description for date selection when triggering a run */
|
|
13017
|
-
dateDescription?: string;
|
|
13018
|
-
};
|
|
13025
|
+
userId: string;
|
|
13026
|
+
email: string;
|
|
13027
|
+
firstName: string | null;
|
|
13028
|
+
lastName: string | null;
|
|
13019
13029
|
/** @enum {string} */
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
/** @default 100 */
|
|
13024
|
-
limit: number;
|
|
13025
|
-
/** @default 1 */
|
|
13026
|
-
page: number;
|
|
13027
|
-
total: number;
|
|
13028
|
-
totalPage: number;
|
|
13029
|
-
nextPage?: number;
|
|
13030
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
13031
|
+
lastInvitedAt: string | null;
|
|
13032
|
+
lastSeen: string | null;
|
|
13030
13033
|
};
|
|
13031
13034
|
};
|
|
13032
13035
|
};
|
|
@@ -13113,12 +13116,13 @@ export interface operations {
|
|
|
13113
13116
|
};
|
|
13114
13117
|
};
|
|
13115
13118
|
};
|
|
13116
|
-
|
|
13119
|
+
deleteContactsByIdViewersByUserId: {
|
|
13117
13120
|
parameters: {
|
|
13118
13121
|
query?: never;
|
|
13119
13122
|
header?: never;
|
|
13120
13123
|
path: {
|
|
13121
13124
|
id: string;
|
|
13125
|
+
userId: string;
|
|
13122
13126
|
};
|
|
13123
13127
|
cookie?: never;
|
|
13124
13128
|
};
|
|
@@ -13131,67 +13135,8 @@ export interface operations {
|
|
|
13131
13135
|
};
|
|
13132
13136
|
content: {
|
|
13133
13137
|
"application/json": {
|
|
13134
|
-
/**
|
|
13135
|
-
|
|
13136
|
-
title: string;
|
|
13137
|
-
appId: string;
|
|
13138
|
-
isPublic: boolean;
|
|
13139
|
-
/** @default false */
|
|
13140
|
-
useGlobalMapping: boolean;
|
|
13141
|
-
description?: string | null;
|
|
13142
|
-
/** @description Mapping schema configuration for this flow */
|
|
13143
|
-
mappingSchema: {
|
|
13144
|
-
[key: string]: {
|
|
13145
|
-
/** @description Title for UI/display */
|
|
13146
|
-
title: string;
|
|
13147
|
-
/** @description Description for UI/display */
|
|
13148
|
-
description: string;
|
|
13149
|
-
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
13150
|
-
type?: string;
|
|
13151
|
-
/** @description Internal system mapping configuration */
|
|
13152
|
-
internal?: {
|
|
13153
|
-
/**
|
|
13154
|
-
* @description Internal semantic type
|
|
13155
|
-
* @enum {string}
|
|
13156
|
-
*/
|
|
13157
|
-
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13158
|
-
/** @description Optional JSONB filter for internal data */
|
|
13159
|
-
filter?: string;
|
|
13160
|
-
};
|
|
13161
|
-
/** @description External system mapping configuration */
|
|
13162
|
-
external?: {
|
|
13163
|
-
/** @description External type identifier (vendor/system specific) */
|
|
13164
|
-
type: string;
|
|
13165
|
-
/** @description Optional JSONB filter for external data */
|
|
13166
|
-
filter?: string;
|
|
13167
|
-
};
|
|
13168
|
-
};
|
|
13169
|
-
};
|
|
13170
|
-
/** @description Setting schema configuration for this flow */
|
|
13171
|
-
settingSchema: {
|
|
13172
|
-
[key: string]: {
|
|
13173
|
-
/** @description Title for UI/display */
|
|
13174
|
-
title: string;
|
|
13175
|
-
/** @description Description for UI/display */
|
|
13176
|
-
description: string;
|
|
13177
|
-
/**
|
|
13178
|
-
* @description Semantic type of the setting value
|
|
13179
|
-
* @enum {string}
|
|
13180
|
-
*/
|
|
13181
|
-
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13182
|
-
/** @description Optional JSONB filter for available values */
|
|
13183
|
-
filter?: string;
|
|
13184
|
-
/** @description External type identifier (vendor/system specific) for options */
|
|
13185
|
-
external?: string;
|
|
13186
|
-
};
|
|
13187
|
-
};
|
|
13188
|
-
/** @description Run schema configuration for this flow */
|
|
13189
|
-
runSchema: {
|
|
13190
|
-
/** @description Human readable description for date selection when triggering a run */
|
|
13191
|
-
dateDescription?: string;
|
|
13192
|
-
};
|
|
13193
|
-
/** @enum {string} */
|
|
13194
|
-
type?: "push" | "pull";
|
|
13138
|
+
/** @constant */
|
|
13139
|
+
status: "deleted";
|
|
13195
13140
|
};
|
|
13196
13141
|
};
|
|
13197
13142
|
};
|
|
@@ -13277,23 +13222,613 @@ export interface operations {
|
|
|
13277
13222
|
};
|
|
13278
13223
|
};
|
|
13279
13224
|
};
|
|
13280
|
-
|
|
13225
|
+
patchContactsByIdViewersByUserIdInvite: {
|
|
13281
13226
|
parameters: {
|
|
13282
13227
|
query?: never;
|
|
13283
13228
|
header?: never;
|
|
13284
13229
|
path: {
|
|
13285
13230
|
id: string;
|
|
13286
|
-
|
|
13231
|
+
userId: string;
|
|
13287
13232
|
};
|
|
13288
13233
|
cookie?: never;
|
|
13289
13234
|
};
|
|
13290
|
-
requestBody?:
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13295
|
-
|
|
13296
|
-
|
|
13235
|
+
requestBody?: {
|
|
13236
|
+
content: {
|
|
13237
|
+
"application/json": {
|
|
13238
|
+
/** @default true */
|
|
13239
|
+
sendEmail?: boolean;
|
|
13240
|
+
};
|
|
13241
|
+
};
|
|
13242
|
+
};
|
|
13243
|
+
responses: {
|
|
13244
|
+
/** @description Successful response */
|
|
13245
|
+
200: {
|
|
13246
|
+
headers: {
|
|
13247
|
+
[name: string]: unknown;
|
|
13248
|
+
};
|
|
13249
|
+
content: {
|
|
13250
|
+
"application/json": {
|
|
13251
|
+
url: string;
|
|
13252
|
+
viewer: {
|
|
13253
|
+
/** Format: uuid */
|
|
13254
|
+
userId: string;
|
|
13255
|
+
email: string;
|
|
13256
|
+
firstName: string | null;
|
|
13257
|
+
lastName: string | null;
|
|
13258
|
+
/** @enum {string} */
|
|
13259
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
13260
|
+
lastInvitedAt: string | null;
|
|
13261
|
+
lastSeen: string | null;
|
|
13262
|
+
};
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
13265
|
+
};
|
|
13266
|
+
/** @description Bad request */
|
|
13267
|
+
400: {
|
|
13268
|
+
headers: {
|
|
13269
|
+
[name: string]: unknown;
|
|
13270
|
+
};
|
|
13271
|
+
content: {
|
|
13272
|
+
"application/json": {
|
|
13273
|
+
code: string;
|
|
13274
|
+
message: string;
|
|
13275
|
+
issues?: {
|
|
13276
|
+
message: string;
|
|
13277
|
+
}[];
|
|
13278
|
+
context?: unknown;
|
|
13279
|
+
};
|
|
13280
|
+
};
|
|
13281
|
+
};
|
|
13282
|
+
/** @description Unauthorized */
|
|
13283
|
+
401: {
|
|
13284
|
+
headers: {
|
|
13285
|
+
[name: string]: unknown;
|
|
13286
|
+
};
|
|
13287
|
+
content: {
|
|
13288
|
+
"application/json": {
|
|
13289
|
+
code: string;
|
|
13290
|
+
message: string;
|
|
13291
|
+
issues?: {
|
|
13292
|
+
message: string;
|
|
13293
|
+
}[];
|
|
13294
|
+
context?: unknown;
|
|
13295
|
+
};
|
|
13296
|
+
};
|
|
13297
|
+
};
|
|
13298
|
+
/** @description Forbidden */
|
|
13299
|
+
403: {
|
|
13300
|
+
headers: {
|
|
13301
|
+
[name: string]: unknown;
|
|
13302
|
+
};
|
|
13303
|
+
content: {
|
|
13304
|
+
"application/json": {
|
|
13305
|
+
code: string;
|
|
13306
|
+
message: string;
|
|
13307
|
+
issues?: {
|
|
13308
|
+
message: string;
|
|
13309
|
+
}[];
|
|
13310
|
+
context?: unknown;
|
|
13311
|
+
};
|
|
13312
|
+
};
|
|
13313
|
+
};
|
|
13314
|
+
/** @description Not found */
|
|
13315
|
+
404: {
|
|
13316
|
+
headers: {
|
|
13317
|
+
[name: string]: unknown;
|
|
13318
|
+
};
|
|
13319
|
+
content: {
|
|
13320
|
+
"application/json": {
|
|
13321
|
+
code: string;
|
|
13322
|
+
message: string;
|
|
13323
|
+
issues?: {
|
|
13324
|
+
message: string;
|
|
13325
|
+
}[];
|
|
13326
|
+
context?: unknown;
|
|
13327
|
+
};
|
|
13328
|
+
};
|
|
13329
|
+
};
|
|
13330
|
+
/** @description Internal server error */
|
|
13331
|
+
500: {
|
|
13332
|
+
headers: {
|
|
13333
|
+
[name: string]: unknown;
|
|
13334
|
+
};
|
|
13335
|
+
content: {
|
|
13336
|
+
"application/json": {
|
|
13337
|
+
code: string;
|
|
13338
|
+
message: string;
|
|
13339
|
+
issues?: {
|
|
13340
|
+
message: string;
|
|
13341
|
+
}[];
|
|
13342
|
+
context?: unknown;
|
|
13343
|
+
};
|
|
13344
|
+
};
|
|
13345
|
+
};
|
|
13346
|
+
};
|
|
13347
|
+
};
|
|
13348
|
+
csvImport: {
|
|
13349
|
+
parameters: {
|
|
13350
|
+
query?: never;
|
|
13351
|
+
header?: never;
|
|
13352
|
+
path?: never;
|
|
13353
|
+
cookie?: never;
|
|
13354
|
+
};
|
|
13355
|
+
requestBody?: {
|
|
13356
|
+
content: {
|
|
13357
|
+
"application/json": {
|
|
13358
|
+
fileData?: string;
|
|
13359
|
+
fileUri?: string;
|
|
13360
|
+
fileName?: string;
|
|
13361
|
+
connectionId: string;
|
|
13362
|
+
uniqueRef: string;
|
|
13363
|
+
params?: unknown;
|
|
13364
|
+
};
|
|
13365
|
+
};
|
|
13366
|
+
};
|
|
13367
|
+
responses: {
|
|
13368
|
+
/** @description Successful response */
|
|
13369
|
+
200: {
|
|
13370
|
+
headers: {
|
|
13371
|
+
[name: string]: unknown;
|
|
13372
|
+
};
|
|
13373
|
+
content: {
|
|
13374
|
+
"application/json": {
|
|
13375
|
+
data: {
|
|
13376
|
+
syncId: string;
|
|
13377
|
+
/** @enum {string} */
|
|
13378
|
+
status: "completed";
|
|
13379
|
+
} | {
|
|
13380
|
+
/** @enum {string} */
|
|
13381
|
+
status: "failed";
|
|
13382
|
+
syncId: string;
|
|
13383
|
+
error: string;
|
|
13384
|
+
parseErrors?: {
|
|
13385
|
+
rowNumber: number;
|
|
13386
|
+
message: string;
|
|
13387
|
+
}[];
|
|
13388
|
+
};
|
|
13389
|
+
};
|
|
13390
|
+
};
|
|
13391
|
+
};
|
|
13392
|
+
/** @description Bad request */
|
|
13393
|
+
400: {
|
|
13394
|
+
headers: {
|
|
13395
|
+
[name: string]: unknown;
|
|
13396
|
+
};
|
|
13397
|
+
content: {
|
|
13398
|
+
"application/json": {
|
|
13399
|
+
code: string;
|
|
13400
|
+
message: string;
|
|
13401
|
+
issues?: {
|
|
13402
|
+
message: string;
|
|
13403
|
+
}[];
|
|
13404
|
+
context?: unknown;
|
|
13405
|
+
};
|
|
13406
|
+
};
|
|
13407
|
+
};
|
|
13408
|
+
/** @description Unauthorized */
|
|
13409
|
+
401: {
|
|
13410
|
+
headers: {
|
|
13411
|
+
[name: string]: unknown;
|
|
13412
|
+
};
|
|
13413
|
+
content: {
|
|
13414
|
+
"application/json": {
|
|
13415
|
+
code: string;
|
|
13416
|
+
message: string;
|
|
13417
|
+
issues?: {
|
|
13418
|
+
message: string;
|
|
13419
|
+
}[];
|
|
13420
|
+
context?: unknown;
|
|
13421
|
+
};
|
|
13422
|
+
};
|
|
13423
|
+
};
|
|
13424
|
+
/** @description Forbidden */
|
|
13425
|
+
403: {
|
|
13426
|
+
headers: {
|
|
13427
|
+
[name: string]: unknown;
|
|
13428
|
+
};
|
|
13429
|
+
content: {
|
|
13430
|
+
"application/json": {
|
|
13431
|
+
code: string;
|
|
13432
|
+
message: string;
|
|
13433
|
+
issues?: {
|
|
13434
|
+
message: string;
|
|
13435
|
+
}[];
|
|
13436
|
+
context?: unknown;
|
|
13437
|
+
};
|
|
13438
|
+
};
|
|
13439
|
+
};
|
|
13440
|
+
/** @description Not found */
|
|
13441
|
+
404: {
|
|
13442
|
+
headers: {
|
|
13443
|
+
[name: string]: unknown;
|
|
13444
|
+
};
|
|
13445
|
+
content: {
|
|
13446
|
+
"application/json": {
|
|
13447
|
+
code: string;
|
|
13448
|
+
message: string;
|
|
13449
|
+
issues?: {
|
|
13450
|
+
message: string;
|
|
13451
|
+
}[];
|
|
13452
|
+
context?: unknown;
|
|
13453
|
+
};
|
|
13454
|
+
};
|
|
13455
|
+
};
|
|
13456
|
+
/** @description Internal server error */
|
|
13457
|
+
500: {
|
|
13458
|
+
headers: {
|
|
13459
|
+
[name: string]: unknown;
|
|
13460
|
+
};
|
|
13461
|
+
content: {
|
|
13462
|
+
"application/json": {
|
|
13463
|
+
code: string;
|
|
13464
|
+
message: string;
|
|
13465
|
+
issues?: {
|
|
13466
|
+
message: string;
|
|
13467
|
+
}[];
|
|
13468
|
+
context?: unknown;
|
|
13469
|
+
};
|
|
13470
|
+
};
|
|
13471
|
+
};
|
|
13472
|
+
};
|
|
13473
|
+
};
|
|
13474
|
+
getFlows: {
|
|
13475
|
+
parameters: {
|
|
13476
|
+
query?: {
|
|
13477
|
+
appId?: string;
|
|
13478
|
+
limit?: number;
|
|
13479
|
+
page?: number;
|
|
13480
|
+
};
|
|
13481
|
+
header?: never;
|
|
13482
|
+
path?: never;
|
|
13483
|
+
cookie?: never;
|
|
13484
|
+
};
|
|
13485
|
+
requestBody?: never;
|
|
13486
|
+
responses: {
|
|
13487
|
+
/** @description Successful response */
|
|
13488
|
+
200: {
|
|
13489
|
+
headers: {
|
|
13490
|
+
[name: string]: unknown;
|
|
13491
|
+
};
|
|
13492
|
+
content: {
|
|
13493
|
+
"application/json": {
|
|
13494
|
+
data: {
|
|
13495
|
+
/** Format: uuid */
|
|
13496
|
+
id: string;
|
|
13497
|
+
title: string;
|
|
13498
|
+
appId: string;
|
|
13499
|
+
isPublic: boolean;
|
|
13500
|
+
/** @default false */
|
|
13501
|
+
useGlobalMapping: boolean;
|
|
13502
|
+
description?: string | null;
|
|
13503
|
+
/** @description Mapping schema configuration for this flow */
|
|
13504
|
+
mappingSchema: {
|
|
13505
|
+
[key: string]: {
|
|
13506
|
+
/** @description Title for UI/display */
|
|
13507
|
+
title: string;
|
|
13508
|
+
/** @description Description for UI/display */
|
|
13509
|
+
description: string;
|
|
13510
|
+
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
13511
|
+
type?: string;
|
|
13512
|
+
/** @description Internal system mapping configuration */
|
|
13513
|
+
internal?: {
|
|
13514
|
+
/**
|
|
13515
|
+
* @description Internal semantic type
|
|
13516
|
+
* @enum {string}
|
|
13517
|
+
*/
|
|
13518
|
+
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13519
|
+
/** @description Optional JSONB filter for internal data */
|
|
13520
|
+
filter?: string;
|
|
13521
|
+
};
|
|
13522
|
+
/** @description External system mapping configuration */
|
|
13523
|
+
external?: {
|
|
13524
|
+
/** @description External type identifier (vendor/system specific) */
|
|
13525
|
+
type: string;
|
|
13526
|
+
/** @description Optional JSONB filter for external data */
|
|
13527
|
+
filter?: string;
|
|
13528
|
+
};
|
|
13529
|
+
};
|
|
13530
|
+
};
|
|
13531
|
+
/** @description Setting schema configuration for this flow */
|
|
13532
|
+
settingSchema: {
|
|
13533
|
+
[key: string]: {
|
|
13534
|
+
/** @description Title for UI/display */
|
|
13535
|
+
title: string;
|
|
13536
|
+
/** @description Description for UI/display */
|
|
13537
|
+
description: string;
|
|
13538
|
+
/**
|
|
13539
|
+
* @description Semantic type of the setting value
|
|
13540
|
+
* @enum {string}
|
|
13541
|
+
*/
|
|
13542
|
+
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13543
|
+
/** @description Optional JSONB filter for available values */
|
|
13544
|
+
filter?: string;
|
|
13545
|
+
/** @description External type identifier (vendor/system specific) for options */
|
|
13546
|
+
external?: string;
|
|
13547
|
+
};
|
|
13548
|
+
};
|
|
13549
|
+
/** @description Run schema configuration for this flow */
|
|
13550
|
+
runSchema: {
|
|
13551
|
+
/** @description Human readable description for date selection when triggering a run */
|
|
13552
|
+
dateDescription?: string;
|
|
13553
|
+
};
|
|
13554
|
+
/** @enum {string} */
|
|
13555
|
+
type?: "push" | "pull";
|
|
13556
|
+
}[];
|
|
13557
|
+
pagination: {
|
|
13558
|
+
/** @default 100 */
|
|
13559
|
+
limit: number;
|
|
13560
|
+
/** @default 1 */
|
|
13561
|
+
page: number;
|
|
13562
|
+
total: number;
|
|
13563
|
+
totalPage: number;
|
|
13564
|
+
nextPage?: number;
|
|
13565
|
+
};
|
|
13566
|
+
};
|
|
13567
|
+
};
|
|
13568
|
+
};
|
|
13569
|
+
/** @description Bad request */
|
|
13570
|
+
400: {
|
|
13571
|
+
headers: {
|
|
13572
|
+
[name: string]: unknown;
|
|
13573
|
+
};
|
|
13574
|
+
content: {
|
|
13575
|
+
"application/json": {
|
|
13576
|
+
code: string;
|
|
13577
|
+
message: string;
|
|
13578
|
+
issues?: {
|
|
13579
|
+
message: string;
|
|
13580
|
+
}[];
|
|
13581
|
+
context?: unknown;
|
|
13582
|
+
};
|
|
13583
|
+
};
|
|
13584
|
+
};
|
|
13585
|
+
/** @description Unauthorized */
|
|
13586
|
+
401: {
|
|
13587
|
+
headers: {
|
|
13588
|
+
[name: string]: unknown;
|
|
13589
|
+
};
|
|
13590
|
+
content: {
|
|
13591
|
+
"application/json": {
|
|
13592
|
+
code: string;
|
|
13593
|
+
message: string;
|
|
13594
|
+
issues?: {
|
|
13595
|
+
message: string;
|
|
13596
|
+
}[];
|
|
13597
|
+
context?: unknown;
|
|
13598
|
+
};
|
|
13599
|
+
};
|
|
13600
|
+
};
|
|
13601
|
+
/** @description Forbidden */
|
|
13602
|
+
403: {
|
|
13603
|
+
headers: {
|
|
13604
|
+
[name: string]: unknown;
|
|
13605
|
+
};
|
|
13606
|
+
content: {
|
|
13607
|
+
"application/json": {
|
|
13608
|
+
code: string;
|
|
13609
|
+
message: string;
|
|
13610
|
+
issues?: {
|
|
13611
|
+
message: string;
|
|
13612
|
+
}[];
|
|
13613
|
+
context?: unknown;
|
|
13614
|
+
};
|
|
13615
|
+
};
|
|
13616
|
+
};
|
|
13617
|
+
/** @description Not found */
|
|
13618
|
+
404: {
|
|
13619
|
+
headers: {
|
|
13620
|
+
[name: string]: unknown;
|
|
13621
|
+
};
|
|
13622
|
+
content: {
|
|
13623
|
+
"application/json": {
|
|
13624
|
+
code: string;
|
|
13625
|
+
message: string;
|
|
13626
|
+
issues?: {
|
|
13627
|
+
message: string;
|
|
13628
|
+
}[];
|
|
13629
|
+
context?: unknown;
|
|
13630
|
+
};
|
|
13631
|
+
};
|
|
13632
|
+
};
|
|
13633
|
+
/** @description Internal server error */
|
|
13634
|
+
500: {
|
|
13635
|
+
headers: {
|
|
13636
|
+
[name: string]: unknown;
|
|
13637
|
+
};
|
|
13638
|
+
content: {
|
|
13639
|
+
"application/json": {
|
|
13640
|
+
code: string;
|
|
13641
|
+
message: string;
|
|
13642
|
+
issues?: {
|
|
13643
|
+
message: string;
|
|
13644
|
+
}[];
|
|
13645
|
+
context?: unknown;
|
|
13646
|
+
};
|
|
13647
|
+
};
|
|
13648
|
+
};
|
|
13649
|
+
};
|
|
13650
|
+
};
|
|
13651
|
+
getFlow: {
|
|
13652
|
+
parameters: {
|
|
13653
|
+
query?: never;
|
|
13654
|
+
header?: never;
|
|
13655
|
+
path: {
|
|
13656
|
+
id: string;
|
|
13657
|
+
};
|
|
13658
|
+
cookie?: never;
|
|
13659
|
+
};
|
|
13660
|
+
requestBody?: never;
|
|
13661
|
+
responses: {
|
|
13662
|
+
/** @description Successful response */
|
|
13663
|
+
200: {
|
|
13664
|
+
headers: {
|
|
13665
|
+
[name: string]: unknown;
|
|
13666
|
+
};
|
|
13667
|
+
content: {
|
|
13668
|
+
"application/json": {
|
|
13669
|
+
/** Format: uuid */
|
|
13670
|
+
id: string;
|
|
13671
|
+
title: string;
|
|
13672
|
+
appId: string;
|
|
13673
|
+
isPublic: boolean;
|
|
13674
|
+
/** @default false */
|
|
13675
|
+
useGlobalMapping: boolean;
|
|
13676
|
+
description?: string | null;
|
|
13677
|
+
/** @description Mapping schema configuration for this flow */
|
|
13678
|
+
mappingSchema: {
|
|
13679
|
+
[key: string]: {
|
|
13680
|
+
/** @description Title for UI/display */
|
|
13681
|
+
title: string;
|
|
13682
|
+
/** @description Description for UI/display */
|
|
13683
|
+
description: string;
|
|
13684
|
+
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
13685
|
+
type?: string;
|
|
13686
|
+
/** @description Internal system mapping configuration */
|
|
13687
|
+
internal?: {
|
|
13688
|
+
/**
|
|
13689
|
+
* @description Internal semantic type
|
|
13690
|
+
* @enum {string}
|
|
13691
|
+
*/
|
|
13692
|
+
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13693
|
+
/** @description Optional JSONB filter for internal data */
|
|
13694
|
+
filter?: string;
|
|
13695
|
+
};
|
|
13696
|
+
/** @description External system mapping configuration */
|
|
13697
|
+
external?: {
|
|
13698
|
+
/** @description External type identifier (vendor/system specific) */
|
|
13699
|
+
type: string;
|
|
13700
|
+
/** @description Optional JSONB filter for external data */
|
|
13701
|
+
filter?: string;
|
|
13702
|
+
};
|
|
13703
|
+
};
|
|
13704
|
+
};
|
|
13705
|
+
/** @description Setting schema configuration for this flow */
|
|
13706
|
+
settingSchema: {
|
|
13707
|
+
[key: string]: {
|
|
13708
|
+
/** @description Title for UI/display */
|
|
13709
|
+
title: string;
|
|
13710
|
+
/** @description Description for UI/display */
|
|
13711
|
+
description: string;
|
|
13712
|
+
/**
|
|
13713
|
+
* @description Semantic type of the setting value
|
|
13714
|
+
* @enum {string}
|
|
13715
|
+
*/
|
|
13716
|
+
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13717
|
+
/** @description Optional JSONB filter for available values */
|
|
13718
|
+
filter?: string;
|
|
13719
|
+
/** @description External type identifier (vendor/system specific) for options */
|
|
13720
|
+
external?: string;
|
|
13721
|
+
};
|
|
13722
|
+
};
|
|
13723
|
+
/** @description Run schema configuration for this flow */
|
|
13724
|
+
runSchema: {
|
|
13725
|
+
/** @description Human readable description for date selection when triggering a run */
|
|
13726
|
+
dateDescription?: string;
|
|
13727
|
+
};
|
|
13728
|
+
/** @enum {string} */
|
|
13729
|
+
type?: "push" | "pull";
|
|
13730
|
+
};
|
|
13731
|
+
};
|
|
13732
|
+
};
|
|
13733
|
+
/** @description Bad request */
|
|
13734
|
+
400: {
|
|
13735
|
+
headers: {
|
|
13736
|
+
[name: string]: unknown;
|
|
13737
|
+
};
|
|
13738
|
+
content: {
|
|
13739
|
+
"application/json": {
|
|
13740
|
+
code: string;
|
|
13741
|
+
message: string;
|
|
13742
|
+
issues?: {
|
|
13743
|
+
message: string;
|
|
13744
|
+
}[];
|
|
13745
|
+
context?: unknown;
|
|
13746
|
+
};
|
|
13747
|
+
};
|
|
13748
|
+
};
|
|
13749
|
+
/** @description Unauthorized */
|
|
13750
|
+
401: {
|
|
13751
|
+
headers: {
|
|
13752
|
+
[name: string]: unknown;
|
|
13753
|
+
};
|
|
13754
|
+
content: {
|
|
13755
|
+
"application/json": {
|
|
13756
|
+
code: string;
|
|
13757
|
+
message: string;
|
|
13758
|
+
issues?: {
|
|
13759
|
+
message: string;
|
|
13760
|
+
}[];
|
|
13761
|
+
context?: unknown;
|
|
13762
|
+
};
|
|
13763
|
+
};
|
|
13764
|
+
};
|
|
13765
|
+
/** @description Forbidden */
|
|
13766
|
+
403: {
|
|
13767
|
+
headers: {
|
|
13768
|
+
[name: string]: unknown;
|
|
13769
|
+
};
|
|
13770
|
+
content: {
|
|
13771
|
+
"application/json": {
|
|
13772
|
+
code: string;
|
|
13773
|
+
message: string;
|
|
13774
|
+
issues?: {
|
|
13775
|
+
message: string;
|
|
13776
|
+
}[];
|
|
13777
|
+
context?: unknown;
|
|
13778
|
+
};
|
|
13779
|
+
};
|
|
13780
|
+
};
|
|
13781
|
+
/** @description Not found */
|
|
13782
|
+
404: {
|
|
13783
|
+
headers: {
|
|
13784
|
+
[name: string]: unknown;
|
|
13785
|
+
};
|
|
13786
|
+
content: {
|
|
13787
|
+
"application/json": {
|
|
13788
|
+
code: string;
|
|
13789
|
+
message: string;
|
|
13790
|
+
issues?: {
|
|
13791
|
+
message: string;
|
|
13792
|
+
}[];
|
|
13793
|
+
context?: unknown;
|
|
13794
|
+
};
|
|
13795
|
+
};
|
|
13796
|
+
};
|
|
13797
|
+
/** @description Internal server error */
|
|
13798
|
+
500: {
|
|
13799
|
+
headers: {
|
|
13800
|
+
[name: string]: unknown;
|
|
13801
|
+
};
|
|
13802
|
+
content: {
|
|
13803
|
+
"application/json": {
|
|
13804
|
+
code: string;
|
|
13805
|
+
message: string;
|
|
13806
|
+
issues?: {
|
|
13807
|
+
message: string;
|
|
13808
|
+
}[];
|
|
13809
|
+
context?: unknown;
|
|
13810
|
+
};
|
|
13811
|
+
};
|
|
13812
|
+
};
|
|
13813
|
+
};
|
|
13814
|
+
};
|
|
13815
|
+
getFlowConnection: {
|
|
13816
|
+
parameters: {
|
|
13817
|
+
query?: never;
|
|
13818
|
+
header?: never;
|
|
13819
|
+
path: {
|
|
13820
|
+
id: string;
|
|
13821
|
+
connectionId: string;
|
|
13822
|
+
};
|
|
13823
|
+
cookie?: never;
|
|
13824
|
+
};
|
|
13825
|
+
requestBody?: never;
|
|
13826
|
+
responses: {
|
|
13827
|
+
/** @description Successful response */
|
|
13828
|
+
200: {
|
|
13829
|
+
headers: {
|
|
13830
|
+
[name: string]: unknown;
|
|
13831
|
+
};
|
|
13297
13832
|
content: {
|
|
13298
13833
|
"application/json": {
|
|
13299
13834
|
/** Format: uuid */
|
|
@@ -18538,6 +19073,8 @@ export interface operations {
|
|
|
18538
19073
|
ownerId?: string;
|
|
18539
19074
|
/** Format: uuid */
|
|
18540
19075
|
teamId: string;
|
|
19076
|
+
/** @enum {string} */
|
|
19077
|
+
role: "admin" | "viewer";
|
|
18541
19078
|
}[];
|
|
18542
19079
|
teamAccess: {
|
|
18543
19080
|
/** Format: uuid */
|
|
@@ -18639,6 +19176,122 @@ export interface operations {
|
|
|
18639
19176
|
};
|
|
18640
19177
|
};
|
|
18641
19178
|
};
|
|
19179
|
+
getMembers: {
|
|
19180
|
+
parameters: {
|
|
19181
|
+
query?: never;
|
|
19182
|
+
header?: never;
|
|
19183
|
+
path?: never;
|
|
19184
|
+
cookie?: never;
|
|
19185
|
+
};
|
|
19186
|
+
requestBody?: never;
|
|
19187
|
+
responses: {
|
|
19188
|
+
/** @description Successful response */
|
|
19189
|
+
200: {
|
|
19190
|
+
headers: {
|
|
19191
|
+
[name: string]: unknown;
|
|
19192
|
+
};
|
|
19193
|
+
content: {
|
|
19194
|
+
"application/json": {
|
|
19195
|
+
data: {
|
|
19196
|
+
/** Format: uuid */
|
|
19197
|
+
id: string;
|
|
19198
|
+
/** Format: uuid */
|
|
19199
|
+
userId: string;
|
|
19200
|
+
/** Format: uuid */
|
|
19201
|
+
tenantId: string;
|
|
19202
|
+
/** Format: email */
|
|
19203
|
+
email: string;
|
|
19204
|
+
role: string;
|
|
19205
|
+
status?: string | null;
|
|
19206
|
+
name?: string | null;
|
|
19207
|
+
firstName?: string | null;
|
|
19208
|
+
lastName?: string | null;
|
|
19209
|
+
}[];
|
|
19210
|
+
};
|
|
19211
|
+
};
|
|
19212
|
+
};
|
|
19213
|
+
/** @description Bad request */
|
|
19214
|
+
400: {
|
|
19215
|
+
headers: {
|
|
19216
|
+
[name: string]: unknown;
|
|
19217
|
+
};
|
|
19218
|
+
content: {
|
|
19219
|
+
"application/json": {
|
|
19220
|
+
code: string;
|
|
19221
|
+
message: string;
|
|
19222
|
+
issues?: {
|
|
19223
|
+
message: string;
|
|
19224
|
+
}[];
|
|
19225
|
+
context?: unknown;
|
|
19226
|
+
};
|
|
19227
|
+
};
|
|
19228
|
+
};
|
|
19229
|
+
/** @description Unauthorized */
|
|
19230
|
+
401: {
|
|
19231
|
+
headers: {
|
|
19232
|
+
[name: string]: unknown;
|
|
19233
|
+
};
|
|
19234
|
+
content: {
|
|
19235
|
+
"application/json": {
|
|
19236
|
+
code: string;
|
|
19237
|
+
message: string;
|
|
19238
|
+
issues?: {
|
|
19239
|
+
message: string;
|
|
19240
|
+
}[];
|
|
19241
|
+
context?: unknown;
|
|
19242
|
+
};
|
|
19243
|
+
};
|
|
19244
|
+
};
|
|
19245
|
+
/** @description Forbidden */
|
|
19246
|
+
403: {
|
|
19247
|
+
headers: {
|
|
19248
|
+
[name: string]: unknown;
|
|
19249
|
+
};
|
|
19250
|
+
content: {
|
|
19251
|
+
"application/json": {
|
|
19252
|
+
code: string;
|
|
19253
|
+
message: string;
|
|
19254
|
+
issues?: {
|
|
19255
|
+
message: string;
|
|
19256
|
+
}[];
|
|
19257
|
+
context?: unknown;
|
|
19258
|
+
};
|
|
19259
|
+
};
|
|
19260
|
+
};
|
|
19261
|
+
/** @description Not found */
|
|
19262
|
+
404: {
|
|
19263
|
+
headers: {
|
|
19264
|
+
[name: string]: unknown;
|
|
19265
|
+
};
|
|
19266
|
+
content: {
|
|
19267
|
+
"application/json": {
|
|
19268
|
+
code: string;
|
|
19269
|
+
message: string;
|
|
19270
|
+
issues?: {
|
|
19271
|
+
message: string;
|
|
19272
|
+
}[];
|
|
19273
|
+
context?: unknown;
|
|
19274
|
+
};
|
|
19275
|
+
};
|
|
19276
|
+
};
|
|
19277
|
+
/** @description Internal server error */
|
|
19278
|
+
500: {
|
|
19279
|
+
headers: {
|
|
19280
|
+
[name: string]: unknown;
|
|
19281
|
+
};
|
|
19282
|
+
content: {
|
|
19283
|
+
"application/json": {
|
|
19284
|
+
code: string;
|
|
19285
|
+
message: string;
|
|
19286
|
+
issues?: {
|
|
19287
|
+
message: string;
|
|
19288
|
+
}[];
|
|
19289
|
+
context?: unknown;
|
|
19290
|
+
};
|
|
19291
|
+
};
|
|
19292
|
+
};
|
|
19293
|
+
};
|
|
19294
|
+
};
|
|
18642
19295
|
getMetricActiveListings: {
|
|
18643
19296
|
parameters: {
|
|
18644
19297
|
query: {
|