@builtbystack/sq-shopify-theme-sdk 0.0.11 → 0.0.12
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 +12 -0
- package/dist/sq-shopify-theme-sdk.d.ts +4 -0
- package/dist/sq-shopify-theme-sdk.js +160 -153
- package/dist/sq-shopify-theme-sdk.umd.js +15 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -836,6 +836,10 @@ PurchasingCustomerDiscount は購入者の割引情報を表す。
|
|
|
836
836
|
|
|
837
837
|
### Type declaration
|
|
838
838
|
|
|
839
|
+
#### applicableLocationCount
|
|
840
|
+
|
|
841
|
+
> **applicableLocationCount**: `number`
|
|
842
|
+
|
|
839
843
|
#### code
|
|
840
844
|
|
|
841
845
|
> **code**: `string`
|
|
@@ -858,10 +862,18 @@ Discountがこの顧客で有効かどうかを表す。
|
|
|
858
862
|
|
|
859
863
|
> **endsAt**: `Date`
|
|
860
864
|
|
|
865
|
+
#### hasApplicableLocations
|
|
866
|
+
|
|
867
|
+
> **hasApplicableLocations**: `boolean`
|
|
868
|
+
|
|
861
869
|
#### id
|
|
862
870
|
|
|
863
871
|
> **id**: `string`
|
|
864
872
|
|
|
873
|
+
#### shopifyStoreApplicable
|
|
874
|
+
|
|
875
|
+
> **shopifyStoreApplicable**: `boolean`
|
|
876
|
+
|
|
865
877
|
#### startsAt
|
|
866
878
|
|
|
867
879
|
> **startsAt**: `Date`
|
|
@@ -257,6 +257,9 @@ export declare type PurchasingCustomerDiscount = {
|
|
|
257
257
|
* Discountがこの顧客で有効かどうかを表す。
|
|
258
258
|
*/
|
|
259
259
|
customerApplicable: boolean;
|
|
260
|
+
shopifyStoreApplicable: boolean;
|
|
261
|
+
applicableLocationCount: number;
|
|
262
|
+
hasApplicableLocations: boolean;
|
|
260
263
|
startsAt: Date;
|
|
261
264
|
endsAt: Date;
|
|
262
265
|
createdAt: Date;
|
|
@@ -324,6 +327,7 @@ export declare class SDK {
|
|
|
324
327
|
/**
|
|
325
328
|
* getPurchasingCustomerDiscounts は購入者の割引情報を返します。
|
|
326
329
|
*
|
|
330
|
+
* @param {string} [retailLocationID] 取得したい割引情報が適用されているLocationのID。
|
|
327
331
|
* @param {number} [first] 取得してくる個数。デフォルトは250。
|
|
328
332
|
* @param {string} [after] ページングの値。指定しない場合先頭から取得してくる。
|
|
329
333
|
* @param {boolean} [isReverse] 並び順。デフォルトはfalse。
|