@v-office/website-sdk 2.18.1 → 2.19.0
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/dist/cli.mjs +24 -24
- package/dist/index.d.mts +176 -176
- package/dist/instructions/CHANGELOG.md +2 -0
- package/dist/instructions/MIGRATION.md +2 -0
- package/dist/instructions/versions/2.18.2/CHANGELOG.md +16 -0
- package/dist/instructions/versions/2.18.2/MIGRATION.md +12 -0
- package/dist/instructions/versions/2.19.0/CHANGELOG.md +18 -0
- package/dist/instructions/versions/2.19.0/MIGRATION.md +22 -0
- package/instructions/CHANGELOG.md +2 -0
- package/instructions/MIGRATION.md +2 -0
- package/instructions/versions/2.18.2/CHANGELOG.md +16 -0
- package/instructions/versions/2.18.2/MIGRATION.md +12 -0
- package/instructions/versions/2.18.2/release.json +3 -0
- package/instructions/versions/2.19.0/CHANGELOG.md +18 -0
- package/instructions/versions/2.19.0/MIGRATION.md +22 -0
- package/instructions/versions/2.19.0/release.json +3 -0
- package/package.json +13 -13
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Vt as defineV9PropertyHighlightSourcesFromUnknown, t as createWebsiteSDK, zt as defineWebsiteSDKOptions } from "./client-BnA0oXd_.mjs";
|
|
3
3
|
import { SearchSearchSortSchema, defineCustomAttributesFromUnknown } from "@v-office/sdk-core";
|
|
4
|
-
import { Console, Effect, FileSystem, Layer, Option, Path, Schema, Stdio, Terminal } from "effect";
|
|
4
|
+
import { ByteSize, Console, Effect, FileSystem, Layer, Option, Path, Schema, Stdio, Terminal } from "effect";
|
|
5
5
|
import { Command, Flag } from "effect/unstable/cli";
|
|
6
6
|
import { inspect } from "node:util";
|
|
7
7
|
import { ChildProcessSpawner } from "effect/unstable/process";
|
|
@@ -16,7 +16,7 @@ var CLICheckFailed = class extends Error {
|
|
|
16
16
|
const toCLIError = (message, cause) => cause instanceof Error ? new CLICheckFailed(`${message}: ${cause.message}`, { cause }) : new CLICheckFailed(message, { cause });
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region package.json
|
|
19
|
-
var version = "2.
|
|
19
|
+
var version = "2.19.0";
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/cli/output.ts
|
|
22
22
|
const toJson = (value) => Effect.try({
|
|
@@ -35,15 +35,15 @@ const printOutput = (root, value) => {
|
|
|
35
35
|
const printSuccess = (root) => printOutput(root, { ok: true });
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/cli/root.ts
|
|
38
|
-
const backendFlag = Flag.
|
|
39
|
-
const localeFlag = Flag.
|
|
40
|
-
const inputFileFlag = Flag.
|
|
41
|
-
const confirmFlag = Flag.
|
|
38
|
+
const backendFlag = Flag.Literals("backend", ["v9", "v10"]).pipe(Flag.withDescription("Backend to use for this command."));
|
|
39
|
+
const localeFlag = Flag.Literals("locale", ["de-DE", "en-US"]).pipe(Flag.withDescription("Locale used for localized SDK calls."), Flag.withDefault("de-DE"));
|
|
40
|
+
const inputFileFlag = Flag.File("input", { mustExist: true }).pipe(Flag.withDescription("Path to a JSON input file."));
|
|
41
|
+
const confirmFlag = Flag.Boolean("yes").pipe(Flag.withDescription("Confirm execution of commands that submit or mutate backend state."));
|
|
42
42
|
const websiteSdkCommand = Command.make("website-sdk").pipe(Command.withDescription("Run @v-office/website-sdk operations from the command line."), Command.withSharedFlags({
|
|
43
43
|
backend: backendFlag,
|
|
44
|
-
config: Flag.
|
|
45
|
-
options: Flag.
|
|
46
|
-
output: Flag.
|
|
44
|
+
config: Flag.File("config", { mustExist: true }).pipe(Flag.optional, Flag.withDescription("Path to a JSON WebsiteSDKConfig file. Defaults to environment variables.")),
|
|
45
|
+
options: Flag.File("options", { mustExist: true }).pipe(Flag.optional, Flag.withDescription("Path to a JSON WebsiteSDKOptions file.")),
|
|
46
|
+
output: Flag.Literals("output", ["json", "pretty"]).pipe(Flag.withDescription("Output format."), Flag.withDefault("json"))
|
|
47
47
|
}));
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/cli/json.ts
|
|
@@ -172,9 +172,9 @@ const withSDK = (root, run) => Effect.gen(function* () {
|
|
|
172
172
|
});
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region src/cli/commands/availability.ts
|
|
175
|
-
const rentalIdFlag = Flag.
|
|
176
|
-
const calculateFromDateFlag = Flag.
|
|
177
|
-
const calculateThroughDateFlag = Flag.
|
|
175
|
+
const rentalIdFlag = Flag.String("rental-id").pipe(Flag.withDescription("Backend rental identifier."));
|
|
176
|
+
const calculateFromDateFlag = Flag.String("calculate-from-date").pipe(Flag.withDescription("First local date to calculate, formatted as YYYY-MM-DD."));
|
|
177
|
+
const calculateThroughDateFlag = Flag.String("calculate-through-date").pipe(Flag.withDescription("Last local date to calculate, formatted as YYYY-MM-DD."));
|
|
178
178
|
const initial = Command.make("initial", {
|
|
179
179
|
locale: localeFlag,
|
|
180
180
|
rentalId: rentalIdFlag,
|
|
@@ -187,7 +187,7 @@ const initial = Command.make("initial", {
|
|
|
187
187
|
const startDateSelected = Command.make("start-date-selected", {
|
|
188
188
|
locale: localeFlag,
|
|
189
189
|
rentalId: rentalIdFlag,
|
|
190
|
-
selectedStartDate: Flag.
|
|
190
|
+
selectedStartDate: Flag.String("selected-start-date").pipe(Flag.withDescription("Selected start date, formatted as YYYY-MM-DD.")),
|
|
191
191
|
calculateFromDate: calculateFromDateFlag,
|
|
192
192
|
calculateThroughDate: calculateThroughDateFlag
|
|
193
193
|
}, (input) => websiteSdkCommand.pipe(Effect.flatMap((root) => withSDK(root, (sdk) => sdk.live.availability.getStartDateSelectedAvailability(input)).pipe(Effect.flatMap((result) => printOutput(root, result)))))).pipe(Command.withDescription("Fetch availability after selecting a start date."), Command.withExamples([{
|
|
@@ -229,9 +229,9 @@ const configCommand = Command.make("config").pipe(Command.withDescription("Inspe
|
|
|
229
229
|
const requireConfirmation = (root, confirmed, commandName) => confirmed ? Effect.void : Effect.fail(new CLICheckFailed(`${commandName} can submit data to the configured backend. Re-run with --yes to confirm.`));
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/cli/commands/live.ts
|
|
232
|
-
const quoteInputFileFlag = Flag.
|
|
233
|
-
const contactInputFileFlag = Flag.
|
|
234
|
-
const relativeRedirectUrlFlag = Flag.
|
|
232
|
+
const quoteInputFileFlag = Flag.File("quote-input", { mustExist: true }).pipe(Flag.withDescription("Path to a JSON QuoteQuoteInput file."));
|
|
233
|
+
const contactInputFileFlag = Flag.File("contact-input", { mustExist: true }).pipe(Flag.withDescription("Path to a JSON BookingContact file."));
|
|
234
|
+
const relativeRedirectUrlFlag = Flag.String("relative-redirect-url").pipe(Flag.withDescription("Redirect URL passed to booking payment initialization."));
|
|
235
235
|
const quote = Command.make("quote", { input: inputFileFlag }, ({ input }) => websiteSdkCommand.pipe(Effect.flatMap((root) => readJsonFile(input, "quote input").pipe(Effect.flatMap((quoteInput) => withSDK(root, (sdk) => sdk.live.quote.quote(quoteInput))), Effect.flatMap((result) => printOutput(root, result)))))).pipe(Command.withDescription("Create a live guest quote from a JSON QuoteQuoteInput file."), Command.withExamples([{
|
|
236
236
|
command: "website-sdk --backend v10 quote --input ./quote-input.json",
|
|
237
237
|
description: "Create a quote using a reusable JSON fixture."
|
|
@@ -289,12 +289,12 @@ const staticCommands = [
|
|
|
289
289
|
}])),
|
|
290
290
|
Command.make("search", {
|
|
291
291
|
locale: localeFlag,
|
|
292
|
-
query: Flag.
|
|
293
|
-
limit: Flag.
|
|
294
|
-
cursor: Flag.
|
|
295
|
-
rentalIdsIn: Flag.
|
|
296
|
-
voucher: Flag.
|
|
297
|
-
sort: Flag.
|
|
292
|
+
query: Flag.String("query").pipe(Flag.withDescription("Search query string, for example \"city=munich&adults=2\".")),
|
|
293
|
+
limit: Flag.Int("limit").pipe(Flag.optional, Flag.withDescription("Optional positive result limit.")),
|
|
294
|
+
cursor: Flag.String("cursor").pipe(Flag.optional, Flag.withDescription("Optional pagination cursor.")),
|
|
295
|
+
rentalIdsIn: Flag.String("rental-ids-in").pipe(Flag.optional, Flag.withDescription("Optional comma-separated rental IDs to restrict v10 search results.")),
|
|
296
|
+
voucher: Flag.String("voucher").pipe(Flag.optional, Flag.withDescription("Optional voucher code for v10 search pricing.")),
|
|
297
|
+
sort: Flag.String("sort").pipe(Flag.optional, Flag.withDescription("Optional SearchSearchSort JSON, for example '{\"by\":\"price\",\"direction\":\"ASC\"}'."))
|
|
298
298
|
}, ({ locale, query, limit, cursor, rentalIdsIn, voucher, sort }) => websiteSdkCommand.pipe(Effect.flatMap((root) => {
|
|
299
299
|
return Effect.gen(function* () {
|
|
300
300
|
const parsedRentalIdsIn = Option.isSome(rentalIdsIn) ? rentalIdsIn.value.split(",").map((rentalId) => rentalId.trim()).filter((rentalId) => rentalId.length > 0) : [];
|
|
@@ -390,8 +390,8 @@ const FileSystemLive = Layer.succeed(FileSystem.FileSystem, {
|
|
|
390
390
|
uid: Option.some(stats.uid),
|
|
391
391
|
gid: Option.some(stats.gid),
|
|
392
392
|
rdev: Option.some(stats.rdev),
|
|
393
|
-
size:
|
|
394
|
-
blksize: Option.some(
|
|
393
|
+
size: ByteSize.bytes(stats.size),
|
|
394
|
+
blksize: Option.some(ByteSize.bytes(stats.blksize)),
|
|
395
395
|
blocks: Option.some(stats.blocks)
|
|
396
396
|
};
|
|
397
397
|
},
|
package/dist/index.d.mts
CHANGED
|
@@ -15,8 +15,8 @@ type V9PropertyHighlightSourceRegistry<Key extends string = string> = {
|
|
|
15
15
|
readonly byKey: Readonly<Record<Key, ResolvedV9PropertyHighlightSource<Key>>>;
|
|
16
16
|
readonly keys: Readonly<Record<Key, Key>>;
|
|
17
17
|
};
|
|
18
|
-
declare const defineV9PropertyHighlightSources: <const Sources extends V9PropertyHighlightSourcesInput>(sources: Sources) => V9PropertyHighlightSourceRegistry<keyof Sources & string>;
|
|
19
|
-
declare const defineV9PropertyHighlightSourcesFromUnknown: (input: unknown) => V9PropertyHighlightSourceRegistry;
|
|
18
|
+
export declare const defineV9PropertyHighlightSources: <const Sources extends V9PropertyHighlightSourcesInput>(sources: Sources) => V9PropertyHighlightSourceRegistry<keyof Sources & string>;
|
|
19
|
+
export declare const defineV9PropertyHighlightSourcesFromUnknown: (input: unknown) => V9PropertyHighlightSourceRegistry;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/legacy-v9/config.d.ts
|
|
22
22
|
type WebsiteV9Config = {
|
|
@@ -67,7 +67,7 @@ type WebsiteSDKOptions = {
|
|
|
67
67
|
readonly rentalScope?: RentalScope;
|
|
68
68
|
readonly shouldAddProposedAdditionalServiceAmount?: boolean;
|
|
69
69
|
};
|
|
70
|
-
declare const defineWebsiteSDKOptions: <Options extends WebsiteSDKOptions>(options: Options) => Options;
|
|
70
|
+
export declare const defineWebsiteSDKOptions: <Options extends WebsiteSDKOptions>(options: Options) => Options;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/legacy-v9/search-input.d.ts
|
|
73
73
|
type V9SearchSearchSort = Exclude<SearchSearchSort$1, SearchSearchFieldSort$1>;
|
|
@@ -136,25 +136,25 @@ type WebsiteSDKV10 = WebsiteSDKBase<WebsiteSDKV10Static, WebsiteSDKV10Live> & {
|
|
|
136
136
|
readonly backend: "v10";
|
|
137
137
|
};
|
|
138
138
|
type WebsiteSDK = WebsiteSDKV9 | WebsiteSDKV10;
|
|
139
|
-
declare function createWebsiteSDK({ config, options }: {
|
|
139
|
+
export declare function createWebsiteSDK({ config, options }: {
|
|
140
140
|
readonly config: WebsiteV9Config;
|
|
141
141
|
readonly options?: WebsiteSDKOptions;
|
|
142
142
|
}): WebsiteSDKV9;
|
|
143
|
-
declare function createWebsiteSDK({ config, options }: {
|
|
143
|
+
export declare function createWebsiteSDK({ config, options }: {
|
|
144
144
|
readonly config: WebsiteV10Config;
|
|
145
145
|
readonly options?: WebsiteSDKOptions;
|
|
146
146
|
}): WebsiteSDKV10;
|
|
147
|
-
declare function createWebsiteSDK({ config, options }: {
|
|
147
|
+
export declare function createWebsiteSDK({ config, options }: {
|
|
148
148
|
readonly config: WebsiteSDKConfig;
|
|
149
149
|
readonly options?: WebsiteSDKOptions;
|
|
150
150
|
}): WebsiteSDK;
|
|
151
151
|
//#endregion
|
|
152
152
|
//#region src/payment/submit-payment-option.d.ts
|
|
153
|
-
declare const submitPaymentOptionEffect: (option: SubmittableBookingPaymentOption$1) => Effect.Effect<void, CoreSDKError$1>;
|
|
154
|
-
declare const submitPaymentOption: (option: SubmittableBookingPaymentOption$1) => Promise<void>;
|
|
153
|
+
export declare const submitPaymentOptionEffect: (option: SubmittableBookingPaymentOption$1) => Effect.Effect<void, CoreSDKError$1>;
|
|
154
|
+
export declare const submitPaymentOption: (option: SubmittableBookingPaymentOption$1) => Promise<void>;
|
|
155
155
|
//#endregion
|
|
156
156
|
//#region src/effects.d.ts
|
|
157
|
-
declare const getRentalsEffect: (input: RentalGetRentalsInput$1) => Effect.Effect<readonly {
|
|
157
|
+
export declare const getRentalsEffect: (input: RentalGetRentalsInput$1) => Effect.Effect<readonly {
|
|
158
158
|
readonly id: string;
|
|
159
159
|
readonly nameOrLabel: string;
|
|
160
160
|
readonly timeZone: string;
|
|
@@ -293,7 +293,7 @@ declare const getRentalsEffect: (input: RentalGetRentalsInput$1) => Effect.Effec
|
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
295
|
}[], import("@v-office/sdk-core").CoreSDKError, RentalService>;
|
|
296
|
-
declare const getFiltersEffect: (input: FilterGetFiltersInput$1) => Effect.Effect<readonly ({
|
|
296
|
+
export declare const getFiltersEffect: (input: FilterGetFiltersInput$1) => Effect.Effect<readonly ({
|
|
297
297
|
readonly searchParameterQueryKey: string;
|
|
298
298
|
readonly label: string;
|
|
299
299
|
readonly category: string;
|
|
@@ -322,7 +322,7 @@ declare const getFiltersEffect: (input: FilterGetFiltersInput$1) => Effect.Effec
|
|
|
322
322
|
readonly label: string;
|
|
323
323
|
}[];
|
|
324
324
|
})[], import("@v-office/sdk-core").CoreSDKError, FilterService>;
|
|
325
|
-
declare const getTermsAndPrivacyPolicyEffect: (input: DocumentsGetTermsAndPrivacyPolicyInput$1) => Effect.Effect<{
|
|
325
|
+
export declare const getTermsAndPrivacyPolicyEffect: (input: DocumentsGetTermsAndPrivacyPolicyInput$1) => Effect.Effect<{
|
|
326
326
|
readonly terms?: {
|
|
327
327
|
readonly subject: string;
|
|
328
328
|
readonly data: string;
|
|
@@ -332,7 +332,7 @@ declare const getTermsAndPrivacyPolicyEffect: (input: DocumentsGetTermsAndPrivac
|
|
|
332
332
|
readonly data: string;
|
|
333
333
|
};
|
|
334
334
|
}, import("@v-office/sdk-core").CoreSDKError, DocumentsService>;
|
|
335
|
-
declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
335
|
+
export declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
336
336
|
readonly items: readonly {
|
|
337
337
|
readonly id: string;
|
|
338
338
|
readonly nameOrLabel: string;
|
|
@@ -492,7 +492,7 @@ declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
|
492
492
|
readonly nextCursor?: string;
|
|
493
493
|
};
|
|
494
494
|
}, import("@v-office/sdk-core").CoreSDKError, SearchService>;
|
|
495
|
-
declare const getInitialAvailabilityEffect: (input: AvailabilityGetInitialAvailabilityInput$1) => Effect.Effect<{
|
|
495
|
+
export declare const getInitialAvailabilityEffect: (input: AvailabilityGetInitialAvailabilityInput$1) => Effect.Effect<{
|
|
496
496
|
readonly calendarDays: {
|
|
497
497
|
readonly [x: string]: {
|
|
498
498
|
readonly canBeStartDate: boolean;
|
|
@@ -506,7 +506,7 @@ declare const getInitialAvailabilityEffect: (input: AvailabilityGetInitialAvaila
|
|
|
506
506
|
readonly maxPersons: number | null;
|
|
507
507
|
readonly maxAdults: number | null;
|
|
508
508
|
}, import("@v-office/sdk-core").CoreSDKError, AvailabilityService>;
|
|
509
|
-
declare const getStartDateSelectedAvailabilityEffect: (input: AvailabilityGetStartDateSelectedAvailabilityInput$1) => Effect.Effect<{
|
|
509
|
+
export declare const getStartDateSelectedAvailabilityEffect: (input: AvailabilityGetStartDateSelectedAvailabilityInput$1) => Effect.Effect<{
|
|
510
510
|
readonly calendarDays: {
|
|
511
511
|
readonly [x: string]: {
|
|
512
512
|
readonly canBeEndDate: boolean;
|
|
@@ -516,15 +516,15 @@ declare const getStartDateSelectedAvailabilityEffect: (input: AvailabilityGetSta
|
|
|
516
516
|
};
|
|
517
517
|
};
|
|
518
518
|
}, import("@v-office/sdk-core").CoreSDKError, AvailabilityService>;
|
|
519
|
-
declare const quoteEffect: (input: QuoteQuoteInput$1) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
520
|
-
declare const addAdditionalServiceEffect: (input: QuoteAddAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
521
|
-
declare const removeAdditionalServiceEffect: (input: QuoteRemoveAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
522
|
-
declare const clearAdditionalServicesEffect: (input: QuoteClearAdditionalServicesInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
523
|
-
declare const selectCancellationPolicyEffect: (input: QuoteSelectCancellationPolicyInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
524
|
-
declare const selectInsuranceEffect: (input: QuoteSelectInsuranceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
525
|
-
declare const createInsurancePreContractEffect: (input: QuoteCreateInsurancePreContractInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
526
|
-
declare const selectInsurancePaymentEffect: (input: QuoteSelectInsurancePaymentInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
527
|
-
declare const bookInsuranceEffect: (input: QuoteBookInsuranceInput) => Effect.Effect<{
|
|
519
|
+
export declare const quoteEffect: (input: QuoteQuoteInput$1) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
520
|
+
export declare const addAdditionalServiceEffect: (input: QuoteAddAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
521
|
+
export declare const removeAdditionalServiceEffect: (input: QuoteRemoveAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
522
|
+
export declare const clearAdditionalServicesEffect: (input: QuoteClearAdditionalServicesInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
523
|
+
export declare const selectCancellationPolicyEffect: (input: QuoteSelectCancellationPolicyInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
524
|
+
export declare const selectInsuranceEffect: (input: QuoteSelectInsuranceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
525
|
+
export declare const createInsurancePreContractEffect: (input: QuoteCreateInsurancePreContractInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
526
|
+
export declare const selectInsurancePaymentEffect: (input: QuoteSelectInsurancePaymentInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
527
|
+
export declare const bookInsuranceEffect: (input: QuoteBookInsuranceInput) => Effect.Effect<{
|
|
528
528
|
readonly kind: "none_selected";
|
|
529
529
|
} | {
|
|
530
530
|
readonly kind: "not_required";
|
|
@@ -536,8 +536,8 @@ declare const bookInsuranceEffect: (input: QuoteBookInsuranceInput) => Effect.Ef
|
|
|
536
536
|
readonly url: string;
|
|
537
537
|
}[];
|
|
538
538
|
}, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
|
|
539
|
-
declare const bookEffect: (input: BookingBookInput$1) => Effect.Effect<import("@v-office/sdk-core").BookingBookOutput, import("@v-office/sdk-core").CoreSDKError, BookingService>;
|
|
540
|
-
declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effect<void, import("@v-office/sdk-core").CoreSDKError, ContactService>;
|
|
539
|
+
export declare const bookEffect: (input: BookingBookInput$1) => Effect.Effect<import("@v-office/sdk-core").BookingBookOutput, import("@v-office/sdk-core").CoreSDKError, BookingService>;
|
|
540
|
+
export declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effect<void, import("@v-office/sdk-core").CoreSDKError, ContactService>;
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region codegen/v9/v0/generated/openapi-types.d.ts
|
|
543
543
|
interface components$1 {
|
|
@@ -2449,7 +2449,7 @@ interface V0OpenApiClientErrorOptions {
|
|
|
2449
2449
|
declare const V0OpenApiClientErrorBase: new (args: V0OpenApiClientErrorOptions) => Error & V0OpenApiClientErrorOptions & {
|
|
2450
2450
|
readonly _tag: "V0OpenApiClientError";
|
|
2451
2451
|
};
|
|
2452
|
-
declare class V0OpenApiClientError extends V0OpenApiClientErrorBase {}
|
|
2452
|
+
export declare class V0OpenApiClientError extends V0OpenApiClientErrorBase {}
|
|
2453
2453
|
type Simplify$1<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
2454
2454
|
type V0OpenApiOperationId = Extract<V0OperationId, keyof operations$1>;
|
|
2455
2455
|
type OperationParameters$1<TOperation extends V0OpenApiOperationId> = operations$1[TOperation] extends {
|
|
@@ -2499,9 +2499,9 @@ type V0OpenApiOperationResponse<TOperation extends V0OpenApiOperationId> = Opera
|
|
|
2499
2499
|
declare const V0OpenApiClient_base: Context.ServiceClass<V0OpenApiClient, "@v-office/website-sdk/legacy-v9/V0OpenApiClient", {
|
|
2500
2500
|
readonly execute: <const TOperation extends V0OpenApiOperationId>(operationId: TOperation, request: V0OpenApiOperationRequest<TOperation>) => Effect.Effect<V0DecodedResponse<V0OpenApiOperationResponse<TOperation>>, V0OpenApiClientError>;
|
|
2501
2501
|
}>;
|
|
2502
|
-
declare class V0OpenApiClient extends V0OpenApiClient_base {}
|
|
2503
|
-
declare const makeV0OpenApiClientLive: (options: V0OpenApiClientOptions) => Layer.Layer<V0OpenApiClient, never, HttpClient.HttpClient>;
|
|
2504
|
-
declare const makeV0OpenApiClientFetchLive: (options: V0OpenApiClientOptions) => Layer.Layer<V0OpenApiClient, never, never>;
|
|
2502
|
+
export declare class V0OpenApiClient extends V0OpenApiClient_base {}
|
|
2503
|
+
export declare const makeV0OpenApiClientLive: (options: V0OpenApiClientOptions) => Layer.Layer<V0OpenApiClient, never, HttpClient.HttpClient>;
|
|
2504
|
+
export declare const makeV0OpenApiClientFetchLive: (options: V0OpenApiClientOptions) => Layer.Layer<V0OpenApiClient, never, never>;
|
|
2505
2505
|
//#endregion
|
|
2506
2506
|
//#region codegen/v9/v1/generated/openapi-types.d.ts
|
|
2507
2507
|
/**
|
|
@@ -4516,11 +4516,11 @@ interface operations {
|
|
|
4516
4516
|
* validate the stable transport shape while raw response bodies remain available
|
|
4517
4517
|
* through the handwritten client for fields that are not modeled in OpenAPI.
|
|
4518
4518
|
*/
|
|
4519
|
-
declare const ApiEnvelopeBaseSchema: Schema.Struct<{
|
|
4519
|
+
export declare const ApiEnvelopeBaseSchema: Schema.Struct<{
|
|
4520
4520
|
readonly ok: Schema.Boolean;
|
|
4521
4521
|
}>;
|
|
4522
|
-
type ApiEnvelopeBase = typeof ApiEnvelopeBaseSchema.Type;
|
|
4523
|
-
declare const CalendarDaySchema: Schema.Struct<{
|
|
4522
|
+
export type ApiEnvelopeBase = typeof ApiEnvelopeBaseSchema.Type;
|
|
4523
|
+
export declare const CalendarDaySchema: Schema.Struct<{
|
|
4524
4524
|
readonly changeOver: Schema.String;
|
|
4525
4525
|
readonly class: Schema.Union<readonly [Schema.Literal<"check-in">, Schema.Literal<"available">, Schema.Literal<"check-out">, Schema.Literal<"unavailable">]>;
|
|
4526
4526
|
readonly locked: Schema.Boolean;
|
|
@@ -4528,8 +4528,8 @@ declare const CalendarDaySchema: Schema.Struct<{
|
|
|
4528
4528
|
readonly price: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
4529
4529
|
readonly tooltip: Schema.String;
|
|
4530
4530
|
}>;
|
|
4531
|
-
type CalendarDay = typeof CalendarDaySchema.Type;
|
|
4532
|
-
declare const CalendarResponseSchema: Schema.Struct<{
|
|
4531
|
+
export type CalendarDay = typeof CalendarDaySchema.Type;
|
|
4532
|
+
export declare const CalendarResponseSchema: Schema.Struct<{
|
|
4533
4533
|
readonly caldata_beon: Schema.$Record<Schema.String, Schema.suspend<Schema.Struct<{
|
|
4534
4534
|
readonly changeOver: Schema.String;
|
|
4535
4535
|
readonly class: Schema.Union<readonly [Schema.Literal<"check-in">, Schema.Literal<"available">, Schema.Literal<"check-out">, Schema.Literal<"unavailable">]>;
|
|
@@ -4542,16 +4542,16 @@ declare const CalendarResponseSchema: Schema.Struct<{
|
|
|
4542
4542
|
readonly max_date: Schema.NullOr<Schema.String>;
|
|
4543
4543
|
readonly ok: Schema.Boolean;
|
|
4544
4544
|
}>;
|
|
4545
|
-
type CalendarResponse = typeof CalendarResponseSchema.Type;
|
|
4546
|
-
declare const CurrentMemberResponseSchema: Schema.Struct<{
|
|
4545
|
+
export type CalendarResponse = typeof CalendarResponseSchema.Type;
|
|
4546
|
+
export declare const CurrentMemberResponseSchema: Schema.Struct<{
|
|
4547
4547
|
readonly data: Schema.NullOr<Schema.Struct<{
|
|
4548
4548
|
readonly member_id: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
4549
4549
|
readonly voffice_member_id: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
4550
4550
|
}>>;
|
|
4551
4551
|
readonly ok: Schema.Boolean;
|
|
4552
4552
|
}>;
|
|
4553
|
-
type CurrentMemberResponse = typeof CurrentMemberResponseSchema.Type;
|
|
4554
|
-
declare const CustomerUnitSummarySchema: Schema.Struct<{
|
|
4553
|
+
export type CurrentMemberResponse = typeof CurrentMemberResponseSchema.Type;
|
|
4554
|
+
export declare const CustomerUnitSummarySchema: Schema.Struct<{
|
|
4555
4555
|
readonly documents_amount: Schema.optionalKey<Schema.Number>;
|
|
4556
4556
|
readonly highlights_amount: Schema.optionalKey<Schema.Number>;
|
|
4557
4557
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
@@ -4559,8 +4559,8 @@ declare const CustomerUnitSummarySchema: Schema.Struct<{
|
|
|
4559
4559
|
readonly videos_amount: Schema.optionalKey<Schema.Number>;
|
|
4560
4560
|
readonly voffice_id: Schema.optionalKey<Schema.Number>;
|
|
4561
4561
|
}>;
|
|
4562
|
-
type CustomerUnitSummary = typeof CustomerUnitSummarySchema.Type;
|
|
4563
|
-
declare const DocumentCollectionResponseSchema: Schema.Struct<{
|
|
4562
|
+
export type CustomerUnitSummary = typeof CustomerUnitSummarySchema.Type;
|
|
4563
|
+
export declare const DocumentCollectionResponseSchema: Schema.Struct<{
|
|
4564
4564
|
readonly data: Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
4565
4565
|
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
4566
4566
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
@@ -4573,8 +4573,8 @@ declare const DocumentCollectionResponseSchema: Schema.Struct<{
|
|
|
4573
4573
|
readonly links: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4574
4574
|
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4575
4575
|
}>;
|
|
4576
|
-
type DocumentCollectionResponse = typeof DocumentCollectionResponseSchema.Type;
|
|
4577
|
-
declare const DocumentResourceSchema: Schema.Struct<{
|
|
4576
|
+
export type DocumentCollectionResponse = typeof DocumentCollectionResponseSchema.Type;
|
|
4577
|
+
export declare const DocumentResourceSchema: Schema.Struct<{
|
|
4578
4578
|
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
4579
4579
|
readonly decline_date: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4580
4580
|
readonly decline_reason: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -4593,8 +4593,8 @@ declare const DocumentResourceSchema: Schema.Struct<{
|
|
|
4593
4593
|
readonly voffice_id: Schema.optionalKey<Schema.Number>;
|
|
4594
4594
|
}>>>>>;
|
|
4595
4595
|
}>;
|
|
4596
|
-
type DocumentResource = typeof DocumentResourceSchema.Type;
|
|
4597
|
-
declare const DocumentResourceResponseSchema: Schema.Struct<{
|
|
4596
|
+
export type DocumentResource = typeof DocumentResourceSchema.Type;
|
|
4597
|
+
export declare const DocumentResourceResponseSchema: Schema.Struct<{
|
|
4598
4598
|
readonly data: Schema.suspend<Schema.Struct<{
|
|
4599
4599
|
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
4600
4600
|
readonly decline_date: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -4615,15 +4615,15 @@ declare const DocumentResourceResponseSchema: Schema.Struct<{
|
|
|
4615
4615
|
}>>>>>;
|
|
4616
4616
|
}>>;
|
|
4617
4617
|
}>;
|
|
4618
|
-
type DocumentResourceResponse = typeof DocumentResourceResponseSchema.Type;
|
|
4619
|
-
declare const DocumentStatusSchema: Schema.Union<readonly [Schema.Literal<"submitted">, Schema.Literal<"accepted">, Schema.Literal<"declined">]>;
|
|
4620
|
-
type DocumentStatus = typeof DocumentStatusSchema.Type;
|
|
4621
|
-
declare const DocumentStatusUpdateRequestSchema: Schema.Struct<{
|
|
4618
|
+
export type DocumentResourceResponse = typeof DocumentResourceResponseSchema.Type;
|
|
4619
|
+
export declare const DocumentStatusSchema: Schema.Union<readonly [Schema.Literal<"submitted">, Schema.Literal<"accepted">, Schema.Literal<"declined">]>;
|
|
4620
|
+
export type DocumentStatus = typeof DocumentStatusSchema.Type;
|
|
4621
|
+
export declare const DocumentStatusUpdateRequestSchema: Schema.Struct<{
|
|
4622
4622
|
readonly decline_reason: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4623
4623
|
readonly status: Schema.Union<readonly [Schema.Literal<"accepted">, Schema.Literal<"declined">]>;
|
|
4624
4624
|
}>;
|
|
4625
|
-
type DocumentStatusUpdateRequest = typeof DocumentStatusUpdateRequestSchema.Type;
|
|
4626
|
-
declare const DocumentSummarySchema: Schema.Struct<{
|
|
4625
|
+
export type DocumentStatusUpdateRequest = typeof DocumentStatusUpdateRequestSchema.Type;
|
|
4626
|
+
export declare const DocumentSummarySchema: Schema.Struct<{
|
|
4627
4627
|
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
4628
4628
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
4629
4629
|
readonly invoice_date: Schema.optionalKey<Schema.String>;
|
|
@@ -4632,18 +4632,18 @@ declare const DocumentSummarySchema: Schema.Struct<{
|
|
|
4632
4632
|
readonly service_provider: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4633
4633
|
readonly status: Schema.optionalKey<Schema.suspend<Schema.Union<readonly [Schema.Literal<"submitted">, Schema.Literal<"accepted">, Schema.Literal<"declined">]>>>;
|
|
4634
4634
|
}>;
|
|
4635
|
-
type DocumentSummary = typeof DocumentSummarySchema.Type;
|
|
4636
|
-
declare const DocumentTypeSchema: Schema.Union<readonly [Schema.Literal<"invoice">, Schema.Literal<"cost_estimate">, Schema.Literal<"credit_note">]>;
|
|
4637
|
-
type DocumentType = typeof DocumentTypeSchema.Type;
|
|
4638
|
-
declare const ErgoAddressSchema: Schema.Struct<{
|
|
4635
|
+
export type DocumentSummary = typeof DocumentSummarySchema.Type;
|
|
4636
|
+
export declare const DocumentTypeSchema: Schema.Union<readonly [Schema.Literal<"invoice">, Schema.Literal<"cost_estimate">, Schema.Literal<"credit_note">]>;
|
|
4637
|
+
export type DocumentType = typeof DocumentTypeSchema.Type;
|
|
4638
|
+
export declare const ErgoAddressSchema: Schema.Struct<{
|
|
4639
4639
|
readonly city_name: Schema.String;
|
|
4640
4640
|
readonly country_code: Schema.String;
|
|
4641
4641
|
readonly extra_address_line: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4642
4642
|
readonly postal_code: Schema.String;
|
|
4643
4643
|
readonly street_and_nr: Schema.String;
|
|
4644
4644
|
}>;
|
|
4645
|
-
type ErgoAddress = typeof ErgoAddressSchema.Type;
|
|
4646
|
-
declare const ErgoBankSchema: Schema.Struct<{
|
|
4645
|
+
export type ErgoAddress = typeof ErgoAddressSchema.Type;
|
|
4646
|
+
export declare const ErgoBankSchema: Schema.Struct<{
|
|
4647
4647
|
readonly bic: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4648
4648
|
readonly city_name: Schema.optionalKey<Schema.String>;
|
|
4649
4649
|
readonly country_code: Schema.optionalKey<Schema.String>;
|
|
@@ -4657,8 +4657,8 @@ declare const ErgoBankSchema: Schema.Struct<{
|
|
|
4657
4657
|
readonly street_and_nr: Schema.optionalKey<Schema.String>;
|
|
4658
4658
|
readonly surname: Schema.optionalKey<Schema.String>;
|
|
4659
4659
|
}>;
|
|
4660
|
-
type ErgoBank = typeof ErgoBankSchema.Type;
|
|
4661
|
-
declare const ErgoBookRequestSchema: Schema.Struct<{
|
|
4660
|
+
export type ErgoBank = typeof ErgoBankSchema.Type;
|
|
4661
|
+
export declare const ErgoBookRequestSchema: Schema.Struct<{
|
|
4662
4662
|
readonly address: Schema.suspend<Schema.Struct<{
|
|
4663
4663
|
readonly city_name: Schema.String;
|
|
4664
4664
|
readonly country_code: Schema.String;
|
|
@@ -4712,14 +4712,14 @@ declare const ErgoBookRequestSchema: Schema.Struct<{
|
|
|
4712
4712
|
readonly surname: Schema.String;
|
|
4713
4713
|
}>>>>;
|
|
4714
4714
|
}>;
|
|
4715
|
-
type ErgoBookRequest = typeof ErgoBookRequestSchema.Type;
|
|
4716
|
-
declare const ErgoCommonFieldsSchema: Schema.Struct<{
|
|
4715
|
+
export type ErgoBookRequest = typeof ErgoBookRequestSchema.Type;
|
|
4716
|
+
export declare const ErgoCommonFieldsSchema: Schema.Struct<{
|
|
4717
4717
|
readonly echo_token: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4718
4718
|
readonly msg_id: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4719
4719
|
readonly transaction_context: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4720
4720
|
}>;
|
|
4721
|
-
type ErgoCommonFields = typeof ErgoCommonFieldsSchema.Type;
|
|
4722
|
-
declare const ErgoCreatePreContractRequestSchema: Schema.Struct<{
|
|
4721
|
+
export type ErgoCommonFields = typeof ErgoCommonFieldsSchema.Type;
|
|
4722
|
+
export declare const ErgoCreatePreContractRequestSchema: Schema.Struct<{
|
|
4723
4723
|
readonly address: Schema.suspend<Schema.Struct<{
|
|
4724
4724
|
readonly city_name: Schema.String;
|
|
4725
4725
|
readonly country_code: Schema.String;
|
|
@@ -4758,16 +4758,16 @@ declare const ErgoCreatePreContractRequestSchema: Schema.Struct<{
|
|
|
4758
4758
|
readonly surname: Schema.String;
|
|
4759
4759
|
}>>>>;
|
|
4760
4760
|
}>;
|
|
4761
|
-
type ErgoCreatePreContractRequest = typeof ErgoCreatePreContractRequestSchema.Type;
|
|
4762
|
-
declare const ErgoPersonSchema: Schema.Struct<{
|
|
4761
|
+
export type ErgoCreatePreContractRequest = typeof ErgoCreatePreContractRequestSchema.Type;
|
|
4762
|
+
export declare const ErgoPersonSchema: Schema.Struct<{
|
|
4763
4763
|
readonly birthday: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4764
4764
|
readonly given_name: Schema.String;
|
|
4765
4765
|
readonly name_prefix: Schema.String;
|
|
4766
4766
|
readonly name_title: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4767
4767
|
readonly surname: Schema.String;
|
|
4768
4768
|
}>;
|
|
4769
|
-
type ErgoPerson = typeof ErgoPersonSchema.Type;
|
|
4770
|
-
declare const ErgoPlanSearchRequestSchema: Schema.Struct<{
|
|
4769
|
+
export type ErgoPerson = typeof ErgoPersonSchema.Type;
|
|
4770
|
+
export declare const ErgoPlanSearchRequestSchema: Schema.Struct<{
|
|
4771
4771
|
readonly destination_country: Schema.String;
|
|
4772
4772
|
readonly echo_token: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4773
4773
|
readonly end_date: Schema.String;
|
|
@@ -4781,23 +4781,23 @@ declare const ErgoPlanSearchRequestSchema: Schema.Struct<{
|
|
|
4781
4781
|
readonly transaction_context: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4782
4782
|
readonly traveler_count: Schema.Number;
|
|
4783
4783
|
}>;
|
|
4784
|
-
type ErgoPlanSearchRequest = typeof ErgoPlanSearchRequestSchema.Type;
|
|
4785
|
-
declare const ErgoPolicyNumberRequestSchema: Schema.Struct<{
|
|
4784
|
+
export type ErgoPlanSearchRequest = typeof ErgoPlanSearchRequestSchema.Type;
|
|
4785
|
+
export declare const ErgoPolicyNumberRequestSchema: Schema.Struct<{
|
|
4786
4786
|
readonly echo_token: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4787
4787
|
readonly msg_id: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4788
4788
|
readonly policy_number: Schema.String;
|
|
4789
4789
|
readonly transaction_context: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4790
4790
|
}>;
|
|
4791
|
-
type ErgoPolicyNumberRequest = typeof ErgoPolicyNumberRequestSchema.Type;
|
|
4792
|
-
declare const ErgoReadPreContractRequestSchema: Schema.Struct<{
|
|
4791
|
+
export type ErgoPolicyNumberRequest = typeof ErgoPolicyNumberRequestSchema.Type;
|
|
4792
|
+
export declare const ErgoReadPreContractRequestSchema: Schema.Struct<{
|
|
4793
4793
|
readonly echo_token: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4794
4794
|
readonly email: Schema.String;
|
|
4795
4795
|
readonly msg_id: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4796
4796
|
readonly pre_contractual_information_id: Schema.String;
|
|
4797
4797
|
readonly transaction_context: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4798
4798
|
}>;
|
|
4799
|
-
type ErgoReadPreContractRequest = typeof ErgoReadPreContractRequestSchema.Type;
|
|
4800
|
-
declare const ErgoTripAndCustomerRequestSchema: Schema.Struct<{
|
|
4799
|
+
export type ErgoReadPreContractRequest = typeof ErgoReadPreContractRequestSchema.Type;
|
|
4800
|
+
export declare const ErgoTripAndCustomerRequestSchema: Schema.Struct<{
|
|
4801
4801
|
readonly address: Schema.suspend<Schema.Struct<{
|
|
4802
4802
|
readonly city_name: Schema.String;
|
|
4803
4803
|
readonly country_code: Schema.String;
|
|
@@ -4830,15 +4830,15 @@ declare const ErgoTripAndCustomerRequestSchema: Schema.Struct<{
|
|
|
4830
4830
|
readonly surname: Schema.String;
|
|
4831
4831
|
}>>>>;
|
|
4832
4832
|
}>;
|
|
4833
|
-
type ErgoTripAndCustomerRequest = typeof ErgoTripAndCustomerRequestSchema.Type;
|
|
4834
|
-
declare const FacilityListResponseSchema: Schema.Struct<{
|
|
4833
|
+
export type ErgoTripAndCustomerRequest = typeof ErgoTripAndCustomerRequestSchema.Type;
|
|
4834
|
+
export declare const FacilityListResponseSchema: Schema.Struct<{
|
|
4835
4835
|
readonly data: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
4836
4836
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
4837
4837
|
}>>>;
|
|
4838
4838
|
readonly ok: Schema.Boolean;
|
|
4839
4839
|
}>;
|
|
4840
|
-
type FacilityListResponse = typeof FacilityListResponseSchema.Type;
|
|
4841
|
-
declare const OnOfficeUnitSchema: Schema.Struct<{
|
|
4840
|
+
export type FacilityListResponse = typeof FacilityListResponseSchema.Type;
|
|
4841
|
+
export declare const OnOfficeUnitSchema: Schema.Struct<{
|
|
4842
4842
|
readonly currency: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4843
4843
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4844
4844
|
readonly floor_area: Schema.optionalKey<Schema.String>;
|
|
@@ -4854,8 +4854,8 @@ declare const OnOfficeUnitSchema: Schema.Struct<{
|
|
|
4854
4854
|
readonly title: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4855
4855
|
readonly total_area: Schema.optionalKey<Schema.String>;
|
|
4856
4856
|
}>;
|
|
4857
|
-
type OnOfficeUnit = typeof OnOfficeUnitSchema.Type;
|
|
4858
|
-
declare const OnOfficeUnitCollectionResponseSchema: Schema.Struct<{
|
|
4857
|
+
export type OnOfficeUnit = typeof OnOfficeUnitSchema.Type;
|
|
4858
|
+
export declare const OnOfficeUnitCollectionResponseSchema: Schema.Struct<{
|
|
4859
4859
|
readonly data: Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
4860
4860
|
readonly currency: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
4861
4861
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -4873,8 +4873,8 @@ declare const OnOfficeUnitCollectionResponseSchema: Schema.Struct<{
|
|
|
4873
4873
|
readonly total_area: Schema.optionalKey<Schema.String>;
|
|
4874
4874
|
}>>>>;
|
|
4875
4875
|
}>;
|
|
4876
|
-
type OnOfficeUnitCollectionResponse = typeof OnOfficeUnitCollectionResponseSchema.Type;
|
|
4877
|
-
declare const PaymentScheduleSchema: Schema.Struct<{
|
|
4876
|
+
export type OnOfficeUnitCollectionResponse = typeof OnOfficeUnitCollectionResponseSchema.Type;
|
|
4877
|
+
export declare const PaymentScheduleSchema: Schema.Struct<{
|
|
4878
4878
|
readonly prepayment: Schema.optionalKey<Schema.suspend<Schema.Struct<{
|
|
4879
4879
|
readonly amount: Schema.optionalKey<Schema.Number>;
|
|
4880
4880
|
readonly date: Schema.optionalKey<Schema.String>;
|
|
@@ -4891,14 +4891,14 @@ declare const PaymentScheduleSchema: Schema.Struct<{
|
|
|
4891
4891
|
readonly percent: Schema.optionalKey<Schema.Number>;
|
|
4892
4892
|
}>>>;
|
|
4893
4893
|
}>;
|
|
4894
|
-
type PaymentSchedule = typeof PaymentScheduleSchema.Type;
|
|
4895
|
-
declare const PaymentScheduleItemSchema: Schema.Struct<{
|
|
4894
|
+
export type PaymentSchedule = typeof PaymentScheduleSchema.Type;
|
|
4895
|
+
export declare const PaymentScheduleItemSchema: Schema.Struct<{
|
|
4896
4896
|
readonly amount: Schema.optionalKey<Schema.Number>;
|
|
4897
4897
|
readonly date: Schema.optionalKey<Schema.String>;
|
|
4898
4898
|
readonly percent: Schema.optionalKey<Schema.Number>;
|
|
4899
4899
|
}>;
|
|
4900
|
-
type PaymentScheduleItem = typeof PaymentScheduleItemSchema.Type;
|
|
4901
|
-
declare const QuoteSchema: Schema.Struct<{
|
|
4900
|
+
export type PaymentScheduleItem = typeof PaymentScheduleItemSchema.Type;
|
|
4901
|
+
export declare const QuoteSchema: Schema.Struct<{
|
|
4902
4902
|
readonly currency: Schema.optionalKey<Schema.String>;
|
|
4903
4903
|
readonly errors: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.mutable<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>]>>;
|
|
4904
4904
|
readonly mandatory: Schema.optionalKey<Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
@@ -5112,8 +5112,8 @@ declare const QuoteSchema: Schema.Struct<{
|
|
|
5112
5112
|
}>>>>>;
|
|
5113
5113
|
readonly warnings: Schema.optionalKey<Schema.mutable<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>>;
|
|
5114
5114
|
}>;
|
|
5115
|
-
type Quote = typeof QuoteSchema.Type;
|
|
5116
|
-
declare const QuoteLineSchema: Schema.Struct<{
|
|
5115
|
+
export type Quote = typeof QuoteSchema.Type;
|
|
5116
|
+
export declare const QuoteLineSchema: Schema.Struct<{
|
|
5117
5117
|
readonly amount: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
5118
5118
|
readonly annotation: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5119
5119
|
readonly beon_data: Schema.optionalKey<Schema.Union<readonly [Schema.suspend<Schema.Struct<{
|
|
@@ -5150,8 +5150,8 @@ declare const QuoteLineSchema: Schema.Struct<{
|
|
|
5150
5150
|
readonly timespan: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
5151
5151
|
readonly total: Schema.optionalKey<Schema.Number>;
|
|
5152
5152
|
}>;
|
|
5153
|
-
type QuoteLine = typeof QuoteLineSchema.Type;
|
|
5154
|
-
declare const QuotePricesPayloadSchema: Schema.Struct<{
|
|
5153
|
+
export type QuoteLine = typeof QuoteLineSchema.Type;
|
|
5154
|
+
export declare const QuotePricesPayloadSchema: Schema.Struct<{
|
|
5155
5155
|
readonly ok: Schema.optionalKey<Schema.Boolean>;
|
|
5156
5156
|
readonly quote: Schema.optionalKey<Schema.suspend<Schema.Struct<{
|
|
5157
5157
|
readonly currency: Schema.optionalKey<Schema.String>;
|
|
@@ -5369,8 +5369,8 @@ declare const QuotePricesPayloadSchema: Schema.Struct<{
|
|
|
5369
5369
|
}>>>;
|
|
5370
5370
|
readonly trackingId: Schema.optionalKey<Schema.String>;
|
|
5371
5371
|
}>;
|
|
5372
|
-
type QuotePricesPayload = typeof QuotePricesPayloadSchema.Type;
|
|
5373
|
-
declare const QuotePricesResponseSchema: Schema.Struct<{
|
|
5372
|
+
export type QuotePricesPayload = typeof QuotePricesPayloadSchema.Type;
|
|
5373
|
+
export declare const QuotePricesResponseSchema: Schema.Struct<{
|
|
5374
5374
|
readonly data: Schema.suspend<Schema.Struct<{
|
|
5375
5375
|
readonly ok: Schema.optionalKey<Schema.Boolean>;
|
|
5376
5376
|
readonly quote: Schema.optionalKey<Schema.suspend<Schema.Struct<{
|
|
@@ -5591,8 +5591,8 @@ declare const QuotePricesResponseSchema: Schema.Struct<{
|
|
|
5591
5591
|
}>>;
|
|
5592
5592
|
readonly ok: Schema.Boolean;
|
|
5593
5593
|
}>;
|
|
5594
|
-
type QuotePricesResponse = typeof QuotePricesResponseSchema.Type;
|
|
5595
|
-
declare const QuoteServiceSchema: Schema.Struct<{
|
|
5594
|
+
export type QuotePricesResponse = typeof QuotePricesResponseSchema.Type;
|
|
5595
|
+
export declare const QuoteServiceSchema: Schema.Struct<{
|
|
5596
5596
|
readonly constrain: Schema.optionalKey<Schema.Boolean>;
|
|
5597
5597
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
5598
5598
|
readonly mandatory: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -5605,35 +5605,35 @@ declare const QuoteServiceSchema: Schema.Struct<{
|
|
|
5605
5605
|
readonly surcharge: Schema.optionalKey<Schema.Boolean>;
|
|
5606
5606
|
readonly type: Schema.optionalKey<Schema.String>;
|
|
5607
5607
|
}>;
|
|
5608
|
-
type QuoteService = typeof QuoteServiceSchema.Type;
|
|
5609
|
-
declare const RawObjectResponseSchema: Schema.Struct<{
|
|
5608
|
+
export type QuoteService = typeof QuoteServiceSchema.Type;
|
|
5609
|
+
export declare const RawObjectResponseSchema: Schema.Struct<{
|
|
5610
5610
|
readonly data: Schema.suspend<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5611
5611
|
readonly ok: Schema.Boolean;
|
|
5612
5612
|
}>;
|
|
5613
|
-
type RawObjectResponse = typeof RawObjectResponseSchema.Type;
|
|
5614
|
-
declare const RawVofficeObjectSchema: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
5615
|
-
type RawVofficeObject = typeof RawVofficeObjectSchema.Type;
|
|
5616
|
-
declare const RegionListResponseSchema: Schema.Struct<{
|
|
5613
|
+
export type RawObjectResponse = typeof RawObjectResponseSchema.Type;
|
|
5614
|
+
export declare const RawVofficeObjectSchema: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
5615
|
+
export type RawVofficeObject = typeof RawVofficeObjectSchema.Type;
|
|
5616
|
+
export declare const RegionListResponseSchema: Schema.Struct<{
|
|
5617
5617
|
readonly data: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
5618
5618
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
5619
5619
|
}>>>;
|
|
5620
5620
|
readonly ok: Schema.Boolean;
|
|
5621
5621
|
}>;
|
|
5622
|
-
type RegionListResponse = typeof RegionListResponseSchema.Type;
|
|
5623
|
-
declare const RoomImageSchema: Schema.Struct<{
|
|
5622
|
+
export type RegionListResponse = typeof RegionListResponseSchema.Type;
|
|
5623
|
+
export declare const RoomImageSchema: Schema.Struct<{
|
|
5624
5624
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5625
5625
|
readonly name: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5626
5626
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
5627
5627
|
readonly title: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5628
5628
|
}>;
|
|
5629
|
-
type RoomImage = typeof RoomImageSchema.Type;
|
|
5630
|
-
declare const SearchPropertiesResponseSchema: Schema.Struct<{
|
|
5629
|
+
export type RoomImage = typeof RoomImageSchema.Type;
|
|
5630
|
+
export declare const SearchPropertiesResponseSchema: Schema.Struct<{
|
|
5631
5631
|
readonly count: Schema.Number;
|
|
5632
5632
|
readonly data: Schema.mutable<Schema.$Array<Schema.suspend<Schema.$Record<Schema.String, Schema.Unknown>>>>;
|
|
5633
5633
|
readonly ok: Schema.Boolean;
|
|
5634
5634
|
}>;
|
|
5635
|
-
type SearchPropertiesResponse = typeof SearchPropertiesResponseSchema.Type;
|
|
5636
|
-
declare const ServiceBeonDataSchema: Schema.Struct<{
|
|
5635
|
+
export type SearchPropertiesResponse = typeof SearchPropertiesResponseSchema.Type;
|
|
5636
|
+
export declare const ServiceBeonDataSchema: Schema.Struct<{
|
|
5637
5637
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
5638
5638
|
readonly images: Schema.optionalKey<Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
5639
5639
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -5643,27 +5643,27 @@ declare const ServiceBeonDataSchema: Schema.Struct<{
|
|
|
5643
5643
|
readonly owner_active: Schema.optionalKey<Schema.Boolean>;
|
|
5644
5644
|
readonly owner_settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5645
5645
|
}>;
|
|
5646
|
-
type ServiceBeonData = typeof ServiceBeonDataSchema.Type;
|
|
5647
|
-
declare const ServiceImageSchema: Schema.Struct<{
|
|
5646
|
+
export type ServiceBeonData = typeof ServiceBeonDataSchema.Type;
|
|
5647
|
+
export declare const ServiceImageSchema: Schema.Struct<{
|
|
5648
5648
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5649
5649
|
readonly title: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5650
5650
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
5651
5651
|
}>;
|
|
5652
|
-
type ServiceImage = typeof ServiceImageSchema.Type;
|
|
5653
|
-
declare const ServiceLimitSchema: Schema.Struct<{
|
|
5652
|
+
export type ServiceImage = typeof ServiceImageSchema.Type;
|
|
5653
|
+
export declare const ServiceLimitSchema: Schema.Struct<{
|
|
5654
5654
|
readonly maxDaysAfterBooking: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
5655
5655
|
readonly maxPerBooking: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
5656
5656
|
readonly minDaysBeforeArrival: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
5657
5657
|
}>;
|
|
5658
|
-
type ServiceLimit = typeof ServiceLimitSchema.Type;
|
|
5659
|
-
declare const ServiceListResponseSchema: Schema.Struct<{
|
|
5658
|
+
export type ServiceLimit = typeof ServiceLimitSchema.Type;
|
|
5659
|
+
export declare const ServiceListResponseSchema: Schema.Struct<{
|
|
5660
5660
|
readonly data: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
5661
5661
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
5662
5662
|
}>>>;
|
|
5663
5663
|
readonly ok: Schema.Boolean;
|
|
5664
5664
|
}>;
|
|
5665
|
-
type ServiceListResponse = typeof ServiceListResponseSchema.Type;
|
|
5666
|
-
declare const SetupDataSchema: Schema.Struct<{
|
|
5665
|
+
export type ServiceListResponse = typeof ServiceListResponseSchema.Type;
|
|
5666
|
+
export declare const SetupDataSchema: Schema.Struct<{
|
|
5667
5667
|
readonly add_ons: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Boolean>>;
|
|
5668
5668
|
readonly booking: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5669
5669
|
readonly common: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
@@ -5674,8 +5674,8 @@ declare const SetupDataSchema: Schema.Struct<{
|
|
|
5674
5674
|
readonly search: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5675
5675
|
readonly styles: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5676
5676
|
}>;
|
|
5677
|
-
type SetupData = typeof SetupDataSchema.Type;
|
|
5678
|
-
declare const SetupResponseSchema: Schema.Struct<{
|
|
5677
|
+
export type SetupData = typeof SetupDataSchema.Type;
|
|
5678
|
+
export declare const SetupResponseSchema: Schema.Struct<{
|
|
5679
5679
|
readonly data: Schema.suspend<Schema.Struct<{
|
|
5680
5680
|
readonly add_ons: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Boolean>>;
|
|
5681
5681
|
readonly booking: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
@@ -5689,8 +5689,8 @@ declare const SetupResponseSchema: Schema.Struct<{
|
|
|
5689
5689
|
}>>;
|
|
5690
5690
|
readonly ok: Schema.Boolean;
|
|
5691
5691
|
}>;
|
|
5692
|
-
type SetupResponse = typeof SetupResponseSchema.Type;
|
|
5693
|
-
declare const TileSchema: Schema.Struct<{
|
|
5692
|
+
export type SetupResponse = typeof SetupResponseSchema.Type;
|
|
5693
|
+
export declare const TileSchema: Schema.Struct<{
|
|
5694
5694
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5695
5695
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
5696
5696
|
readonly image: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -5699,8 +5699,8 @@ declare const TileSchema: Schema.Struct<{
|
|
|
5699
5699
|
readonly property: Schema.optionalKey<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
5700
5700
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
5701
5701
|
}>;
|
|
5702
|
-
type Tile = typeof TileSchema.Type;
|
|
5703
|
-
declare const TileCollectionResponseSchema: Schema.Struct<{
|
|
5702
|
+
export type Tile = typeof TileSchema.Type;
|
|
5703
|
+
export declare const TileCollectionResponseSchema: Schema.Struct<{
|
|
5704
5704
|
readonly data: Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
5705
5705
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5706
5706
|
readonly id: Schema.optionalKey<Schema.Number>;
|
|
@@ -5711,10 +5711,10 @@ declare const TileCollectionResponseSchema: Schema.Struct<{
|
|
|
5711
5711
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
5712
5712
|
}>>>>;
|
|
5713
5713
|
}>;
|
|
5714
|
-
type TileCollectionResponse = typeof TileCollectionResponseSchema.Type;
|
|
5715
|
-
declare const TileTagSchema: Schema.Union<readonly [Schema.Literal<"guest_portal_home">, Schema.Literal<"guest_portal_property">, Schema.Literal<"guest_portal_brands">, Schema.Literal<"owner_portal_home">, Schema.Literal<"owner_portal_property">, Schema.Literal<"owner_portal_brands">]>;
|
|
5716
|
-
type TileTag = typeof TileTagSchema.Type;
|
|
5717
|
-
declare const TravelInsuranceBookingSchema: Schema.Struct<{
|
|
5714
|
+
export type TileCollectionResponse = typeof TileCollectionResponseSchema.Type;
|
|
5715
|
+
export declare const TileTagSchema: Schema.Union<readonly [Schema.Literal<"guest_portal_home">, Schema.Literal<"guest_portal_property">, Schema.Literal<"guest_portal_brands">, Schema.Literal<"owner_portal_home">, Schema.Literal<"owner_portal_property">, Schema.Literal<"owner_portal_brands">]>;
|
|
5716
|
+
export type TileTag = typeof TileTagSchema.Type;
|
|
5717
|
+
export declare const TravelInsuranceBookingSchema: Schema.Struct<{
|
|
5718
5718
|
readonly additional_booking_data: Schema.optionalKey<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
5719
5719
|
readonly booking_number: Schema.optionalKey<Schema.String>;
|
|
5720
5720
|
readonly created_at: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -5727,32 +5727,32 @@ declare const TravelInsuranceBookingSchema: Schema.Struct<{
|
|
|
5727
5727
|
readonly webhook_executed_at: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5728
5728
|
readonly webhook_last_response: Schema.optionalKey<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
5729
5729
|
}>;
|
|
5730
|
-
type TravelInsuranceBooking = typeof TravelInsuranceBookingSchema.Type;
|
|
5731
|
-
declare const TravelInsuranceBookingStoreRequestSchema: Schema.Struct<{
|
|
5730
|
+
export type TravelInsuranceBooking = typeof TravelInsuranceBookingSchema.Type;
|
|
5731
|
+
export declare const TravelInsuranceBookingStoreRequestSchema: Schema.Struct<{
|
|
5732
5732
|
readonly booking_number: Schema.String;
|
|
5733
5733
|
readonly guest_token: Schema.String;
|
|
5734
5734
|
readonly pre_contractual_information_id: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5735
5735
|
readonly selected_plan_code: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5736
5736
|
readonly travel_insurance_number: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5737
5737
|
}>;
|
|
5738
|
-
type TravelInsuranceBookingStoreRequest = typeof TravelInsuranceBookingStoreRequestSchema.Type;
|
|
5739
|
-
declare const UnitIdsResponseSchema: Schema.Struct<{
|
|
5738
|
+
export type TravelInsuranceBookingStoreRequest = typeof TravelInsuranceBookingStoreRequestSchema.Type;
|
|
5739
|
+
export declare const UnitIdsResponseSchema: Schema.Struct<{
|
|
5740
5740
|
readonly data: Schema.mutable<Schema.$Array<Schema.Number>>;
|
|
5741
5741
|
readonly ok: Schema.Boolean;
|
|
5742
5742
|
}>;
|
|
5743
|
-
type UnitIdsResponse = typeof UnitIdsResponseSchema.Type;
|
|
5744
|
-
declare const UnitListItemSchema: Schema.Struct<{
|
|
5743
|
+
export type UnitIdsResponse = typeof UnitIdsResponseSchema.Type;
|
|
5744
|
+
export declare const UnitListItemSchema: Schema.Struct<{
|
|
5745
5745
|
readonly id: Schema.Number;
|
|
5746
5746
|
}>;
|
|
5747
|
-
type UnitListItem = typeof UnitListItemSchema.Type;
|
|
5748
|
-
declare const UnitListResponseSchema: Schema.Struct<{
|
|
5747
|
+
export type UnitListItem = typeof UnitListItemSchema.Type;
|
|
5748
|
+
export declare const UnitListResponseSchema: Schema.Struct<{
|
|
5749
5749
|
readonly data: Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
5750
5750
|
readonly id: Schema.Number;
|
|
5751
5751
|
}>>>>;
|
|
5752
5752
|
readonly ok: Schema.Boolean;
|
|
5753
5753
|
}>;
|
|
5754
|
-
type UnitListResponse = typeof UnitListResponseSchema.Type;
|
|
5755
|
-
declare const UnitOfferSchema: Schema.Struct<{
|
|
5754
|
+
export type UnitListResponse = typeof UnitListResponseSchema.Type;
|
|
5755
|
+
export declare const UnitOfferSchema: Schema.Struct<{
|
|
5756
5756
|
readonly discount_type: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5757
5757
|
readonly from_date: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5758
5758
|
readonly min_stay: Schema.optionalKey<Schema.NullOr<Schema.Number>>;
|
|
@@ -5762,8 +5762,8 @@ declare const UnitOfferSchema: Schema.Struct<{
|
|
|
5762
5762
|
readonly title: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5763
5763
|
readonly type: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5764
5764
|
}>;
|
|
5765
|
-
type UnitOffer = typeof UnitOfferSchema.Type;
|
|
5766
|
-
declare const UnitResponseSchema: Schema.Struct<{
|
|
5765
|
+
export type UnitOffer = typeof UnitOfferSchema.Type;
|
|
5766
|
+
export declare const UnitResponseSchema: Schema.Struct<{
|
|
5767
5767
|
readonly data: Schema.suspend<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5768
5768
|
readonly images: Schema.mutable<Schema.$Array<Schema.suspend<Schema.Struct<{
|
|
5769
5769
|
readonly description: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
@@ -5773,8 +5773,8 @@ declare const UnitResponseSchema: Schema.Struct<{
|
|
|
5773
5773
|
}>>>>;
|
|
5774
5774
|
readonly ok: Schema.Boolean;
|
|
5775
5775
|
}>;
|
|
5776
|
-
type UnitResponse = typeof UnitResponseSchema.Type;
|
|
5777
|
-
declare const UnitServicePriceSchema: Schema.Struct<{
|
|
5776
|
+
export type UnitResponse = typeof UnitResponseSchema.Type;
|
|
5777
|
+
export declare const UnitServicePriceSchema: Schema.Struct<{
|
|
5778
5778
|
readonly calculation: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5779
5779
|
readonly from_date: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5780
5780
|
readonly mandatory: Schema.optionalKey<Schema.NullOr<Schema.Boolean>>;
|
|
@@ -5786,17 +5786,17 @@ declare const UnitServicePriceSchema: Schema.Struct<{
|
|
|
5786
5786
|
readonly till_date: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5787
5787
|
readonly type: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
5788
5788
|
}>;
|
|
5789
|
-
type UnitServicePrice = typeof UnitServicePriceSchema.Type;
|
|
5790
|
-
declare const VideoResponseSchema: Schema.Struct<{
|
|
5789
|
+
export type UnitServicePrice = typeof UnitServicePriceSchema.Type;
|
|
5790
|
+
export declare const VideoResponseSchema: Schema.Struct<{
|
|
5791
5791
|
readonly data: Schema.Struct<{
|
|
5792
5792
|
readonly thumbnail: Schema.NullOr<Schema.String>;
|
|
5793
5793
|
readonly url: Schema.String;
|
|
5794
5794
|
}>;
|
|
5795
5795
|
}>;
|
|
5796
|
-
type VideoResponse = typeof VideoResponseSchema.Type;
|
|
5797
|
-
type V1HttpMethod = "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
5798
|
-
type V1OperationSchema = Schema.Decoder<unknown>;
|
|
5799
|
-
interface V1OperationRuntime {
|
|
5796
|
+
export type VideoResponse = typeof VideoResponseSchema.Type;
|
|
5797
|
+
export type V1HttpMethod = "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
5798
|
+
export type V1OperationSchema = Schema.Decoder<unknown>;
|
|
5799
|
+
export interface V1OperationRuntime {
|
|
5800
5800
|
readonly method: V1HttpMethod;
|
|
5801
5801
|
readonly path: string;
|
|
5802
5802
|
readonly pathParameters: readonly string[];
|
|
@@ -5807,8 +5807,8 @@ interface V1OperationRuntime {
|
|
|
5807
5807
|
readonly responseContentType?: string;
|
|
5808
5808
|
readonly responseSchema: V1OperationSchema;
|
|
5809
5809
|
}
|
|
5810
|
-
declare const V1_BASE_URL = "https://api.voffice.be-on.io/api/v1";
|
|
5811
|
-
declare const V1_OPERATIONS: {
|
|
5810
|
+
export declare const V1_BASE_URL = "https://api.voffice.be-on.io/api/v1";
|
|
5811
|
+
export declare const V1_OPERATIONS: {
|
|
5812
5812
|
readonly bookErgoTravelCancellationInsurance: {
|
|
5813
5813
|
readonly method: "POST";
|
|
5814
5814
|
readonly path: "/TravelCancellationInsurance/Ergo/Book";
|
|
@@ -6694,18 +6694,18 @@ declare const V1_OPERATIONS: {
|
|
|
6694
6694
|
}>>;
|
|
6695
6695
|
};
|
|
6696
6696
|
};
|
|
6697
|
-
type V1OperationId = keyof typeof V1_OPERATIONS;
|
|
6698
|
-
interface V1DecodedResponse<TData> {
|
|
6697
|
+
export type V1OperationId = keyof typeof V1_OPERATIONS;
|
|
6698
|
+
export interface V1DecodedResponse<TData> {
|
|
6699
6699
|
readonly data: TData;
|
|
6700
6700
|
readonly raw: unknown;
|
|
6701
6701
|
}
|
|
6702
|
-
interface V1SchemaDecodeError {
|
|
6702
|
+
export interface V1SchemaDecodeError {
|
|
6703
6703
|
readonly _tag: "V1SchemaDecodeError";
|
|
6704
6704
|
readonly operationId: V1OperationId;
|
|
6705
6705
|
readonly raw: unknown;
|
|
6706
6706
|
readonly cause: unknown;
|
|
6707
6707
|
}
|
|
6708
|
-
declare const decodeV1OperationResponse: <const TOperation extends V1OperationId>(operationId: TOperation, raw: unknown) => Effect.Effect<V1DecodedResponse<unknown>, V1SchemaDecodeError>;
|
|
6708
|
+
export declare const decodeV1OperationResponse: <const TOperation extends V1OperationId>(operationId: TOperation, raw: unknown) => Effect.Effect<V1DecodedResponse<unknown>, V1SchemaDecodeError>;
|
|
6709
6709
|
//#endregion
|
|
6710
6710
|
//#region src/legacy-v9/openapi/v1-client.d.ts
|
|
6711
6711
|
interface V1OpenApiClientOptions {
|
|
@@ -6722,7 +6722,7 @@ interface V1OpenApiClientErrorOptions {
|
|
|
6722
6722
|
declare const V1OpenApiClientErrorBase: new (args: V1OpenApiClientErrorOptions) => Error & V1OpenApiClientErrorOptions & {
|
|
6723
6723
|
readonly _tag: "V1OpenApiClientError";
|
|
6724
6724
|
};
|
|
6725
|
-
declare class V1OpenApiClientError extends V1OpenApiClientErrorBase {}
|
|
6725
|
+
export declare class V1OpenApiClientError extends V1OpenApiClientErrorBase {}
|
|
6726
6726
|
type Simplify<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
6727
6727
|
type V1OpenApiOperationId = Extract<V1OperationId, keyof operations>;
|
|
6728
6728
|
type OperationParameters<TOperation extends V1OpenApiOperationId> = operations[TOperation] extends {
|
|
@@ -6766,9 +6766,9 @@ type V1OpenApiOperationResponse<TOperation extends V1OpenApiOperationId> = Opera
|
|
|
6766
6766
|
declare const V1OpenApiClient_base: Context.ServiceClass<V1OpenApiClient, "@v-office/website-sdk/legacy-v9/V1OpenApiClient", {
|
|
6767
6767
|
readonly execute: <const TOperation extends V1OpenApiOperationId>(operationId: TOperation, request: V1OpenApiOperationRequest<TOperation>) => Effect.Effect<V1DecodedResponse<V1OpenApiOperationResponse<TOperation>>, V1OpenApiClientError>;
|
|
6768
6768
|
}>;
|
|
6769
|
-
declare class V1OpenApiClient extends V1OpenApiClient_base {}
|
|
6770
|
-
declare const makeV1OpenApiClientLive: (options: V1OpenApiClientOptions) => Layer.Layer<V1OpenApiClient, never, HttpClient.HttpClient>;
|
|
6771
|
-
declare const makeV1OpenApiClientFetchLive: (options: V1OpenApiClientOptions) => Layer.Layer<V1OpenApiClient, never, never>;
|
|
6769
|
+
export declare class V1OpenApiClient extends V1OpenApiClient_base {}
|
|
6770
|
+
export declare const makeV1OpenApiClientLive: (options: V1OpenApiClientOptions) => Layer.Layer<V1OpenApiClient, never, HttpClient.HttpClient>;
|
|
6771
|
+
export declare const makeV1OpenApiClientFetchLive: (options: V1OpenApiClientOptions) => Layer.Layer<V1OpenApiClient, never, never>;
|
|
6772
6772
|
//#endregion
|
|
6773
6773
|
//#region codegen/v9/heuristic-generation/v9-data.d.ts
|
|
6774
6774
|
type KnownDataAttribute<TData> = Extract<keyof TData, string>;
|
|
@@ -7477,30 +7477,30 @@ type VofficeTotalRatingDataAttributes = VofficeTotalRatingDataAttribute;
|
|
|
7477
7477
|
type KnownVofficeTotalRatingDataAttribute = KnownDataAttribute<KnownVofficeTotalRatingData>;
|
|
7478
7478
|
//#endregion
|
|
7479
7479
|
//#region codegen/v9/heuristic-generation/public-api.d.ts
|
|
7480
|
-
declare const customDataAttribute: <const TName extends string>(name: TName) => CustomDataAttribute<TName>;
|
|
7481
|
-
type DefineDataAttributes<TData> = <const TAttributes extends readonly DataAttribute<TData>[]>(attributes: TAttributes) => TAttributes;
|
|
7482
|
-
declare const defineDataAttributes: <TData>() => DefineDataAttributes<TData>;
|
|
7483
|
-
declare const defineVofficeUnitDataAttributes: DefineDataAttributes<KnownVofficeUnitData>;
|
|
7484
|
-
declare const defineVofficeImageDataAttributes: DefineDataAttributes<KnownVofficeImageData>;
|
|
7485
|
-
declare const defineVofficeFacilityDataAttributes: DefineDataAttributes<KnownVofficeFacilityData>;
|
|
7486
|
-
declare const defineVofficeServiceDataAttributes: DefineDataAttributes<KnownVofficeServiceData>;
|
|
7487
|
-
declare const defineVofficePriceDataAttributes: DefineDataAttributes<KnownVofficePriceData>;
|
|
7488
|
-
declare const defineVofficeFeedbackDataAttributes: DefineDataAttributes<KnownVofficeFeedbackData>;
|
|
7489
|
-
declare const defineVofficeOfferDataAttributes: DefineDataAttributes<KnownVofficeOfferData>;
|
|
7490
|
-
declare const defineVofficeRatingDataAttributes: DefineDataAttributes<KnownVofficeRatingData>;
|
|
7491
|
-
declare const defineVofficeTotalRatingDataAttributes: DefineDataAttributes<KnownVofficeTotalRatingData>;
|
|
7480
|
+
export declare const customDataAttribute: <const TName extends string>(name: TName) => CustomDataAttribute<TName>;
|
|
7481
|
+
export type DefineDataAttributes<TData> = <const TAttributes extends readonly DataAttribute<TData>[]>(attributes: TAttributes) => TAttributes;
|
|
7482
|
+
export declare const defineDataAttributes: <TData>() => DefineDataAttributes<TData>;
|
|
7483
|
+
export declare const defineVofficeUnitDataAttributes: DefineDataAttributes<KnownVofficeUnitData>;
|
|
7484
|
+
export declare const defineVofficeImageDataAttributes: DefineDataAttributes<KnownVofficeImageData>;
|
|
7485
|
+
export declare const defineVofficeFacilityDataAttributes: DefineDataAttributes<KnownVofficeFacilityData>;
|
|
7486
|
+
export declare const defineVofficeServiceDataAttributes: DefineDataAttributes<KnownVofficeServiceData>;
|
|
7487
|
+
export declare const defineVofficePriceDataAttributes: DefineDataAttributes<KnownVofficePriceData>;
|
|
7488
|
+
export declare const defineVofficeFeedbackDataAttributes: DefineDataAttributes<KnownVofficeFeedbackData>;
|
|
7489
|
+
export declare const defineVofficeOfferDataAttributes: DefineDataAttributes<KnownVofficeOfferData>;
|
|
7490
|
+
export declare const defineVofficeRatingDataAttributes: DefineDataAttributes<KnownVofficeRatingData>;
|
|
7491
|
+
export declare const defineVofficeTotalRatingDataAttributes: DefineDataAttributes<KnownVofficeTotalRatingData>;
|
|
7492
7492
|
//#endregion
|
|
7493
7493
|
//#region src/index.d.ts
|
|
7494
|
-
type InitialAvailabilityInput = AvailabilityGetInitialAvailabilityInput$1;
|
|
7495
|
-
type InitialAvailabilityOutput = AvailabilityGetInitialAvailabilityOutput$1;
|
|
7496
|
-
type StartDateSelectedAvailabilityInput = AvailabilityGetStartDateSelectedAvailabilityInput$1;
|
|
7497
|
-
type StartDateSelectedAvailabilityOutput = AvailabilityGetStartDateSelectedAvailabilityOutput$1;
|
|
7498
|
-
type BookingInput = BookingBookInput$1;
|
|
7499
|
-
type BookingOutput = BookingBookOutput$1;
|
|
7500
|
-
type ContactInput = ContactSubmitInput$1;
|
|
7501
|
-
type RentalRentalsInput = RentalGetRentalsInput$1;
|
|
7502
|
-
type RentalRentalsOutput = RentalGetRentalsOutput$1[number];
|
|
7503
|
-
type RentalSearchInput = SearchSearchInput$1;
|
|
7504
|
-
type RentalSearchOutput = SearchSearchOutput$1;
|
|
7494
|
+
export type InitialAvailabilityInput = AvailabilityGetInitialAvailabilityInput$1;
|
|
7495
|
+
export type InitialAvailabilityOutput = AvailabilityGetInitialAvailabilityOutput$1;
|
|
7496
|
+
export type StartDateSelectedAvailabilityInput = AvailabilityGetStartDateSelectedAvailabilityInput$1;
|
|
7497
|
+
export type StartDateSelectedAvailabilityOutput = AvailabilityGetStartDateSelectedAvailabilityOutput$1;
|
|
7498
|
+
export type BookingInput = BookingBookInput$1;
|
|
7499
|
+
export type BookingOutput = BookingBookOutput$1;
|
|
7500
|
+
export type ContactInput = ContactSubmitInput$1;
|
|
7501
|
+
export type RentalRentalsInput = RentalGetRentalsInput$1;
|
|
7502
|
+
export type RentalRentalsOutput = RentalGetRentalsOutput$1[number];
|
|
7503
|
+
export type RentalSearchInput = SearchSearchInput$1;
|
|
7504
|
+
export type RentalSearchOutput = SearchSearchOutput$1;
|
|
7505
7505
|
//#endregion
|
|
7506
|
-
export { AdditionalServiceLimitExceeded,
|
|
7506
|
+
export { AdditionalServiceLimitExceeded, type AvailabilityGetInitialAvailabilityInput, type AvailabilityGetInitialAvailabilityOutput, type AvailabilityGetStartDateSelectedAvailabilityInput, type AvailabilityGetStartDateSelectedAvailabilityOutput, type BackendKind, type BookingBookInput, type BookingBookOutput, type BookingPayment, type BookingPaymentAlternative, type BookingPaymentOption, type BookingPaymentScheduleItem, type BookingPaymentScheduleKind, type BookingPaymentScheduleLine, CMSError, type ContactSubmitInput, type ContactSubmitOutput, type ContactSubmitValidationIssue, type ContactSubmitValidationIssueCode, CoreSDKError, type CustomAttributeCatalog, type CustomAttributeCatalogDefinitionInput, type CustomAttributeCatalogInput, CustomAttributeCatalogSchema, type CustomAttributeCategoryKey, type CustomAttributeFilterCategoryKey, type CustomAttributeFilterDefinition, type CustomAttributeFilterExpression, type CustomAttributeFilterLabel, type CustomAttributeFilterNumericBounds, type CustomAttributeFilterOption, type CustomAttributeOverridesInput, type CustomAttributeRegistry, type CustomAttributeRegistrySnapshot, type CustomAttributeSelection, type CustomDataAttribute, type DataAttribute, type DocumentsGetTermsAndPrivacyPolicyInput, type DocumentsGetTermsAndPrivacyPolicyOutput, type FilterGetFiltersInput, type FilterGetFiltersOutput, type GeoLocation, type GuestQuote, type GuestQuoteInput, type GuestQuoteInsurance, type GuestQuoteResult, GuestQuoteSchema, type GuestQuoteSelectionResult, type GuestQuoteVoucher, type ImageData, type InsuranceBookingOutput, type InsuranceCustomerInformationInput, type InsurancePaymentInformationInput, type InsurancePaymentOptionOutput, type InsurancePreContractOutput, InvalidAdditionalServiceQuantity, type KnownVofficeFacilityData, type KnownVofficeFacilityDataAttribute, type KnownVofficeFeedbackData, type KnownVofficeFeedbackDataAttribute, type KnownVofficeImageData, type KnownVofficeImageDataAttribute, type KnownVofficeOfferData, type KnownVofficeOfferDataAttribute, type KnownVofficePriceData, type KnownVofficePriceDataAttribute, type KnownVofficeRatingData, type KnownVofficeRatingDataAttribute, type KnownVofficeServiceData, type KnownVofficeServiceDataAttribute, type KnownVofficeTotalRatingData, type KnownVofficeTotalRatingDataAttribute, type KnownVofficeUnitData, type KnownVofficeUnitDataAttribute, type Locale, LocaleSchema, type ParsedJsonData, type ParsedVofficeFacilityData, type ParsedVofficeFeedbackData, type ParsedVofficeImageData, type ParsedVofficeOfferData, type ParsedVofficePriceData, type ParsedVofficeRatingData, type ParsedVofficeServiceData, type ParsedVofficeTotalRatingData, type ParsedVofficeUnitData, type QuoteQuoteInput, type QuoteQuoteOutput, type RentalGetRentalsInput, type RentalGetRentalsOutput, type RentalHighlightPrioritizationKey, type RentalPropertyHighlightPrioritizationKey, type ResolvedCustomAttribute, type ResolvedV9PropertyHighlightSource, type SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, type SearchSearchFieldSort, SearchSearchFieldSortSchema, type SearchSearchInput, SearchSearchInputSchema, type SearchSearchOutput, SearchSearchOutputSchema, type SearchSearchPriceSort, SearchSearchPriceSortSchema, type SearchSearchRandomSort, SearchSearchRandomSortSchema, type SearchSearchRatingSort, SearchSearchRatingSortSchema, type SearchSearchSort, SearchSearchSortSchema, type SearchSortDirection, SearchSortDirectionSchema, type SelectableInsuranceOptionOutput, type SelectedInsuranceInformationInput, type SubmittableBookingPaymentOption, type TranslationOverrides, UnknownAdditionalService, type V0OpenApiClientOptions, type V0OpenApiOperationId, type V0OpenApiOperationRequest, type V0OpenApiOperationResponse, type V1OpenApiClientOptions, type components as V1OpenApiComponents, type V1OpenApiOperationId, type V1OpenApiOperationRequest, type V1OpenApiOperationResponse, type operations as V1OpenApiOperations, type paths as V1OpenApiPaths, type V9OnlyCustomAttributeInput, type V9PropertyHighlightDataAttribute, type V9PropertyHighlightSourceInput, type V9PropertyHighlightSourceRegistry, type V9PropertyHighlightSourcesInput, type V9SearchSearchInput, type V9SearchSearchSort, type VofficeFacilityDataAttribute, type VofficeFacilityDataAttributes, type VofficeFeedbackDataAttribute, type VofficeFeedbackDataAttributes, type VofficeImageDataAttribute, type VofficeImageDataAttributes, type VofficeOfferDataAttribute, type VofficeOfferDataAttributes, type VofficePriceDataAttribute, type VofficePriceDataAttributes, type VofficeRatingDataAttribute, type VofficeRatingDataAttributes, type VofficeServiceDataAttribute, type VofficeServiceDataAttributes, type VofficeTotalRatingDataAttribute, type VofficeTotalRatingDataAttributes, type VofficeUnitDataAttribute, type VofficeUnitDataAttributes, type WebsiteSDK, type WebsiteSDKConfig, type WebsiteSDKOptions, type WebsiteSDKSharedLive, type WebsiteSDKSharedStatic, type WebsiteSDKV10, type WebsiteSDKV10Live, type WebsiteSDKV10Static, type WebsiteSDKV9, type WebsiteSDKV9Live, defineWebsiteSDKOptions as defineCMSSDKOptions, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput };
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.19.0/CHANGELOG.md`: release notes for 2.19.0
|
|
8
|
+
- `versions/2.18.2/CHANGELOG.md`: release notes for 2.18.2
|
|
7
9
|
- `versions/2.18.1/CHANGELOG.md`: release notes for 2.18.1
|
|
8
10
|
- `versions/2.18.0/CHANGELOG.md`: release notes for 2.18.0
|
|
9
11
|
- `versions/2.17.1/CHANGELOG.md`: release notes for 2.17.1
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Migration guides of `@v-office/website-sdk`, newest first. Apply them in order when skipping versions.
|
|
6
6
|
|
|
7
|
+
- `versions/2.19.0/MIGRATION.md`: Migration: 2.18.2 to 2.19.0
|
|
8
|
+
- `versions/2.18.2/MIGRATION.md`: Migration: 2.18.1 to 2.18.2
|
|
7
9
|
- `versions/2.18.1/MIGRATION.md`: Migration: 2.18.0 to 2.18.1
|
|
8
10
|
- `versions/2.18.0/MIGRATION.md`: Migration: 2.17.1 to 2.18.0
|
|
9
11
|
- `versions/2.17.1/MIGRATION.md`: Migration: 2.17.0 to 2.17.1
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog: 2.18.2
|
|
2
|
+
|
|
3
|
+
Maintenance release that repairs the command line entry point. There are no
|
|
4
|
+
functional changes to the SDK.
|
|
5
|
+
|
|
6
|
+
## Fixed
|
|
7
|
+
|
|
8
|
+
- The `website-sdk` binary and the `./cli` export pointed at `dist/cli.mts`,
|
|
9
|
+
a file the build never produced; the bundle is `dist/cli.mjs`. Package
|
|
10
|
+
managers logged a missing-bin warning on every install and the `website-sdk`
|
|
11
|
+
command did not exist. Both now point at `dist/cli.mjs`, so `website-sdk`
|
|
12
|
+
is available after installing the package.
|
|
13
|
+
|
|
14
|
+
## Unchanged
|
|
15
|
+
|
|
16
|
+
- Every public API, type and behavior of 2.18.1.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Migration: 2.18.1 to 2.18.2
|
|
2
|
+
|
|
3
|
+
No changes required.
|
|
4
|
+
|
|
5
|
+
## 1. Upgrade
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @v-office/website-sdk@2.18.2
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
If you worked around the missing binary by running `dist/cli.mjs` directly,
|
|
12
|
+
the `website-sdk` command works again and the workaround can go.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changelog: 2.19.0
|
|
2
|
+
|
|
3
|
+
Moves the website SDK and its core to the Effect 4 release candidate. The
|
|
4
|
+
public API is unchanged. Sites that import `effect` directly must move to the
|
|
5
|
+
release candidate as well.
|
|
6
|
+
|
|
7
|
+
## Changed
|
|
8
|
+
|
|
9
|
+
- `@v-office/sdk-core` is pinned to `1.21.0`, which runs on `effect@4.0.0-rc.115`
|
|
10
|
+
(was `4.0.0-beta.85`). See the core's 1.21.0 notes for the details.
|
|
11
|
+
- `effect` is `4.0.0-rc.115` for the website SDK as well.
|
|
12
|
+
- The `website-sdk` command line uses the release candidate's PascalCase flag
|
|
13
|
+
constructors internally. Every flag keeps its name, type and help text.
|
|
14
|
+
|
|
15
|
+
## Unchanged
|
|
16
|
+
|
|
17
|
+
- Every exported symbol of 2.18.2; the declaration file exposes the same names.
|
|
18
|
+
- The behavior of every capability, the CLI subcommands and their output.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Migration: 2.18.2 to 2.19.0
|
|
2
|
+
|
|
3
|
+
No code changes in calls to the SDK. Sites that import `effect` themselves
|
|
4
|
+
must move to the same release candidate, because `Effect` values from this
|
|
5
|
+
SDK do not typecheck against `Effect` types from the beta.
|
|
6
|
+
|
|
7
|
+
## 1. Upgrade
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
pnpm add @v-office/website-sdk@2.19.0 effect@4.0.0-rc.115
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Skip the `effect` part if your site does not depend on `effect` directly.
|
|
14
|
+
|
|
15
|
+
## 2. Follow the release candidate renames in your own Effect code
|
|
16
|
+
|
|
17
|
+
Only needed where the site uses these APIs itself; the SDK's own exports are
|
|
18
|
+
unchanged:
|
|
19
|
+
|
|
20
|
+
- `Schema.TaggedErrorClass` → `Schema.TaggedError`, `Schema.ErrorClass` → `Schema.Error`
|
|
21
|
+
- `SchemaTransformation.transformOrFail` → `SchemaTransformation.transformEffect`
|
|
22
|
+
- `Schedule.both` → `Schedule.max([...])`, `Schedule.either` → `Schedule.min([...])`
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.19.0/CHANGELOG.md`: release notes for 2.19.0
|
|
8
|
+
- `versions/2.18.2/CHANGELOG.md`: release notes for 2.18.2
|
|
7
9
|
- `versions/2.18.1/CHANGELOG.md`: release notes for 2.18.1
|
|
8
10
|
- `versions/2.18.0/CHANGELOG.md`: release notes for 2.18.0
|
|
9
11
|
- `versions/2.17.1/CHANGELOG.md`: release notes for 2.17.1
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Migration guides of `@v-office/website-sdk`, newest first. Apply them in order when skipping versions.
|
|
6
6
|
|
|
7
|
+
- `versions/2.19.0/MIGRATION.md`: Migration: 2.18.2 to 2.19.0
|
|
8
|
+
- `versions/2.18.2/MIGRATION.md`: Migration: 2.18.1 to 2.18.2
|
|
7
9
|
- `versions/2.18.1/MIGRATION.md`: Migration: 2.18.0 to 2.18.1
|
|
8
10
|
- `versions/2.18.0/MIGRATION.md`: Migration: 2.17.1 to 2.18.0
|
|
9
11
|
- `versions/2.17.1/MIGRATION.md`: Migration: 2.17.0 to 2.17.1
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog: 2.18.2
|
|
2
|
+
|
|
3
|
+
Maintenance release that repairs the command line entry point. There are no
|
|
4
|
+
functional changes to the SDK.
|
|
5
|
+
|
|
6
|
+
## Fixed
|
|
7
|
+
|
|
8
|
+
- The `website-sdk` binary and the `./cli` export pointed at `dist/cli.mts`,
|
|
9
|
+
a file the build never produced; the bundle is `dist/cli.mjs`. Package
|
|
10
|
+
managers logged a missing-bin warning on every install and the `website-sdk`
|
|
11
|
+
command did not exist. Both now point at `dist/cli.mjs`, so `website-sdk`
|
|
12
|
+
is available after installing the package.
|
|
13
|
+
|
|
14
|
+
## Unchanged
|
|
15
|
+
|
|
16
|
+
- Every public API, type and behavior of 2.18.1.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Migration: 2.18.1 to 2.18.2
|
|
2
|
+
|
|
3
|
+
No changes required.
|
|
4
|
+
|
|
5
|
+
## 1. Upgrade
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @v-office/website-sdk@2.18.2
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
If you worked around the missing binary by running `dist/cli.mjs` directly,
|
|
12
|
+
the `website-sdk` command works again and the workaround can go.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changelog: 2.19.0
|
|
2
|
+
|
|
3
|
+
Moves the website SDK and its core to the Effect 4 release candidate. The
|
|
4
|
+
public API is unchanged. Sites that import `effect` directly must move to the
|
|
5
|
+
release candidate as well.
|
|
6
|
+
|
|
7
|
+
## Changed
|
|
8
|
+
|
|
9
|
+
- `@v-office/sdk-core` is pinned to `1.21.0`, which runs on `effect@4.0.0-rc.115`
|
|
10
|
+
(was `4.0.0-beta.85`). See the core's 1.21.0 notes for the details.
|
|
11
|
+
- `effect` is `4.0.0-rc.115` for the website SDK as well.
|
|
12
|
+
- The `website-sdk` command line uses the release candidate's PascalCase flag
|
|
13
|
+
constructors internally. Every flag keeps its name, type and help text.
|
|
14
|
+
|
|
15
|
+
## Unchanged
|
|
16
|
+
|
|
17
|
+
- Every exported symbol of 2.18.2; the declaration file exposes the same names.
|
|
18
|
+
- The behavior of every capability, the CLI subcommands and their output.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Migration: 2.18.2 to 2.19.0
|
|
2
|
+
|
|
3
|
+
No code changes in calls to the SDK. Sites that import `effect` themselves
|
|
4
|
+
must move to the same release candidate, because `Effect` values from this
|
|
5
|
+
SDK do not typecheck against `Effect` types from the beta.
|
|
6
|
+
|
|
7
|
+
## 1. Upgrade
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
pnpm add @v-office/website-sdk@2.19.0 effect@4.0.0-rc.115
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Skip the `effect` part if your site does not depend on `effect` directly.
|
|
14
|
+
|
|
15
|
+
## 2. Follow the release candidate renames in your own Effect code
|
|
16
|
+
|
|
17
|
+
Only needed where the site uses these APIs itself; the SDK's own exports are
|
|
18
|
+
unchanged:
|
|
19
|
+
|
|
20
|
+
- `Schema.TaggedErrorClass` → `Schema.TaggedError`, `Schema.ErrorClass` → `Schema.Error`
|
|
21
|
+
- `SchemaTransformation.transformOrFail` → `SchemaTransformation.transformEffect`
|
|
22
|
+
- `Schedule.both` → `Schedule.max([...])`, `Schedule.either` → `Schedule.min([...])`
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-office/website-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"description": "Website-facing SDK facade backed by @v-office/sdk-core",
|
|
5
5
|
"bin": {
|
|
6
|
-
"website-sdk": "./dist/cli.
|
|
6
|
+
"website-sdk": "./dist/cli.mjs"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"exports": {
|
|
35
35
|
".": "./dist/index.mjs",
|
|
36
36
|
"./capabilities/*": "./dist/capabilities/*.mjs",
|
|
37
|
-
"./cli": "./dist/cli.
|
|
37
|
+
"./cli": "./dist/cli.mjs",
|
|
38
38
|
"./package.json": "./package.json"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
45
|
-
"@v-office/sdk-core": "1.
|
|
46
|
-
"effect": "4.0.0-
|
|
45
|
+
"@v-office/sdk-core": "1.21.0",
|
|
46
|
+
"effect": "4.0.0-rc.115",
|
|
47
47
|
"graphql": "17.0.2",
|
|
48
48
|
"yaml": "^2.9.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@effect/tsgo": "0.
|
|
52
|
-
"@graphql-codegen/cli": "7.
|
|
53
|
-
"@graphql-codegen/client-preset": "6.
|
|
54
|
-
"@types/node": "26.1
|
|
55
|
-
"oxfmt": "0.
|
|
56
|
-
"oxlint": "1.
|
|
57
|
-
"tsdown": "0.
|
|
51
|
+
"@effect/tsgo": "0.45.0",
|
|
52
|
+
"@graphql-codegen/cli": "7.4.1",
|
|
53
|
+
"@graphql-codegen/client-preset": "6.2.0",
|
|
54
|
+
"@types/node": "26.5.1",
|
|
55
|
+
"oxfmt": "0.67.0",
|
|
56
|
+
"oxlint": "1.82.0",
|
|
57
|
+
"tsdown": "0.23.0",
|
|
58
58
|
"typescript": "7.0.2"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"playground": "pnpm run build && node --env-file=.env playground/index.ts",
|
|
66
66
|
"playground:json": "pnpm run build && node --env-file=.env playground/json.ts",
|
|
67
67
|
"playground:parser": "node playground/query-parser.ts",
|
|
68
|
-
"cli": "node --env-file=.env dist/cli.
|
|
68
|
+
"cli": "node --env-file=.env dist/cli.mjs",
|
|
69
69
|
"build": "tsdown",
|
|
70
70
|
"codegen:v9:properties": "node codegen/v9/heuristic-generation/generate/index.ts && oxfmt codegen/v9/heuristic-generation/v9-data.ts",
|
|
71
71
|
"codegen:v9:graphql": "graphql-codegen --config codegen/v9/graphql-codegen/codegen.ts",
|