@digital8/lighting-illusions-ts-sdk 0.0.488 → 0.0.490

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 (128) hide show
  1. package/.openapi-generator/FILES +8 -22
  2. package/README.md +10 -15
  3. package/dist/apis/DocumentApi.d.ts +24 -1
  4. package/dist/apis/DocumentApi.js +96 -2
  5. package/dist/models/DescriptionResource.d.ts +50 -0
  6. package/dist/models/DescriptionResource.js +63 -0
  7. package/dist/models/DescriptionResourceArrayResponse.d.ts +33 -0
  8. package/dist/models/DescriptionResourceArrayResponse.js +50 -0
  9. package/dist/models/GetAllDocumentRequest.d.ts +26 -0
  10. package/dist/models/GetAllDocumentRequest.js +14 -1
  11. package/dist/models/GetAllProductChildRequest.d.ts +1 -0
  12. package/dist/models/GetAllProductChildRequest.js +2 -1
  13. package/dist/models/IndexDocumentRequest.d.ts +26 -0
  14. package/dist/models/IndexDocumentRequest.js +14 -1
  15. package/dist/models/IndexExternalApiLogRequest.d.ts +0 -6
  16. package/dist/models/IndexExternalApiLogRequest.js +0 -2
  17. package/dist/models/IndexProductChildRequest.d.ts +1 -0
  18. package/dist/models/IndexProductChildRequest.js +1 -0
  19. package/dist/models/ProductChildSiteDetailResource.d.ts +2 -8
  20. package/dist/models/ProductChildSiteDetailResource.js +4 -4
  21. package/dist/models/SEOResource.d.ts +2 -20
  22. package/dist/models/SEOResource.js +8 -20
  23. package/dist/models/StoreProductChildRequestSitesInner.d.ts +3 -15
  24. package/dist/models/StoreProductChildRequestSitesInner.js +7 -9
  25. package/dist/models/StoreSupplierRequest.d.ts +7 -0
  26. package/dist/models/StoreSupplierRequest.js +5 -0
  27. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +44 -0
  28. package/dist/models/StoreSupplierRequestDescriptionsInner.js +55 -0
  29. package/dist/models/StoreSupplierRequestSeoInner.d.ts +2 -20
  30. package/dist/models/StoreSupplierRequestSeoInner.js +4 -10
  31. package/dist/models/StoreTagRequest.d.ts +3 -9
  32. package/dist/models/StoreTagRequest.js +6 -8
  33. package/dist/models/SupplierFrontendResource.d.ts +7 -0
  34. package/dist/models/SupplierFrontendResource.js +5 -0
  35. package/dist/models/SupplierResource.d.ts +7 -0
  36. package/dist/models/SupplierResource.js +5 -0
  37. package/dist/models/TagResource.d.ts +7 -0
  38. package/dist/models/TagResource.js +5 -0
  39. package/dist/models/UpdateDocumentRequest.d.ts +44 -0
  40. package/dist/models/UpdateDocumentRequest.js +57 -0
  41. package/dist/models/UpdateSupplierRequest.d.ts +7 -0
  42. package/dist/models/UpdateSupplierRequest.js +5 -0
  43. package/dist/models/UpdateTagRequest.d.ts +3 -9
  44. package/dist/models/UpdateTagRequest.js +6 -8
  45. package/dist/models/index.d.ts +4 -11
  46. package/dist/models/index.js +4 -11
  47. package/docs/{ProductAggregationResourceArrayResponse.md → DescriptionResource.md} +12 -6
  48. package/docs/{ProductRating.md → DescriptionResourceArrayResponse.md} +6 -4
  49. package/docs/DocumentApi.md +137 -2
  50. package/docs/GetAllDocumentRequest.md +6 -0
  51. package/docs/IndexDocumentRequest.md +6 -0
  52. package/docs/IndexExternalApiLogRequest.md +0 -2
  53. package/docs/ProductChildSiteDetailResource.md +2 -4
  54. package/docs/SEOResource.md +4 -10
  55. package/docs/StoreProductChildRequestSitesInner.md +4 -8
  56. package/docs/StoreSupplierRequest.md +2 -0
  57. package/docs/{ProductSearchResponseResourceMeta.md → StoreSupplierRequestDescriptionsInner.md} +10 -12
  58. package/docs/StoreSupplierRequestSeoInner.md +4 -10
  59. package/docs/StoreTagRequest.md +6 -8
  60. package/docs/SupplierFrontendResource.md +2 -0
  61. package/docs/SupplierResource.md +2 -0
  62. package/docs/TagResource.md +2 -0
  63. package/docs/{ProductSortBy.md → UpdateDocumentRequest.md} +10 -4
  64. package/docs/UpdateSupplierRequest.md +2 -0
  65. package/docs/UpdateTagRequest.md +6 -8
  66. package/package.json +1 -1
  67. package/src/apis/DocumentApi.ts +91 -2
  68. package/src/models/DescriptionResource.ts +93 -0
  69. package/src/models/DescriptionResourceArrayResponse.ts +73 -0
  70. package/src/models/GetAllDocumentRequest.ts +33 -0
  71. package/src/models/GetAllProductChildRequest.ts +2 -1
  72. package/src/models/IndexDocumentRequest.ts +33 -0
  73. package/src/models/IndexExternalApiLogRequest.ts +0 -8
  74. package/src/models/IndexProductChildRequest.ts +1 -0
  75. package/src/models/ProductChildSiteDetailResource.ts +5 -12
  76. package/src/models/SEOResource.ts +10 -37
  77. package/src/models/StoreProductChildRequestSitesInner.ts +9 -24
  78. package/src/models/StoreSupplierRequest.ts +16 -0
  79. package/src/models/StoreSupplierRequestDescriptionsInner.ts +82 -0
  80. package/src/models/StoreSupplierRequestSeoInner.ts +6 -30
  81. package/src/models/StoreTagRequest.ts +9 -17
  82. package/src/models/SupplierFrontendResource.ts +16 -0
  83. package/src/models/SupplierResource.ts +16 -0
  84. package/src/models/TagResource.ts +16 -0
  85. package/src/models/UpdateDocumentRequest.ts +83 -0
  86. package/src/models/UpdateSupplierRequest.ts +16 -0
  87. package/src/models/UpdateTagRequest.ts +9 -17
  88. package/src/models/index.ts +4 -11
  89. package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +0 -40
  90. package/dist/models/PaginatedProductSearchResultResourceResponse.js +0 -57
  91. package/dist/models/ProductAggregationResource.d.ts +0 -50
  92. package/dist/models/ProductAggregationResource.js +0 -63
  93. package/dist/models/ProductAggregationResourceArrayResponse.d.ts +0 -33
  94. package/dist/models/ProductAggregationResourceArrayResponse.js +0 -50
  95. package/dist/models/ProductRating.d.ts +0 -26
  96. package/dist/models/ProductRating.js +0 -52
  97. package/dist/models/ProductSearchResponseResource.d.ts +0 -54
  98. package/dist/models/ProductSearchResponseResource.js +0 -67
  99. package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +0 -33
  100. package/dist/models/ProductSearchResponseResourceArrayResponse.js +0 -50
  101. package/dist/models/ProductSearchResponseResourceMeta.d.ts +0 -50
  102. package/dist/models/ProductSearchResponseResourceMeta.js +0 -63
  103. package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +0 -50
  104. package/dist/models/ProductSearchResponseResourcePriceInfo.js +0 -63
  105. package/dist/models/ProductSearchResultResource.d.ts +0 -116
  106. package/dist/models/ProductSearchResultResource.js +0 -105
  107. package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +0 -33
  108. package/dist/models/ProductSearchResultResourceArrayResponse.js +0 -50
  109. package/dist/models/ProductSortBy.d.ts +0 -32
  110. package/dist/models/ProductSortBy.js +0 -58
  111. package/docs/PaginatedProductSearchResultResourceResponse.md +0 -36
  112. package/docs/ProductAggregationResource.md +0 -40
  113. package/docs/ProductSearchResponseResource.md +0 -40
  114. package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
  115. package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
  116. package/docs/ProductSearchResultResource.md +0 -62
  117. package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
  118. package/src/models/PaginatedProductSearchResultResourceResponse.ts +0 -90
  119. package/src/models/ProductAggregationResource.ts +0 -93
  120. package/src/models/ProductAggregationResourceArrayResponse.ts +0 -73
  121. package/src/models/ProductRating.ts +0 -54
  122. package/src/models/ProductSearchResponseResource.ts +0 -122
  123. package/src/models/ProductSearchResponseResourceArrayResponse.ts +0 -73
  124. package/src/models/ProductSearchResponseResourceMeta.ts +0 -93
  125. package/src/models/ProductSearchResponseResourcePriceInfo.ts +0 -93
  126. package/src/models/ProductSearchResultResource.ts +0 -191
  127. package/src/models/ProductSearchResultResourceArrayResponse.ts +0 -73
  128. package/src/models/ProductSortBy.ts +0 -60
@@ -42,31 +42,25 @@ export interface UpdateTagRequest {
42
42
  * @type {string}
43
43
  * @memberof UpdateTagRequest
44
44
  */
45
- title?: string;
45
+ seoTitle?: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof UpdateTagRequest
50
50
  */
51
- description?: string;
51
+ seoDescription?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
55
  * @memberof UpdateTagRequest
56
56
  */
57
- keywords?: string;
57
+ headerDescription?: string;
58
58
  /**
59
59
  *
60
60
  * @type {string}
61
61
  * @memberof UpdateTagRequest
62
62
  */
63
63
  footerDescription?: string;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof UpdateTagRequest
68
- */
69
- pageDescription?: string;
70
64
  }
71
65
 
72
66
 
@@ -103,11 +97,10 @@ export function UpdateTagRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
103
97
  'name': json['name'],
104
98
  'slug': json['slug'],
105
99
  'type': json['type'],
106
- 'title': json['title'] == null ? undefined : json['title'],
107
- 'description': json['description'] == null ? undefined : json['description'],
108
- 'keywords': json['keywords'] == null ? undefined : json['keywords'],
100
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
101
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
102
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
109
103
  'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
110
- 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
111
104
  };
112
105
  }
113
106
 
@@ -125,11 +118,10 @@ export function UpdateTagRequestToJSONTyped(value?: UpdateTagRequest | null, ign
125
118
  'name': value['name'],
126
119
  'slug': value['slug'],
127
120
  'type': value['type'],
128
- 'title': value['title'],
129
- 'description': value['description'],
130
- 'keywords': value['keywords'],
121
+ 'seo_title': value['seoTitle'],
122
+ 'seo_description': value['seoDescription'],
123
+ 'header_description': value['headerDescription'],
131
124
  'footer_description': value['footerDescription'],
132
- 'page_description': value['pageDescription'],
133
125
  };
134
126
  }
135
127
 
@@ -27,6 +27,8 @@ export * from './AttributeType';
27
27
  export * from './AttributeValueResource';
28
28
  export * from './AttributeValueResourceArrayResponse';
29
29
  export * from './CouponDiscountType';
30
+ export * from './DescriptionResource';
31
+ export * from './DescriptionResourceArrayResponse';
30
32
  export * from './DestroyAttributeValueRequest';
31
33
  export * from './DetachAssetableOverlayTemplateRequest';
32
34
  export * from './DetachDocumentablesDocumentRequest';
@@ -92,7 +94,6 @@ export * from './PaginatedProductChildResourceResponse';
92
94
  export * from './PaginatedProductListResourceResponse';
93
95
  export * from './PaginatedProductLiteResourceResponse';
94
96
  export * from './PaginatedProductResourceResponse';
95
- export * from './PaginatedProductSearchResultResourceResponse';
96
97
  export * from './PaginatedProductTypeListResourceResponse';
97
98
  export * from './PaginatedProductTypeLiteResourceResponse';
98
99
  export * from './PaginatedProductTypeResourceResponse';
@@ -109,8 +110,6 @@ export * from './PaginatedTagListResourceResponse';
109
110
  export * from './PaginatedTagLiteResourceResponse';
110
111
  export * from './PaginatedTagResourceResponse';
111
112
  export * from './PagingMetadata';
112
- export * from './ProductAggregationResource';
113
- export * from './ProductAggregationResourceArrayResponse';
114
113
  export * from './ProductChildListResource';
115
114
  export * from './ProductChildListResourceArrayResponse';
116
115
  export * from './ProductChildLiteResource';
@@ -129,16 +128,8 @@ export * from './ProductListResource';
129
128
  export * from './ProductListResourceArrayResponse';
130
129
  export * from './ProductLiteResource';
131
130
  export * from './ProductLiteResourceArrayResponse';
132
- export * from './ProductRating';
133
131
  export * from './ProductResource';
134
132
  export * from './ProductResourceArrayResponse';
135
- export * from './ProductSearchResponseResource';
136
- export * from './ProductSearchResponseResourceArrayResponse';
137
- export * from './ProductSearchResponseResourceMeta';
138
- export * from './ProductSearchResponseResourcePriceInfo';
139
- export * from './ProductSearchResultResource';
140
- export * from './ProductSearchResultResourceArrayResponse';
141
- export * from './ProductSortBy';
142
133
  export * from './ProductTypeListResource';
143
134
  export * from './ProductTypeListResourceArrayResponse';
144
135
  export * from './ProductTypeLiteResource';
@@ -177,6 +168,7 @@ export * from './StoreProductRequestCategoriesInner';
177
168
  export * from './StoreProductTypeRequest';
178
169
  export * from './StoreSiteNotificationRequest';
179
170
  export * from './StoreSupplierRequest';
171
+ export * from './StoreSupplierRequestDescriptionsInner';
180
172
  export * from './StoreSupplierRequestSeoInner';
181
173
  export * from './StoreTagRequest';
182
174
  export * from './SupplierFrontendResource';
@@ -196,6 +188,7 @@ export * from './TagResourceArrayResponse';
196
188
  export * from './TagType';
197
189
  export * from './UpdateAttributeRequest';
198
190
  export * from './UpdateAttributeValueRequest';
191
+ export * from './UpdateDocumentRequest';
199
192
  export * from './UpdateFilterOrderAttributeRequest';
200
193
  export * from './UpdateFilterOrderAttributeRequestValuesInner';
201
194
  export * from './UpdateModelAttributeRequest';
@@ -1,40 +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 type { PagingMetadata } from './PagingMetadata';
13
- import type { ProductSearchResultResource } from './ProductSearchResultResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedProductSearchResultResourceResponse
18
- */
19
- export interface PaginatedProductSearchResultResourceResponse {
20
- /**
21
- *
22
- * @type {Array<ProductSearchResultResource>}
23
- * @memberof PaginatedProductSearchResultResourceResponse
24
- */
25
- data: Array<ProductSearchResultResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedProductSearchResultResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedProductSearchResultResourceResponse(value: object): value is PaginatedProductSearchResultResourceResponse;
37
- export declare function PaginatedProductSearchResultResourceResponseFromJSON(json: any): PaginatedProductSearchResultResourceResponse;
38
- export declare function PaginatedProductSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductSearchResultResourceResponse;
39
- export declare function PaginatedProductSearchResultResourceResponseToJSON(json: any): PaginatedProductSearchResultResourceResponse;
40
- export declare function PaginatedProductSearchResultResourceResponseToJSONTyped(value?: PaginatedProductSearchResultResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
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.instanceOfPaginatedProductSearchResultResourceResponse = instanceOfPaginatedProductSearchResultResourceResponse;
17
- exports.PaginatedProductSearchResultResourceResponseFromJSON = PaginatedProductSearchResultResourceResponseFromJSON;
18
- exports.PaginatedProductSearchResultResourceResponseFromJSONTyped = PaginatedProductSearchResultResourceResponseFromJSONTyped;
19
- exports.PaginatedProductSearchResultResourceResponseToJSON = PaginatedProductSearchResultResourceResponseToJSON;
20
- exports.PaginatedProductSearchResultResourceResponseToJSONTyped = PaginatedProductSearchResultResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
23
- /**
24
- * Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
25
- */
26
- function instanceOfPaginatedProductSearchResultResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedProductSearchResultResourceResponseFromJSON(json) {
34
- return PaginatedProductSearchResultResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedProductSearchResultResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedProductSearchResultResourceResponseToJSON(json) {
46
- return PaginatedProductSearchResultResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedProductSearchResultResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,50 +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
- /**
13
- *
14
- * @export
15
- * @interface ProductAggregationResource
16
- */
17
- export interface ProductAggregationResource {
18
- /**
19
- *
20
- * @type {Array<object>}
21
- * @memberof ProductAggregationResource
22
- */
23
- attributes: Array<object>;
24
- /**
25
- *
26
- * @type {Array<object>}
27
- * @memberof ProductAggregationResource
28
- */
29
- priceRanges: Array<object>;
30
- /**
31
- *
32
- * @type {Array<object>}
33
- * @memberof ProductAggregationResource
34
- */
35
- brands: Array<object>;
36
- /**
37
- *
38
- * @type {Array<object>}
39
- * @memberof ProductAggregationResource
40
- */
41
- ratings: Array<object>;
42
- }
43
- /**
44
- * Check if a given object implements the ProductAggregationResource interface.
45
- */
46
- export declare function instanceOfProductAggregationResource(value: object): value is ProductAggregationResource;
47
- export declare function ProductAggregationResourceFromJSON(json: any): ProductAggregationResource;
48
- export declare function ProductAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAggregationResource;
49
- export declare function ProductAggregationResourceToJSON(json: any): ProductAggregationResource;
50
- export declare function ProductAggregationResourceToJSONTyped(value?: ProductAggregationResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,63 +0,0 @@
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.instanceOfProductAggregationResource = instanceOfProductAggregationResource;
17
- exports.ProductAggregationResourceFromJSON = ProductAggregationResourceFromJSON;
18
- exports.ProductAggregationResourceFromJSONTyped = ProductAggregationResourceFromJSONTyped;
19
- exports.ProductAggregationResourceToJSON = ProductAggregationResourceToJSON;
20
- exports.ProductAggregationResourceToJSONTyped = ProductAggregationResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the ProductAggregationResource interface.
23
- */
24
- function instanceOfProductAggregationResource(value) {
25
- if (!('attributes' in value) || value['attributes'] === undefined)
26
- return false;
27
- if (!('priceRanges' in value) || value['priceRanges'] === undefined)
28
- return false;
29
- if (!('brands' in value) || value['brands'] === undefined)
30
- return false;
31
- if (!('ratings' in value) || value['ratings'] === undefined)
32
- return false;
33
- return true;
34
- }
35
- function ProductAggregationResourceFromJSON(json) {
36
- return ProductAggregationResourceFromJSONTyped(json, false);
37
- }
38
- function ProductAggregationResourceFromJSONTyped(json, ignoreDiscriminator) {
39
- if (json == null) {
40
- return json;
41
- }
42
- return {
43
- 'attributes': json['attributes'],
44
- 'priceRanges': json['priceRanges'],
45
- 'brands': json['brands'],
46
- 'ratings': json['ratings'],
47
- };
48
- }
49
- function ProductAggregationResourceToJSON(json) {
50
- return ProductAggregationResourceToJSONTyped(json, false);
51
- }
52
- function ProductAggregationResourceToJSONTyped(value, ignoreDiscriminator) {
53
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'attributes': value['attributes'],
59
- 'priceRanges': value['priceRanges'],
60
- 'brands': value['brands'],
61
- 'ratings': value['ratings'],
62
- };
63
- }
@@ -1,33 +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 type { ProductAggregationResource } from './ProductAggregationResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductAggregationResourceArrayResponse
17
- */
18
- export interface ProductAggregationResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductAggregationResource>}
22
- * @memberof ProductAggregationResourceArrayResponse
23
- */
24
- data?: Array<ProductAggregationResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductAggregationResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductAggregationResourceArrayResponse(value: object): value is ProductAggregationResourceArrayResponse;
30
- export declare function ProductAggregationResourceArrayResponseFromJSON(json: any): ProductAggregationResourceArrayResponse;
31
- export declare function ProductAggregationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAggregationResourceArrayResponse;
32
- export declare function ProductAggregationResourceArrayResponseToJSON(json: any): ProductAggregationResourceArrayResponse;
33
- export declare function ProductAggregationResourceArrayResponseToJSONTyped(value?: ProductAggregationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfProductAggregationResourceArrayResponse = instanceOfProductAggregationResourceArrayResponse;
17
- exports.ProductAggregationResourceArrayResponseFromJSON = ProductAggregationResourceArrayResponseFromJSON;
18
- exports.ProductAggregationResourceArrayResponseFromJSONTyped = ProductAggregationResourceArrayResponseFromJSONTyped;
19
- exports.ProductAggregationResourceArrayResponseToJSON = ProductAggregationResourceArrayResponseToJSON;
20
- exports.ProductAggregationResourceArrayResponseToJSONTyped = ProductAggregationResourceArrayResponseToJSONTyped;
21
- var ProductAggregationResource_1 = require("./ProductAggregationResource");
22
- /**
23
- * Check if a given object implements the ProductAggregationResourceArrayResponse interface.
24
- */
25
- function instanceOfProductAggregationResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductAggregationResourceArrayResponseFromJSON(json) {
29
- return ProductAggregationResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductAggregationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductAggregationResource_1.ProductAggregationResourceFromJSON)),
37
- };
38
- }
39
- function ProductAggregationResourceArrayResponseToJSON(json) {
40
- return ProductAggregationResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductAggregationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(ProductAggregationResource_1.ProductAggregationResourceToJSON)),
49
- };
50
- }
@@ -1,26 +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
- /**
13
- *
14
- * @export
15
- */
16
- export declare const ProductRating: {
17
- readonly _5: "5";
18
- readonly _4: "4";
19
- readonly _3: "3";
20
- };
21
- export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
22
- export declare function instanceOfProductRating(value: any): boolean;
23
- export declare function ProductRatingFromJSON(json: any): ProductRating;
24
- export declare function ProductRatingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRating;
25
- export declare function ProductRatingToJSON(value?: ProductRating | null): any;
26
- export declare function ProductRatingToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRating;
@@ -1,52 +0,0 @@
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.ProductRating = void 0;
17
- exports.instanceOfProductRating = instanceOfProductRating;
18
- exports.ProductRatingFromJSON = ProductRatingFromJSON;
19
- exports.ProductRatingFromJSONTyped = ProductRatingFromJSONTyped;
20
- exports.ProductRatingToJSON = ProductRatingToJSON;
21
- exports.ProductRatingToJSONTyped = ProductRatingToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.ProductRating = {
27
- _5: '5',
28
- _4: '4',
29
- _3: '3'
30
- };
31
- function instanceOfProductRating(value) {
32
- for (var key in exports.ProductRating) {
33
- if (Object.prototype.hasOwnProperty.call(exports.ProductRating, key)) {
34
- if (exports.ProductRating[key] === value) {
35
- return true;
36
- }
37
- }
38
- }
39
- return false;
40
- }
41
- function ProductRatingFromJSON(json) {
42
- return ProductRatingFromJSONTyped(json, false);
43
- }
44
- function ProductRatingFromJSONTyped(json, ignoreDiscriminator) {
45
- return json;
46
- }
47
- function ProductRatingToJSON(value) {
48
- return value;
49
- }
50
- function ProductRatingToJSONTyped(value, ignoreDiscriminator) {
51
- return value;
52
- }
@@ -1,54 +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 type { ProductSearchResultResource } from './ProductSearchResultResource';
13
- import type { ProductSearchResponseResourceMeta } from './ProductSearchResponseResourceMeta';
14
- import type { ProductAggregationResource } from './ProductAggregationResource';
15
- import type { ProductSearchResponseResourcePriceInfo } from './ProductSearchResponseResourcePriceInfo';
16
- /**
17
- *
18
- * @export
19
- * @interface ProductSearchResponseResource
20
- */
21
- export interface ProductSearchResponseResource {
22
- /**
23
- *
24
- * @type {Array<ProductSearchResultResource>}
25
- * @memberof ProductSearchResponseResource
26
- */
27
- data: Array<ProductSearchResultResource>;
28
- /**
29
- *
30
- * @type {ProductSearchResponseResourceMeta}
31
- * @memberof ProductSearchResponseResource
32
- */
33
- meta: ProductSearchResponseResourceMeta;
34
- /**
35
- *
36
- * @type {ProductAggregationResource}
37
- * @memberof ProductSearchResponseResource
38
- */
39
- aggregations: ProductAggregationResource;
40
- /**
41
- *
42
- * @type {ProductSearchResponseResourcePriceInfo}
43
- * @memberof ProductSearchResponseResource
44
- */
45
- priceInfo: ProductSearchResponseResourcePriceInfo;
46
- }
47
- /**
48
- * Check if a given object implements the ProductSearchResponseResource interface.
49
- */
50
- export declare function instanceOfProductSearchResponseResource(value: object): value is ProductSearchResponseResource;
51
- export declare function ProductSearchResponseResourceFromJSON(json: any): ProductSearchResponseResource;
52
- export declare function ProductSearchResponseResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSearchResponseResource;
53
- export declare function ProductSearchResponseResourceToJSON(json: any): ProductSearchResponseResource;
54
- export declare function ProductSearchResponseResourceToJSONTyped(value?: ProductSearchResponseResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +0,0 @@
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.instanceOfProductSearchResponseResource = instanceOfProductSearchResponseResource;
17
- exports.ProductSearchResponseResourceFromJSON = ProductSearchResponseResourceFromJSON;
18
- exports.ProductSearchResponseResourceFromJSONTyped = ProductSearchResponseResourceFromJSONTyped;
19
- exports.ProductSearchResponseResourceToJSON = ProductSearchResponseResourceToJSON;
20
- exports.ProductSearchResponseResourceToJSONTyped = ProductSearchResponseResourceToJSONTyped;
21
- var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
22
- var ProductSearchResponseResourceMeta_1 = require("./ProductSearchResponseResourceMeta");
23
- var ProductAggregationResource_1 = require("./ProductAggregationResource");
24
- var ProductSearchResponseResourcePriceInfo_1 = require("./ProductSearchResponseResourcePriceInfo");
25
- /**
26
- * Check if a given object implements the ProductSearchResponseResource interface.
27
- */
28
- function instanceOfProductSearchResponseResource(value) {
29
- if (!('data' in value) || value['data'] === undefined)
30
- return false;
31
- if (!('meta' in value) || value['meta'] === undefined)
32
- return false;
33
- if (!('aggregations' in value) || value['aggregations'] === undefined)
34
- return false;
35
- if (!('priceInfo' in value) || value['priceInfo'] === undefined)
36
- return false;
37
- return true;
38
- }
39
- function ProductSearchResponseResourceFromJSON(json) {
40
- return ProductSearchResponseResourceFromJSONTyped(json, false);
41
- }
42
- function ProductSearchResponseResourceFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'data': (json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
48
- 'meta': (0, ProductSearchResponseResourceMeta_1.ProductSearchResponseResourceMetaFromJSON)(json['meta']),
49
- 'aggregations': (0, ProductAggregationResource_1.ProductAggregationResourceFromJSON)(json['aggregations']),
50
- 'priceInfo': (0, ProductSearchResponseResourcePriceInfo_1.ProductSearchResponseResourcePriceInfoFromJSON)(json['priceInfo']),
51
- };
52
- }
53
- function ProductSearchResponseResourceToJSON(json) {
54
- return ProductSearchResponseResourceToJSONTyped(json, false);
55
- }
56
- function ProductSearchResponseResourceToJSONTyped(value, ignoreDiscriminator) {
57
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
- if (value == null) {
59
- return value;
60
- }
61
- return {
62
- 'data': (value['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
63
- 'meta': (0, ProductSearchResponseResourceMeta_1.ProductSearchResponseResourceMetaToJSON)(value['meta']),
64
- 'aggregations': (0, ProductAggregationResource_1.ProductAggregationResourceToJSON)(value['aggregations']),
65
- 'priceInfo': (0, ProductSearchResponseResourcePriceInfo_1.ProductSearchResponseResourcePriceInfoToJSON)(value['priceInfo']),
66
- };
67
- }
@@ -1,33 +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 type { ProductSearchResponseResource } from './ProductSearchResponseResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductSearchResponseResourceArrayResponse
17
- */
18
- export interface ProductSearchResponseResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductSearchResponseResource>}
22
- * @memberof ProductSearchResponseResourceArrayResponse
23
- */
24
- data?: Array<ProductSearchResponseResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductSearchResponseResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductSearchResponseResourceArrayResponse(value: object): value is ProductSearchResponseResourceArrayResponse;
30
- export declare function ProductSearchResponseResourceArrayResponseFromJSON(json: any): ProductSearchResponseResourceArrayResponse;
31
- export declare function ProductSearchResponseResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSearchResponseResourceArrayResponse;
32
- export declare function ProductSearchResponseResourceArrayResponseToJSON(json: any): ProductSearchResponseResourceArrayResponse;
33
- export declare function ProductSearchResponseResourceArrayResponseToJSONTyped(value?: ProductSearchResponseResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;