@sparkrewards/sra-client 0.0.7 → 0.0.9
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.
|
@@ -497,6 +497,7 @@ const de_GetShopCommand = async (output, context) => {
|
|
|
497
497
|
'banner': smithy_client_1.expectString,
|
|
498
498
|
'country_code': smithy_client_1.expectString,
|
|
499
499
|
'description': smithy_client_1.expectString,
|
|
500
|
+
'favorite': smithy_client_1.expectBoolean,
|
|
500
501
|
'id': smithy_client_1.expectString,
|
|
501
502
|
'latitude': smithy_client_1.limitedParseDouble,
|
|
502
503
|
'location': smithy_client_1._json,
|
|
@@ -507,8 +508,6 @@ const de_GetShopCommand = async (output, context) => {
|
|
|
507
508
|
'org_name': smithy_client_1.expectString,
|
|
508
509
|
'phone_number': smithy_client_1.expectString,
|
|
509
510
|
'preview': smithy_client_1.expectString,
|
|
510
|
-
'sent_setup': smithy_client_1.expectBoolean,
|
|
511
|
-
'setup': smithy_client_1.expectBoolean,
|
|
512
511
|
'shop_hours': smithy_client_1._json,
|
|
513
512
|
'shop_name': smithy_client_1.expectString,
|
|
514
513
|
'tags': smithy_client_1._json,
|
|
@@ -530,6 +529,7 @@ const de_GetShopPublicCommand = async (output, context) => {
|
|
|
530
529
|
'banner': smithy_client_1.expectString,
|
|
531
530
|
'country_code': smithy_client_1.expectString,
|
|
532
531
|
'description': smithy_client_1.expectString,
|
|
532
|
+
'favorite': smithy_client_1.expectBoolean,
|
|
533
533
|
'id': smithy_client_1.expectString,
|
|
534
534
|
'latitude': smithy_client_1.limitedParseDouble,
|
|
535
535
|
'location': smithy_client_1._json,
|
|
@@ -540,8 +540,6 @@ const de_GetShopPublicCommand = async (output, context) => {
|
|
|
540
540
|
'org_name': smithy_client_1.expectString,
|
|
541
541
|
'phone_number': smithy_client_1.expectString,
|
|
542
542
|
'preview': smithy_client_1.expectString,
|
|
543
|
-
'sent_setup': smithy_client_1.expectBoolean,
|
|
544
|
-
'setup': smithy_client_1.expectBoolean,
|
|
545
543
|
'shop_hours': smithy_client_1._json,
|
|
546
544
|
'shop_name': smithy_client_1.expectString,
|
|
547
545
|
'tags': smithy_client_1._json,
|
|
@@ -464,6 +464,7 @@ export const de_GetShopCommand = async (output, context) => {
|
|
|
464
464
|
'banner': __expectString,
|
|
465
465
|
'country_code': __expectString,
|
|
466
466
|
'description': __expectString,
|
|
467
|
+
'favorite': __expectBoolean,
|
|
467
468
|
'id': __expectString,
|
|
468
469
|
'latitude': __limitedParseDouble,
|
|
469
470
|
'location': _json,
|
|
@@ -474,8 +475,6 @@ export const de_GetShopCommand = async (output, context) => {
|
|
|
474
475
|
'org_name': __expectString,
|
|
475
476
|
'phone_number': __expectString,
|
|
476
477
|
'preview': __expectString,
|
|
477
|
-
'sent_setup': __expectBoolean,
|
|
478
|
-
'setup': __expectBoolean,
|
|
479
478
|
'shop_hours': _json,
|
|
480
479
|
'shop_name': __expectString,
|
|
481
480
|
'tags': _json,
|
|
@@ -496,6 +495,7 @@ export const de_GetShopPublicCommand = async (output, context) => {
|
|
|
496
495
|
'banner': __expectString,
|
|
497
496
|
'country_code': __expectString,
|
|
498
497
|
'description': __expectString,
|
|
498
|
+
'favorite': __expectBoolean,
|
|
499
499
|
'id': __expectString,
|
|
500
500
|
'latitude': __limitedParseDouble,
|
|
501
501
|
'location': _json,
|
|
@@ -506,8 +506,6 @@ export const de_GetShopPublicCommand = async (output, context) => {
|
|
|
506
506
|
'org_name': __expectString,
|
|
507
507
|
'phone_number': __expectString,
|
|
508
508
|
'preview': __expectString,
|
|
509
|
-
'sent_setup': __expectBoolean,
|
|
510
|
-
'setup': __expectBoolean,
|
|
511
509
|
'shop_hours': _json,
|
|
512
510
|
'shop_name': __expectString,
|
|
513
511
|
'tags': _json,
|
|
@@ -67,11 +67,10 @@ declare const GetShopCommand_base: {
|
|
|
67
67
|
* // close: "STRING_VALUE", // required
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
|
-
* // sent_setup: true || false,
|
|
71
|
-
* // setup: true || false, // required
|
|
72
70
|
* // tags: [ // StringList // required
|
|
73
71
|
* // "STRING_VALUE",
|
|
74
72
|
* // ],
|
|
73
|
+
* // favorite: true || false, // required
|
|
75
74
|
* // };
|
|
76
75
|
*
|
|
77
76
|
* ```
|
|
@@ -67,11 +67,10 @@ declare const GetShopPublicCommand_base: {
|
|
|
67
67
|
* // close: "STRING_VALUE", // required
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
|
-
* // sent_setup: true || false,
|
|
71
|
-
* // setup: true || false, // required
|
|
72
70
|
* // tags: [ // StringList // required
|
|
73
71
|
* // "STRING_VALUE",
|
|
74
72
|
* // ],
|
|
73
|
+
* // favorite: true || false, // required
|
|
75
74
|
* // };
|
|
76
75
|
*
|
|
77
76
|
* ```
|
|
@@ -257,9 +257,8 @@ export interface ShopDetails {
|
|
|
257
257
|
* @public
|
|
258
258
|
*/
|
|
259
259
|
shop_hours: (ShopHoursItem)[] | undefined;
|
|
260
|
-
sent_setup?: boolean;
|
|
261
|
-
setup: boolean | undefined;
|
|
262
260
|
tags: (string)[] | undefined;
|
|
261
|
+
favorite: boolean | undefined;
|
|
263
262
|
}
|
|
264
263
|
/**
|
|
265
264
|
* Input for GetUser - no query params, uses auth token
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sparkrewards/sra-client",
|
|
3
3
|
"description": "@sparkrewards/sra-client client",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|