@deliverart/sdk-js-customer 0.1.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -26
- package/.changeset/config.json +0 -11
- package/.github/workflows/workflow.yml +0 -47
- package/.prettierrc +0 -7
- package/CHANGELOG.md +0 -67
- package/README.md +0 -3
- package/dist/index.cjs +0 -722
- package/dist/index.d.cts +0 -4587
- package/dist/index.d.ts +0 -4587
- package/dist/index.js +0 -641
- package/eslint.config.js +0 -41
- package/src/index.ts +0 -3
- package/src/models.ts +0 -131
- package/src/requests/customer-addresses/CreateCustomerAddress.ts +0 -32
- package/src/requests/customer-addresses/DeleteCustomerAddress.ts +0 -30
- package/src/requests/customer-addresses/GetCustomerAddressDetails.ts +0 -36
- package/src/requests/customer-addresses/GetCustomerAddresses.ts +0 -58
- package/src/requests/customer-addresses/GetCustomerAddressesForCustomer.ts +0 -58
- package/src/requests/customer-addresses/UpdateCustomerAddress.ts +0 -35
- package/src/requests/customer-addresses/index.ts +0 -6
- package/src/requests/customer-business-profiles/CreateCustomerBusinessProfile.ts +0 -40
- package/src/requests/customer-business-profiles/DeleteCustomerBusinessProfile.ts +0 -30
- package/src/requests/customer-business-profiles/GetCustomerBusinessProfileDetails.ts +0 -38
- package/src/requests/customer-business-profiles/GetCustomerBusinessProfiles.ts +0 -70
- package/src/requests/customer-business-profiles/GetCustomerBusinessProfilesForCustomer.ts +0 -64
- package/src/requests/customer-business-profiles/UpdateCustomerBusinessProfile.ts +0 -43
- package/src/requests/customer-business-profiles/index.ts +0 -6
- package/src/requests/customers/CreateCustomer.ts +0 -32
- package/src/requests/customers/DeleteCustomer.ts +0 -30
- package/src/requests/customers/GetCustomerDetails.ts +0 -34
- package/src/requests/customers/GetCustomers.ts +0 -47
- package/src/requests/customers/UpdateCustomer.ts +0 -35
- package/src/requests/customers/index.ts +0 -5
- package/src/requests/index.ts +0 -3
- package/src/types.ts +0 -24
- package/tsconfig.json +0 -15
package/dist/index.cjs
DELETED
|
@@ -1,722 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
CreateCustomer: () => CreateCustomer,
|
|
24
|
-
CreateCustomerAddress: () => CreateCustomerAddress,
|
|
25
|
-
CreateCustomerBusinessProfile: () => CreateCustomerBusinessProfile,
|
|
26
|
-
DeleteCustomer: () => DeleteCustomer,
|
|
27
|
-
DeleteCustomerAddress: () => DeleteCustomerAddress,
|
|
28
|
-
DeleteCustomerBusinessProfile: () => DeleteCustomerBusinessProfile,
|
|
29
|
-
GetCustomerAddressDetails: () => GetCustomerAddressDetails,
|
|
30
|
-
GetCustomerAddresses: () => GetCustomerAddresses,
|
|
31
|
-
GetCustomerAddressesForCustomer: () => GetCustomerAddressesForCustomer,
|
|
32
|
-
GetCustomerBusinessProfileDetails: () => GetCustomerBusinessProfileDetails,
|
|
33
|
-
GetCustomerBusinessProfiles: () => GetCustomerBusinessProfiles,
|
|
34
|
-
GetCustomerBusinessProfilesForCustomer: () => GetCustomerBusinessProfilesForCustomer,
|
|
35
|
-
GetCustomerDetails: () => GetCustomerDetails,
|
|
36
|
-
GetCustomers: () => GetCustomers,
|
|
37
|
-
UpdateCustomer: () => UpdateCustomer,
|
|
38
|
-
UpdateCustomerAddress: () => UpdateCustomerAddress,
|
|
39
|
-
UpdateCustomerBusinessProfile: () => UpdateCustomerBusinessProfile,
|
|
40
|
-
createCustomerAddressInputSchema: () => createCustomerAddressInputSchema,
|
|
41
|
-
createCustomerAddressResponseSchema: () => createCustomerAddressResponseSchema,
|
|
42
|
-
createCustomerBusinessProfileInputSchema: () => createCustomerBusinessProfileInputSchema,
|
|
43
|
-
createCustomerBusinessProfileResponseSchema: () => createCustomerBusinessProfileResponseSchema,
|
|
44
|
-
createCustomerInputSchema: () => createCustomerInputSchema,
|
|
45
|
-
createCustomerResponseSchema: () => createCustomerResponseSchema,
|
|
46
|
-
customerAddressDetailsSchema: () => customerAddressDetailsSchema,
|
|
47
|
-
customerAddressIriSchema: () => customerAddressIriSchema,
|
|
48
|
-
customerAddressNullableIriSchema: () => customerAddressNullableIriSchema,
|
|
49
|
-
customerAddressSchema: () => customerAddressSchema,
|
|
50
|
-
customerBusinessProfileDetailsSchema: () => customerBusinessProfileDetailsSchema,
|
|
51
|
-
customerBusinessProfileIriSchema: () => customerBusinessProfileIriSchema,
|
|
52
|
-
customerBusinessProfileNullableIriSchema: () => customerBusinessProfileNullableIriSchema,
|
|
53
|
-
customerBusinessProfileSchema: () => customerBusinessProfileSchema,
|
|
54
|
-
customerDetailsSchema: () => customerDetailsSchema,
|
|
55
|
-
customerIriSchema: () => customerIriSchema,
|
|
56
|
-
customerNullableIriSchema: () => customerNullableIriSchema,
|
|
57
|
-
customerSchema: () => customerSchema,
|
|
58
|
-
customersQuerySchema: () => customersQuerySchema,
|
|
59
|
-
deleteCustomerAddressInputSchema: () => deleteCustomerAddressInputSchema,
|
|
60
|
-
deleteCustomerAddressResponseSchema: () => deleteCustomerAddressResponseSchema,
|
|
61
|
-
deleteCustomerBusinessProfileInputSchema: () => deleteCustomerBusinessProfileInputSchema,
|
|
62
|
-
deleteCustomerBusinessProfileResponseSchema: () => deleteCustomerBusinessProfileResponseSchema,
|
|
63
|
-
deleteCustomerInputSchema: () => deleteCustomerInputSchema,
|
|
64
|
-
deleteCustomerResponseSchema: () => deleteCustomerResponseSchema,
|
|
65
|
-
getCustomerAddressDetailsInputSchema: () => getCustomerAddressDetailsInputSchema,
|
|
66
|
-
getCustomerAddressDetailsResponseSchema: () => getCustomerAddressDetailsResponseSchema,
|
|
67
|
-
getCustomerAddressesForCustomerInputSchema: () => getCustomerAddressesForCustomerInputSchema,
|
|
68
|
-
getCustomerAddressesForCustomerQuerySchema: () => getCustomerAddressesForCustomerQuerySchema,
|
|
69
|
-
getCustomerAddressesForCustomerResponseSchema: () => getCustomerAddressesForCustomerResponseSchema,
|
|
70
|
-
getCustomerAddressesInputSchema: () => getCustomerAddressesInputSchema,
|
|
71
|
-
getCustomerAddressesQuerySchema: () => getCustomerAddressesQuerySchema,
|
|
72
|
-
getCustomerAddressesResponseSchema: () => getCustomerAddressesResponseSchema,
|
|
73
|
-
getCustomerBusinessProfileDetailsInputSchema: () => getCustomerBusinessProfileDetailsInputSchema,
|
|
74
|
-
getCustomerBusinessProfileDetailsResponseSchema: () => getCustomerBusinessProfileDetailsResponseSchema,
|
|
75
|
-
getCustomerBusinessProfilesForCustomerInputSchema: () => getCustomerBusinessProfilesForCustomerInputSchema,
|
|
76
|
-
getCustomerBusinessProfilesForCustomerQuerySchema: () => getCustomerBusinessProfilesForCustomerQuerySchema,
|
|
77
|
-
getCustomerBusinessProfilesForCustomerResponseSchema: () => getCustomerBusinessProfilesForCustomerResponseSchema,
|
|
78
|
-
getCustomerBusinessProfilesInputSchema: () => getCustomerBusinessProfilesInputSchema,
|
|
79
|
-
getCustomerBusinessProfilesQuerySchema: () => getCustomerBusinessProfilesQuerySchema,
|
|
80
|
-
getCustomerBusinessProfilesResponseSchema: () => getCustomerBusinessProfilesResponseSchema,
|
|
81
|
-
getCustomerDetailsInputSchema: () => getCustomerDetailsInputSchema,
|
|
82
|
-
getCustomerDetailsResponseSchema: () => getCustomerDetailsResponseSchema,
|
|
83
|
-
getCustomersInputSchema: () => getCustomersInputSchema,
|
|
84
|
-
getCustomersQuerySchema: () => getCustomersQuerySchema,
|
|
85
|
-
getCustomersResponseSchema: () => getCustomersResponseSchema,
|
|
86
|
-
updateCustomerAddressInputSchema: () => updateCustomerAddressInputSchema,
|
|
87
|
-
updateCustomerAddressResponseSchema: () => updateCustomerAddressResponseSchema,
|
|
88
|
-
updateCustomerBusinessProfileInputSchema: () => updateCustomerBusinessProfileInputSchema,
|
|
89
|
-
updateCustomerBusinessProfileResponseSchema: () => updateCustomerBusinessProfileResponseSchema,
|
|
90
|
-
updateCustomerInputSchema: () => updateCustomerInputSchema,
|
|
91
|
-
updateCustomerResponseSchema: () => updateCustomerResponseSchema,
|
|
92
|
-
writableCreateCustomerAddressSchema: () => writableCreateCustomerAddressSchema,
|
|
93
|
-
writableCreateCustomerBusinessProfileSchema: () => writableCreateCustomerBusinessProfileSchema,
|
|
94
|
-
writableCreateCustomerSchema: () => writableCreateCustomerSchema,
|
|
95
|
-
writableCustomerAddressSchema: () => writableCustomerAddressSchema,
|
|
96
|
-
writableCustomerBusinessProfileSchema: () => writableCustomerBusinessProfileSchema,
|
|
97
|
-
writableCustomerSchema: () => writableCustomerSchema
|
|
98
|
-
});
|
|
99
|
-
module.exports = __toCommonJS(index_exports);
|
|
100
|
-
|
|
101
|
-
// src/models.ts
|
|
102
|
-
var import_sdk_js_global_types2 = require("@deliverart/sdk-js-global-types");
|
|
103
|
-
var import_sdk_js_point_of_sale = require("@deliverart/sdk-js-point-of-sale");
|
|
104
|
-
var import_sdk_js_user = require("@deliverart/sdk-js-user");
|
|
105
|
-
var import_zod = require("zod");
|
|
106
|
-
|
|
107
|
-
// src/types.ts
|
|
108
|
-
var import_sdk_js_global_types = require("@deliverart/sdk-js-global-types");
|
|
109
|
-
var customerIriSchema = (0, import_sdk_js_global_types.iriSchema)("/customers/:id");
|
|
110
|
-
var customerNullableIriSchema = (0, import_sdk_js_global_types.iriNullableSchema)("/customers/:id");
|
|
111
|
-
var customerAddressIriSchema = (0, import_sdk_js_global_types.iriSchema)("/customers/address/:id");
|
|
112
|
-
var customerAddressNullableIriSchema = (0, import_sdk_js_global_types.iriNullableSchema)("/customers/address/:id");
|
|
113
|
-
var customerBusinessProfileIriSchema = (0, import_sdk_js_global_types.iriSchema)("/customers/business_profiles/:id");
|
|
114
|
-
var customerBusinessProfileNullableIriSchema = (0, import_sdk_js_global_types.iriNullableSchema)(
|
|
115
|
-
"/customers/business_profiles/:id"
|
|
116
|
-
);
|
|
117
|
-
|
|
118
|
-
// src/models.ts
|
|
119
|
-
var customerSchema = import_zod.z.object({
|
|
120
|
-
id: import_zod.z.string(),
|
|
121
|
-
firstName: import_zod.z.string().nullable(),
|
|
122
|
-
lastName: import_zod.z.string().nullable(),
|
|
123
|
-
email: import_zod.z.string().email().nullable(),
|
|
124
|
-
phoneNumber: import_zod.z.string().nullable(),
|
|
125
|
-
hasBusinessProfiles: import_zod.z.boolean(),
|
|
126
|
-
hasAddresses: import_zod.z.boolean(),
|
|
127
|
-
ordersPlaced: import_zod.z.number(),
|
|
128
|
-
totalSpent: import_zod.z.string(),
|
|
129
|
-
createdAt: import_sdk_js_global_types2.datetimeSchema,
|
|
130
|
-
updatedAt: import_sdk_js_global_types2.datetimeSchema
|
|
131
|
-
});
|
|
132
|
-
var customerDetailsSchema = customerSchema.extend({
|
|
133
|
-
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleNullableIriSchema,
|
|
134
|
-
owner: import_sdk_js_user.userNullableIriSchema,
|
|
135
|
-
addresses: import_zod.z.array(customerAddressIriSchema),
|
|
136
|
-
businessProfiles: import_zod.z.array(customerBusinessProfileIriSchema)
|
|
137
|
-
});
|
|
138
|
-
var writableCreateCustomerSchema = customerDetailsSchema.pick({
|
|
139
|
-
pointOfSale: true,
|
|
140
|
-
firstName: true,
|
|
141
|
-
lastName: true,
|
|
142
|
-
email: true,
|
|
143
|
-
phoneNumber: true
|
|
144
|
-
});
|
|
145
|
-
var writableCustomerSchema = writableCreateCustomerSchema.omit({
|
|
146
|
-
pointOfSale: true
|
|
147
|
-
});
|
|
148
|
-
var customerAddressSchema = import_zod.z.object({
|
|
149
|
-
id: import_zod.z.string(),
|
|
150
|
-
address: import_sdk_js_global_types2.addressSchema,
|
|
151
|
-
location: import_sdk_js_global_types2.locationSchema,
|
|
152
|
-
createdAt: import_sdk_js_global_types2.datetimeSchema,
|
|
153
|
-
updatedAt: import_sdk_js_global_types2.datetimeSchema
|
|
154
|
-
});
|
|
155
|
-
var customerAddressDetailsSchema = customerAddressSchema.extend({
|
|
156
|
-
customer: customerIriSchema
|
|
157
|
-
});
|
|
158
|
-
var writableCreateCustomerAddressSchema = customerAddressDetailsSchema.pick({
|
|
159
|
-
customer: true,
|
|
160
|
-
address: true
|
|
161
|
-
});
|
|
162
|
-
var writableCustomerAddressSchema = writableCreateCustomerAddressSchema.omit({
|
|
163
|
-
customer: true
|
|
164
|
-
});
|
|
165
|
-
var customerBusinessProfileSchema = import_zod.z.object({
|
|
166
|
-
id: import_zod.z.string(),
|
|
167
|
-
businessName: import_zod.z.string(),
|
|
168
|
-
vat: import_zod.z.string(),
|
|
169
|
-
taxCode: import_zod.z.string(),
|
|
170
|
-
billingAddress: import_sdk_js_global_types2.addressSchema,
|
|
171
|
-
billingData: import_sdk_js_global_types2.billingDataSchema,
|
|
172
|
-
createdAt: import_sdk_js_global_types2.datetimeSchema,
|
|
173
|
-
updatedAt: import_sdk_js_global_types2.datetimeSchema
|
|
174
|
-
});
|
|
175
|
-
var customerBusinessProfileDetailsSchema = customerBusinessProfileSchema.extend({
|
|
176
|
-
customer: customerIriSchema
|
|
177
|
-
});
|
|
178
|
-
var writableCreateCustomerBusinessProfileSchema = customerBusinessProfileDetailsSchema.pick({
|
|
179
|
-
customer: true,
|
|
180
|
-
businessName: true,
|
|
181
|
-
vat: true,
|
|
182
|
-
taxCode: true,
|
|
183
|
-
billingAddress: true,
|
|
184
|
-
billingData: true
|
|
185
|
-
});
|
|
186
|
-
var writableCustomerBusinessProfileSchema = writableCreateCustomerBusinessProfileSchema.omit({
|
|
187
|
-
customer: true
|
|
188
|
-
});
|
|
189
|
-
var customersQuerySchema = import_zod.z.object({
|
|
190
|
-
firstName: import_zod.z.string().optional(),
|
|
191
|
-
lastName: import_zod.z.string().optional(),
|
|
192
|
-
email: import_zod.z.string().optional(),
|
|
193
|
-
phoneNumber: import_zod.z.string().optional(),
|
|
194
|
-
hasBusinessProfiles: import_zod.z.coerce.boolean().optional(),
|
|
195
|
-
hasAddresses: import_zod.z.coerce.boolean().optional(),
|
|
196
|
-
"ordersPlaced[between]": import_zod.z.coerce.number().optional(),
|
|
197
|
-
"ordersPlaced[gt]": import_zod.z.coerce.number().optional(),
|
|
198
|
-
"ordersPlaced[gte]": import_zod.z.coerce.number().optional(),
|
|
199
|
-
"ordersPlaced[lt]": import_zod.z.coerce.number().optional(),
|
|
200
|
-
"ordersPlaced[lte]": import_zod.z.coerce.number().optional(),
|
|
201
|
-
"totalSpent[between]": import_zod.z.coerce.number().optional(),
|
|
202
|
-
"totalSpent[gt]": import_zod.z.coerce.string().optional(),
|
|
203
|
-
"totalSpent[gte]": import_zod.z.coerce.string().optional(),
|
|
204
|
-
"totalSpent[lt]": import_zod.z.coerce.string().optional(),
|
|
205
|
-
"totalSpent[lte]": import_zod.z.coerce.string().optional(),
|
|
206
|
-
"order[firstName]": import_sdk_js_global_types2.sortDirSchema.optional(),
|
|
207
|
-
"order[lastName]": import_sdk_js_global_types2.sortDirSchema.optional(),
|
|
208
|
-
"order[createdAt]": import_sdk_js_global_types2.sortDirSchema.optional(),
|
|
209
|
-
"order[updatedAt]": import_sdk_js_global_types2.sortDirSchema.optional(),
|
|
210
|
-
page: import_zod.z.coerce.number().optional()
|
|
211
|
-
}).merge(import_sdk_js_global_types2.timestampsFilterSchema);
|
|
212
|
-
|
|
213
|
-
// src/requests/customer-addresses/CreateCustomerAddress.ts
|
|
214
|
-
var import_sdk_js_core = require("@deliverart/sdk-js-core");
|
|
215
|
-
var createCustomerAddressInputSchema = writableCreateCustomerAddressSchema.required();
|
|
216
|
-
var createCustomerAddressResponseSchema = customerAddressDetailsSchema;
|
|
217
|
-
var CreateCustomerAddress = class extends import_sdk_js_core.AbstractApiRequest {
|
|
218
|
-
method = "POST";
|
|
219
|
-
contentType = "application/json";
|
|
220
|
-
accept = "application/json";
|
|
221
|
-
inputSchema = createCustomerAddressInputSchema;
|
|
222
|
-
outputSchema = createCustomerAddressResponseSchema;
|
|
223
|
-
querySchema = void 0;
|
|
224
|
-
headersSchema = void 0;
|
|
225
|
-
constructor(input) {
|
|
226
|
-
super(input);
|
|
227
|
-
}
|
|
228
|
-
getPath() {
|
|
229
|
-
return "/customers/addresses";
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
|
|
233
|
-
// src/requests/customer-addresses/DeleteCustomerAddress.ts
|
|
234
|
-
var import_sdk_js_core2 = require("@deliverart/sdk-js-core");
|
|
235
|
-
var import_zod2 = require("zod");
|
|
236
|
-
var deleteCustomerAddressInputSchema = import_zod2.z.undefined();
|
|
237
|
-
var deleteCustomerAddressResponseSchema = import_zod2.z.undefined();
|
|
238
|
-
var DeleteCustomerAddress = class extends import_sdk_js_core2.AbstractApiRequest {
|
|
239
|
-
method = "DELETE";
|
|
240
|
-
contentType = "application/json";
|
|
241
|
-
accept = "application/json";
|
|
242
|
-
inputSchema = deleteCustomerAddressInputSchema;
|
|
243
|
-
outputSchema = deleteCustomerAddressResponseSchema;
|
|
244
|
-
querySchema = void 0;
|
|
245
|
-
headersSchema = void 0;
|
|
246
|
-
customerAddressId;
|
|
247
|
-
constructor(customerAddressId) {
|
|
248
|
-
super(void 0);
|
|
249
|
-
this.customerAddressId = customerAddressId;
|
|
250
|
-
}
|
|
251
|
-
getPath() {
|
|
252
|
-
return `/customers/addresses/${this.customerAddressId}`;
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
// src/requests/customer-addresses/GetCustomerAddressDetails.ts
|
|
257
|
-
var import_sdk_js_core3 = require("@deliverart/sdk-js-core");
|
|
258
|
-
var import_zod3 = require("zod");
|
|
259
|
-
var getCustomerAddressDetailsInputSchema = import_zod3.z.undefined();
|
|
260
|
-
var getCustomerAddressDetailsResponseSchema = customerAddressDetailsSchema;
|
|
261
|
-
var GetCustomerAddressDetails = class extends import_sdk_js_core3.AbstractApiRequest {
|
|
262
|
-
method = "GET";
|
|
263
|
-
contentType = "application/json";
|
|
264
|
-
accept = "application/json";
|
|
265
|
-
inputSchema = getCustomerAddressDetailsInputSchema;
|
|
266
|
-
outputSchema = getCustomerAddressDetailsResponseSchema;
|
|
267
|
-
querySchema = void 0;
|
|
268
|
-
headersSchema = void 0;
|
|
269
|
-
customerAddressId;
|
|
270
|
-
constructor(customerAddressId) {
|
|
271
|
-
super(void 0);
|
|
272
|
-
this.customerAddressId = customerAddressId;
|
|
273
|
-
}
|
|
274
|
-
getPath() {
|
|
275
|
-
return `/customers/addresses/${this.customerAddressId}`;
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
// src/requests/customer-addresses/GetCustomerAddresses.ts
|
|
280
|
-
var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
|
|
281
|
-
var import_sdk_js_global_types3 = require("@deliverart/sdk-js-global-types");
|
|
282
|
-
var import_zod4 = require("zod");
|
|
283
|
-
var getCustomerAddressesQuerySchema = import_zod4.z.object({
|
|
284
|
-
"order[createdAt]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
285
|
-
"order[updatedAt]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
286
|
-
page: import_zod4.z.coerce.number().optional()
|
|
287
|
-
}).merge(import_sdk_js_global_types3.timestampsFilterSchema);
|
|
288
|
-
var getCustomerAddressesInputSchema = import_zod4.z.undefined();
|
|
289
|
-
var getCustomerAddressesResponseSchema = (0, import_sdk_js_global_types3.createPaginatedSchema)(customerAddressSchema);
|
|
290
|
-
var GetCustomerAddresses = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
291
|
-
method = "GET";
|
|
292
|
-
contentType = "application/json";
|
|
293
|
-
accept = "application/json";
|
|
294
|
-
inputSchema = getCustomerAddressesInputSchema;
|
|
295
|
-
outputSchema = getCustomerAddressesResponseSchema;
|
|
296
|
-
querySchema = getCustomerAddressesQuerySchema;
|
|
297
|
-
headersSchema = void 0;
|
|
298
|
-
constructor(options) {
|
|
299
|
-
super(void 0, options);
|
|
300
|
-
}
|
|
301
|
-
getPath() {
|
|
302
|
-
return "/customers/addresses";
|
|
303
|
-
}
|
|
304
|
-
parseResponse(data, rawResponse) {
|
|
305
|
-
const customerAddresses = import_zod4.z.array(customerAddressSchema).parse(data);
|
|
306
|
-
return this.validateOutput({
|
|
307
|
-
data: customerAddresses,
|
|
308
|
-
pagination: (0, import_sdk_js_global_types3.responseToPagination)(rawResponse)
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
// src/requests/customer-addresses/GetCustomerAddressesForCustomer.ts
|
|
314
|
-
var import_sdk_js_core5 = require("@deliverart/sdk-js-core");
|
|
315
|
-
var import_sdk_js_global_types4 = require("@deliverart/sdk-js-global-types");
|
|
316
|
-
var import_zod5 = require("zod");
|
|
317
|
-
var getCustomerAddressesForCustomerQuerySchema = import_zod5.z.object({
|
|
318
|
-
"order[createdAt]": import_sdk_js_global_types4.sortDirSchema.optional(),
|
|
319
|
-
"order[updatedAt]": import_sdk_js_global_types4.sortDirSchema.optional()
|
|
320
|
-
}).merge(import_sdk_js_global_types4.timestampsFilterSchema);
|
|
321
|
-
var getCustomerAddressesForCustomerInputSchema = import_zod5.z.undefined();
|
|
322
|
-
var getCustomerAddressesForCustomerResponseSchema = import_zod5.z.array(customerAddressSchema);
|
|
323
|
-
var GetCustomerAddressesForCustomer = class extends import_sdk_js_core5.AbstractApiRequest {
|
|
324
|
-
method = "GET";
|
|
325
|
-
contentType = "application/json";
|
|
326
|
-
accept = "application/json";
|
|
327
|
-
inputSchema = getCustomerAddressesForCustomerInputSchema;
|
|
328
|
-
outputSchema = getCustomerAddressesForCustomerResponseSchema;
|
|
329
|
-
querySchema = getCustomerAddressesForCustomerQuerySchema;
|
|
330
|
-
headersSchema = void 0;
|
|
331
|
-
customerId;
|
|
332
|
-
constructor(customerId, options) {
|
|
333
|
-
super(void 0, options);
|
|
334
|
-
this.customerId = customerId;
|
|
335
|
-
}
|
|
336
|
-
getPath() {
|
|
337
|
-
return `/customers/${this.customerId}/addresses`;
|
|
338
|
-
}
|
|
339
|
-
parseResponse(data) {
|
|
340
|
-
return import_zod5.z.array(customerAddressSchema).parse(data);
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
// src/requests/customer-addresses/UpdateCustomerAddress.ts
|
|
345
|
-
var import_sdk_js_core6 = require("@deliverart/sdk-js-core");
|
|
346
|
-
var updateCustomerAddressInputSchema = writableCustomerAddressSchema.partial();
|
|
347
|
-
var updateCustomerAddressResponseSchema = customerAddressDetailsSchema;
|
|
348
|
-
var UpdateCustomerAddress = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
349
|
-
method = "PATCH";
|
|
350
|
-
contentType = "application/merge-patch+json";
|
|
351
|
-
accept = "application/json";
|
|
352
|
-
inputSchema = updateCustomerAddressInputSchema;
|
|
353
|
-
outputSchema = updateCustomerAddressResponseSchema;
|
|
354
|
-
querySchema = void 0;
|
|
355
|
-
headersSchema = void 0;
|
|
356
|
-
customerId;
|
|
357
|
-
constructor(customerId, input) {
|
|
358
|
-
super(input);
|
|
359
|
-
this.customerId = customerId;
|
|
360
|
-
}
|
|
361
|
-
getPath() {
|
|
362
|
-
return `/customers/addresses/${this.customerId}`;
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
// src/requests/customer-business-profiles/CreateCustomerBusinessProfile.ts
|
|
367
|
-
var import_sdk_js_core7 = require("@deliverart/sdk-js-core");
|
|
368
|
-
var createCustomerBusinessProfileInputSchema = writableCreateCustomerBusinessProfileSchema.required();
|
|
369
|
-
var createCustomerBusinessProfileResponseSchema = customerBusinessProfileDetailsSchema;
|
|
370
|
-
var CreateCustomerBusinessProfile = class extends import_sdk_js_core7.AbstractApiRequest {
|
|
371
|
-
method = "POST";
|
|
372
|
-
contentType = "application/json";
|
|
373
|
-
accept = "application/json";
|
|
374
|
-
inputSchema = createCustomerBusinessProfileInputSchema;
|
|
375
|
-
outputSchema = createCustomerBusinessProfileResponseSchema;
|
|
376
|
-
querySchema = void 0;
|
|
377
|
-
headersSchema = void 0;
|
|
378
|
-
constructor(input) {
|
|
379
|
-
super(input);
|
|
380
|
-
}
|
|
381
|
-
getPath() {
|
|
382
|
-
return "/customers/business_profiles";
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
// src/requests/customer-business-profiles/DeleteCustomerBusinessProfile.ts
|
|
387
|
-
var import_sdk_js_core8 = require("@deliverart/sdk-js-core");
|
|
388
|
-
var import_zod6 = require("zod");
|
|
389
|
-
var deleteCustomerBusinessProfileInputSchema = import_zod6.z.undefined();
|
|
390
|
-
var deleteCustomerBusinessProfileResponseSchema = import_zod6.z.undefined();
|
|
391
|
-
var DeleteCustomerBusinessProfile = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
392
|
-
method = "DELETE";
|
|
393
|
-
contentType = "application/json";
|
|
394
|
-
accept = "application/json";
|
|
395
|
-
inputSchema = deleteCustomerBusinessProfileInputSchema;
|
|
396
|
-
outputSchema = deleteCustomerBusinessProfileResponseSchema;
|
|
397
|
-
querySchema = void 0;
|
|
398
|
-
headersSchema = void 0;
|
|
399
|
-
customerBusinessProfileId;
|
|
400
|
-
constructor(customerBusinessProfileId) {
|
|
401
|
-
super(void 0);
|
|
402
|
-
this.customerBusinessProfileId = customerBusinessProfileId;
|
|
403
|
-
}
|
|
404
|
-
getPath() {
|
|
405
|
-
return `/customers/business_profiles/${this.customerBusinessProfileId}`;
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
// src/requests/customer-business-profiles/GetCustomerBusinessProfileDetails.ts
|
|
410
|
-
var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
411
|
-
var import_zod7 = require("zod");
|
|
412
|
-
var getCustomerBusinessProfileDetailsInputSchema = import_zod7.z.undefined();
|
|
413
|
-
var getCustomerBusinessProfileDetailsResponseSchema = customerBusinessProfileDetailsSchema;
|
|
414
|
-
var GetCustomerBusinessProfileDetails = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
415
|
-
method = "GET";
|
|
416
|
-
contentType = "application/json";
|
|
417
|
-
accept = "application/json";
|
|
418
|
-
inputSchema = getCustomerBusinessProfileDetailsInputSchema;
|
|
419
|
-
outputSchema = getCustomerBusinessProfileDetailsResponseSchema;
|
|
420
|
-
querySchema = void 0;
|
|
421
|
-
headersSchema = void 0;
|
|
422
|
-
customerBusinessProfileId;
|
|
423
|
-
constructor(customerBusinessProfileId) {
|
|
424
|
-
super(void 0);
|
|
425
|
-
this.customerBusinessProfileId = customerBusinessProfileId;
|
|
426
|
-
}
|
|
427
|
-
getPath() {
|
|
428
|
-
return `/customers/business_profiles/${this.customerBusinessProfileId}`;
|
|
429
|
-
}
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
// src/requests/customer-business-profiles/GetCustomerBusinessProfiles.ts
|
|
433
|
-
var import_sdk_js_core10 = require("@deliverart/sdk-js-core");
|
|
434
|
-
var import_sdk_js_global_types5 = require("@deliverart/sdk-js-global-types");
|
|
435
|
-
var import_zod8 = require("zod");
|
|
436
|
-
var getCustomerBusinessProfilesQuerySchema = import_zod8.z.object({
|
|
437
|
-
"order[businessName]": import_sdk_js_global_types5.sortDirSchema.optional(),
|
|
438
|
-
"order[createdAt]": import_sdk_js_global_types5.sortDirSchema.optional(),
|
|
439
|
-
"order[updatedAt]": import_sdk_js_global_types5.sortDirSchema.optional(),
|
|
440
|
-
businessName: import_zod8.z.string().optional(),
|
|
441
|
-
vat: import_zod8.z.string().optional(),
|
|
442
|
-
taxCode: import_zod8.z.string().optional(),
|
|
443
|
-
page: import_zod8.z.coerce.number().optional()
|
|
444
|
-
}).merge(import_sdk_js_global_types5.timestampsFilterSchema);
|
|
445
|
-
var getCustomerBusinessProfilesInputSchema = import_zod8.z.undefined();
|
|
446
|
-
var getCustomerBusinessProfilesResponseSchema = (0, import_sdk_js_global_types5.createPaginatedSchema)(
|
|
447
|
-
customerBusinessProfileSchema
|
|
448
|
-
);
|
|
449
|
-
var GetCustomerBusinessProfiles = class extends import_sdk_js_core10.AbstractApiRequest {
|
|
450
|
-
method = "GET";
|
|
451
|
-
contentType = "application/json";
|
|
452
|
-
accept = "application/json";
|
|
453
|
-
inputSchema = getCustomerBusinessProfilesInputSchema;
|
|
454
|
-
outputSchema = getCustomerBusinessProfilesResponseSchema;
|
|
455
|
-
querySchema = getCustomerBusinessProfilesQuerySchema;
|
|
456
|
-
headersSchema = void 0;
|
|
457
|
-
constructor(options) {
|
|
458
|
-
super(void 0, options);
|
|
459
|
-
}
|
|
460
|
-
getPath() {
|
|
461
|
-
return "/customers/business_profiles";
|
|
462
|
-
}
|
|
463
|
-
parseResponse(data, rawResponse) {
|
|
464
|
-
const customerBusinessProfiles = import_zod8.z.array(customerBusinessProfileSchema).parse(data);
|
|
465
|
-
return this.validateOutput({
|
|
466
|
-
data: customerBusinessProfiles,
|
|
467
|
-
pagination: (0, import_sdk_js_global_types5.responseToPagination)(rawResponse)
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
};
|
|
471
|
-
|
|
472
|
-
// src/requests/customer-business-profiles/GetCustomerBusinessProfilesForCustomer.ts
|
|
473
|
-
var import_sdk_js_core11 = require("@deliverart/sdk-js-core");
|
|
474
|
-
var import_sdk_js_global_types6 = require("@deliverart/sdk-js-global-types");
|
|
475
|
-
var import_zod9 = require("zod");
|
|
476
|
-
var getCustomerBusinessProfilesForCustomerQuerySchema = import_zod9.z.object({
|
|
477
|
-
"order[businessName]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
478
|
-
"order[createdAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
479
|
-
"order[updatedAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
480
|
-
businessName: import_zod9.z.string().optional(),
|
|
481
|
-
vat: import_zod9.z.string().optional(),
|
|
482
|
-
taxCode: import_zod9.z.string().optional()
|
|
483
|
-
}).merge(import_sdk_js_global_types6.timestampsFilterSchema);
|
|
484
|
-
var getCustomerBusinessProfilesForCustomerInputSchema = import_zod9.z.undefined();
|
|
485
|
-
var getCustomerBusinessProfilesForCustomerResponseSchema = import_zod9.z.array(
|
|
486
|
-
customerBusinessProfileSchema
|
|
487
|
-
);
|
|
488
|
-
var GetCustomerBusinessProfilesForCustomer = class extends import_sdk_js_core11.AbstractApiRequest {
|
|
489
|
-
method = "GET";
|
|
490
|
-
contentType = "application/json";
|
|
491
|
-
accept = "application/json";
|
|
492
|
-
inputSchema = getCustomerBusinessProfilesForCustomerInputSchema;
|
|
493
|
-
outputSchema = getCustomerBusinessProfilesForCustomerResponseSchema;
|
|
494
|
-
querySchema = getCustomerBusinessProfilesForCustomerQuerySchema;
|
|
495
|
-
headersSchema = void 0;
|
|
496
|
-
customerId;
|
|
497
|
-
constructor(customerId, options) {
|
|
498
|
-
super(void 0, options);
|
|
499
|
-
this.customerId = customerId;
|
|
500
|
-
}
|
|
501
|
-
getPath() {
|
|
502
|
-
return `/customers/${this.customerId}/business_profiles`;
|
|
503
|
-
}
|
|
504
|
-
parseResponse(data) {
|
|
505
|
-
return import_zod9.z.array(customerBusinessProfileSchema).parse(data);
|
|
506
|
-
}
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
// src/requests/customer-business-profiles/UpdateCustomerBusinessProfile.ts
|
|
510
|
-
var import_sdk_js_core12 = require("@deliverart/sdk-js-core");
|
|
511
|
-
var updateCustomerBusinessProfileInputSchema = writableCustomerBusinessProfileSchema.partial();
|
|
512
|
-
var updateCustomerBusinessProfileResponseSchema = customerBusinessProfileDetailsSchema;
|
|
513
|
-
var UpdateCustomerBusinessProfile = class extends import_sdk_js_core12.AbstractApiRequest {
|
|
514
|
-
method = "PATCH";
|
|
515
|
-
contentType = "application/merge-patch+json";
|
|
516
|
-
accept = "application/json";
|
|
517
|
-
inputSchema = updateCustomerBusinessProfileInputSchema;
|
|
518
|
-
outputSchema = updateCustomerBusinessProfileResponseSchema;
|
|
519
|
-
querySchema = void 0;
|
|
520
|
-
headersSchema = void 0;
|
|
521
|
-
customerId;
|
|
522
|
-
constructor(customerId, input) {
|
|
523
|
-
super(input);
|
|
524
|
-
this.customerId = customerId;
|
|
525
|
-
}
|
|
526
|
-
getPath() {
|
|
527
|
-
return `/customers/business_profiles/${this.customerId}`;
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
|
|
531
|
-
// src/requests/customers/CreateCustomer.ts
|
|
532
|
-
var import_sdk_js_core13 = require("@deliverart/sdk-js-core");
|
|
533
|
-
var createCustomerInputSchema = writableCreateCustomerSchema.required();
|
|
534
|
-
var createCustomerResponseSchema = customerDetailsSchema;
|
|
535
|
-
var CreateCustomer = class extends import_sdk_js_core13.AbstractApiRequest {
|
|
536
|
-
method = "POST";
|
|
537
|
-
contentType = "application/json";
|
|
538
|
-
accept = "application/json";
|
|
539
|
-
inputSchema = createCustomerInputSchema;
|
|
540
|
-
outputSchema = createCustomerResponseSchema;
|
|
541
|
-
querySchema = void 0;
|
|
542
|
-
headersSchema = void 0;
|
|
543
|
-
constructor(input) {
|
|
544
|
-
super(input);
|
|
545
|
-
}
|
|
546
|
-
getPath() {
|
|
547
|
-
return "/customers";
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
// src/requests/customers/DeleteCustomer.ts
|
|
552
|
-
var import_sdk_js_core14 = require("@deliverart/sdk-js-core");
|
|
553
|
-
var import_zod10 = require("zod");
|
|
554
|
-
var deleteCustomerInputSchema = import_zod10.z.undefined();
|
|
555
|
-
var deleteCustomerResponseSchema = import_zod10.z.undefined();
|
|
556
|
-
var DeleteCustomer = class extends import_sdk_js_core14.AbstractApiRequest {
|
|
557
|
-
method = "DELETE";
|
|
558
|
-
contentType = "application/json";
|
|
559
|
-
accept = "application/json";
|
|
560
|
-
inputSchema = deleteCustomerInputSchema;
|
|
561
|
-
outputSchema = deleteCustomerResponseSchema;
|
|
562
|
-
querySchema = void 0;
|
|
563
|
-
headersSchema = void 0;
|
|
564
|
-
customerId;
|
|
565
|
-
constructor(customerId) {
|
|
566
|
-
super(void 0);
|
|
567
|
-
this.customerId = customerId;
|
|
568
|
-
}
|
|
569
|
-
getPath() {
|
|
570
|
-
return `/customers/${this.customerId}`;
|
|
571
|
-
}
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
// src/requests/customers/GetCustomerDetails.ts
|
|
575
|
-
var import_sdk_js_core15 = require("@deliverart/sdk-js-core");
|
|
576
|
-
var import_zod11 = require("zod");
|
|
577
|
-
var getCustomerDetailsInputSchema = import_zod11.z.undefined();
|
|
578
|
-
var getCustomerDetailsResponseSchema = customerDetailsSchema;
|
|
579
|
-
var GetCustomerDetails = class extends import_sdk_js_core15.AbstractApiRequest {
|
|
580
|
-
method = "GET";
|
|
581
|
-
contentType = "application/json";
|
|
582
|
-
accept = "application/json";
|
|
583
|
-
inputSchema = getCustomerDetailsInputSchema;
|
|
584
|
-
outputSchema = getCustomerDetailsResponseSchema;
|
|
585
|
-
querySchema = void 0;
|
|
586
|
-
headersSchema = void 0;
|
|
587
|
-
customerId;
|
|
588
|
-
constructor(customerId) {
|
|
589
|
-
super(void 0);
|
|
590
|
-
this.customerId = customerId;
|
|
591
|
-
}
|
|
592
|
-
getPath() {
|
|
593
|
-
return `/customers/${this.customerId}`;
|
|
594
|
-
}
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
// src/requests/customers/GetCustomers.ts
|
|
598
|
-
var import_sdk_js_core16 = require("@deliverart/sdk-js-core");
|
|
599
|
-
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
600
|
-
var import_zod12 = require("zod");
|
|
601
|
-
var getCustomersQuerySchema = customersQuerySchema;
|
|
602
|
-
var getCustomersInputSchema = import_zod12.z.undefined();
|
|
603
|
-
var getCustomersResponseSchema = (0, import_sdk_js_global_types7.createPaginatedSchema)(customerSchema);
|
|
604
|
-
var GetCustomers = class extends import_sdk_js_core16.AbstractApiRequest {
|
|
605
|
-
method = "GET";
|
|
606
|
-
contentType = "application/json";
|
|
607
|
-
accept = "application/json";
|
|
608
|
-
inputSchema = getCustomersInputSchema;
|
|
609
|
-
outputSchema = getCustomersResponseSchema;
|
|
610
|
-
querySchema = getCustomersQuerySchema;
|
|
611
|
-
headersSchema = void 0;
|
|
612
|
-
constructor(options) {
|
|
613
|
-
super(void 0, options);
|
|
614
|
-
}
|
|
615
|
-
getPath() {
|
|
616
|
-
return "/customers";
|
|
617
|
-
}
|
|
618
|
-
parseResponse(data, rawResponse) {
|
|
619
|
-
const customers = import_zod12.z.array(customerSchema).parse(data);
|
|
620
|
-
return this.validateOutput({ data: customers, pagination: (0, import_sdk_js_global_types7.responseToPagination)(rawResponse) });
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
|
|
624
|
-
// src/requests/customers/UpdateCustomer.ts
|
|
625
|
-
var import_sdk_js_core17 = require("@deliverart/sdk-js-core");
|
|
626
|
-
var updateCustomerInputSchema = writableCustomerSchema.partial();
|
|
627
|
-
var updateCustomerResponseSchema = customerDetailsSchema;
|
|
628
|
-
var UpdateCustomer = class extends import_sdk_js_core17.AbstractApiRequest {
|
|
629
|
-
method = "PATCH";
|
|
630
|
-
contentType = "application/merge-patch+json";
|
|
631
|
-
accept = "application/json";
|
|
632
|
-
inputSchema = updateCustomerInputSchema;
|
|
633
|
-
outputSchema = updateCustomerResponseSchema;
|
|
634
|
-
querySchema = void 0;
|
|
635
|
-
headersSchema = void 0;
|
|
636
|
-
customerId;
|
|
637
|
-
constructor(customerId, input) {
|
|
638
|
-
super(input);
|
|
639
|
-
this.customerId = customerId;
|
|
640
|
-
}
|
|
641
|
-
getPath() {
|
|
642
|
-
return `/customers/${this.customerId}`;
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
646
|
-
0 && (module.exports = {
|
|
647
|
-
CreateCustomer,
|
|
648
|
-
CreateCustomerAddress,
|
|
649
|
-
CreateCustomerBusinessProfile,
|
|
650
|
-
DeleteCustomer,
|
|
651
|
-
DeleteCustomerAddress,
|
|
652
|
-
DeleteCustomerBusinessProfile,
|
|
653
|
-
GetCustomerAddressDetails,
|
|
654
|
-
GetCustomerAddresses,
|
|
655
|
-
GetCustomerAddressesForCustomer,
|
|
656
|
-
GetCustomerBusinessProfileDetails,
|
|
657
|
-
GetCustomerBusinessProfiles,
|
|
658
|
-
GetCustomerBusinessProfilesForCustomer,
|
|
659
|
-
GetCustomerDetails,
|
|
660
|
-
GetCustomers,
|
|
661
|
-
UpdateCustomer,
|
|
662
|
-
UpdateCustomerAddress,
|
|
663
|
-
UpdateCustomerBusinessProfile,
|
|
664
|
-
createCustomerAddressInputSchema,
|
|
665
|
-
createCustomerAddressResponseSchema,
|
|
666
|
-
createCustomerBusinessProfileInputSchema,
|
|
667
|
-
createCustomerBusinessProfileResponseSchema,
|
|
668
|
-
createCustomerInputSchema,
|
|
669
|
-
createCustomerResponseSchema,
|
|
670
|
-
customerAddressDetailsSchema,
|
|
671
|
-
customerAddressIriSchema,
|
|
672
|
-
customerAddressNullableIriSchema,
|
|
673
|
-
customerAddressSchema,
|
|
674
|
-
customerBusinessProfileDetailsSchema,
|
|
675
|
-
customerBusinessProfileIriSchema,
|
|
676
|
-
customerBusinessProfileNullableIriSchema,
|
|
677
|
-
customerBusinessProfileSchema,
|
|
678
|
-
customerDetailsSchema,
|
|
679
|
-
customerIriSchema,
|
|
680
|
-
customerNullableIriSchema,
|
|
681
|
-
customerSchema,
|
|
682
|
-
customersQuerySchema,
|
|
683
|
-
deleteCustomerAddressInputSchema,
|
|
684
|
-
deleteCustomerAddressResponseSchema,
|
|
685
|
-
deleteCustomerBusinessProfileInputSchema,
|
|
686
|
-
deleteCustomerBusinessProfileResponseSchema,
|
|
687
|
-
deleteCustomerInputSchema,
|
|
688
|
-
deleteCustomerResponseSchema,
|
|
689
|
-
getCustomerAddressDetailsInputSchema,
|
|
690
|
-
getCustomerAddressDetailsResponseSchema,
|
|
691
|
-
getCustomerAddressesForCustomerInputSchema,
|
|
692
|
-
getCustomerAddressesForCustomerQuerySchema,
|
|
693
|
-
getCustomerAddressesForCustomerResponseSchema,
|
|
694
|
-
getCustomerAddressesInputSchema,
|
|
695
|
-
getCustomerAddressesQuerySchema,
|
|
696
|
-
getCustomerAddressesResponseSchema,
|
|
697
|
-
getCustomerBusinessProfileDetailsInputSchema,
|
|
698
|
-
getCustomerBusinessProfileDetailsResponseSchema,
|
|
699
|
-
getCustomerBusinessProfilesForCustomerInputSchema,
|
|
700
|
-
getCustomerBusinessProfilesForCustomerQuerySchema,
|
|
701
|
-
getCustomerBusinessProfilesForCustomerResponseSchema,
|
|
702
|
-
getCustomerBusinessProfilesInputSchema,
|
|
703
|
-
getCustomerBusinessProfilesQuerySchema,
|
|
704
|
-
getCustomerBusinessProfilesResponseSchema,
|
|
705
|
-
getCustomerDetailsInputSchema,
|
|
706
|
-
getCustomerDetailsResponseSchema,
|
|
707
|
-
getCustomersInputSchema,
|
|
708
|
-
getCustomersQuerySchema,
|
|
709
|
-
getCustomersResponseSchema,
|
|
710
|
-
updateCustomerAddressInputSchema,
|
|
711
|
-
updateCustomerAddressResponseSchema,
|
|
712
|
-
updateCustomerBusinessProfileInputSchema,
|
|
713
|
-
updateCustomerBusinessProfileResponseSchema,
|
|
714
|
-
updateCustomerInputSchema,
|
|
715
|
-
updateCustomerResponseSchema,
|
|
716
|
-
writableCreateCustomerAddressSchema,
|
|
717
|
-
writableCreateCustomerBusinessProfileSchema,
|
|
718
|
-
writableCreateCustomerSchema,
|
|
719
|
-
writableCustomerAddressSchema,
|
|
720
|
-
writableCustomerBusinessProfileSchema,
|
|
721
|
-
writableCustomerSchema
|
|
722
|
-
});
|