@v-office/website-sdk 2.0.0 → 2.1.1
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/README.md +33 -31
- package/dist/cli.mjs +6 -4
- package/dist/{client-BSUd3vuc.mjs → client-xkXV7Nf-.mjs} +32 -16
- package/dist/index.d.mts +613 -1140
- package/dist/index.mjs +3 -3
- package/dist/instructions/CHANGELOG.md +1 -0
- package/dist/instructions/MIGRATION.md +1 -0
- package/dist/instructions/README.md +14 -12
- package/dist/instructions/availability.md +9 -9
- package/dist/instructions/booking.md +33 -33
- package/dist/instructions/contact.md +34 -16
- package/dist/instructions/creation.md +48 -48
- package/dist/instructions/document-structured-json.md +100 -0
- package/dist/instructions/filter.md +5 -3
- package/dist/instructions/quote.md +72 -48
- package/dist/instructions/rentals.md +3 -3
- package/dist/instructions/search.md +36 -31
- package/dist/instructions/versions/2.0.0/MIGRATION.md +17 -17
- package/dist/instructions/versions/2.1.0/CHANGELOG.md +32 -0
- package/dist/instructions/versions/2.1.0/MIGRATION.md +89 -0
- package/dist/{quote-1uEIO44v.mjs → quote--25SMlYS.mjs} +27 -4
- package/dist/{rentals-Quwc78o2.mjs → rentals-DCKUaLnB.mjs} +1 -1
- package/dist/{search-GRQeXDvo.mjs → search-8iCC0Nel.mjs} +2 -2
- package/dist/{to-rental-highlights-FNZBR4aD.mjs → to-rental-highlights-CZYJeR1D.mjs} +12 -12
- package/dist/translations/shared/de-DE/contact.json +19 -0
- package/dist/translations/shared/de-DE/quote.json +5 -1
- package/dist/translations/shared/en-US/contact.json +19 -0
- package/dist/translations/shared/en-US/quote.json +5 -1
- package/dist/translations/v10/de-DE/mapped-search-filters.json +3 -0
- package/dist/translations/v10/en-US/mapped-search-filters.json +3 -0
- package/instructions/CHANGELOG.md +1 -0
- package/instructions/MIGRATION.md +1 -0
- package/instructions/README.md +14 -12
- package/instructions/availability.md +9 -9
- package/instructions/booking.md +33 -33
- package/instructions/contact.md +34 -16
- package/instructions/creation.md +48 -48
- package/instructions/document-structured-json.md +100 -0
- package/instructions/filter.md +5 -3
- package/instructions/quote.md +72 -48
- package/instructions/rentals.md +3 -3
- package/instructions/search.md +36 -31
- package/instructions/versions/2.0.0/MIGRATION.md +17 -17
- package/instructions/versions/2.1.0/CHANGELOG.md +32 -0
- package/instructions/versions/2.1.0/MIGRATION.md +89 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Website-facing SDK facade for vOffice backends.
|
|
4
4
|
|
|
5
|
-
Version 2.
|
|
5
|
+
Version 2.1.0 extends the 2.0.0 website SDK facade with v10 documents, contact validation/submission, voucher-aware search and quote output, and improved quote option availability.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -19,27 +19,27 @@ The package is ESM-only and exposes:
|
|
|
19
19
|
## Create a SDK
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { createWebsiteSDK, defineWebsiteSDKOptions } from
|
|
22
|
+
import { createWebsiteSDK, defineWebsiteSDKOptions } from "@v-office/website-sdk";
|
|
23
23
|
|
|
24
24
|
const sdk = createWebsiteSDK({
|
|
25
25
|
config: {
|
|
26
|
-
backend:
|
|
27
|
-
apiEndpoint:
|
|
28
|
-
accessToken:
|
|
29
|
-
imageBaseUrl:
|
|
26
|
+
backend: "v10",
|
|
27
|
+
apiEndpoint: "https://api.example.com/graphql",
|
|
28
|
+
accessToken: "...",
|
|
29
|
+
imageBaseUrl: "https://images.example.com",
|
|
30
30
|
},
|
|
31
31
|
options: defineWebsiteSDKOptions({
|
|
32
32
|
rentalScope: {
|
|
33
|
-
propertyId:
|
|
33
|
+
propertyId: "property-1",
|
|
34
34
|
},
|
|
35
35
|
}),
|
|
36
|
-
})
|
|
36
|
+
});
|
|
37
37
|
|
|
38
38
|
try {
|
|
39
|
-
const rentals = await sdk.static.rentals.getRentals({ locale:
|
|
40
|
-
console.log(rentals)
|
|
39
|
+
const rentals = await sdk.static.rentals.getRentals({ locale: "de-DE" });
|
|
40
|
+
console.log(rentals);
|
|
41
41
|
} finally {
|
|
42
|
-
await sdk.dispose()
|
|
42
|
+
await sdk.dispose();
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -48,14 +48,14 @@ For v9:
|
|
|
48
48
|
```ts
|
|
49
49
|
const sdk = createWebsiteSDK({
|
|
50
50
|
config: {
|
|
51
|
-
backend:
|
|
52
|
-
graphqlUrl:
|
|
53
|
-
apiKey:
|
|
54
|
-
imageProxyBaseUrl:
|
|
55
|
-
v1ApiBaseUrl:
|
|
56
|
-
v0ApiBaseUrl:
|
|
51
|
+
backend: "v9",
|
|
52
|
+
graphqlUrl: "https://example.com/graphql",
|
|
53
|
+
apiKey: "...",
|
|
54
|
+
imageProxyBaseUrl: "https://images.example.com",
|
|
55
|
+
v1ApiBaseUrl: "https://example.com/api/v1",
|
|
56
|
+
v0ApiBaseUrl: "https://example.com/api/v0",
|
|
57
57
|
},
|
|
58
|
-
})
|
|
58
|
+
});
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## SDK Surface
|
|
@@ -63,17 +63,19 @@ const sdk = createWebsiteSDK({
|
|
|
63
63
|
The facade exposes Promise-based static and live APIs:
|
|
64
64
|
|
|
65
65
|
```ts
|
|
66
|
-
sdk.static.rentals.getRentals(input)
|
|
67
|
-
sdk.static.filter.getFilters(input)
|
|
68
|
-
|
|
69
|
-
sdk.
|
|
70
|
-
|
|
71
|
-
sdk.live.
|
|
72
|
-
sdk.live.
|
|
73
|
-
sdk.live.
|
|
74
|
-
sdk.live.
|
|
75
|
-
|
|
76
|
-
|
|
66
|
+
sdk.static.rentals.getRentals(input);
|
|
67
|
+
sdk.static.filter.getFilters(input);
|
|
68
|
+
// v10 only:
|
|
69
|
+
sdk.static.documents.getTermsAndPrivacyPolicy(input);
|
|
70
|
+
|
|
71
|
+
sdk.live.search.search(input);
|
|
72
|
+
sdk.live.availability.getInitialAvailability(input);
|
|
73
|
+
sdk.live.availability.getStartDateSelectedAvailability(input);
|
|
74
|
+
sdk.live.quote.quote(input);
|
|
75
|
+
sdk.live.booking.book(input);
|
|
76
|
+
sdk.live.contact.submit(input);
|
|
77
|
+
|
|
78
|
+
await sdk.dispose();
|
|
77
79
|
```
|
|
78
80
|
|
|
79
81
|
Quote mutation helpers are available under `sdk.live.quote`:
|
|
@@ -117,7 +119,7 @@ For v9, environment configuration uses:
|
|
|
117
119
|
|
|
118
120
|
## Migration From Legacy
|
|
119
121
|
|
|
120
|
-
|
|
122
|
+
The 2.0.0 line was the breaking migration from the legacy SDK API. If you are still migrating from legacy, the largest changes are:
|
|
121
123
|
|
|
122
124
|
- `createCMSSDKFromParsedConfig(...)` was replaced by `createWebsiteSDK({ config, options })`.
|
|
123
125
|
- Config moved from nested `{ backend, v9: {...} }` / `{ backend, v10: {...} }` objects to flat `WebsiteSDKConfig` objects.
|
|
@@ -125,4 +127,4 @@ This is a breaking release for consumers migrating from the legacy SDK API. The
|
|
|
125
127
|
- The error model now comes from `@v-office/sdk-core`.
|
|
126
128
|
- CLI config JSON uses the new flat config shape.
|
|
127
129
|
|
|
128
|
-
See `instructions/` for the full consumer documentation. Version-specific release notes and migration details live under `instructions/versions
|
|
130
|
+
See `instructions/` for the full consumer documentation. Version-specific release notes and migration details live under `instructions/versions/`, with indexes at `instructions/CHANGELOG.md` and `instructions/MIGRATION.md`.
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Pt as defineWebsiteSDKOptions, t as createWebsiteSDK } from "./client-xkXV7Nf-.mjs";
|
|
3
3
|
import { Console, Effect, FileSystem, Layer, Option, Path, Stdio, Terminal } from "effect";
|
|
4
4
|
import { Command, Flag } from "effect/unstable/cli";
|
|
5
5
|
import { inspect } from "node:util";
|
|
@@ -230,13 +230,15 @@ const staticCommands = [
|
|
|
230
230
|
query: Flag.string("query").pipe(Flag.withDescription("Search query string, for example \"city=munich&adults=2\".")),
|
|
231
231
|
limit: Flag.integer("limit").pipe(Flag.optional, Flag.withDescription("Optional positive result limit.")),
|
|
232
232
|
cursor: Flag.string("cursor").pipe(Flag.optional, Flag.withDescription("Optional pagination cursor.")),
|
|
233
|
-
rentalIdsIn: Flag.string("rental-ids-in").pipe(Flag.optional, Flag.withDescription("Optional comma-separated rental IDs to restrict v10 search results."))
|
|
234
|
-
|
|
233
|
+
rentalIdsIn: Flag.string("rental-ids-in").pipe(Flag.optional, Flag.withDescription("Optional comma-separated rental IDs to restrict v10 search results.")),
|
|
234
|
+
voucher: Flag.string("voucher").pipe(Flag.optional, Flag.withDescription("Optional voucher code for v10 search pricing."))
|
|
235
|
+
}, ({ locale, query, limit, cursor, rentalIdsIn, voucher }) => websiteSdkCommand.pipe(Effect.flatMap((root) => {
|
|
235
236
|
const parsedRentalIdsIn = Option.isSome(rentalIdsIn) ? rentalIdsIn.value.split(",").map((rentalId) => rentalId.trim()).filter((rentalId) => rentalId.length > 0) : [];
|
|
236
237
|
const input = {
|
|
237
238
|
locale,
|
|
238
239
|
query,
|
|
239
240
|
...parsedRentalIdsIn.length > 0 ? { rentalIdsIn: parsedRentalIdsIn } : {},
|
|
241
|
+
...Option.isSome(voucher) ? { voucher: voucher.value } : {},
|
|
240
242
|
...Option.isSome(limit) ? { limit: limit.value } : {},
|
|
241
243
|
...Option.isSome(cursor) ? { cursor: cursor.value } : {}
|
|
242
244
|
};
|
|
@@ -254,7 +256,7 @@ const cliCommand = websiteSdkCommand.pipe(Command.withSubcommands([
|
|
|
254
256
|
availabilityCommand,
|
|
255
257
|
...liveCommands
|
|
256
258
|
]));
|
|
257
|
-
const runCLI = Command.run(cliCommand, { version: "2.
|
|
259
|
+
const runCLI = Command.run(cliCommand, { version: "2.1.0" });
|
|
258
260
|
//#endregion
|
|
259
261
|
//#region src/cli/node-services.ts
|
|
260
262
|
const unsupported = (operation) => Effect.die(`Unsupported CLI platform operation: ${operation}`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AvailabilityService, BookingService, ContactService, CoreSDKError, DEFAULT_RENTAL_HIGHLIGHT_PRIORITIZATION, DEFAULT_RENTAL_PROPERTY_HIGHLIGHT_PRIORITIZATION, FilterService, QuoteService, RentalService, SearchService, TranslationService, addGuestQuoteAdditionalServiceSelection, asArray, asRecord, clearGuestQuoteAdditionalServiceSelections, createCoreRuntime, firstNumber, firstString, formatCurrency, formatLocalDate, getGuestQuoteBackendContext, getGuestQuoteInput, isCustomAttributeDefinition, localeToLanguage, makeMinIntervalLimiter, makeTranslationLive, refreshGuestQuoteInsurancePassthrough, removeGuestQuoteAdditionalServiceSelection, selectGuestQuoteCancellationPolicySelection, toCustomAttributeFilterOutputItem, toInitialAvailabilityCalendarDays, toStartDateSelectedCalendarDays, withGuestQuoteInsurance, withGuestQuoteInsuranceRefresh } from "@v-office/sdk-core";
|
|
1
|
+
import { AvailabilityService, BookingService, ContactService, CoreSDKError, DEFAULT_RENTAL_HIGHLIGHT_PRIORITIZATION, DEFAULT_RENTAL_PROPERTY_HIGHLIGHT_PRIORITIZATION, DocumentsService, FilterService, QuoteService, RentalService, SearchService, TranslationService, addGuestQuoteAdditionalServiceSelection, asArray, asRecord, clearGuestQuoteAdditionalServiceSelections, createCoreRuntime, firstNumber, firstString, formatCurrency, formatLocalDate, getGuestQuoteBackendContext, getGuestQuoteInput, isCustomAttributeDefinition, localeToLanguage, makeMinIntervalLimiter, makeTranslationLive, refreshGuestQuoteInsurancePassthrough, removeGuestQuoteAdditionalServiceSelection, selectGuestQuoteCancellationPolicySelection, toCustomAttributeFilterOutputItem, toInitialAvailabilityCalendarDays, toStartDateSelectedCalendarDays, validateContactSubmitInput, withGuestQuoteInsurance, withGuestQuoteInsuranceRefresh } from "@v-office/sdk-core";
|
|
2
2
|
import { Context, Data, DateTime, Effect, Layer, Schema } from "effect";
|
|
3
3
|
import { FetchHttpClient, HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
4
4
|
import { print } from "graphql";
|
|
@@ -90,6 +90,9 @@ const getRentalsEffect = (input) => Effect.gen(function* () {
|
|
|
90
90
|
const getFiltersEffect = (input) => Effect.gen(function* () {
|
|
91
91
|
return yield* (yield* FilterService).getFilters(input);
|
|
92
92
|
});
|
|
93
|
+
const getTermsAndPrivacyPolicyEffect = (input) => Effect.gen(function* () {
|
|
94
|
+
return yield* (yield* DocumentsService).getTermsAndPrivacyPolicy(input);
|
|
95
|
+
});
|
|
93
96
|
const searchEffect = (input) => Effect.gen(function* () {
|
|
94
97
|
return yield* (yield* SearchService).search(input);
|
|
95
98
|
});
|
|
@@ -935,7 +938,8 @@ const decodeV1OperationResponse = (operationId, raw) => {
|
|
|
935
938
|
};
|
|
936
939
|
//#endregion
|
|
937
940
|
//#region src/legacy-v9/openapi/v1-client.ts
|
|
938
|
-
|
|
941
|
+
const V1OpenApiClientErrorBase = Data.TaggedError("V1OpenApiClientError");
|
|
942
|
+
var V1OpenApiClientError = class extends V1OpenApiClientErrorBase {};
|
|
939
943
|
const trimTrailingSlash$1 = (value) => value.replace(/\/+$/, "");
|
|
940
944
|
const replacePathParameters$1 = (path, parameters, operationId) => path.replace(/\{([^}]+)\}/g, (_, rawName) => {
|
|
941
945
|
const value = parameters?.[rawName];
|
|
@@ -3108,7 +3112,8 @@ const decodeV0OperationResponse = (operationId, raw) => {
|
|
|
3108
3112
|
};
|
|
3109
3113
|
//#endregion
|
|
3110
3114
|
//#region src/legacy-v9/openapi/v0-client.ts
|
|
3111
|
-
|
|
3115
|
+
const V0OpenApiClientErrorBase = Data.TaggedError("V0OpenApiClientError");
|
|
3116
|
+
var V0OpenApiClientError = class extends V0OpenApiClientErrorBase {};
|
|
3112
3117
|
const trimTrailingSlash = (value) => value.replace(/\/+$/, "");
|
|
3113
3118
|
const replacePathParameters = (path, parameters, operationId) => path.replace(/\{([^}]+)\}/g, (_, rawName) => {
|
|
3114
3119
|
const value = parameters?.[rawName];
|
|
@@ -3924,7 +3929,7 @@ const makeV9BookingApi = ({ config, options }) => {
|
|
|
3924
3929
|
//#region src/legacy-v9/parser/contact/to-contact-input.ts
|
|
3925
3930
|
const toContactInput = ({ input }) => {
|
|
3926
3931
|
return Effect.succeed({
|
|
3927
|
-
subject:
|
|
3932
|
+
subject: input.subject,
|
|
3928
3933
|
form: {
|
|
3929
3934
|
Anrede: input.title,
|
|
3930
3935
|
professionalTitle: input.professionalTitle,
|
|
@@ -3935,8 +3940,8 @@ const toContactInput = ({ input }) => {
|
|
|
3935
3940
|
city: input.address.city,
|
|
3936
3941
|
countryCode: input.address.countryCode,
|
|
3937
3942
|
email: input.email,
|
|
3938
|
-
|
|
3939
|
-
subject:
|
|
3943
|
+
mobile: input.phone,
|
|
3944
|
+
subject: input.subject,
|
|
3940
3945
|
message: input.message
|
|
3941
3946
|
},
|
|
3942
3947
|
labels: {
|
|
@@ -3976,7 +3981,7 @@ const submit = ({ client, input }) => Effect.gen(function* () {
|
|
|
3976
3981
|
const result = yield* client.execute("proxyVofficeAction", { query: {
|
|
3977
3982
|
actionName: "saveMessage",
|
|
3978
3983
|
data: JSON.stringify(contactInput),
|
|
3979
|
-
lang: "de"
|
|
3984
|
+
lang: localeToLanguage(input.locale ?? "de-DE")
|
|
3980
3985
|
} }).pipe(Effect.mapError((cause) => new CoreSDKError({
|
|
3981
3986
|
source: "v10",
|
|
3982
3987
|
operation: "v9.contact",
|
|
@@ -3990,7 +3995,7 @@ const submit = ({ client, input }) => Effect.gen(function* () {
|
|
|
3990
3995
|
cause: result.raw
|
|
3991
3996
|
}));
|
|
3992
3997
|
});
|
|
3993
|
-
const makeV9ContactApi = ({ config }) => {
|
|
3998
|
+
const makeV9ContactApi = ({ config, options }) => {
|
|
3994
3999
|
const openApiClientLive = makeV0OpenApiClientFetchLive({
|
|
3995
4000
|
apiKey: config.apiKey,
|
|
3996
4001
|
...config.v0ApiBaseUrl === void 0 ? {} : { baseUrl: config.v0ApiBaseUrl }
|
|
@@ -4004,7 +4009,12 @@ const makeV9ContactApi = ({ config }) => {
|
|
|
4004
4009
|
message: `v9 contact rate limit queue is full (${maxQueueSize} total request(s)).`
|
|
4005
4010
|
})
|
|
4006
4011
|
}));
|
|
4012
|
+
const translations = makeV9TranslationService(options.translationOverrides);
|
|
4007
4013
|
return { submit: (input) => Effect.runPromise(Effect.gen(function* () {
|
|
4014
|
+
yield* validateContactSubmitInput({
|
|
4015
|
+
input,
|
|
4016
|
+
translations
|
|
4017
|
+
});
|
|
4008
4018
|
return yield* limitContact(submit({
|
|
4009
4019
|
client: yield* V0OpenApiClient,
|
|
4010
4020
|
input
|
|
@@ -4387,7 +4397,7 @@ const bookV9Insurance = ({ quote, bookingNumber, guestToken, v1Client }) => Effe
|
|
|
4387
4397
|
//#region src/legacy-v9/live/quote.ts
|
|
4388
4398
|
const loadQuoteRuntime = Effect.tryPromise({
|
|
4389
4399
|
try: async () => {
|
|
4390
|
-
return { toGuestQuote: (await import("./quote
|
|
4400
|
+
return { toGuestQuote: (await import("./quote--25SMlYS.mjs")).toGuestQuote };
|
|
4391
4401
|
},
|
|
4392
4402
|
catch: (cause) => new CoreSDKError({
|
|
4393
4403
|
source: "v10",
|
|
@@ -4625,7 +4635,7 @@ const parseV9SearchCursor = (cursor) => Effect.gen(function* () {
|
|
|
4625
4635
|
return page;
|
|
4626
4636
|
});
|
|
4627
4637
|
const loadV9SearchRuntime = Effect.tryPromise({
|
|
4628
|
-
try: () => import("./search-
|
|
4638
|
+
try: () => import("./search-8iCC0Nel.mjs"),
|
|
4629
4639
|
catch: (cause) => new CoreSDKError({
|
|
4630
4640
|
source: "v10",
|
|
4631
4641
|
operation: "v9.search.runtime",
|
|
@@ -4967,7 +4977,7 @@ const DEFAULT_RENTAL_FEEDBACK_DATA_ATTRIBUTES = [
|
|
|
4967
4977
|
"avgRating"
|
|
4968
4978
|
];
|
|
4969
4979
|
const loadV9RentalsRuntime = Effect.tryPromise({
|
|
4970
|
-
try: () => import("./rentals-
|
|
4980
|
+
try: () => import("./rentals-DCKUaLnB.mjs"),
|
|
4971
4981
|
catch: (cause) => new CoreSDKError({
|
|
4972
4982
|
source: "v10",
|
|
4973
4983
|
operation: "v9.rentals.runtime",
|
|
@@ -5016,7 +5026,7 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
5016
5026
|
};
|
|
5017
5027
|
//#endregion
|
|
5018
5028
|
//#region src/client.ts
|
|
5019
|
-
|
|
5029
|
+
function createWebsiteSDK({ config, options }) {
|
|
5020
5030
|
const normalizedOptions = normalizeWebsiteSDKOptions(options);
|
|
5021
5031
|
if (config.backend === "v9") {
|
|
5022
5032
|
const rentals = makeV9RentalsApi({
|
|
@@ -5040,8 +5050,12 @@ const createWebsiteSDK = ({ config, options }) => {
|
|
|
5040
5050
|
config,
|
|
5041
5051
|
options: toV9Options(normalizedOptions)
|
|
5042
5052
|
});
|
|
5043
|
-
const contact = makeV9ContactApi({
|
|
5053
|
+
const contact = makeV9ContactApi({
|
|
5054
|
+
config,
|
|
5055
|
+
options: toV9Options(normalizedOptions)
|
|
5056
|
+
});
|
|
5044
5057
|
return {
|
|
5058
|
+
backend: "v9",
|
|
5045
5059
|
static: {
|
|
5046
5060
|
rentals,
|
|
5047
5061
|
filter: { getFilters: filter.getFilters }
|
|
@@ -5077,9 +5091,11 @@ const createWebsiteSDK = ({ config, options }) => {
|
|
|
5077
5091
|
options: normalizedOptions
|
|
5078
5092
|
});
|
|
5079
5093
|
return {
|
|
5094
|
+
backend: "v10",
|
|
5080
5095
|
static: {
|
|
5081
5096
|
rentals: { getRentals: (input) => runtime.runPromise(getRentalsEffect(input)) },
|
|
5082
|
-
filter: { getFilters: (input) => runtime.runPromise(getFiltersEffect(input)) }
|
|
5097
|
+
filter: { getFilters: (input) => runtime.runPromise(getFiltersEffect(input)) },
|
|
5098
|
+
documents: { getTermsAndPrivacyPolicy: (input) => runtime.runPromise(getTermsAndPrivacyPolicyEffect(input)) }
|
|
5083
5099
|
},
|
|
5084
5100
|
live: {
|
|
5085
5101
|
contact: { submit: (input) => runtime.runPromise(submitContactEffect(input)) },
|
|
@@ -5106,6 +5122,6 @@ const createWebsiteSDK = ({ config, options }) => {
|
|
|
5106
5122
|
},
|
|
5107
5123
|
dispose: () => runtime.dispose()
|
|
5108
5124
|
};
|
|
5109
|
-
}
|
|
5125
|
+
}
|
|
5110
5126
|
//#endregion
|
|
5111
|
-
export { SetupResponseSchema as $, ErgoPolicyNumberRequestSchema as A,
|
|
5127
|
+
export { SetupResponseSchema as $, ErgoPolicyNumberRequestSchema as A, selectInsurancePaymentEffect as At, QuotePricesResponseSchema$1 as B, ErgoAddressSchema as C, getStartDateSelectedAvailabilityEffect as Ct, ErgoCreatePreContractRequestSchema as D, searchEffect as Dt, ErgoCommonFieldsSchema as E, removeAdditionalServiceEffect as Et, OnOfficeUnitSchema as F, RegionListResponseSchema as G, QuoteServiceSchema as H, PaymentScheduleItemSchema as I, ServiceBeonDataSchema as J, RoomImageSchema as K, PaymentScheduleSchema$1 as L, ErgoTripAndCustomerRequestSchema as M, submitPaymentOption as Mt, FacilityListResponseSchema as N, submitPaymentOptionEffect as Nt, ErgoPersonSchema as O, selectCancellationPolicyEffect as Ot, OnOfficeUnitCollectionResponseSchema as P, defineWebsiteSDKOptions as Pt, SetupDataSchema as Q, QuoteLineSchema$1 as R, DocumentTypeSchema as S, getRentalsEffect as St, ErgoBookRequestSchema as T, quoteEffect as Tt, RawObjectResponseSchema as U, QuoteSchema as V, RawVofficeObjectSchema as W, ServiceLimitSchema as X, ServiceImageSchema as Y, ServiceListResponseSchema as Z, DocumentResourceResponseSchema as _, bookInsuranceEffect as _t, makeV0OpenApiClientFetchLive as a, UnitIdsResponseSchema as at, DocumentStatusUpdateRequestSchema as b, getFiltersEffect as bt, V1OpenApiClientError as c, UnitOfferSchema as ct, ApiEnvelopeBaseSchema as d, V1_BASE_URL as dt, TileCollectionResponseSchema as et, CalendarDaySchema as f, V1_OPERATIONS as ft, DocumentCollectionResponseSchema as g, bookEffect as gt, CustomerUnitSummarySchema as h, addAdditionalServiceEffect as ht, V0OpenApiClientError as i, TravelInsuranceBookingStoreRequestSchema as it, ErgoReadPreContractRequestSchema as j, submitContactEffect as jt, ErgoPlanSearchRequestSchema as k, selectInsuranceEffect as kt, makeV1OpenApiClientFetchLive as l, UnitResponseSchema as lt, CurrentMemberResponseSchema as m, decodeV1OperationResponse as mt, stable_filters_default as n, TileTagSchema as nt, makeV0OpenApiClientLive as o, UnitListItemSchema as ot, CalendarResponseSchema$1 as p, VideoResponseSchema as pt, SearchPropertiesResponseSchema as q, V0OpenApiClient as r, TravelInsuranceBookingSchema as rt, V1OpenApiClient as s, UnitListResponseSchema as st, createWebsiteSDK as t, TileSchema as tt, makeV1OpenApiClientLive as u, UnitServicePriceSchema as ut, DocumentResourceSchema as v, clearAdditionalServicesEffect as vt, ErgoBankSchema as w, getTermsAndPrivacyPolicyEffect as wt, DocumentSummarySchema as x, getInitialAvailabilityEffect as xt, DocumentStatusSchema as y, createInsurancePreContractEffect as yt, QuotePricesPayloadSchema as z };
|