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,230 @@
|
|
|
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.RecommendedProduct$ = exports.RecommendedProduct$outboundSchema = exports.RecommendedProduct$inboundSchema = exports.RecommendedProductVariantOptions$ = exports.RecommendedProductVariantOptions$outboundSchema = exports.RecommendedProductVariantOptions$inboundSchema = exports.RecommendedProductProductType$ = exports.RecommendedProductProductType$outboundSchema = exports.RecommendedProductProductType$inboundSchema = exports.RecommendedProductProductType = void 0;
|
|
30
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
+
const productattribute_js_1 = require("./productattribute.js");
|
|
32
|
+
const productbundleitem_js_1 = require("./productbundleitem.js");
|
|
33
|
+
const productimage_js_1 = require("./productimage.js");
|
|
34
|
+
const productpricing_js_1 = require("./productpricing.js");
|
|
35
|
+
const productpromotion_js_1 = require("./productpromotion.js");
|
|
36
|
+
const productshipping_js_1 = require("./productshipping.js");
|
|
37
|
+
const productsubscription_js_1 = require("./productsubscription.js");
|
|
38
|
+
const variant_js_1 = require("./variant.js");
|
|
39
|
+
const z = __importStar(require("zod"));
|
|
40
|
+
exports.RecommendedProductProductType = {
|
|
41
|
+
Physical: "physical",
|
|
42
|
+
Digital: "digital",
|
|
43
|
+
Bundle: "bundle",
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.RecommendedProductProductType$inboundSchema = z.nativeEnum(exports.RecommendedProductProductType);
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.RecommendedProductProductType$outboundSchema = exports.RecommendedProductProductType$inboundSchema;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
var RecommendedProductProductType$;
|
|
54
|
+
(function (RecommendedProductProductType$) {
|
|
55
|
+
/** @deprecated use `RecommendedProductProductType$inboundSchema` instead. */
|
|
56
|
+
RecommendedProductProductType$.inboundSchema = exports.RecommendedProductProductType$inboundSchema;
|
|
57
|
+
/** @deprecated use `RecommendedProductProductType$outboundSchema` instead. */
|
|
58
|
+
RecommendedProductProductType$.outboundSchema = exports.RecommendedProductProductType$outboundSchema;
|
|
59
|
+
})(RecommendedProductProductType$ || (exports.RecommendedProductProductType$ = RecommendedProductProductType$ = {}));
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.RecommendedProductVariantOptions$inboundSchema = z
|
|
62
|
+
.object({
|
|
63
|
+
option_name: z.string().optional(),
|
|
64
|
+
option_value: z.array(z.string()).optional(),
|
|
65
|
+
})
|
|
66
|
+
.transform((v) => {
|
|
67
|
+
return (0, primitives_js_1.remap)(v, {
|
|
68
|
+
option_name: "optionName",
|
|
69
|
+
option_value: "optionValue",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.RecommendedProductVariantOptions$outboundSchema = z
|
|
74
|
+
.object({
|
|
75
|
+
optionName: z.string().optional(),
|
|
76
|
+
optionValue: z.array(z.string()).optional(),
|
|
77
|
+
})
|
|
78
|
+
.transform((v) => {
|
|
79
|
+
return (0, primitives_js_1.remap)(v, {
|
|
80
|
+
optionName: "option_name",
|
|
81
|
+
optionValue: "option_value",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
var RecommendedProductVariantOptions$;
|
|
89
|
+
(function (RecommendedProductVariantOptions$) {
|
|
90
|
+
/** @deprecated use `RecommendedProductVariantOptions$inboundSchema` instead. */
|
|
91
|
+
RecommendedProductVariantOptions$.inboundSchema = exports.RecommendedProductVariantOptions$inboundSchema;
|
|
92
|
+
/** @deprecated use `RecommendedProductVariantOptions$outboundSchema` instead. */
|
|
93
|
+
RecommendedProductVariantOptions$.outboundSchema = exports.RecommendedProductVariantOptions$outboundSchema;
|
|
94
|
+
})(RecommendedProductVariantOptions$ || (exports.RecommendedProductVariantOptions$ = RecommendedProductVariantOptions$ = {}));
|
|
95
|
+
/** @internal */
|
|
96
|
+
exports.RecommendedProduct$inboundSchema = z
|
|
97
|
+
.object({
|
|
98
|
+
id: z.string().optional(),
|
|
99
|
+
name: z.string().optional(),
|
|
100
|
+
description: z.string().optional(),
|
|
101
|
+
short_description: z.string().optional(),
|
|
102
|
+
product_type: exports.RecommendedProductProductType$inboundSchema.optional(),
|
|
103
|
+
active: z.boolean().default(true),
|
|
104
|
+
sku: z.string().optional(),
|
|
105
|
+
stock_available: z.boolean().default(true),
|
|
106
|
+
is_featured: z.boolean().default(false),
|
|
107
|
+
on_offer: z.boolean().default(false),
|
|
108
|
+
on_subscription: z.boolean().default(false),
|
|
109
|
+
on_promotion: z.boolean().default(false),
|
|
110
|
+
has_variant: z.boolean().default(false),
|
|
111
|
+
variant_options: z
|
|
112
|
+
.array(z.lazy(() => exports.RecommendedProductVariantOptions$inboundSchema))
|
|
113
|
+
.optional(),
|
|
114
|
+
attributes: z.array(productattribute_js_1.ProductAttribute$inboundSchema).optional(),
|
|
115
|
+
images: z.array(productimage_js_1.ProductImage$inboundSchema).optional(),
|
|
116
|
+
pricing: productpricing_js_1.ProductPricing$inboundSchema.optional(),
|
|
117
|
+
shipping: productshipping_js_1.ProductShipping$inboundSchema.optional(),
|
|
118
|
+
tags: z.array(z.string()).optional(),
|
|
119
|
+
category_ids: z.array(z.string()).optional(),
|
|
120
|
+
reviews_rating_sum: z.number().optional(),
|
|
121
|
+
reviews_count: z.number().int().optional(),
|
|
122
|
+
hsn_code: z.string().optional(),
|
|
123
|
+
created_at: z
|
|
124
|
+
.string()
|
|
125
|
+
.datetime({ offset: true })
|
|
126
|
+
.transform((v) => new Date(v))
|
|
127
|
+
.optional(),
|
|
128
|
+
modified_at: z
|
|
129
|
+
.string()
|
|
130
|
+
.datetime({ offset: true })
|
|
131
|
+
.transform((v) => new Date(v))
|
|
132
|
+
.optional(),
|
|
133
|
+
promotion: z.array(productpromotion_js_1.ProductPromotion$inboundSchema).optional(),
|
|
134
|
+
subscription: z.array(productsubscription_js_1.ProductSubscription$inboundSchema).optional(),
|
|
135
|
+
bundle_items: z.array(productbundleitem_js_1.ProductBundleItem$inboundSchema).optional(),
|
|
136
|
+
variants: z.array(variant_js_1.Variant$inboundSchema).optional(),
|
|
137
|
+
})
|
|
138
|
+
.transform((v) => {
|
|
139
|
+
return (0, primitives_js_1.remap)(v, {
|
|
140
|
+
short_description: "shortDescription",
|
|
141
|
+
product_type: "productType",
|
|
142
|
+
stock_available: "stockAvailable",
|
|
143
|
+
is_featured: "isFeatured",
|
|
144
|
+
on_offer: "onOffer",
|
|
145
|
+
on_subscription: "onSubscription",
|
|
146
|
+
on_promotion: "onPromotion",
|
|
147
|
+
has_variant: "hasVariant",
|
|
148
|
+
variant_options: "variantOptions",
|
|
149
|
+
category_ids: "categoryIds",
|
|
150
|
+
reviews_rating_sum: "reviewsRatingSum",
|
|
151
|
+
reviews_count: "reviewsCount",
|
|
152
|
+
hsn_code: "hsnCode",
|
|
153
|
+
created_at: "createdAt",
|
|
154
|
+
modified_at: "modifiedAt",
|
|
155
|
+
bundle_items: "bundleItems",
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
/** @internal */
|
|
159
|
+
exports.RecommendedProduct$outboundSchema = z
|
|
160
|
+
.object({
|
|
161
|
+
id: z.string().optional(),
|
|
162
|
+
name: z.string().optional(),
|
|
163
|
+
description: z.string().optional(),
|
|
164
|
+
shortDescription: z.string().optional(),
|
|
165
|
+
productType: exports.RecommendedProductProductType$outboundSchema.optional(),
|
|
166
|
+
active: z.boolean().default(true),
|
|
167
|
+
sku: z.string().optional(),
|
|
168
|
+
stockAvailable: z.boolean().default(true),
|
|
169
|
+
isFeatured: z.boolean().default(false),
|
|
170
|
+
onOffer: z.boolean().default(false),
|
|
171
|
+
onSubscription: z.boolean().default(false),
|
|
172
|
+
onPromotion: z.boolean().default(false),
|
|
173
|
+
hasVariant: z.boolean().default(false),
|
|
174
|
+
variantOptions: z
|
|
175
|
+
.array(z.lazy(() => exports.RecommendedProductVariantOptions$outboundSchema))
|
|
176
|
+
.optional(),
|
|
177
|
+
attributes: z.array(productattribute_js_1.ProductAttribute$outboundSchema).optional(),
|
|
178
|
+
images: z.array(productimage_js_1.ProductImage$outboundSchema).optional(),
|
|
179
|
+
pricing: productpricing_js_1.ProductPricing$outboundSchema.optional(),
|
|
180
|
+
shipping: productshipping_js_1.ProductShipping$outboundSchema.optional(),
|
|
181
|
+
tags: z.array(z.string()).optional(),
|
|
182
|
+
categoryIds: z.array(z.string()).optional(),
|
|
183
|
+
reviewsRatingSum: z.number().optional(),
|
|
184
|
+
reviewsCount: z.number().int().optional(),
|
|
185
|
+
hsnCode: z.string().optional(),
|
|
186
|
+
createdAt: z
|
|
187
|
+
.date()
|
|
188
|
+
.transform((v) => v.toISOString())
|
|
189
|
+
.optional(),
|
|
190
|
+
modifiedAt: z
|
|
191
|
+
.date()
|
|
192
|
+
.transform((v) => v.toISOString())
|
|
193
|
+
.optional(),
|
|
194
|
+
promotion: z.array(productpromotion_js_1.ProductPromotion$outboundSchema).optional(),
|
|
195
|
+
subscription: z.array(productsubscription_js_1.ProductSubscription$outboundSchema).optional(),
|
|
196
|
+
bundleItems: z.array(productbundleitem_js_1.ProductBundleItem$outboundSchema).optional(),
|
|
197
|
+
variants: z.array(variant_js_1.Variant$outboundSchema).optional(),
|
|
198
|
+
})
|
|
199
|
+
.transform((v) => {
|
|
200
|
+
return (0, primitives_js_1.remap)(v, {
|
|
201
|
+
shortDescription: "short_description",
|
|
202
|
+
productType: "product_type",
|
|
203
|
+
stockAvailable: "stock_available",
|
|
204
|
+
isFeatured: "is_featured",
|
|
205
|
+
onOffer: "on_offer",
|
|
206
|
+
onSubscription: "on_subscription",
|
|
207
|
+
onPromotion: "on_promotion",
|
|
208
|
+
hasVariant: "has_variant",
|
|
209
|
+
variantOptions: "variant_options",
|
|
210
|
+
categoryIds: "category_ids",
|
|
211
|
+
reviewsRatingSum: "reviews_rating_sum",
|
|
212
|
+
reviewsCount: "reviews_count",
|
|
213
|
+
hsnCode: "hsn_code",
|
|
214
|
+
createdAt: "created_at",
|
|
215
|
+
modifiedAt: "modified_at",
|
|
216
|
+
bundleItems: "bundle_items",
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
222
|
+
*/
|
|
223
|
+
var RecommendedProduct$;
|
|
224
|
+
(function (RecommendedProduct$) {
|
|
225
|
+
/** @deprecated use `RecommendedProduct$inboundSchema` instead. */
|
|
226
|
+
RecommendedProduct$.inboundSchema = exports.RecommendedProduct$inboundSchema;
|
|
227
|
+
/** @deprecated use `RecommendedProduct$outboundSchema` instead. */
|
|
228
|
+
RecommendedProduct$.outboundSchema = exports.RecommendedProduct$outboundSchema;
|
|
229
|
+
})(RecommendedProduct$ || (exports.RecommendedProduct$ = RecommendedProduct$ = {}));
|
|
230
|
+
//# sourceMappingURL=recommendedproduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendedproduct.js","sourceRoot":"","sources":["../../src/models/components/recommendedproduct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAE1D,+DAK+B;AAC/B,iEAKgC;AAChC,uDAK2B;AAC3B,2DAK6B;AAC7B,+DAK+B;AAC/B,6DAK8B;AAC9B,qEAKkC;AAClC,6CAKsB;AACtB,uCAAyB;AAEZ,QAAA,6BAA6B,GAAG;IACzC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC;AA8CX,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,qCAA6B,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,4CAA4C,GAErD,mDAA2C,CAAC;AAEhD;;;GAGG;AACH,IAAiB,8BAA8B,CAK9C;AALD,WAAiB,8BAA8B;IAC3C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAC/E,CAAC,EALgB,8BAA8B,8CAA9B,8BAA8B,QAK9C;AAED,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC;KACA,MAAM,CAAC;IACJ,WAAW,EAAE,CA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CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,gBAAgB,EAAE,mBAAmB;QACrC,WAAW,EAAE,cAAc;QAC3B,cAAc,EAAE,iBAAiB;QACjC,UAAU,EAAE,aAAa;QACzB,OAAO,EAAE,UAAU;QACnB,cAAc,EAAE,iBAAiB;QACjC,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;QACzB,cAAc,EAAE,iBAAiB;QACjC,WAAW,EAAE,cAAc;QAC3B,gBAAgB,EAAE,oBAAoB;QACtC,YAAY,EAAE,eAAe;QAC7B,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,WAAW,EAAE,cAAc;KAC9B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAChC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGpE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Business, Business$Outbound } from "./business.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type UpdateCustomer = {
|
|
4
|
+
business?: Business | undefined;
|
|
5
|
+
};
|
|
6
|
+
/** @internal */
|
|
7
|
+
export declare const UpdateCustomer$inboundSchema: z.ZodType<UpdateCustomer, z.ZodTypeDef, unknown>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type UpdateCustomer$Outbound = {
|
|
10
|
+
business?: Business$Outbound | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const UpdateCustomer$outboundSchema: z.ZodType<UpdateCustomer$Outbound, z.ZodTypeDef, UpdateCustomer>;
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
|
+
*/
|
|
18
|
+
export declare namespace UpdateCustomer$ {
|
|
19
|
+
/** @deprecated use `UpdateCustomer$inboundSchema` instead. */
|
|
20
|
+
const inboundSchema: z.ZodType<UpdateCustomer, z.ZodTypeDef, unknown>;
|
|
21
|
+
/** @deprecated use `UpdateCustomer$outboundSchema` instead. */
|
|
22
|
+
const outboundSchema: z.ZodType<UpdateCustomer$Outbound, z.ZodTypeDef, UpdateCustomer>;
|
|
23
|
+
/** @deprecated use `UpdateCustomer$Outbound` instead. */
|
|
24
|
+
type Outbound = UpdateCustomer$Outbound;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=updatecustomer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatecustomer.d.ts","sourceRoot":"","sources":["../../src/models/components/updatecustomer.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,QAAQ,EAER,iBAAiB,EAEpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAGpF,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACjD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAGhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC7B,8DAA8D;IACvD,MAAM,aAAa,kDAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc,kEAAgC,CAAC;IAC5D,yDAAyD;IACzD,KAAY,QAAQ,GAAG,uBAAuB,CAAC;CAClD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.UpdateCustomer$ = exports.UpdateCustomer$outboundSchema = exports.UpdateCustomer$inboundSchema = void 0;
|
|
30
|
+
const business_js_1 = require("./business.js");
|
|
31
|
+
const z = __importStar(require("zod"));
|
|
32
|
+
/** @internal */
|
|
33
|
+
exports.UpdateCustomer$inboundSchema = z.object({
|
|
34
|
+
business: business_js_1.Business$inboundSchema.optional(),
|
|
35
|
+
});
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.UpdateCustomer$outboundSchema = z.object({
|
|
38
|
+
business: business_js_1.Business$outboundSchema.optional(),
|
|
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 UpdateCustomer$;
|
|
45
|
+
(function (UpdateCustomer$) {
|
|
46
|
+
/** @deprecated use `UpdateCustomer$inboundSchema` instead. */
|
|
47
|
+
UpdateCustomer$.inboundSchema = exports.UpdateCustomer$inboundSchema;
|
|
48
|
+
/** @deprecated use `UpdateCustomer$outboundSchema` instead. */
|
|
49
|
+
UpdateCustomer$.outboundSchema = exports.UpdateCustomer$outboundSchema;
|
|
50
|
+
})(UpdateCustomer$ || (exports.UpdateCustomer$ = UpdateCustomer$ = {}));
|
|
51
|
+
//# sourceMappingURL=updatecustomer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatecustomer.js","sourceRoot":"","sources":["../../src/models/components/updatecustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAKuB;AACvB,uCAAyB;AAMzB,gBAAgB;AACH,QAAA,4BAA4B,GACrC,CAAC,CAAC,MAAM,CAAC;IACL,QAAQ,EAAE,oCAAsB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAOP,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACT,QAAQ,EAAE,qCAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IAC5B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAGhE,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as components from "../components/index.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type GetCustomersIdRequest = {
|
|
4
|
+
/**
|
|
5
|
+
* Customer id
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
export type GetCustomersIdContent = {
|
|
10
|
+
customerDetail?: components.CustomerDetail | undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* OK
|
|
14
|
+
*/
|
|
15
|
+
export type GetCustomersIdResponseBody = {
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
success?: boolean | undefined;
|
|
18
|
+
content?: GetCustomersIdContent | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const GetCustomersIdRequest$inboundSchema: z.ZodType<GetCustomersIdRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type GetCustomersIdRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const GetCustomersIdRequest$outboundSchema: z.ZodType<GetCustomersIdRequest$Outbound, z.ZodTypeDef, GetCustomersIdRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace GetCustomersIdRequest$ {
|
|
33
|
+
/** @deprecated use `GetCustomersIdRequest$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<GetCustomersIdRequest, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `GetCustomersIdRequest$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<GetCustomersIdRequest$Outbound, z.ZodTypeDef, GetCustomersIdRequest>;
|
|
37
|
+
/** @deprecated use `GetCustomersIdRequest$Outbound` instead. */
|
|
38
|
+
type Outbound = GetCustomersIdRequest$Outbound;
|
|
39
|
+
}
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const GetCustomersIdContent$inboundSchema: z.ZodType<GetCustomersIdContent, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type GetCustomersIdContent$Outbound = {
|
|
44
|
+
customer_detail?: components.CustomerDetail$Outbound | undefined;
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const GetCustomersIdContent$outboundSchema: z.ZodType<GetCustomersIdContent$Outbound, z.ZodTypeDef, GetCustomersIdContent>;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export declare namespace GetCustomersIdContent$ {
|
|
53
|
+
/** @deprecated use `GetCustomersIdContent$inboundSchema` instead. */
|
|
54
|
+
const inboundSchema: z.ZodType<GetCustomersIdContent, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @deprecated use `GetCustomersIdContent$outboundSchema` instead. */
|
|
56
|
+
const outboundSchema: z.ZodType<GetCustomersIdContent$Outbound, z.ZodTypeDef, GetCustomersIdContent>;
|
|
57
|
+
/** @deprecated use `GetCustomersIdContent$Outbound` instead. */
|
|
58
|
+
type Outbound = GetCustomersIdContent$Outbound;
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetCustomersIdResponseBody$inboundSchema: z.ZodType<GetCustomersIdResponseBody, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type GetCustomersIdResponseBody$Outbound = {
|
|
64
|
+
message?: string | undefined;
|
|
65
|
+
success?: boolean | undefined;
|
|
66
|
+
content?: GetCustomersIdContent$Outbound | undefined;
|
|
67
|
+
};
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const GetCustomersIdResponseBody$outboundSchema: z.ZodType<GetCustomersIdResponseBody$Outbound, z.ZodTypeDef, GetCustomersIdResponseBody>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export declare namespace GetCustomersIdResponseBody$ {
|
|
75
|
+
/** @deprecated use `GetCustomersIdResponseBody$inboundSchema` instead. */
|
|
76
|
+
const inboundSchema: z.ZodType<GetCustomersIdResponseBody, z.ZodTypeDef, unknown>;
|
|
77
|
+
/** @deprecated use `GetCustomersIdResponseBody$outboundSchema` instead. */
|
|
78
|
+
const outboundSchema: z.ZodType<GetCustomersIdResponseBody$Outbound, z.ZodTypeDef, GetCustomersIdResponseBody>;
|
|
79
|
+
/** @deprecated use `GetCustomersIdResponseBody$Outbound` instead. */
|
|
80
|
+
type Outbound = GetCustomersIdResponseBody$Outbound;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=getcustomersid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcustomersid.d.ts","sourceRoot":"","sources":["../../src/models/operations/getcustomersid.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,cAAc,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC;CAC1D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,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CAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC7D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAK5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IACzC,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.GetCustomersIdResponseBody$ = exports.GetCustomersIdResponseBody$outboundSchema = exports.GetCustomersIdResponseBody$inboundSchema = exports.GetCustomersIdContent$ = exports.GetCustomersIdContent$outboundSchema = exports.GetCustomersIdContent$inboundSchema = exports.GetCustomersIdRequest$ = exports.GetCustomersIdRequest$outboundSchema = exports.GetCustomersIdRequest$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.GetCustomersIdRequest$inboundSchema = z.object({
|
|
35
|
+
id: z.string(),
|
|
36
|
+
});
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.GetCustomersIdRequest$outboundSchema = z.object({
|
|
39
|
+
id: z.string(),
|
|
40
|
+
});
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
var GetCustomersIdRequest$;
|
|
46
|
+
(function (GetCustomersIdRequest$) {
|
|
47
|
+
/** @deprecated use `GetCustomersIdRequest$inboundSchema` instead. */
|
|
48
|
+
GetCustomersIdRequest$.inboundSchema = exports.GetCustomersIdRequest$inboundSchema;
|
|
49
|
+
/** @deprecated use `GetCustomersIdRequest$outboundSchema` instead. */
|
|
50
|
+
GetCustomersIdRequest$.outboundSchema = exports.GetCustomersIdRequest$outboundSchema;
|
|
51
|
+
})(GetCustomersIdRequest$ || (exports.GetCustomersIdRequest$ = GetCustomersIdRequest$ = {}));
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.GetCustomersIdContent$inboundSchema = z
|
|
54
|
+
.object({
|
|
55
|
+
customer_detail: components.CustomerDetail$inboundSchema.optional(),
|
|
56
|
+
})
|
|
57
|
+
.transform((v) => {
|
|
58
|
+
return (0, primitives_js_1.remap)(v, {
|
|
59
|
+
customer_detail: "customerDetail",
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.GetCustomersIdContent$outboundSchema = z
|
|
64
|
+
.object({
|
|
65
|
+
customerDetail: components.CustomerDetail$outboundSchema.optional(),
|
|
66
|
+
})
|
|
67
|
+
.transform((v) => {
|
|
68
|
+
return (0, primitives_js_1.remap)(v, {
|
|
69
|
+
customerDetail: "customer_detail",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
+
*/
|
|
76
|
+
var GetCustomersIdContent$;
|
|
77
|
+
(function (GetCustomersIdContent$) {
|
|
78
|
+
/** @deprecated use `GetCustomersIdContent$inboundSchema` instead. */
|
|
79
|
+
GetCustomersIdContent$.inboundSchema = exports.GetCustomersIdContent$inboundSchema;
|
|
80
|
+
/** @deprecated use `GetCustomersIdContent$outboundSchema` instead. */
|
|
81
|
+
GetCustomersIdContent$.outboundSchema = exports.GetCustomersIdContent$outboundSchema;
|
|
82
|
+
})(GetCustomersIdContent$ || (exports.GetCustomersIdContent$ = GetCustomersIdContent$ = {}));
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.GetCustomersIdResponseBody$inboundSchema = z.object({
|
|
85
|
+
message: z.string().optional(),
|
|
86
|
+
success: z.boolean().optional(),
|
|
87
|
+
content: z.lazy(() => exports.GetCustomersIdContent$inboundSchema).optional(),
|
|
88
|
+
});
|
|
89
|
+
/** @internal */
|
|
90
|
+
exports.GetCustomersIdResponseBody$outboundSchema = z.object({
|
|
91
|
+
message: z.string().optional(),
|
|
92
|
+
success: z.boolean().optional(),
|
|
93
|
+
content: z.lazy(() => exports.GetCustomersIdContent$outboundSchema).optional(),
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
var GetCustomersIdResponseBody$;
|
|
100
|
+
(function (GetCustomersIdResponseBody$) {
|
|
101
|
+
/** @deprecated use `GetCustomersIdResponseBody$inboundSchema` instead. */
|
|
102
|
+
GetCustomersIdResponseBody$.inboundSchema = exports.GetCustomersIdResponseBody$inboundSchema;
|
|
103
|
+
/** @deprecated use `GetCustomersIdResponseBody$outboundSchema` instead. */
|
|
104
|
+
GetCustomersIdResponseBody$.outboundSchema = exports.GetCustomersIdResponseBody$outboundSchema;
|
|
105
|
+
})(GetCustomersIdResponseBody$ || (exports.GetCustomersIdResponseBody$ = GetCustomersIdResponseBody$ = {}));
|
|
106
|
+
//# sourceMappingURL=getcustomersid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcustomersid.js","sourceRoot":"","sources":["../../src/models/operations/getcustomersid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAsBzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACT,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACT,EAAE,E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AAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAAmC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,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,4CAAoC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IACxC,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG5E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as components from "../components/index.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type GetRecommendedProductsRequest = {
|
|
4
|
+
/**
|
|
5
|
+
* customer id
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
export type GetRecommendedProductsContent = {
|
|
10
|
+
products?: Array<components.RecommendedProduct> | undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Success response
|
|
14
|
+
*/
|
|
15
|
+
export type GetRecommendedProductsResponseBody = {
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
success?: boolean | undefined;
|
|
18
|
+
content?: GetRecommendedProductsContent | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const GetRecommendedProductsRequest$inboundSchema: z.ZodType<GetRecommendedProductsRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type GetRecommendedProductsRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const GetRecommendedProductsRequest$outboundSchema: z.ZodType<GetRecommendedProductsRequest$Outbound, z.ZodTypeDef, GetRecommendedProductsRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace GetRecommendedProductsRequest$ {
|
|
33
|
+
/** @deprecated use `GetRecommendedProductsRequest$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<GetRecommendedProductsRequest, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `GetRecommendedProductsRequest$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<GetRecommendedProductsRequest$Outbound, z.ZodTypeDef, GetRecommendedProductsRequest>;
|
|
37
|
+
/** @deprecated use `GetRecommendedProductsRequest$Outbound` instead. */
|
|
38
|
+
type Outbound = GetRecommendedProductsRequest$Outbound;
|
|
39
|
+
}
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const GetRecommendedProductsContent$inboundSchema: z.ZodType<GetRecommendedProductsContent, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type GetRecommendedProductsContent$Outbound = {
|
|
44
|
+
products?: Array<components.RecommendedProduct$Outbound> | undefined;
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const GetRecommendedProductsContent$outboundSchema: z.ZodType<GetRecommendedProductsContent$Outbound, z.ZodTypeDef, GetRecommendedProductsContent>;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export declare namespace GetRecommendedProductsContent$ {
|
|
53
|
+
/** @deprecated use `GetRecommendedProductsContent$inboundSchema` instead. */
|
|
54
|
+
const inboundSchema: z.ZodType<GetRecommendedProductsContent, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @deprecated use `GetRecommendedProductsContent$outboundSchema` instead. */
|
|
56
|
+
const outboundSchema: z.ZodType<GetRecommendedProductsContent$Outbound, z.ZodTypeDef, GetRecommendedProductsContent>;
|
|
57
|
+
/** @deprecated use `GetRecommendedProductsContent$Outbound` instead. */
|
|
58
|
+
type Outbound = GetRecommendedProductsContent$Outbound;
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetRecommendedProductsResponseBody$inboundSchema: z.ZodType<GetRecommendedProductsResponseBody, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type GetRecommendedProductsResponseBody$Outbound = {
|
|
64
|
+
message?: string | undefined;
|
|
65
|
+
success?: boolean | undefined;
|
|
66
|
+
content?: GetRecommendedProductsContent$Outbound | undefined;
|
|
67
|
+
};
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const GetRecommendedProductsResponseBody$outboundSchema: z.ZodType<GetRecommendedProductsResponseBody$Outbound, z.ZodTypeDef, GetRecommendedProductsResponseBody>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export declare namespace GetRecommendedProductsResponseBody$ {
|
|
75
|
+
/** @deprecated use `GetRecommendedProductsResponseBody$inboundSchema` instead. */
|
|
76
|
+
const inboundSchema: z.ZodType<GetRecommendedProductsResponseBody, z.ZodTypeDef, unknown>;
|
|
77
|
+
/** @deprecated use `GetRecommendedProductsResponseBody$outboundSchema` instead. */
|
|
78
|
+
const outboundSchema: z.ZodType<GetRecommendedProductsResponseBody$Outbound, z.ZodTypeDef, GetRecommendedProductsResponseBody>;
|
|
79
|
+
/** @deprecated use `GetRecommendedProductsResponseBody$Outbound` instead. */
|
|
80
|
+
type Outbound = GetRecommendedProductsResponseBody$Outbound;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=getrecommendedproducts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getrecommendedproducts.d.ts","sourceRoot":"","sources":["../../src/models/operations/getrecommendedproducts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF;;GAEG;AACH,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,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACjD,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAChE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAG/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,KA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