@arascreative/erp-api-client 2.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 +921 -407
- package/dist/index.d.ts +921 -407
- package/dist/index.js +744 -339
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +677 -292
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,12 +26,50 @@ 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 {
|
|
72
|
+
warehouseId: string;
|
|
35
73
|
quantity: number;
|
|
36
74
|
sourceType: ConsumeBatchSourceType;
|
|
37
75
|
externalReferenceNo?: ConsumeBatchRequestExternalReferenceNo;
|
|
@@ -46,6 +84,19 @@ declare const ConsumeBatchSourceType: {
|
|
|
46
84
|
readonly DAMAGED: "DAMAGED";
|
|
47
85
|
readonly INTERNAL_USE: "INTERNAL_USE";
|
|
48
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
|
+
}
|
|
49
100
|
type CreateBatchRequestExpiresOn = null | string;
|
|
50
101
|
type CreateBatchRequestExternalReferenceNo = null | string;
|
|
51
102
|
type CreateBatchRequestNote = null | string;
|
|
@@ -68,17 +119,48 @@ interface CreateProductRequest {
|
|
|
68
119
|
slug: string;
|
|
69
120
|
status?: ProductStatus;
|
|
70
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;
|
|
71
158
|
}
|
|
72
159
|
interface CreateStockItemCommand {
|
|
73
160
|
name: string;
|
|
74
161
|
sku: string;
|
|
75
162
|
unit: string;
|
|
76
163
|
}
|
|
77
|
-
interface CreateVariantRequest {
|
|
78
|
-
code: string;
|
|
79
|
-
attributes?: VariantAttributeRequest[];
|
|
80
|
-
weight: VariantWeightRequest;
|
|
81
|
-
}
|
|
82
164
|
type CreateWarehouseCommandFullAddressText = null | string;
|
|
83
165
|
interface CreateWarehouseCommand {
|
|
84
166
|
name: string;
|
|
@@ -127,15 +209,6 @@ interface PagedListOfStockMovementResponse {
|
|
|
127
209
|
hasNextPage?: boolean;
|
|
128
210
|
hasPreviousPage?: boolean;
|
|
129
211
|
}
|
|
130
|
-
interface PagedListOfVariantResponse {
|
|
131
|
-
items: VariantResponse[];
|
|
132
|
-
page: number;
|
|
133
|
-
pageSize: number;
|
|
134
|
-
totalCount: number;
|
|
135
|
-
totalPages?: number;
|
|
136
|
-
hasNextPage?: boolean;
|
|
137
|
-
hasPreviousPage?: boolean;
|
|
138
|
-
}
|
|
139
212
|
interface PagedListOfWarehouseResponse {
|
|
140
213
|
items: WarehouseResponse[];
|
|
141
214
|
page: number;
|
|
@@ -145,6 +218,12 @@ interface PagedListOfWarehouseResponse {
|
|
|
145
218
|
hasNextPage?: boolean;
|
|
146
219
|
hasPreviousPage?: boolean;
|
|
147
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
|
+
};
|
|
148
227
|
interface PermissionInfo {
|
|
149
228
|
module: string;
|
|
150
229
|
code: string;
|
|
@@ -166,11 +245,74 @@ interface ProblemDetails {
|
|
|
166
245
|
detail?: ProblemDetailsDetail;
|
|
167
246
|
instance?: ProblemDetailsInstance;
|
|
168
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
|
+
}
|
|
169
263
|
type ProductClassification = (typeof ProductClassification)[keyof typeof ProductClassification];
|
|
170
264
|
declare const ProductClassification: {
|
|
171
265
|
readonly Physical: "Physical";
|
|
172
266
|
readonly Digital: "Digital";
|
|
173
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
|
+
}
|
|
174
316
|
interface ProductResponse {
|
|
175
317
|
id: string;
|
|
176
318
|
categoryId: string;
|
|
@@ -179,6 +321,23 @@ interface ProductResponse {
|
|
|
179
321
|
status: ProductStatus;
|
|
180
322
|
classification: ProductClassification;
|
|
181
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;
|
|
182
341
|
}
|
|
183
342
|
type ProductStatus = (typeof ProductStatus)[keyof typeof ProductStatus];
|
|
184
343
|
declare const ProductStatus: {
|
|
@@ -186,6 +345,46 @@ declare const ProductStatus: {
|
|
|
186
345
|
readonly Live: "Live";
|
|
187
346
|
readonly Archived: "Archived";
|
|
188
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
|
+
}
|
|
189
388
|
interface ResetPasswordRequest {
|
|
190
389
|
email: string;
|
|
191
390
|
resetCode: string;
|
|
@@ -208,6 +407,74 @@ interface SetUserActiveRequest {
|
|
|
208
407
|
interface SetUserRolesRequest {
|
|
209
408
|
roles: string[];
|
|
210
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
|
+
}
|
|
211
478
|
type SourceTypeEnum = (typeof SourceTypeEnum)[keyof typeof SourceTypeEnum];
|
|
212
479
|
declare const SourceTypeEnum: {
|
|
213
480
|
readonly PURCHASE: "PURCHASE";
|
|
@@ -271,6 +538,11 @@ interface TwoFactorState {
|
|
|
271
538
|
isTwoFactorEnabled: boolean;
|
|
272
539
|
isMachineRemembered: boolean;
|
|
273
540
|
}
|
|
541
|
+
type UniqueCodeDirection = (typeof UniqueCodeDirection)[keyof typeof UniqueCodeDirection];
|
|
542
|
+
declare const UniqueCodeDirection: {
|
|
543
|
+
readonly Increase: "Increase";
|
|
544
|
+
readonly Decrease: "Decrease";
|
|
545
|
+
};
|
|
274
546
|
type UpdateAccountRequestNewEmail = null | string;
|
|
275
547
|
type UpdateAccountRequestNewPassword = null | string;
|
|
276
548
|
type UpdateAccountRequestOldPassword = null | string;
|
|
@@ -279,17 +551,25 @@ interface UpdateAccountRequest {
|
|
|
279
551
|
newPassword: UpdateAccountRequestNewPassword;
|
|
280
552
|
oldPassword: UpdateAccountRequestOldPassword;
|
|
281
553
|
}
|
|
554
|
+
type UpdateProductRequestImages = null | ProductImageRequest[];
|
|
282
555
|
interface UpdateProductRequest {
|
|
283
556
|
categoryId: string;
|
|
284
557
|
name: string;
|
|
285
558
|
slug: string;
|
|
286
559
|
status: ProductStatus;
|
|
287
560
|
classification: ProductClassification;
|
|
561
|
+
images?: UpdateProductRequestImages;
|
|
562
|
+
variants?: UpdateProductVariantRequest[];
|
|
288
563
|
}
|
|
289
|
-
|
|
564
|
+
type UpdateProductVariantRequestId = null | string;
|
|
565
|
+
type UpdateProductVariantRequestWeight = null | CreateProductVariantWeightRequest;
|
|
566
|
+
interface UpdateProductVariantRequest {
|
|
567
|
+
id?: UpdateProductVariantRequestId;
|
|
290
568
|
code: string;
|
|
291
|
-
attributes?:
|
|
292
|
-
|
|
569
|
+
attributes?: CreateProductVariantAttributeRequest[];
|
|
570
|
+
sources?: VariantMasterItemRequest[];
|
|
571
|
+
weight?: UpdateProductVariantRequestWeight;
|
|
572
|
+
pricing: CreateProductVariantPricingRequest;
|
|
293
573
|
}
|
|
294
574
|
type UpdateWarehouseCommandFullAddressText = null | string;
|
|
295
575
|
interface UpdateWarehouseCommand {
|
|
@@ -299,73 +579,20 @@ interface UpdateWarehouseCommand {
|
|
|
299
579
|
personInCharge: PersonInChargeData;
|
|
300
580
|
fullAddressText?: UpdateWarehouseCommandFullAddressText;
|
|
301
581
|
}
|
|
302
|
-
type UpsertVariantPricingRequestSale = null | VariantSalePriceRequest;
|
|
303
|
-
interface UpsertVariantPricingRequest {
|
|
304
|
-
baseAmount: number;
|
|
305
|
-
baseCurrency: string;
|
|
306
|
-
sale?: UpsertVariantPricingRequestSale;
|
|
307
|
-
wholesale?: VariantWholesalePriceRequest[];
|
|
308
|
-
}
|
|
309
582
|
interface UserInfo {
|
|
310
583
|
id: string;
|
|
311
584
|
email: string;
|
|
312
585
|
isActive: boolean;
|
|
313
586
|
}
|
|
314
|
-
interface
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
interface VariantAttributeResponse {
|
|
319
|
-
name: string;
|
|
320
|
-
value: string;
|
|
321
|
-
}
|
|
322
|
-
type VariantPricingResponseSale = null | VariantSalePriceResponse;
|
|
323
|
-
interface VariantPricingResponse {
|
|
324
|
-
variantId: string;
|
|
325
|
-
baseAmount: number;
|
|
326
|
-
baseCurrency: string;
|
|
327
|
-
effectiveAmount: number;
|
|
328
|
-
effectiveCurrency: string;
|
|
329
|
-
sale?: VariantPricingResponseSale;
|
|
330
|
-
wholesale?: VariantWholesalePriceResponse[];
|
|
331
|
-
}
|
|
332
|
-
interface VariantResponse {
|
|
333
|
-
id: string;
|
|
334
|
-
productId: string;
|
|
335
|
-
code: string;
|
|
336
|
-
attributes?: VariantAttributeResponse[];
|
|
337
|
-
weight: VariantWeightResponse;
|
|
338
|
-
}
|
|
339
|
-
interface VariantSalePriceRequest {
|
|
340
|
-
amount: number;
|
|
341
|
-
currency: string;
|
|
342
|
-
startAt: string;
|
|
343
|
-
endAt: string;
|
|
344
|
-
}
|
|
345
|
-
interface VariantSalePriceResponse {
|
|
346
|
-
amount: number;
|
|
347
|
-
currency: string;
|
|
348
|
-
startAt: string;
|
|
349
|
-
endAt: string;
|
|
350
|
-
isActive: boolean;
|
|
351
|
-
}
|
|
352
|
-
interface VariantWeightRequest {
|
|
353
|
-
value: number;
|
|
354
|
-
unit: string;
|
|
355
|
-
}
|
|
356
|
-
interface VariantWeightResponse {
|
|
357
|
-
value: number;
|
|
358
|
-
unit: string;
|
|
359
|
-
}
|
|
360
|
-
interface VariantWholesalePriceRequest {
|
|
361
|
-
minQty: number;
|
|
362
|
-
amount: number;
|
|
363
|
-
currency: string;
|
|
587
|
+
interface VariantMasterItemRequest {
|
|
588
|
+
warehouseId: string;
|
|
589
|
+
masterItemId: string;
|
|
590
|
+
quantityPerUnit?: number;
|
|
364
591
|
}
|
|
365
|
-
interface
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
592
|
+
interface VariantMasterItemResult {
|
|
593
|
+
warehouseId: string;
|
|
594
|
+
masterItemId: string;
|
|
595
|
+
quantityPerUnit: number;
|
|
369
596
|
}
|
|
370
597
|
interface WarehouseOptionResponse {
|
|
371
598
|
warehouseId: string;
|
|
@@ -398,10 +625,6 @@ type ListProductsParams = {
|
|
|
398
625
|
page?: number;
|
|
399
626
|
pageSize?: number;
|
|
400
627
|
};
|
|
401
|
-
type ListVariantsParams = {
|
|
402
|
-
page?: number;
|
|
403
|
-
pageSize?: number;
|
|
404
|
-
};
|
|
405
628
|
type ListStockItemsParams = {
|
|
406
629
|
/**
|
|
407
630
|
* Free-text search on name or SKU.
|
|
@@ -728,7 +951,7 @@ declare function useSearchAddresses<TData = Awaited<ReturnType<typeof searchAddr
|
|
|
728
951
|
queryKey: DataTag<QueryKey, TData>;
|
|
729
952
|
};
|
|
730
953
|
/**
|
|
731
|
-
* 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.
|
|
732
955
|
* @summary Create a product
|
|
733
956
|
*/
|
|
734
957
|
declare const createProduct: (createProductRequest: CreateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -787,7 +1010,7 @@ declare function useListProducts<TData = Awaited<ReturnType<typeof listProducts>
|
|
|
787
1010
|
queryKey: DataTag<QueryKey, TData>;
|
|
788
1011
|
};
|
|
789
1012
|
/**
|
|
790
|
-
* Returns one product
|
|
1013
|
+
* Returns one product with its variants and pricing.
|
|
791
1014
|
* @summary Get product by id
|
|
792
1015
|
*/
|
|
793
1016
|
declare const getProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -819,7 +1042,7 @@ declare function useGetProduct<TData = Awaited<ReturnType<typeof getProduct>>, T
|
|
|
819
1042
|
queryKey: DataTag<QueryKey, TData>;
|
|
820
1043
|
};
|
|
821
1044
|
/**
|
|
822
|
-
* 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.
|
|
823
1046
|
* @summary Update a product
|
|
824
1047
|
*/
|
|
825
1048
|
declare const updateProduct: (id: string, updateProductRequest: UpdateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
|
|
@@ -850,7 +1073,7 @@ declare const useUpdateProduct: <TError = AxiosError<ProblemDetails>, TContext =
|
|
|
850
1073
|
data: UpdateProductRequest;
|
|
851
1074
|
}, TContext>;
|
|
852
1075
|
/**
|
|
853
|
-
*
|
|
1076
|
+
* Soft deletes a product. Its variants and pricing are retained.
|
|
854
1077
|
* @summary Delete a product
|
|
855
1078
|
*/
|
|
856
1079
|
declare const deleteProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
|
|
@@ -876,253 +1099,317 @@ declare const useDeleteProduct: <TError = AxiosError<ProblemDetails>, TContext =
|
|
|
876
1099
|
id: string;
|
|
877
1100
|
}, TContext>;
|
|
878
1101
|
/**
|
|
879
|
-
*
|
|
880
|
-
* @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
|
|
881
1104
|
*/
|
|
882
|
-
declare const
|
|
883
|
-
declare const
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
data: CreateVariantRequest;
|
|
887
|
-
}, 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>>;
|
|
888
1109
|
axios?: AxiosRequestConfig;
|
|
889
|
-
}) =>
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
type
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* @summary Create a variant
|
|
898
|
-
*/
|
|
899
|
-
declare const useCreateVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
900
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createVariant>>, TError, {
|
|
901
|
-
productId: string;
|
|
902
|
-
data: CreateVariantRequest;
|
|
903
|
-
}, 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'>;
|
|
904
1117
|
axios?: AxiosRequestConfig;
|
|
905
|
-
}, queryClient?: QueryClient)
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
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
|
+
};
|
|
909
1133
|
/**
|
|
910
|
-
* Returns a
|
|
911
|
-
* @summary
|
|
1134
|
+
* Returns a single courier by its normalized code, e.g. `jne`.
|
|
1135
|
+
* @summary Get a supported courier by code
|
|
912
1136
|
*/
|
|
913
|
-
declare const
|
|
914
|
-
declare const
|
|
915
|
-
declare const
|
|
916
|
-
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>>;
|
|
917
1141
|
axios?: AxiosRequestConfig;
|
|
918
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1142
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getCourierByCode>>, TError, TData> & {
|
|
919
1143
|
queryKey: DataTag<QueryKey, TData>;
|
|
920
1144
|
};
|
|
921
|
-
type
|
|
922
|
-
type
|
|
923
|
-
declare function
|
|
924
|
-
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'>;
|
|
925
1149
|
axios?: AxiosRequestConfig;
|
|
926
1150
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
927
1151
|
queryKey: DataTag<QueryKey, TData>;
|
|
928
1152
|
};
|
|
929
|
-
declare function
|
|
930
|
-
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'>;
|
|
931
1155
|
axios?: AxiosRequestConfig;
|
|
932
1156
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
933
1157
|
queryKey: DataTag<QueryKey, TData>;
|
|
934
1158
|
};
|
|
935
|
-
declare function
|
|
936
|
-
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>>;
|
|
937
1161
|
axios?: AxiosRequestConfig;
|
|
938
1162
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
939
1163
|
queryKey: DataTag<QueryKey, TData>;
|
|
940
1164
|
};
|
|
941
1165
|
/**
|
|
942
|
-
* Returns
|
|
943
|
-
* @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
|
|
944
1168
|
*/
|
|
945
|
-
declare const
|
|
946
|
-
declare const
|
|
947
|
-
declare const
|
|
948
|
-
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>>;
|
|
949
1173
|
axios?: AxiosRequestConfig;
|
|
950
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1174
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getProductShippingConfig>>, TError, TData> & {
|
|
951
1175
|
queryKey: DataTag<QueryKey, TData>;
|
|
952
1176
|
};
|
|
953
|
-
type
|
|
954
|
-
type
|
|
955
|
-
declare function
|
|
956
|
-
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'>;
|
|
957
1181
|
axios?: AxiosRequestConfig;
|
|
958
1182
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
959
1183
|
queryKey: DataTag<QueryKey, TData>;
|
|
960
1184
|
};
|
|
961
|
-
declare function
|
|
962
|
-
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'>;
|
|
963
1187
|
axios?: AxiosRequestConfig;
|
|
964
1188
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
965
1189
|
queryKey: DataTag<QueryKey, TData>;
|
|
966
1190
|
};
|
|
967
|
-
declare function
|
|
968
|
-
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>>;
|
|
969
1193
|
axios?: AxiosRequestConfig;
|
|
970
1194
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
971
1195
|
queryKey: DataTag<QueryKey, TData>;
|
|
972
1196
|
};
|
|
973
1197
|
/**
|
|
974
|
-
*
|
|
975
|
-
* @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
|
|
976
1200
|
*/
|
|
977
|
-
declare const
|
|
978
|
-
declare const
|
|
979
|
-
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, {
|
|
980
1204
|
productId: string;
|
|
981
|
-
|
|
982
|
-
data: UpdateVariantRequest;
|
|
1205
|
+
data: ProductShippingInput;
|
|
983
1206
|
}, TContext>;
|
|
984
1207
|
axios?: AxiosRequestConfig;
|
|
985
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1208
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
986
1209
|
productId: string;
|
|
987
|
-
|
|
988
|
-
data: UpdateVariantRequest;
|
|
1210
|
+
data: ProductShippingInput;
|
|
989
1211
|
}, TContext>;
|
|
990
|
-
type
|
|
991
|
-
type
|
|
992
|
-
type
|
|
1212
|
+
type SetProductShippingConfigMutationResult = NonNullable<Awaited<ReturnType<typeof setProductShippingConfig>>>;
|
|
1213
|
+
type SetProductShippingConfigMutationBody = ProductShippingInput;
|
|
1214
|
+
type SetProductShippingConfigMutationError = AxiosError<ProblemDetails>;
|
|
993
1215
|
/**
|
|
994
|
-
* @summary
|
|
1216
|
+
* @summary Set a product shipping config
|
|
995
1217
|
*/
|
|
996
|
-
declare const
|
|
997
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1218
|
+
declare const useSetProductShippingConfig: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1219
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
998
1220
|
productId: string;
|
|
999
|
-
|
|
1000
|
-
data: UpdateVariantRequest;
|
|
1221
|
+
data: ProductShippingInput;
|
|
1001
1222
|
}, TContext>;
|
|
1002
1223
|
axios?: AxiosRequestConfig;
|
|
1003
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1224
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof setProductShippingConfig>>, TError, {
|
|
1004
1225
|
productId: string;
|
|
1005
|
-
|
|
1006
|
-
data: UpdateVariantRequest;
|
|
1226
|
+
data: ProductShippingInput;
|
|
1007
1227
|
}, TContext>;
|
|
1008
1228
|
/**
|
|
1009
|
-
*
|
|
1010
|
-
* @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
|
|
1011
1231
|
*/
|
|
1012
|
-
declare const
|
|
1013
|
-
declare const
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
id: string;
|
|
1017
|
-
}, 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>>;
|
|
1018
1236
|
axios?: AxiosRequestConfig;
|
|
1019
|
-
}) =>
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
type
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
* @summary Delete a variant
|
|
1027
|
-
*/
|
|
1028
|
-
declare const useDeleteVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1029
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariant>>, TError, {
|
|
1030
|
-
productId: string;
|
|
1031
|
-
id: string;
|
|
1032
|
-
}, 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'>;
|
|
1033
1244
|
axios?: AxiosRequestConfig;
|
|
1034
|
-
}, queryClient?: QueryClient)
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
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
|
+
};
|
|
1038
1260
|
/**
|
|
1039
|
-
* Returns the
|
|
1040
|
-
* @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
|
|
1041
1263
|
*/
|
|
1042
|
-
declare const
|
|
1043
|
-
declare const
|
|
1044
|
-
declare const
|
|
1045
|
-
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>>;
|
|
1046
1268
|
axios?: AxiosRequestConfig;
|
|
1047
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof
|
|
1269
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getBankByCode>>, TError, TData> & {
|
|
1048
1270
|
queryKey: DataTag<QueryKey, TData>;
|
|
1049
1271
|
};
|
|
1050
|
-
type
|
|
1051
|
-
type
|
|
1052
|
-
declare function
|
|
1053
|
-
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'>;
|
|
1054
1276
|
axios?: AxiosRequestConfig;
|
|
1055
1277
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1056
1278
|
queryKey: DataTag<QueryKey, TData>;
|
|
1057
1279
|
};
|
|
1058
|
-
declare function
|
|
1059
|
-
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'>;
|
|
1060
1282
|
axios?: AxiosRequestConfig;
|
|
1061
1283
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1062
1284
|
queryKey: DataTag<QueryKey, TData>;
|
|
1063
1285
|
};
|
|
1064
|
-
declare function
|
|
1065
|
-
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>>;
|
|
1066
1288
|
axios?: AxiosRequestConfig;
|
|
1067
1289
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1068
1290
|
queryKey: DataTag<QueryKey, TData>;
|
|
1069
1291
|
};
|
|
1070
1292
|
/**
|
|
1071
|
-
*
|
|
1072
|
-
* @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
|
|
1073
1295
|
*/
|
|
1074
|
-
declare const
|
|
1075
|
-
declare const
|
|
1076
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1077
|
-
|
|
1078
|
-
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;
|
|
1079
1300
|
}, TContext>;
|
|
1080
1301
|
axios?: AxiosRequestConfig;
|
|
1081
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1082
|
-
|
|
1083
|
-
data: UpsertVariantPricingRequest;
|
|
1302
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1303
|
+
data: CreateBankAccountCommand;
|
|
1084
1304
|
}, TContext>;
|
|
1085
|
-
type
|
|
1086
|
-
type
|
|
1087
|
-
type
|
|
1305
|
+
type CreateBankAccountMutationResult = NonNullable<Awaited<ReturnType<typeof createBankAccount>>>;
|
|
1306
|
+
type CreateBankAccountMutationBody = CreateBankAccountCommand;
|
|
1307
|
+
type CreateBankAccountMutationError = AxiosError<ProblemDetails>;
|
|
1088
1308
|
/**
|
|
1089
|
-
* @summary
|
|
1309
|
+
* @summary Create a bank account
|
|
1090
1310
|
*/
|
|
1091
|
-
declare const
|
|
1092
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1093
|
-
|
|
1094
|
-
data: UpsertVariantPricingRequest;
|
|
1311
|
+
declare const useCreateBankAccount: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1312
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1313
|
+
data: CreateBankAccountCommand;
|
|
1095
1314
|
}, TContext>;
|
|
1096
1315
|
axios?: AxiosRequestConfig;
|
|
1097
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1098
|
-
|
|
1099
|
-
data: UpsertVariantPricingRequest;
|
|
1316
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createBankAccount>>, TError, {
|
|
1317
|
+
data: CreateBankAccountCommand;
|
|
1100
1318
|
}, TContext>;
|
|
1101
1319
|
/**
|
|
1102
|
-
*
|
|
1103
|
-
* @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
|
|
1104
1386
|
*/
|
|
1105
|
-
declare const
|
|
1106
|
-
declare const
|
|
1107
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1108
|
-
|
|
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;
|
|
1109
1392
|
}, TContext>;
|
|
1110
1393
|
axios?: AxiosRequestConfig;
|
|
1111
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof
|
|
1112
|
-
|
|
1394
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1395
|
+
productId: string;
|
|
1396
|
+
data: ProductAssignmentInput;
|
|
1113
1397
|
}, TContext>;
|
|
1114
|
-
type
|
|
1115
|
-
type
|
|
1398
|
+
type SetProductAssignmentMutationResult = NonNullable<Awaited<ReturnType<typeof setProductAssignment>>>;
|
|
1399
|
+
type SetProductAssignmentMutationBody = ProductAssignmentInput;
|
|
1400
|
+
type SetProductAssignmentMutationError = AxiosError<ProblemDetails>;
|
|
1116
1401
|
/**
|
|
1117
|
-
* @summary
|
|
1402
|
+
* @summary Set a product order assignment
|
|
1118
1403
|
*/
|
|
1119
|
-
declare const
|
|
1120
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof
|
|
1121
|
-
|
|
1404
|
+
declare const useSetProductAssignment: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1405
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1406
|
+
productId: string;
|
|
1407
|
+
data: ProductAssignmentInput;
|
|
1122
1408
|
}, TContext>;
|
|
1123
1409
|
axios?: AxiosRequestConfig;
|
|
1124
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof
|
|
1125
|
-
|
|
1410
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof setProductAssignment>>, TError, {
|
|
1411
|
+
productId: string;
|
|
1412
|
+
data: ProductAssignmentInput;
|
|
1126
1413
|
}, TContext>;
|
|
1127
1414
|
/**
|
|
1128
1415
|
* Creates a new stock item with a unique SKU. Validation failures return 400.
|
|
@@ -1211,34 +1498,34 @@ declare const useCreateBatch: <TError = AxiosError<ProblemDetails>, TContext = u
|
|
|
1211
1498
|
data: CreateBatchRequest;
|
|
1212
1499
|
}, TContext>;
|
|
1213
1500
|
/**
|
|
1214
|
-
* Consumes
|
|
1215
|
-
* @summary Consume
|
|
1501
|
+
* Consumes an item's unreserved batches in FIFO order within the requested warehouse and records a movement for each batch. Returns 400 for invalid input or inactive item/warehouse and 409 when stock is insufficient.
|
|
1502
|
+
* @summary Consume item stock
|
|
1216
1503
|
*/
|
|
1217
|
-
declare const consumeBatch: (
|
|
1504
|
+
declare const consumeBatch: (itemId: string, consumeBatchRequest: ConsumeBatchRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
|
|
1218
1505
|
declare const getConsumeBatchMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1219
1506
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof consumeBatch>>, TError, {
|
|
1220
|
-
|
|
1507
|
+
itemId: string;
|
|
1221
1508
|
data: ConsumeBatchRequest;
|
|
1222
1509
|
}, TContext>;
|
|
1223
1510
|
axios?: AxiosRequestConfig;
|
|
1224
1511
|
}) => UseMutationOptions<Awaited<ReturnType<typeof consumeBatch>>, TError, {
|
|
1225
|
-
|
|
1512
|
+
itemId: string;
|
|
1226
1513
|
data: ConsumeBatchRequest;
|
|
1227
1514
|
}, TContext>;
|
|
1228
1515
|
type ConsumeBatchMutationResult = NonNullable<Awaited<ReturnType<typeof consumeBatch>>>;
|
|
1229
1516
|
type ConsumeBatchMutationBody = ConsumeBatchRequest;
|
|
1230
1517
|
type ConsumeBatchMutationError = AxiosError<ProblemDetails>;
|
|
1231
1518
|
/**
|
|
1232
|
-
* @summary Consume
|
|
1519
|
+
* @summary Consume item stock
|
|
1233
1520
|
*/
|
|
1234
1521
|
declare const useConsumeBatch: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
|
|
1235
1522
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof consumeBatch>>, TError, {
|
|
1236
|
-
|
|
1523
|
+
itemId: string;
|
|
1237
1524
|
data: ConsumeBatchRequest;
|
|
1238
1525
|
}, TContext>;
|
|
1239
1526
|
axios?: AxiosRequestConfig;
|
|
1240
1527
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof consumeBatch>>, TError, {
|
|
1241
|
-
|
|
1528
|
+
itemId: string;
|
|
1242
1529
|
data: ConsumeBatchRequest;
|
|
1243
1530
|
}, TContext>;
|
|
1244
1531
|
/**
|
|
@@ -1944,9 +2231,10 @@ declare const searchAddressesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1944
2231
|
zipCode: zod.ZodOptional<zod.ZodString>;
|
|
1945
2232
|
}, zod.z.core.$strict>>;
|
|
1946
2233
|
/**
|
|
1947
|
-
* 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.
|
|
1948
2235
|
* @summary Create a product
|
|
1949
2236
|
*/
|
|
2237
|
+
declare const createProductBodyVariantsItemSourcesItemQuantityPerUnitDefault = 1;
|
|
1950
2238
|
declare const createProductBody: zod.ZodObject<{
|
|
1951
2239
|
categoryId: zod.ZodUUID;
|
|
1952
2240
|
name: zod.ZodString;
|
|
@@ -1960,6 +2248,41 @@ declare const createProductBody: zod.ZodObject<{
|
|
|
1960
2248
|
Physical: "Physical";
|
|
1961
2249
|
Digital: "Digital";
|
|
1962
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>>>;
|
|
1963
2286
|
}, zod.z.core.$strict>;
|
|
1964
2287
|
/**
|
|
1965
2288
|
* Returns a paginated list of products with their variant count.
|
|
@@ -1987,6 +2310,47 @@ declare const listProductsResponse: zod.ZodObject<{
|
|
|
1987
2310
|
Digital: "Digital";
|
|
1988
2311
|
}>;
|
|
1989
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>>;
|
|
1990
2354
|
}, zod.z.core.$strict>>;
|
|
1991
2355
|
page: zod.ZodNumber;
|
|
1992
2356
|
pageSize: zod.ZodNumber;
|
|
@@ -1996,7 +2360,7 @@ declare const listProductsResponse: zod.ZodObject<{
|
|
|
1996
2360
|
hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
|
|
1997
2361
|
}, zod.z.core.$strict>;
|
|
1998
2362
|
/**
|
|
1999
|
-
* Returns one product
|
|
2363
|
+
* Returns one product with its variants and pricing.
|
|
2000
2364
|
* @summary Get product by id
|
|
2001
2365
|
*/
|
|
2002
2366
|
declare const getProductParams: zod.ZodObject<{
|
|
@@ -2017,14 +2381,56 @@ declare const getProductResponse: zod.ZodObject<{
|
|
|
2017
2381
|
Digital: "Digital";
|
|
2018
2382
|
}>;
|
|
2019
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>>;
|
|
2020
2425
|
}, zod.z.core.$strict>;
|
|
2021
2426
|
/**
|
|
2022
|
-
* 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.
|
|
2023
2428
|
* @summary Update a product
|
|
2024
2429
|
*/
|
|
2025
2430
|
declare const updateProductParams: zod.ZodObject<{
|
|
2026
2431
|
id: zod.ZodUUID;
|
|
2027
2432
|
}, zod.z.core.$strict>;
|
|
2433
|
+
declare const updateProductBodyVariantsItemSourcesItemQuantityPerUnitDefault = 1;
|
|
2028
2434
|
declare const updateProductBody: zod.ZodObject<{
|
|
2029
2435
|
categoryId: zod.ZodUUID;
|
|
2030
2436
|
name: zod.ZodString;
|
|
@@ -2038,6 +2444,42 @@ declare const updateProductBody: zod.ZodObject<{
|
|
|
2038
2444
|
Physical: "Physical";
|
|
2039
2445
|
Digital: "Digital";
|
|
2040
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>>>;
|
|
2041
2483
|
}, zod.z.core.$strict>;
|
|
2042
2484
|
declare const updateProductResponse: zod.ZodObject<{
|
|
2043
2485
|
id: zod.ZodUUID;
|
|
@@ -2054,200 +2496,271 @@ declare const updateProductResponse: zod.ZodObject<{
|
|
|
2054
2496
|
Digital: "Digital";
|
|
2055
2497
|
}>;
|
|
2056
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>>;
|
|
2057
2540
|
}, zod.z.core.$strict>;
|
|
2058
2541
|
/**
|
|
2059
|
-
*
|
|
2542
|
+
* Soft deletes a product. Its variants and pricing are retained.
|
|
2060
2543
|
* @summary Delete a product
|
|
2061
2544
|
*/
|
|
2062
2545
|
declare const deleteProductParams: zod.ZodObject<{
|
|
2063
2546
|
id: zod.ZodUUID;
|
|
2064
2547
|
}, zod.z.core.$strict>;
|
|
2065
2548
|
/**
|
|
2066
|
-
*
|
|
2067
|
-
* @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
|
|
2068
2551
|
*/
|
|
2069
|
-
declare const
|
|
2070
|
-
|
|
2552
|
+
declare const listCouriersResponseItem: zod.ZodObject<{
|
|
2553
|
+
code: zod.ZodString;
|
|
2554
|
+
name: zod.ZodString;
|
|
2555
|
+
services: zod.ZodArray<zod.ZodString>;
|
|
2071
2556
|
}, zod.z.core.$strict>;
|
|
2072
|
-
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<{
|
|
2073
2567
|
code: zod.ZodString;
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
value: zod.ZodNumber;
|
|
2080
|
-
unit: zod.ZodString;
|
|
2081
|
-
}, 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>;
|
|
2082
2573
|
}, zod.z.core.$strict>;
|
|
2083
2574
|
/**
|
|
2084
|
-
* Returns a
|
|
2085
|
-
* @summary
|
|
2575
|
+
* Returns the shipping config stored for a product, or 404 when none has been set.
|
|
2576
|
+
* @summary Get a product shipping config
|
|
2086
2577
|
*/
|
|
2087
|
-
declare const
|
|
2578
|
+
declare const getProductShippingConfigParams: zod.ZodObject<{
|
|
2088
2579
|
productId: zod.ZodUUID;
|
|
2089
2580
|
}, zod.z.core.$strict>;
|
|
2090
|
-
declare const
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
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<{
|
|
2100
2590
|
code: zod.ZodString;
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
value: zod.ZodString;
|
|
2104
|
-
}, zod.z.core.$strict>>>;
|
|
2105
|
-
weight: zod.ZodObject<{
|
|
2106
|
-
value: zod.ZodNumber;
|
|
2107
|
-
unit: zod.ZodString;
|
|
2108
|
-
}, zod.z.core.$strict>;
|
|
2591
|
+
enabled: zod.ZodBoolean;
|
|
2592
|
+
couriers: zod.ZodArray<zod.ZodString>;
|
|
2109
2593
|
}, zod.z.core.$strict>>;
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
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>;
|
|
2116
2612
|
}, zod.z.core.$strict>;
|
|
2117
2613
|
/**
|
|
2118
|
-
*
|
|
2119
|
-
* @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
|
|
2120
2616
|
*/
|
|
2121
|
-
declare const
|
|
2617
|
+
declare const setProductShippingConfigParams: zod.ZodObject<{
|
|
2122
2618
|
productId: zod.ZodUUID;
|
|
2123
|
-
id: zod.ZodUUID;
|
|
2124
2619
|
}, zod.z.core.$strict>;
|
|
2125
|
-
declare const
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
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>>;
|
|
2132
2632
|
}, zod.z.core.$strict>>>;
|
|
2133
|
-
|
|
2633
|
+
extraFee: zod.ZodNumber;
|
|
2634
|
+
discount: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2635
|
+
type: zod.ZodEnum<{
|
|
2636
|
+
Fixed: "Fixed";
|
|
2637
|
+
Percent: "Percent";
|
|
2638
|
+
}>;
|
|
2134
2639
|
value: zod.ZodNumber;
|
|
2135
|
-
|
|
2136
|
-
|
|
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>;
|
|
2137
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>>;
|
|
2138
2664
|
/**
|
|
2139
|
-
*
|
|
2140
|
-
* @summary
|
|
2665
|
+
* Returns the bank for the given code, or 404 when it is not supported.
|
|
2666
|
+
* @summary Get a supported bank by code
|
|
2141
2667
|
*/
|
|
2142
|
-
declare const
|
|
2143
|
-
productId: zod.ZodUUID;
|
|
2144
|
-
id: zod.ZodUUID;
|
|
2145
|
-
}, zod.z.core.$strict>;
|
|
2146
|
-
declare const updateVariantBody: zod.ZodObject<{
|
|
2668
|
+
declare const getBankByCodeParams: zod.ZodObject<{
|
|
2147
2669
|
code: zod.ZodString;
|
|
2148
|
-
attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2149
|
-
name: zod.ZodString;
|
|
2150
|
-
value: zod.ZodString;
|
|
2151
|
-
}, zod.z.core.$strict>>>;
|
|
2152
|
-
weight: zod.ZodObject<{
|
|
2153
|
-
value: zod.ZodNumber;
|
|
2154
|
-
unit: zod.ZodString;
|
|
2155
|
-
}, zod.z.core.$strict>;
|
|
2156
2670
|
}, zod.z.core.$strict>;
|
|
2157
|
-
declare const
|
|
2158
|
-
id: zod.ZodUUID;
|
|
2159
|
-
productId: zod.ZodUUID;
|
|
2671
|
+
declare const getBankByCodeResponse: zod.ZodObject<{
|
|
2160
2672
|
code: zod.ZodString;
|
|
2161
|
-
|
|
2162
|
-
name: zod.ZodString;
|
|
2163
|
-
value: zod.ZodString;
|
|
2164
|
-
}, zod.z.core.$strict>>>;
|
|
2165
|
-
weight: zod.ZodObject<{
|
|
2166
|
-
value: zod.ZodNumber;
|
|
2167
|
-
unit: zod.ZodString;
|
|
2168
|
-
}, zod.z.core.$strict>;
|
|
2673
|
+
name: zod.ZodNullable<zod.ZodString>;
|
|
2169
2674
|
}, zod.z.core.$strict>;
|
|
2170
2675
|
/**
|
|
2171
|
-
*
|
|
2172
|
-
* @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
|
|
2173
2678
|
*/
|
|
2174
|
-
declare const
|
|
2175
|
-
|
|
2176
|
-
|
|
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>;
|
|
2177
2685
|
}, zod.z.core.$strict>;
|
|
2178
2686
|
/**
|
|
2179
|
-
* Returns the
|
|
2180
|
-
* @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
|
|
2181
2689
|
*/
|
|
2182
|
-
declare const
|
|
2183
|
-
|
|
2690
|
+
declare const getProductPaymentConfigParams: zod.ZodObject<{
|
|
2691
|
+
productId: zod.ZodUUID;
|
|
2184
2692
|
}, zod.z.core.$strict>;
|
|
2185
|
-
declare const
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
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>;
|
|
2203
2727
|
}, zod.z.core.$strict>;
|
|
2204
2728
|
/**
|
|
2205
|
-
*
|
|
2206
|
-
* @summary
|
|
2207
|
-
*/
|
|
2208
|
-
declare const
|
|
2209
|
-
|
|
2210
|
-
}, zod.z.core.$strict>;
|
|
2211
|
-
declare const upsertVariantPricingBody: zod.ZodObject<{
|
|
2212
|
-
baseAmount: zod.ZodNumber;
|
|
2213
|
-
baseCurrency: zod.ZodString;
|
|
2214
|
-
sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
|
|
2215
|
-
amount: zod.ZodNumber;
|
|
2216
|
-
currency: zod.ZodString;
|
|
2217
|
-
startAt: zod.z.ZodISODateTime;
|
|
2218
|
-
endAt: zod.z.ZodISODateTime;
|
|
2219
|
-
}, zod.z.core.$strict>]>>;
|
|
2220
|
-
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2221
|
-
minQty: zod.ZodNumber;
|
|
2222
|
-
amount: zod.ZodNumber;
|
|
2223
|
-
currency: zod.ZodString;
|
|
2224
|
-
}, 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;
|
|
2225
2734
|
}, zod.z.core.$strict>;
|
|
2226
|
-
declare const
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
isActive: zod.ZodBoolean;
|
|
2238
|
-
}, zod.z.core.$strict>]>>;
|
|
2239
|
-
wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2240
|
-
minQty: zod.ZodNumber;
|
|
2241
|
-
amount: zod.ZodNumber;
|
|
2242
|
-
currency: zod.ZodString;
|
|
2243
|
-
}, 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;
|
|
2244
2746
|
}, zod.z.core.$strict>;
|
|
2245
2747
|
/**
|
|
2246
|
-
*
|
|
2247
|
-
* @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
|
|
2248
2750
|
*/
|
|
2249
|
-
declare const
|
|
2250
|
-
|
|
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>>>;
|
|
2251
2764
|
}, zod.z.core.$strict>;
|
|
2252
2765
|
/**
|
|
2253
2766
|
* Creates a new stock item with a unique SKU. Validation failures return 400.
|
|
@@ -2315,13 +2828,14 @@ declare const createBatchBody: zod.ZodObject<{
|
|
|
2315
2828
|
receivedBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2316
2829
|
}, zod.z.core.$strict>;
|
|
2317
2830
|
/**
|
|
2318
|
-
* Consumes
|
|
2319
|
-
* @summary Consume
|
|
2831
|
+
* Consumes an item's unreserved batches in FIFO order within the requested warehouse and records a movement for each batch. Returns 400 for invalid input or inactive item/warehouse and 409 when stock is insufficient.
|
|
2832
|
+
* @summary Consume item stock
|
|
2320
2833
|
*/
|
|
2321
2834
|
declare const consumeBatchParams: zod.ZodObject<{
|
|
2322
|
-
|
|
2835
|
+
itemId: zod.ZodUUID;
|
|
2323
2836
|
}, zod.z.core.$strict>;
|
|
2324
2837
|
declare const consumeBatchBody: zod.ZodObject<{
|
|
2838
|
+
warehouseId: zod.ZodUUID;
|
|
2325
2839
|
quantity: zod.ZodNumber;
|
|
2326
2840
|
sourceType: zod.ZodEnum<{
|
|
2327
2841
|
LOAN_OUT: "LOAN_OUT";
|
|
@@ -2510,4 +3024,4 @@ declare const postApiIdentityAdminUsersIdLogoutParams: zod.ZodObject<{
|
|
|
2510
3024
|
id: zod.ZodUUID;
|
|
2511
3025
|
}, zod.z.core.$strict>;
|
|
2512
3026
|
|
|
2513
|
-
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 };
|