@digital8/lighting-illusions-ts-sdk 0.0.1637 → 0.0.1638

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 (122) hide show
  1. package/.openapi-generator/FILES +0 -40
  2. package/README.md +2 -26
  3. package/dist/apis/index.d.ts +0 -1
  4. package/dist/apis/index.js +0 -1
  5. package/dist/models/AddressFrontendResource.d.ts +1 -1
  6. package/dist/models/AddressFrontendResource.js +3 -1
  7. package/dist/models/AddressResource.d.ts +1 -1
  8. package/dist/models/AddressResource.js +3 -1
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +1 -3
  11. package/dist/models/GlobalSearchProductResource.d.ts +0 -6
  12. package/dist/models/GlobalSearchProductResource.js +0 -4
  13. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  14. package/dist/models/IndexProductChildRequest.js +0 -1
  15. package/dist/models/ProductChildListResource.d.ts +0 -6
  16. package/dist/models/ProductChildListResource.js +0 -2
  17. package/dist/models/ProductSearchResultResource.d.ts +0 -6
  18. package/dist/models/ProductSearchResultResource.js +0 -4
  19. package/dist/models/StoreFrontendResource.d.ts +2 -2
  20. package/dist/models/StoreFrontendResource.js +2 -6
  21. package/dist/models/StoreListResource.d.ts +1 -1
  22. package/dist/models/StoreListResource.js +3 -1
  23. package/dist/models/StoreResource.d.ts +1 -1
  24. package/dist/models/StoreResource.js +1 -3
  25. package/dist/models/index.d.ts +0 -19
  26. package/dist/models/index.js +0 -19
  27. package/docs/GlobalSearchProductResource.md +0 -2
  28. package/docs/ProductChildListResource.md +0 -2
  29. package/docs/ProductSearchResultResource.md +0 -2
  30. package/package.json +1 -1
  31. package/src/apis/index.ts +0 -1
  32. package/src/models/AddressFrontendResource.ts +3 -2
  33. package/src/models/AddressResource.ts +3 -2
  34. package/src/models/ExternalApiLogResource.ts +2 -3
  35. package/src/models/GlobalSearchProductResource.ts +0 -9
  36. package/src/models/IndexProductChildRequest.ts +0 -1
  37. package/src/models/ProductChildListResource.ts +0 -8
  38. package/src/models/ProductSearchResultResource.ts +0 -9
  39. package/src/models/StoreFrontendResource.ts +4 -6
  40. package/src/models/StoreListResource.ts +3 -2
  41. package/src/models/StoreResource.ts +2 -3
  42. package/src/models/index.ts +0 -19
  43. package/dist/apis/ProductRegistrationApi.d.ts +0 -95
  44. package/dist/apis/ProductRegistrationApi.js +0 -377
  45. package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
  46. package/dist/models/GetAllProductRegistrationRequest.js +0 -80
  47. package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
  48. package/dist/models/IndexProductRegistrationRequest.js +0 -98
  49. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
  50. package/dist/models/ListAssetsProductRegistrationRequest.js +0 -83
  51. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
  52. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
  53. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
  54. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
  55. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
  56. package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
  57. package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
  58. package/dist/models/ProductRegistrationAssetResource.js +0 -58
  59. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
  60. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
  61. package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
  62. package/dist/models/ProductRegistrationAssetType.js +0 -51
  63. package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
  64. package/dist/models/ProductRegistrationCustomerResource.js +0 -65
  65. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
  66. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
  67. package/dist/models/ProductRegistrationListResource.d.ts +0 -57
  68. package/dist/models/ProductRegistrationListResource.js +0 -64
  69. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
  70. package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
  71. package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
  72. package/dist/models/ProductRegistrationLiteResource.js +0 -53
  73. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
  74. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
  75. package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
  76. package/dist/models/ProductRegistrationProductChildResource.js +0 -63
  77. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
  78. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
  79. package/dist/models/ProductRegistrationResource.d.ts +0 -90
  80. package/dist/models/ProductRegistrationResource.js +0 -81
  81. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
  82. package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
  83. package/docs/GetAllProductRegistrationRequest.md +0 -46
  84. package/docs/IndexProductRegistrationRequest.md +0 -58
  85. package/docs/ListAssetsProductRegistrationRequest.md +0 -52
  86. package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
  87. package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
  88. package/docs/PaginatedProductRegistrationResourceResponse.md +0 -36
  89. package/docs/ProductRegistrationApi.md +0 -344
  90. package/docs/ProductRegistrationAssetResource.md +0 -38
  91. package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
  92. package/docs/ProductRegistrationAssetType.md +0 -32
  93. package/docs/ProductRegistrationCustomerResource.md +0 -44
  94. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
  95. package/docs/ProductRegistrationListResource.md +0 -42
  96. package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
  97. package/docs/ProductRegistrationLiteResource.md +0 -36
  98. package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
  99. package/docs/ProductRegistrationProductChildResource.md +0 -40
  100. package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
  101. package/docs/ProductRegistrationResource.md +0 -52
  102. package/docs/ProductRegistrationResourceArrayResponse.md +0 -34
  103. package/src/apis/ProductRegistrationApi.ts +0 -297
  104. package/src/models/GetAllProductRegistrationRequest.ts +0 -137
  105. package/src/models/IndexProductRegistrationRequest.ts +0 -193
  106. package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
  107. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
  108. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
  109. package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
  110. package/src/models/ProductRegistrationAssetResource.ts +0 -91
  111. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
  112. package/src/models/ProductRegistrationAssetType.ts +0 -53
  113. package/src/models/ProductRegistrationCustomerResource.ts +0 -108
  114. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
  115. package/src/models/ProductRegistrationListResource.ts +0 -108
  116. package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
  117. package/src/models/ProductRegistrationLiteResource.ts +0 -74
  118. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
  119. package/src/models/ProductRegistrationProductChildResource.ts +0 -93
  120. package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
  121. package/src/models/ProductRegistrationResource.ts +0 -171
  122. package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
@@ -108,7 +108,6 @@ __exportStar(require("./GetAllOverlayTemplateRequest"), exports);
108
108
  __exportStar(require("./GetAllProductCategoryRequest"), exports);
109
109
  __exportStar(require("./GetAllProductChildRequest"), exports);
110
110
  __exportStar(require("./GetAllProductRangeRequest"), exports);
111
- __exportStar(require("./GetAllProductRegistrationRequest"), exports);
112
111
  __exportStar(require("./GetAllProductRequest"), exports);
113
112
  __exportStar(require("./GetAllProductTypeRequest"), exports);
114
113
  __exportStar(require("./GetAllStoreRequest"), exports);
@@ -136,7 +135,6 @@ __exportStar(require("./IndexOverlayTemplateRequest"), exports);
136
135
  __exportStar(require("./IndexProductCategoryRequest"), exports);
137
136
  __exportStar(require("./IndexProductChildRequest"), exports);
138
137
  __exportStar(require("./IndexProductRangeRequest"), exports);
139
- __exportStar(require("./IndexProductRegistrationRequest"), exports);
140
138
  __exportStar(require("./IndexProductRequest"), exports);
141
139
  __exportStar(require("./IndexProductTypeRequest"), exports);
142
140
  __exportStar(require("./IndexRedirectRequest"), exports);
@@ -151,7 +149,6 @@ __exportStar(require("./LabelLiteResource"), exports);
151
149
  __exportStar(require("./LabelLiteResourceArrayResponse"), exports);
152
150
  __exportStar(require("./LabelResource"), exports);
153
151
  __exportStar(require("./LabelResourceArrayResponse"), exports);
154
- __exportStar(require("./ListAssetsProductRegistrationRequest"), exports);
155
152
  __exportStar(require("./ModelAttributeFrontendResource"), exports);
156
153
  __exportStar(require("./ModelAttributeFrontendResourceArrayResponse"), exports);
157
154
  __exportStar(require("./ModelAttributeListResource"), exports);
@@ -200,9 +197,6 @@ __exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
200
197
  __exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
201
198
  __exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
202
199
  __exportStar(require("./PaginatedProductRangeSearchResultResourceResponse"), exports);
203
- __exportStar(require("./PaginatedProductRegistrationAssetResourceResponse"), exports);
204
- __exportStar(require("./PaginatedProductRegistrationListResourceResponse"), exports);
205
- __exportStar(require("./PaginatedProductRegistrationResourceResponse"), exports);
206
200
  __exportStar(require("./PaginatedProductResourceResponse"), exports);
207
201
  __exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
208
202
  __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
@@ -286,19 +280,6 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
286
280
  __exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
287
281
  __exportStar(require("./ProductRangeSortBy"), exports);
288
282
  __exportStar(require("./ProductRating"), exports);
289
- __exportStar(require("./ProductRegistrationAssetResource"), exports);
290
- __exportStar(require("./ProductRegistrationAssetResourceArrayResponse"), exports);
291
- __exportStar(require("./ProductRegistrationAssetType"), exports);
292
- __exportStar(require("./ProductRegistrationCustomerResource"), exports);
293
- __exportStar(require("./ProductRegistrationCustomerResourceArrayResponse"), exports);
294
- __exportStar(require("./ProductRegistrationListResource"), exports);
295
- __exportStar(require("./ProductRegistrationListResourceArrayResponse"), exports);
296
- __exportStar(require("./ProductRegistrationLiteResource"), exports);
297
- __exportStar(require("./ProductRegistrationLiteResourceArrayResponse"), exports);
298
- __exportStar(require("./ProductRegistrationProductChildResource"), exports);
299
- __exportStar(require("./ProductRegistrationProductChildResourceArrayResponse"), exports);
300
- __exportStar(require("./ProductRegistrationResource"), exports);
301
- __exportStar(require("./ProductRegistrationResourceArrayResponse"), exports);
302
283
  __exportStar(require("./ProductResource"), exports);
303
284
  __exportStar(require("./ProductResourceArrayResponse"), exports);
304
285
  __exportStar(require("./ProductSearchResponseResource"), exports);
@@ -9,7 +9,6 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `model` | string
12
- `modelRaw` | string
13
12
  `slug` | string
14
13
  `sku` | string
15
14
  `thumbnail` | string
@@ -29,7 +28,6 @@ const example = {
29
28
  "id": null,
30
29
  "name": null,
31
30
  "model": null,
32
- "modelRaw": null,
33
31
  "slug": null,
34
32
  "sku": null,
35
33
  "thumbnail": null,
@@ -14,7 +14,6 @@ Name | Type
14
14
  `stock` | number
15
15
  `isDisabled` | string
16
16
  `displayInSocialFeed` | boolean
17
- `quantity` | string
18
17
  `netsuiteId` | number
19
18
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
20
19
  `siteDetails` | [Array<ProductChildSiteDetailLiteResource>](ProductChildSiteDetailLiteResource.md)
@@ -34,7 +33,6 @@ const example = {
34
33
  "stock": null,
35
34
  "isDisabled": null,
36
35
  "displayInSocialFeed": null,
37
- "quantity": null,
38
36
  "netsuiteId": null,
39
37
  "thumbnail": null,
40
38
  "siteDetails": null,
@@ -9,7 +9,6 @@ Name | Type
9
9
  `id` | number
10
10
  `sku` | string
11
11
  `model` | string
12
- `modelRaw` | string
13
12
  `barcode` | string
14
13
  `name` | string
15
14
  `slug` | string
@@ -36,7 +35,6 @@ const example = {
36
35
  "id": null,
37
36
  "sku": null,
38
37
  "model": null,
39
- "modelRaw": null,
40
38
  "barcode": null,
41
39
  "name": null,
42
40
  "slug": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1637",
3
+ "version": "0.0.1638",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
package/src/apis/index.ts CHANGED
@@ -12,7 +12,6 @@ export * from './OverlayTemplateApi';
12
12
  export * from './ProductApi';
13
13
  export * from './ProductCategoryApi';
14
14
  export * from './ProductRangeApi';
15
- export * from './ProductRegistrationApi';
16
15
  export * from './ProductTypeApi';
17
16
  export * from './RedirectApi';
18
17
  export * from './SiteApi';
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- line2?: string | null;
39
+ line2: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -74,6 +74,7 @@ export interface AddressFrontendResource {
74
74
  */
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
76
  if (!('line1' in value) || value['line1'] === undefined) return false;
77
+ if (!('line2' in value) || value['line2'] === undefined) return false;
77
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
78
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
79
80
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -94,7 +95,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
94
95
 
95
96
  'company': json['company'] == null ? undefined : json['company'],
96
97
  'line1': json['line1'],
97
- 'line2': json['line2'] == null ? undefined : json['line2'],
98
+ 'line2': json['line2'],
98
99
  'postcode': json['postcode'],
99
100
  'suburb': json['suburb'],
100
101
  'country': json['country'],
@@ -30,7 +30,7 @@ export interface AddressResource {
30
30
  * @type {string}
31
31
  * @memberof AddressResource
32
32
  */
33
- company?: string | null;
33
+ company: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -79,6 +79,7 @@ export interface AddressResource {
79
79
  * Check if a given object implements the AddressResource interface.
80
80
  */
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
+ if (!('company' in value) || value['company'] === undefined) return false;
82
83
  if (!('line1' in value) || value['line1'] === undefined) return false;
83
84
  if (!('line2' in value) || value['line2'] === undefined) return false;
84
85
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -100,7 +101,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
100
101
  return {
101
102
 
102
103
  'id': json['id'] == null ? undefined : json['id'],
103
- 'company': json['company'] == null ? undefined : json['company'],
104
+ 'company': json['company'],
104
105
  'line1': json['line_1'],
105
106
  'line2': json['line_2'],
106
107
  'postcode': json['postcode'],
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -37,12 +37,6 @@ export interface GlobalSearchProductResource {
37
37
  * @memberof GlobalSearchProductResource
38
38
  */
39
39
  model: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof GlobalSearchProductResource
44
- */
45
- modelRaw: string;
46
40
  /**
47
41
  *
48
42
  * @type {string}
@@ -100,7 +94,6 @@ export function instanceOfGlobalSearchProductResource(value: object): value is G
100
94
  if (!('id' in value) || value['id'] === undefined) return false;
101
95
  if (!('name' in value) || value['name'] === undefined) return false;
102
96
  if (!('model' in value) || value['model'] === undefined) return false;
103
- if (!('modelRaw' in value) || value['modelRaw'] === undefined) return false;
104
97
  if (!('slug' in value) || value['slug'] === undefined) return false;
105
98
  if (!('sku' in value) || value['sku'] === undefined) return false;
106
99
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
@@ -125,7 +118,6 @@ export function GlobalSearchProductResourceFromJSONTyped(json: any, ignoreDiscri
125
118
  'id': json['id'],
126
119
  'name': json['name'],
127
120
  'model': json['model'],
128
- 'modelRaw': json['modelRaw'],
129
121
  'slug': json['slug'],
130
122
  'sku': json['sku'],
131
123
  'thumbnail': json['thumbnail'],
@@ -151,7 +143,6 @@ export function GlobalSearchProductResourceToJSONTyped(value?: GlobalSearchProdu
151
143
  'id': value['id'],
152
144
  'name': value['name'],
153
145
  'model': value['model'],
154
- 'modelRaw': value['modelRaw'],
155
146
  'slug': value['slug'],
156
147
  'sku': value['sku'],
157
148
  'thumbnail': value['thumbnail'],
@@ -184,7 +184,6 @@ export const IndexProductChildRequestRelatedTypeEnum = {
184
184
  OverlayTemplate: 'overlayTemplate',
185
185
  ProductType: 'productType',
186
186
  ProductRange: 'productRange',
187
- ProductRegistration: 'productRegistration',
188
187
  Supplier: 'supplier',
189
188
  Tag: 'tag',
190
189
  Label: 'label',
@@ -82,12 +82,6 @@ export interface ProductChildListResource {
82
82
  * @memberof ProductChildListResource
83
83
  */
84
84
  displayInSocialFeed: boolean;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof ProductChildListResource
89
- */
90
- quantity?: string | null;
91
85
  /**
92
86
  *
93
87
  * @type {number}
@@ -142,7 +136,6 @@ export function ProductChildListResourceFromJSONTyped(json: any, ignoreDiscrimin
142
136
  'stock': json['stock'],
143
137
  'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
144
138
  'displayInSocialFeed': json['displayInSocialFeed'],
145
- 'quantity': json['quantity'] == null ? undefined : json['quantity'],
146
139
  'netsuiteId': json['netsuiteId'],
147
140
  'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
148
141
  'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceFromJSON)),
@@ -168,7 +161,6 @@ export function ProductChildListResourceToJSONTyped(value?: ProductChildListReso
168
161
  'stock': value['stock'],
169
162
  'isDisabled': value['isDisabled'],
170
163
  'displayInSocialFeed': value['displayInSocialFeed'],
171
- 'quantity': value['quantity'],
172
164
  'netsuiteId': value['netsuiteId'],
173
165
  'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
174
166
  'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceToJSON)),
@@ -37,12 +37,6 @@ export interface ProductSearchResultResource {
37
37
  * @memberof ProductSearchResultResource
38
38
  */
39
39
  model: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof ProductSearchResultResource
44
- */
45
- modelRaw: string;
46
40
  /**
47
41
  *
48
42
  * @type {string}
@@ -142,7 +136,6 @@ export function instanceOfProductSearchResultResource(value: object): value is P
142
136
  if (!('id' in value) || value['id'] === undefined) return false;
143
137
  if (!('sku' in value) || value['sku'] === undefined) return false;
144
138
  if (!('model' in value) || value['model'] === undefined) return false;
145
- if (!('modelRaw' in value) || value['modelRaw'] === undefined) return false;
146
139
  if (!('barcode' in value) || value['barcode'] === undefined) return false;
147
140
  if (!('name' in value) || value['name'] === undefined) return false;
148
141
  if (!('slug' in value) || value['slug'] === undefined) return false;
@@ -173,7 +166,6 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
173
166
  'id': json['id'],
174
167
  'sku': json['sku'],
175
168
  'model': json['model'],
176
- 'modelRaw': json['modelRaw'],
177
169
  'barcode': json['barcode'],
178
170
  'name': json['name'],
179
171
  'slug': json['slug'],
@@ -206,7 +198,6 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
206
198
  'id': value['id'],
207
199
  'sku': value['sku'],
208
200
  'model': value['model'],
209
- 'modelRaw': value['modelRaw'],
210
201
  'barcode': value['barcode'],
211
202
  'name': value['name'],
212
203
  'slug': value['slug'],
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website: string;
51
+ website?: string | null;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine: string;
81
+ tagLine?: string | null;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -106,11 +106,9 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
106
106
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
107
107
  if (!('name' in value) || value['name'] === undefined) return false;
108
108
  if (!('email' in value) || value['email'] === undefined) return false;
109
- if (!('website' in value) || value['website'] === undefined) return false;
110
109
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
110
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
112
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
115
113
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
116
114
  return true;
@@ -130,12 +128,12 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
130
128
  'siteId': json['siteId'],
131
129
  'name': json['name'],
132
130
  'email': json['email'],
133
- 'website': json['website'],
131
+ 'website': json['website'] == null ? undefined : json['website'],
134
132
  'phone': json['phone'],
135
133
  'address': json['address'] == null ? undefined : json['address'],
136
134
  'latitude': json['latitude'],
137
135
  'longitude': json['longitude'],
138
- 'tagLine': json['tagLine'],
136
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
139
137
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
140
138
  'specialDates': json['specialDates'],
141
139
  'suppliers': json['suppliers'],
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website?: string | null;
83
+ website: string;
84
84
  /**
85
85
  *
86
86
  * @type {string}
@@ -100,6 +100,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
100
100
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
101
101
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
102
102
  if (!('email' in value) || value['email'] === undefined) return false;
103
+ if (!('website' in value) || value['website'] === undefined) return false;
103
104
  return true;
104
105
  }
105
106
 
@@ -121,7 +122,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
121
122
  'latitude': json['latitude'],
122
123
  'tagLine': json['tag_line'],
123
124
  'email': json['email'],
124
- 'website': json['website'] == null ? undefined : json['website'],
125
+ 'website': json['website'],
125
126
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
126
127
  };
127
128
  }
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website: string;
104
+ website?: string | null;
105
105
  /**
106
106
  *
107
107
  * @type {string}
@@ -139,7 +139,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
139
139
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
140
140
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
141
141
  if (!('email' in value) || value['email'] === undefined) return false;
142
- if (!('website' in value) || value['website'] === undefined) return false;
143
142
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
144
143
  if (!('address' in value) || value['address'] === undefined) return false;
145
144
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -164,7 +163,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
164
163
  'latitude': json['latitude'],
165
164
  'tagLine': json['tag_line'],
166
165
  'email': json['email'],
167
- 'website': json['website'],
166
+ 'website': json['website'] == null ? undefined : json['website'],
168
167
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
169
168
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
170
169
  'address': AddressResourceFromJSON(json['address']),
@@ -92,7 +92,6 @@ export * from './GetAllOverlayTemplateRequest';
92
92
  export * from './GetAllProductCategoryRequest';
93
93
  export * from './GetAllProductChildRequest';
94
94
  export * from './GetAllProductRangeRequest';
95
- export * from './GetAllProductRegistrationRequest';
96
95
  export * from './GetAllProductRequest';
97
96
  export * from './GetAllProductTypeRequest';
98
97
  export * from './GetAllStoreRequest';
@@ -120,7 +119,6 @@ export * from './IndexOverlayTemplateRequest';
120
119
  export * from './IndexProductCategoryRequest';
121
120
  export * from './IndexProductChildRequest';
122
121
  export * from './IndexProductRangeRequest';
123
- export * from './IndexProductRegistrationRequest';
124
122
  export * from './IndexProductRequest';
125
123
  export * from './IndexProductTypeRequest';
126
124
  export * from './IndexRedirectRequest';
@@ -135,7 +133,6 @@ export * from './LabelLiteResource';
135
133
  export * from './LabelLiteResourceArrayResponse';
136
134
  export * from './LabelResource';
137
135
  export * from './LabelResourceArrayResponse';
138
- export * from './ListAssetsProductRegistrationRequest';
139
136
  export * from './ModelAttributeFrontendResource';
140
137
  export * from './ModelAttributeFrontendResourceArrayResponse';
141
138
  export * from './ModelAttributeListResource';
@@ -184,9 +181,6 @@ export * from './PaginatedProductRangeListResourceResponse';
184
181
  export * from './PaginatedProductRangeLiteResourceResponse';
185
182
  export * from './PaginatedProductRangeResourceResponse';
186
183
  export * from './PaginatedProductRangeSearchResultResourceResponse';
187
- export * from './PaginatedProductRegistrationAssetResourceResponse';
188
- export * from './PaginatedProductRegistrationListResourceResponse';
189
- export * from './PaginatedProductRegistrationResourceResponse';
190
184
  export * from './PaginatedProductResourceResponse';
191
185
  export * from './PaginatedProductSearchResultResourceResponse';
192
186
  export * from './PaginatedProductTypeListResourceResponse';
@@ -270,19 +264,6 @@ export * from './ProductRangeSiteDetailResource';
270
264
  export * from './ProductRangeSiteDetailResourceArrayResponse';
271
265
  export * from './ProductRangeSortBy';
272
266
  export * from './ProductRating';
273
- export * from './ProductRegistrationAssetResource';
274
- export * from './ProductRegistrationAssetResourceArrayResponse';
275
- export * from './ProductRegistrationAssetType';
276
- export * from './ProductRegistrationCustomerResource';
277
- export * from './ProductRegistrationCustomerResourceArrayResponse';
278
- export * from './ProductRegistrationListResource';
279
- export * from './ProductRegistrationListResourceArrayResponse';
280
- export * from './ProductRegistrationLiteResource';
281
- export * from './ProductRegistrationLiteResourceArrayResponse';
282
- export * from './ProductRegistrationProductChildResource';
283
- export * from './ProductRegistrationProductChildResourceArrayResponse';
284
- export * from './ProductRegistrationResource';
285
- export * from './ProductRegistrationResourceArrayResponse';
286
267
  export * from './ProductResource';
287
268
  export * from './ProductResourceArrayResponse';
288
269
  export * from './ProductSearchResponseResource';
@@ -1,95 +0,0 @@
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
- import * as runtime from '../runtime';
13
- import type { GetAllProductRegistrationRequest, IndexProductChildRequest, IndexProductRegistrationRequest, ListAssetsProductRegistrationRequest, PaginatedProductChildListResourceResponse, PaginatedProductRegistrationAssetResourceResponse, PaginatedProductRegistrationListResourceResponse, ProductRegistrationLiteResourceArrayResponse, ProductRegistrationResource } from '../models/index';
14
- export interface GetAllProductRegistrationOperationRequest {
15
- getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
16
- }
17
- export interface IndexProductRegistrationOperationRequest {
18
- indexProductRegistrationRequest?: IndexProductRegistrationRequest;
19
- }
20
- export interface ListAssetsProductRegistrationOperationRequest {
21
- productRegistration: number;
22
- listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
23
- }
24
- export interface ListProductsProductRegistrationRequest {
25
- productRegistration: number;
26
- indexProductChildRequest?: IndexProductChildRequest;
27
- }
28
- export interface ShowProductRegistrationRequest {
29
- productRegistration: number;
30
- }
31
- /**
32
- *
33
- */
34
- export declare class ProductRegistrationApi extends runtime.BaseAPI {
35
- /**
36
- * Creates request options for getAllProductRegistration without sending the request
37
- */
38
- getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
39
- /**
40
- * Auto-generated: getAllProductRegistration
41
- */
42
- getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>>;
43
- /**
44
- * Auto-generated: getAllProductRegistration
45
- */
46
- getAllProductRegistration(requestParameters?: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse>;
47
- /**
48
- * Creates request options for indexProductRegistration without sending the request
49
- */
50
- indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
51
- /**
52
- * Auto-generated: indexProductRegistration
53
- */
54
- indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>>;
55
- /**
56
- * Auto-generated: indexProductRegistration
57
- */
58
- indexProductRegistration(requestParameters?: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse>;
59
- /**
60
- * Creates request options for listAssetsProductRegistration without sending the request
61
- */
62
- listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
63
- /**
64
- * Auto-generated: listAssetsProductRegistration
65
- */
66
- listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>>;
67
- /**
68
- * Auto-generated: listAssetsProductRegistration
69
- */
70
- listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse>;
71
- /**
72
- * Creates request options for listProductsProductRegistration without sending the request
73
- */
74
- listProductsProductRegistrationRequestOpts(requestParameters: ListProductsProductRegistrationRequest): Promise<runtime.RequestOpts>;
75
- /**
76
- * Auto-generated: listProductsProductRegistration
77
- */
78
- listProductsProductRegistrationRaw(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
79
- /**
80
- * Auto-generated: listProductsProductRegistration
81
- */
82
- listProductsProductRegistration(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
83
- /**
84
- * Creates request options for showProductRegistration without sending the request
85
- */
86
- showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts>;
87
- /**
88
- * Auto-generated: showProductRegistration
89
- */
90
- showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>>;
91
- /**
92
- * Auto-generated: showProductRegistration
93
- */
94
- showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource>;
95
- }