@builtbystack/sq-shopify-theme-sdk 0.0.9 → 0.0.11

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 CHANGED
@@ -177,6 +177,18 @@ getPurchasingCustomerCurrentRank は購入者の現在のランク情報を返
177
177
 
178
178
  ***
179
179
 
180
+ #### getPurchasingCustomerDiscountCodeCount()
181
+
182
+ > **getPurchasingCustomerDiscountCodeCount**(): `Promise`\<`number`\>
183
+
184
+ getPurchasingCustomerDiscountCodeCount は顧客に紐付くDiscountCodeの数を返します。
185
+
186
+ ##### Returns
187
+
188
+ `Promise`\<`number`\>
189
+
190
+ ***
191
+
180
192
  #### getPurchasingCustomerDiscounts()
181
193
 
182
194
  > **getPurchasingCustomerDiscounts**(`first`?, `after`?, `isReverse`?): `Promise`\<`null` \| [`PurchasingCustomerDiscounts`](#type-aliasespurchasingcustomerdiscountsmd)\>
@@ -741,6 +753,10 @@ PointChangeActivity はポイントの変動の履歴を表す。
741
753
 
742
754
  > **pointChange**: [`PointChange`](#type-aliasespointchangemd)
743
755
 
756
+ #### retailLocation?
757
+
758
+ > `optional` **retailLocation**: [`Location`](#type-aliaseslocationmd)
759
+
744
760
  #### title
745
761
 
746
762
  > **title**: `string`
@@ -828,6 +844,12 @@ PurchasingCustomerDiscount は購入者の割引情報を表す。
828
844
 
829
845
  > **createdAt**: `Date`
830
846
 
847
+ #### customerApplicable
848
+
849
+ > **customerApplicable**: `boolean`
850
+
851
+ Discountがこの顧客で有効かどうかを表す。
852
+
831
853
  #### description
832
854
 
833
855
  > **description**: `string`
@@ -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 {
@@ -252,6 +253,10 @@ export declare type PurchasingCustomerDiscount = {
252
253
  */
253
254
  status: string;
254
255
  code: string;
256
+ /**
257
+ * Discountがこの顧客で有効かどうかを表す。
258
+ */
259
+ customerApplicable: boolean;
255
260
  startsAt: Date;
256
261
  endsAt: Date;
257
262
  createdAt: Date;
@@ -337,6 +342,10 @@ export declare class SDK {
337
342
  * getPurchasingCustomerCurrentRank は購入者の現在のランク情報を返します。
338
343
  */
339
344
  getPurchasingCustomerCurrentRank(): Promise<CustomerRank | null>;
345
+ /**
346
+ * getPurchasingCustomerDiscountCodeCount は顧客に紐付くDiscountCodeの数を返します。
347
+ */
348
+ getPurchasingCustomerDiscountCodeCount(): Promise<number>;
340
349
  }
341
350
 
342
351
  export { }