@digital8/lighting-illusions-ts-sdk 0.0.1673 → 0.0.1675

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 (102) hide show
  1. package/.openapi-generator/FILES +8 -8
  2. package/README.md +14 -14
  3. package/dist/apis/AdminApi.d.ts +8 -8
  4. package/dist/apis/AdminApi.js +3 -3
  5. package/dist/apis/OverlayTemplateApi.d.ts +6 -6
  6. package/dist/apis/OverlayTemplateApi.js +1 -1
  7. package/dist/apis/ProductApi.d.ts +7 -7
  8. package/dist/apis/ProductApi.js +2 -2
  9. package/dist/apis/ProductCategoryApi.d.ts +6 -6
  10. package/dist/apis/ProductCategoryApi.js +1 -1
  11. package/dist/apis/ProductRangeApi.d.ts +3 -3
  12. package/dist/apis/ProductRangeApi.js +2 -2
  13. package/dist/models/AddressFrontendResource.d.ts +1 -1
  14. package/dist/models/AddressFrontendResource.js +3 -1
  15. package/dist/models/AddressResource.d.ts +1 -1
  16. package/dist/models/AddressResource.js +3 -1
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +3 -1
  19. package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +32 -0
  20. package/dist/models/GenerateGoogleFeedAdminRequest.js +51 -0
  21. package/dist/models/GetProductChildrenOverlayTemplateRequest.d.ts +192 -0
  22. package/dist/models/{IndexProductChildRequest.js → GetProductChildrenOverlayTemplateRequest.js} +17 -17
  23. package/dist/models/StoreBlogCategoryRequest.d.ts +3 -3
  24. package/dist/models/StoreBlogCategoryRequest.js +3 -3
  25. package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +44 -0
  26. package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +55 -0
  27. package/dist/models/StoreFrontendResource.d.ts +1 -1
  28. package/dist/models/StoreFrontendResource.js +3 -1
  29. package/dist/models/StorePageRequest.d.ts +3 -3
  30. package/dist/models/StorePageRequest.js +3 -3
  31. package/dist/models/StorePageRequestSeoInner.d.ts +44 -0
  32. package/dist/models/StorePageRequestSeoInner.js +55 -0
  33. package/dist/models/StoreProductCategoryRequest.d.ts +6 -6
  34. package/dist/models/StoreProductCategoryRequest.js +6 -6
  35. package/dist/models/StoreResource.d.ts +2 -2
  36. package/dist/models/StoreResource.js +4 -4
  37. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  38. package/dist/models/StoreSpecialDateResource.js +1 -3
  39. package/dist/models/StoreSupplierRequest.d.ts +6 -6
  40. package/dist/models/StoreSupplierRequest.js +6 -6
  41. package/dist/models/UpdateBlogCategoryRequest.d.ts +3 -3
  42. package/dist/models/UpdateBlogCategoryRequest.js +3 -3
  43. package/dist/models/UpdatePageRequest.d.ts +3 -3
  44. package/dist/models/UpdatePageRequest.js +3 -3
  45. package/dist/models/UpdateProductCategoryRequest.d.ts +6 -6
  46. package/dist/models/UpdateProductCategoryRequest.js +6 -6
  47. package/dist/models/UpdateSupplierRequest.d.ts +6 -6
  48. package/dist/models/UpdateSupplierRequest.js +6 -6
  49. package/dist/models/index.d.ts +4 -4
  50. package/dist/models/index.js +4 -4
  51. package/docs/AdminApi.md +15 -15
  52. package/docs/{GetHierarchyProductCategoryRequest.md → GenerateGoogleFeedAdminRequest.md} +4 -4
  53. package/docs/{IndexProductChildRequest.md → GetProductChildrenOverlayTemplateRequest.md} +4 -4
  54. package/docs/OverlayTemplateApi.md +7 -7
  55. package/docs/ProductApi.md +11 -11
  56. package/docs/ProductCategoryApi.md +7 -7
  57. package/docs/ProductRangeApi.md +8 -8
  58. package/docs/StoreBlogCategoryRequest.md +1 -1
  59. package/docs/{StoreProductCategoryRequestDescriptionsInner.md → StoreBlogCategoryRequestDescriptionsInner.md} +4 -4
  60. package/docs/StorePageRequest.md +1 -1
  61. package/docs/{StoreProductCategoryRequestSeoInner.md → StorePageRequestSeoInner.md} +4 -4
  62. package/docs/StoreProductCategoryRequest.md +2 -2
  63. package/docs/StoreSpecialDateResource.md +1 -1
  64. package/docs/StoreSupplierRequest.md +2 -2
  65. package/docs/UpdateBlogCategoryRequest.md +1 -1
  66. package/docs/UpdatePageRequest.md +1 -1
  67. package/docs/UpdateProductCategoryRequest.md +2 -2
  68. package/docs/UpdateSupplierRequest.md +2 -2
  69. package/package.json +1 -1
  70. package/src/apis/AdminApi.ts +13 -13
  71. package/src/apis/OverlayTemplateApi.ts +9 -9
  72. package/src/apis/ProductApi.ts +11 -11
  73. package/src/apis/ProductCategoryApi.ts +9 -9
  74. package/src/apis/ProductRangeApi.ts +7 -7
  75. package/src/models/AddressFrontendResource.ts +3 -2
  76. package/src/models/AddressResource.ts +3 -2
  77. package/src/models/ExternalApiLogResource.ts +3 -2
  78. package/src/models/GenerateGoogleFeedAdminRequest.ts +66 -0
  79. package/src/models/{IndexProductChildRequest.ts → GetProductChildrenOverlayTemplateRequest.ts} +42 -42
  80. package/src/models/StoreBlogCategoryRequest.ts +10 -10
  81. package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +82 -0
  82. package/src/models/StoreFrontendResource.ts +3 -2
  83. package/src/models/StorePageRequest.ts +10 -10
  84. package/src/models/{StoreProductCategoryRequestSeoInner.ts → StorePageRequestSeoInner.ts} +13 -13
  85. package/src/models/StoreProductCategoryRequest.ts +20 -20
  86. package/src/models/StoreResource.ts +5 -5
  87. package/src/models/StoreSpecialDateResource.ts +3 -4
  88. package/src/models/StoreSupplierRequest.ts +20 -20
  89. package/src/models/UpdateBlogCategoryRequest.ts +10 -10
  90. package/src/models/UpdatePageRequest.ts +10 -10
  91. package/src/models/UpdateProductCategoryRequest.ts +20 -20
  92. package/src/models/UpdateSupplierRequest.ts +20 -20
  93. package/src/models/index.ts +4 -4
  94. package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
  95. package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
  96. package/dist/models/IndexProductChildRequest.d.ts +0 -192
  97. package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +0 -44
  98. package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +0 -55
  99. package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +0 -44
  100. package/dist/models/StoreProductCategoryRequestSeoInner.js +0 -55
  101. package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
  102. package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +0 -82
@@ -16,127 +16,127 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface IndexProductChildRequest
19
+ * @interface GetProductChildrenOverlayTemplateRequest
20
20
  */
21
- export interface IndexProductChildRequest {
21
+ export interface GetProductChildrenOverlayTemplateRequest {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof IndexProductChildRequest
25
+ * @memberof GetProductChildrenOverlayTemplateRequest
26
26
  */
27
27
  search?: string | null;
28
28
  /**
29
29
  *
30
- * @type {IndexProductChildRequestSortByEnum}
31
- * @memberof IndexProductChildRequest
30
+ * @type {GetProductChildrenOverlayTemplateRequestSortByEnum}
31
+ * @memberof GetProductChildrenOverlayTemplateRequest
32
32
  */
33
- sortBy?: IndexProductChildRequestSortByEnum;
33
+ sortBy?: GetProductChildrenOverlayTemplateRequestSortByEnum;
34
34
  /**
35
35
  *
36
- * @type {IndexProductChildRequestSortDirectionEnum}
37
- * @memberof IndexProductChildRequest
36
+ * @type {GetProductChildrenOverlayTemplateRequestSortDirectionEnum}
37
+ * @memberof GetProductChildrenOverlayTemplateRequest
38
38
  */
39
- sortDirection?: IndexProductChildRequestSortDirectionEnum;
39
+ sortDirection?: GetProductChildrenOverlayTemplateRequestSortDirectionEnum;
40
40
  /**
41
41
  *
42
42
  * @type {number}
43
- * @memberof IndexProductChildRequest
43
+ * @memberof GetProductChildrenOverlayTemplateRequest
44
44
  */
45
45
  perPage?: number;
46
46
  /**
47
47
  *
48
48
  * @type {number}
49
- * @memberof IndexProductChildRequest
49
+ * @memberof GetProductChildrenOverlayTemplateRequest
50
50
  */
51
51
  page?: number;
52
52
  /**
53
53
  *
54
54
  * @type {Array<string>}
55
- * @memberof IndexProductChildRequest
55
+ * @memberof GetProductChildrenOverlayTemplateRequest
56
56
  */
57
57
  siteDetailsSiteId?: Array<string>;
58
58
  /**
59
59
  *
60
60
  * @type {Array<string>}
61
- * @memberof IndexProductChildRequest
61
+ * @memberof GetProductChildrenOverlayTemplateRequest
62
62
  */
63
63
  isDisabled?: Array<string>;
64
64
  /**
65
65
  *
66
66
  * @type {Array<string>}
67
- * @memberof IndexProductChildRequest
67
+ * @memberof GetProductChildrenOverlayTemplateRequest
68
68
  */
69
69
  netsuiteSyncHasNetsuiteId?: Array<string>;
70
70
  /**
71
71
  *
72
72
  * @type {Array<string>}
73
- * @memberof IndexProductChildRequest
73
+ * @memberof GetProductChildrenOverlayTemplateRequest
74
74
  */
75
75
  categoryId?: Array<string>;
76
76
  /**
77
77
  *
78
78
  * @type {Array<string>}
79
- * @memberof IndexProductChildRequest
79
+ * @memberof GetProductChildrenOverlayTemplateRequest
80
80
  */
81
81
  supplierId?: Array<string>;
82
82
  /**
83
83
  *
84
84
  * @type {Array<string>}
85
- * @memberof IndexProductChildRequest
85
+ * @memberof GetProductChildrenOverlayTemplateRequest
86
86
  */
87
87
  tagsId?: Array<string>;
88
88
  /**
89
89
  *
90
90
  * @type {Array<string>}
91
- * @memberof IndexProductChildRequest
91
+ * @memberof GetProductChildrenOverlayTemplateRequest
92
92
  */
93
93
  productTypeId?: Array<string>;
94
94
  /**
95
95
  *
96
96
  * @type {Array<string>}
97
- * @memberof IndexProductChildRequest
97
+ * @memberof GetProductChildrenOverlayTemplateRequest
98
98
  */
99
99
  parentIsAccessory?: Array<string>;
100
100
  /**
101
101
  *
102
102
  * @type {Array<string>}
103
- * @memberof IndexProductChildRequest
103
+ * @memberof GetProductChildrenOverlayTemplateRequest
104
104
  */
105
105
  availableSitesId?: Array<string>;
106
106
  /**
107
107
  *
108
108
  * @type {Array<string>}
109
- * @memberof IndexProductChildRequest
109
+ * @memberof GetProductChildrenOverlayTemplateRequest
110
110
  */
111
111
  enabledSitesId?: Array<string>;
112
112
  /**
113
113
  *
114
114
  * @type {Array<string>}
115
- * @memberof IndexProductChildRequest
115
+ * @memberof GetProductChildrenOverlayTemplateRequest
116
116
  */
117
117
  siteDetailsSeoHasSeoTitle?: Array<string>;
118
118
  /**
119
119
  *
120
120
  * @type {Array<string>}
121
- * @memberof IndexProductChildRequest
121
+ * @memberof GetProductChildrenOverlayTemplateRequest
122
122
  */
123
123
  siteDetailsSeoHasSeoDescription?: Array<string>;
124
124
  /**
125
125
  *
126
126
  * @type {number}
127
- * @memberof IndexProductChildRequest
127
+ * @memberof GetProductChildrenOverlayTemplateRequest
128
128
  */
129
129
  relatedId?: number;
130
130
  /**
131
131
  *
132
- * @type {IndexProductChildRequestRelatedTypeEnum}
133
- * @memberof IndexProductChildRequest
132
+ * @type {GetProductChildrenOverlayTemplateRequestRelatedTypeEnum}
133
+ * @memberof GetProductChildrenOverlayTemplateRequest
134
134
  */
135
- relatedType?: IndexProductChildRequestRelatedTypeEnum;
135
+ relatedType?: GetProductChildrenOverlayTemplateRequestRelatedTypeEnum;
136
136
  /**
137
137
  *
138
138
  * @type {boolean}
139
- * @memberof IndexProductChildRequest
139
+ * @memberof GetProductChildrenOverlayTemplateRequest
140
140
  */
141
141
  includesRelations?: boolean;
142
142
  }
@@ -145,7 +145,7 @@ export interface IndexProductChildRequest {
145
145
  /**
146
146
  * @export
147
147
  */
148
- export const IndexProductChildRequestSortByEnum = {
148
+ export const GetProductChildrenOverlayTemplateRequestSortByEnum = {
149
149
  Id: 'id',
150
150
  Name: 'name',
151
151
  ParentName: 'parent-name',
@@ -159,21 +159,21 @@ export const IndexProductChildRequestSortByEnum = {
159
159
  CreatedAt: 'created_at',
160
160
  UpdatedAt: 'updated_at'
161
161
  } as const;
162
- export type IndexProductChildRequestSortByEnum = typeof IndexProductChildRequestSortByEnum[keyof typeof IndexProductChildRequestSortByEnum];
162
+ export type GetProductChildrenOverlayTemplateRequestSortByEnum = typeof GetProductChildrenOverlayTemplateRequestSortByEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortByEnum];
163
163
 
164
164
  /**
165
165
  * @export
166
166
  */
167
- export const IndexProductChildRequestSortDirectionEnum = {
167
+ export const GetProductChildrenOverlayTemplateRequestSortDirectionEnum = {
168
168
  Asc: 'asc',
169
169
  Desc: 'desc'
170
170
  } as const;
171
- export type IndexProductChildRequestSortDirectionEnum = typeof IndexProductChildRequestSortDirectionEnum[keyof typeof IndexProductChildRequestSortDirectionEnum];
171
+ export type GetProductChildrenOverlayTemplateRequestSortDirectionEnum = typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum];
172
172
 
173
173
  /**
174
174
  * @export
175
175
  */
176
- export const IndexProductChildRequestRelatedTypeEnum = {
176
+ export const GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = {
177
177
  Accessory: 'accessory',
178
178
  Attribute: 'attribute',
179
179
  AttributeValue: 'attributeValue',
@@ -189,21 +189,21 @@ export const IndexProductChildRequestRelatedTypeEnum = {
189
189
  Label: 'label',
190
190
  Site: 'site'
191
191
  } as const;
192
- export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
192
+ export type GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum[keyof typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum];
193
193
 
194
194
 
195
195
  /**
196
- * Check if a given object implements the IndexProductChildRequest interface.
196
+ * Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
197
197
  */
198
- export function instanceOfIndexProductChildRequest(value: object): value is IndexProductChildRequest {
198
+ export function instanceOfGetProductChildrenOverlayTemplateRequest(value: object): value is GetProductChildrenOverlayTemplateRequest {
199
199
  return true;
200
200
  }
201
201
 
202
- export function IndexProductChildRequestFromJSON(json: any): IndexProductChildRequest {
203
- return IndexProductChildRequestFromJSONTyped(json, false);
202
+ export function GetProductChildrenOverlayTemplateRequestFromJSON(json: any): GetProductChildrenOverlayTemplateRequest {
203
+ return GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, false);
204
204
  }
205
205
 
206
- export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductChildRequest {
206
+ export function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProductChildrenOverlayTemplateRequest {
207
207
  if (json == null) {
208
208
  return json;
209
209
  }
@@ -232,11 +232,11 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
232
232
  };
233
233
  }
234
234
 
235
- export function IndexProductChildRequestToJSON(json: any): IndexProductChildRequest {
236
- return IndexProductChildRequestToJSONTyped(json, false);
235
+ export function GetProductChildrenOverlayTemplateRequestToJSON(json: any): GetProductChildrenOverlayTemplateRequest {
236
+ return GetProductChildrenOverlayTemplateRequestToJSONTyped(json, false);
237
237
  }
238
238
 
239
- export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildRequest | null, ignoreDiscriminator: boolean = false): any {
239
+ export function GetProductChildrenOverlayTemplateRequestToJSONTyped(value?: GetProductChildrenOverlayTemplateRequest | null, ignoreDiscriminator: boolean = false): any {
240
240
  if (value == null) {
241
241
  return value;
242
242
  }
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
16
+ import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
17
17
  import {
18
- StoreProductCategoryRequestDescriptionsInnerFromJSON,
19
- StoreProductCategoryRequestDescriptionsInnerFromJSONTyped,
20
- StoreProductCategoryRequestDescriptionsInnerToJSON,
21
- StoreProductCategoryRequestDescriptionsInnerToJSONTyped,
22
- } from './StoreProductCategoryRequestDescriptionsInner';
18
+ StoreBlogCategoryRequestDescriptionsInnerFromJSON,
19
+ StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped,
20
+ StoreBlogCategoryRequestDescriptionsInnerToJSON,
21
+ StoreBlogCategoryRequestDescriptionsInnerToJSONTyped,
22
+ } from './StoreBlogCategoryRequestDescriptionsInner';
23
23
 
24
24
  /**
25
25
  *
@@ -41,10 +41,10 @@ export interface StoreBlogCategoryRequest {
41
41
  slug: string;
42
42
  /**
43
43
  *
44
- * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
44
+ * @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
45
45
  * @memberof StoreBlogCategoryRequest
46
46
  */
47
- descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
47
+ descriptions: Array<StoreBlogCategoryRequestDescriptionsInner>;
48
48
  }
49
49
 
50
50
  /**
@@ -69,7 +69,7 @@ export function StoreBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscrimin
69
69
 
70
70
  'name': json['name'],
71
71
  'slug': json['slug'],
72
- 'descriptions': ((json['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerFromJSON)),
72
+ 'descriptions': ((json['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
73
73
  };
74
74
  }
75
75
 
@@ -86,7 +86,7 @@ export function StoreBlogCategoryRequestToJSONTyped(value?: StoreBlogCategoryReq
86
86
 
87
87
  'name': value['name'],
88
88
  'slug': value['slug'],
89
- 'descriptions': ((value['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerToJSON)),
89
+ 'descriptions': ((value['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerToJSON)),
90
90
  };
91
91
  }
92
92
 
@@ -0,0 +1,82 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StoreBlogCategoryRequestDescriptionsInner
20
+ */
21
+ export interface StoreBlogCategoryRequestDescriptionsInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
26
+ */
27
+ headerDescription?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
32
+ */
33
+ footerDescription?: string | null;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
38
+ */
39
+ siteId: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
44
+ */
45
+ export function instanceOfStoreBlogCategoryRequestDescriptionsInner(value: object): value is StoreBlogCategoryRequestDescriptionsInner {
46
+ if (!('siteId' in value) || value['siteId'] === undefined) return false;
47
+ return true;
48
+ }
49
+
50
+ export function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json: any): StoreBlogCategoryRequestDescriptionsInner {
51
+ return StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
52
+ }
53
+
54
+ export function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreBlogCategoryRequestDescriptionsInner {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+
60
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
61
+ 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
62
+ 'siteId': json['site_id'],
63
+ };
64
+ }
65
+
66
+ export function StoreBlogCategoryRequestDescriptionsInnerToJSON(json: any): StoreBlogCategoryRequestDescriptionsInner {
67
+ return StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(json, false);
68
+ }
69
+
70
+ export function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreBlogCategoryRequestDescriptionsInner | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'header_description': value['headerDescription'],
78
+ 'footer_description': value['footerDescription'],
79
+ 'site_id': value['siteId'],
80
+ };
81
+ }
82
+
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website?: string | null;
51
+ website: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -106,6 +106,7 @@ 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;
109
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
@@ -129,7 +130,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
129
130
  'siteId': json['siteId'],
130
131
  'name': json['name'],
131
132
  'email': json['email'],
132
- 'website': json['website'] == null ? undefined : json['website'],
133
+ 'website': json['website'],
133
134
  'phone': json['phone'],
134
135
  'address': json['address'] == null ? undefined : json['address'],
135
136
  'latitude': json['latitude'],
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
16
+ import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
17
17
  import {
18
- StoreProductCategoryRequestSeoInnerFromJSON,
19
- StoreProductCategoryRequestSeoInnerFromJSONTyped,
20
- StoreProductCategoryRequestSeoInnerToJSON,
21
- StoreProductCategoryRequestSeoInnerToJSONTyped,
22
- } from './StoreProductCategoryRequestSeoInner';
18
+ StorePageRequestSeoInnerFromJSON,
19
+ StorePageRequestSeoInnerFromJSONTyped,
20
+ StorePageRequestSeoInnerToJSON,
21
+ StorePageRequestSeoInnerToJSONTyped,
22
+ } from './StorePageRequestSeoInner';
23
23
  import type { StorePageRequestBlog } from './StorePageRequestBlog';
24
24
  import {
25
25
  StorePageRequestBlogFromJSON,
@@ -78,10 +78,10 @@ export interface StorePageRequest {
78
78
  blog?: StorePageRequestBlog;
79
79
  /**
80
80
  *
81
- * @type {Array<StoreProductCategoryRequestSeoInner>}
81
+ * @type {Array<StorePageRequestSeoInner>}
82
82
  * @memberof StorePageRequest
83
83
  */
84
- seo: Array<StoreProductCategoryRequestSeoInner>;
84
+ seo: Array<StorePageRequestSeoInner>;
85
85
  }
86
86
 
87
87
 
@@ -125,7 +125,7 @@ export function StorePageRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
125
125
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
126
126
  'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
127
127
  'blog': json['blog'] == null ? undefined : StorePageRequestBlogFromJSON(json['blog']),
128
- 'seo': ((json['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerFromJSON)),
128
+ 'seo': ((json['seo'] as Array<any>).map(StorePageRequestSeoInnerFromJSON)),
129
129
  };
130
130
  }
131
131
 
@@ -147,7 +147,7 @@ export function StorePageRequestToJSONTyped(value?: StorePageRequest | null, ign
147
147
  'enabled': value['enabled'],
148
148
  'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
149
149
  'blog': StorePageRequestBlogToJSON(value['blog']),
150
- 'seo': ((value['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerToJSON)),
150
+ 'seo': ((value['seo'] as Array<any>).map(StorePageRequestSeoInnerToJSON)),
151
151
  };
152
152
  }
153
153
 
@@ -16,42 +16,42 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface StoreProductCategoryRequestSeoInner
19
+ * @interface StorePageRequestSeoInner
20
20
  */
21
- export interface StoreProductCategoryRequestSeoInner {
21
+ export interface StorePageRequestSeoInner {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof StoreProductCategoryRequestSeoInner
25
+ * @memberof StorePageRequestSeoInner
26
26
  */
27
27
  seoTitle?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof StoreProductCategoryRequestSeoInner
31
+ * @memberof StorePageRequestSeoInner
32
32
  */
33
33
  seoDescription?: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {number}
37
- * @memberof StoreProductCategoryRequestSeoInner
37
+ * @memberof StorePageRequestSeoInner
38
38
  */
39
39
  siteId: number;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
43
+ * Check if a given object implements the StorePageRequestSeoInner interface.
44
44
  */
45
- export function instanceOfStoreProductCategoryRequestSeoInner(value: object): value is StoreProductCategoryRequestSeoInner {
45
+ export function instanceOfStorePageRequestSeoInner(value: object): value is StorePageRequestSeoInner {
46
46
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
47
47
  return true;
48
48
  }
49
49
 
50
- export function StoreProductCategoryRequestSeoInnerFromJSON(json: any): StoreProductCategoryRequestSeoInner {
51
- return StoreProductCategoryRequestSeoInnerFromJSONTyped(json, false);
50
+ export function StorePageRequestSeoInnerFromJSON(json: any): StorePageRequestSeoInner {
51
+ return StorePageRequestSeoInnerFromJSONTyped(json, false);
52
52
  }
53
53
 
54
- export function StoreProductCategoryRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestSeoInner {
54
+ export function StorePageRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorePageRequestSeoInner {
55
55
  if (json == null) {
56
56
  return json;
57
57
  }
@@ -63,11 +63,11 @@ export function StoreProductCategoryRequestSeoInnerFromJSONTyped(json: any, igno
63
63
  };
64
64
  }
65
65
 
66
- export function StoreProductCategoryRequestSeoInnerToJSON(json: any): StoreProductCategoryRequestSeoInner {
67
- return StoreProductCategoryRequestSeoInnerToJSONTyped(json, false);
66
+ export function StorePageRequestSeoInnerToJSON(json: any): StorePageRequestSeoInner {
67
+ return StorePageRequestSeoInnerToJSONTyped(json, false);
68
68
  }
69
69
 
70
- export function StoreProductCategoryRequestSeoInnerToJSONTyped(value?: StoreProductCategoryRequestSeoInner | null, ignoreDiscriminator: boolean = false): any {
70
+ export function StorePageRequestSeoInnerToJSONTyped(value?: StorePageRequestSeoInner | null, ignoreDiscriminator: boolean = false): any {
71
71
  if (value == null) {
72
72
  return value;
73
73
  }
@@ -13,20 +13,20 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
16
+ import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
17
17
  import {
18
- StoreProductCategoryRequestSeoInnerFromJSON,
19
- StoreProductCategoryRequestSeoInnerFromJSONTyped,
20
- StoreProductCategoryRequestSeoInnerToJSON,
21
- StoreProductCategoryRequestSeoInnerToJSONTyped,
22
- } from './StoreProductCategoryRequestSeoInner';
23
- import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
18
+ StoreBlogCategoryRequestDescriptionsInnerFromJSON,
19
+ StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped,
20
+ StoreBlogCategoryRequestDescriptionsInnerToJSON,
21
+ StoreBlogCategoryRequestDescriptionsInnerToJSONTyped,
22
+ } from './StoreBlogCategoryRequestDescriptionsInner';
23
+ import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
24
24
  import {
25
- StoreProductCategoryRequestDescriptionsInnerFromJSON,
26
- StoreProductCategoryRequestDescriptionsInnerFromJSONTyped,
27
- StoreProductCategoryRequestDescriptionsInnerToJSON,
28
- StoreProductCategoryRequestDescriptionsInnerToJSONTyped,
29
- } from './StoreProductCategoryRequestDescriptionsInner';
25
+ StorePageRequestSeoInnerFromJSON,
26
+ StorePageRequestSeoInnerFromJSONTyped,
27
+ StorePageRequestSeoInnerToJSON,
28
+ StorePageRequestSeoInnerToJSONTyped,
29
+ } from './StorePageRequestSeoInner';
30
30
  import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
31
31
  import {
32
32
  StoreProductCategoryRequestAutomationRulesInnerFromJSON,
@@ -121,16 +121,16 @@ export interface StoreProductCategoryRequest {
121
121
  fileId?: number | null;
122
122
  /**
123
123
  *
124
- * @type {Array<StoreProductCategoryRequestSeoInner>}
124
+ * @type {Array<StorePageRequestSeoInner>}
125
125
  * @memberof StoreProductCategoryRequest
126
126
  */
127
- seo?: Array<StoreProductCategoryRequestSeoInner>;
127
+ seo?: Array<StorePageRequestSeoInner>;
128
128
  /**
129
129
  *
130
- * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
130
+ * @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
131
131
  * @memberof StoreProductCategoryRequest
132
132
  */
133
- descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
133
+ descriptions?: Array<StoreBlogCategoryRequestDescriptionsInner>;
134
134
  }
135
135
 
136
136
 
@@ -178,8 +178,8 @@ export function StoreProductCategoryRequestFromJSONTyped(json: any, ignoreDiscri
178
178
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
179
179
  'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
180
180
  'fileId': json['file_id'] == null ? undefined : json['file_id'],
181
- 'seo': json['seo'] == null ? undefined : ((json['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerFromJSON)),
182
- 'descriptions': json['descriptions'] == null ? undefined : ((json['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerFromJSON)),
181
+ 'seo': json['seo'] == null ? undefined : ((json['seo'] as Array<any>).map(StorePageRequestSeoInnerFromJSON)),
182
+ 'descriptions': json['descriptions'] == null ? undefined : ((json['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
183
183
  };
184
184
  }
185
185
 
@@ -207,8 +207,8 @@ export function StoreProductCategoryRequestToJSONTyped(value?: StoreProductCateg
207
207
  'alt_text': value['altText'],
208
208
  'mime_type': value['mimeType'],
209
209
  'file_id': value['fileId'],
210
- 'seo': value['seo'] == null ? undefined : ((value['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerToJSON)),
211
- 'descriptions': value['descriptions'] == null ? undefined : ((value['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerToJSON)),
210
+ 'seo': value['seo'] == null ? undefined : ((value['seo'] as Array<any>).map(StorePageRequestSeoInnerToJSON)),
211
+ 'descriptions': value['descriptions'] == null ? undefined : ((value['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerToJSON)),
212
212
  };
213
213
  }
214
214
 
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine?: string | null;
92
+ tagLine: string;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -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}
@@ -137,8 +137,8 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
137
137
  if (!('phone' in value) || value['phone'] === undefined) return false;
138
138
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
139
139
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
140
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
140
141
  if (!('email' in value) || value['email'] === undefined) return false;
141
- if (!('website' in value) || value['website'] === undefined) return false;
142
142
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
143
143
  if (!('address' in value) || value['address'] === undefined) return false;
144
144
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -161,9 +161,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
161
161
  'phone': json['phone'],
162
162
  'longitude': json['longitude'],
163
163
  'latitude': json['latitude'],
164
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
164
+ 'tagLine': json['tag_line'],
165
165
  'email': json['email'],
166
- 'website': json['website'],
166
+ 'website': json['website'] == null ? undefined : json['website'],
167
167
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
168
168
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
169
169
  'address': AddressResourceFromJSON(json['address']),
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {object}
42
+ * @type {string}
43
43
  * @memberof StoreSpecialDateResource
44
44
  */
45
- date: object;
45
+ date?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,7 +69,6 @@ export interface StoreSpecialDateResource {
69
69
  export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
70
70
  if (!('name' in value) || value['name'] === undefined) return false;
71
71
  if (!('hours' in value) || value['hours'] === undefined) return false;
72
- if (!('date' in value) || value['date'] === undefined) return false;
73
72
  if (!('closed' in value) || value['closed'] === undefined) return false;
74
73
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
75
74
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -89,7 +88,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
89
88
  'id': json['id'] == null ? undefined : json['id'],
90
89
  'name': json['name'],
91
90
  'hours': json['hours'],
92
- 'date': json['date'],
91
+ 'date': json['date'] == null ? undefined : json['date'],
93
92
  'closed': json['closed'],
94
93
  'displayStartDate': json['display_start_date'],
95
94
  'displayEndDate': json['display_end_date'],