@digital8/lighting-illusions-ts-sdk 0.0.2313 → 0.0.2314

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.
Files changed (272) hide show
  1. package/.openapi-generator/FILES +58 -32
  2. package/README.md +39 -23
  3. package/dist/apis/AdminsApi.d.ts +116 -0
  4. package/dist/apis/{CouponsApi.js → AdminsApi.js} +85 -85
  5. package/dist/apis/CustomersApi.d.ts +50 -0
  6. package/dist/apis/CustomersApi.js +182 -0
  7. package/dist/apis/ProductClassApi.d.ts +34 -0
  8. package/dist/apis/ProductClassApi.js +139 -0
  9. package/dist/apis/index.d.ts +2 -1
  10. package/dist/apis/index.js +2 -1
  11. package/dist/models/AddressFrontendResource.d.ts +2 -2
  12. package/dist/models/AddressFrontendResource.js +6 -2
  13. package/dist/models/AdminListResource.d.ts +52 -0
  14. package/dist/models/AdminListResource.js +61 -0
  15. package/dist/models/AdminListResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/AdminListResourceArrayResponse.js +50 -0
  17. package/dist/models/AdminLiteResource.d.ts +39 -0
  18. package/dist/models/AdminLiteResource.js +54 -0
  19. package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
  20. package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
  21. package/dist/models/AdminResource.d.ts +58 -0
  22. package/dist/models/AdminResource.js +63 -0
  23. package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
  24. package/dist/models/AdminResourceArrayResponse.js +50 -0
  25. package/dist/models/CartListResource.d.ts +6 -0
  26. package/dist/models/CartListResource.js +4 -0
  27. package/dist/models/CategoryAutomationFieldType.d.ts +2 -0
  28. package/dist/models/CategoryAutomationFieldType.js +3 -1
  29. package/dist/models/CreateAdminUserRequest.d.ts +62 -0
  30. package/dist/models/CreateAdminUserRequest.js +69 -0
  31. package/dist/models/CreateCustomerRequest.d.ts +18 -6
  32. package/dist/models/CreateCustomerRequest.js +12 -6
  33. package/dist/models/CreatePageComponentRequest.d.ts +4 -4
  34. package/dist/models/CreatePageComponentRequest.js +4 -4
  35. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -0
  36. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +3 -1
  37. package/dist/models/CreateSupplierRequest.d.ts +6 -0
  38. package/dist/models/CreateSupplierRequest.js +2 -0
  39. package/dist/models/CustomerListResource.d.ts +21 -8
  40. package/dist/models/CustomerListResource.js +20 -13
  41. package/dist/models/CustomerResource.d.ts +34 -9
  42. package/dist/models/CustomerResource.js +27 -16
  43. package/dist/models/CustomerType.d.ts +25 -0
  44. package/dist/models/CustomerType.js +51 -0
  45. package/dist/models/FrontendCartResource.d.ts +18 -0
  46. package/dist/models/FrontendCartResource.js +12 -0
  47. package/dist/models/OrderFulfillmentResource.d.ts +3 -3
  48. package/dist/models/OrderFulfillmentResource.js +6 -4
  49. package/dist/models/OrderStatusWithCountResource.d.ts +12 -0
  50. package/dist/models/OrderStatusWithCountResource.js +8 -0
  51. package/dist/models/PaginatedAdminListResourceResponse.d.ts +40 -0
  52. package/dist/models/PaginatedAdminListResourceResponse.js +57 -0
  53. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +40 -0
  54. package/dist/models/PaginatedAdminLiteResourceResponse.js +57 -0
  55. package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +40 -0
  56. package/dist/models/PaginatedProductClassLiteResourceResponse.js +57 -0
  57. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
  58. package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
  59. package/dist/models/ProductClassLiteResource.d.ts +44 -0
  60. package/dist/models/ProductClassLiteResource.js +57 -0
  61. package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/ProductClassLiteResourceArrayResponse.js +50 -0
  63. package/dist/models/ProductClassResource.d.ts +2 -2
  64. package/dist/models/RoleLiteResource.d.ts +38 -0
  65. package/dist/models/RoleLiteResource.js +53 -0
  66. package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
  67. package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
  68. package/dist/models/SearchAdminUsersRequest.d.ts +112 -0
  69. package/dist/models/SearchAdminUsersRequest.js +88 -0
  70. package/dist/models/SearchAllAdminUsersRequest.d.ts +82 -0
  71. package/dist/models/SearchAllAdminUsersRequest.js +78 -0
  72. package/dist/models/SearchAllCustomersRequest.d.ts +103 -0
  73. package/dist/models/{SearchAllCouponsRequest.js → SearchAllCustomersRequest.js} +27 -25
  74. package/dist/models/SearchAllOrdersRequest.d.ts +6 -0
  75. package/dist/models/SearchAllOrdersRequest.js +2 -0
  76. package/dist/models/SearchAllProductClassesRequest.d.ts +78 -0
  77. package/dist/models/SearchAllProductClassesRequest.js +74 -0
  78. package/dist/models/SearchCartsRequest.d.ts +0 -6
  79. package/dist/models/SearchCartsRequest.js +0 -2
  80. package/dist/models/SearchCustomersRequest.d.ts +31 -3
  81. package/dist/models/SearchCustomersRequest.js +15 -3
  82. package/dist/models/SearchOrdersRequest.d.ts +6 -6
  83. package/dist/models/SearchOrdersRequest.js +2 -2
  84. package/dist/models/SignUpType.d.ts +26 -0
  85. package/dist/models/SignUpType.js +52 -0
  86. package/dist/models/SocialProvider.d.ts +26 -0
  87. package/dist/models/SocialProvider.js +52 -0
  88. package/dist/models/StoreListResource.d.ts +1 -1
  89. package/dist/models/StoreListResource.js +1 -3
  90. package/dist/models/StoreResource.d.ts +1 -1
  91. package/dist/models/StoreResource.js +1 -3
  92. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  93. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  94. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  95. package/dist/models/StoreSpecialDateResource.js +1 -3
  96. package/dist/models/SupplierFrontendResource.d.ts +6 -0
  97. package/dist/models/SupplierFrontendResource.js +4 -0
  98. package/dist/models/SupplierResource.d.ts +6 -0
  99. package/dist/models/SupplierResource.js +4 -0
  100. package/dist/models/UpdateAdminUserRequest.d.ts +62 -0
  101. package/dist/models/UpdateAdminUserRequest.js +67 -0
  102. package/dist/models/UpdateCustomerRequest.d.ts +62 -0
  103. package/dist/models/UpdateCustomerRequest.js +65 -0
  104. package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
  105. package/dist/models/UpdatePageComponentRequest.js +4 -4
  106. package/dist/models/UpdateSupplierRequest.d.ts +6 -0
  107. package/dist/models/UpdateSupplierRequest.js +2 -0
  108. package/dist/models/UserLiteResource.d.ts +62 -0
  109. package/dist/models/UserLiteResource.js +69 -0
  110. package/dist/models/UserLiteResourceArrayResponse.d.ts +33 -0
  111. package/dist/models/UserLiteResourceArrayResponse.js +50 -0
  112. package/dist/models/UserType.d.ts +25 -0
  113. package/dist/models/UserType.js +51 -0
  114. package/dist/models/index.d.ts +27 -15
  115. package/dist/models/index.js +27 -15
  116. package/docs/AdminListResource.md +40 -0
  117. package/docs/{CouponListResourceArrayResponse.md → AdminListResourceArrayResponse.md} +5 -5
  118. package/docs/{CreateCouponRequestCouponablesInner.md → AdminLiteResource.md} +6 -6
  119. package/docs/{CouponLiteResourceArrayResponse.md → AdminLiteResourceArrayResponse.md} +5 -5
  120. package/docs/AdminResource.md +42 -0
  121. package/docs/{CouponResourceArrayResponse.md → AdminResourceArrayResponse.md} +5 -5
  122. package/docs/{CouponsApi.md → AdminsApi.md} +82 -82
  123. package/docs/CartListResource.md +2 -0
  124. package/docs/CreateAdminUserRequest.md +44 -0
  125. package/docs/CreateCustomerRequest.md +8 -4
  126. package/docs/CreatePageComponentRequest.md +2 -2
  127. package/docs/CreateSupplierRequest.md +2 -0
  128. package/docs/CustomerListResource.md +12 -8
  129. package/docs/CustomerResource.md +17 -9
  130. package/docs/CustomerType.md +32 -0
  131. package/docs/CustomersApi.md +201 -0
  132. package/docs/FrontendCartResource.md +6 -0
  133. package/docs/OrderStatusWithCountResource.md +4 -0
  134. package/docs/{PaginatedCouponListResourceResponse.md → PaginatedAdminListResourceResponse.md} +5 -5
  135. package/docs/{PaginatedCouponLiteResourceResponse.md → PaginatedAdminLiteResourceResponse.md} +5 -5
  136. package/docs/PaginatedProductClassLiteResourceResponse.md +36 -0
  137. package/docs/{PaginatedCouponResourceResponse.md → PaginatedRoleLiteResourceResponse.md} +5 -5
  138. package/docs/ProductClassApi.md +74 -0
  139. package/docs/ProductClassLiteResource.md +38 -0
  140. package/docs/ProductClassLiteResourceArrayResponse.md +34 -0
  141. package/docs/ProductClassResource.md +1 -1
  142. package/docs/{CouponLiteResource.md → RoleLiteResource.md} +4 -6
  143. package/docs/RoleLiteResourceArrayResponse.md +34 -0
  144. package/docs/{SearchCouponsRequest.md → SearchAdminUsersRequest.md} +10 -18
  145. package/docs/SearchAllAdminUsersRequest.md +44 -0
  146. package/docs/{SearchAllCouponsRequest.md → SearchAllCustomersRequest.md} +8 -8
  147. package/docs/SearchAllOrdersRequest.md +2 -0
  148. package/docs/SearchAllProductClassesRequest.md +44 -0
  149. package/docs/SearchCartsRequest.md +0 -2
  150. package/docs/SearchCustomersRequest.md +8 -0
  151. package/docs/SearchOrdersRequest.md +2 -2
  152. package/docs/{CouponType.md → SignUpType.md} +4 -4
  153. package/docs/SocialProvider.md +32 -0
  154. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  155. package/docs/StoreSpecialDateResource.md +1 -1
  156. package/docs/SupplierFrontendResource.md +2 -0
  157. package/docs/SupplierResource.md +2 -0
  158. package/docs/UpdateAdminUserRequest.md +44 -0
  159. package/docs/UpdateCustomerRequest.md +44 -0
  160. package/docs/UpdatePageComponentRequest.md +2 -2
  161. package/docs/UpdateSupplierRequest.md +2 -0
  162. package/docs/UserLiteResource.md +44 -0
  163. package/docs/UserLiteResourceArrayResponse.md +34 -0
  164. package/docs/UserType.md +32 -0
  165. package/package.json +1 -1
  166. package/src/apis/AdminsApi.ts +345 -0
  167. package/src/apis/CustomersApi.ts +166 -0
  168. package/src/apis/ProductClassApi.ts +76 -0
  169. package/src/apis/index.ts +2 -1
  170. package/src/models/AddressFrontendResource.ts +6 -4
  171. package/src/models/AdminListResource.ts +106 -0
  172. package/src/models/AdminListResourceArrayResponse.ts +73 -0
  173. package/src/models/AdminLiteResource.ts +82 -0
  174. package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
  175. package/src/models/AdminResource.ts +114 -0
  176. package/src/models/AdminResourceArrayResponse.ts +73 -0
  177. package/src/models/CartListResource.ts +9 -0
  178. package/src/models/CategoryAutomationFieldType.ts +3 -1
  179. package/src/models/CreateAdminUserRequest.ts +110 -0
  180. package/src/models/CreateCustomerRequest.ts +28 -11
  181. package/src/models/CreatePageComponentRequest.ts +8 -8
  182. package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +3 -1
  183. package/src/models/CreateSupplierRequest.ts +8 -0
  184. package/src/models/CustomerListResource.ts +44 -20
  185. package/src/models/CustomerResource.ts +68 -28
  186. package/src/models/CustomerType.ts +53 -0
  187. package/src/models/FrontendCartResource.ts +27 -0
  188. package/src/models/OrderFulfillmentResource.ts +8 -7
  189. package/src/models/OrderStatusWithCountResource.ts +18 -0
  190. package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
  191. package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
  192. package/src/models/PaginatedProductClassLiteResourceResponse.ts +90 -0
  193. package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
  194. package/src/models/ProductClassLiteResource.ts +83 -0
  195. package/src/models/ProductClassLiteResourceArrayResponse.ts +73 -0
  196. package/src/models/ProductClassResource.ts +2 -2
  197. package/src/models/RoleLiteResource.ts +74 -0
  198. package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
  199. package/src/models/SearchAdminUsersRequest.ts +169 -0
  200. package/src/models/SearchAllAdminUsersRequest.ts +129 -0
  201. package/src/models/SearchAllCustomersRequest.ts +156 -0
  202. package/src/models/SearchAllOrdersRequest.ts +8 -0
  203. package/src/models/SearchAllProductClassesRequest.ts +125 -0
  204. package/src/models/SearchCartsRequest.ts +0 -8
  205. package/src/models/SearchCustomersRequest.ts +39 -3
  206. package/src/models/SearchOrdersRequest.ts +8 -8
  207. package/src/models/SignUpType.ts +54 -0
  208. package/src/models/SocialProvider.ts +54 -0
  209. package/src/models/StoreListResource.ts +2 -3
  210. package/src/models/StoreResource.ts +2 -3
  211. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  212. package/src/models/StoreSpecialDateResource.ts +3 -4
  213. package/src/models/SupplierFrontendResource.ts +9 -0
  214. package/src/models/SupplierResource.ts +9 -0
  215. package/src/models/UpdateAdminUserRequest.ts +109 -0
  216. package/src/models/UpdateCustomerRequest.ts +108 -0
  217. package/src/models/UpdatePageComponentRequest.ts +8 -8
  218. package/src/models/UpdateSupplierRequest.ts +8 -0
  219. package/src/models/UserLiteResource.ts +110 -0
  220. package/src/models/UserLiteResourceArrayResponse.ts +73 -0
  221. package/src/models/UserType.ts +53 -0
  222. package/src/models/index.ts +27 -15
  223. package/dist/apis/CouponsApi.d.ts +0 -116
  224. package/dist/models/CouponListResource.d.ts +0 -99
  225. package/dist/models/CouponListResource.js +0 -90
  226. package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
  227. package/dist/models/CouponListResourceArrayResponse.js +0 -50
  228. package/dist/models/CouponLiteResource.d.ts +0 -44
  229. package/dist/models/CouponLiteResource.js +0 -57
  230. package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
  231. package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
  232. package/dist/models/CouponResource.d.ts +0 -169
  233. package/dist/models/CouponResource.js +0 -138
  234. package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
  235. package/dist/models/CouponResourceArrayResponse.js +0 -50
  236. package/dist/models/CouponType.d.ts +0 -26
  237. package/dist/models/CouponType.js +0 -52
  238. package/dist/models/CreateCouponRequest.d.ts +0 -134
  239. package/dist/models/CreateCouponRequest.js +0 -114
  240. package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
  241. package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
  242. package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
  243. package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
  244. package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +0 -40
  245. package/dist/models/PaginatedCouponLiteResourceResponse.js +0 -57
  246. package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
  247. package/dist/models/PaginatedCouponResourceResponse.js +0 -57
  248. package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
  249. package/dist/models/SearchCouponsRequest.d.ts +0 -137
  250. package/dist/models/SearchCouponsRequest.js +0 -97
  251. package/dist/models/UpdateCouponRequest.d.ts +0 -128
  252. package/dist/models/UpdateCouponRequest.js +0 -110
  253. package/docs/CouponListResource.md +0 -56
  254. package/docs/CouponResource.md +0 -78
  255. package/docs/CreateCouponRequest.md +0 -62
  256. package/docs/UpdateCouponRequest.md +0 -60
  257. package/src/apis/CouponsApi.ts +0 -345
  258. package/src/models/CouponListResource.ts +0 -170
  259. package/src/models/CouponListResourceArrayResponse.ts +0 -73
  260. package/src/models/CouponLiteResource.ts +0 -83
  261. package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
  262. package/src/models/CouponResource.ts +0 -297
  263. package/src/models/CouponResourceArrayResponse.ts +0 -73
  264. package/src/models/CouponType.ts +0 -54
  265. package/src/models/CreateCouponRequest.ts +0 -216
  266. package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
  267. package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
  268. package/src/models/PaginatedCouponLiteResourceResponse.ts +0 -90
  269. package/src/models/PaginatedCouponResourceResponse.ts +0 -90
  270. package/src/models/SearchAllCouponsRequest.ts +0 -154
  271. package/src/models/SearchCouponsRequest.ts +0 -202
  272. package/src/models/UpdateCouponRequest.ts +0 -207
@@ -13,41 +13,43 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SearchAllCouponsRequestSortDirectionEnum = exports.SearchAllCouponsRequestSortByEnum = void 0;
17
- exports.instanceOfSearchAllCouponsRequest = instanceOfSearchAllCouponsRequest;
18
- exports.SearchAllCouponsRequestFromJSON = SearchAllCouponsRequestFromJSON;
19
- exports.SearchAllCouponsRequestFromJSONTyped = SearchAllCouponsRequestFromJSONTyped;
20
- exports.SearchAllCouponsRequestToJSON = SearchAllCouponsRequestToJSON;
21
- exports.SearchAllCouponsRequestToJSONTyped = SearchAllCouponsRequestToJSONTyped;
16
+ exports.SearchAllCustomersRequestSortDirectionEnum = exports.SearchAllCustomersRequestSortByEnum = void 0;
17
+ exports.instanceOfSearchAllCustomersRequest = instanceOfSearchAllCustomersRequest;
18
+ exports.SearchAllCustomersRequestFromJSON = SearchAllCustomersRequestFromJSON;
19
+ exports.SearchAllCustomersRequestFromJSONTyped = SearchAllCustomersRequestFromJSONTyped;
20
+ exports.SearchAllCustomersRequestToJSON = SearchAllCustomersRequestToJSON;
21
+ exports.SearchAllCustomersRequestToJSONTyped = SearchAllCustomersRequestToJSONTyped;
22
22
  /**
23
23
  * @export
24
24
  */
25
- exports.SearchAllCouponsRequestSortByEnum = {
25
+ exports.SearchAllCustomersRequestSortByEnum = {
26
26
  Id: 'id',
27
- Name: 'name',
28
- Code: 'code',
27
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at',
30
+ UserFirstName: 'user-first_name',
31
+ UserLastName: 'user-last_name',
32
+ UserEmail: 'user-email',
29
33
  Type: 'type',
30
- StartDate: 'start_date',
31
- EndDate: 'end_date',
32
- CreatedAt: 'created_at'
34
+ SignUpType: 'sign_up_type'
33
35
  };
34
36
  /**
35
37
  * @export
36
38
  */
37
- exports.SearchAllCouponsRequestSortDirectionEnum = {
39
+ exports.SearchAllCustomersRequestSortDirectionEnum = {
38
40
  Asc: 'asc',
39
41
  Desc: 'desc'
40
42
  };
41
43
  /**
42
- * Check if a given object implements the SearchAllCouponsRequest interface.
44
+ * Check if a given object implements the SearchAllCustomersRequest interface.
43
45
  */
44
- function instanceOfSearchAllCouponsRequest(value) {
46
+ function instanceOfSearchAllCustomersRequest(value) {
45
47
  return true;
46
48
  }
47
- function SearchAllCouponsRequestFromJSON(json) {
48
- return SearchAllCouponsRequestFromJSONTyped(json, false);
49
+ function SearchAllCustomersRequestFromJSON(json) {
50
+ return SearchAllCustomersRequestFromJSONTyped(json, false);
49
51
  }
50
- function SearchAllCouponsRequestFromJSONTyped(json, ignoreDiscriminator) {
52
+ function SearchAllCustomersRequestFromJSONTyped(json, ignoreDiscriminator) {
51
53
  if (json == null) {
52
54
  return json;
53
55
  }
@@ -58,15 +60,15 @@ function SearchAllCouponsRequestFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
59
61
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
60
62
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
61
- 'type': json['type'] == null ? undefined : json['type'],
62
63
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
63
- 'isAbandonedCart': json['is_abandoned_cart'] == null ? undefined : json['is_abandoned_cart'],
64
+ 'type': json['type'] == null ? undefined : json['type'],
65
+ 'signUpType': json['sign_up_type'] == null ? undefined : json['sign_up_type'],
64
66
  };
65
67
  }
66
- function SearchAllCouponsRequestToJSON(json) {
67
- return SearchAllCouponsRequestToJSONTyped(json, false);
68
+ function SearchAllCustomersRequestToJSON(json) {
69
+ return SearchAllCustomersRequestToJSONTyped(json, false);
68
70
  }
69
- function SearchAllCouponsRequestToJSONTyped(value, ignoreDiscriminator) {
71
+ function SearchAllCustomersRequestToJSONTyped(value, ignoreDiscriminator) {
70
72
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
73
  if (value == null) {
72
74
  return value;
@@ -78,8 +80,8 @@ function SearchAllCouponsRequestToJSONTyped(value, ignoreDiscriminator) {
78
80
  'related_id': value['relatedId'],
79
81
  'related_type': value['relatedType'],
80
82
  'includes_relations': value['includesRelations'],
81
- 'type': value['type'],
82
83
  'site_id': value['siteId'],
83
- 'is_abandoned_cart': value['isAbandonedCart'],
84
+ 'type': value['type'],
85
+ 'sign_up_type': value['signUpType'],
84
86
  };
85
87
  }
@@ -75,6 +75,12 @@ export interface SearchAllOrdersRequest {
75
75
  * @memberof SearchAllOrdersRequest
76
76
  */
77
77
  customerId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof SearchAllOrdersRequest
82
+ */
83
+ lineItemsLabelId?: Array<string>;
78
84
  }
79
85
  /**
80
86
  * @export
@@ -60,6 +60,7 @@ function SearchAllOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'source': json['source'] == null ? undefined : json['source'],
61
61
  'statusId': json['status_id'] == null ? undefined : json['status_id'],
62
62
  'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
63
+ 'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
63
64
  };
64
65
  }
65
66
  function SearchAllOrdersRequestToJSON(json) {
@@ -81,5 +82,6 @@ function SearchAllOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
81
82
  'source': value['source'],
82
83
  'status_id': value['statusId'],
83
84
  'customer_id': value['customerId'],
85
+ 'lineItems-label_id': value['lineItemsLabelId'],
84
86
  };
85
87
  }
@@ -0,0 +1,78 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SearchAllProductClassesRequest
16
+ */
17
+ export interface SearchAllProductClassesRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SearchAllProductClassesRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {SearchAllProductClassesRequestSortByEnum}
27
+ * @memberof SearchAllProductClassesRequest
28
+ */
29
+ sortBy?: SearchAllProductClassesRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {SearchAllProductClassesRequestSortDirectionEnum}
33
+ * @memberof SearchAllProductClassesRequest
34
+ */
35
+ sortDirection?: SearchAllProductClassesRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SearchAllProductClassesRequest
40
+ */
41
+ relatedId?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SearchAllProductClassesRequest
46
+ */
47
+ relatedType?: string;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof SearchAllProductClassesRequest
52
+ */
53
+ includesRelations?: boolean;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const SearchAllProductClassesRequestSortByEnum: {
59
+ readonly Id: "id";
60
+ readonly Name: "name";
61
+ };
62
+ export type SearchAllProductClassesRequestSortByEnum = typeof SearchAllProductClassesRequestSortByEnum[keyof typeof SearchAllProductClassesRequestSortByEnum];
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const SearchAllProductClassesRequestSortDirectionEnum: {
67
+ readonly Asc: "asc";
68
+ readonly Desc: "desc";
69
+ };
70
+ export type SearchAllProductClassesRequestSortDirectionEnum = typeof SearchAllProductClassesRequestSortDirectionEnum[keyof typeof SearchAllProductClassesRequestSortDirectionEnum];
71
+ /**
72
+ * Check if a given object implements the SearchAllProductClassesRequest interface.
73
+ */
74
+ export declare function instanceOfSearchAllProductClassesRequest(value: object): value is SearchAllProductClassesRequest;
75
+ export declare function SearchAllProductClassesRequestFromJSON(json: any): SearchAllProductClassesRequest;
76
+ export declare function SearchAllProductClassesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAllProductClassesRequest;
77
+ export declare function SearchAllProductClassesRequestToJSON(json: any): SearchAllProductClassesRequest;
78
+ export declare function SearchAllProductClassesRequestToJSONTyped(value?: SearchAllProductClassesRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SearchAllProductClassesRequestSortDirectionEnum = exports.SearchAllProductClassesRequestSortByEnum = void 0;
17
+ exports.instanceOfSearchAllProductClassesRequest = instanceOfSearchAllProductClassesRequest;
18
+ exports.SearchAllProductClassesRequestFromJSON = SearchAllProductClassesRequestFromJSON;
19
+ exports.SearchAllProductClassesRequestFromJSONTyped = SearchAllProductClassesRequestFromJSONTyped;
20
+ exports.SearchAllProductClassesRequestToJSON = SearchAllProductClassesRequestToJSON;
21
+ exports.SearchAllProductClassesRequestToJSONTyped = SearchAllProductClassesRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.SearchAllProductClassesRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name'
28
+ };
29
+ /**
30
+ * @export
31
+ */
32
+ exports.SearchAllProductClassesRequestSortDirectionEnum = {
33
+ Asc: 'asc',
34
+ Desc: 'desc'
35
+ };
36
+ /**
37
+ * Check if a given object implements the SearchAllProductClassesRequest interface.
38
+ */
39
+ function instanceOfSearchAllProductClassesRequest(value) {
40
+ return true;
41
+ }
42
+ function SearchAllProductClassesRequestFromJSON(json) {
43
+ return SearchAllProductClassesRequestFromJSONTyped(json, false);
44
+ }
45
+ function SearchAllProductClassesRequestFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'search': json['search'] == null ? undefined : json['search'],
51
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
52
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
53
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
54
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
55
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
56
+ };
57
+ }
58
+ function SearchAllProductClassesRequestToJSON(json) {
59
+ return SearchAllProductClassesRequestToJSONTyped(json, false);
60
+ }
61
+ function SearchAllProductClassesRequestToJSONTyped(value, ignoreDiscriminator) {
62
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'search': value['search'],
68
+ 'sortBy': value['sortBy'],
69
+ 'sortDirection': value['sortDirection'],
70
+ 'related_id': value['relatedId'],
71
+ 'related_type': value['relatedType'],
72
+ 'includes_relations': value['includesRelations'],
73
+ };
74
+ }
@@ -117,12 +117,6 @@ export interface SearchCartsRequest {
117
117
  * @memberof SearchCartsRequest
118
118
  */
119
119
  includesRelations?: boolean;
120
- /**
121
- *
122
- * @type {number}
123
- * @memberof SearchCartsRequest
124
- */
125
- couponId?: number | null;
126
120
  }
127
121
  /**
128
122
  * @export
@@ -66,7 +66,6 @@ function SearchCartsRequestFromJSONTyped(json, ignoreDiscriminator) {
66
66
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
67
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
68
68
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
69
- 'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
70
69
  };
71
70
  }
72
71
  function SearchCartsRequestToJSON(json) {
@@ -95,6 +94,5 @@ function SearchCartsRequestToJSONTyped(value, ignoreDiscriminator) {
95
94
  'related_id': value['relatedId'],
96
95
  'related_type': value['relatedType'],
97
96
  'includes_relations': value['includesRelations'],
98
- 'coupon_id': value['couponId'],
99
97
  };
100
98
  }
@@ -51,6 +51,30 @@ export interface SearchCustomersRequest {
51
51
  * @memberof SearchCustomersRequest
52
52
  */
53
53
  siteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof SearchCustomersRequest
58
+ */
59
+ type?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SearchCustomersRequest
64
+ */
65
+ signUpType?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof SearchCustomersRequest
70
+ */
71
+ beforeCreatedAt?: Date;
72
+ /**
73
+ *
74
+ * @type {Date}
75
+ * @memberof SearchCustomersRequest
76
+ */
77
+ afterCreatedAt?: Date;
54
78
  /**
55
79
  *
56
80
  * @type {number}
@@ -75,10 +99,14 @@ export interface SearchCustomersRequest {
75
99
  */
76
100
  export declare const SearchCustomersRequestSortByEnum: {
77
101
  readonly Id: "id";
102
+ readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
78
103
  readonly CreatedAt: "created_at";
79
- readonly FirstName: "first_name";
80
- readonly LastName: "last_name";
81
- readonly Email: "email";
104
+ readonly UpdatedAt: "updated_at";
105
+ readonly UserFirstName: "user-first_name";
106
+ readonly UserLastName: "user-last_name";
107
+ readonly UserEmail: "user-email";
108
+ readonly Type: "type";
109
+ readonly SignUpType: "sign_up_type";
82
110
  };
83
111
  export type SearchCustomersRequestSortByEnum = typeof SearchCustomersRequestSortByEnum[keyof typeof SearchCustomersRequestSortByEnum];
84
112
  /**
@@ -24,10 +24,14 @@ exports.SearchCustomersRequestToJSONTyped = SearchCustomersRequestToJSONTyped;
24
24
  */
25
25
  exports.SearchCustomersRequestSortByEnum = {
26
26
  Id: 'id',
27
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
27
28
  CreatedAt: 'created_at',
28
- FirstName: 'first_name',
29
- LastName: 'last_name',
30
- Email: 'email'
29
+ UpdatedAt: 'updated_at',
30
+ UserFirstName: 'user-first_name',
31
+ UserLastName: 'user-last_name',
32
+ UserEmail: 'user-email',
33
+ Type: 'type',
34
+ SignUpType: 'sign_up_type'
31
35
  };
32
36
  /**
33
37
  * @export
@@ -56,6 +60,10 @@ function SearchCustomersRequestFromJSONTyped(json, ignoreDiscriminator) {
56
60
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
57
61
  'page': json['page'] == null ? undefined : json['page'],
58
62
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
63
+ 'type': json['type'] == null ? undefined : json['type'],
64
+ 'signUpType': json['sign_up_type'] == null ? undefined : json['sign_up_type'],
65
+ 'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
66
+ 'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
59
67
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
60
68
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
61
69
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -76,6 +84,10 @@ function SearchCustomersRequestToJSONTyped(value, ignoreDiscriminator) {
76
84
  'per_page': value['perPage'],
77
85
  'page': value['page'],
78
86
  'site_id': value['siteId'],
87
+ 'type': value['type'],
88
+ 'sign_up_type': value['signUpType'],
89
+ 'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
90
+ 'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
79
91
  'related_id': value['relatedId'],
80
92
  'related_type': value['relatedType'],
81
93
  'includes_relations': value['includesRelations'],
@@ -69,6 +69,12 @@ export interface SearchOrdersRequest {
69
69
  * @memberof SearchOrdersRequest
70
70
  */
71
71
  customerId?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {Array<string>}
75
+ * @memberof SearchOrdersRequest
76
+ */
77
+ lineItemsLabelId?: Array<string>;
72
78
  /**
73
79
  *
74
80
  * @type {Date}
@@ -123,12 +129,6 @@ export interface SearchOrdersRequest {
123
129
  * @memberof SearchOrdersRequest
124
130
  */
125
131
  includesRelations?: boolean;
126
- /**
127
- *
128
- * @type {number}
129
- * @memberof SearchOrdersRequest
130
- */
131
- couponId?: number | null;
132
132
  }
133
133
  /**
134
134
  * @export
@@ -59,6 +59,7 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'source': json['source'] == null ? undefined : json['source'],
60
60
  'statusId': json['status_id'] == null ? undefined : json['status_id'],
61
61
  'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
62
+ 'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
62
63
  'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
63
64
  'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
64
65
  'beforePlacedAt': json['before_placed_at'] == null ? undefined : (new Date(json['before_placed_at'])),
@@ -68,7 +69,6 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
68
69
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
69
70
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
70
71
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
71
- 'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
72
72
  };
73
73
  }
74
74
  function SearchOrdersRequestToJSON(json) {
@@ -89,6 +89,7 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
89
89
  'source': value['source'],
90
90
  'status_id': value['statusId'],
91
91
  'customer_id': value['customerId'],
92
+ 'lineItems-label_id': value['lineItemsLabelId'],
92
93
  'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
93
94
  'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
94
95
  'before_placed_at': value['beforePlacedAt'] == null ? value['beforePlacedAt'] : value['beforePlacedAt'].toISOString(),
@@ -98,6 +99,5 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
98
99
  'related_id': value['relatedId'],
99
100
  'related_type': value['relatedType'],
100
101
  'includes_relations': value['includesRelations'],
101
- 'coupon_id': value['couponId'],
102
102
  };
103
103
  }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const SignUpType: {
17
+ readonly Basic: "basic";
18
+ readonly Admin: "admin";
19
+ readonly Social: "social";
20
+ };
21
+ export type SignUpType = typeof SignUpType[keyof typeof SignUpType];
22
+ export declare function instanceOfSignUpType(value: any): boolean;
23
+ export declare function SignUpTypeFromJSON(json: any): SignUpType;
24
+ export declare function SignUpTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignUpType;
25
+ export declare function SignUpTypeToJSON(value?: SignUpType | null): any;
26
+ export declare function SignUpTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SignUpType;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SignUpType = void 0;
17
+ exports.instanceOfSignUpType = instanceOfSignUpType;
18
+ exports.SignUpTypeFromJSON = SignUpTypeFromJSON;
19
+ exports.SignUpTypeFromJSONTyped = SignUpTypeFromJSONTyped;
20
+ exports.SignUpTypeToJSON = SignUpTypeToJSON;
21
+ exports.SignUpTypeToJSONTyped = SignUpTypeToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.SignUpType = {
27
+ Basic: 'basic',
28
+ Admin: 'admin',
29
+ Social: 'social'
30
+ };
31
+ function instanceOfSignUpType(value) {
32
+ for (var key in exports.SignUpType) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.SignUpType, key)) {
34
+ if (exports.SignUpType[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function SignUpTypeFromJSON(json) {
42
+ return SignUpTypeFromJSONTyped(json, false);
43
+ }
44
+ function SignUpTypeFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function SignUpTypeToJSON(value) {
48
+ return value;
49
+ }
50
+ function SignUpTypeToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const SocialProvider: {
17
+ readonly Facebook: "facebook";
18
+ readonly Google: "google";
19
+ readonly Apple: "apple";
20
+ };
21
+ export type SocialProvider = typeof SocialProvider[keyof typeof SocialProvider];
22
+ export declare function instanceOfSocialProvider(value: any): boolean;
23
+ export declare function SocialProviderFromJSON(json: any): SocialProvider;
24
+ export declare function SocialProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SocialProvider;
25
+ export declare function SocialProviderToJSON(value?: SocialProvider | null): any;
26
+ export declare function SocialProviderToJSONTyped(value: any, ignoreDiscriminator: boolean): SocialProvider;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SocialProvider = void 0;
17
+ exports.instanceOfSocialProvider = instanceOfSocialProvider;
18
+ exports.SocialProviderFromJSON = SocialProviderFromJSON;
19
+ exports.SocialProviderFromJSONTyped = SocialProviderFromJSONTyped;
20
+ exports.SocialProviderToJSON = SocialProviderToJSON;
21
+ exports.SocialProviderToJSONTyped = SocialProviderToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.SocialProvider = {
27
+ Facebook: 'facebook',
28
+ Google: 'google',
29
+ Apple: 'apple'
30
+ };
31
+ function instanceOfSocialProvider(value) {
32
+ for (var key in exports.SocialProvider) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.SocialProvider, key)) {
34
+ if (exports.SocialProvider[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function SocialProviderFromJSON(json) {
42
+ return SocialProviderFromJSONTyped(json, false);
43
+ }
44
+ function SocialProviderFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function SocialProviderToJSON(value) {
48
+ return value;
49
+ }
50
+ function SocialProviderToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine: string;
60
+ tagLine?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -33,8 +33,6 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('tagLine' in value) || value['tagLine'] === undefined)
37
- return false;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
40
38
  if (!('website' in value) || value['website'] === undefined)
@@ -59,7 +57,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
59
57
  'phone': json['phone'],
60
58
  'longitude': json['longitude'],
61
59
  'latitude': json['latitude'],
62
- 'tagLine': json['tagLine'],
60
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
63
61
  'email': json['email'],
64
62
  'website': json['website'],
65
63
  'netsuiteId': json['netsuiteId'],
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website: string;
75
+ website?: string | null;
76
76
  /**
77
77
  *
78
78
  * @type {number}