@builtbystack/sq-shopify-theme-sdk 0.0.33 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/sq-shopify-theme-sdk.d.ts +9 -0
- package/dist/sq-shopify-theme-sdk.js +1253 -1020
- package/dist/sq-shopify-theme-sdk.umd.js +76 -59
- package/package.json +27 -24
package/README.md
CHANGED
|
@@ -51,6 +51,24 @@ SDKは名前空間 `SQ` 内に存在するため、SDKの初期化は `new SQ.SD
|
|
|
51
51
|
|
|
52
52
|
### Methods
|
|
53
53
|
|
|
54
|
+
#### DiscountUsageCreate()
|
|
55
|
+
|
|
56
|
+
> **DiscountUsageCreate**(`orderPriceAdjustmentRuleID`): `Promise`\<`null` \| `object`\>
|
|
57
|
+
|
|
58
|
+
DiscountUsageCreate は指定した注文価格調整の利用履歴を作成します。
|
|
59
|
+
|
|
60
|
+
##### Parameters
|
|
61
|
+
|
|
62
|
+
• **orderPriceAdjustmentRuleID**: `string`
|
|
63
|
+
|
|
64
|
+
利用する注文価格調整ルールのID
|
|
65
|
+
|
|
66
|
+
##### Returns
|
|
67
|
+
|
|
68
|
+
`Promise`\<`null` \| `object`\>
|
|
69
|
+
|
|
70
|
+
***
|
|
71
|
+
|
|
54
72
|
#### getEstimatedShopifyCartLineItemPoint()
|
|
55
73
|
|
|
56
74
|
> **getEstimatedShopifyCartLineItemPoint**(`currencyCode`, `taxesIncluded`, `sku`, `quantity`, `unitPrice`): `Promise`\<`null` \| [`EstimatedPoint`](#type-aliasesestimatedpointmd)\>
|
|
@@ -827,6 +827,15 @@ export declare class SDK {
|
|
|
827
827
|
* @param {string} verificationCode SMS認証用コード
|
|
828
828
|
*/
|
|
829
829
|
purchasingCustomerVerifySMS(phone: string, verificationCode: string): Promise<PurchasingCustomerSMS | null>;
|
|
830
|
+
/**
|
|
831
|
+
* DiscountUsageCreate は指定した注文価格調整の利用履歴を作成します。
|
|
832
|
+
*
|
|
833
|
+
* @param {string} orderPriceAdjustmentRuleID 利用する注文価格調整ルールのID
|
|
834
|
+
*/
|
|
835
|
+
DiscountUsageCreate(orderPriceAdjustmentRuleID: string): Promise<{
|
|
836
|
+
__typename?: "OrderPriceAdjustmentRule";
|
|
837
|
+
id: string;
|
|
838
|
+
} | null>;
|
|
830
839
|
}
|
|
831
840
|
|
|
832
841
|
declare enum ShopifyMileItemSortKey {
|