@builtbystack/sq-shopify-theme-sdk 0.0.7 → 0.0.8

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
@@ -239,6 +239,7 @@ getPurchasingCustomerMetafield は渡されたnamespaceとkeyに一致する現
239
239
 
240
240
  ## Type Aliases
241
241
 
242
+ - [Address](#type-aliasesaddressmd)
242
243
  - [CustomerRank](#type-aliasescustomerrankmd)
243
244
  - [CustomerRankCalculationCondition](#type-aliasescustomerrankcalculationconditionmd)
244
245
  - [CustomerRankCalculationPeriod](#type-aliasescustomerrankcalculationperiodmd)
@@ -260,6 +261,59 @@ getPurchasingCustomerMetafield は渡されたnamespaceとkeyに一致する現
260
261
  # Type Aliases
261
262
 
262
263
 
264
+ <a name="type-aliasesaddressmd"></a>
265
+
266
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
267
+
268
+ ***
269
+
270
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Address
271
+
272
+ ## Type Alias: Address
273
+
274
+ > **Address**: `object`
275
+
276
+ Address はLocationの住所を表す。
277
+
278
+ ### Type declaration
279
+
280
+ #### address1
281
+
282
+ > **address1**: `string`
283
+
284
+ #### address2
285
+
286
+ > **address2**: `string`
287
+
288
+ #### city
289
+
290
+ > **city**: `string`
291
+
292
+ #### country
293
+
294
+ > **country**: `string`
295
+
296
+ #### countryCode
297
+
298
+ > **countryCode**: `string`
299
+
300
+ #### id
301
+
302
+ > **id**: `string`
303
+
304
+ #### postalCode
305
+
306
+ > **postalCode**: `string`
307
+
308
+ #### province
309
+
310
+ > **province**: `string`
311
+
312
+ #### provinceCode
313
+
314
+ > **provinceCode**: `string`
315
+
316
+
263
317
  <a name="type-aliasescustomerrankmd"></a>
264
318
 
265
319
  [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
@@ -412,6 +466,10 @@ Location は ShopifyIntegration に紐付いている Location を表す。
412
466
 
413
467
  ### Type declaration
414
468
 
469
+ #### address?
470
+
471
+ > `optional` **address**: [`Address`](#type-aliasesaddressmd)
472
+
415
473
  #### id
416
474
 
417
475
  > **id**: `string`
@@ -420,6 +478,10 @@ Location は ShopifyIntegration に紐付いている Location を表す。
420
478
 
421
479
  > **name**: `string`
422
480
 
481
+ #### phone
482
+
483
+ > **phone**: `string`
484
+
423
485
 
424
486
  <a name="type-aliaseslocationavailabilitiesmd"></a>
425
487
 
@@ -470,16 +532,10 @@ inventoryQuantity は在庫数を表す。
470
532
 
471
533
  #### location
472
534
 
473
- > **location**: `object`
535
+ > **location**: [`Location`](#type-aliaseslocationmd)
474
536
 
475
537
  location は在庫のLocationを表す。
476
538
 
477
- #### location.name
478
-
479
- > **name**: `string`
480
-
481
- name はLocationの名前を表す。
482
-
483
539
 
484
540
  <a name="type-aliaseslocationsmd"></a>
485
541
 
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Address はLocationの住所を表す。
3
+ */
4
+ export declare type Address = {
5
+ id: string;
6
+ countryCode: string;
7
+ country: string;
8
+ postalCode: string;
9
+ provinceCode: string;
10
+ province: string;
11
+ city: string;
12
+ address1: string;
13
+ address2: string;
14
+ };
15
+
1
16
  /**
2
17
  * CustomerRank は会員ランクを表す。
3
18
  */
@@ -45,6 +60,8 @@ export declare type CustomerRankRule = {
45
60
  declare type Location_2 = {
46
61
  id: string;
47
62
  name: string;
63
+ phone: string;
64
+ address?: Address;
48
65
  };
49
66
  export { Location_2 as Location }
50
67
 
@@ -63,12 +80,7 @@ export declare type LocationAvailability = {
63
80
  /**
64
81
  * location は在庫のLocationを表す。
65
82
  */
66
- location: {
67
- /**
68
- * name はLocationの名前を表す。
69
- */
70
- name: string;
71
- };
83
+ location: Location_2;
72
84
  /**
73
85
  * inventoryQuantity は在庫数を表す。
74
86
  */