@sparkrewards/sra-sdk 0.0.8 → 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.
@@ -847,16 +847,6 @@ var ShopDetails;
847
847
  ]), new server_common_1.CompositeStructureValidator(new server_common_1.NoOpValidator(), ShopHoursItem.validate));
848
848
  break;
849
849
  }
850
- case "sent_setup": {
851
- memberValidators["sent_setup"] = new server_common_1.NoOpValidator();
852
- break;
853
- }
854
- case "setup": {
855
- memberValidators["setup"] = new server_common_1.CompositeValidator([
856
- new server_common_1.RequiredValidator(),
857
- ]);
858
- break;
859
- }
860
850
  case "tags": {
861
851
  memberValidators["tags"] = new server_common_1.CompositeCollectionValidator(new server_common_1.CompositeValidator([
862
852
  new server_common_1.RequiredValidator(),
@@ -890,8 +880,6 @@ var ShopDetails;
890
880
  ...getMemberValidator("phone_number").validate(obj.phone_number, `${path}/phone_number`),
891
881
  ...getMemberValidator("location").validate(obj.location, `${path}/location`),
892
882
  ...getMemberValidator("shop_hours").validate(obj.shop_hours, `${path}/shop_hours`),
893
- ...getMemberValidator("sent_setup").validate(obj.sent_setup, `${path}/sent_setup`),
894
- ...getMemberValidator("setup").validate(obj.setup, `${path}/setup`),
895
883
  ...getMemberValidator("tags").validate(obj.tags, `${path}/tags`),
896
884
  ...getMemberValidator("favorite").validate(obj.favorite, `${path}/favorite`),
897
885
  ];
@@ -1840,12 +1840,6 @@
1840
1840
  },
1841
1841
  "description": "List of shop hours for all days"
1842
1842
  },
1843
- "sent_setup": {
1844
- "type": "boolean"
1845
- },
1846
- "setup": {
1847
- "type": "boolean"
1848
- },
1849
1843
  "tags": {
1850
1844
  "type": "array",
1851
1845
  "items": {
@@ -1868,7 +1862,6 @@
1868
1862
  "org_id",
1869
1863
  "org_name",
1870
1864
  "preview",
1871
- "setup",
1872
1865
  "shop_hours",
1873
1866
  "shop_name",
1874
1867
  "tags"
@@ -1932,12 +1925,6 @@
1932
1925
  },
1933
1926
  "description": "List of shop hours for all days"
1934
1927
  },
1935
- "sent_setup": {
1936
- "type": "boolean"
1937
- },
1938
- "setup": {
1939
- "type": "boolean"
1940
- },
1941
1928
  "tags": {
1942
1929
  "type": "array",
1943
1930
  "items": {
@@ -1960,7 +1947,6 @@
1960
1947
  "org_id",
1961
1948
  "org_name",
1962
1949
  "preview",
1963
- "setup",
1964
1950
  "shop_hours",
1965
1951
  "shop_name",
1966
1952
  "tags"
@@ -1940,8 +1940,6 @@ const serializeGetShopResponse = async (input, ctx) => {
1940
1940
  'org_name': [],
1941
1941
  'phone_number': [],
1942
1942
  'preview': [],
1943
- 'sent_setup': [],
1944
- 'setup': [],
1945
1943
  'shop_hours': _ => se_ShopHoursList(_, context),
1946
1944
  'shop_name': [],
1947
1945
  'tags': _ => se_StringList(_, context),
@@ -1989,8 +1987,6 @@ const serializeGetShopPublicResponse = async (input, ctx) => {
1989
1987
  'org_name': [],
1990
1988
  'phone_number': [],
1991
1989
  'preview': [],
1992
- 'sent_setup': [],
1993
- 'setup': [],
1994
1990
  'shop_hours': _ => se_ShopHoursList(_, context),
1995
1991
  'shop_name': [],
1996
1992
  'tags': _ => se_StringList(_, context),
@@ -840,16 +840,6 @@ export var ShopDetails;
840
840
  ]), new __CompositeStructureValidator(new __NoOpValidator(), ShopHoursItem.validate));
841
841
  break;
842
842
  }
843
- case "sent_setup": {
844
- memberValidators["sent_setup"] = new __NoOpValidator();
845
- break;
846
- }
847
- case "setup": {
848
- memberValidators["setup"] = new __CompositeValidator([
849
- new __RequiredValidator(),
850
- ]);
851
- break;
852
- }
853
843
  case "tags": {
854
844
  memberValidators["tags"] = new __CompositeCollectionValidator(new __CompositeValidator([
855
845
  new __RequiredValidator(),
@@ -883,8 +873,6 @@ export var ShopDetails;
883
873
  ...getMemberValidator("phone_number").validate(obj.phone_number, `${path}/phone_number`),
884
874
  ...getMemberValidator("location").validate(obj.location, `${path}/location`),
885
875
  ...getMemberValidator("shop_hours").validate(obj.shop_hours, `${path}/shop_hours`),
886
- ...getMemberValidator("sent_setup").validate(obj.sent_setup, `${path}/sent_setup`),
887
- ...getMemberValidator("setup").validate(obj.setup, `${path}/setup`),
888
876
  ...getMemberValidator("tags").validate(obj.tags, `${path}/tags`),
889
877
  ...getMemberValidator("favorite").validate(obj.favorite, `${path}/favorite`),
890
878
  ];
@@ -1840,12 +1840,6 @@
1840
1840
  },
1841
1841
  "description": "List of shop hours for all days"
1842
1842
  },
1843
- "sent_setup": {
1844
- "type": "boolean"
1845
- },
1846
- "setup": {
1847
- "type": "boolean"
1848
- },
1849
1843
  "tags": {
1850
1844
  "type": "array",
1851
1845
  "items": {
@@ -1868,7 +1862,6 @@
1868
1862
  "org_id",
1869
1863
  "org_name",
1870
1864
  "preview",
1871
- "setup",
1872
1865
  "shop_hours",
1873
1866
  "shop_name",
1874
1867
  "tags"
@@ -1932,12 +1925,6 @@
1932
1925
  },
1933
1926
  "description": "List of shop hours for all days"
1934
1927
  },
1935
- "sent_setup": {
1936
- "type": "boolean"
1937
- },
1938
- "setup": {
1939
- "type": "boolean"
1940
- },
1941
1928
  "tags": {
1942
1929
  "type": "array",
1943
1930
  "items": {
@@ -1960,7 +1947,6 @@
1960
1947
  "org_id",
1961
1948
  "org_name",
1962
1949
  "preview",
1963
- "setup",
1964
1950
  "shop_hours",
1965
1951
  "shop_name",
1966
1952
  "tags"
@@ -1907,8 +1907,6 @@ export const serializeGetShopResponse = async (input, ctx) => {
1907
1907
  'org_name': [],
1908
1908
  'phone_number': [],
1909
1909
  'preview': [],
1910
- 'sent_setup': [],
1911
- 'setup': [],
1912
1910
  'shop_hours': _ => se_ShopHoursList(_, context),
1913
1911
  'shop_name': [],
1914
1912
  'tags': _ => se_StringList(_, context),
@@ -1955,8 +1953,6 @@ export const serializeGetShopPublicResponse = async (input, ctx) => {
1955
1953
  'org_name': [],
1956
1954
  'phone_number': [],
1957
1955
  'preview': [],
1958
- 'sent_setup': [],
1959
- 'setup': [],
1960
1956
  'shop_hours': _ => se_ShopHoursList(_, context),
1961
1957
  'shop_name': [],
1962
1958
  'tags': _ => se_StringList(_, context),
@@ -356,8 +356,6 @@ export interface ShopDetails {
356
356
  * @public
357
357
  */
358
358
  shop_hours: (ShopHoursItem)[] | undefined;
359
- sent_setup?: boolean;
360
- setup: boolean | undefined;
361
359
  tags: (string)[] | undefined;
362
360
  favorite: boolean | undefined;
363
361
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sparkrewards/sra-sdk",
3
3
  "description": "@sparkrewards/sra-sdk server",
4
- "version": "0.0.8",
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",