@voyant-travel/inventory 0.5.4 → 0.5.6
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/action-ledger.d.ts +5 -5
- package/dist/authoring/extension.d.ts +4 -4
- package/dist/authoring/spec.d.ts +2 -2
- package/dist/booking-extension.js +1 -1
- package/dist/extras/routes.d.ts +470 -119
- package/dist/extras/routes.d.ts.map +1 -1
- package/dist/extras/routes.js +252 -37
- package/dist/extras/schema.d.ts +2 -2
- package/dist/extras/service.d.ts +11 -11
- package/dist/extras/validation.d.ts +37 -37
- package/dist/extras.d.ts +15 -15
- package/dist/extras.js +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/interface.d.ts +4417 -1994
- package/dist/interface.d.ts.map +1 -1
- package/dist/interface.js +0 -1
- package/dist/public-tags-contract.test.d.ts +2 -0
- package/dist/public-tags-contract.test.d.ts.map +1 -0
- package/dist/public-tags-contract.test.js +11 -0
- package/dist/public-taxonomy-contract.test.d.ts +2 -0
- package/dist/public-taxonomy-contract.test.d.ts.map +1 -0
- package/dist/public-taxonomy-contract.test.js +37 -0
- package/dist/routes-associations.d.ts +101 -42
- package/dist/routes-associations.d.ts.map +1 -1
- package/dist/routes-associations.js +177 -38
- package/dist/routes-brochure.d.ts +3 -2
- package/dist/routes-brochure.d.ts.map +1 -1
- package/dist/routes-brochure.js +65 -6
- package/dist/routes-brochure.test.js +1 -1
- package/dist/routes-catalog.d.ts +349 -88
- package/dist/routes-catalog.d.ts.map +1 -1
- package/dist/routes-catalog.js +390 -62
- package/dist/routes-configuration.d.ts +507 -129
- package/dist/routes-configuration.d.ts.map +1 -1
- package/dist/routes-configuration.js +668 -90
- package/dist/routes-content.d.ts +4 -4
- package/dist/routes-content.d.ts.map +1 -1
- package/dist/routes-content.js +44 -6
- package/dist/routes-core.d.ts +307 -66
- package/dist/routes-core.d.ts.map +1 -1
- package/dist/routes-core.js +226 -29
- package/dist/routes-itinerary-translations.d.ts +202 -87
- package/dist/routes-itinerary-translations.d.ts.map +1 -1
- package/dist/routes-itinerary-translations.js +261 -55
- package/dist/routes-itinerary.d.ts +580 -212
- package/dist/routes-itinerary.d.ts.map +1 -1
- package/dist/routes-itinerary.js +655 -129
- package/dist/routes-maintenance.d.ts +21 -9
- package/dist/routes-maintenance.d.ts.map +1 -1
- package/dist/routes-maintenance.js +38 -9
- package/dist/routes-media.d.ts +425 -148
- package/dist/routes-media.d.ts.map +1 -1
- package/dist/routes-media.js +438 -128
- package/dist/routes-merchandising.d.ts +906 -316
- package/dist/routes-merchandising.d.ts.map +1 -1
- package/dist/routes-merchandising.js +945 -125
- package/dist/routes-options.d.ts +356 -115
- package/dist/routes-options.d.ts.map +1 -1
- package/dist/routes-options.js +288 -52
- package/dist/routes-public.d.ts +368 -380
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +256 -40
- package/dist/routes-translations.d.ts +356 -86
- package/dist/routes-translations.d.ts.map +1 -1
- package/dist/routes-translations.js +404 -56
- package/dist/routes.d.ts +4185 -1595
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +8 -3
- package/dist/schema-core.d.ts +1 -1
- package/dist/schema-settings.d.ts +1 -1
- package/dist/service-catalog.d.ts +4 -4
- package/dist/service-core.d.ts +6 -6
- package/dist/service-delivery-formats.d.ts +1 -1
- package/dist/service-destinations.d.ts +3 -3
- package/dist/service-itinerary-translations.d.ts +1 -1
- package/dist/service-itinerary.d.ts +3 -3
- package/dist/service-merchandising.d.ts +5 -5
- package/dist/service-option-translations.d.ts +4 -4
- package/dist/service-options.d.ts +2 -2
- package/dist/service-public.d.ts +12 -12
- package/dist/service-taxonomy.d.ts +4 -4
- package/dist/service.d.ts +41 -41
- package/package.json +10 -9
package/dist/action-ledger.d.ts
CHANGED
|
@@ -38,19 +38,19 @@ export declare function listProductActionLedger(c: Context<Env>): Promise<(Respo
|
|
|
38
38
|
}, 404, "json">) | (Response & import("hono").TypedResponse<{
|
|
39
39
|
data: {
|
|
40
40
|
id: string;
|
|
41
|
+
status: "requested" | "failed" | "expired" | "cancelled" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "reversed" | "compensated" | "superseded";
|
|
41
42
|
actionName: string;
|
|
42
43
|
actionVersion: string;
|
|
43
|
-
actionKind: "
|
|
44
|
-
|
|
45
|
-
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
44
|
+
actionKind: "reverse" | "execute" | "delete" | "create" | "update" | "duplicate" | "read" | "approve" | "reject" | "compensate";
|
|
45
|
+
evaluatedRisk: "medium" | "low" | "high" | "critical";
|
|
46
46
|
actorType: string | null;
|
|
47
|
-
principalType: "
|
|
47
|
+
principalType: "workflow" | "system" | "user" | "api_key" | "agent";
|
|
48
48
|
principalId: string;
|
|
49
49
|
principalSubtype: string | null;
|
|
50
50
|
sessionId: string | null;
|
|
51
51
|
apiTokenId: string | null;
|
|
52
52
|
internalRequest: boolean;
|
|
53
|
-
delegatedByPrincipalType: "
|
|
53
|
+
delegatedByPrincipalType: "workflow" | "system" | "user" | "api_key" | "agent" | null;
|
|
54
54
|
delegatedByPrincipalId: string | null;
|
|
55
55
|
delegationId: string | null;
|
|
56
56
|
callerType: string | null;
|
|
@@ -91,13 +91,12 @@ export declare const inventoryAuthoringRoutes: import("hono/hono-base").HonoBase
|
|
|
91
91
|
id: string;
|
|
92
92
|
name: string;
|
|
93
93
|
status: "draft" | "active" | "archived";
|
|
94
|
-
createdAt: string;
|
|
95
94
|
description: string | null;
|
|
96
95
|
inclusionsHtml: string | null;
|
|
97
96
|
exclusionsHtml: string | null;
|
|
98
97
|
termsHtml: string | null;
|
|
99
98
|
termsShowOnContract: boolean;
|
|
100
|
-
bookingMode: "
|
|
99
|
+
bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
101
100
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
102
101
|
timezone: string | null;
|
|
103
102
|
defaultLanguageTag: string | null;
|
|
@@ -118,6 +117,7 @@ export declare const inventoryAuthoringRoutes: import("hono/hono-base").HonoBase
|
|
|
118
117
|
taxClassId: string | null;
|
|
119
118
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
120
119
|
tags: string[] | null;
|
|
120
|
+
createdAt: string;
|
|
121
121
|
updatedAt: string;
|
|
122
122
|
};
|
|
123
123
|
options: {
|
|
@@ -202,13 +202,12 @@ export declare const catalogAuthoringRoutes: import("hono/hono-base").HonoBase<E
|
|
|
202
202
|
id: string;
|
|
203
203
|
name: string;
|
|
204
204
|
status: "draft" | "active" | "archived";
|
|
205
|
-
createdAt: string;
|
|
206
205
|
description: string | null;
|
|
207
206
|
inclusionsHtml: string | null;
|
|
208
207
|
exclusionsHtml: string | null;
|
|
209
208
|
termsHtml: string | null;
|
|
210
209
|
termsShowOnContract: boolean;
|
|
211
|
-
bookingMode: "
|
|
210
|
+
bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
212
211
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
213
212
|
timezone: string | null;
|
|
214
213
|
defaultLanguageTag: string | null;
|
|
@@ -229,6 +228,7 @@ export declare const catalogAuthoringRoutes: import("hono/hono-base").HonoBase<E
|
|
|
229
228
|
taxClassId: string | null;
|
|
230
229
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
231
230
|
tags: string[] | null;
|
|
231
|
+
createdAt: string;
|
|
232
232
|
updatedAt: string;
|
|
233
233
|
};
|
|
234
234
|
options: {
|
package/dist/authoring/spec.d.ts
CHANGED
|
@@ -295,8 +295,8 @@ export declare const productRowSpecSchema: z.ZodObject<{
|
|
|
295
295
|
termsHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
296
296
|
termsShowOnContract: z.ZodDefault<z.ZodBoolean>;
|
|
297
297
|
bookingMode: z.ZodDefault<z.ZodEnum<{
|
|
298
|
-
date: "date";
|
|
299
298
|
other: "other";
|
|
299
|
+
date: "date";
|
|
300
300
|
date_time: "date_time";
|
|
301
301
|
open: "open";
|
|
302
302
|
stay: "stay";
|
|
@@ -345,8 +345,8 @@ export declare const productGraphSpecSchema: z.ZodObject<{
|
|
|
345
345
|
termsHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
346
|
termsShowOnContract: z.ZodDefault<z.ZodBoolean>;
|
|
347
347
|
bookingMode: z.ZodDefault<z.ZodEnum<{
|
|
348
|
-
date: "date";
|
|
349
348
|
other: "other";
|
|
349
|
+
date: "date";
|
|
350
350
|
date_time: "date_time";
|
|
351
351
|
open: "open";
|
|
352
352
|
stay: "stay";
|