@digital8/lighting-illusions-ts-sdk 0.0.1674 → 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 (97) 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/ExternalApiLogResource.d.ts +1 -1
  16. package/dist/models/ExternalApiLogResource.js +3 -1
  17. package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +32 -0
  18. package/dist/models/GenerateGoogleFeedAdminRequest.js +51 -0
  19. package/dist/models/GetProductChildrenOverlayTemplateRequest.d.ts +192 -0
  20. package/dist/models/{IndexProductChildRequest.js → GetProductChildrenOverlayTemplateRequest.js} +17 -17
  21. package/dist/models/StoreBlogCategoryRequest.d.ts +3 -3
  22. package/dist/models/StoreBlogCategoryRequest.js +3 -3
  23. package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +44 -0
  24. package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +55 -0
  25. package/dist/models/StorePageRequest.d.ts +3 -3
  26. package/dist/models/StorePageRequest.js +3 -3
  27. package/dist/models/StorePageRequestSeoInner.d.ts +44 -0
  28. package/dist/models/StorePageRequestSeoInner.js +55 -0
  29. package/dist/models/StoreProductCategoryRequest.d.ts +6 -6
  30. package/dist/models/StoreProductCategoryRequest.js +6 -6
  31. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  32. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  33. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  34. package/dist/models/StoreSpecialDateResource.js +1 -3
  35. package/dist/models/StoreSupplierRequest.d.ts +6 -6
  36. package/dist/models/StoreSupplierRequest.js +6 -6
  37. package/dist/models/UpdateBlogCategoryRequest.d.ts +3 -3
  38. package/dist/models/UpdateBlogCategoryRequest.js +3 -3
  39. package/dist/models/UpdatePageRequest.d.ts +3 -3
  40. package/dist/models/UpdatePageRequest.js +3 -3
  41. package/dist/models/UpdateProductCategoryRequest.d.ts +6 -6
  42. package/dist/models/UpdateProductCategoryRequest.js +6 -6
  43. package/dist/models/UpdateSupplierRequest.d.ts +6 -6
  44. package/dist/models/UpdateSupplierRequest.js +6 -6
  45. package/dist/models/index.d.ts +4 -4
  46. package/dist/models/index.js +4 -4
  47. package/docs/AdminApi.md +15 -15
  48. package/docs/{GetHierarchyProductCategoryRequest.md → GenerateGoogleFeedAdminRequest.md} +4 -4
  49. package/docs/{IndexProductChildRequest.md → GetProductChildrenOverlayTemplateRequest.md} +4 -4
  50. package/docs/OverlayTemplateApi.md +7 -7
  51. package/docs/ProductApi.md +11 -11
  52. package/docs/ProductCategoryApi.md +7 -7
  53. package/docs/ProductRangeApi.md +8 -8
  54. package/docs/StoreBlogCategoryRequest.md +1 -1
  55. package/docs/{StoreProductCategoryRequestDescriptionsInner.md → StoreBlogCategoryRequestDescriptionsInner.md} +4 -4
  56. package/docs/StorePageRequest.md +1 -1
  57. package/docs/{StoreProductCategoryRequestSeoInner.md → StorePageRequestSeoInner.md} +4 -4
  58. package/docs/StoreProductCategoryRequest.md +2 -2
  59. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  60. package/docs/StoreSpecialDateResource.md +1 -1
  61. package/docs/StoreSupplierRequest.md +2 -2
  62. package/docs/UpdateBlogCategoryRequest.md +1 -1
  63. package/docs/UpdatePageRequest.md +1 -1
  64. package/docs/UpdateProductCategoryRequest.md +2 -2
  65. package/docs/UpdateSupplierRequest.md +2 -2
  66. package/package.json +1 -1
  67. package/src/apis/AdminApi.ts +13 -13
  68. package/src/apis/OverlayTemplateApi.ts +9 -9
  69. package/src/apis/ProductApi.ts +11 -11
  70. package/src/apis/ProductCategoryApi.ts +9 -9
  71. package/src/apis/ProductRangeApi.ts +7 -7
  72. package/src/models/AddressFrontendResource.ts +3 -2
  73. package/src/models/ExternalApiLogResource.ts +3 -2
  74. package/src/models/GenerateGoogleFeedAdminRequest.ts +66 -0
  75. package/src/models/{IndexProductChildRequest.ts → GetProductChildrenOverlayTemplateRequest.ts} +42 -42
  76. package/src/models/StoreBlogCategoryRequest.ts +10 -10
  77. package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +82 -0
  78. package/src/models/StorePageRequest.ts +10 -10
  79. package/src/models/{StoreProductCategoryRequestSeoInner.ts → StorePageRequestSeoInner.ts} +13 -13
  80. package/src/models/StoreProductCategoryRequest.ts +20 -20
  81. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  82. package/src/models/StoreSpecialDateResource.ts +3 -4
  83. package/src/models/StoreSupplierRequest.ts +20 -20
  84. package/src/models/UpdateBlogCategoryRequest.ts +10 -10
  85. package/src/models/UpdatePageRequest.ts +10 -10
  86. package/src/models/UpdateProductCategoryRequest.ts +20 -20
  87. package/src/models/UpdateSupplierRequest.ts +20 -20
  88. package/src/models/index.ts +4 -4
  89. package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
  90. package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
  91. package/dist/models/IndexProductChildRequest.d.ts +0 -192
  92. package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +0 -44
  93. package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +0 -55
  94. package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +0 -44
  95. package/dist/models/StoreProductCategoryRequestSeoInner.js +0 -55
  96. package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
  97. package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +0 -82
@@ -0,0 +1,192 @@
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 GetProductChildrenOverlayTemplateRequest
16
+ */
17
+ export interface GetProductChildrenOverlayTemplateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetProductChildrenOverlayTemplateRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {GetProductChildrenOverlayTemplateRequestSortByEnum}
27
+ * @memberof GetProductChildrenOverlayTemplateRequest
28
+ */
29
+ sortBy?: GetProductChildrenOverlayTemplateRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {GetProductChildrenOverlayTemplateRequestSortDirectionEnum}
33
+ * @memberof GetProductChildrenOverlayTemplateRequest
34
+ */
35
+ sortDirection?: GetProductChildrenOverlayTemplateRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GetProductChildrenOverlayTemplateRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof GetProductChildrenOverlayTemplateRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof GetProductChildrenOverlayTemplateRequest
52
+ */
53
+ siteDetailsSiteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetProductChildrenOverlayTemplateRequest
58
+ */
59
+ isDisabled?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof GetProductChildrenOverlayTemplateRequest
64
+ */
65
+ netsuiteSyncHasNetsuiteId?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof GetProductChildrenOverlayTemplateRequest
70
+ */
71
+ categoryId?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {Array<string>}
75
+ * @memberof GetProductChildrenOverlayTemplateRequest
76
+ */
77
+ supplierId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof GetProductChildrenOverlayTemplateRequest
82
+ */
83
+ tagsId?: Array<string>;
84
+ /**
85
+ *
86
+ * @type {Array<string>}
87
+ * @memberof GetProductChildrenOverlayTemplateRequest
88
+ */
89
+ productTypeId?: Array<string>;
90
+ /**
91
+ *
92
+ * @type {Array<string>}
93
+ * @memberof GetProductChildrenOverlayTemplateRequest
94
+ */
95
+ parentIsAccessory?: Array<string>;
96
+ /**
97
+ *
98
+ * @type {Array<string>}
99
+ * @memberof GetProductChildrenOverlayTemplateRequest
100
+ */
101
+ availableSitesId?: Array<string>;
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof GetProductChildrenOverlayTemplateRequest
106
+ */
107
+ enabledSitesId?: Array<string>;
108
+ /**
109
+ *
110
+ * @type {Array<string>}
111
+ * @memberof GetProductChildrenOverlayTemplateRequest
112
+ */
113
+ siteDetailsSeoHasSeoTitle?: Array<string>;
114
+ /**
115
+ *
116
+ * @type {Array<string>}
117
+ * @memberof GetProductChildrenOverlayTemplateRequest
118
+ */
119
+ siteDetailsSeoHasSeoDescription?: Array<string>;
120
+ /**
121
+ *
122
+ * @type {number}
123
+ * @memberof GetProductChildrenOverlayTemplateRequest
124
+ */
125
+ relatedId?: number;
126
+ /**
127
+ *
128
+ * @type {GetProductChildrenOverlayTemplateRequestRelatedTypeEnum}
129
+ * @memberof GetProductChildrenOverlayTemplateRequest
130
+ */
131
+ relatedType?: GetProductChildrenOverlayTemplateRequestRelatedTypeEnum;
132
+ /**
133
+ *
134
+ * @type {boolean}
135
+ * @memberof GetProductChildrenOverlayTemplateRequest
136
+ */
137
+ includesRelations?: boolean;
138
+ }
139
+ /**
140
+ * @export
141
+ */
142
+ export declare const GetProductChildrenOverlayTemplateRequestSortByEnum: {
143
+ readonly Id: "id";
144
+ readonly Name: "name";
145
+ readonly ParentName: "parent-name";
146
+ readonly SiteDetailsName: "siteDetails-name";
147
+ readonly SiteDetailsSlug: "siteDetails-slug";
148
+ readonly Sku: "sku";
149
+ readonly Model: "model";
150
+ readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
151
+ readonly NewArrivalStartDate: "new_arrival_start_date";
152
+ readonly NewArrivalEndDate: "new_arrival_end_date";
153
+ readonly CreatedAt: "created_at";
154
+ readonly UpdatedAt: "updated_at";
155
+ };
156
+ export type GetProductChildrenOverlayTemplateRequestSortByEnum = typeof GetProductChildrenOverlayTemplateRequestSortByEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortByEnum];
157
+ /**
158
+ * @export
159
+ */
160
+ export declare const GetProductChildrenOverlayTemplateRequestSortDirectionEnum: {
161
+ readonly Asc: "asc";
162
+ readonly Desc: "desc";
163
+ };
164
+ export type GetProductChildrenOverlayTemplateRequestSortDirectionEnum = typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum];
165
+ /**
166
+ * @export
167
+ */
168
+ export declare const GetProductChildrenOverlayTemplateRequestRelatedTypeEnum: {
169
+ readonly Accessory: "accessory";
170
+ readonly Attribute: "attribute";
171
+ readonly AttributeValue: "attributeValue";
172
+ readonly CompatibleProduct: "compatibleProduct";
173
+ readonly Category: "category";
174
+ readonly AutomatedCategory: "automatedCategory";
175
+ readonly Document: "document";
176
+ readonly OverlayTemplate: "overlayTemplate";
177
+ readonly ProductType: "productType";
178
+ readonly ProductRange: "productRange";
179
+ readonly Supplier: "supplier";
180
+ readonly Tag: "tag";
181
+ readonly Label: "label";
182
+ readonly Site: "site";
183
+ };
184
+ export type GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum[keyof typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum];
185
+ /**
186
+ * Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
187
+ */
188
+ export declare function instanceOfGetProductChildrenOverlayTemplateRequest(value: object): value is GetProductChildrenOverlayTemplateRequest;
189
+ export declare function GetProductChildrenOverlayTemplateRequestFromJSON(json: any): GetProductChildrenOverlayTemplateRequest;
190
+ export declare function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProductChildrenOverlayTemplateRequest;
191
+ export declare function GetProductChildrenOverlayTemplateRequestToJSON(json: any): GetProductChildrenOverlayTemplateRequest;
192
+ export declare function GetProductChildrenOverlayTemplateRequestToJSONTyped(value?: GetProductChildrenOverlayTemplateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -13,16 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexProductChildRequestRelatedTypeEnum = exports.IndexProductChildRequestSortDirectionEnum = exports.IndexProductChildRequestSortByEnum = void 0;
17
- exports.instanceOfIndexProductChildRequest = instanceOfIndexProductChildRequest;
18
- exports.IndexProductChildRequestFromJSON = IndexProductChildRequestFromJSON;
19
- exports.IndexProductChildRequestFromJSONTyped = IndexProductChildRequestFromJSONTyped;
20
- exports.IndexProductChildRequestToJSON = IndexProductChildRequestToJSON;
21
- exports.IndexProductChildRequestToJSONTyped = IndexProductChildRequestToJSONTyped;
16
+ exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = exports.GetProductChildrenOverlayTemplateRequestSortDirectionEnum = exports.GetProductChildrenOverlayTemplateRequestSortByEnum = void 0;
17
+ exports.instanceOfGetProductChildrenOverlayTemplateRequest = instanceOfGetProductChildrenOverlayTemplateRequest;
18
+ exports.GetProductChildrenOverlayTemplateRequestFromJSON = GetProductChildrenOverlayTemplateRequestFromJSON;
19
+ exports.GetProductChildrenOverlayTemplateRequestFromJSONTyped = GetProductChildrenOverlayTemplateRequestFromJSONTyped;
20
+ exports.GetProductChildrenOverlayTemplateRequestToJSON = GetProductChildrenOverlayTemplateRequestToJSON;
21
+ exports.GetProductChildrenOverlayTemplateRequestToJSONTyped = GetProductChildrenOverlayTemplateRequestToJSONTyped;
22
22
  /**
23
23
  * @export
24
24
  */
25
- exports.IndexProductChildRequestSortByEnum = {
25
+ exports.GetProductChildrenOverlayTemplateRequestSortByEnum = {
26
26
  Id: 'id',
27
27
  Name: 'name',
28
28
  ParentName: 'parent-name',
@@ -39,14 +39,14 @@ exports.IndexProductChildRequestSortByEnum = {
39
39
  /**
40
40
  * @export
41
41
  */
42
- exports.IndexProductChildRequestSortDirectionEnum = {
42
+ exports.GetProductChildrenOverlayTemplateRequestSortDirectionEnum = {
43
43
  Asc: 'asc',
44
44
  Desc: 'desc'
45
45
  };
46
46
  /**
47
47
  * @export
48
48
  */
49
- exports.IndexProductChildRequestRelatedTypeEnum = {
49
+ exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = {
50
50
  Accessory: 'accessory',
51
51
  Attribute: 'attribute',
52
52
  AttributeValue: 'attributeValue',
@@ -63,15 +63,15 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
63
63
  Site: 'site'
64
64
  };
65
65
  /**
66
- * Check if a given object implements the IndexProductChildRequest interface.
66
+ * Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
67
67
  */
68
- function instanceOfIndexProductChildRequest(value) {
68
+ function instanceOfGetProductChildrenOverlayTemplateRequest(value) {
69
69
  return true;
70
70
  }
71
- function IndexProductChildRequestFromJSON(json) {
72
- return IndexProductChildRequestFromJSONTyped(json, false);
71
+ function GetProductChildrenOverlayTemplateRequestFromJSON(json) {
72
+ return GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, false);
73
73
  }
74
- function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
74
+ function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
75
75
  if (json == null) {
76
76
  return json;
77
77
  }
@@ -98,10 +98,10 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
98
98
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
99
99
  };
100
100
  }
101
- function IndexProductChildRequestToJSON(json) {
102
- return IndexProductChildRequestToJSONTyped(json, false);
101
+ function GetProductChildrenOverlayTemplateRequestToJSON(json) {
102
+ return GetProductChildrenOverlayTemplateRequestToJSONTyped(json, false);
103
103
  }
104
- function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
104
+ function GetProductChildrenOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
105
105
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
106
106
  if (value == null) {
107
107
  return value;
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
12
+ import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface StoreBlogCategoryRequest {
30
30
  slug: string;
31
31
  /**
32
32
  *
33
- * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
33
+ * @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
34
34
  * @memberof StoreBlogCategoryRequest
35
35
  */
36
- descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
36
+ descriptions: Array<StoreBlogCategoryRequestDescriptionsInner>;
37
37
  }
38
38
  /**
39
39
  * Check if a given object implements the StoreBlogCategoryRequest interface.
@@ -18,7 +18,7 @@ exports.StoreBlogCategoryRequestFromJSON = StoreBlogCategoryRequestFromJSON;
18
18
  exports.StoreBlogCategoryRequestFromJSONTyped = StoreBlogCategoryRequestFromJSONTyped;
19
19
  exports.StoreBlogCategoryRequestToJSON = StoreBlogCategoryRequestToJSON;
20
20
  exports.StoreBlogCategoryRequestToJSONTyped = StoreBlogCategoryRequestToJSONTyped;
21
- var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
21
+ var StoreBlogCategoryRequestDescriptionsInner_1 = require("./StoreBlogCategoryRequestDescriptionsInner");
22
22
  /**
23
23
  * Check if a given object implements the StoreBlogCategoryRequest interface.
24
24
  */
@@ -41,7 +41,7 @@ function StoreBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return {
42
42
  'name': json['name'],
43
43
  'slug': json['slug'],
44
- 'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
44
+ 'descriptions': (json['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
45
45
  };
46
46
  }
47
47
  function StoreBlogCategoryRequestToJSON(json) {
@@ -55,6 +55,6 @@ function StoreBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
55
55
  return {
56
56
  'name': value['name'],
57
57
  'slug': value['slug'],
58
- 'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
58
+ 'descriptions': (value['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerToJSON)),
59
59
  };
60
60
  }
@@ -0,0 +1,44 @@
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 StoreBlogCategoryRequestDescriptionsInner
16
+ */
17
+ export interface StoreBlogCategoryRequestDescriptionsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
22
+ */
23
+ headerDescription?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
28
+ */
29
+ footerDescription?: string | null;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StoreBlogCategoryRequestDescriptionsInner
34
+ */
35
+ siteId: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
39
+ */
40
+ export declare function instanceOfStoreBlogCategoryRequestDescriptionsInner(value: object): value is StoreBlogCategoryRequestDescriptionsInner;
41
+ export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
42
+ export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreBlogCategoryRequestDescriptionsInner;
43
+ export declare function StoreBlogCategoryRequestDescriptionsInnerToJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
44
+ export declare function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreBlogCategoryRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfStoreBlogCategoryRequestDescriptionsInner = instanceOfStoreBlogCategoryRequestDescriptionsInner;
17
+ exports.StoreBlogCategoryRequestDescriptionsInnerFromJSON = StoreBlogCategoryRequestDescriptionsInnerFromJSON;
18
+ exports.StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped = StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped;
19
+ exports.StoreBlogCategoryRequestDescriptionsInnerToJSON = StoreBlogCategoryRequestDescriptionsInnerToJSON;
20
+ exports.StoreBlogCategoryRequestDescriptionsInnerToJSONTyped = StoreBlogCategoryRequestDescriptionsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
23
+ */
24
+ function instanceOfStoreBlogCategoryRequestDescriptionsInner(value) {
25
+ if (!('siteId' in value) || value['siteId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json) {
30
+ return StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
31
+ }
32
+ function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
38
+ 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
39
+ 'siteId': json['site_id'],
40
+ };
41
+ }
42
+ function StoreBlogCategoryRequestDescriptionsInnerToJSON(json) {
43
+ return StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(json, false);
44
+ }
45
+ function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'header_description': value['headerDescription'],
52
+ 'footer_description': value['footerDescription'],
53
+ 'site_id': value['siteId'],
54
+ };
55
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
12
+ import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
13
13
  import type { StorePageRequestBlog } from './StorePageRequestBlog';
14
14
  /**
15
15
  *
@@ -61,10 +61,10 @@ export interface StorePageRequest {
61
61
  blog?: StorePageRequestBlog;
62
62
  /**
63
63
  *
64
- * @type {Array<StoreProductCategoryRequestSeoInner>}
64
+ * @type {Array<StorePageRequestSeoInner>}
65
65
  * @memberof StorePageRequest
66
66
  */
67
- seo: Array<StoreProductCategoryRequestSeoInner>;
67
+ seo: Array<StorePageRequestSeoInner>;
68
68
  }
69
69
  /**
70
70
  * @export
@@ -19,7 +19,7 @@ exports.StorePageRequestFromJSON = StorePageRequestFromJSON;
19
19
  exports.StorePageRequestFromJSONTyped = StorePageRequestFromJSONTyped;
20
20
  exports.StorePageRequestToJSON = StorePageRequestToJSON;
21
21
  exports.StorePageRequestToJSONTyped = StorePageRequestToJSONTyped;
22
- var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
22
+ var StorePageRequestSeoInner_1 = require("./StorePageRequestSeoInner");
23
23
  var StorePageRequestBlog_1 = require("./StorePageRequestBlog");
24
24
  /**
25
25
  * @export
@@ -60,7 +60,7 @@ function StorePageRequestFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
61
61
  'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
62
62
  'blog': json['blog'] == null ? undefined : (0, StorePageRequestBlog_1.StorePageRequestBlogFromJSON)(json['blog']),
63
- 'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
63
+ 'seo': (json['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerFromJSON)),
64
64
  };
65
65
  }
66
66
  function StorePageRequestToJSON(json) {
@@ -79,6 +79,6 @@ function StorePageRequestToJSONTyped(value, ignoreDiscriminator) {
79
79
  'enabled': value['enabled'],
80
80
  'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
81
81
  'blog': (0, StorePageRequestBlog_1.StorePageRequestBlogToJSON)(value['blog']),
82
- 'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
82
+ 'seo': (value['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerToJSON)),
83
83
  };
84
84
  }
@@ -0,0 +1,44 @@
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 StorePageRequestSeoInner
16
+ */
17
+ export interface StorePageRequestSeoInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StorePageRequestSeoInner
22
+ */
23
+ seoTitle?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StorePageRequestSeoInner
28
+ */
29
+ seoDescription?: string | null;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StorePageRequestSeoInner
34
+ */
35
+ siteId: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StorePageRequestSeoInner interface.
39
+ */
40
+ export declare function instanceOfStorePageRequestSeoInner(value: object): value is StorePageRequestSeoInner;
41
+ export declare function StorePageRequestSeoInnerFromJSON(json: any): StorePageRequestSeoInner;
42
+ export declare function StorePageRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorePageRequestSeoInner;
43
+ export declare function StorePageRequestSeoInnerToJSON(json: any): StorePageRequestSeoInner;
44
+ export declare function StorePageRequestSeoInnerToJSONTyped(value?: StorePageRequestSeoInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfStorePageRequestSeoInner = instanceOfStorePageRequestSeoInner;
17
+ exports.StorePageRequestSeoInnerFromJSON = StorePageRequestSeoInnerFromJSON;
18
+ exports.StorePageRequestSeoInnerFromJSONTyped = StorePageRequestSeoInnerFromJSONTyped;
19
+ exports.StorePageRequestSeoInnerToJSON = StorePageRequestSeoInnerToJSON;
20
+ exports.StorePageRequestSeoInnerToJSONTyped = StorePageRequestSeoInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StorePageRequestSeoInner interface.
23
+ */
24
+ function instanceOfStorePageRequestSeoInner(value) {
25
+ if (!('siteId' in value) || value['siteId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StorePageRequestSeoInnerFromJSON(json) {
30
+ return StorePageRequestSeoInnerFromJSONTyped(json, false);
31
+ }
32
+ function StorePageRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
38
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
39
+ 'siteId': json['site_id'],
40
+ };
41
+ }
42
+ function StorePageRequestSeoInnerToJSON(json) {
43
+ return StorePageRequestSeoInnerToJSONTyped(json, false);
44
+ }
45
+ function StorePageRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'seo_title': value['seoTitle'],
52
+ 'seo_description': value['seoDescription'],
53
+ 'site_id': value['siteId'],
54
+ };
55
+ }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
13
- import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
12
+ import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
13
+ import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
14
14
  import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
15
15
  /**
16
16
  *
@@ -98,16 +98,16 @@ export interface StoreProductCategoryRequest {
98
98
  fileId?: number | null;
99
99
  /**
100
100
  *
101
- * @type {Array<StoreProductCategoryRequestSeoInner>}
101
+ * @type {Array<StorePageRequestSeoInner>}
102
102
  * @memberof StoreProductCategoryRequest
103
103
  */
104
- seo?: Array<StoreProductCategoryRequestSeoInner>;
104
+ seo?: Array<StorePageRequestSeoInner>;
105
105
  /**
106
106
  *
107
- * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
107
+ * @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
108
108
  * @memberof StoreProductCategoryRequest
109
109
  */
110
- descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
110
+ descriptions?: Array<StoreBlogCategoryRequestDescriptionsInner>;
111
111
  }
112
112
  /**
113
113
  * @export
@@ -19,8 +19,8 @@ exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSO
19
19
  exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
20
20
  exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
21
21
  exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
22
- var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
23
- var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
22
+ var StoreBlogCategoryRequestDescriptionsInner_1 = require("./StoreBlogCategoryRequestDescriptionsInner");
23
+ var StorePageRequestSeoInner_1 = require("./StorePageRequestSeoInner");
24
24
  var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
25
25
  /**
26
26
  * @export
@@ -64,8 +64,8 @@ function StoreProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
65
65
  'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
66
66
  'fileId': json['file_id'] == null ? undefined : json['file_id'],
67
- 'seo': json['seo'] == null ? undefined : (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
68
- 'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
67
+ 'seo': json['seo'] == null ? undefined : (json['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerFromJSON)),
68
+ 'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
69
69
  };
70
70
  }
71
71
  function StoreProductCategoryRequestToJSON(json) {
@@ -90,7 +90,7 @@ function StoreProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
90
90
  'alt_text': value['altText'],
91
91
  'mime_type': value['mimeType'],
92
92
  'file_id': value['fileId'],
93
- 'seo': value['seo'] == null ? undefined : (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
94
- 'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
93
+ 'seo': value['seo'] == null ? undefined : (value['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerToJSON)),
94
+ 'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerToJSON)),
95
95
  };
96
96
  }
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
35
35
  hours: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {object}
39
39
  * @memberof StoreSpecialDateFrontendResource
40
40
  */
41
- date?: string | null;
41
+ date: object;
42
42
  /**
43
43
  *
44
44
  * @type {boolean}
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateFrontendResource(value) {
26
26
  return false;
27
27
  if (!('hours' in value) || value['hours'] === undefined)
28
28
  return false;
29
+ if (!('date' in value) || value['date'] === undefined)
30
+ return false;
29
31
  if (!('closed' in value) || value['closed'] === undefined)
30
32
  return false;
31
33
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
@@ -45,7 +47,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
45
47
  'id': json['id'] == null ? undefined : json['id'],
46
48
  'name': json['name'],
47
49
  'hours': json['hours'],
48
- 'date': json['date'] == null ? undefined : json['date'],
50
+ 'date': json['date'],
49
51
  'closed': json['closed'],
50
52
  'displayStartDate': json['displayStartDate'],
51
53
  'displayEndDate': json['displayEndDate'],