ce-storefront 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -25
- package/docs/sdks/auth/README.md +75 -0
- package/docs/sdks/customers/README.md +1 -80
- package/docs/sdks/customersapi/README.md +322 -0
- package/funcs/authLoginAnonymously.d.ts +16 -0
- package/funcs/authLoginAnonymously.d.ts.map +1 -0
- package/funcs/authLoginAnonymously.js +88 -0
- package/funcs/authLoginAnonymously.js.map +1 -0
- package/funcs/{ordersReturnsList.d.ts → customersAPIGetCustomersId.d.ts} +4 -4
- package/funcs/customersAPIGetCustomersId.d.ts.map +1 -0
- package/funcs/{ordersReturnsList.js → customersAPIGetCustomersId.js} +10 -13
- package/funcs/customersAPIGetCustomersId.js.map +1 -0
- package/funcs/{customersGetRecommendedProducts.d.ts → customersAPIGetRecommendedProducts.d.ts} +3 -3
- package/funcs/customersAPIGetRecommendedProducts.d.ts.map +1 -0
- package/funcs/{customersGetRecommendedProducts.js → customersAPIGetRecommendedProducts.js} +20 -7
- package/funcs/customersAPIGetRecommendedProducts.js.map +1 -0
- package/funcs/customersAPIPostCustomers.d.ts +17 -0
- package/funcs/customersAPIPostCustomers.d.ts.map +1 -0
- package/funcs/customersAPIPostCustomers.js +96 -0
- package/funcs/customersAPIPostCustomers.js.map +1 -0
- package/funcs/customersAPIPutCustomersId.d.ts +16 -0
- package/funcs/customersAPIPutCustomersId.d.ts.map +1 -0
- package/funcs/customersAPIPutCustomersId.js +98 -0
- package/funcs/customersAPIPutCustomersId.js.map +1 -0
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/business.d.ts +31 -0
- package/models/components/business.d.ts.map +1 -0
- package/models/components/business.js +71 -0
- package/models/components/business.js.map +1 -0
- package/models/components/cart.d.ts +1 -1
- package/models/components/cart.d.ts.map +1 -1
- package/models/components/cart.js +5 -5
- package/models/components/cart.js.map +1 -1
- package/models/components/createcustomer.d.ts +29 -0
- package/models/components/createcustomer.d.ts.map +1 -0
- package/models/components/createcustomer.js +54 -0
- package/models/components/createcustomer.js.map +1 -0
- package/models/components/{customeraddress.d.ts → customeraddressinput.d.ts} +29 -29
- package/models/components/customeraddressinput.d.ts.map +1 -0
- package/models/components/{customeraddress.js → customeraddressinput.js} +30 -30
- package/models/components/customeraddressinput.js.map +1 -0
- package/models/components/customerdetail.d.ts +51 -0
- package/models/components/customerdetail.d.ts.map +1 -0
- package/models/components/customerdetail.js +88 -0
- package/models/components/customerdetail.js.map +1 -0
- package/models/components/index.d.ts +6 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -3
- package/models/components/index.js.map +1 -1
- package/models/components/orderdetail.d.ts +1 -1
- package/models/components/orderdetail.d.ts.map +1 -1
- package/models/components/orderdetail.js +5 -5
- package/models/components/orderdetail.js.map +1 -1
- package/models/components/recommendedproduct.d.ts +149 -0
- package/models/components/recommendedproduct.d.ts.map +1 -0
- package/models/components/recommendedproduct.js +230 -0
- package/models/components/recommendedproduct.js.map +1 -0
- package/models/components/updatecustomer.d.ts +26 -0
- package/models/components/updatecustomer.d.ts.map +1 -0
- package/models/components/updatecustomer.js +51 -0
- package/models/components/updatecustomer.js.map +1 -0
- package/models/operations/getcustomersid.d.ts +82 -0
- package/models/operations/getcustomersid.d.ts.map +1 -0
- package/models/operations/getcustomersid.js +106 -0
- package/models/operations/getcustomersid.js.map +1 -0
- package/models/operations/getrecommendedproducts.d.ts +82 -0
- package/models/operations/getrecommendedproducts.d.ts.map +1 -0
- package/models/operations/getrecommendedproducts.js +93 -0
- package/models/operations/getrecommendedproducts.js.map +1 -0
- package/models/operations/index.d.ts +5 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/postauthanonymous.d.ts +101 -0
- package/models/operations/postauthanonymous.d.ts.map +1 -0
- package/models/operations/postauthanonymous.js +124 -0
- package/models/operations/postauthanonymous.js.map +1 -0
- package/models/operations/postcustomers.d.ts +56 -0
- package/models/operations/postcustomers.d.ts.map +1 -0
- package/models/operations/postcustomers.js +87 -0
- package/models/operations/postcustomers.js.map +1 -0
- package/models/operations/putcustomersid.d.ts +84 -0
- package/models/operations/putcustomersid.d.ts.map +1 -0
- package/models/operations/putcustomersid.js +120 -0
- package/models/operations/putcustomersid.js.map +1 -0
- package/package.json +1 -1
- package/sdk/auth.d.ts +8 -0
- package/sdk/auth.d.ts.map +1 -1
- package/sdk/auth.js +11 -0
- package/sdk/auth.js.map +1 -1
- package/sdk/customers.d.ts +1 -9
- package/sdk/customers.d.ts.map +1 -1
- package/sdk/customers.js +0 -11
- package/sdk/customers.js.map +1 -1
- package/sdk/customersapi.d.ts +34 -0
- package/sdk/customersapi.d.ts.map +1 -0
- package/sdk/customersapi.js +52 -0
- package/sdk/customersapi.js.map +1 -0
- package/sdk/orders.d.ts +0 -3
- package/sdk/orders.d.ts.map +1 -1
- package/sdk/orders.js +0 -5
- package/sdk/orders.js.map +1 -1
- package/sdk/sdk.d.ts +5 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +7 -2
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/authLoginAnonymously.ts +112 -0
- package/src/funcs/{ordersReturnsList.ts → customersAPIGetCustomersId.ts} +11 -14
- package/src/funcs/{customersGetRecommendedProducts.ts → customersAPIGetRecommendedProducts.ts} +28 -7
- package/src/funcs/customersAPIPostCustomers.ts +133 -0
- package/src/funcs/customersAPIPutCustomersId.ts +136 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/business.ts +64 -0
- package/src/models/components/cart.ts +1 -1
- package/src/models/components/createcustomer.ts +58 -0
- package/src/models/components/customerdetail.ts +109 -0
- package/src/models/components/index.ts +6 -3
- package/src/models/components/orderdetail.ts +1 -1
- package/src/models/components/recommendedproduct.ts +359 -0
- package/src/models/components/updatecustomer.ts +48 -0
- package/src/models/operations/getcustomersid.ts +153 -0
- package/src/models/operations/getrecommendedproducts.ts +140 -0
- package/src/models/operations/index.ts +5 -2
- package/src/models/operations/postauthanonymous.ts +190 -0
- package/src/models/operations/postcustomers.ts +110 -0
- package/src/models/operations/putcustomersid.ts +169 -0
- package/src/sdk/auth.ts +15 -0
- package/src/sdk/customers.ts +1 -16
- package/src/sdk/customersapi.ts +66 -0
- package/src/sdk/orders.ts +0 -6
- package/src/sdk/sdk.ts +9 -3
- package/docs/sdks/returns/README.md +0 -84
- package/funcs/customersGetRecommendedProducts.d.ts.map +0 -1
- package/funcs/customersGetRecommendedProducts.js.map +0 -1
- package/funcs/ordersReturnsList.d.ts.map +0 -1
- package/funcs/ordersReturnsList.js.map +0 -1
- package/models/components/customeraddress.d.ts.map +0 -1
- package/models/components/customeraddress.js.map +0 -1
- package/models/components/orderreturn.d.ts +0 -59
- package/models/components/orderreturn.d.ts.map +0 -1
- package/models/components/orderreturn.js +0 -165
- package/models/components/orderreturn.js.map +0 -1
- package/models/components/orderreturnitem.d.ts +0 -91
- package/models/components/orderreturnitem.d.ts.map +0 -1
- package/models/components/orderreturnitem.js +0 -130
- package/models/components/orderreturnitem.js.map +0 -1
- package/models/operations/getordersordernumberreturn.d.ts +0 -59
- package/models/operations/getordersordernumberreturn.d.ts.map +0 -1
- package/models/operations/getordersordernumberreturn.js +0 -99
- package/models/operations/getordersordernumberreturn.js.map +0 -1
- package/models/operations/getrecommended.d.ts +0 -56
- package/models/operations/getrecommended.d.ts.map +0 -1
- package/models/operations/getrecommended.js +0 -74
- package/models/operations/getrecommended.js.map +0 -1
- package/sdk/returns.d.ts +0 -12
- package/sdk/returns.d.ts.map +0 -1
- package/sdk/returns.js +0 -22
- package/sdk/returns.js.map +0 -1
- package/src/models/components/orderreturn.ts +0 -198
- package/src/models/components/orderreturnitem.ts +0 -152
- package/src/models/operations/getordersordernumberreturn.ts +0 -125
- package/src/models/operations/getrecommended.ts +0 -97
- package/src/sdk/returns.ts +0 -23
- package/src/models/components/{customeraddress.ts → customeraddressinput.ts} +46 -46
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GetRecommendedProductsResponseBody$ = exports.GetRecommendedProductsResponseBody$outboundSchema = exports.GetRecommendedProductsResponseBody$inboundSchema = exports.GetRecommendedProductsContent$ = exports.GetRecommendedProductsContent$outboundSchema = exports.GetRecommendedProductsContent$inboundSchema = exports.GetRecommendedProductsRequest$ = exports.GetRecommendedProductsRequest$outboundSchema = exports.GetRecommendedProductsRequest$inboundSchema = void 0;
|
|
30
|
+
const components = __importStar(require("../components/index.js"));
|
|
31
|
+
const z = __importStar(require("zod"));
|
|
32
|
+
/** @internal */
|
|
33
|
+
exports.GetRecommendedProductsRequest$inboundSchema = z.object({
|
|
34
|
+
id: z.string(),
|
|
35
|
+
});
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.GetRecommendedProductsRequest$outboundSchema = z.object({
|
|
38
|
+
id: z.string(),
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
var GetRecommendedProductsRequest$;
|
|
45
|
+
(function (GetRecommendedProductsRequest$) {
|
|
46
|
+
/** @deprecated use `GetRecommendedProductsRequest$inboundSchema` instead. */
|
|
47
|
+
GetRecommendedProductsRequest$.inboundSchema = exports.GetRecommendedProductsRequest$inboundSchema;
|
|
48
|
+
/** @deprecated use `GetRecommendedProductsRequest$outboundSchema` instead. */
|
|
49
|
+
GetRecommendedProductsRequest$.outboundSchema = exports.GetRecommendedProductsRequest$outboundSchema;
|
|
50
|
+
})(GetRecommendedProductsRequest$ || (exports.GetRecommendedProductsRequest$ = GetRecommendedProductsRequest$ = {}));
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.GetRecommendedProductsContent$inboundSchema = z.object({
|
|
53
|
+
products: z.array(components.RecommendedProduct$inboundSchema).optional(),
|
|
54
|
+
});
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.GetRecommendedProductsContent$outboundSchema = z.object({
|
|
57
|
+
products: z.array(components.RecommendedProduct$outboundSchema).optional(),
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
var GetRecommendedProductsContent$;
|
|
64
|
+
(function (GetRecommendedProductsContent$) {
|
|
65
|
+
/** @deprecated use `GetRecommendedProductsContent$inboundSchema` instead. */
|
|
66
|
+
GetRecommendedProductsContent$.inboundSchema = exports.GetRecommendedProductsContent$inboundSchema;
|
|
67
|
+
/** @deprecated use `GetRecommendedProductsContent$outboundSchema` instead. */
|
|
68
|
+
GetRecommendedProductsContent$.outboundSchema = exports.GetRecommendedProductsContent$outboundSchema;
|
|
69
|
+
})(GetRecommendedProductsContent$ || (exports.GetRecommendedProductsContent$ = GetRecommendedProductsContent$ = {}));
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.GetRecommendedProductsResponseBody$inboundSchema = z.object({
|
|
72
|
+
message: z.string().optional(),
|
|
73
|
+
success: z.boolean().optional(),
|
|
74
|
+
content: z.lazy(() => exports.GetRecommendedProductsContent$inboundSchema).optional(),
|
|
75
|
+
});
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.GetRecommendedProductsResponseBody$outboundSchema = z.object({
|
|
78
|
+
message: z.string().optional(),
|
|
79
|
+
success: z.boolean().optional(),
|
|
80
|
+
content: z.lazy(() => exports.GetRecommendedProductsContent$outboundSchema).optional(),
|
|
81
|
+
});
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
+
*/
|
|
86
|
+
var GetRecommendedProductsResponseBody$;
|
|
87
|
+
(function (GetRecommendedProductsResponseBody$) {
|
|
88
|
+
/** @deprecated use `GetRecommendedProductsResponseBody$inboundSchema` instead. */
|
|
89
|
+
GetRecommendedProductsResponseBody$.inboundSchema = exports.GetRecommendedProductsResponseBody$inboundSchema;
|
|
90
|
+
/** @deprecated use `GetRecommendedProductsResponseBody$outboundSchema` instead. */
|
|
91
|
+
GetRecommendedProductsResponseBody$.outboundSchema = exports.GetRecommendedProductsResponseBody$outboundSchema;
|
|
92
|
+
})(GetRecommendedProductsResponseBody$ || (exports.GetRecommendedProductsResponseBody$ = GetRecommendedProductsResponseBody$ = {}));
|
|
93
|
+
//# sourceMappingURL=getrecommendedproducts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getrecommendedproducts.js","sourceRoot":"","sources":["../../src/models/operations/getrecommendedproducts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,mEAAqD;AACrD,uCAAyB;AAsBzB,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACT,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACT,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC3C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG/E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACT,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC,QAAQ,EAAE;CAC5E,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACT,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC,QAAQ,EAAE;CAC7E,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC3C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG/E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mDAA2C,CAAC,CAAC,QAAQ,EAAE;CAChF,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oDAA4C,CAAC,CAAC,QAAQ,EAAE;CACjF,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mCAAmC,CAOnD;AAPD,WAAiB,mCAAmC;IAChD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GAAG,yDAAiD,CAAC;AAGpF,CAAC,EAPgB,mCAAmC,mDAAnC,mCAAmC,QAOnD"}
|
|
@@ -17,6 +17,7 @@ export * from "./getcommoncountriesisocodestates.js";
|
|
|
17
17
|
export * from "./getcoupons.js";
|
|
18
18
|
export * from "./getcrosssell.js";
|
|
19
19
|
export * from "./getcustomeraddressid.js";
|
|
20
|
+
export * from "./getcustomersid.js";
|
|
20
21
|
export * from "./getcustomersuseridreviews.js";
|
|
21
22
|
export * from "./getloyaltypoint.js";
|
|
22
23
|
export * from "./getloyaltypointactivity.js";
|
|
@@ -25,7 +26,6 @@ export * from "./getordersid.js";
|
|
|
25
26
|
export * from "./getordersidpayments.js";
|
|
26
27
|
export * from "./getordersidrefunds.js";
|
|
27
28
|
export * from "./getordersidshipments.js";
|
|
28
|
-
export * from "./getordersordernumberreturn.js";
|
|
29
29
|
export * from "./getpaymentspaymentmethods.js";
|
|
30
30
|
export * from "./getproductdetails.js";
|
|
31
31
|
export * from "./getproducts.js";
|
|
@@ -34,7 +34,7 @@ export * from "./getproductsidreviews.js";
|
|
|
34
34
|
export * from "./getproductvariantdetail.js";
|
|
35
35
|
export * from "./getproductvariants.js";
|
|
36
36
|
export * from "./getpromotions.js";
|
|
37
|
-
export * from "./
|
|
37
|
+
export * from "./getrecommendedproducts.js";
|
|
38
38
|
export * from "./getshipmentpincodeserviceability.js";
|
|
39
39
|
export * from "./getsimilar.js";
|
|
40
40
|
export * from "./getskus.js";
|
|
@@ -42,6 +42,7 @@ export * from "./getupsell.js";
|
|
|
42
42
|
export * from "./getwishtlist.js";
|
|
43
43
|
export * from "./postaddress.js";
|
|
44
44
|
export * from "./postapplycoupons.js";
|
|
45
|
+
export * from "./postauthanonymous.js";
|
|
45
46
|
export * from "./postauthchangepassword.js";
|
|
46
47
|
export * from "./postauthforgotpassword.js";
|
|
47
48
|
export * from "./postauthgenerateotp.js";
|
|
@@ -65,6 +66,7 @@ export * from "./postcartitemid.js";
|
|
|
65
66
|
export * from "./postcartsid.js";
|
|
66
67
|
export * from "./postcheckoutredeemgiftcard.js";
|
|
67
68
|
export * from "./postcreditbalance.js";
|
|
69
|
+
export * from "./postcustomers.js";
|
|
68
70
|
export * from "./postcustomersnewslettersubscription.js";
|
|
69
71
|
export * from "./postloyaltypoints.js";
|
|
70
72
|
export * from "./postorder.js";
|
|
@@ -78,4 +80,5 @@ export * from "./putauthuseriddeactivate.js";
|
|
|
78
80
|
export * from "./putauthuseridnotificationpreferences.js";
|
|
79
81
|
export * from "./putauthuseridprofileimage.js";
|
|
80
82
|
export * from "./putcustomeraddressid.js";
|
|
83
|
+
export * from "./putcustomersid.js";
|
|
81
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,sCAAsC,CAAC;AACrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;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A4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0CAA0C,CAAC;AACzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
|
|
@@ -36,6 +36,7 @@ __exportStar(require("./getcommoncountriesisocodestates.js"), exports);
|
|
|
36
36
|
__exportStar(require("./getcoupons.js"), exports);
|
|
37
37
|
__exportStar(require("./getcrosssell.js"), exports);
|
|
38
38
|
__exportStar(require("./getcustomeraddressid.js"), exports);
|
|
39
|
+
__exportStar(require("./getcustomersid.js"), exports);
|
|
39
40
|
__exportStar(require("./getcustomersuseridreviews.js"), exports);
|
|
40
41
|
__exportStar(require("./getloyaltypoint.js"), exports);
|
|
41
42
|
__exportStar(require("./getloyaltypointactivity.js"), exports);
|
|
@@ -44,7 +45,6 @@ __exportStar(require("./getordersid.js"), exports);
|
|
|
44
45
|
__exportStar(require("./getordersidpayments.js"), exports);
|
|
45
46
|
__exportStar(require("./getordersidrefunds.js"), exports);
|
|
46
47
|
__exportStar(require("./getordersidshipments.js"), exports);
|
|
47
|
-
__exportStar(require("./getordersordernumberreturn.js"), exports);
|
|
48
48
|
__exportStar(require("./getpaymentspaymentmethods.js"), exports);
|
|
49
49
|
__exportStar(require("./getproductdetails.js"), exports);
|
|
50
50
|
__exportStar(require("./getproducts.js"), exports);
|
|
@@ -53,7 +53,7 @@ __exportStar(require("./getproductsidreviews.js"), exports);
|
|
|
53
53
|
__exportStar(require("./getproductvariantdetail.js"), exports);
|
|
54
54
|
__exportStar(require("./getproductvariants.js"), exports);
|
|
55
55
|
__exportStar(require("./getpromotions.js"), exports);
|
|
56
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./getrecommendedproducts.js"), exports);
|
|
57
57
|
__exportStar(require("./getshipmentpincodeserviceability.js"), exports);
|
|
58
58
|
__exportStar(require("./getsimilar.js"), exports);
|
|
59
59
|
__exportStar(require("./getskus.js"), exports);
|
|
@@ -61,6 +61,7 @@ __exportStar(require("./getupsell.js"), exports);
|
|
|
61
61
|
__exportStar(require("./getwishtlist.js"), exports);
|
|
62
62
|
__exportStar(require("./postaddress.js"), exports);
|
|
63
63
|
__exportStar(require("./postapplycoupons.js"), exports);
|
|
64
|
+
__exportStar(require("./postauthanonymous.js"), exports);
|
|
64
65
|
__exportStar(require("./postauthchangepassword.js"), exports);
|
|
65
66
|
__exportStar(require("./postauthforgotpassword.js"), exports);
|
|
66
67
|
__exportStar(require("./postauthgenerateotp.js"), exports);
|
|
@@ -84,6 +85,7 @@ __exportStar(require("./postcartitemid.js"), exports);
|
|
|
84
85
|
__exportStar(require("./postcartsid.js"), exports);
|
|
85
86
|
__exportStar(require("./postcheckoutredeemgiftcard.js"), exports);
|
|
86
87
|
__exportStar(require("./postcreditbalance.js"), exports);
|
|
88
|
+
__exportStar(require("./postcustomers.js"), exports);
|
|
87
89
|
__exportStar(require("./postcustomersnewslettersubscription.js"), exports);
|
|
88
90
|
__exportStar(require("./postloyaltypoints.js"), exports);
|
|
89
91
|
__exportStar(require("./postorder.js"), exports);
|
|
@@ -97,4 +99,5 @@ __exportStar(require("./putauthuseriddeactivate.js"), exports);
|
|
|
97
99
|
__exportStar(require("./putauthuseridnotificationpreferences.js"), exports);
|
|
98
100
|
__exportStar(require("./putauthuseridprofileimage.js"), exports);
|
|
99
101
|
__exportStar(require("./putcustomeraddressid.js"), exports);
|
|
102
|
+
__exportStar(require("./putcustomersid.js"), exports);
|
|
100
103
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oEAAkD;AAClD,oDAAkC;AAClC,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AACpC,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,4EAA0D;AAC1D,iEAA+C;AAC/C,+CAA6B;AAC7B,0DAAwC;AACxC,gFAA8D;AAC9D,uEAAqD;AACrD,kDAAgC;AAChC,oDAAkC;AAClC,4DAA0C;AAC1C,iEAA+C;AAC/C,uDAAqC;AACrC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oEAAkD;AAClD,oDAAkC;AAClC,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AACpC,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,4EAA0D;AAC1D,iEAA+C;AAC/C,+CAA6B;AAC7B,0DAAwC;AACxC,gFAA8D;AAC9D,uEAAqD;AACrD,kDAAgC;AAChC,oDAAkC;AAClC,4DAA0C;AAC1C,sDAAoC;AACpC,iEAA+C;AAC/C,uDAAqC;AACrC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC;AACvC,mDAAiC;AACjC,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,wEAAsD;AACtD,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;AAClC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,6EAA2D;AAC3D,kEAAgD;AAChD,kEAAgD;AAChD,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,mDAAiC;AACjC,kEAAgD;AAChD,yDAAuC;AACvC,qDAAmC;AACnC,2EAAyD;AACzD,yDAAuC;AACvC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,+DAA6C;AAC7C,qDAAmC;AACnC,qDAAmC;AACnC,+DAA6C;AAC7C,4EAA0D;AAC1D,iEAA+C;AAC/C,4DAA0C;AAC1C,sDAAoC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as components from "../components/index.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type PostAuthAnonymousSecurity = {
|
|
4
|
+
xApiKey: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* An object containing the response content.
|
|
8
|
+
*/
|
|
9
|
+
export type PostAuthAnonymousContent = {
|
|
10
|
+
user?: components.User | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* It is a string-based token utilized for authentication and authorization.
|
|
13
|
+
*/
|
|
14
|
+
accessToken?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* It is a string-based token designed for refreshing the user's access token.
|
|
17
|
+
*/
|
|
18
|
+
refreshToken?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* OK
|
|
22
|
+
*/
|
|
23
|
+
export type PostAuthAnonymousResponseBody = {
|
|
24
|
+
/**
|
|
25
|
+
* A string containing a descriptive message related to the success or failure of the anonymous user creation or authentication.
|
|
26
|
+
*/
|
|
27
|
+
message?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* A boolean value indicates the success or failure of the anonymous user operation.`true` for success `false` for failure.
|
|
30
|
+
*/
|
|
31
|
+
success?: boolean | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* An object containing the response content.
|
|
34
|
+
*/
|
|
35
|
+
content?: PostAuthAnonymousContent | undefined;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const PostAuthAnonymousSecurity$inboundSchema: z.ZodType<PostAuthAnonymousSecurity, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type PostAuthAnonymousSecurity$Outbound = {
|
|
41
|
+
"X-Api-Key": string;
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const PostAuthAnonymousSecurity$outboundSchema: z.ZodType<PostAuthAnonymousSecurity$Outbound, z.ZodTypeDef, PostAuthAnonymousSecurity>;
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export declare namespace PostAuthAnonymousSecurity$ {
|
|
50
|
+
/** @deprecated use `PostAuthAnonymousSecurity$inboundSchema` instead. */
|
|
51
|
+
const inboundSchema: z.ZodType<PostAuthAnonymousSecurity, z.ZodTypeDef, unknown>;
|
|
52
|
+
/** @deprecated use `PostAuthAnonymousSecurity$outboundSchema` instead. */
|
|
53
|
+
const outboundSchema: z.ZodType<PostAuthAnonymousSecurity$Outbound, z.ZodTypeDef, PostAuthAnonymousSecurity>;
|
|
54
|
+
/** @deprecated use `PostAuthAnonymousSecurity$Outbound` instead. */
|
|
55
|
+
type Outbound = PostAuthAnonymousSecurity$Outbound;
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
export declare const PostAuthAnonymousContent$inboundSchema: z.ZodType<PostAuthAnonymousContent, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type PostAuthAnonymousContent$Outbound = {
|
|
61
|
+
user?: components.User$Outbound | undefined;
|
|
62
|
+
access_token?: string | undefined;
|
|
63
|
+
refresh_token?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
export declare const PostAuthAnonymousContent$outboundSchema: z.ZodType<PostAuthAnonymousContent$Outbound, z.ZodTypeDef, PostAuthAnonymousContent>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
+
*/
|
|
71
|
+
export declare namespace PostAuthAnonymousContent$ {
|
|
72
|
+
/** @deprecated use `PostAuthAnonymousContent$inboundSchema` instead. */
|
|
73
|
+
const inboundSchema: z.ZodType<PostAuthAnonymousContent, z.ZodTypeDef, unknown>;
|
|
74
|
+
/** @deprecated use `PostAuthAnonymousContent$outboundSchema` instead. */
|
|
75
|
+
const outboundSchema: z.ZodType<PostAuthAnonymousContent$Outbound, z.ZodTypeDef, PostAuthAnonymousContent>;
|
|
76
|
+
/** @deprecated use `PostAuthAnonymousContent$Outbound` instead. */
|
|
77
|
+
type Outbound = PostAuthAnonymousContent$Outbound;
|
|
78
|
+
}
|
|
79
|
+
/** @internal */
|
|
80
|
+
export declare const PostAuthAnonymousResponseBody$inboundSchema: z.ZodType<PostAuthAnonymousResponseBody, z.ZodTypeDef, unknown>;
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type PostAuthAnonymousResponseBody$Outbound = {
|
|
83
|
+
message?: string | undefined;
|
|
84
|
+
success?: boolean | undefined;
|
|
85
|
+
content?: PostAuthAnonymousContent$Outbound | undefined;
|
|
86
|
+
};
|
|
87
|
+
/** @internal */
|
|
88
|
+
export declare const PostAuthAnonymousResponseBody$outboundSchema: z.ZodType<PostAuthAnonymousResponseBody$Outbound, z.ZodTypeDef, PostAuthAnonymousResponseBody>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
+
*/
|
|
93
|
+
export declare namespace PostAuthAnonymousResponseBody$ {
|
|
94
|
+
/** @deprecated use `PostAuthAnonymousResponseBody$inboundSchema` instead. */
|
|
95
|
+
const inboundSchema: z.ZodType<PostAuthAnonymousResponseBody, z.ZodTypeDef, unknown>;
|
|
96
|
+
/** @deprecated use `PostAuthAnonymousResponseBody$outboundSchema` instead. */
|
|
97
|
+
const outboundSchema: z.ZodType<PostAuthAnonymousResponseBody$Outbound, z.ZodTypeDef, PostAuthAnonymousResponseBody>;
|
|
98
|
+
/** @deprecated use `PostAuthAnonymousResponseBody$Outbound` instead. */
|
|
99
|
+
type Outbound = PostAuthAnonymousResponseBody$Outbound;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=postauthanonymous.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postauthanonymous.d.ts","sourceRoot":"","sources":["../../src/models/operations/postauthanonymous.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAA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gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC3D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAYtB,CAAC;AAEP;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACvC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC5D;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CAC3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAChE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC5C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CACjE"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostAuthAnonymousResponseBody$ = exports.PostAuthAnonymousResponseBody$outboundSchema = exports.PostAuthAnonymousResponseBody$inboundSchema = exports.PostAuthAnonymousContent$ = exports.PostAuthAnonymousContent$outboundSchema = exports.PostAuthAnonymousContent$inboundSchema = exports.PostAuthAnonymousSecurity$ = exports.PostAuthAnonymousSecurity$outboundSchema = exports.PostAuthAnonymousSecurity$inboundSchema = void 0;
|
|
30
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
+
const components = __importStar(require("../components/index.js"));
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.PostAuthAnonymousSecurity$inboundSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
"X-Api-Key": z.string(),
|
|
37
|
+
})
|
|
38
|
+
.transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
"X-Api-Key": "xApiKey",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.PostAuthAnonymousSecurity$outboundSchema = z
|
|
45
|
+
.object({
|
|
46
|
+
xApiKey: z.string(),
|
|
47
|
+
})
|
|
48
|
+
.transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
xApiKey: "X-Api-Key",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
+
*/
|
|
57
|
+
var PostAuthAnonymousSecurity$;
|
|
58
|
+
(function (PostAuthAnonymousSecurity$) {
|
|
59
|
+
/** @deprecated use `PostAuthAnonymousSecurity$inboundSchema` instead. */
|
|
60
|
+
PostAuthAnonymousSecurity$.inboundSchema = exports.PostAuthAnonymousSecurity$inboundSchema;
|
|
61
|
+
/** @deprecated use `PostAuthAnonymousSecurity$outboundSchema` instead. */
|
|
62
|
+
PostAuthAnonymousSecurity$.outboundSchema = exports.PostAuthAnonymousSecurity$outboundSchema;
|
|
63
|
+
})(PostAuthAnonymousSecurity$ || (exports.PostAuthAnonymousSecurity$ = PostAuthAnonymousSecurity$ = {}));
|
|
64
|
+
/** @internal */
|
|
65
|
+
exports.PostAuthAnonymousContent$inboundSchema = z
|
|
66
|
+
.object({
|
|
67
|
+
user: components.User$inboundSchema.optional(),
|
|
68
|
+
access_token: z.string().optional(),
|
|
69
|
+
refresh_token: z.string().optional(),
|
|
70
|
+
})
|
|
71
|
+
.transform((v) => {
|
|
72
|
+
return (0, primitives_js_1.remap)(v, {
|
|
73
|
+
access_token: "accessToken",
|
|
74
|
+
refresh_token: "refreshToken",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.PostAuthAnonymousContent$outboundSchema = z
|
|
79
|
+
.object({
|
|
80
|
+
user: components.User$outboundSchema.optional(),
|
|
81
|
+
accessToken: z.string().optional(),
|
|
82
|
+
refreshToken: z.string().optional(),
|
|
83
|
+
})
|
|
84
|
+
.transform((v) => {
|
|
85
|
+
return (0, primitives_js_1.remap)(v, {
|
|
86
|
+
accessToken: "access_token",
|
|
87
|
+
refreshToken: "refresh_token",
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
+
*/
|
|
94
|
+
var PostAuthAnonymousContent$;
|
|
95
|
+
(function (PostAuthAnonymousContent$) {
|
|
96
|
+
/** @deprecated use `PostAuthAnonymousContent$inboundSchema` instead. */
|
|
97
|
+
PostAuthAnonymousContent$.inboundSchema = exports.PostAuthAnonymousContent$inboundSchema;
|
|
98
|
+
/** @deprecated use `PostAuthAnonymousContent$outboundSchema` instead. */
|
|
99
|
+
PostAuthAnonymousContent$.outboundSchema = exports.PostAuthAnonymousContent$outboundSchema;
|
|
100
|
+
})(PostAuthAnonymousContent$ || (exports.PostAuthAnonymousContent$ = PostAuthAnonymousContent$ = {}));
|
|
101
|
+
/** @internal */
|
|
102
|
+
exports.PostAuthAnonymousResponseBody$inboundSchema = z.object({
|
|
103
|
+
message: z.string().optional(),
|
|
104
|
+
success: z.boolean().optional(),
|
|
105
|
+
content: z.lazy(() => exports.PostAuthAnonymousContent$inboundSchema).optional(),
|
|
106
|
+
});
|
|
107
|
+
/** @internal */
|
|
108
|
+
exports.PostAuthAnonymousResponseBody$outboundSchema = z.object({
|
|
109
|
+
message: z.string().optional(),
|
|
110
|
+
success: z.boolean().optional(),
|
|
111
|
+
content: z.lazy(() => exports.PostAuthAnonymousContent$outboundSchema).optional(),
|
|
112
|
+
});
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
+
*/
|
|
117
|
+
var PostAuthAnonymousResponseBody$;
|
|
118
|
+
(function (PostAuthAnonymousResponseBody$) {
|
|
119
|
+
/** @deprecated use `PostAuthAnonymousResponseBody$inboundSchema` instead. */
|
|
120
|
+
PostAuthAnonymousResponseBody$.inboundSchema = exports.PostAuthAnonymousResponseBody$inboundSchema;
|
|
121
|
+
/** @deprecated use `PostAuthAnonymousResponseBody$outboundSchema` instead. */
|
|
122
|
+
PostAuthAnonymousResponseBody$.outboundSchema = exports.PostAuthAnonymousResponseBody$outboundSchema;
|
|
123
|
+
})(PostAuthAnonymousResponseBody$ || (exports.PostAuthAnonymousResponseBody$ = PostAuthAnonymousResponseBody$ = {}));
|
|
124
|
+
//# sourceMappingURL=postauthanonymous.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postauthanonymous.js","sourceRoot":"","sources":["../../src/models/operations/postauthanonymous.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAuCzB,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC;KACA,MAAM,CAAC;IACJ,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,WAAW,EAAE,SAAS;KACzB,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAOP,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,WAAW;KACvB,CAAC,CAAC;AACP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,GAAG,+CAAuC,CAAC;AAG1E,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8CAAsC,CAAC,CAAC,QAAQ,EAAE;CAC3E,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,+CAAuC,CAAC,CAAC,QAAQ,EAAE;CAC5E,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC3C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG/E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as components from "../components/index.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type PostCustomersContent = {
|
|
4
|
+
customerDetail?: components.CustomerDetail | undefined;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* OK
|
|
8
|
+
*/
|
|
9
|
+
export type PostCustomersResponseBody = {
|
|
10
|
+
message?: string | undefined;
|
|
11
|
+
success?: boolean | undefined;
|
|
12
|
+
content?: PostCustomersContent | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const PostCustomersContent$inboundSchema: z.ZodType<PostCustomersContent, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type PostCustomersContent$Outbound = {
|
|
18
|
+
customer_detail?: components.CustomerDetail$Outbound | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const PostCustomersContent$outboundSchema: z.ZodType<PostCustomersContent$Outbound, z.ZodTypeDef, PostCustomersContent>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace PostCustomersContent$ {
|
|
27
|
+
/** @deprecated use `PostCustomersContent$inboundSchema` instead. */
|
|
28
|
+
const inboundSchema: z.ZodType<PostCustomersContent, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @deprecated use `PostCustomersContent$outboundSchema` instead. */
|
|
30
|
+
const outboundSchema: z.ZodType<PostCustomersContent$Outbound, z.ZodTypeDef, PostCustomersContent>;
|
|
31
|
+
/** @deprecated use `PostCustomersContent$Outbound` instead. */
|
|
32
|
+
type Outbound = PostCustomersContent$Outbound;
|
|
33
|
+
}
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const PostCustomersResponseBody$inboundSchema: z.ZodType<PostCustomersResponseBody, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type PostCustomersResponseBody$Outbound = {
|
|
38
|
+
message?: string | undefined;
|
|
39
|
+
success?: boolean | undefined;
|
|
40
|
+
content?: PostCustomersContent$Outbound | undefined;
|
|
41
|
+
};
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const PostCustomersResponseBody$outboundSchema: z.ZodType<PostCustomersResponseBody$Outbound, z.ZodTypeDef, PostCustomersResponseBody>;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export declare namespace PostCustomersResponseBody$ {
|
|
49
|
+
/** @deprecated use `PostCustomersResponseBody$inboundSchema` instead. */
|
|
50
|
+
const inboundSchema: z.ZodType<PostCustomersResponseBody, z.ZodTypeDef, unknown>;
|
|
51
|
+
/** @deprecated use `PostCustomersResponseBody$outboundSchema` instead. */
|
|
52
|
+
const outboundSchema: z.ZodType<PostCustomersResponseBody$Outbound, z.ZodTypeDef, PostCustomersResponseBody>;
|
|
53
|
+
/** @deprecated use `PostCustomersResponseBody$Outbound` instead. */
|
|
54
|
+
type Outbound = PostCustomersResponseBody$Outbound;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=postcustomers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postcustomers.d.ts","sourceRoot":"","sources":["../../src/models/operations/postcustomers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,cAAc,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC;CAC1D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACtD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CASL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IACxC,eAAe,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,CAAC;CACpE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACvD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CASlB,CAAC;AAEP;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACnC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACxD;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC3D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAK3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IACxC,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC7D"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostCustomersResponseBody$ = exports.PostCustomersResponseBody$outboundSchema = exports.PostCustomersResponseBody$inboundSchema = exports.PostCustomersContent$ = exports.PostCustomersContent$outboundSchema = exports.PostCustomersContent$inboundSchema = void 0;
|
|
30
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
+
const components = __importStar(require("../components/index.js"));
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.PostCustomersContent$inboundSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
customer_detail: components.CustomerDetail$inboundSchema.optional(),
|
|
37
|
+
})
|
|
38
|
+
.transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
customer_detail: "customerDetail",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.PostCustomersContent$outboundSchema = z
|
|
45
|
+
.object({
|
|
46
|
+
customerDetail: components.CustomerDetail$outboundSchema.optional(),
|
|
47
|
+
})
|
|
48
|
+
.transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
customerDetail: "customer_detail",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
+
*/
|
|
57
|
+
var PostCustomersContent$;
|
|
58
|
+
(function (PostCustomersContent$) {
|
|
59
|
+
/** @deprecated use `PostCustomersContent$inboundSchema` instead. */
|
|
60
|
+
PostCustomersContent$.inboundSchema = exports.PostCustomersContent$inboundSchema;
|
|
61
|
+
/** @deprecated use `PostCustomersContent$outboundSchema` instead. */
|
|
62
|
+
PostCustomersContent$.outboundSchema = exports.PostCustomersContent$outboundSchema;
|
|
63
|
+
})(PostCustomersContent$ || (exports.PostCustomersContent$ = PostCustomersContent$ = {}));
|
|
64
|
+
/** @internal */
|
|
65
|
+
exports.PostCustomersResponseBody$inboundSchema = z.object({
|
|
66
|
+
message: z.string().optional(),
|
|
67
|
+
success: z.boolean().optional(),
|
|
68
|
+
content: z.lazy(() => exports.PostCustomersContent$inboundSchema).optional(),
|
|
69
|
+
});
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.PostCustomersResponseBody$outboundSchema = z.object({
|
|
72
|
+
message: z.string().optional(),
|
|
73
|
+
success: z.boolean().optional(),
|
|
74
|
+
content: z.lazy(() => exports.PostCustomersContent$outboundSchema).optional(),
|
|
75
|
+
});
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
+
*/
|
|
80
|
+
var PostCustomersResponseBody$;
|
|
81
|
+
(function (PostCustomersResponseBody$) {
|
|
82
|
+
/** @deprecated use `PostCustomersResponseBody$inboundSchema` instead. */
|
|
83
|
+
PostCustomersResponseBody$.inboundSchema = exports.PostCustomersResponseBody$inboundSchema;
|
|
84
|
+
/** @deprecated use `PostCustomersResponseBody$outboundSchema` instead. */
|
|
85
|
+
PostCustomersResponseBody$.outboundSchema = exports.PostCustomersResponseBody$outboundSchema;
|
|
86
|
+
})(PostCustomersResponseBody$ || (exports.PostCustomersResponseBody$ = PostCustomersResponseBody$ = {}));
|
|
87
|
+
//# sourceMappingURL=postcustomers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postcustomers.js","sourceRoot":"","sources":["../../src/models/operations/postcustomers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAezB,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC;KACA,MAAM,CAAC;IACJ,eAAe,EAAE,UAAU,CAAC,4BAA4B,CAAC,QAAQ,EAAE;CACtE,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,eAAe,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAOP,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC;KACA,MAAM,CAAC;IACJ,cAAc,EAAE,UAAU,CAAC,6BAA6B,CAAC,QAAQ,EAAE;CACtE,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,cAAc,EAAE,iBAAiB;KACpC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAClC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CA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