@vrplatform/api 1.3.1-stage.2501 → 1.3.1-stage.2503
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.
|
@@ -807,7 +807,8 @@ export interface paths {
|
|
|
807
807
|
};
|
|
808
808
|
/** @description Get flow configuration for a connection */
|
|
809
809
|
get: operations["getFlowConnection"];
|
|
810
|
-
|
|
810
|
+
/** @description Update flow status for a connection */
|
|
811
|
+
put: operations["setFlowStatus"];
|
|
811
812
|
post?: never;
|
|
812
813
|
delete?: never;
|
|
813
814
|
options?: never;
|
|
@@ -13257,6 +13258,150 @@ export interface operations {
|
|
|
13257
13258
|
connectionId: string;
|
|
13258
13259
|
title: string;
|
|
13259
13260
|
description: string | null;
|
|
13261
|
+
/** @enum {string} */
|
|
13262
|
+
status: "active" | "inactive";
|
|
13263
|
+
settings: {
|
|
13264
|
+
/** Format: uuid */
|
|
13265
|
+
id: string;
|
|
13266
|
+
/** Format: uuid */
|
|
13267
|
+
flowId: string;
|
|
13268
|
+
/** Format: uuid */
|
|
13269
|
+
connectionId: string;
|
|
13270
|
+
settingKey: string;
|
|
13271
|
+
title: string | null;
|
|
13272
|
+
description: string | null;
|
|
13273
|
+
type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
|
|
13274
|
+
filter: string | null;
|
|
13275
|
+
/** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
|
|
13276
|
+
value: {
|
|
13277
|
+
id: string | number;
|
|
13278
|
+
name: string;
|
|
13279
|
+
/**
|
|
13280
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
13281
|
+
* @enum {string}
|
|
13282
|
+
*/
|
|
13283
|
+
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13284
|
+
};
|
|
13285
|
+
}[];
|
|
13286
|
+
};
|
|
13287
|
+
};
|
|
13288
|
+
};
|
|
13289
|
+
/** @description Bad request */
|
|
13290
|
+
400: {
|
|
13291
|
+
headers: {
|
|
13292
|
+
[name: string]: unknown;
|
|
13293
|
+
};
|
|
13294
|
+
content: {
|
|
13295
|
+
"application/json": {
|
|
13296
|
+
code: string;
|
|
13297
|
+
message: string;
|
|
13298
|
+
issues?: {
|
|
13299
|
+
message: string;
|
|
13300
|
+
}[];
|
|
13301
|
+
context?: unknown;
|
|
13302
|
+
};
|
|
13303
|
+
};
|
|
13304
|
+
};
|
|
13305
|
+
/** @description Unauthorized */
|
|
13306
|
+
401: {
|
|
13307
|
+
headers: {
|
|
13308
|
+
[name: string]: unknown;
|
|
13309
|
+
};
|
|
13310
|
+
content: {
|
|
13311
|
+
"application/json": {
|
|
13312
|
+
code: string;
|
|
13313
|
+
message: string;
|
|
13314
|
+
issues?: {
|
|
13315
|
+
message: string;
|
|
13316
|
+
}[];
|
|
13317
|
+
context?: unknown;
|
|
13318
|
+
};
|
|
13319
|
+
};
|
|
13320
|
+
};
|
|
13321
|
+
/** @description Forbidden */
|
|
13322
|
+
403: {
|
|
13323
|
+
headers: {
|
|
13324
|
+
[name: string]: unknown;
|
|
13325
|
+
};
|
|
13326
|
+
content: {
|
|
13327
|
+
"application/json": {
|
|
13328
|
+
code: string;
|
|
13329
|
+
message: string;
|
|
13330
|
+
issues?: {
|
|
13331
|
+
message: string;
|
|
13332
|
+
}[];
|
|
13333
|
+
context?: unknown;
|
|
13334
|
+
};
|
|
13335
|
+
};
|
|
13336
|
+
};
|
|
13337
|
+
/** @description Not found */
|
|
13338
|
+
404: {
|
|
13339
|
+
headers: {
|
|
13340
|
+
[name: string]: unknown;
|
|
13341
|
+
};
|
|
13342
|
+
content: {
|
|
13343
|
+
"application/json": {
|
|
13344
|
+
code: string;
|
|
13345
|
+
message: string;
|
|
13346
|
+
issues?: {
|
|
13347
|
+
message: string;
|
|
13348
|
+
}[];
|
|
13349
|
+
context?: unknown;
|
|
13350
|
+
};
|
|
13351
|
+
};
|
|
13352
|
+
};
|
|
13353
|
+
/** @description Internal server error */
|
|
13354
|
+
500: {
|
|
13355
|
+
headers: {
|
|
13356
|
+
[name: string]: unknown;
|
|
13357
|
+
};
|
|
13358
|
+
content: {
|
|
13359
|
+
"application/json": {
|
|
13360
|
+
code: string;
|
|
13361
|
+
message: string;
|
|
13362
|
+
issues?: {
|
|
13363
|
+
message: string;
|
|
13364
|
+
}[];
|
|
13365
|
+
context?: unknown;
|
|
13366
|
+
};
|
|
13367
|
+
};
|
|
13368
|
+
};
|
|
13369
|
+
};
|
|
13370
|
+
};
|
|
13371
|
+
setFlowStatus: {
|
|
13372
|
+
parameters: {
|
|
13373
|
+
query?: never;
|
|
13374
|
+
header?: never;
|
|
13375
|
+
path: {
|
|
13376
|
+
id: string;
|
|
13377
|
+
connectionId: string;
|
|
13378
|
+
};
|
|
13379
|
+
cookie?: never;
|
|
13380
|
+
};
|
|
13381
|
+
requestBody?: {
|
|
13382
|
+
content: {
|
|
13383
|
+
"application/json": {
|
|
13384
|
+
/** @enum {string} */
|
|
13385
|
+
status: "active" | "inactive";
|
|
13386
|
+
};
|
|
13387
|
+
};
|
|
13388
|
+
};
|
|
13389
|
+
responses: {
|
|
13390
|
+
/** @description Successful response */
|
|
13391
|
+
200: {
|
|
13392
|
+
headers: {
|
|
13393
|
+
[name: string]: unknown;
|
|
13394
|
+
};
|
|
13395
|
+
content: {
|
|
13396
|
+
"application/json": {
|
|
13397
|
+
/** Format: uuid */
|
|
13398
|
+
id: string;
|
|
13399
|
+
/** Format: uuid */
|
|
13400
|
+
connectionId: string;
|
|
13401
|
+
title: string;
|
|
13402
|
+
description: string | null;
|
|
13403
|
+
/** @enum {string} */
|
|
13404
|
+
status: "active" | "inactive";
|
|
13260
13405
|
settings: {
|
|
13261
13406
|
/** Format: uuid */
|
|
13262
13407
|
id: string;
|
|
@@ -27608,6 +27753,18 @@ export interface operations {
|
|
|
27608
27753
|
/** @constant */
|
|
27609
27754
|
severity: "warning";
|
|
27610
27755
|
context: Record<string, never>;
|
|
27756
|
+
} | {
|
|
27757
|
+
/** @constant */
|
|
27758
|
+
code: "reservationCurrencyMismatch";
|
|
27759
|
+
/** @constant */
|
|
27760
|
+
severity: "warning";
|
|
27761
|
+
context: {
|
|
27762
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
27763
|
+
reservationCurrency: string;
|
|
27764
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
27765
|
+
teamDefaultCurrency: string;
|
|
27766
|
+
};
|
|
27767
|
+
message: string;
|
|
27611
27768
|
} | {
|
|
27612
27769
|
/** @constant */
|
|
27613
27770
|
code: "guestTotalsZero";
|
|
@@ -27958,6 +28115,18 @@ export interface operations {
|
|
|
27958
28115
|
/** @constant */
|
|
27959
28116
|
severity: "warning";
|
|
27960
28117
|
context: Record<string, never>;
|
|
28118
|
+
} | {
|
|
28119
|
+
/** @constant */
|
|
28120
|
+
code: "reservationCurrencyMismatch";
|
|
28121
|
+
/** @constant */
|
|
28122
|
+
severity: "warning";
|
|
28123
|
+
context: {
|
|
28124
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28125
|
+
reservationCurrency: string;
|
|
28126
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28127
|
+
teamDefaultCurrency: string;
|
|
28128
|
+
};
|
|
28129
|
+
message: string;
|
|
27961
28130
|
} | {
|
|
27962
28131
|
/** @constant */
|
|
27963
28132
|
code: "guestTotalsZero";
|
|
@@ -29357,6 +29526,18 @@ export interface operations {
|
|
|
29357
29526
|
/** @constant */
|
|
29358
29527
|
severity: "warning";
|
|
29359
29528
|
context: Record<string, never>;
|
|
29529
|
+
} | {
|
|
29530
|
+
/** @constant */
|
|
29531
|
+
code: "reservationCurrencyMismatch";
|
|
29532
|
+
/** @constant */
|
|
29533
|
+
severity: "warning";
|
|
29534
|
+
context: {
|
|
29535
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
29536
|
+
reservationCurrency: string;
|
|
29537
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
29538
|
+
teamDefaultCurrency: string;
|
|
29539
|
+
};
|
|
29540
|
+
message: string;
|
|
29360
29541
|
} | {
|
|
29361
29542
|
/** @constant */
|
|
29362
29543
|
code: "guestTotalsZero";
|
|
@@ -29934,6 +30115,18 @@ export interface operations {
|
|
|
29934
30115
|
/** @constant */
|
|
29935
30116
|
severity: "warning";
|
|
29936
30117
|
context: Record<string, never>;
|
|
30118
|
+
} | {
|
|
30119
|
+
/** @constant */
|
|
30120
|
+
code: "reservationCurrencyMismatch";
|
|
30121
|
+
/** @constant */
|
|
30122
|
+
severity: "warning";
|
|
30123
|
+
context: {
|
|
30124
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30125
|
+
reservationCurrency: string;
|
|
30126
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30127
|
+
teamDefaultCurrency: string;
|
|
30128
|
+
};
|
|
30129
|
+
message: string;
|
|
29937
30130
|
} | {
|
|
29938
30131
|
/** @constant */
|
|
29939
30132
|
code: "guestTotalsZero";
|
|
@@ -30627,6 +30820,18 @@ export interface operations {
|
|
|
30627
30820
|
/** @constant */
|
|
30628
30821
|
severity: "warning";
|
|
30629
30822
|
context: Record<string, never>;
|
|
30823
|
+
} | {
|
|
30824
|
+
/** @constant */
|
|
30825
|
+
code: "reservationCurrencyMismatch";
|
|
30826
|
+
/** @constant */
|
|
30827
|
+
severity: "warning";
|
|
30828
|
+
context: {
|
|
30829
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30830
|
+
reservationCurrency: string;
|
|
30831
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30832
|
+
teamDefaultCurrency: string;
|
|
30833
|
+
};
|
|
30834
|
+
message: string;
|
|
30630
30835
|
} | {
|
|
30631
30836
|
/** @constant */
|
|
30632
30837
|
code: "guestTotalsZero";
|
|
@@ -31094,6 +31299,18 @@ export interface operations {
|
|
|
31094
31299
|
/** @constant */
|
|
31095
31300
|
severity: "warning";
|
|
31096
31301
|
context: Record<string, never>;
|
|
31302
|
+
} | {
|
|
31303
|
+
/** @constant */
|
|
31304
|
+
code: "reservationCurrencyMismatch";
|
|
31305
|
+
/** @constant */
|
|
31306
|
+
severity: "warning";
|
|
31307
|
+
context: {
|
|
31308
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31309
|
+
reservationCurrency: string;
|
|
31310
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31311
|
+
teamDefaultCurrency: string;
|
|
31312
|
+
};
|
|
31313
|
+
message: string;
|
|
31097
31314
|
} | {
|
|
31098
31315
|
/** @constant */
|
|
31099
31316
|
code: "guestTotalsZero";
|
|
@@ -31547,6 +31764,18 @@ export interface operations {
|
|
|
31547
31764
|
/** @constant */
|
|
31548
31765
|
severity: "warning";
|
|
31549
31766
|
context: Record<string, never>;
|
|
31767
|
+
} | {
|
|
31768
|
+
/** @constant */
|
|
31769
|
+
code: "reservationCurrencyMismatch";
|
|
31770
|
+
/** @constant */
|
|
31771
|
+
severity: "warning";
|
|
31772
|
+
context: {
|
|
31773
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31774
|
+
reservationCurrency: string;
|
|
31775
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31776
|
+
teamDefaultCurrency: string;
|
|
31777
|
+
};
|
|
31778
|
+
message: string;
|
|
31550
31779
|
} | {
|
|
31551
31780
|
/** @constant */
|
|
31552
31781
|
code: "guestTotalsZero";
|
|
@@ -39221,6 +39450,26 @@ export interface operations {
|
|
|
39221
39450
|
difference: number;
|
|
39222
39451
|
}[];
|
|
39223
39452
|
};
|
|
39453
|
+
} | {
|
|
39454
|
+
/** @enum {string} */
|
|
39455
|
+
severity: "error" | "warning";
|
|
39456
|
+
/** @enum {string} */
|
|
39457
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
39458
|
+
message: string;
|
|
39459
|
+
affected: number;
|
|
39460
|
+
/** @constant */
|
|
39461
|
+
code: "reservationCurrencyMismatch";
|
|
39462
|
+
context: {
|
|
39463
|
+
reservations: {
|
|
39464
|
+
/** Format: uuid */
|
|
39465
|
+
reservationId: string;
|
|
39466
|
+
confirmationCode: string | null;
|
|
39467
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
39468
|
+
reservationCurrency: string;
|
|
39469
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
39470
|
+
teamDefaultCurrency: string;
|
|
39471
|
+
}[];
|
|
39472
|
+
};
|
|
39224
39473
|
})[];
|
|
39225
39474
|
summary: {
|
|
39226
39475
|
total: number;
|
|
@@ -42801,6 +43050,26 @@ export interface operations {
|
|
|
42801
43050
|
difference: number;
|
|
42802
43051
|
}[];
|
|
42803
43052
|
};
|
|
43053
|
+
} | {
|
|
43054
|
+
/** @enum {string} */
|
|
43055
|
+
severity: "error" | "warning";
|
|
43056
|
+
/** @enum {string} */
|
|
43057
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
43058
|
+
message: string;
|
|
43059
|
+
affected: number;
|
|
43060
|
+
/** @constant */
|
|
43061
|
+
code: "reservationCurrencyMismatch";
|
|
43062
|
+
context: {
|
|
43063
|
+
reservations: {
|
|
43064
|
+
/** Format: uuid */
|
|
43065
|
+
reservationId: string;
|
|
43066
|
+
confirmationCode: string | null;
|
|
43067
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
43068
|
+
reservationCurrency: string;
|
|
43069
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
43070
|
+
teamDefaultCurrency: string;
|
|
43071
|
+
}[];
|
|
43072
|
+
};
|
|
42804
43073
|
})[];
|
|
42805
43074
|
summary: {
|
|
42806
43075
|
total: number;
|