ce-storefront 0.3.5 → 0.3.7
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/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/analyticsevent.d.ts +8 -8
- package/esm/models/components/analyticsevent.d.ts.map +1 -1
- package/esm/models/components/analyticsevent.js +12 -12
- package/esm/models/components/analyticsevent.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +125 -0
- package/esm/models/components/associatedoption.d.ts.map +1 -0
- package/esm/models/components/associatedoption.js +107 -0
- package/esm/models/components/associatedoption.js.map +1 -0
- package/esm/models/components/bundleproduct.d.ts +236 -0
- package/esm/models/components/bundleproduct.d.ts.map +1 -0
- package/esm/models/components/bundleproduct.js +262 -0
- package/esm/models/components/bundleproduct.js.map +1 -0
- package/esm/models/components/bundleproductdetail.d.ts +265 -0
- package/esm/models/components/bundleproductdetail.d.ts.map +1 -0
- package/esm/models/components/bundleproductdetail.js +288 -0
- package/esm/models/components/bundleproductdetail.js.map +1 -0
- package/esm/models/components/cart.d.ts +15 -15
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +15 -15
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -2
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -4
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -2
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -4
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -5
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -4
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/index.d.ts +8 -6
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +8 -6
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +97 -64
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +67 -128
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +2 -2
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +2 -2
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +16 -188
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +26 -228
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productlistresponse.d.ts +49 -3
- package/esm/models/components/productlistresponse.d.ts.map +1 -1
- package/esm/models/components/productlistresponse.js +65 -3
- package/esm/models/components/productlistresponse.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +13 -15
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +14 -18
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/{promotion.d.ts → promotiondetail.d.ts} +29 -29
- package/esm/models/components/promotiondetail.d.ts.map +1 -0
- package/esm/models/components/{promotion.js → promotiondetail.js} +29 -29
- package/esm/models/components/promotiondetail.js.map +1 -0
- package/esm/models/components/seo.d.ts +6 -6
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +6 -19
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/{product.d.ts → singleproduct.d.ts} +52 -75
- package/esm/models/components/singleproduct.d.ts.map +1 -0
- package/esm/models/components/{product.js → singleproduct.js} +37 -95
- package/esm/models/components/singleproduct.js.map +1 -0
- package/esm/models/components/singleproductdetail.d.ts +159 -0
- package/esm/models/components/singleproductdetail.d.ts.map +1 -0
- package/esm/models/components/singleproductdetail.js +156 -0
- package/esm/models/components/singleproductdetail.js.map +1 -0
- package/esm/models/components/{skuinfo.d.ts → sku.d.ts} +59 -48
- package/esm/models/components/sku.d.ts.map +1 -0
- package/esm/models/components/{skuinfo.js → sku.js} +67 -57
- package/esm/models/components/sku.js.map +1 -0
- package/esm/models/components/variant.d.ts +42 -72
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +39 -82
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +101 -68
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +99 -71
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +118 -0
- package/esm/models/components/variantoption.d.ts.map +1 -0
- package/esm/models/components/variantoption.js +114 -0
- package/esm/models/components/variantoption.js.map +1 -0
- package/esm/models/components/volumebasedpromotion.d.ts +0 -5
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -4
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/operations/getpromotions.d.ts +2 -2
- package/esm/models/operations/getpromotions.d.ts.map +1 -1
- package/esm/models/operations/getpromotions.js +2 -2
- package/esm/models/operations/getpromotions.js.map +1 -1
- package/esm/models/operations/getskus.d.ts +2 -2
- package/esm/models/operations/getskus.d.ts.map +1 -1
- package/esm/models/operations/getskus.js +2 -2
- package/esm/models/operations/getskus.js.map +1 -1
- package/esm/models/operations/getwishtlist.d.ts +2 -2
- package/esm/models/operations/getwishtlist.d.ts.map +1 -1
- package/esm/models/operations/getwishtlist.js +2 -2
- package/esm/models/operations/getwishtlist.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/analyticsevent.ts +16 -15
- package/src/models/components/associatedoption.ts +217 -0
- package/src/models/components/bundleproduct.ts +501 -0
- package/src/models/components/bundleproductdetail.ts +567 -0
- package/src/models/components/cart.ts +24 -24
- package/src/models/components/discountbasedpromotion.ts +0 -6
- package/src/models/components/fixedpricepromotion.ts +0 -6
- package/src/models/components/freegoodspromotion.ts +0 -9
- package/src/models/components/index.ts +8 -6
- package/src/models/components/productattribute.ts +162 -188
- package/src/models/components/productcategory.ts +4 -4
- package/src/models/components/productdetail.ts +52 -475
- package/src/models/components/productlistresponse.ts +147 -9
- package/src/models/components/productshipping.ts +27 -33
- package/src/models/components/{promotion.ts → promotiondetail.ts} +47 -45
- package/src/models/components/seo.ts +12 -25
- package/src/models/components/singleproduct.ts +269 -0
- package/src/models/components/singleproductdetail.ts +339 -0
- package/src/models/components/sku.ts +252 -0
- package/src/models/components/variant.ts +81 -170
- package/src/models/components/variantdetail.ts +189 -168
- package/src/models/components/variantoption.ts +214 -0
- package/src/models/components/volumebasedpromotion.ts +0 -9
- package/src/models/operations/getpromotions.ts +4 -4
- package/src/models/operations/getskus.ts +4 -4
- package/src/models/operations/getwishtlist.ts +4 -4
- package/esm/models/components/product.d.ts.map +0 -1
- package/esm/models/components/product.js.map +0 -1
- package/esm/models/components/productbundleitem.d.ts +0 -47
- package/esm/models/components/productbundleitem.d.ts.map +0 -1
- package/esm/models/components/productbundleitem.js +0 -66
- package/esm/models/components/productbundleitem.js.map +0 -1
- package/esm/models/components/productpackaging.d.ts +0 -68
- package/esm/models/components/productpackaging.d.ts.map +0 -1
- package/esm/models/components/productpackaging.js +0 -88
- package/esm/models/components/productpackaging.js.map +0 -1
- package/esm/models/components/promotion.d.ts.map +0 -1
- package/esm/models/components/promotion.js.map +0 -1
- package/esm/models/components/saleschannel.d.ts +0 -39
- package/esm/models/components/saleschannel.d.ts.map +0 -1
- package/esm/models/components/saleschannel.js +0 -53
- package/esm/models/components/saleschannel.js.map +0 -1
- package/esm/models/components/skuinfo.d.ts.map +0 -1
- package/esm/models/components/skuinfo.js.map +0 -1
- package/src/models/components/product.ts +0 -363
- package/src/models/components/productbundleitem.ts +0 -127
- package/src/models/components/productpackaging.ts +0 -162
- package/src/models/components/saleschannel.ts +0 -96
- package/src/models/components/skuinfo.ts +0 -237
|
@@ -29,7 +29,7 @@ export type GetSkusRequest = {
|
|
|
29
29
|
sku?: Array<string> | undefined;
|
|
30
30
|
};
|
|
31
31
|
export type Content = {
|
|
32
|
-
skus?: Array<components.
|
|
32
|
+
skus?: Array<components.Sku> | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* pagination metadata structure
|
|
35
35
|
*/
|
|
@@ -74,7 +74,7 @@ export declare function getSkusRequestFromJSON(jsonString: string): SafeParseRes
|
|
|
74
74
|
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
75
75
|
/** @internal */
|
|
76
76
|
export type Content$Outbound = {
|
|
77
|
-
skus?: Array<components.
|
|
77
|
+
skus?: Array<components.Sku$Outbound> | undefined;
|
|
78
78
|
pagination?: components.Pagination$Outbound | undefined;
|
|
79
79
|
};
|
|
80
80
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getskus.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getskus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAA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R;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -54,12 +54,12 @@ export function getSkusRequestFromJSON(jsonString) {
|
|
|
54
54
|
}
|
|
55
55
|
/** @internal */
|
|
56
56
|
export const Content$inboundSchema = z.object({
|
|
57
|
-
skus: z.array(components.
|
|
57
|
+
skus: z.array(components.Sku$inboundSchema).optional(),
|
|
58
58
|
pagination: components.Pagination$inboundSchema.optional(),
|
|
59
59
|
});
|
|
60
60
|
/** @internal */
|
|
61
61
|
export const Content$outboundSchema = z.object({
|
|
62
|
-
skus: z.array(components.
|
|
62
|
+
skus: z.array(components.Sku$outboundSchema).optional(),
|
|
63
63
|
pagination: components.Pagination$outboundSchema.optional(),
|
|
64
64
|
});
|
|
65
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getskus.js","sourceRoot":"","sources":["../../../src/models/operations/getskus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AA+CrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC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AC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type GetWishtlistRequest = {
|
|
|
9
9
|
userId: string;
|
|
10
10
|
};
|
|
11
11
|
export type GetWishtlistContent = {
|
|
12
|
-
products?: Array<components.
|
|
12
|
+
products?: Array<components.Sku> | undefined;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* OK
|
|
@@ -45,7 +45,7 @@ export declare function getWishtlistRequestFromJSON(jsonString: string): SafePar
|
|
|
45
45
|
export declare const GetWishtlistContent$inboundSchema: z.ZodType<GetWishtlistContent, z.ZodTypeDef, unknown>;
|
|
46
46
|
/** @internal */
|
|
47
47
|
export type GetWishtlistContent$Outbound = {
|
|
48
|
-
products?: Array<components.
|
|
48
|
+
products?: Array<components.Sku$Outbound> | undefined;
|
|
49
49
|
};
|
|
50
50
|
/** @internal */
|
|
51
51
|
export declare const GetWishtlistContent$outboundSchema: z.ZodType<GetWishtlistContent$Outbound, z.ZodTypeDef, GetWishtlistContent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getwishtlist.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getwishtlist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"getwishtlist.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E,4BAA4B,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAKxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -40,11 +40,11 @@ export function getWishtlistRequestFromJSON(jsonString) {
|
|
|
40
40
|
}
|
|
41
41
|
/** @internal */
|
|
42
42
|
export const GetWishtlistContent$inboundSchema = z.object({
|
|
43
|
-
products: z.array(components.
|
|
43
|
+
products: z.array(components.Sku$inboundSchema).optional(),
|
|
44
44
|
});
|
|
45
45
|
/** @internal */
|
|
46
46
|
export const GetWishtlistContent$outboundSchema = z.object({
|
|
47
|
-
products: z.array(components.
|
|
47
|
+
products: z.array(components.Sku$outboundSchema).optional(),
|
|
48
48
|
});
|
|
49
49
|
/**
|
|
50
50
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getwishtlist.js","sourceRoot":"","sources":["../../../src/models/operations/getwishtlist.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,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DKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "1.0",
|
|
77
|
-
sdkVersion: "0.3.
|
|
78
|
-
genVersion: "2.495.
|
|
79
|
-
userAgent: "speakeasy-sdk/typescript 0.3.
|
|
77
|
+
sdkVersion: "0.3.7",
|
|
78
|
+
genVersion: "2.495.1",
|
|
79
|
+
userAgent: "speakeasy-sdk/typescript 0.3.7 2.495.1 1.0 ce-storefront",
|
|
80
80
|
} as const;
|
|
@@ -8,10 +8,10 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const
|
|
11
|
+
export const AnalyticsEventType = {
|
|
12
12
|
Track: "track",
|
|
13
13
|
} as const;
|
|
14
|
-
export type
|
|
14
|
+
export type AnalyticsEventType = ClosedEnum<typeof AnalyticsEventType>;
|
|
15
15
|
|
|
16
16
|
export const Channel = {
|
|
17
17
|
Website: "website",
|
|
@@ -36,7 +36,7 @@ export type AnalyticsEvent = {
|
|
|
36
36
|
* event name
|
|
37
37
|
*/
|
|
38
38
|
event: string;
|
|
39
|
-
type:
|
|
39
|
+
type: AnalyticsEventType;
|
|
40
40
|
/**
|
|
41
41
|
* commercengine user id
|
|
42
42
|
*/
|
|
@@ -62,23 +62,24 @@ export type AnalyticsEvent = {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
65
|
-
export const
|
|
66
|
-
|
|
67
|
-
);
|
|
65
|
+
export const AnalyticsEventType$inboundSchema: z.ZodNativeEnum<
|
|
66
|
+
typeof AnalyticsEventType
|
|
67
|
+
> = z.nativeEnum(AnalyticsEventType);
|
|
68
68
|
|
|
69
69
|
/** @internal */
|
|
70
|
-
export const
|
|
71
|
-
|
|
70
|
+
export const AnalyticsEventType$outboundSchema: z.ZodNativeEnum<
|
|
71
|
+
typeof AnalyticsEventType
|
|
72
|
+
> = AnalyticsEventType$inboundSchema;
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
75
|
* @internal
|
|
75
76
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
77
|
*/
|
|
77
|
-
export namespace
|
|
78
|
-
/** @deprecated use `
|
|
79
|
-
export const inboundSchema =
|
|
80
|
-
/** @deprecated use `
|
|
81
|
-
export const outboundSchema =
|
|
78
|
+
export namespace AnalyticsEventType$ {
|
|
79
|
+
/** @deprecated use `AnalyticsEventType$inboundSchema` instead. */
|
|
80
|
+
export const inboundSchema = AnalyticsEventType$inboundSchema;
|
|
81
|
+
/** @deprecated use `AnalyticsEventType$outboundSchema` instead. */
|
|
82
|
+
export const outboundSchema = AnalyticsEventType$outboundSchema;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
/** @internal */
|
|
@@ -201,7 +202,7 @@ export const AnalyticsEvent$inboundSchema: z.ZodType<
|
|
|
201
202
|
unknown
|
|
202
203
|
> = z.object({
|
|
203
204
|
event: z.string(),
|
|
204
|
-
type:
|
|
205
|
+
type: AnalyticsEventType$inboundSchema,
|
|
205
206
|
userId: z.string(),
|
|
206
207
|
channel: Channel$inboundSchema,
|
|
207
208
|
context: z.lazy(() => Context$inboundSchema),
|
|
@@ -231,7 +232,7 @@ export const AnalyticsEvent$outboundSchema: z.ZodType<
|
|
|
231
232
|
AnalyticsEvent
|
|
232
233
|
> = z.object({
|
|
233
234
|
event: z.string(),
|
|
234
|
-
type:
|
|
235
|
+
type: AnalyticsEventType$outboundSchema,
|
|
235
236
|
userId: z.string(),
|
|
236
237
|
channel: Channel$outboundSchema,
|
|
237
238
|
context: z.lazy(() => Context$outboundSchema),
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type Color = {
|
|
12
|
+
/**
|
|
13
|
+
* The name of the color.
|
|
14
|
+
*/
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* The hex code of the color (e.g., #000000).
|
|
18
|
+
*/
|
|
19
|
+
hexcode?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type Value = Color | string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The type of the associated option.
|
|
26
|
+
*/
|
|
27
|
+
export const Type = {
|
|
28
|
+
Color: "color",
|
|
29
|
+
SingleSelect: "single-select",
|
|
30
|
+
} as const;
|
|
31
|
+
/**
|
|
32
|
+
* The type of the associated option.
|
|
33
|
+
*/
|
|
34
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
35
|
+
|
|
36
|
+
export type AssociatedOption = {
|
|
37
|
+
/**
|
|
38
|
+
* The name of the associated option.
|
|
39
|
+
*/
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
value?: Color | string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The type of the associated option.
|
|
44
|
+
*/
|
|
45
|
+
type?: Type | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const Color$inboundSchema: z.ZodType<Color, z.ZodTypeDef, unknown> = z
|
|
50
|
+
.object({
|
|
51
|
+
name: z.string().optional(),
|
|
52
|
+
hexcode: z.string().optional(),
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type Color$Outbound = {
|
|
57
|
+
name?: string | undefined;
|
|
58
|
+
hexcode?: string | undefined;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const Color$outboundSchema: z.ZodType<
|
|
63
|
+
Color$Outbound,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
Color
|
|
66
|
+
> = z.object({
|
|
67
|
+
name: z.string().optional(),
|
|
68
|
+
hexcode: z.string().optional(),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export namespace Color$ {
|
|
76
|
+
/** @deprecated use `Color$inboundSchema` instead. */
|
|
77
|
+
export const inboundSchema = Color$inboundSchema;
|
|
78
|
+
/** @deprecated use `Color$outboundSchema` instead. */
|
|
79
|
+
export const outboundSchema = Color$outboundSchema;
|
|
80
|
+
/** @deprecated use `Color$Outbound` instead. */
|
|
81
|
+
export type Outbound = Color$Outbound;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function colorToJSON(color: Color): string {
|
|
85
|
+
return JSON.stringify(Color$outboundSchema.parse(color));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function colorFromJSON(
|
|
89
|
+
jsonString: string,
|
|
90
|
+
): SafeParseResult<Color, SDKValidationError> {
|
|
91
|
+
return safeParse(
|
|
92
|
+
jsonString,
|
|
93
|
+
(x) => Color$inboundSchema.parse(JSON.parse(x)),
|
|
94
|
+
`Failed to parse 'Color' from JSON`,
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
|
|
100
|
+
.union([z.lazy(() => Color$inboundSchema), z.string()]);
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export type Value$Outbound = Color$Outbound | string;
|
|
104
|
+
|
|
105
|
+
/** @internal */
|
|
106
|
+
export const Value$outboundSchema: z.ZodType<
|
|
107
|
+
Value$Outbound,
|
|
108
|
+
z.ZodTypeDef,
|
|
109
|
+
Value
|
|
110
|
+
> = z.union([z.lazy(() => Color$outboundSchema), z.string()]);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
115
|
+
*/
|
|
116
|
+
export namespace Value$ {
|
|
117
|
+
/** @deprecated use `Value$inboundSchema` instead. */
|
|
118
|
+
export const inboundSchema = Value$inboundSchema;
|
|
119
|
+
/** @deprecated use `Value$outboundSchema` instead. */
|
|
120
|
+
export const outboundSchema = Value$outboundSchema;
|
|
121
|
+
/** @deprecated use `Value$Outbound` instead. */
|
|
122
|
+
export type Outbound = Value$Outbound;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function valueToJSON(value: Value): string {
|
|
126
|
+
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function valueFromJSON(
|
|
130
|
+
jsonString: string,
|
|
131
|
+
): SafeParseResult<Value, SDKValidationError> {
|
|
132
|
+
return safeParse(
|
|
133
|
+
jsonString,
|
|
134
|
+
(x) => Value$inboundSchema.parse(JSON.parse(x)),
|
|
135
|
+
`Failed to parse 'Value' from JSON`,
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** @internal */
|
|
140
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
141
|
+
Type,
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
/** @internal */
|
|
145
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
146
|
+
Type$inboundSchema;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
151
|
+
*/
|
|
152
|
+
export namespace Type$ {
|
|
153
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
154
|
+
export const inboundSchema = Type$inboundSchema;
|
|
155
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
156
|
+
export const outboundSchema = Type$outboundSchema;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** @internal */
|
|
160
|
+
export const AssociatedOption$inboundSchema: z.ZodType<
|
|
161
|
+
AssociatedOption,
|
|
162
|
+
z.ZodTypeDef,
|
|
163
|
+
unknown
|
|
164
|
+
> = z.object({
|
|
165
|
+
name: z.string().optional(),
|
|
166
|
+
value: z.union([z.lazy(() => Color$inboundSchema), z.string()]).optional(),
|
|
167
|
+
type: Type$inboundSchema.optional(),
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
/** @internal */
|
|
171
|
+
export type AssociatedOption$Outbound = {
|
|
172
|
+
name?: string | undefined;
|
|
173
|
+
value?: Color$Outbound | string | undefined;
|
|
174
|
+
type?: string | undefined;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/** @internal */
|
|
178
|
+
export const AssociatedOption$outboundSchema: z.ZodType<
|
|
179
|
+
AssociatedOption$Outbound,
|
|
180
|
+
z.ZodTypeDef,
|
|
181
|
+
AssociatedOption
|
|
182
|
+
> = z.object({
|
|
183
|
+
name: z.string().optional(),
|
|
184
|
+
value: z.union([z.lazy(() => Color$outboundSchema), z.string()]).optional(),
|
|
185
|
+
type: Type$outboundSchema.optional(),
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
191
|
+
*/
|
|
192
|
+
export namespace AssociatedOption$ {
|
|
193
|
+
/** @deprecated use `AssociatedOption$inboundSchema` instead. */
|
|
194
|
+
export const inboundSchema = AssociatedOption$inboundSchema;
|
|
195
|
+
/** @deprecated use `AssociatedOption$outboundSchema` instead. */
|
|
196
|
+
export const outboundSchema = AssociatedOption$outboundSchema;
|
|
197
|
+
/** @deprecated use `AssociatedOption$Outbound` instead. */
|
|
198
|
+
export type Outbound = AssociatedOption$Outbound;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export function associatedOptionToJSON(
|
|
202
|
+
associatedOption: AssociatedOption,
|
|
203
|
+
): string {
|
|
204
|
+
return JSON.stringify(
|
|
205
|
+
AssociatedOption$outboundSchema.parse(associatedOption),
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export function associatedOptionFromJSON(
|
|
210
|
+
jsonString: string,
|
|
211
|
+
): SafeParseResult<AssociatedOption, SDKValidationError> {
|
|
212
|
+
return safeParse(
|
|
213
|
+
jsonString,
|
|
214
|
+
(x) => AssociatedOption$inboundSchema.parse(JSON.parse(x)),
|
|
215
|
+
`Failed to parse 'AssociatedOption' from JSON`,
|
|
216
|
+
);
|
|
217
|
+
}
|