@builtbystack/sq-shopify-theme-sdk 0.0.10 → 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 +16 -0
- package/dist/sq-shopify-theme-sdk.d.ts +5 -0
- package/dist/sq-shopify-theme-sdk.js +278 -237
- package/dist/sq-shopify-theme-sdk.umd.js +51 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -753,6 +753,10 @@ PointChangeActivity はポイントの変動の履歴を表す。
|
|
|
753
753
|
|
|
754
754
|
> **pointChange**: [`PointChange`](#type-aliasespointchangemd)
|
|
755
755
|
|
|
756
|
+
#### retailLocation?
|
|
757
|
+
|
|
758
|
+
> `optional` **retailLocation**: [`Location`](#type-aliaseslocationmd)
|
|
759
|
+
|
|
756
760
|
#### title
|
|
757
761
|
|
|
758
762
|
> **title**: `string`
|
|
@@ -832,6 +836,10 @@ PurchasingCustomerDiscount は購入者の割引情報を表す。
|
|
|
832
836
|
|
|
833
837
|
### Type declaration
|
|
834
838
|
|
|
839
|
+
#### applicableLocationCount
|
|
840
|
+
|
|
841
|
+
> **applicableLocationCount**: `number`
|
|
842
|
+
|
|
835
843
|
#### code
|
|
836
844
|
|
|
837
845
|
> **code**: `string`
|
|
@@ -854,10 +862,18 @@ Discountがこの顧客で有効かどうかを表す。
|
|
|
854
862
|
|
|
855
863
|
> **endsAt**: `Date`
|
|
856
864
|
|
|
865
|
+
#### hasApplicableLocations
|
|
866
|
+
|
|
867
|
+
> **hasApplicableLocations**: `boolean`
|
|
868
|
+
|
|
857
869
|
#### id
|
|
858
870
|
|
|
859
871
|
> **id**: `string`
|
|
860
872
|
|
|
873
|
+
#### shopifyStoreApplicable
|
|
874
|
+
|
|
875
|
+
> **shopifyStoreApplicable**: `boolean`
|
|
876
|
+
|
|
861
877
|
#### startsAt
|
|
862
878
|
|
|
863
879
|
> **startsAt**: `Date`
|
|
@@ -210,6 +210,7 @@ export declare type PointChangeActivity = {
|
|
|
210
210
|
id: string;
|
|
211
211
|
title: string;
|
|
212
212
|
pointChange: PointChange;
|
|
213
|
+
retailLocation?: Location_2;
|
|
213
214
|
};
|
|
214
215
|
|
|
215
216
|
declare enum PointChangeActivitySortKey {
|
|
@@ -256,6 +257,9 @@ export declare type PurchasingCustomerDiscount = {
|
|
|
256
257
|
* Discountがこの顧客で有効かどうかを表す。
|
|
257
258
|
*/
|
|
258
259
|
customerApplicable: boolean;
|
|
260
|
+
shopifyStoreApplicable: boolean;
|
|
261
|
+
applicableLocationCount: number;
|
|
262
|
+
hasApplicableLocations: boolean;
|
|
259
263
|
startsAt: Date;
|
|
260
264
|
endsAt: Date;
|
|
261
265
|
createdAt: Date;
|
|
@@ -323,6 +327,7 @@ export declare class SDK {
|
|
|
323
327
|
/**
|
|
324
328
|
* getPurchasingCustomerDiscounts は購入者の割引情報を返します。
|
|
325
329
|
*
|
|
330
|
+
* @param {string} [retailLocationID] 取得したい割引情報が適用されているLocationのID。
|
|
326
331
|
* @param {number} [first] 取得してくる個数。デフォルトは250。
|
|
327
332
|
* @param {string} [after] ページングの値。指定しない場合先頭から取得してくる。
|
|
328
333
|
* @param {boolean} [isReverse] 並び順。デフォルトはfalse。
|