@poweredbysous/storefront-sdk 2.3.0 → 2.4.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.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2541,6 +2541,7 @@ interface components {
|
|
|
2541
2541
|
/** Format: double */
|
|
2542
2542
|
longitude?: number | null;
|
|
2543
2543
|
open_status?: components["schemas"]["OpenStatus"] | null;
|
|
2544
|
+
phone?: string;
|
|
2544
2545
|
};
|
|
2545
2546
|
/** @description Pickup address of a brand location (from its primary pickup location). */
|
|
2546
2547
|
BrandLocationAddress: {
|
|
@@ -2978,6 +2979,7 @@ interface components {
|
|
|
2978
2979
|
unit_price: string;
|
|
2979
2980
|
line_total: string;
|
|
2980
2981
|
tax_amount: string;
|
|
2982
|
+
deposit_amount?: string;
|
|
2981
2983
|
};
|
|
2982
2984
|
/**
|
|
2983
2985
|
* @description The snapshot computed by ``eligibility_for_order``.
|
|
@@ -3297,6 +3299,11 @@ interface components {
|
|
|
3297
3299
|
* @description Aggregated non-discountable surcharges (VAT-inclusive)
|
|
3298
3300
|
*/
|
|
3299
3301
|
surcharge_total?: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* Format: decimal
|
|
3304
|
+
* @description Deposits (subset of surcharge_total), shown separately.
|
|
3305
|
+
*/
|
|
3306
|
+
deposit_total?: string;
|
|
3300
3307
|
cancellation_reason?: string;
|
|
3301
3308
|
/** Format: decimal */
|
|
3302
3309
|
total: string;
|
|
@@ -3440,6 +3447,11 @@ interface components {
|
|
|
3440
3447
|
tax_amount: string;
|
|
3441
3448
|
/** Format: decimal */
|
|
3442
3449
|
line_total: string;
|
|
3450
|
+
/**
|
|
3451
|
+
* Format: decimal
|
|
3452
|
+
* @description Deposit charged on this line, snapshotted at order time so removing the line refunds it.
|
|
3453
|
+
*/
|
|
3454
|
+
deposit_amount?: string;
|
|
3443
3455
|
fulfillment_type: string;
|
|
3444
3456
|
/** Format: date */
|
|
3445
3457
|
fulfillment_date?: string | null;
|
|
@@ -3787,6 +3799,7 @@ interface components {
|
|
|
3787
3799
|
value_file?: string;
|
|
3788
3800
|
/** Format: int64 */
|
|
3789
3801
|
value_reference?: number | null;
|
|
3802
|
+
value_json?: unknown;
|
|
3790
3803
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
3791
3804
|
};
|
|
3792
3805
|
/**
|
|
@@ -3903,6 +3916,8 @@ interface components {
|
|
|
3903
3916
|
/** Format: decimal */
|
|
3904
3917
|
price: string;
|
|
3905
3918
|
/** Format: decimal */
|
|
3919
|
+
readonly deposit_amount: string | null;
|
|
3920
|
+
/** Format: decimal */
|
|
3906
3921
|
compare_at_price?: string | null;
|
|
3907
3922
|
currency?: string;
|
|
3908
3923
|
/** Format: decimal */
|
|
@@ -4566,6 +4581,8 @@ interface components {
|
|
|
4566
4581
|
price: string;
|
|
4567
4582
|
currency: string;
|
|
4568
4583
|
image_url: string;
|
|
4584
|
+
/** Format: decimal */
|
|
4585
|
+
deposit_amount?: string | null;
|
|
4569
4586
|
reason: string;
|
|
4570
4587
|
};
|
|
4571
4588
|
Surcharge: {
|
|
@@ -4581,7 +4598,7 @@ interface components {
|
|
|
4581
4598
|
amount: string;
|
|
4582
4599
|
/**
|
|
4583
4600
|
* Format: decimal
|
|
4584
|
-
* @description VAT rate for this surcharge
|
|
4601
|
+
* @description VAT rate for this surcharge. Not used for a deposit attached to a product or modifier: German Pfand is an ancillary charge on the container and is taxed at the rate of the item it is attached to (UStAE A 10.1 Abs. 8). A deposit's rate here only applies when it is charged per order as the reusable-packaging deposit. Stored as a fraction — the convention every VAT rate in this codebase carries: 19% is stored as 0.19, never 19.00. Required, like Product.vat_rate and ProductModifier.vat_rate: a missing rate must fail loudly rather than silently invoice at 0%.
|
|
4585
4602
|
*/
|
|
4586
4603
|
vat_rate: string;
|
|
4587
4604
|
/** @description Category: sup, deposit, bag_fee, packaging, etc. */
|
|
@@ -4728,6 +4745,7 @@ interface components {
|
|
|
4728
4745
|
value_file?: string;
|
|
4729
4746
|
/** Format: int64 */
|
|
4730
4747
|
value_reference?: number | null;
|
|
4748
|
+
value_json?: unknown;
|
|
4731
4749
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
4732
4750
|
};
|
|
4733
4751
|
/** @description POST /api/v1/withdrawals/confirm input. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2541,6 +2541,7 @@ interface components {
|
|
|
2541
2541
|
/** Format: double */
|
|
2542
2542
|
longitude?: number | null;
|
|
2543
2543
|
open_status?: components["schemas"]["OpenStatus"] | null;
|
|
2544
|
+
phone?: string;
|
|
2544
2545
|
};
|
|
2545
2546
|
/** @description Pickup address of a brand location (from its primary pickup location). */
|
|
2546
2547
|
BrandLocationAddress: {
|
|
@@ -2978,6 +2979,7 @@ interface components {
|
|
|
2978
2979
|
unit_price: string;
|
|
2979
2980
|
line_total: string;
|
|
2980
2981
|
tax_amount: string;
|
|
2982
|
+
deposit_amount?: string;
|
|
2981
2983
|
};
|
|
2982
2984
|
/**
|
|
2983
2985
|
* @description The snapshot computed by ``eligibility_for_order``.
|
|
@@ -3297,6 +3299,11 @@ interface components {
|
|
|
3297
3299
|
* @description Aggregated non-discountable surcharges (VAT-inclusive)
|
|
3298
3300
|
*/
|
|
3299
3301
|
surcharge_total?: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* Format: decimal
|
|
3304
|
+
* @description Deposits (subset of surcharge_total), shown separately.
|
|
3305
|
+
*/
|
|
3306
|
+
deposit_total?: string;
|
|
3300
3307
|
cancellation_reason?: string;
|
|
3301
3308
|
/** Format: decimal */
|
|
3302
3309
|
total: string;
|
|
@@ -3440,6 +3447,11 @@ interface components {
|
|
|
3440
3447
|
tax_amount: string;
|
|
3441
3448
|
/** Format: decimal */
|
|
3442
3449
|
line_total: string;
|
|
3450
|
+
/**
|
|
3451
|
+
* Format: decimal
|
|
3452
|
+
* @description Deposit charged on this line, snapshotted at order time so removing the line refunds it.
|
|
3453
|
+
*/
|
|
3454
|
+
deposit_amount?: string;
|
|
3443
3455
|
fulfillment_type: string;
|
|
3444
3456
|
/** Format: date */
|
|
3445
3457
|
fulfillment_date?: string | null;
|
|
@@ -3787,6 +3799,7 @@ interface components {
|
|
|
3787
3799
|
value_file?: string;
|
|
3788
3800
|
/** Format: int64 */
|
|
3789
3801
|
value_reference?: number | null;
|
|
3802
|
+
value_json?: unknown;
|
|
3790
3803
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
3791
3804
|
};
|
|
3792
3805
|
/**
|
|
@@ -3903,6 +3916,8 @@ interface components {
|
|
|
3903
3916
|
/** Format: decimal */
|
|
3904
3917
|
price: string;
|
|
3905
3918
|
/** Format: decimal */
|
|
3919
|
+
readonly deposit_amount: string | null;
|
|
3920
|
+
/** Format: decimal */
|
|
3906
3921
|
compare_at_price?: string | null;
|
|
3907
3922
|
currency?: string;
|
|
3908
3923
|
/** Format: decimal */
|
|
@@ -4566,6 +4581,8 @@ interface components {
|
|
|
4566
4581
|
price: string;
|
|
4567
4582
|
currency: string;
|
|
4568
4583
|
image_url: string;
|
|
4584
|
+
/** Format: decimal */
|
|
4585
|
+
deposit_amount?: string | null;
|
|
4569
4586
|
reason: string;
|
|
4570
4587
|
};
|
|
4571
4588
|
Surcharge: {
|
|
@@ -4581,7 +4598,7 @@ interface components {
|
|
|
4581
4598
|
amount: string;
|
|
4582
4599
|
/**
|
|
4583
4600
|
* Format: decimal
|
|
4584
|
-
* @description VAT rate for this surcharge
|
|
4601
|
+
* @description VAT rate for this surcharge. Not used for a deposit attached to a product or modifier: German Pfand is an ancillary charge on the container and is taxed at the rate of the item it is attached to (UStAE A 10.1 Abs. 8). A deposit's rate here only applies when it is charged per order as the reusable-packaging deposit. Stored as a fraction — the convention every VAT rate in this codebase carries: 19% is stored as 0.19, never 19.00. Required, like Product.vat_rate and ProductModifier.vat_rate: a missing rate must fail loudly rather than silently invoice at 0%.
|
|
4585
4602
|
*/
|
|
4586
4603
|
vat_rate: string;
|
|
4587
4604
|
/** @description Category: sup, deposit, bag_fee, packaging, etc. */
|
|
@@ -4728,6 +4745,7 @@ interface components {
|
|
|
4728
4745
|
value_file?: string;
|
|
4729
4746
|
/** Format: int64 */
|
|
4730
4747
|
value_reference?: number | null;
|
|
4748
|
+
value_json?: unknown;
|
|
4731
4749
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
4732
4750
|
};
|
|
4733
4751
|
/** @description POST /api/v1/withdrawals/confirm input. */
|