@arascreative/erp-api-client 3.0.0 → 4.0.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/dist/index.d.mts +908 -396
- package/dist/index.d.ts +908 -396
- package/dist/index.js +738 -334
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +671 -287
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,9 +26,46 @@ interface AddressSearchResultItemDto {
|
|
|
26
26
|
subDistrictName?: string;
|
|
27
27
|
zipCode?: string;
|
|
28
28
|
}
|
|
29
|
+
type AdminFeeBorneBy = (typeof AdminFeeBorneBy)[keyof typeof AdminFeeBorneBy];
|
|
30
|
+
declare const AdminFeeBorneBy: {
|
|
31
|
+
readonly Seller: "Seller";
|
|
32
|
+
readonly Buyer: "Buyer";
|
|
33
|
+
};
|
|
29
34
|
interface AntiforgeryTokenResponse {
|
|
30
35
|
requestToken: string;
|
|
31
36
|
}
|
|
37
|
+
type AssignmentDistributionKind = (typeof AssignmentDistributionKind)[keyof typeof AssignmentDistributionKind];
|
|
38
|
+
declare const AssignmentDistributionKind: {
|
|
39
|
+
readonly Equal: "Equal";
|
|
40
|
+
readonly Percentage: "Percentage";
|
|
41
|
+
readonly Fixed: "Fixed";
|
|
42
|
+
};
|
|
43
|
+
interface AssignmentMemberResult {
|
|
44
|
+
userId: string;
|
|
45
|
+
value: number;
|
|
46
|
+
}
|
|
47
|
+
type BankAccountResponseCustomBankName = null | string;
|
|
48
|
+
interface BankAccountResponse {
|
|
49
|
+
bankAccountId: string;
|
|
50
|
+
bankCode: string;
|
|
51
|
+
bankName: string;
|
|
52
|
+
customBankName?: BankAccountResponseCustomBankName;
|
|
53
|
+
accountNumber: string;
|
|
54
|
+
accountHolderName: string;
|
|
55
|
+
isActive: boolean;
|
|
56
|
+
createdAtUtc: string;
|
|
57
|
+
}
|
|
58
|
+
type BankDtoName = null | string;
|
|
59
|
+
interface BankDto {
|
|
60
|
+
code: string;
|
|
61
|
+
name: BankDtoName;
|
|
62
|
+
}
|
|
63
|
+
type CodFeeType = (typeof CodFeeType)[keyof typeof CodFeeType];
|
|
64
|
+
declare const CodFeeType: {
|
|
65
|
+
readonly Product: "Product";
|
|
66
|
+
readonly Shipping: "Shipping";
|
|
67
|
+
readonly ProductAndShipping: "ProductAndShipping";
|
|
68
|
+
};
|
|
32
69
|
type ConsumeBatchRequestExternalReferenceNo = null | string;
|
|
33
70
|
type ConsumeBatchRequestNote = null | string;
|
|
34
71
|
interface ConsumeBatchRequest {
|
|
@@ -47,6 +84,19 @@ declare const ConsumeBatchSourceType: {
|
|
|
47
84
|
readonly DAMAGED: "DAMAGED";
|
|
48
85
|
readonly INTERNAL_USE: "INTERNAL_USE";
|
|
49
86
|
};
|
|
87
|
+
interface CourierDto {
|
|
88
|
+
code: string;
|
|
89
|
+
name: string;
|
|
90
|
+
services: string[];
|
|
91
|
+
}
|
|
92
|
+
type CreateBankAccountCommandCustomBankName = null | string;
|
|
93
|
+
interface CreateBankAccountCommand {
|
|
94
|
+
bankCode: string;
|
|
95
|
+
accountNumber: string;
|
|
96
|
+
accountHolderName: string;
|
|
97
|
+
customBankName?: CreateBankAccountCommandCustomBankName;
|
|
98
|
+
isActive?: boolean;
|
|
99
|
+
}
|
|
50
100
|
type CreateBatchRequestExpiresOn = null | string;
|
|
51
101
|
type CreateBatchRequestExternalReferenceNo = null | string;
|
|
52
102
|
type CreateBatchRequestNote = null | string;
|
|
@@ -69,17 +119,48 @@ interface CreateProductRequest {
|
|
|
69
119
|
slug: string;
|
|
70
120
|
status?: ProductStatus;
|
|
71
121
|
classification: ProductClassification;
|
|
122
|
+
variants?: CreateProductVariantRequest[];
|
|
123
|
+
images?: ProductImageRequest[];
|
|
124
|
+
}
|
|
125
|
+
interface CreateProductVariantAttributeRequest {
|
|
126
|
+
name: string;
|
|
127
|
+
value: string;
|
|
128
|
+
}
|
|
129
|
+
type CreateProductVariantPricingRequestSale = null | CreateProductVariantSaleRequest;
|
|
130
|
+
interface CreateProductVariantPricingRequest {
|
|
131
|
+
baseAmount: number;
|
|
132
|
+
baseCurrency: string;
|
|
133
|
+
sale?: CreateProductVariantPricingRequestSale;
|
|
134
|
+
wholesale?: CreateProductVariantWholesaleRequest[];
|
|
135
|
+
}
|
|
136
|
+
type CreateProductVariantRequestWeight = null | CreateProductVariantWeightRequest;
|
|
137
|
+
interface CreateProductVariantRequest {
|
|
138
|
+
code: string;
|
|
139
|
+
attributes?: CreateProductVariantAttributeRequest[];
|
|
140
|
+
sources?: VariantMasterItemRequest[];
|
|
141
|
+
weight?: CreateProductVariantRequestWeight;
|
|
142
|
+
pricing: CreateProductVariantPricingRequest;
|
|
143
|
+
}
|
|
144
|
+
interface CreateProductVariantSaleRequest {
|
|
145
|
+
amount: number;
|
|
146
|
+
currency: string;
|
|
147
|
+
startAt: string;
|
|
148
|
+
endAt: string;
|
|
149
|
+
}
|
|
150
|
+
interface CreateProductVariantWeightRequest {
|
|
151
|
+
value: number;
|
|
152
|
+
unit: string;
|
|
153
|
+
}
|
|
154
|
+
interface CreateProductVariantWholesaleRequest {
|
|
155
|
+
minQty: number;
|
|
156
|
+
amount: number;
|
|
157
|
+
currency: string;
|
|
72
158
|
}
|
|
73
159
|
interface CreateStockItemCommand {
|
|
74
160
|
name: string;
|
|
75
161
|
sku: string;
|
|
76
162
|
unit: string;
|
|
77
163
|
}
|
|
78
|
-
interface CreateVariantRequest {
|
|
79
|
-
code: string;
|
|
80
|
-
attributes?: VariantAttributeRequest[];
|
|
81
|
-
weight: VariantWeightRequest;
|
|
82
|
-
}
|
|
83
164
|
type CreateWarehouseCommandFullAddressText = null | string;
|
|
84
165
|
interface CreateWarehouseCommand {
|
|
85
166
|
name: string;
|
|
@@ -128,15 +209,6 @@ interface PagedListOfStockMovementResponse {
|
|
|
128
209
|
hasNextPage?: boolean;
|
|
129
210
|
hasPreviousPage?: boolean;
|
|
130
211
|
}
|
|
131
|
-
interface PagedListOfVariantResponse {
|
|
132
|
-
items: VariantResponse[];
|
|
133
|
-
page: number;
|
|
134
|
-
pageSize: number;
|
|
135
|
-
totalCount: number;
|
|
136
|
-
totalPages?: number;
|
|
137
|
-
hasNextPage?: boolean;
|
|
138
|
-
hasPreviousPage?: boolean;
|
|
139
|
-
}
|
|
140
212
|
interface PagedListOfWarehouseResponse {
|
|
141
213
|
items: WarehouseResponse[];
|
|
142
214
|
page: number;
|
|
@@ -146,6 +218,12 @@ interface PagedListOfWarehouseResponse {
|
|
|
146
218
|
hasNextPage?: boolean;
|
|
147
219
|
hasPreviousPage?: boolean;
|
|
148
220
|
}
|
|
221
|
+
type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType];
|
|
222
|
+
declare const PaymentMethodType: {
|
|
223
|
+
readonly BankTransfer: "BankTransfer";
|
|
224
|
+
readonly Cod: "Cod";
|
|
225
|
+
readonly EPayment: "EPayment";
|
|
226
|
+
};
|
|
149
227
|
interface PermissionInfo {
|
|
150
228
|
module: string;
|
|
151
229
|
code: string;
|
|
@@ -167,11 +245,74 @@ interface ProblemDetails {
|
|
|
167
245
|
detail?: ProblemDetailsDetail;
|
|
168
246
|
instance?: ProblemDetailsInstance;
|
|
169
247
|
}
|
|
248
|
+
type ProductAssignmentInputDistribution = null | AssignmentDistributionKind;
|
|
249
|
+
type ProductAssignmentInputMembers = null | ProductAssignmentMemberInput[];
|
|
250
|
+
interface ProductAssignmentInput {
|
|
251
|
+
distribution: ProductAssignmentInputDistribution;
|
|
252
|
+
members: ProductAssignmentInputMembers;
|
|
253
|
+
}
|
|
254
|
+
interface ProductAssignmentMemberInput {
|
|
255
|
+
userId: string;
|
|
256
|
+
value: number;
|
|
257
|
+
}
|
|
258
|
+
interface ProductAssignmentResult {
|
|
259
|
+
distribution: AssignmentDistributionKind;
|
|
260
|
+
members: AssignmentMemberResult[];
|
|
261
|
+
nextMemberIndex: number;
|
|
262
|
+
}
|
|
170
263
|
type ProductClassification = (typeof ProductClassification)[keyof typeof ProductClassification];
|
|
171
264
|
declare const ProductClassification: {
|
|
172
265
|
readonly Physical: "Physical";
|
|
173
266
|
readonly Digital: "Digital";
|
|
174
267
|
};
|
|
268
|
+
interface ProductImageRequest {
|
|
269
|
+
fileId: string;
|
|
270
|
+
sortOrder: number;
|
|
271
|
+
}
|
|
272
|
+
interface ProductImageResult {
|
|
273
|
+
fileId: string;
|
|
274
|
+
sortOrder: number;
|
|
275
|
+
}
|
|
276
|
+
interface ProductPaymentConfigAccountResult {
|
|
277
|
+
bankAccountId: string;
|
|
278
|
+
enabled: boolean;
|
|
279
|
+
sortOrder: number;
|
|
280
|
+
}
|
|
281
|
+
interface ProductPaymentConfigChannelResult {
|
|
282
|
+
code: string;
|
|
283
|
+
enabled: boolean;
|
|
284
|
+
sortOrder: number;
|
|
285
|
+
}
|
|
286
|
+
type ProductPaymentConfigMethodResultUniqueCode = null | ProductPaymentConfigUniqueCodeResult;
|
|
287
|
+
type ProductPaymentConfigMethodResultFeeType = null | CodFeeType;
|
|
288
|
+
type ProductPaymentConfigMethodResultAdminFeeBorneBy = null | AdminFeeBorneBy;
|
|
289
|
+
interface ProductPaymentConfigMethodResult {
|
|
290
|
+
type: PaymentMethodType;
|
|
291
|
+
enabled: boolean;
|
|
292
|
+
accounts: ProductPaymentConfigAccountResult[];
|
|
293
|
+
uniqueCode: ProductPaymentConfigMethodResultUniqueCode;
|
|
294
|
+
courierFeePercent: number;
|
|
295
|
+
feeType: ProductPaymentConfigMethodResultFeeType;
|
|
296
|
+
minFee: number;
|
|
297
|
+
maxFee: number;
|
|
298
|
+
adminFeeBorneBy: ProductPaymentConfigMethodResultAdminFeeBorneBy;
|
|
299
|
+
channels: ProductPaymentConfigChannelResult[];
|
|
300
|
+
}
|
|
301
|
+
interface ProductPaymentConfigResult {
|
|
302
|
+
useStoreDefaults: boolean;
|
|
303
|
+
methods: ProductPaymentConfigMethodResult[];
|
|
304
|
+
tax: ProductPaymentConfigTaxResult;
|
|
305
|
+
}
|
|
306
|
+
interface ProductPaymentConfigTaxResult {
|
|
307
|
+
enabled: boolean;
|
|
308
|
+
ratePercent: number;
|
|
309
|
+
priceIncludesTax: boolean;
|
|
310
|
+
}
|
|
311
|
+
type ProductPaymentConfigUniqueCodeResultDirection = null | UniqueCodeDirection;
|
|
312
|
+
interface ProductPaymentConfigUniqueCodeResult {
|
|
313
|
+
enabled: boolean;
|
|
314
|
+
direction: ProductPaymentConfigUniqueCodeResultDirection;
|
|
315
|
+
}
|
|
175
316
|
interface ProductResponse {
|
|
176
317
|
id: string;
|
|
177
318
|
categoryId: string;
|
|
@@ -180,6 +321,23 @@ interface ProductResponse {
|
|
|
180
321
|
status: ProductStatus;
|
|
181
322
|
classification: ProductClassification;
|
|
182
323
|
variantCount: number;
|
|
324
|
+
variants: ProductVariantResult[];
|
|
325
|
+
images: ProductImageResult[];
|
|
326
|
+
}
|
|
327
|
+
type ProductShippingInputMode = null | ShippingMode;
|
|
328
|
+
type ProductShippingInputServices = null | ShippingServiceInput[];
|
|
329
|
+
type ProductShippingInputDiscount = null | ShippingDiscountInput;
|
|
330
|
+
type ProductShippingInputDisplay = null | ShippingDisplayInput;
|
|
331
|
+
type ProductShippingInputCoverageCheck = null | ShippingCoverageInput;
|
|
332
|
+
interface ProductShippingInput {
|
|
333
|
+
mode: ProductShippingInputMode;
|
|
334
|
+
flatAmount: number;
|
|
335
|
+
useStoreDefaults: boolean;
|
|
336
|
+
services: ProductShippingInputServices;
|
|
337
|
+
extraFee: number;
|
|
338
|
+
discount: ProductShippingInputDiscount;
|
|
339
|
+
display: ProductShippingInputDisplay;
|
|
340
|
+
coverageCheck: ProductShippingInputCoverageCheck;
|
|
183
341
|
}
|
|
184
342
|
type ProductStatus = (typeof ProductStatus)[keyof typeof ProductStatus];
|
|
185
343
|
declare const ProductStatus: {
|
|
@@ -187,6 +345,46 @@ declare const ProductStatus: {
|
|
|
187
345
|
readonly Live: "Live";
|
|
188
346
|
readonly Archived: "Archived";
|
|
189
347
|
};
|
|
348
|
+
interface ProductVariantAttributeResult {
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
value: string;
|
|
352
|
+
position: number;
|
|
353
|
+
}
|
|
354
|
+
type ProductVariantPricingResultSale = null | ProductVariantSaleResult;
|
|
355
|
+
interface ProductVariantPricingResult {
|
|
356
|
+
id: string;
|
|
357
|
+
baseAmount: number;
|
|
358
|
+
baseCurrency: string;
|
|
359
|
+
sale: ProductVariantPricingResultSale;
|
|
360
|
+
wholesale: ProductVariantWholesaleResult[];
|
|
361
|
+
}
|
|
362
|
+
type ProductVariantResultWeight = null | ProductVariantWeightResult;
|
|
363
|
+
interface ProductVariantResult {
|
|
364
|
+
id: string;
|
|
365
|
+
code: string;
|
|
366
|
+
weight: ProductVariantResultWeight;
|
|
367
|
+
attributes: ProductVariantAttributeResult[];
|
|
368
|
+
pricing: ProductVariantPricingResult;
|
|
369
|
+
sources: VariantMasterItemResult[];
|
|
370
|
+
pricingId?: string;
|
|
371
|
+
}
|
|
372
|
+
interface ProductVariantSaleResult {
|
|
373
|
+
amount: number;
|
|
374
|
+
currency: string;
|
|
375
|
+
startAt: string;
|
|
376
|
+
endAt: string;
|
|
377
|
+
}
|
|
378
|
+
interface ProductVariantWeightResult {
|
|
379
|
+
value: number;
|
|
380
|
+
unit: string;
|
|
381
|
+
}
|
|
382
|
+
interface ProductVariantWholesaleResult {
|
|
383
|
+
minQty: number;
|
|
384
|
+
amount: number;
|
|
385
|
+
currency: string;
|
|
386
|
+
position: number;
|
|
387
|
+
}
|
|
190
388
|
interface ResetPasswordRequest {
|
|
191
389
|
email: string;
|
|
192
390
|
resetCode: string;
|
|
@@ -209,6 +407,74 @@ interface SetUserActiveRequest {
|
|
|
209
407
|
interface SetUserRolesRequest {
|
|
210
408
|
roles: string[];
|
|
211
409
|
}
|
|
410
|
+
type ShippingConfigCoverageResultOnUncovered = null | ShippingCoverageAction;
|
|
411
|
+
interface ShippingConfigCoverageResult {
|
|
412
|
+
enabled: boolean;
|
|
413
|
+
onUncovered: ShippingConfigCoverageResultOnUncovered;
|
|
414
|
+
}
|
|
415
|
+
interface ShippingConfigDiscountResult {
|
|
416
|
+
type: ShippingDiscountType;
|
|
417
|
+
value: number;
|
|
418
|
+
}
|
|
419
|
+
interface ShippingConfigDisplayResult {
|
|
420
|
+
mergeExtraFee: boolean;
|
|
421
|
+
showOriginalPrice: boolean;
|
|
422
|
+
hideCouriers: boolean;
|
|
423
|
+
hideOrigin: boolean;
|
|
424
|
+
}
|
|
425
|
+
type ShippingConfigResultDiscount = null | ShippingConfigDiscountResult;
|
|
426
|
+
interface ShippingConfigResult {
|
|
427
|
+
mode: ShippingMode;
|
|
428
|
+
flatAmount: number;
|
|
429
|
+
useStoreDefaults: boolean;
|
|
430
|
+
services: ShippingConfigServiceResult[];
|
|
431
|
+
extraFee: number;
|
|
432
|
+
discount: ShippingConfigResultDiscount;
|
|
433
|
+
display: ShippingConfigDisplayResult;
|
|
434
|
+
coverageCheck: ShippingConfigCoverageResult;
|
|
435
|
+
}
|
|
436
|
+
interface ShippingConfigServiceResult {
|
|
437
|
+
code: string;
|
|
438
|
+
enabled: boolean;
|
|
439
|
+
couriers: string[];
|
|
440
|
+
}
|
|
441
|
+
type ShippingCoverageAction = (typeof ShippingCoverageAction)[keyof typeof ShippingCoverageAction];
|
|
442
|
+
declare const ShippingCoverageAction: {
|
|
443
|
+
readonly Block: "Block";
|
|
444
|
+
readonly Allow: "Allow";
|
|
445
|
+
};
|
|
446
|
+
type ShippingCoverageInputOnUncovered = null | ShippingCoverageAction;
|
|
447
|
+
interface ShippingCoverageInput {
|
|
448
|
+
enabled: boolean;
|
|
449
|
+
onUncovered: ShippingCoverageInputOnUncovered;
|
|
450
|
+
}
|
|
451
|
+
interface ShippingDiscountInput {
|
|
452
|
+
type: ShippingDiscountType;
|
|
453
|
+
value: number;
|
|
454
|
+
}
|
|
455
|
+
type ShippingDiscountType = (typeof ShippingDiscountType)[keyof typeof ShippingDiscountType];
|
|
456
|
+
declare const ShippingDiscountType: {
|
|
457
|
+
readonly Fixed: "Fixed";
|
|
458
|
+
readonly Percent: "Percent";
|
|
459
|
+
};
|
|
460
|
+
interface ShippingDisplayInput {
|
|
461
|
+
mergeExtraFee: boolean;
|
|
462
|
+
showOriginalPrice: boolean;
|
|
463
|
+
hideCouriers: boolean;
|
|
464
|
+
hideOrigin: boolean;
|
|
465
|
+
}
|
|
466
|
+
type ShippingMode = (typeof ShippingMode)[keyof typeof ShippingMode];
|
|
467
|
+
declare const ShippingMode: {
|
|
468
|
+
readonly Auto: "Auto";
|
|
469
|
+
readonly Flat: "Flat";
|
|
470
|
+
readonly Free: "Free";
|
|
471
|
+
};
|
|
472
|
+
type ShippingServiceInputCouriers = null | string[];
|
|
473
|
+
interface ShippingServiceInput {
|
|
474
|
+
code: string;
|
|
475
|
+
enabled: boolean;
|
|
476
|
+
couriers: ShippingServiceInputCouriers;
|
|
477
|
+
}
|
|
212
478
|
type SourceTypeEnum = (typeof SourceTypeEnum)[keyof typeof SourceTypeEnum];
|
|
213
479
|
declare const SourceTypeEnum: {
|
|
214
480
|
readonly PURCHASE: "PURCHASE";
|
|
@@ -272,6 +538,11 @@ interface TwoFactorState {
|
|
|
272
538
|
isTwoFactorEnabled: boolean;
|
|
273
539
|
isMachineRemembered: boolean;
|
|
274
540
|
}
|
|
541
|
+
type UniqueCodeDirection = (typeof UniqueCodeDirection)[keyof typeof UniqueCodeDirection];
|
|
542
|
+
declare const UniqueCodeDirection: {
|
|
543
|
+
readonly Increase: "Increase";
|
|
544
|
+
readonly Decrease: "Decrease";
|
|
545
|
+
};
|
|
275
546
|
type UpdateAccountRequestNewEmail = null | string;
|
|
276
547
|
type UpdateAccountRequestNewPassword = null | string;
|
|
277
548
|
type UpdateAccountRequestOldPassword = null | string;
|
|
@@ -280,17 +551,25 @@ interface UpdateAccountRequest {
|
|
|
280
551
|
newPassword: UpdateAccountRequestNewPassword;
|
|
281
552
|
oldPassword: UpdateAccountRequestOldPassword;
|
|
282
553
|
}
|
|
554
|
+
type UpdateProductRequestImages = null | ProductImageRequest[];
|
|
283
555
|
interface UpdateProductRequest {
|
|
284
556
|
categoryId: string;
|
|
285
557
|
name: string;
|
|
286
558
|
slug: string;
|
|
287
559
|
status: ProductStatus;
|
|
288
560
|
classification: ProductClassification;
|
|
561
|
+
images?: UpdateProductRequestImages;
|
|
562
|
+
variants?: UpdateProductVariantRequest[];
|
|
289
563
|
}
|
|
290
|
-
|
|
564
|
+
type UpdateProductVariantRequestId = null | string;
|
|
565
|
+
type UpdateProductVariantRequestWeight = null | CreateProductVariantWeightRequest;
|
|
566
|
+
interface UpdateProductVariantRequest {
|
|
567
|
+
id?: UpdateProductVariantRequestId;
|
|
291
568
|
code: string;
|
|
292
|
-
attributes?:
|
|
293
|
-
|
|
569
|
+
attributes?: CreateProductVariantAttributeRequest[];
|
|
570
|
+
sources?: VariantMasterItemRequest[];
|
|
571
|
+
weight?: UpdateProductVariantRequestWeight;
|
|
572
|
+
pricing: CreateProductVariantPricingRequest;
|
|
294
573
|
}
|
|
295
574
|
type UpdateWarehouseCommandFullAddressText = null | string;
|
|
296
575
|
interface UpdateWarehouseCommand {
|
|
@@ -300,73 +579,20 @@ interface UpdateWarehouseCommand {
|
|
|
300
579
|
personInCharge: PersonInChargeData;
|
|
301
580
|
fullAddressText?: UpdateWarehouseCommandFullAddressText;
|
|
302
581
|
}
|
|
303
|
-
type UpsertVariantPricingRequestSale = null | VariantSalePriceRequest;
|
|
304
|
-
interface UpsertVariantPricingRequest {
|
|
305
|
-
baseAmount: number;
|
|
306
|
-
baseCurrency: string;
|
|
307
|
-
sale?: UpsertVariantPricingRequestSale;
|
|
308
|
-
wholesale?: VariantWholesalePriceRequest[];
|
|
309
|
-
}
|
|
310
582
|
interface UserInfo {
|
|
311
583
|
id: string;
|
|
312
584
|
email: string;
|
|
313
585
|
isActive: boolean;
|
|
314
586
|
}
|
|
315
|
-
interface
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
interface VariantAttributeResponse {
|
|
320
|
-
name: string;
|
|
321
|
-
value: string;
|
|
322
|
-
}
|
|
323
|
-
type VariantPricingResponseSale = null | VariantSalePriceResponse;
|
|
324
|
-
interface VariantPricingResponse {
|
|
325
|
-
variantId: string;
|
|
326
|
-
baseAmount: number;
|
|
327
|
-
baseCurrency: string;
|
|
328
|
-
effectiveAmount: number;
|
|
329
|
-
effectiveCurrency: string;
|
|
330
|
-
sale?: VariantPricingResponseSale;
|
|
331
|
-
wholesale?: VariantWholesalePriceResponse[];
|
|
332
|
-
}
|
|
333
|
-
interface VariantResponse {
|
|
334
|
-
id: string;
|
|
335
|
-
productId: string;
|
|
336
|
-
code: string;
|
|
337
|
-
attributes?: VariantAttributeResponse[];
|
|
338
|
-
weight: VariantWeightResponse;
|
|
339
|
-
}
|
|
340
|
-
interface VariantSalePriceRequest {
|
|
341
|
-
amount: number;
|
|
342
|
-
currency: string;
|
|
343
|
-
startAt: string;
|
|
344
|
-
endAt: string;
|
|
345
|
-
}
|
|
346
|
-
interface VariantSalePriceResponse {
|
|
347
|
-
amount: number;
|
|
348
|
-
currency: string;
|
|
349
|
-
startAt: string;
|
|
350
|
-
endAt: string;
|
|
351
|
-
isActive: boolean;
|
|
352
|
-
}
|
|
353
|
-
interface VariantWeightRequest {
|
|
354
|
-
value: number;
|
|
355
|
-
unit: string;
|
|
356
|
-
}
|
|
357
|
-
interface VariantWeightResponse {
|
|
358
|
-
value: number;
|
|
359
|
-
unit: string;
|
|
360
|
-
}
|
|
361
|
-
interface VariantWholesalePriceRequest {
|
|
362
|
-
minQty: number;
|
|
363
|
-
amount: number;
|
|
364
|
-
currency: string;
|
|
587
|
+
interface VariantMasterItemRequest {
|
|
588
|
+
warehouseId: string;
|
|
589
|
+
masterItemId: string;
|
|
590
|
+
quantityPerUnit?: number;
|
|
365
591
|
}
|
|
366
|
-
interface
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
592
|
+
interface VariantMasterItemResult {
|
|
593
|
+
warehouseId: string;
|
|
594
|
+
masterItemId: string;
|
|
595
|
+
quantityPerUnit: number;
|
|
370
596
|
}
|
|
371
597
|
interface WarehouseOptionResponse {
|
|
372
598
|
warehouseId: string;
|
|
@@ -399,10 +625,6 @@ type ListProductsParams = {
|
|
|
399
625
|
page?: number;
|
|
400
626
|
pageSize?: number;
|
|
401
627
|
};
|
|
402
|
-
type ListVariantsParams = {
|
|
403
|
-
page?: number;
|
|
404
|
-
pageSize?: number;
|
|
405
|
-
};
|
|
406
628
|
type ListStockItemsParams = {
|
|
407
629
|
/**
|
|
408
630
|
* Free-text search on name or SKU.
|
|
@@ -729,7 +951,7 @@ declare function useSearchAddresses<TData = Awaited<ReturnType<typeof searchAddr
|
|
|
729
951
|
queryKey: DataTag<QueryKey, TData>;
|
|
730
952
|
};
|
|
731
953
|
/**
|
|
732
|
-
* Creates
|
|
954
|
+
* Creates a product and its variants with pricing in one transaction. At least one variant is required. Validation failures return 400, including duplicate slugs, duplicate variant codes, and duplicate wholesale quantity breaks.
|
|
733
955
|
* @summary Create a product
|
|
734
956
|
*/
|
|
735
957
|
declare const createProduct: (createProductRequest: CreateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -788,7 +1010,7 @@ declare function useListProducts<TData = Awaited<ReturnType<typeof listProducts>
|
|
|
788
1010
|
queryKey: DataTag<QueryKey, TData>;
|
|
789
1011
|
};
|
|
790
1012
|
/**
|
|
791
|
-
* Returns one product
|
|
1013
|
+
* Returns one product with its variants and pricing.
|
|
792
1014
|
* @summary Get product by id
|
|
793
1015
|
*/
|
|
794
1016
|
declare const getProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -820,7 +1042,7 @@ declare function useGetProduct<TData = Awaited<ReturnType<typeof getProduct>>, T
|
|
|
820
1042
|
queryKey: DataTag<QueryKey, TData>;
|
|
821
1043
|
};
|
|
822
1044
|
/**
|
|
823
|
-
* Replaces the
|
|
1045
|
+
* Replaces the variant list. Existing variants sent with an ID are updated, variants without an ID are added, and existing variants omitted from the list are deleted. At least one variant is required. Images are replaced when supplied.
|
|
824
1046
|
* @summary Update a product
|
|
825
1047
|
*/
|
|
826
1048
|
declare const updateProduct: (id: string, updateProductRequest: UpdateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -851,7 +1073,7 @@ declare const useUpdateProduct: <TError = AxiosError<ProblemDetails>, TContext =
|
|
|
851
1073
|
data: UpdateProductRequest;
|
|
852
1074
|
}, TContext>;
|
|
853
1075
|
/**
|
|
854
|
-
*
|
|
1076
|
+
* Soft deletes a product. Its variants and pricing are retained.
|
|
855
1077
|
* @summary Delete a product
|
|
856
1078
|
*/
|
|
857
1079
|
declare const deleteProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
|
|
@@ -877,253 +1099,317 @@ declare const useDeleteProduct: <TError = AxiosError<ProblemDetails>, TContext =
|
|
|
877
1099
|
id: string;
|
|
878
1100
|
}, TContext>;
|
|
879
1101
|
/**
|
|
880
|
-
*
|
|
881
|
-
* @summary
|
|
1102
|
+
* Returns the couriers the shipping module supports. The catalog is reference data kept in code, so each entry reflects the currently deployed supported providers.
|
|
1103
|
+
* @summary List supported couriers
|
|
882
1104
|
*/
|
|
883
|
-
declare const
|
|
884
|
-
declare const
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
data: CreateVariantRequest;
|
|
888
|
-
}, TContext>;
|
|
1105
|
+
declare const listCouriers: (options?: AxiosRequestConfig) => Promise<AxiosResponse<CourierDto[]>>;
|
|
1106
|
+
declare const getListCouriersQueryKey: () => readonly ["/api/shipping/couriers"];
|
|
1107
|
+
declare const getListCouriersQueryOptions: <TData = Awaited<ReturnType<typeof listCouriers>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1108
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCouriers>>, TError, TData>>;
|
|
889
1109
|
axios?: AxiosRequestConfig;
|
|
890
|
-
}) =>
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
type
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* @summary Create a variant
|
|
899
|
-
*/
|
|
900
|
-
declare const useCreateVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
901
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createVariant>>, TError, {
|
|
902
|
-
productId: string;
|
|
903
|
-
data: CreateVariantRequest;
|
|
904
|
-
}, TContext>;
|
|
1110
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof listCouriers>>, TError, TData> & {
|
|
1111
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1112
|
+
};
|
|
1113
|
+
type ListCouriersQueryResult = NonNullable<Awaited<ReturnType<typeof listCouriers>>>;
|
|
1114
|
+
type ListCouriersQueryError = AxiosError<ProblemDetails>;
|
|
1115
|
+
declare function useListCouriers<TData = Awaited<ReturnType<typeof listCouriers>>, TError = AxiosError<ProblemDetails>>(options: {
|
|
1116
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCouriers>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listCouriers>>, TError, Awaited<ReturnType<typeof listCouriers>>>, 'initialData'>;
|
|
905
1117
|
axios?: AxiosRequestConfig;
|
|
906
|
-
}, queryClient?: QueryClient)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1118
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1119
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1120
|
+
};
|
|
1121
|
+
declare function useListCouriers<TData = Awaited<ReturnType<typeof listCouriers>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1122
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCouriers>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listCouriers>>, TError, Awaited<ReturnType<typeof listCouriers>>>, 'initialData'>;
|
|
1123
|
+
axios?: AxiosRequestConfig;
|
|
1124
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1125
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1126
|
+
};
|
|
1127
|
+
declare function useListCouriers<TData = Awaited<ReturnType<typeof listCouriers>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1128
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCouriers>>, TError, TData>>;
|
|
1129
|
+
axios?: AxiosRequestConfig;
|
|
1130
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1131
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1132
|
+
};
|
|
910
1133
|
/**
|
|
911
|
-
* Returns a
|
|
912
|
-
* @summary
|
|
1134
|
+
* Returns a single courier by its normalized code, e.g. `jne`.
|
|
1135
|
+
* @summary Get a supported courier by code
|
|
913
1136
|
*/
|
|
914
|
-
declare const
|
|
915
|
-
declare const
|
|
916
|
-
declare const
|
|
917
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1137
|
+
declare const getCourierByCode: (code: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<CourierDto>>;
|
|
1138
|
+
declare const getGetCourierByCodeQueryKey: (code?: string) => readonly [`/api/shipping/couriers/${string}`];
|
|
1139
|
+
declare const getGetCourierByCodeQueryOptions: <TData = Awaited<ReturnType<typeof getCourierByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1140
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData>>;
|
|
918
1141
|
axios?: AxiosRequestConfig;
|
|
919
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1142
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData> & {
|
|
920
1143
|
queryKey: DataTag<QueryKey, TData>;
|
|
921
1144
|
};
|
|
922
|
-
type
|
|
923
|
-
type
|
|
924
|
-
declare function
|
|
925
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1145
|
+
type GetCourierByCodeQueryResult = NonNullable<Awaited<ReturnType<typeof getCourierByCode>>>;
|
|
1146
|
+
type GetCourierByCodeQueryError = AxiosError<ProblemDetails>;
|
|
1147
|
+
declare function useGetCourierByCode<TData = Awaited<ReturnType<typeof getCourierByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options: {
|
|
1148
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, Awaited<ReturnType<typeof getCourierByCode>>>, 'initialData'>;
|
|
926
1149
|
axios?: AxiosRequestConfig;
|
|
927
1150
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
928
1151
|
queryKey: DataTag<QueryKey, TData>;
|
|
929
1152
|
};
|
|
930
|
-
declare function
|
|
931
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1153
|
+
declare function useGetCourierByCode<TData = Awaited<ReturnType<typeof getCourierByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1154
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, Awaited<ReturnType<typeof getCourierByCode>>>, 'initialData'>;
|
|
932
1155
|
axios?: AxiosRequestConfig;
|
|
933
1156
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
934
1157
|
queryKey: DataTag<QueryKey, TData>;
|
|
935
1158
|
};
|
|
936
|
-
declare function
|
|
937
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1159
|
+
declare function useGetCourierByCode<TData = Awaited<ReturnType<typeof getCourierByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1160
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData>>;
|
|
938
1161
|
axios?: AxiosRequestConfig;
|
|
939
1162
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
940
1163
|
queryKey: DataTag<QueryKey, TData>;
|
|
941
1164
|
};
|
|
942
1165
|
/**
|
|
943
|
-
* Returns
|
|
944
|
-
* @summary Get
|
|
1166
|
+
* Returns the shipping config stored for a product, or 404 when none has been set.
|
|
1167
|
+
* @summary Get a product shipping config
|
|
945
1168
|
*/
|
|
946
|
-
declare const
|
|
947
|
-
declare const
|
|
948
|
-
declare const
|
|
949
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1169
|
+
declare const getProductShippingConfig: (productId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ShippingConfigResult>>;
|
|
1170
|
+
declare const getGetProductShippingConfigQueryKey: (productId?: string) => readonly [`/api/shipping/products/${string}/shipping-config`];
|
|
1171
|
+
declare const getGetProductShippingConfigQueryOptions: <TData = Awaited<ReturnType<typeof getProductShippingConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1172
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData>>;
|
|
950
1173
|
axios?: AxiosRequestConfig;
|
|
951
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1174
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData> & {
|
|
952
1175
|
queryKey: DataTag<QueryKey, TData>;
|
|
953
1176
|
};
|
|
954
|
-
type
|
|
955
|
-
type
|
|
956
|
-
declare function
|
|
957
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1177
|
+
type GetProductShippingConfigQueryResult = NonNullable<Awaited<ReturnType<typeof getProductShippingConfig>>>;
|
|
1178
|
+
type GetProductShippingConfigQueryError = AxiosError<ProblemDetails>;
|
|
1179
|
+
declare function useGetProductShippingConfig<TData = Awaited<ReturnType<typeof getProductShippingConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options: {
|
|
1180
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, Awaited<ReturnType<typeof getProductShippingConfig>>>, 'initialData'>;
|
|
958
1181
|
axios?: AxiosRequestConfig;
|
|
959
1182
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
960
1183
|
queryKey: DataTag<QueryKey, TData>;
|
|
961
1184
|
};
|
|
962
|
-
declare function
|
|
963
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1185
|
+
declare function useGetProductShippingConfig<TData = Awaited<ReturnType<typeof getProductShippingConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1186
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, Awaited<ReturnType<typeof getProductShippingConfig>>>, 'initialData'>;
|
|
964
1187
|
axios?: AxiosRequestConfig;
|
|
965
1188
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
966
1189
|
queryKey: DataTag<QueryKey, TData>;
|
|
967
1190
|
};
|
|
968
|
-
declare function
|
|
969
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1191
|
+
declare function useGetProductShippingConfig<TData = Awaited<ReturnType<typeof getProductShippingConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1192
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData>>;
|
|
970
1193
|
axios?: AxiosRequestConfig;
|
|
971
1194
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
972
1195
|
queryKey: DataTag<QueryKey, TData>;
|
|
973
1196
|
};
|
|
974
1197
|
/**
|
|
975
|
-
*
|
|
976
|
-
* @summary
|
|
1198
|
+
* Validates the payload against the shipping rules and the courier catalog, then stores it. Validation failures return 400 with field paths.
|
|
1199
|
+
* @summary Set a product shipping config
|
|
977
1200
|
*/
|
|
978
|
-
declare const
|
|
979
|
-
declare const
|
|
980
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1201
|
+
declare const setProductShippingConfig: (productId: string, productShippingInput: ProductShippingInput, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
|
|
1202
|
+
declare const getSetProductShippingConfigMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1203
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
981
1204
|
productId: string;
|
|
982
|
-
|
|
983
|
-
data: UpdateVariantRequest;
|
|
1205
|
+
data: ProductShippingInput;
|
|
984
1206
|
}, TContext>;
|
|
985
1207
|
axios?: AxiosRequestConfig;
|
|
986
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1208
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
987
1209
|
productId: string;
|
|
988
|
-
|
|
989
|
-
data: UpdateVariantRequest;
|
|
1210
|
+
data: ProductShippingInput;
|
|
990
1211
|
}, TContext>;
|
|
991
|
-
type
|
|
992
|
-
type
|
|
993
|
-
type
|
|
1212
|
+
type SetProductShippingConfigMutationResult = NonNullable<Awaited<ReturnType<typeof setProductShippingConfig>>>;
|
|
1213
|
+
type SetProductShippingConfigMutationBody = ProductShippingInput;
|
|
1214
|
+
type SetProductShippingConfigMutationError = AxiosError<ProblemDetails>;
|
|
994
1215
|
/**
|
|
995
|
-
* @summary
|
|
1216
|
+
* @summary Set a product shipping config
|
|
996
1217
|
*/
|
|
997
|
-
declare const
|
|
998
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1218
|
+
declare const useSetProductShippingConfig: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1219
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
999
1220
|
productId: string;
|
|
1000
|
-
|
|
1001
|
-
data: UpdateVariantRequest;
|
|
1221
|
+
data: ProductShippingInput;
|
|
1002
1222
|
}, TContext>;
|
|
1003
1223
|
axios?: AxiosRequestConfig;
|
|
1004
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1224
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
1005
1225
|
productId: string;
|
|
1006
|
-
|
|
1007
|
-
data: UpdateVariantRequest;
|
|
1226
|
+
data: ProductShippingInput;
|
|
1008
1227
|
}, TContext>;
|
|
1009
1228
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @summary
|
|
1229
|
+
* Returns the banks supported by the payments module. Banks are in-code reference data, and the 'other' entry keeps the catalog flexible for banks that are not listed explicitly.
|
|
1230
|
+
* @summary List supported banks
|
|
1012
1231
|
*/
|
|
1013
|
-
declare const
|
|
1014
|
-
declare const
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
id: string;
|
|
1018
|
-
}, TContext>;
|
|
1232
|
+
declare const listBanks: (options?: AxiosRequestConfig) => Promise<AxiosResponse<BankDto[]>>;
|
|
1233
|
+
declare const getListBanksQueryKey: () => readonly ["/api/payments/banks"];
|
|
1234
|
+
declare const getListBanksQueryOptions: <TData = Awaited<ReturnType<typeof listBanks>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1235
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listBanks>>, TError, TData>>;
|
|
1019
1236
|
axios?: AxiosRequestConfig;
|
|
1020
|
-
}) =>
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
type
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
* @summary Delete a variant
|
|
1028
|
-
*/
|
|
1029
|
-
declare const useDeleteVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1030
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariant>>, TError, {
|
|
1031
|
-
productId: string;
|
|
1032
|
-
id: string;
|
|
1033
|
-
}, TContext>;
|
|
1237
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof listBanks>>, TError, TData> & {
|
|
1238
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1239
|
+
};
|
|
1240
|
+
type ListBanksQueryResult = NonNullable<Awaited<ReturnType<typeof listBanks>>>;
|
|
1241
|
+
type ListBanksQueryError = AxiosError<ProblemDetails>;
|
|
1242
|
+
declare function useListBanks<TData = Awaited<ReturnType<typeof listBanks>>, TError = AxiosError<ProblemDetails>>(options: {
|
|
1243
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listBanks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listBanks>>, TError, Awaited<ReturnType<typeof listBanks>>>, 'initialData'>;
|
|
1034
1244
|
axios?: AxiosRequestConfig;
|
|
1035
|
-
}, queryClient?: QueryClient)
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1245
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1246
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1247
|
+
};
|
|
1248
|
+
declare function useListBanks<TData = Awaited<ReturnType<typeof listBanks>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1249
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listBanks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listBanks>>, TError, Awaited<ReturnType<typeof listBanks>>>, 'initialData'>;
|
|
1250
|
+
axios?: AxiosRequestConfig;
|
|
1251
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1252
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1253
|
+
};
|
|
1254
|
+
declare function useListBanks<TData = Awaited<ReturnType<typeof listBanks>>, TError = AxiosError<ProblemDetails>>(options?: {
|
|
1255
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listBanks>>, TError, TData>>;
|
|
1256
|
+
axios?: AxiosRequestConfig;
|
|
1257
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1258
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1259
|
+
};
|
|
1039
1260
|
/**
|
|
1040
|
-
* Returns the
|
|
1041
|
-
* @summary Get
|
|
1261
|
+
* Returns the bank for the given code, or 404 when it is not supported.
|
|
1262
|
+
* @summary Get a supported bank by code
|
|
1042
1263
|
*/
|
|
1043
|
-
declare const
|
|
1044
|
-
declare const
|
|
1045
|
-
declare const
|
|
1046
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1264
|
+
declare const getBankByCode: (code: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<BankDto>>;
|
|
1265
|
+
declare const getGetBankByCodeQueryKey: (code?: string) => readonly [`/api/payments/banks/${string}`];
|
|
1266
|
+
declare const getGetBankByCodeQueryOptions: <TData = Awaited<ReturnType<typeof getBankByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1267
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData>>;
|
|
1047
1268
|
axios?: AxiosRequestConfig;
|
|
1048
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1269
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData> & {
|
|
1049
1270
|
queryKey: DataTag<QueryKey, TData>;
|
|
1050
1271
|
};
|
|
1051
|
-
type
|
|
1052
|
-
type
|
|
1053
|
-
declare function
|
|
1054
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1272
|
+
type GetBankByCodeQueryResult = NonNullable<Awaited<ReturnType<typeof getBankByCode>>>;
|
|
1273
|
+
type GetBankByCodeQueryError = AxiosError<ProblemDetails>;
|
|
1274
|
+
declare function useGetBankByCode<TData = Awaited<ReturnType<typeof getBankByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options: {
|
|
1275
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, Awaited<ReturnType<typeof getBankByCode>>>, 'initialData'>;
|
|
1055
1276
|
axios?: AxiosRequestConfig;
|
|
1056
1277
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1057
1278
|
queryKey: DataTag<QueryKey, TData>;
|
|
1058
1279
|
};
|
|
1059
|
-
declare function
|
|
1060
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1280
|
+
declare function useGetBankByCode<TData = Awaited<ReturnType<typeof getBankByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1281
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, Awaited<ReturnType<typeof getBankByCode>>>, 'initialData'>;
|
|
1061
1282
|
axios?: AxiosRequestConfig;
|
|
1062
1283
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1063
1284
|
queryKey: DataTag<QueryKey, TData>;
|
|
1064
1285
|
};
|
|
1065
|
-
declare function
|
|
1066
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof
|
|
1286
|
+
declare function useGetBankByCode<TData = Awaited<ReturnType<typeof getBankByCode>>, TError = AxiosError<ProblemDetails>>(code: string, options?: {
|
|
1287
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData>>;
|
|
1067
1288
|
axios?: AxiosRequestConfig;
|
|
1068
1289
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1069
1290
|
queryKey: DataTag<QueryKey, TData>;
|
|
1070
1291
|
};
|
|
1071
1292
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
* @summary
|
|
1293
|
+
* Creates a bank account. The bank code must be part of the bank catalog (the 'other' code is available for banks outside the list). Validation failures return 400.
|
|
1294
|
+
* @summary Create a bank account
|
|
1074
1295
|
*/
|
|
1075
|
-
declare const
|
|
1076
|
-
declare const
|
|
1077
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1078
|
-
|
|
1079
|
-
data: UpsertVariantPricingRequest;
|
|
1296
|
+
declare const createBankAccount: (createBankAccountCommand: CreateBankAccountCommand, options?: AxiosRequestConfig) => Promise<AxiosResponse<BankAccountResponse>>;
|
|
1297
|
+
declare const getCreateBankAccountMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1298
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1299
|
+
data: CreateBankAccountCommand;
|
|
1080
1300
|
}, TContext>;
|
|
1081
1301
|
axios?: AxiosRequestConfig;
|
|
1082
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1083
|
-
|
|
1084
|
-
data: UpsertVariantPricingRequest;
|
|
1302
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1303
|
+
data: CreateBankAccountCommand;
|
|
1085
1304
|
}, TContext>;
|
|
1086
|
-
type
|
|
1087
|
-
type
|
|
1088
|
-
type
|
|
1305
|
+
type CreateBankAccountMutationResult = NonNullable<Awaited<ReturnType<typeof createBankAccount>>>;
|
|
1306
|
+
type CreateBankAccountMutationBody = CreateBankAccountCommand;
|
|
1307
|
+
type CreateBankAccountMutationError = AxiosError<ProblemDetails>;
|
|
1089
1308
|
/**
|
|
1090
|
-
* @summary
|
|
1309
|
+
* @summary Create a bank account
|
|
1091
1310
|
*/
|
|
1092
|
-
declare const
|
|
1093
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1094
|
-
|
|
1095
|
-
data: UpsertVariantPricingRequest;
|
|
1311
|
+
declare const useCreateBankAccount: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1312
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1313
|
+
data: CreateBankAccountCommand;
|
|
1096
1314
|
}, TContext>;
|
|
1097
1315
|
axios?: AxiosRequestConfig;
|
|
1098
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1099
|
-
|
|
1100
|
-
data: UpsertVariantPricingRequest;
|
|
1316
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1317
|
+
data: CreateBankAccountCommand;
|
|
1101
1318
|
}, TContext>;
|
|
1102
1319
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @summary
|
|
1320
|
+
* Returns the payment config stored for a product, or 404 when none has been set.
|
|
1321
|
+
* @summary Get a product payment config
|
|
1322
|
+
*/
|
|
1323
|
+
declare const getProductPaymentConfig: (productId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductPaymentConfigResult>>;
|
|
1324
|
+
declare const getGetProductPaymentConfigQueryKey: (productId?: string) => readonly [`/api/payments/products/${string}/payment-config`];
|
|
1325
|
+
declare const getGetProductPaymentConfigQueryOptions: <TData = Awaited<ReturnType<typeof getProductPaymentConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1326
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, TData>>;
|
|
1327
|
+
axios?: AxiosRequestConfig;
|
|
1328
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, TData> & {
|
|
1329
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1330
|
+
};
|
|
1331
|
+
type GetProductPaymentConfigQueryResult = NonNullable<Awaited<ReturnType<typeof getProductPaymentConfig>>>;
|
|
1332
|
+
type GetProductPaymentConfigQueryError = AxiosError<ProblemDetails>;
|
|
1333
|
+
declare function useGetProductPaymentConfig<TData = Awaited<ReturnType<typeof getProductPaymentConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options: {
|
|
1334
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, Awaited<ReturnType<typeof getProductPaymentConfig>>>, 'initialData'>;
|
|
1335
|
+
axios?: AxiosRequestConfig;
|
|
1336
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1337
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1338
|
+
};
|
|
1339
|
+
declare function useGetProductPaymentConfig<TData = Awaited<ReturnType<typeof getProductPaymentConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1340
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, Awaited<ReturnType<typeof getProductPaymentConfig>>>, 'initialData'>;
|
|
1341
|
+
axios?: AxiosRequestConfig;
|
|
1342
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1343
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1344
|
+
};
|
|
1345
|
+
declare function useGetProductPaymentConfig<TData = Awaited<ReturnType<typeof getProductPaymentConfig>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1346
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductPaymentConfig>>, TError, TData>>;
|
|
1347
|
+
axios?: AxiosRequestConfig;
|
|
1348
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1349
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1350
|
+
};
|
|
1351
|
+
/**
|
|
1352
|
+
* Returns the order assignment stored for a product, or 404 when none has been set.
|
|
1353
|
+
* @summary Get a product order assignment
|
|
1354
|
+
*/
|
|
1355
|
+
declare const getProductAssignment: (productId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductAssignmentResult>>;
|
|
1356
|
+
declare const getGetProductAssignmentQueryKey: (productId?: string) => readonly [`/api/assignment/products/${string}/assignment`];
|
|
1357
|
+
declare const getGetProductAssignmentQueryOptions: <TData = Awaited<ReturnType<typeof getProductAssignment>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1358
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, TData>>;
|
|
1359
|
+
axios?: AxiosRequestConfig;
|
|
1360
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, TData> & {
|
|
1361
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1362
|
+
};
|
|
1363
|
+
type GetProductAssignmentQueryResult = NonNullable<Awaited<ReturnType<typeof getProductAssignment>>>;
|
|
1364
|
+
type GetProductAssignmentQueryError = AxiosError<ProblemDetails>;
|
|
1365
|
+
declare function useGetProductAssignment<TData = Awaited<ReturnType<typeof getProductAssignment>>, TError = AxiosError<ProblemDetails>>(productId: string, options: {
|
|
1366
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, Awaited<ReturnType<typeof getProductAssignment>>>, 'initialData'>;
|
|
1367
|
+
axios?: AxiosRequestConfig;
|
|
1368
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1369
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1370
|
+
};
|
|
1371
|
+
declare function useGetProductAssignment<TData = Awaited<ReturnType<typeof getProductAssignment>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1372
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, Awaited<ReturnType<typeof getProductAssignment>>>, 'initialData'>;
|
|
1373
|
+
axios?: AxiosRequestConfig;
|
|
1374
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1375
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1376
|
+
};
|
|
1377
|
+
declare function useGetProductAssignment<TData = Awaited<ReturnType<typeof getProductAssignment>>, TError = AxiosError<ProblemDetails>>(productId: string, options?: {
|
|
1378
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProductAssignment>>, TError, TData>>;
|
|
1379
|
+
axios?: AxiosRequestConfig;
|
|
1380
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1381
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* Validates the distribution and member eligibility rules, then stores the assignment. Validation failures return 400 with field paths.
|
|
1385
|
+
* @summary Set a product order assignment
|
|
1105
1386
|
*/
|
|
1106
|
-
declare const
|
|
1107
|
-
declare const
|
|
1108
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1109
|
-
|
|
1387
|
+
declare const setProductAssignment: (productId: string, productAssignmentInput: ProductAssignmentInput, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
|
|
1388
|
+
declare const getSetProductAssignmentMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1389
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1390
|
+
productId: string;
|
|
1391
|
+
data: ProductAssignmentInput;
|
|
1110
1392
|
}, TContext>;
|
|
1111
1393
|
axios?: AxiosRequestConfig;
|
|
1112
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1113
|
-
|
|
1394
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1395
|
+
productId: string;
|
|
1396
|
+
data: ProductAssignmentInput;
|
|
1114
1397
|
}, TContext>;
|
|
1115
|
-
type
|
|
1116
|
-
type
|
|
1398
|
+
type SetProductAssignmentMutationResult = NonNullable<Awaited<ReturnType<typeof setProductAssignment>>>;
|
|
1399
|
+
type SetProductAssignmentMutationBody = ProductAssignmentInput;
|
|
1400
|
+
type SetProductAssignmentMutationError = AxiosError<ProblemDetails>;
|
|
1117
1401
|
/**
|
|
1118
|
-
* @summary
|
|
1402
|
+
* @summary Set a product order assignment
|
|
1119
1403
|
*/
|
|
1120
|
-
declare const
|
|
1121
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1122
|
-
|
|
1404
|
+
declare const useSetProductAssignment: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1405
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1406
|
+
productId: string;
|
|
1407
|
+
data: ProductAssignmentInput;
|
|
1123
1408
|
}, TContext>;
|
|
1124
1409
|
axios?: AxiosRequestConfig;
|
|
1125
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1126
|
-
|
|
1410
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1411
|
+
productId: string;
|
|
1412
|
+
data: ProductAssignmentInput;
|
|
1127
1413
|
}, TContext>;
|
|
1128
1414
|
/**
|
|
1129
1415
|
* Creates a new stock item with a unique SKU. Validation failures return 400.
|
|
@@ -1945,9 +2231,10 @@ declare const searchAddressesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1945
2231
|
zipCode: zod.ZodOptional<zod.ZodString>;
|
|
1946
2232
|
}, zod.z.core.$strict>>;
|
|
1947
2233
|
/**
|
|
1948
|
-
* Creates
|
|
2234
|
+
* Creates a product and its variants with pricing in one transaction. At least one variant is required. Validation failures return 400, including duplicate slugs, duplicate variant codes, and duplicate wholesale quantity breaks.
|
|
1949
2235
|
* @summary Create a product
|
|
1950
2236
|
*/
|
|
2237
|
+
declare const createProductBodyVariantsItemSourcesItemQuantityPerUnitDefault = 1;
|
|
1951
2238
|
declare const createProductBody: zod.ZodObject<{
|
|
1952
2239
|
categoryId: zod.ZodUUID;
|
|
1953
2240
|
name: zod.ZodString;
|
|
@@ -1961,6 +2248,41 @@ declare const createProductBody: zod.ZodObject<{
|
|
|
1961
2248
|
Physical: "Physical";
|
|
1962
2249
|
Digital: "Digital";
|
|
1963
2250
|
}>;
|
|
2251
|
+
variants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2252
|
+
code: zod.ZodString;
|
|
2253
|
+
attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2254
|
+
name: zod.ZodString;
|
|
2255
|
+
value: zod.ZodString;
|
|
2256
|
+
}, zod.z.core.$strict>>>;
|
|
2257
|
+
sources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2258
|
+
warehouseId: zod.ZodUUID;
|
|
2259
|
+
masterItemId: zod.ZodUUID;
|
|
2260
|
+
quantityPerUnit: zod.ZodDefault<zod.ZodNumber>;
|
|
2261
|
+
}, zod.z.core.$strict>>>;
|
|
2262
|
+
weight: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2263
|
+
value: zod.ZodNumber;
|
|
2264
|
+
unit: zod.ZodString;
|
|
2265
|
+
}, zod.z.core.$strict>]>>;
|
|
2266
|
+
pricing: zod.ZodObject<{
|
|
2267
|
+
baseAmount: zod.ZodNumber;
|
|
2268
|
+
baseCurrency: zod.ZodString;
|
|
2269
|
+
sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2270
|
+
amount: zod.ZodNumber;
|
|
2271
|
+
currency: zod.ZodString;
|
|
2272
|
+
startAt: zod.z.ZodISODateTime;
|
|
2273
|
+
endAt: zod.z.ZodISODateTime;
|
|
2274
|
+
}, zod.z.core.$strict>]>>;
|
|
2275
|
+
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2276
|
+
minQty: zod.ZodNumber;
|
|
2277
|
+
amount: zod.ZodNumber;
|
|
2278
|
+
currency: zod.ZodString;
|
|
2279
|
+
}, zod.z.core.$strict>>>;
|
|
2280
|
+
}, zod.z.core.$strict>;
|
|
2281
|
+
}, zod.z.core.$strict>>>;
|
|
2282
|
+
images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2283
|
+
fileId: zod.ZodUUID;
|
|
2284
|
+
sortOrder: zod.ZodNumber;
|
|
2285
|
+
}, zod.z.core.$strict>>>;
|
|
1964
2286
|
}, zod.z.core.$strict>;
|
|
1965
2287
|
/**
|
|
1966
2288
|
* Returns a paginated list of products with their variant count.
|
|
@@ -1988,6 +2310,47 @@ declare const listProductsResponse: zod.ZodObject<{
|
|
|
1988
2310
|
Digital: "Digital";
|
|
1989
2311
|
}>;
|
|
1990
2312
|
variantCount: zod.ZodNumber;
|
|
2313
|
+
variants: zod.ZodArray<zod.ZodObject<{
|
|
2314
|
+
id: zod.ZodUUID;
|
|
2315
|
+
code: zod.ZodString;
|
|
2316
|
+
weight: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2317
|
+
value: zod.ZodNumber;
|
|
2318
|
+
unit: zod.ZodString;
|
|
2319
|
+
}, zod.z.core.$strict>]>;
|
|
2320
|
+
attributes: zod.ZodArray<zod.ZodObject<{
|
|
2321
|
+
id: zod.ZodUUID;
|
|
2322
|
+
name: zod.ZodString;
|
|
2323
|
+
value: zod.ZodString;
|
|
2324
|
+
position: zod.ZodNumber;
|
|
2325
|
+
}, zod.z.core.$strict>>;
|
|
2326
|
+
pricing: zod.ZodObject<{
|
|
2327
|
+
id: zod.ZodUUID;
|
|
2328
|
+
baseAmount: zod.ZodNumber;
|
|
2329
|
+
baseCurrency: zod.ZodString;
|
|
2330
|
+
sale: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2331
|
+
amount: zod.ZodNumber;
|
|
2332
|
+
currency: zod.ZodString;
|
|
2333
|
+
startAt: zod.z.ZodISODateTime;
|
|
2334
|
+
endAt: zod.z.ZodISODateTime;
|
|
2335
|
+
}, zod.z.core.$strict>]>;
|
|
2336
|
+
wholesale: zod.ZodArray<zod.ZodObject<{
|
|
2337
|
+
minQty: zod.ZodNumber;
|
|
2338
|
+
amount: zod.ZodNumber;
|
|
2339
|
+
currency: zod.ZodString;
|
|
2340
|
+
position: zod.ZodNumber;
|
|
2341
|
+
}, zod.z.core.$strict>>;
|
|
2342
|
+
}, zod.z.core.$strict>;
|
|
2343
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
2344
|
+
warehouseId: zod.ZodUUID;
|
|
2345
|
+
masterItemId: zod.ZodUUID;
|
|
2346
|
+
quantityPerUnit: zod.ZodNumber;
|
|
2347
|
+
}, zod.z.core.$strict>>;
|
|
2348
|
+
pricingId: zod.ZodOptional<zod.ZodUUID>;
|
|
2349
|
+
}, zod.z.core.$strict>>;
|
|
2350
|
+
images: zod.ZodArray<zod.ZodObject<{
|
|
2351
|
+
fileId: zod.ZodUUID;
|
|
2352
|
+
sortOrder: zod.ZodNumber;
|
|
2353
|
+
}, zod.z.core.$strict>>;
|
|
1991
2354
|
}, zod.z.core.$strict>>;
|
|
1992
2355
|
page: zod.ZodNumber;
|
|
1993
2356
|
pageSize: zod.ZodNumber;
|
|
@@ -1997,7 +2360,7 @@ declare const listProductsResponse: zod.ZodObject<{
|
|
|
1997
2360
|
hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
|
|
1998
2361
|
}, zod.z.core.$strict>;
|
|
1999
2362
|
/**
|
|
2000
|
-
* Returns one product
|
|
2363
|
+
* Returns one product with its variants and pricing.
|
|
2001
2364
|
* @summary Get product by id
|
|
2002
2365
|
*/
|
|
2003
2366
|
declare const getProductParams: zod.ZodObject<{
|
|
@@ -2018,14 +2381,56 @@ declare const getProductResponse: zod.ZodObject<{
|
|
|
2018
2381
|
Digital: "Digital";
|
|
2019
2382
|
}>;
|
|
2020
2383
|
variantCount: zod.ZodNumber;
|
|
2384
|
+
variants: zod.ZodArray<zod.ZodObject<{
|
|
2385
|
+
id: zod.ZodUUID;
|
|
2386
|
+
code: zod.ZodString;
|
|
2387
|
+
weight: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2388
|
+
value: zod.ZodNumber;
|
|
2389
|
+
unit: zod.ZodString;
|
|
2390
|
+
}, zod.z.core.$strict>]>;
|
|
2391
|
+
attributes: zod.ZodArray<zod.ZodObject<{
|
|
2392
|
+
id: zod.ZodUUID;
|
|
2393
|
+
name: zod.ZodString;
|
|
2394
|
+
value: zod.ZodString;
|
|
2395
|
+
position: zod.ZodNumber;
|
|
2396
|
+
}, zod.z.core.$strict>>;
|
|
2397
|
+
pricing: zod.ZodObject<{
|
|
2398
|
+
id: zod.ZodUUID;
|
|
2399
|
+
baseAmount: zod.ZodNumber;
|
|
2400
|
+
baseCurrency: zod.ZodString;
|
|
2401
|
+
sale: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2402
|
+
amount: zod.ZodNumber;
|
|
2403
|
+
currency: zod.ZodString;
|
|
2404
|
+
startAt: zod.z.ZodISODateTime;
|
|
2405
|
+
endAt: zod.z.ZodISODateTime;
|
|
2406
|
+
}, zod.z.core.$strict>]>;
|
|
2407
|
+
wholesale: zod.ZodArray<zod.ZodObject<{
|
|
2408
|
+
minQty: zod.ZodNumber;
|
|
2409
|
+
amount: zod.ZodNumber;
|
|
2410
|
+
currency: zod.ZodString;
|
|
2411
|
+
position: zod.ZodNumber;
|
|
2412
|
+
}, zod.z.core.$strict>>;
|
|
2413
|
+
}, zod.z.core.$strict>;
|
|
2414
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
2415
|
+
warehouseId: zod.ZodUUID;
|
|
2416
|
+
masterItemId: zod.ZodUUID;
|
|
2417
|
+
quantityPerUnit: zod.ZodNumber;
|
|
2418
|
+
}, zod.z.core.$strict>>;
|
|
2419
|
+
pricingId: zod.ZodOptional<zod.ZodUUID>;
|
|
2420
|
+
}, zod.z.core.$strict>>;
|
|
2421
|
+
images: zod.ZodArray<zod.ZodObject<{
|
|
2422
|
+
fileId: zod.ZodUUID;
|
|
2423
|
+
sortOrder: zod.ZodNumber;
|
|
2424
|
+
}, zod.z.core.$strict>>;
|
|
2021
2425
|
}, zod.z.core.$strict>;
|
|
2022
2426
|
/**
|
|
2023
|
-
* Replaces the
|
|
2427
|
+
* Replaces the variant list. Existing variants sent with an ID are updated, variants without an ID are added, and existing variants omitted from the list are deleted. At least one variant is required. Images are replaced when supplied.
|
|
2024
2428
|
* @summary Update a product
|
|
2025
2429
|
*/
|
|
2026
2430
|
declare const updateProductParams: zod.ZodObject<{
|
|
2027
2431
|
id: zod.ZodUUID;
|
|
2028
2432
|
}, zod.z.core.$strict>;
|
|
2433
|
+
declare const updateProductBodyVariantsItemSourcesItemQuantityPerUnitDefault = 1;
|
|
2029
2434
|
declare const updateProductBody: zod.ZodObject<{
|
|
2030
2435
|
categoryId: zod.ZodUUID;
|
|
2031
2436
|
name: zod.ZodString;
|
|
@@ -2039,6 +2444,42 @@ declare const updateProductBody: zod.ZodObject<{
|
|
|
2039
2444
|
Physical: "Physical";
|
|
2040
2445
|
Digital: "Digital";
|
|
2041
2446
|
}>;
|
|
2447
|
+
images: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2448
|
+
fileId: zod.ZodUUID;
|
|
2449
|
+
sortOrder: zod.ZodNumber;
|
|
2450
|
+
}, zod.z.core.$strict>>>>;
|
|
2451
|
+
variants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2452
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
|
|
2453
|
+
code: zod.ZodString;
|
|
2454
|
+
attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2455
|
+
name: zod.ZodString;
|
|
2456
|
+
value: zod.ZodString;
|
|
2457
|
+
}, zod.z.core.$strict>>>;
|
|
2458
|
+
sources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2459
|
+
warehouseId: zod.ZodUUID;
|
|
2460
|
+
masterItemId: zod.ZodUUID;
|
|
2461
|
+
quantityPerUnit: zod.ZodDefault<zod.ZodNumber>;
|
|
2462
|
+
}, zod.z.core.$strict>>>;
|
|
2463
|
+
weight: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2464
|
+
value: zod.ZodNumber;
|
|
2465
|
+
unit: zod.ZodString;
|
|
2466
|
+
}, zod.z.core.$strict>]>>;
|
|
2467
|
+
pricing: zod.ZodObject<{
|
|
2468
|
+
baseAmount: zod.ZodNumber;
|
|
2469
|
+
baseCurrency: zod.ZodString;
|
|
2470
|
+
sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2471
|
+
amount: zod.ZodNumber;
|
|
2472
|
+
currency: zod.ZodString;
|
|
2473
|
+
startAt: zod.z.ZodISODateTime;
|
|
2474
|
+
endAt: zod.z.ZodISODateTime;
|
|
2475
|
+
}, zod.z.core.$strict>]>>;
|
|
2476
|
+
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2477
|
+
minQty: zod.ZodNumber;
|
|
2478
|
+
amount: zod.ZodNumber;
|
|
2479
|
+
currency: zod.ZodString;
|
|
2480
|
+
}, zod.z.core.$strict>>>;
|
|
2481
|
+
}, zod.z.core.$strict>;
|
|
2482
|
+
}, zod.z.core.$strict>>>;
|
|
2042
2483
|
}, zod.z.core.$strict>;
|
|
2043
2484
|
declare const updateProductResponse: zod.ZodObject<{
|
|
2044
2485
|
id: zod.ZodUUID;
|
|
@@ -2055,200 +2496,271 @@ declare const updateProductResponse: zod.ZodObject<{
|
|
|
2055
2496
|
Digital: "Digital";
|
|
2056
2497
|
}>;
|
|
2057
2498
|
variantCount: zod.ZodNumber;
|
|
2499
|
+
variants: zod.ZodArray<zod.ZodObject<{
|
|
2500
|
+
id: zod.ZodUUID;
|
|
2501
|
+
code: zod.ZodString;
|
|
2502
|
+
weight: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2503
|
+
value: zod.ZodNumber;
|
|
2504
|
+
unit: zod.ZodString;
|
|
2505
|
+
}, zod.z.core.$strict>]>;
|
|
2506
|
+
attributes: zod.ZodArray<zod.ZodObject<{
|
|
2507
|
+
id: zod.ZodUUID;
|
|
2508
|
+
name: zod.ZodString;
|
|
2509
|
+
value: zod.ZodString;
|
|
2510
|
+
position: zod.ZodNumber;
|
|
2511
|
+
}, zod.z.core.$strict>>;
|
|
2512
|
+
pricing: zod.ZodObject<{
|
|
2513
|
+
id: zod.ZodUUID;
|
|
2514
|
+
baseAmount: zod.ZodNumber;
|
|
2515
|
+
baseCurrency: zod.ZodString;
|
|
2516
|
+
sale: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2517
|
+
amount: zod.ZodNumber;
|
|
2518
|
+
currency: zod.ZodString;
|
|
2519
|
+
startAt: zod.z.ZodISODateTime;
|
|
2520
|
+
endAt: zod.z.ZodISODateTime;
|
|
2521
|
+
}, zod.z.core.$strict>]>;
|
|
2522
|
+
wholesale: zod.ZodArray<zod.ZodObject<{
|
|
2523
|
+
minQty: zod.ZodNumber;
|
|
2524
|
+
amount: zod.ZodNumber;
|
|
2525
|
+
currency: zod.ZodString;
|
|
2526
|
+
position: zod.ZodNumber;
|
|
2527
|
+
}, zod.z.core.$strict>>;
|
|
2528
|
+
}, zod.z.core.$strict>;
|
|
2529
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
2530
|
+
warehouseId: zod.ZodUUID;
|
|
2531
|
+
masterItemId: zod.ZodUUID;
|
|
2532
|
+
quantityPerUnit: zod.ZodNumber;
|
|
2533
|
+
}, zod.z.core.$strict>>;
|
|
2534
|
+
pricingId: zod.ZodOptional<zod.ZodUUID>;
|
|
2535
|
+
}, zod.z.core.$strict>>;
|
|
2536
|
+
images: zod.ZodArray<zod.ZodObject<{
|
|
2537
|
+
fileId: zod.ZodUUID;
|
|
2538
|
+
sortOrder: zod.ZodNumber;
|
|
2539
|
+
}, zod.z.core.$strict>>;
|
|
2058
2540
|
}, zod.z.core.$strict>;
|
|
2059
2541
|
/**
|
|
2060
|
-
*
|
|
2542
|
+
* Soft deletes a product. Its variants and pricing are retained.
|
|
2061
2543
|
* @summary Delete a product
|
|
2062
2544
|
*/
|
|
2063
2545
|
declare const deleteProductParams: zod.ZodObject<{
|
|
2064
2546
|
id: zod.ZodUUID;
|
|
2065
2547
|
}, zod.z.core.$strict>;
|
|
2066
2548
|
/**
|
|
2067
|
-
*
|
|
2068
|
-
* @summary
|
|
2549
|
+
* Returns the couriers the shipping module supports. The catalog is reference data kept in code, so each entry reflects the currently deployed supported providers.
|
|
2550
|
+
* @summary List supported couriers
|
|
2069
2551
|
*/
|
|
2070
|
-
declare const
|
|
2071
|
-
|
|
2552
|
+
declare const listCouriersResponseItem: zod.ZodObject<{
|
|
2553
|
+
code: zod.ZodString;
|
|
2554
|
+
name: zod.ZodString;
|
|
2555
|
+
services: zod.ZodArray<zod.ZodString>;
|
|
2072
2556
|
}, zod.z.core.$strict>;
|
|
2073
|
-
declare const
|
|
2557
|
+
declare const listCouriersResponse: zod.ZodArray<zod.ZodObject<{
|
|
2558
|
+
code: zod.ZodString;
|
|
2559
|
+
name: zod.ZodString;
|
|
2560
|
+
services: zod.ZodArray<zod.ZodString>;
|
|
2561
|
+
}, zod.z.core.$strict>>;
|
|
2562
|
+
/**
|
|
2563
|
+
* Returns a single courier by its normalized code, e.g. `jne`.
|
|
2564
|
+
* @summary Get a supported courier by code
|
|
2565
|
+
*/
|
|
2566
|
+
declare const getCourierByCodeParams: zod.ZodObject<{
|
|
2074
2567
|
code: zod.ZodString;
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
value: zod.ZodNumber;
|
|
2081
|
-
unit: zod.ZodString;
|
|
2082
|
-
}, zod.z.core.$strict>;
|
|
2568
|
+
}, zod.z.core.$strict>;
|
|
2569
|
+
declare const getCourierByCodeResponse: zod.ZodObject<{
|
|
2570
|
+
code: zod.ZodString;
|
|
2571
|
+
name: zod.ZodString;
|
|
2572
|
+
services: zod.ZodArray<zod.ZodString>;
|
|
2083
2573
|
}, zod.z.core.$strict>;
|
|
2084
2574
|
/**
|
|
2085
|
-
* Returns a
|
|
2086
|
-
* @summary
|
|
2575
|
+
* Returns the shipping config stored for a product, or 404 when none has been set.
|
|
2576
|
+
* @summary Get a product shipping config
|
|
2087
2577
|
*/
|
|
2088
|
-
declare const
|
|
2578
|
+
declare const getProductShippingConfigParams: zod.ZodObject<{
|
|
2089
2579
|
productId: zod.ZodUUID;
|
|
2090
2580
|
}, zod.z.core.$strict>;
|
|
2091
|
-
declare const
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
productId: zod.ZodUUID;
|
|
2581
|
+
declare const getProductShippingConfigResponse: zod.ZodObject<{
|
|
2582
|
+
mode: zod.ZodEnum<{
|
|
2583
|
+
Auto: "Auto";
|
|
2584
|
+
Flat: "Flat";
|
|
2585
|
+
Free: "Free";
|
|
2586
|
+
}>;
|
|
2587
|
+
flatAmount: zod.ZodNumber;
|
|
2588
|
+
useStoreDefaults: zod.ZodBoolean;
|
|
2589
|
+
services: zod.ZodArray<zod.ZodObject<{
|
|
2101
2590
|
code: zod.ZodString;
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
value: zod.ZodString;
|
|
2105
|
-
}, zod.z.core.$strict>>>;
|
|
2106
|
-
weight: zod.ZodObject<{
|
|
2107
|
-
value: zod.ZodNumber;
|
|
2108
|
-
unit: zod.ZodString;
|
|
2109
|
-
}, zod.z.core.$strict>;
|
|
2591
|
+
enabled: zod.ZodBoolean;
|
|
2592
|
+
couriers: zod.ZodArray<zod.ZodString>;
|
|
2110
2593
|
}, zod.z.core.$strict>>;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2594
|
+
extraFee: zod.ZodNumber;
|
|
2595
|
+
discount: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2596
|
+
type: zod.ZodEnum<{
|
|
2597
|
+
Fixed: "Fixed";
|
|
2598
|
+
Percent: "Percent";
|
|
2599
|
+
}>;
|
|
2600
|
+
value: zod.ZodNumber;
|
|
2601
|
+
}, zod.z.core.$strict>]>;
|
|
2602
|
+
display: zod.ZodObject<{
|
|
2603
|
+
mergeExtraFee: zod.ZodBoolean;
|
|
2604
|
+
showOriginalPrice: zod.ZodBoolean;
|
|
2605
|
+
hideCouriers: zod.ZodBoolean;
|
|
2606
|
+
hideOrigin: zod.ZodBoolean;
|
|
2607
|
+
}, zod.z.core.$strict>;
|
|
2608
|
+
coverageCheck: zod.ZodObject<{
|
|
2609
|
+
enabled: zod.ZodBoolean;
|
|
2610
|
+
onUncovered: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodUnion<readonly [zod.ZodLiteral<"Block">, zod.ZodLiteral<"Allow">, zod.ZodLiteral<null>]>]>;
|
|
2611
|
+
}, zod.z.core.$strict>;
|
|
2117
2612
|
}, zod.z.core.$strict>;
|
|
2118
2613
|
/**
|
|
2119
|
-
*
|
|
2120
|
-
* @summary
|
|
2614
|
+
* Validates the payload against the shipping rules and the courier catalog, then stores it. Validation failures return 400 with field paths.
|
|
2615
|
+
* @summary Set a product shipping config
|
|
2121
2616
|
*/
|
|
2122
|
-
declare const
|
|
2617
|
+
declare const setProductShippingConfigParams: zod.ZodObject<{
|
|
2123
2618
|
productId: zod.ZodUUID;
|
|
2124
|
-
id: zod.ZodUUID;
|
|
2125
2619
|
}, zod.z.core.$strict>;
|
|
2126
|
-
declare const
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2620
|
+
declare const setProductShippingConfigBody: zod.ZodObject<{
|
|
2621
|
+
mode: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodEnum<{
|
|
2622
|
+
Auto: "Auto";
|
|
2623
|
+
Flat: "Flat";
|
|
2624
|
+
Free: "Free";
|
|
2625
|
+
}>]>;
|
|
2626
|
+
flatAmount: zod.ZodNumber;
|
|
2627
|
+
useStoreDefaults: zod.ZodBoolean;
|
|
2628
|
+
services: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2629
|
+
code: zod.ZodString;
|
|
2630
|
+
enabled: zod.ZodBoolean;
|
|
2631
|
+
couriers: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
|
|
2133
2632
|
}, zod.z.core.$strict>>>;
|
|
2134
|
-
|
|
2633
|
+
extraFee: zod.ZodNumber;
|
|
2634
|
+
discount: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2635
|
+
type: zod.ZodEnum<{
|
|
2636
|
+
Fixed: "Fixed";
|
|
2637
|
+
Percent: "Percent";
|
|
2638
|
+
}>;
|
|
2135
2639
|
value: zod.ZodNumber;
|
|
2136
|
-
|
|
2137
|
-
|
|
2640
|
+
}, zod.z.core.$strict>]>;
|
|
2641
|
+
display: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2642
|
+
mergeExtraFee: zod.ZodBoolean;
|
|
2643
|
+
showOriginalPrice: zod.ZodBoolean;
|
|
2644
|
+
hideCouriers: zod.ZodBoolean;
|
|
2645
|
+
hideOrigin: zod.ZodBoolean;
|
|
2646
|
+
}, zod.z.core.$strict>]>;
|
|
2647
|
+
coverageCheck: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2648
|
+
enabled: zod.ZodBoolean;
|
|
2649
|
+
onUncovered: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodUnion<readonly [zod.ZodLiteral<"Block">, zod.ZodLiteral<"Allow">, zod.ZodLiteral<null>]>]>;
|
|
2650
|
+
}, zod.z.core.$strict>]>;
|
|
2651
|
+
}, zod.z.core.$strict>;
|
|
2652
|
+
/**
|
|
2653
|
+
* Returns the banks supported by the payments module. Banks are in-code reference data, and the 'other' entry keeps the catalog flexible for banks that are not listed explicitly.
|
|
2654
|
+
* @summary List supported banks
|
|
2655
|
+
*/
|
|
2656
|
+
declare const listBanksResponseItem: zod.ZodObject<{
|
|
2657
|
+
code: zod.ZodString;
|
|
2658
|
+
name: zod.ZodNullable<zod.ZodString>;
|
|
2138
2659
|
}, zod.z.core.$strict>;
|
|
2660
|
+
declare const listBanksResponse: zod.ZodArray<zod.ZodObject<{
|
|
2661
|
+
code: zod.ZodString;
|
|
2662
|
+
name: zod.ZodNullable<zod.ZodString>;
|
|
2663
|
+
}, zod.z.core.$strict>>;
|
|
2139
2664
|
/**
|
|
2140
|
-
*
|
|
2141
|
-
* @summary
|
|
2665
|
+
* Returns the bank for the given code, or 404 when it is not supported.
|
|
2666
|
+
* @summary Get a supported bank by code
|
|
2142
2667
|
*/
|
|
2143
|
-
declare const
|
|
2144
|
-
productId: zod.ZodUUID;
|
|
2145
|
-
id: zod.ZodUUID;
|
|
2146
|
-
}, zod.z.core.$strict>;
|
|
2147
|
-
declare const updateVariantBody: zod.ZodObject<{
|
|
2668
|
+
declare const getBankByCodeParams: zod.ZodObject<{
|
|
2148
2669
|
code: zod.ZodString;
|
|
2149
|
-
attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2150
|
-
name: zod.ZodString;
|
|
2151
|
-
value: zod.ZodString;
|
|
2152
|
-
}, zod.z.core.$strict>>>;
|
|
2153
|
-
weight: zod.ZodObject<{
|
|
2154
|
-
value: zod.ZodNumber;
|
|
2155
|
-
unit: zod.ZodString;
|
|
2156
|
-
}, zod.z.core.$strict>;
|
|
2157
2670
|
}, zod.z.core.$strict>;
|
|
2158
|
-
declare const
|
|
2159
|
-
id: zod.ZodUUID;
|
|
2160
|
-
productId: zod.ZodUUID;
|
|
2671
|
+
declare const getBankByCodeResponse: zod.ZodObject<{
|
|
2161
2672
|
code: zod.ZodString;
|
|
2162
|
-
|
|
2163
|
-
name: zod.ZodString;
|
|
2164
|
-
value: zod.ZodString;
|
|
2165
|
-
}, zod.z.core.$strict>>>;
|
|
2166
|
-
weight: zod.ZodObject<{
|
|
2167
|
-
value: zod.ZodNumber;
|
|
2168
|
-
unit: zod.ZodString;
|
|
2169
|
-
}, zod.z.core.$strict>;
|
|
2673
|
+
name: zod.ZodNullable<zod.ZodString>;
|
|
2170
2674
|
}, zod.z.core.$strict>;
|
|
2171
2675
|
/**
|
|
2172
|
-
*
|
|
2173
|
-
* @summary
|
|
2676
|
+
* Creates a bank account. The bank code must be part of the bank catalog (the 'other' code is available for banks outside the list). Validation failures return 400.
|
|
2677
|
+
* @summary Create a bank account
|
|
2174
2678
|
*/
|
|
2175
|
-
declare const
|
|
2176
|
-
|
|
2177
|
-
|
|
2679
|
+
declare const createBankAccountBody: zod.ZodObject<{
|
|
2680
|
+
bankCode: zod.ZodString;
|
|
2681
|
+
accountNumber: zod.ZodString;
|
|
2682
|
+
accountHolderName: zod.ZodString;
|
|
2683
|
+
customBankName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2684
|
+
isActive: zod.ZodOptional<zod.ZodBoolean>;
|
|
2178
2685
|
}, zod.z.core.$strict>;
|
|
2179
2686
|
/**
|
|
2180
|
-
* Returns the
|
|
2181
|
-
* @summary Get
|
|
2687
|
+
* Returns the payment config stored for a product, or 404 when none has been set.
|
|
2688
|
+
* @summary Get a product payment config
|
|
2182
2689
|
*/
|
|
2183
|
-
declare const
|
|
2184
|
-
|
|
2690
|
+
declare const getProductPaymentConfigParams: zod.ZodObject<{
|
|
2691
|
+
productId: zod.ZodUUID;
|
|
2185
2692
|
}, zod.z.core.$strict>;
|
|
2186
|
-
declare const
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2693
|
+
declare const getProductPaymentConfigResponse: zod.ZodObject<{
|
|
2694
|
+
useStoreDefaults: zod.ZodBoolean;
|
|
2695
|
+
methods: zod.ZodArray<zod.ZodObject<{
|
|
2696
|
+
type: zod.ZodEnum<{
|
|
2697
|
+
BankTransfer: "BankTransfer";
|
|
2698
|
+
Cod: "Cod";
|
|
2699
|
+
EPayment: "EPayment";
|
|
2700
|
+
}>;
|
|
2701
|
+
enabled: zod.ZodBoolean;
|
|
2702
|
+
accounts: zod.ZodArray<zod.ZodObject<{
|
|
2703
|
+
bankAccountId: zod.ZodUUID;
|
|
2704
|
+
enabled: zod.ZodBoolean;
|
|
2705
|
+
sortOrder: zod.ZodNumber;
|
|
2706
|
+
}, zod.z.core.$strict>>;
|
|
2707
|
+
uniqueCode: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2708
|
+
enabled: zod.ZodBoolean;
|
|
2709
|
+
direction: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodUnion<readonly [zod.ZodLiteral<"Increase">, zod.ZodLiteral<"Decrease">, zod.ZodLiteral<null>]>]>;
|
|
2710
|
+
}, zod.z.core.$strict>]>;
|
|
2711
|
+
courierFeePercent: zod.ZodNumber;
|
|
2712
|
+
feeType: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodUnion<readonly [zod.ZodLiteral<"Product">, zod.ZodLiteral<"Shipping">, zod.ZodLiteral<"ProductAndShipping">, zod.ZodLiteral<null>]>]>;
|
|
2713
|
+
minFee: zod.ZodNumber;
|
|
2714
|
+
maxFee: zod.ZodNumber;
|
|
2715
|
+
adminFeeBorneBy: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodUnion<readonly [zod.ZodLiteral<"Seller">, zod.ZodLiteral<"Buyer">, zod.ZodLiteral<null>]>]>;
|
|
2716
|
+
channels: zod.ZodArray<zod.ZodObject<{
|
|
2717
|
+
code: zod.ZodString;
|
|
2718
|
+
enabled: zod.ZodBoolean;
|
|
2719
|
+
sortOrder: zod.ZodNumber;
|
|
2720
|
+
}, zod.z.core.$strict>>;
|
|
2721
|
+
}, zod.z.core.$strict>>;
|
|
2722
|
+
tax: zod.ZodObject<{
|
|
2723
|
+
enabled: zod.ZodBoolean;
|
|
2724
|
+
ratePercent: zod.ZodNumber;
|
|
2725
|
+
priceIncludesTax: zod.ZodBoolean;
|
|
2726
|
+
}, zod.z.core.$strict>;
|
|
2204
2727
|
}, zod.z.core.$strict>;
|
|
2205
2728
|
/**
|
|
2206
|
-
*
|
|
2207
|
-
* @summary
|
|
2208
|
-
*/
|
|
2209
|
-
declare const
|
|
2210
|
-
|
|
2211
|
-
}, zod.z.core.$strict>;
|
|
2212
|
-
declare const upsertVariantPricingBody: zod.ZodObject<{
|
|
2213
|
-
baseAmount: zod.ZodNumber;
|
|
2214
|
-
baseCurrency: zod.ZodString;
|
|
2215
|
-
sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2216
|
-
amount: zod.ZodNumber;
|
|
2217
|
-
currency: zod.ZodString;
|
|
2218
|
-
startAt: zod.z.ZodISODateTime;
|
|
2219
|
-
endAt: zod.z.ZodISODateTime;
|
|
2220
|
-
}, zod.z.core.$strict>]>>;
|
|
2221
|
-
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2222
|
-
minQty: zod.ZodNumber;
|
|
2223
|
-
amount: zod.ZodNumber;
|
|
2224
|
-
currency: zod.ZodString;
|
|
2225
|
-
}, zod.z.core.$strict>>>;
|
|
2729
|
+
* Returns the order assignment stored for a product, or 404 when none has been set.
|
|
2730
|
+
* @summary Get a product order assignment
|
|
2731
|
+
*/
|
|
2732
|
+
declare const getProductAssignmentParams: zod.ZodObject<{
|
|
2733
|
+
productId: zod.ZodUUID;
|
|
2226
2734
|
}, zod.z.core.$strict>;
|
|
2227
|
-
declare const
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
isActive: zod.ZodBoolean;
|
|
2239
|
-
}, zod.z.core.$strict>]>>;
|
|
2240
|
-
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2241
|
-
minQty: zod.ZodNumber;
|
|
2242
|
-
amount: zod.ZodNumber;
|
|
2243
|
-
currency: zod.ZodString;
|
|
2244
|
-
}, zod.z.core.$strict>>>;
|
|
2735
|
+
declare const getProductAssignmentResponse: zod.ZodObject<{
|
|
2736
|
+
distribution: zod.ZodEnum<{
|
|
2737
|
+
Equal: "Equal";
|
|
2738
|
+
Percentage: "Percentage";
|
|
2739
|
+
Fixed: "Fixed";
|
|
2740
|
+
}>;
|
|
2741
|
+
members: zod.ZodArray<zod.ZodObject<{
|
|
2742
|
+
userId: zod.ZodUUID;
|
|
2743
|
+
value: zod.ZodNumber;
|
|
2744
|
+
}, zod.z.core.$strict>>;
|
|
2745
|
+
nextMemberIndex: zod.ZodNumber;
|
|
2245
2746
|
}, zod.z.core.$strict>;
|
|
2246
2747
|
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @summary
|
|
2748
|
+
* Validates the distribution and member eligibility rules, then stores the assignment. Validation failures return 400 with field paths.
|
|
2749
|
+
* @summary Set a product order assignment
|
|
2249
2750
|
*/
|
|
2250
|
-
declare const
|
|
2251
|
-
|
|
2751
|
+
declare const setProductAssignmentParams: zod.ZodObject<{
|
|
2752
|
+
productId: zod.ZodUUID;
|
|
2753
|
+
}, zod.z.core.$strict>;
|
|
2754
|
+
declare const setProductAssignmentBody: zod.ZodObject<{
|
|
2755
|
+
distribution: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodEnum<{
|
|
2756
|
+
Equal: "Equal";
|
|
2757
|
+
Percentage: "Percentage";
|
|
2758
|
+
Fixed: "Fixed";
|
|
2759
|
+
}>]>;
|
|
2760
|
+
members: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2761
|
+
userId: zod.ZodUUID;
|
|
2762
|
+
value: zod.ZodNumber;
|
|
2763
|
+
}, zod.z.core.$strict>>>;
|
|
2252
2764
|
}, zod.z.core.$strict>;
|
|
2253
2765
|
/**
|
|
2254
2766
|
* Creates a new stock item with a unique SKU. Validation failures return 400.
|
|
@@ -2512,4 +3024,4 @@ declare const postApiIdentityAdminUsersIdLogoutParams: zod.ZodObject<{
|
|
|
2512
3024
|
id: zod.ZodUUID;
|
|
2513
3025
|
}, zod.z.core.$strict>;
|
|
2514
3026
|
|
|
2515
|
-
export { type AccountInfo, type AddressData, type AddressSearchResultItemDto, type AddressSearchResultItemDtoExternalId, type AntiforgeryTokenResponse, type ConsumeBatchMutationBody, type ConsumeBatchMutationError, type ConsumeBatchMutationResult, type ConsumeBatchRequest, type ConsumeBatchRequestExternalReferenceNo, type ConsumeBatchRequestNote, ConsumeBatchSourceType, type CreateBatchMutationBody, type CreateBatchMutationError, type CreateBatchMutationResult, type CreateBatchRequest, type CreateBatchRequestExpiresOn, type CreateBatchRequestExternalReferenceNo, type CreateBatchRequestNote, type CreateBatchRequestReceivedBy, type CreateProductMutationBody, type CreateProductMutationError, type CreateProductMutationResult, type CreateProductRequest, type CreateStockItemCommand, type CreateStockItemsMutationBody, type CreateStockItemsMutationError, type CreateStockItemsMutationResult, type CreateVariantMutationBody, type CreateVariantMutationError, type CreateVariantMutationResult, type CreateVariantRequest, type CreateWarehouseCommand, type CreateWarehouseCommandFullAddressText, type CreateWarehouseMutationBody, type CreateWarehouseMutationError, type CreateWarehouseMutationResult, type DeleteApiIdentityAdminRolesIdMutationError, type DeleteApiIdentityAdminRolesIdMutationResult, type DeleteProductMutationError, type DeleteProductMutationResult, type DeleteVariantMutationError, type DeleteVariantMutationResult, type DeleteVariantPricingMutationError, type DeleteVariantPricingMutationResult, type DeleteWarehouseMutationError, type DeleteWarehouseMutationResult, type EmailRequest, type GetApiIdentityAdminPermissionsQueryError, type GetApiIdentityAdminPermissionsQueryResult, type GetApiIdentityAdminRolesIdQueryError, type GetApiIdentityAdminRolesIdQueryResult, type GetApiIdentityAdminRolesQueryError, type GetApiIdentityAdminRolesQueryResult, type GetApiIdentityAdminUsersIdPermissionsQueryError, type GetApiIdentityAdminUsersIdPermissionsQueryResult, type GetApiIdentityAdminUsersIdRolesQueryError, type GetApiIdentityAdminUsersIdRolesQueryResult, type GetApiIdentityAdminUsersParams, type GetApiIdentityAdminUsersQueryError, type GetApiIdentityAdminUsersQueryResult, type GetApiIdentityAntiforgeryQueryError, type GetApiIdentityAntiforgeryQueryResult, type GetApiIdentityManage2faQueryError, type GetApiIdentityManage2faQueryResult, type GetApiIdentityManageInfoQueryError, type GetApiIdentityManageInfoQueryResult, type GetHealthQueryError, type GetHealthQueryResult, type GetProductQueryError, type GetProductQueryResult, type GetVariantPricingQueryError, type GetVariantPricingQueryResult, type GetVariantQueryError, type GetVariantQueryResult, type GetWarehouseByIdQueryError, type GetWarehouseByIdQueryResult, type GetWarehouseOptionsQueryError, type GetWarehouseOptionsQueryResult, type ListProductsParams, type ListProductsQueryError, type ListProductsQueryResult, type ListStockItemsParams, type ListStockItemsQueryError, type ListStockItemsQueryResult, type ListStockMovementsParams, type ListStockMovementsQueryError, type ListStockMovementsQueryResult, type ListVariantsParams, type ListVariantsQueryError, type ListVariantsQueryResult, type ListWarehousesParams, type ListWarehousesQueryError, type ListWarehousesQueryResult, type LoginRequest, type LoginRequestTwoFactorCode, type LoginRequestTwoFactorRecoveryCode, type LoginTwoFactorResponse, type PagedListOfProductResponse, type PagedListOfStockItemResponse, type PagedListOfStockMovementResponse, type PagedListOfVariantResponse, type PagedListOfWarehouseResponse, type PermissionInfo, type PersonInChargeData, type PersonInChargeDataPhone, type PostApiIdentityAdminRolesMutationBody, type PostApiIdentityAdminRolesMutationError, type PostApiIdentityAdminRolesMutationResult, type PostApiIdentityAdminUsersIdLogoutMutationError, type PostApiIdentityAdminUsersIdLogoutMutationResult, type PostApiIdentityForgotPasswordMutationBody, type PostApiIdentityForgotPasswordMutationError, type PostApiIdentityForgotPasswordMutationResult, type PostApiIdentityLoginMutationBody, type PostApiIdentityLoginMutationError, type PostApiIdentityLoginMutationResult, type PostApiIdentityLogoutMutationError, type PostApiIdentityLogoutMutationResult, type PostApiIdentityManage2faMutationBody, type PostApiIdentityManage2faMutationError, type PostApiIdentityManage2faMutationResult, type PostApiIdentityManageInfoMutationBody, type PostApiIdentityManageInfoMutationError, type PostApiIdentityManageInfoMutationResult, type PostApiIdentityResetPasswordMutationBody, type PostApiIdentityResetPasswordMutationError, type PostApiIdentityResetPasswordMutationResult, type ProblemDetails, type ProblemDetailsDetail, type ProblemDetailsInstance, type ProblemDetailsTitle, type ProblemDetailsType, ProductClassification, type ProductResponse, ProductStatus, type PutApiIdentityAdminRolesIdMutationBody, type PutApiIdentityAdminRolesIdMutationError, type PutApiIdentityAdminRolesIdMutationResult, type PutApiIdentityAdminRolesIdPermissionsMutationBody, type PutApiIdentityAdminRolesIdPermissionsMutationError, type PutApiIdentityAdminRolesIdPermissionsMutationResult, type PutApiIdentityAdminUsersIdActiveMutationBody, type PutApiIdentityAdminUsersIdActiveMutationError, type PutApiIdentityAdminUsersIdActiveMutationResult, type PutApiIdentityAdminUsersIdRolesMutationBody, type PutApiIdentityAdminUsersIdRolesMutationError, type PutApiIdentityAdminUsersIdRolesMutationResult, type ResetPasswordRequest, type RoleInfo, type RoleNameRequest, type SearchAddressesParams, type SearchAddressesQueryError, type SearchAddressesQueryResult, type SetPermissionsRequest, type SetUserActiveRequest, type SetUserRolesRequest, SourceTypeEnum, type StockItemResponse, type StockItemResponseWarehouseId, type StockItemResponseWarehouseName, type StockMovementResponse, type StockMovementResponseBatchId, type StockMovementResponseExternalReferenceNo, type StockMovementResponseNote, type StockMovementResponseReceivedBy, type StockMovementResponseSourceReferenceId, type StockMovementResponseWarehouseName, type ToggleWarehouseStatusMutationError, type ToggleWarehouseStatusMutationResult, type TwoFactorRequest, type TwoFactorRequestEnable, type TwoFactorRequestPassword, type TwoFactorRequestTwoFactorCode, type TwoFactorState, type TwoFactorStateRecoveryCodes, type TwoFactorStateSharedKey, type UpdateAccountRequest, type UpdateAccountRequestNewEmail, type UpdateAccountRequestNewPassword, type UpdateAccountRequestOldPassword, type UpdateProductMutationBody, type UpdateProductMutationError, type UpdateProductMutationResult, type UpdateProductRequest, type UpdateVariantMutationBody, type UpdateVariantMutationError, type UpdateVariantMutationResult, type UpdateVariantRequest, type UpdateWarehouseCommand, type UpdateWarehouseCommandFullAddressText, type UpdateWarehouseMutationBody, type UpdateWarehouseMutationError, type UpdateWarehouseMutationResult, type UpsertVariantPricingMutationBody, type UpsertVariantPricingMutationError, type UpsertVariantPricingMutationResult, type UpsertVariantPricingRequest, type UpsertVariantPricingRequestSale, type UserInfo, type VariantAttributeRequest, type VariantAttributeResponse, type VariantPricingResponse, type VariantPricingResponseSale, type VariantResponse, type VariantSalePriceRequest, type VariantSalePriceResponse, type VariantWeightRequest, type VariantWeightResponse, type VariantWholesalePriceRequest, type VariantWholesalePriceResponse, type WarehouseOptionResponse, type WarehouseResponse, type WarehouseResponseFullAddressText, consumeBatch, consumeBatchBody, consumeBatchParams, createBatch, createBatchBody, createProduct, createProductBody, createStockItems, createStockItemsBody, createVariant, createVariantBody, createVariantParams, createWarehouse, createWarehouseBody, deleteApiIdentityAdminRolesId, deleteApiIdentityAdminRolesIdParams, deleteProduct, deleteProductParams, deleteVariant, deleteVariantParams, deleteVariantPricing, deleteVariantPricingParams, deleteWarehouse, deleteWarehouseParams, getApiIdentityAdminPermissions, getApiIdentityAdminPermissionsResponse, getApiIdentityAdminPermissionsResponseItem, getApiIdentityAdminRoles, getApiIdentityAdminRolesId, getApiIdentityAdminRolesIdParams, getApiIdentityAdminRolesIdResponse, getApiIdentityAdminRolesResponse, getApiIdentityAdminRolesResponseItem, getApiIdentityAdminUsers, getApiIdentityAdminUsersIdPermissions, getApiIdentityAdminUsersIdPermissionsParams, getApiIdentityAdminUsersIdPermissionsResponse, getApiIdentityAdminUsersIdPermissionsResponseItem, getApiIdentityAdminUsersIdRoles, getApiIdentityAdminUsersIdRolesParams, getApiIdentityAdminUsersIdRolesResponse, getApiIdentityAdminUsersIdRolesResponseItem, getApiIdentityAdminUsersQueryParams, getApiIdentityAdminUsersResponse, getApiIdentityAntiforgery, getApiIdentityAntiforgeryResponse, getApiIdentityManage2fa, getApiIdentityManage2faResponse, getApiIdentityManageInfo, getApiIdentityManageInfoResponse, getConsumeBatchMutationOptions, getCreateBatchMutationOptions, getCreateProductMutationOptions, getCreateStockItemsMutationOptions, getCreateVariantMutationOptions, getCreateWarehouseMutationOptions, getDeleteApiIdentityAdminRolesIdMutationOptions, getDeleteProductMutationOptions, getDeleteVariantMutationOptions, getDeleteVariantPricingMutationOptions, getDeleteWarehouseMutationOptions, getGetApiIdentityAdminPermissionsQueryKey, getGetApiIdentityAdminPermissionsQueryOptions, getGetApiIdentityAdminRolesIdQueryKey, getGetApiIdentityAdminRolesIdQueryOptions, getGetApiIdentityAdminRolesQueryKey, getGetApiIdentityAdminRolesQueryOptions, getGetApiIdentityAdminUsersIdPermissionsQueryKey, getGetApiIdentityAdminUsersIdPermissionsQueryOptions, getGetApiIdentityAdminUsersIdRolesQueryKey, getGetApiIdentityAdminUsersIdRolesQueryOptions, getGetApiIdentityAdminUsersQueryKey, getGetApiIdentityAdminUsersQueryOptions, getGetApiIdentityAntiforgeryQueryKey, getGetApiIdentityAntiforgeryQueryOptions, getGetApiIdentityManage2faQueryKey, getGetApiIdentityManage2faQueryOptions, getGetApiIdentityManageInfoQueryKey, getGetApiIdentityManageInfoQueryOptions, getGetHealthQueryKey, getGetHealthQueryOptions, getGetProductQueryKey, getGetProductQueryOptions, getGetVariantPricingQueryKey, getGetVariantPricingQueryOptions, getGetVariantQueryKey, getGetVariantQueryOptions, getGetWarehouseByIdQueryKey, getGetWarehouseByIdQueryOptions, getGetWarehouseOptionsQueryKey, getGetWarehouseOptionsQueryOptions, getHealth, getListProductsQueryKey, getListProductsQueryOptions, getListStockItemsQueryKey, getListStockItemsQueryOptions, getListStockMovementsQueryKey, getListStockMovementsQueryOptions, getListVariantsQueryKey, getListVariantsQueryOptions, getListWarehousesQueryKey, getListWarehousesQueryOptions, getPostApiIdentityAdminRolesMutationOptions, getPostApiIdentityAdminUsersIdLogoutMutationOptions, getPostApiIdentityForgotPasswordMutationOptions, getPostApiIdentityLoginMutationOptions, getPostApiIdentityLogoutMutationOptions, getPostApiIdentityManage2faMutationOptions, getPostApiIdentityManageInfoMutationOptions, getPostApiIdentityResetPasswordMutationOptions, getProduct, getProductParams, getProductResponse, getPutApiIdentityAdminRolesIdMutationOptions, getPutApiIdentityAdminRolesIdPermissionsMutationOptions, getPutApiIdentityAdminUsersIdActiveMutationOptions, getPutApiIdentityAdminUsersIdRolesMutationOptions, getSearchAddressesQueryKey, getSearchAddressesQueryOptions, getToggleWarehouseStatusMutationOptions, getUpdateProductMutationOptions, getUpdateVariantMutationOptions, getUpdateWarehouseMutationOptions, getUpsertVariantPricingMutationOptions, getVariant, getVariantParams, getVariantPricing, getVariantPricingParams, getVariantPricingResponse, getVariantResponse, getWarehouseById, getWarehouseByIdParams, getWarehouseByIdResponse, getWarehouseOptions, getWarehouseOptionsResponse, getWarehouseOptionsResponseItem, listProducts, listProductsQueryPageDefault, listProductsQueryPageSizeDefault, listProductsQueryParams, listProductsResponse, listStockItems, listStockItemsQueryDescendingDefault, listStockItemsQueryPageDefault, listStockItemsQueryPageSizeDefault, listStockItemsQueryParams, listStockItemsResponse, listStockMovements, listStockMovementsQueryDescendingDefault, listStockMovementsQueryPageDefault, listStockMovementsQueryPageSizeDefault, listStockMovementsQueryParams, listStockMovementsResponse, listVariants, listVariantsParams, listVariantsQueryPageDefault, listVariantsQueryPageSizeDefault, listVariantsQueryParams, listVariantsResponse, listWarehouses, listWarehousesQueryPageDefault, listWarehousesQueryPageSizeDefault, listWarehousesQueryParams, listWarehousesResponse, postApiIdentityAdminRoles, postApiIdentityAdminRolesBody, postApiIdentityAdminUsersIdLogout, postApiIdentityAdminUsersIdLogoutParams, postApiIdentityForgotPassword, postApiIdentityForgotPasswordBody, postApiIdentityLogin, postApiIdentityLoginBody, postApiIdentityLoginResponse, postApiIdentityLogout, postApiIdentityManage2fa, postApiIdentityManage2faBody, postApiIdentityManage2faResponse, postApiIdentityManageInfo, postApiIdentityManageInfoBody, postApiIdentityManageInfoResponse, postApiIdentityResetPassword, postApiIdentityResetPasswordBody, putApiIdentityAdminRolesId, putApiIdentityAdminRolesIdBody, putApiIdentityAdminRolesIdParams, putApiIdentityAdminRolesIdPermissions, putApiIdentityAdminRolesIdPermissionsBody, putApiIdentityAdminRolesIdPermissionsParams, putApiIdentityAdminUsersIdActive, putApiIdentityAdminUsersIdActiveBody, putApiIdentityAdminUsersIdActiveParams, putApiIdentityAdminUsersIdRoles, putApiIdentityAdminUsersIdRolesBody, putApiIdentityAdminUsersIdRolesParams, searchAddresses, searchAddressesQueryLimitDefault, searchAddressesQueryParams, searchAddressesResponse, searchAddressesResponseItem, toggleWarehouseStatus, toggleWarehouseStatusParams, updateProduct, updateProductBody, updateProductParams, updateProductResponse, updateVariant, updateVariantBody, updateVariantParams, updateVariantResponse, updateWarehouse, updateWarehouseBody, updateWarehouseParams, upsertVariantPricing, upsertVariantPricingBody, upsertVariantPricingParams, upsertVariantPricingResponse, useConsumeBatch, useCreateBatch, useCreateProduct, useCreateStockItems, useCreateVariant, useCreateWarehouse, useDeleteApiIdentityAdminRolesId, useDeleteProduct, useDeleteVariant, useDeleteVariantPricing, useDeleteWarehouse, useGetApiIdentityAdminPermissions, useGetApiIdentityAdminRoles, useGetApiIdentityAdminRolesId, useGetApiIdentityAdminUsers, useGetApiIdentityAdminUsersIdPermissions, useGetApiIdentityAdminUsersIdRoles, useGetApiIdentityAntiforgery, useGetApiIdentityManage2fa, useGetApiIdentityManageInfo, useGetHealth, useGetProduct, useGetVariant, useGetVariantPricing, useGetWarehouseById, useGetWarehouseOptions, useListProducts, useListStockItems, useListStockMovements, useListVariants, useListWarehouses, usePostApiIdentityAdminRoles, usePostApiIdentityAdminUsersIdLogout, usePostApiIdentityForgotPassword, usePostApiIdentityLogin, usePostApiIdentityLogout, usePostApiIdentityManage2fa, usePostApiIdentityManageInfo, usePostApiIdentityResetPassword, usePutApiIdentityAdminRolesId, usePutApiIdentityAdminRolesIdPermissions, usePutApiIdentityAdminUsersIdActive, usePutApiIdentityAdminUsersIdRoles, useSearchAddresses, useToggleWarehouseStatus, useUpdateProduct, useUpdateVariant, useUpdateWarehouse, useUpsertVariantPricing };
|
|
3027
|
+
export { type AccountInfo, type AddressData, type AddressSearchResultItemDto, type AddressSearchResultItemDtoExternalId, AdminFeeBorneBy, type AntiforgeryTokenResponse, AssignmentDistributionKind, type AssignmentMemberResult, type BankAccountResponse, type BankAccountResponseCustomBankName, type BankDto, type BankDtoName, CodFeeType, type ConsumeBatchMutationBody, type ConsumeBatchMutationError, type ConsumeBatchMutationResult, type ConsumeBatchRequest, type ConsumeBatchRequestExternalReferenceNo, type ConsumeBatchRequestNote, ConsumeBatchSourceType, type CourierDto, type CreateBankAccountCommand, type CreateBankAccountCommandCustomBankName, type CreateBankAccountMutationBody, type CreateBankAccountMutationError, type CreateBankAccountMutationResult, type CreateBatchMutationBody, type CreateBatchMutationError, type CreateBatchMutationResult, type CreateBatchRequest, type CreateBatchRequestExpiresOn, type CreateBatchRequestExternalReferenceNo, type CreateBatchRequestNote, type CreateBatchRequestReceivedBy, type CreateProductMutationBody, type CreateProductMutationError, type CreateProductMutationResult, type CreateProductRequest, type CreateProductVariantAttributeRequest, type CreateProductVariantPricingRequest, type CreateProductVariantPricingRequestSale, type CreateProductVariantRequest, type CreateProductVariantRequestWeight, type CreateProductVariantSaleRequest, type CreateProductVariantWeightRequest, type CreateProductVariantWholesaleRequest, type CreateStockItemCommand, type CreateStockItemsMutationBody, type CreateStockItemsMutationError, type CreateStockItemsMutationResult, type CreateWarehouseCommand, type CreateWarehouseCommandFullAddressText, type CreateWarehouseMutationBody, type CreateWarehouseMutationError, type CreateWarehouseMutationResult, type DeleteApiIdentityAdminRolesIdMutationError, type DeleteApiIdentityAdminRolesIdMutationResult, type DeleteProductMutationError, type DeleteProductMutationResult, type DeleteWarehouseMutationError, type DeleteWarehouseMutationResult, type EmailRequest, type GetApiIdentityAdminPermissionsQueryError, type GetApiIdentityAdminPermissionsQueryResult, type GetApiIdentityAdminRolesIdQueryError, type GetApiIdentityAdminRolesIdQueryResult, type GetApiIdentityAdminRolesQueryError, type GetApiIdentityAdminRolesQueryResult, type GetApiIdentityAdminUsersIdPermissionsQueryError, type GetApiIdentityAdminUsersIdPermissionsQueryResult, type GetApiIdentityAdminUsersIdRolesQueryError, type GetApiIdentityAdminUsersIdRolesQueryResult, type GetApiIdentityAdminUsersParams, type GetApiIdentityAdminUsersQueryError, type GetApiIdentityAdminUsersQueryResult, type GetApiIdentityAntiforgeryQueryError, type GetApiIdentityAntiforgeryQueryResult, type GetApiIdentityManage2faQueryError, type GetApiIdentityManage2faQueryResult, type GetApiIdentityManageInfoQueryError, type GetApiIdentityManageInfoQueryResult, type GetBankByCodeQueryError, type GetBankByCodeQueryResult, type GetCourierByCodeQueryError, type GetCourierByCodeQueryResult, type GetHealthQueryError, type GetHealthQueryResult, type GetProductAssignmentQueryError, type GetProductAssignmentQueryResult, type GetProductPaymentConfigQueryError, type GetProductPaymentConfigQueryResult, type GetProductQueryError, type GetProductQueryResult, type GetProductShippingConfigQueryError, type GetProductShippingConfigQueryResult, type GetWarehouseByIdQueryError, type GetWarehouseByIdQueryResult, type GetWarehouseOptionsQueryError, type GetWarehouseOptionsQueryResult, type ListBanksQueryError, type ListBanksQueryResult, type ListCouriersQueryError, type ListCouriersQueryResult, type ListProductsParams, type ListProductsQueryError, type ListProductsQueryResult, type ListStockItemsParams, type ListStockItemsQueryError, type ListStockItemsQueryResult, type ListStockMovementsParams, type ListStockMovementsQueryError, type ListStockMovementsQueryResult, type ListWarehousesParams, type ListWarehousesQueryError, type ListWarehousesQueryResult, type LoginRequest, type LoginRequestTwoFactorCode, type LoginRequestTwoFactorRecoveryCode, type LoginTwoFactorResponse, type PagedListOfProductResponse, type PagedListOfStockItemResponse, type PagedListOfStockMovementResponse, type PagedListOfWarehouseResponse, PaymentMethodType, type PermissionInfo, type PersonInChargeData, type PersonInChargeDataPhone, type PostApiIdentityAdminRolesMutationBody, type PostApiIdentityAdminRolesMutationError, type PostApiIdentityAdminRolesMutationResult, type PostApiIdentityAdminUsersIdLogoutMutationError, type PostApiIdentityAdminUsersIdLogoutMutationResult, type PostApiIdentityForgotPasswordMutationBody, type PostApiIdentityForgotPasswordMutationError, type PostApiIdentityForgotPasswordMutationResult, type PostApiIdentityLoginMutationBody, type PostApiIdentityLoginMutationError, type PostApiIdentityLoginMutationResult, type PostApiIdentityLogoutMutationError, type PostApiIdentityLogoutMutationResult, type PostApiIdentityManage2faMutationBody, type PostApiIdentityManage2faMutationError, type PostApiIdentityManage2faMutationResult, type PostApiIdentityManageInfoMutationBody, type PostApiIdentityManageInfoMutationError, type PostApiIdentityManageInfoMutationResult, type PostApiIdentityResetPasswordMutationBody, type PostApiIdentityResetPasswordMutationError, type PostApiIdentityResetPasswordMutationResult, type ProblemDetails, type ProblemDetailsDetail, type ProblemDetailsInstance, type ProblemDetailsTitle, type ProblemDetailsType, type ProductAssignmentInput, type ProductAssignmentInputDistribution, type ProductAssignmentInputMembers, type ProductAssignmentMemberInput, type ProductAssignmentResult, ProductClassification, type ProductImageRequest, type ProductImageResult, type ProductPaymentConfigAccountResult, type ProductPaymentConfigChannelResult, type ProductPaymentConfigMethodResult, type ProductPaymentConfigMethodResultAdminFeeBorneBy, type ProductPaymentConfigMethodResultFeeType, type ProductPaymentConfigMethodResultUniqueCode, type ProductPaymentConfigResult, type ProductPaymentConfigTaxResult, type ProductPaymentConfigUniqueCodeResult, type ProductPaymentConfigUniqueCodeResultDirection, type ProductResponse, type ProductShippingInput, type ProductShippingInputCoverageCheck, type ProductShippingInputDiscount, type ProductShippingInputDisplay, type ProductShippingInputMode, type ProductShippingInputServices, ProductStatus, type ProductVariantAttributeResult, type ProductVariantPricingResult, type ProductVariantPricingResultSale, type ProductVariantResult, type ProductVariantResultWeight, type ProductVariantSaleResult, type ProductVariantWeightResult, type ProductVariantWholesaleResult, type PutApiIdentityAdminRolesIdMutationBody, type PutApiIdentityAdminRolesIdMutationError, type PutApiIdentityAdminRolesIdMutationResult, type PutApiIdentityAdminRolesIdPermissionsMutationBody, type PutApiIdentityAdminRolesIdPermissionsMutationError, type PutApiIdentityAdminRolesIdPermissionsMutationResult, type PutApiIdentityAdminUsersIdActiveMutationBody, type PutApiIdentityAdminUsersIdActiveMutationError, type PutApiIdentityAdminUsersIdActiveMutationResult, type PutApiIdentityAdminUsersIdRolesMutationBody, type PutApiIdentityAdminUsersIdRolesMutationError, type PutApiIdentityAdminUsersIdRolesMutationResult, type ResetPasswordRequest, type RoleInfo, type RoleNameRequest, type SearchAddressesParams, type SearchAddressesQueryError, type SearchAddressesQueryResult, type SetPermissionsRequest, type SetProductAssignmentMutationBody, type SetProductAssignmentMutationError, type SetProductAssignmentMutationResult, type SetProductShippingConfigMutationBody, type SetProductShippingConfigMutationError, type SetProductShippingConfigMutationResult, type SetUserActiveRequest, type SetUserRolesRequest, type ShippingConfigCoverageResult, type ShippingConfigCoverageResultOnUncovered, type ShippingConfigDiscountResult, type ShippingConfigDisplayResult, type ShippingConfigResult, type ShippingConfigResultDiscount, type ShippingConfigServiceResult, ShippingCoverageAction, type ShippingCoverageInput, type ShippingCoverageInputOnUncovered, type ShippingDiscountInput, ShippingDiscountType, type ShippingDisplayInput, ShippingMode, type ShippingServiceInput, type ShippingServiceInputCouriers, SourceTypeEnum, type StockItemResponse, type StockItemResponseWarehouseId, type StockItemResponseWarehouseName, type StockMovementResponse, type StockMovementResponseBatchId, type StockMovementResponseExternalReferenceNo, type StockMovementResponseNote, type StockMovementResponseReceivedBy, type StockMovementResponseSourceReferenceId, type StockMovementResponseWarehouseName, type ToggleWarehouseStatusMutationError, type ToggleWarehouseStatusMutationResult, type TwoFactorRequest, type TwoFactorRequestEnable, type TwoFactorRequestPassword, type TwoFactorRequestTwoFactorCode, type TwoFactorState, type TwoFactorStateRecoveryCodes, type TwoFactorStateSharedKey, UniqueCodeDirection, type UpdateAccountRequest, type UpdateAccountRequestNewEmail, type UpdateAccountRequestNewPassword, type UpdateAccountRequestOldPassword, type UpdateProductMutationBody, type UpdateProductMutationError, type UpdateProductMutationResult, type UpdateProductRequest, type UpdateProductRequestImages, type UpdateProductVariantRequest, type UpdateProductVariantRequestId, type UpdateProductVariantRequestWeight, type UpdateWarehouseCommand, type UpdateWarehouseCommandFullAddressText, type UpdateWarehouseMutationBody, type UpdateWarehouseMutationError, type UpdateWarehouseMutationResult, type UserInfo, type VariantMasterItemRequest, type VariantMasterItemResult, type WarehouseOptionResponse, type WarehouseResponse, type WarehouseResponseFullAddressText, consumeBatch, consumeBatchBody, consumeBatchParams, createBankAccount, createBankAccountBody, createBatch, createBatchBody, createProduct, createProductBody, createProductBodyVariantsItemSourcesItemQuantityPerUnitDefault, createStockItems, createStockItemsBody, createWarehouse, createWarehouseBody, deleteApiIdentityAdminRolesId, deleteApiIdentityAdminRolesIdParams, deleteProduct, deleteProductParams, deleteWarehouse, deleteWarehouseParams, getApiIdentityAdminPermissions, getApiIdentityAdminPermissionsResponse, getApiIdentityAdminPermissionsResponseItem, getApiIdentityAdminRoles, getApiIdentityAdminRolesId, getApiIdentityAdminRolesIdParams, getApiIdentityAdminRolesIdResponse, getApiIdentityAdminRolesResponse, getApiIdentityAdminRolesResponseItem, getApiIdentityAdminUsers, getApiIdentityAdminUsersIdPermissions, getApiIdentityAdminUsersIdPermissionsParams, getApiIdentityAdminUsersIdPermissionsResponse, getApiIdentityAdminUsersIdPermissionsResponseItem, getApiIdentityAdminUsersIdRoles, getApiIdentityAdminUsersIdRolesParams, getApiIdentityAdminUsersIdRolesResponse, getApiIdentityAdminUsersIdRolesResponseItem, getApiIdentityAdminUsersQueryParams, getApiIdentityAdminUsersResponse, getApiIdentityAntiforgery, getApiIdentityAntiforgeryResponse, getApiIdentityManage2fa, getApiIdentityManage2faResponse, getApiIdentityManageInfo, getApiIdentityManageInfoResponse, getBankByCode, getBankByCodeParams, getBankByCodeResponse, getConsumeBatchMutationOptions, getCourierByCode, getCourierByCodeParams, getCourierByCodeResponse, getCreateBankAccountMutationOptions, getCreateBatchMutationOptions, getCreateProductMutationOptions, getCreateStockItemsMutationOptions, getCreateWarehouseMutationOptions, getDeleteApiIdentityAdminRolesIdMutationOptions, getDeleteProductMutationOptions, getDeleteWarehouseMutationOptions, getGetApiIdentityAdminPermissionsQueryKey, getGetApiIdentityAdminPermissionsQueryOptions, getGetApiIdentityAdminRolesIdQueryKey, getGetApiIdentityAdminRolesIdQueryOptions, getGetApiIdentityAdminRolesQueryKey, getGetApiIdentityAdminRolesQueryOptions, getGetApiIdentityAdminUsersIdPermissionsQueryKey, getGetApiIdentityAdminUsersIdPermissionsQueryOptions, getGetApiIdentityAdminUsersIdRolesQueryKey, getGetApiIdentityAdminUsersIdRolesQueryOptions, getGetApiIdentityAdminUsersQueryKey, getGetApiIdentityAdminUsersQueryOptions, getGetApiIdentityAntiforgeryQueryKey, getGetApiIdentityAntiforgeryQueryOptions, getGetApiIdentityManage2faQueryKey, getGetApiIdentityManage2faQueryOptions, getGetApiIdentityManageInfoQueryKey, getGetApiIdentityManageInfoQueryOptions, getGetBankByCodeQueryKey, getGetBankByCodeQueryOptions, getGetCourierByCodeQueryKey, getGetCourierByCodeQueryOptions, getGetHealthQueryKey, getGetHealthQueryOptions, getGetProductAssignmentQueryKey, getGetProductAssignmentQueryOptions, getGetProductPaymentConfigQueryKey, getGetProductPaymentConfigQueryOptions, getGetProductQueryKey, getGetProductQueryOptions, getGetProductShippingConfigQueryKey, getGetProductShippingConfigQueryOptions, getGetWarehouseByIdQueryKey, getGetWarehouseByIdQueryOptions, getGetWarehouseOptionsQueryKey, getGetWarehouseOptionsQueryOptions, getHealth, getListBanksQueryKey, getListBanksQueryOptions, getListCouriersQueryKey, getListCouriersQueryOptions, getListProductsQueryKey, getListProductsQueryOptions, getListStockItemsQueryKey, getListStockItemsQueryOptions, getListStockMovementsQueryKey, getListStockMovementsQueryOptions, getListWarehousesQueryKey, getListWarehousesQueryOptions, getPostApiIdentityAdminRolesMutationOptions, getPostApiIdentityAdminUsersIdLogoutMutationOptions, getPostApiIdentityForgotPasswordMutationOptions, getPostApiIdentityLoginMutationOptions, getPostApiIdentityLogoutMutationOptions, getPostApiIdentityManage2faMutationOptions, getPostApiIdentityManageInfoMutationOptions, getPostApiIdentityResetPasswordMutationOptions, getProduct, getProductAssignment, getProductAssignmentParams, getProductAssignmentResponse, getProductParams, getProductPaymentConfig, getProductPaymentConfigParams, getProductPaymentConfigResponse, getProductResponse, getProductShippingConfig, getProductShippingConfigParams, getProductShippingConfigResponse, getPutApiIdentityAdminRolesIdMutationOptions, getPutApiIdentityAdminRolesIdPermissionsMutationOptions, getPutApiIdentityAdminUsersIdActiveMutationOptions, getPutApiIdentityAdminUsersIdRolesMutationOptions, getSearchAddressesQueryKey, getSearchAddressesQueryOptions, getSetProductAssignmentMutationOptions, getSetProductShippingConfigMutationOptions, getToggleWarehouseStatusMutationOptions, getUpdateProductMutationOptions, getUpdateWarehouseMutationOptions, getWarehouseById, getWarehouseByIdParams, getWarehouseByIdResponse, getWarehouseOptions, getWarehouseOptionsResponse, getWarehouseOptionsResponseItem, listBanks, listBanksResponse, listBanksResponseItem, listCouriers, listCouriersResponse, listCouriersResponseItem, listProducts, listProductsQueryPageDefault, listProductsQueryPageSizeDefault, listProductsQueryParams, listProductsResponse, listStockItems, listStockItemsQueryDescendingDefault, listStockItemsQueryPageDefault, listStockItemsQueryPageSizeDefault, listStockItemsQueryParams, listStockItemsResponse, listStockMovements, listStockMovementsQueryDescendingDefault, listStockMovementsQueryPageDefault, listStockMovementsQueryPageSizeDefault, listStockMovementsQueryParams, listStockMovementsResponse, listWarehouses, listWarehousesQueryPageDefault, listWarehousesQueryPageSizeDefault, listWarehousesQueryParams, listWarehousesResponse, postApiIdentityAdminRoles, postApiIdentityAdminRolesBody, postApiIdentityAdminUsersIdLogout, postApiIdentityAdminUsersIdLogoutParams, postApiIdentityForgotPassword, postApiIdentityForgotPasswordBody, postApiIdentityLogin, postApiIdentityLoginBody, postApiIdentityLoginResponse, postApiIdentityLogout, postApiIdentityManage2fa, postApiIdentityManage2faBody, postApiIdentityManage2faResponse, postApiIdentityManageInfo, postApiIdentityManageInfoBody, postApiIdentityManageInfoResponse, postApiIdentityResetPassword, postApiIdentityResetPasswordBody, putApiIdentityAdminRolesId, putApiIdentityAdminRolesIdBody, putApiIdentityAdminRolesIdParams, putApiIdentityAdminRolesIdPermissions, putApiIdentityAdminRolesIdPermissionsBody, putApiIdentityAdminRolesIdPermissionsParams, putApiIdentityAdminUsersIdActive, putApiIdentityAdminUsersIdActiveBody, putApiIdentityAdminUsersIdActiveParams, putApiIdentityAdminUsersIdRoles, putApiIdentityAdminUsersIdRolesBody, putApiIdentityAdminUsersIdRolesParams, searchAddresses, searchAddressesQueryLimitDefault, searchAddressesQueryParams, searchAddressesResponse, searchAddressesResponseItem, setProductAssignment, setProductAssignmentBody, setProductAssignmentParams, setProductShippingConfig, setProductShippingConfigBody, setProductShippingConfigParams, toggleWarehouseStatus, toggleWarehouseStatusParams, updateProduct, updateProductBody, updateProductBodyVariantsItemSourcesItemQuantityPerUnitDefault, updateProductParams, updateProductResponse, updateWarehouse, updateWarehouseBody, updateWarehouseParams, useConsumeBatch, useCreateBankAccount, useCreateBatch, useCreateProduct, useCreateStockItems, useCreateWarehouse, useDeleteApiIdentityAdminRolesId, useDeleteProduct, useDeleteWarehouse, useGetApiIdentityAdminPermissions, useGetApiIdentityAdminRoles, useGetApiIdentityAdminRolesId, useGetApiIdentityAdminUsers, useGetApiIdentityAdminUsersIdPermissions, useGetApiIdentityAdminUsersIdRoles, useGetApiIdentityAntiforgery, useGetApiIdentityManage2fa, useGetApiIdentityManageInfo, useGetBankByCode, useGetCourierByCode, useGetHealth, useGetProduct, useGetProductAssignment, useGetProductPaymentConfig, useGetProductShippingConfig, useGetWarehouseById, useGetWarehouseOptions, useListBanks, useListCouriers, useListProducts, useListStockItems, useListStockMovements, useListWarehouses, usePostApiIdentityAdminRoles, usePostApiIdentityAdminUsersIdLogout, usePostApiIdentityForgotPassword, usePostApiIdentityLogin, usePostApiIdentityLogout, usePostApiIdentityManage2fa, usePostApiIdentityManageInfo, usePostApiIdentityResetPassword, usePutApiIdentityAdminRolesId, usePutApiIdentityAdminRolesIdPermissions, usePutApiIdentityAdminUsersIdActive, usePutApiIdentityAdminUsersIdRoles, useSearchAddresses, useSetProductAssignment, useSetProductShippingConfig, useToggleWarehouseStatus, useUpdateProduct, useUpdateWarehouse };
|