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

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 (43) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/README.md +5 -5
  3. package/dist/apis/OverlayTemplateApi.d.ts +6 -6
  4. package/dist/apis/OverlayTemplateApi.js +1 -1
  5. package/dist/apis/ProductApi.d.ts +7 -7
  6. package/dist/apis/ProductApi.js +2 -2
  7. package/dist/apis/ProductRangeApi.d.ts +3 -3
  8. package/dist/apis/ProductRangeApi.js +2 -2
  9. package/dist/models/AddressResource.d.ts +2 -2
  10. package/dist/models/AddressResource.js +4 -4
  11. package/dist/models/IndexProductChildRequest.d.ts +192 -0
  12. package/dist/models/{GetProductChildrenOverlayTemplateRequest.js → IndexProductChildRequest.js} +17 -17
  13. package/dist/models/StoreFrontendResource.d.ts +1 -1
  14. package/dist/models/StoreFrontendResource.js +1 -3
  15. package/dist/models/StoreListResource.d.ts +1 -1
  16. package/dist/models/StoreListResource.js +3 -1
  17. package/dist/models/StoreResource.d.ts +1 -1
  18. package/dist/models/StoreResource.js +3 -1
  19. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  20. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  21. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  22. package/dist/models/StoreSpecialDateResource.js +3 -1
  23. package/dist/models/index.d.ts +1 -1
  24. package/dist/models/index.js +1 -1
  25. package/docs/{GetProductChildrenOverlayTemplateRequest.md → IndexProductChildRequest.md} +4 -4
  26. package/docs/OverlayTemplateApi.md +7 -7
  27. package/docs/ProductApi.md +11 -11
  28. package/docs/ProductRangeApi.md +8 -8
  29. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  30. package/docs/StoreSpecialDateResource.md +1 -1
  31. package/package.json +1 -1
  32. package/src/apis/OverlayTemplateApi.ts +9 -9
  33. package/src/apis/ProductApi.ts +11 -11
  34. package/src/apis/ProductRangeApi.ts +7 -7
  35. package/src/models/AddressResource.ts +5 -5
  36. package/src/models/{GetProductChildrenOverlayTemplateRequest.ts → IndexProductChildRequest.ts} +42 -42
  37. package/src/models/StoreFrontendResource.ts +2 -3
  38. package/src/models/StoreListResource.ts +3 -2
  39. package/src/models/StoreResource.ts +3 -2
  40. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  41. package/src/models/StoreSpecialDateResource.ts +4 -3
  42. package/src/models/index.ts +1 -1
  43. package/dist/models/GetProductChildrenOverlayTemplateRequest.d.ts +0 -192
@@ -127,7 +127,6 @@ docs/GetAllProductRequest.md
127
127
  docs/GetAllProductTypeRequest.md
128
128
  docs/GetAllStoreRequest.md
129
129
  docs/GetAllSupplierRequest.md
130
- docs/GetProductChildrenOverlayTemplateRequest.md
131
130
  docs/GetUniqueEndpointsExternalApiLogRequest.md
132
131
  docs/GlobalSearchCategoryResource.md
133
132
  docs/GlobalSearchCategoryResourceArrayResponse.md
@@ -151,6 +150,7 @@ docs/IndexModelAttributeRequest.md
151
150
  docs/IndexOverlayTemplateRequest.md
152
151
  docs/IndexPageRequest.md
153
152
  docs/IndexProductCategoryRequest.md
153
+ docs/IndexProductChildRequest.md
154
154
  docs/IndexProductRangeRequest.md
155
155
  docs/IndexProductRequest.md
156
156
  docs/IndexProductTypeRequest.md
@@ -607,7 +607,6 @@ src/models/GetAllProductRequest.ts
607
607
  src/models/GetAllProductTypeRequest.ts
608
608
  src/models/GetAllStoreRequest.ts
609
609
  src/models/GetAllSupplierRequest.ts
610
- src/models/GetProductChildrenOverlayTemplateRequest.ts
611
610
  src/models/GetUniqueEndpointsExternalApiLogRequest.ts
612
611
  src/models/GlobalSearchCategoryResource.ts
613
612
  src/models/GlobalSearchCategoryResourceArrayResponse.ts
@@ -630,6 +629,7 @@ src/models/IndexModelAttributeRequest.ts
630
629
  src/models/IndexOverlayTemplateRequest.ts
631
630
  src/models/IndexPageRequest.ts
632
631
  src/models/IndexProductCategoryRequest.ts
632
+ src/models/IndexProductChildRequest.ts
633
633
  src/models/IndexProductRangeRequest.ts
634
634
  src/models/IndexProductRequest.ts
635
635
  src/models/IndexProductTypeRequest.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1675
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1676
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -111,7 +111,7 @@ All URIs are relative to *http://localhost/api*
111
111
  *OverlayTemplateApi* | [**detachAssetOverlayTemplate**](docs/OverlayTemplateApi.md#detachassetoverlaytemplate) | **POST** /admin-api/overlay-template/{overlayTemplate}/detach-asset/{asset} | Auto-generated: detachAssetOverlayTemplate
112
112
  *OverlayTemplateApi* | [**detachAssetableOverlayTemplate**](docs/OverlayTemplateApi.md#detachassetableoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/detach-assetable | Auto-generated: detachAssetableOverlayTemplate
113
113
  *OverlayTemplateApi* | [**getAllOverlayTemplate**](docs/OverlayTemplateApi.md#getalloverlaytemplateoperation) | **POST** /admin-api/overlay-template/all | Auto-generated: getAllOverlayTemplate
114
- *OverlayTemplateApi* | [**getProductChildrenOverlayTemplate**](docs/OverlayTemplateApi.md#getproductchildrenoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/product-children | Auto-generated: getProductChildrenOverlayTemplate
114
+ *OverlayTemplateApi* | [**getProductChildrenOverlayTemplate**](docs/OverlayTemplateApi.md#getproductchildrenoverlaytemplate) | **POST** /admin-api/overlay-template/{overlayTemplate}/product-children | Auto-generated: getProductChildrenOverlayTemplate
115
115
  *OverlayTemplateApi* | [**indexOverlayTemplate**](docs/OverlayTemplateApi.md#indexoverlaytemplateoperation) | **POST** /admin-api/overlay-template/list | Auto-generated: indexOverlayTemplate
116
116
  *OverlayTemplateApi* | [**showOverlayTemplate**](docs/OverlayTemplateApi.md#showoverlaytemplate) | **GET** /admin-api/overlay-template/{overlayTemplate} | Auto-generated: showOverlayTemplate
117
117
  *OverlayTemplateApi* | [**storeOverlayTemplate**](docs/OverlayTemplateApi.md#storeoverlaytemplateoperation) | **POST** /admin-api/overlay-template/create | Auto-generated: storeOverlayTemplate
@@ -142,7 +142,7 @@ All URIs are relative to *http://localhost/api*
142
142
  *ProductApi* | [**getAllProductChild**](docs/ProductApi.md#getallproductchildoperation) | **POST** /admin-api/product/children/all | Auto-generated: getAllProductChild
143
143
  *ProductApi* | [**getCompatibleProductsProductChild**](docs/ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild
144
144
  *ProductApi* | [**indexProduct**](docs/ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct
145
- *ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchild) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
145
+ *ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
146
146
  *ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
147
147
  *ProductApi* | [**showAttributesProductChild**](docs/ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild
148
148
  *ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
@@ -348,7 +348,6 @@ All URIs are relative to *http://localhost/api*
348
348
  - [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
349
349
  - [GetAllStoreRequest](docs/GetAllStoreRequest.md)
350
350
  - [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
351
- - [GetProductChildrenOverlayTemplateRequest](docs/GetProductChildrenOverlayTemplateRequest.md)
352
351
  - [GetUniqueEndpointsExternalApiLogRequest](docs/GetUniqueEndpointsExternalApiLogRequest.md)
353
352
  - [GlobalSearchCategoryResource](docs/GlobalSearchCategoryResource.md)
354
353
  - [GlobalSearchCategoryResourceArrayResponse](docs/GlobalSearchCategoryResourceArrayResponse.md)
@@ -371,6 +370,7 @@ All URIs are relative to *http://localhost/api*
371
370
  - [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
372
371
  - [IndexPageRequest](docs/IndexPageRequest.md)
373
372
  - [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
373
+ - [IndexProductChildRequest](docs/IndexProductChildRequest.md)
374
374
  - [IndexProductRangeRequest](docs/IndexProductRangeRequest.md)
375
375
  - [IndexProductRequest](docs/IndexProductRequest.md)
376
376
  - [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
@@ -685,7 +685,7 @@ and is automatically generated by the
685
685
  [OpenAPI Generator](https://openapi-generator.tech) project:
686
686
 
687
687
  - API version: `1.0.0`
688
- - Package version: `0.0.1675`
688
+ - Package version: `0.0.1676`
689
689
  - Generator version: `7.21.0`
690
690
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
691
691
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AttachAssetsOverlayTemplateRequest, DetachAssetableOverlayTemplateRequest, GenericResponse, GetAllOverlayTemplateRequest, GetProductChildrenOverlayTemplateRequest, IndexOverlayTemplateRequest, OverlayTemplateLiteResourceArrayResponse, OverlayTemplateResource, PaginatedOverlayTemplateListResourceResponse, PaginatedProductChildOverlayRelationResourceResponse, StoreOverlayTemplateAssetRequest, StoreOverlayTemplateRequest, UpdateOverlayTemplateAssetRequest, UpdateOverlayTemplateRequest } from '../models/index';
13
+ import type { AttachAssetsOverlayTemplateRequest, DetachAssetableOverlayTemplateRequest, GenericResponse, GetAllOverlayTemplateRequest, IndexOverlayTemplateRequest, IndexProductChildRequest, OverlayTemplateLiteResourceArrayResponse, OverlayTemplateResource, PaginatedOverlayTemplateListResourceResponse, PaginatedProductChildOverlayRelationResourceResponse, StoreOverlayTemplateAssetRequest, StoreOverlayTemplateRequest, UpdateOverlayTemplateAssetRequest, UpdateOverlayTemplateRequest } from '../models/index';
14
14
  export interface AttachAssetsOverlayTemplateOperationRequest {
15
15
  overlayTemplate: number;
16
16
  attachAssetsOverlayTemplateRequest?: AttachAssetsOverlayTemplateRequest;
@@ -32,9 +32,9 @@ export interface DetachAssetableOverlayTemplateOperationRequest {
32
32
  export interface GetAllOverlayTemplateOperationRequest {
33
33
  getAllOverlayTemplateRequest?: GetAllOverlayTemplateRequest;
34
34
  }
35
- export interface GetProductChildrenOverlayTemplateOperationRequest {
35
+ export interface GetProductChildrenOverlayTemplateRequest {
36
36
  overlayTemplate: number;
37
- getProductChildrenOverlayTemplateRequest?: GetProductChildrenOverlayTemplateRequest;
37
+ indexProductChildRequest?: IndexProductChildRequest;
38
38
  }
39
39
  export interface IndexOverlayTemplateOperationRequest {
40
40
  indexOverlayTemplateRequest?: IndexOverlayTemplateRequest;
@@ -135,15 +135,15 @@ export declare class OverlayTemplateApi extends runtime.BaseAPI {
135
135
  /**
136
136
  * Creates request options for getProductChildrenOverlayTemplate without sending the request
137
137
  */
138
- getProductChildrenOverlayTemplateRequestOpts(requestParameters: GetProductChildrenOverlayTemplateOperationRequest): Promise<runtime.RequestOpts>;
138
+ getProductChildrenOverlayTemplateRequestOpts(requestParameters: GetProductChildrenOverlayTemplateRequest): Promise<runtime.RequestOpts>;
139
139
  /**
140
140
  * Auto-generated: getProductChildrenOverlayTemplate
141
141
  */
142
- getProductChildrenOverlayTemplateRaw(requestParameters: GetProductChildrenOverlayTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildOverlayRelationResourceResponse>>;
142
+ getProductChildrenOverlayTemplateRaw(requestParameters: GetProductChildrenOverlayTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildOverlayRelationResourceResponse>>;
143
143
  /**
144
144
  * Auto-generated: getProductChildrenOverlayTemplate
145
145
  */
146
- getProductChildrenOverlayTemplate(requestParameters: GetProductChildrenOverlayTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildOverlayRelationResourceResponse>;
146
+ getProductChildrenOverlayTemplate(requestParameters: GetProductChildrenOverlayTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildOverlayRelationResourceResponse>;
147
147
  /**
148
148
  * Creates request options for indexOverlayTemplate without sending the request
149
149
  */
@@ -456,7 +456,7 @@ var OverlayTemplateApi = /** @class */ (function (_super) {
456
456
  method: 'POST',
457
457
  headers: headerParameters,
458
458
  query: queryParameters,
459
- body: (0, index_1.GetProductChildrenOverlayTemplateRequestToJSON)(requestParameters['getProductChildrenOverlayTemplateRequest']),
459
+ body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
460
460
  }];
461
461
  });
462
462
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AssetWithOverlayLinkResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, GetProductChildrenOverlayTemplateRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildAttributeGroupedResource, ProductChildListResourceArrayResponse, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, ShowAssetsProductChildRequest, ShowAttributesProductChildRequest, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
13
+ import type { AssetWithOverlayLinkResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, IndexProductChildRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildAttributeGroupedResource, ProductChildListResourceArrayResponse, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, ShowAssetsProductChildRequest, ShowAttributesProductChildRequest, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
14
14
  export interface AttachAccessoriesProductChildOperationRequest {
15
15
  productChild: number;
16
16
  attachAccessoriesProductChildRequest?: AttachAccessoriesProductChildRequest;
@@ -53,13 +53,13 @@ export interface GetAllProductChildOperationRequest {
53
53
  }
54
54
  export interface GetCompatibleProductsProductChildRequest {
55
55
  productChild: number;
56
- getProductChildrenOverlayTemplateRequest?: GetProductChildrenOverlayTemplateRequest;
56
+ indexProductChildRequest?: IndexProductChildRequest;
57
57
  }
58
58
  export interface IndexProductOperationRequest {
59
59
  indexProductRequest?: IndexProductRequest;
60
60
  }
61
- export interface IndexProductChildRequest {
62
- getProductChildrenOverlayTemplateRequest?: GetProductChildrenOverlayTemplateRequest;
61
+ export interface IndexProductChildOperationRequest {
62
+ indexProductChildRequest?: IndexProductChildRequest;
63
63
  }
64
64
  export interface ShowAssetsProductChildOperationRequest {
65
65
  productChild: number;
@@ -252,15 +252,15 @@ export declare class ProductApi extends runtime.BaseAPI {
252
252
  /**
253
253
  * Creates request options for indexProductChild without sending the request
254
254
  */
255
- indexProductChildRequestOpts(requestParameters: IndexProductChildRequest): Promise<runtime.RequestOpts>;
255
+ indexProductChildRequestOpts(requestParameters: IndexProductChildOperationRequest): Promise<runtime.RequestOpts>;
256
256
  /**
257
257
  * Auto-generated: indexProductChild
258
258
  */
259
- indexProductChildRaw(requestParameters: IndexProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
259
+ indexProductChildRaw(requestParameters: IndexProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
260
260
  /**
261
261
  * Auto-generated: indexProductChild
262
262
  */
263
- indexProductChild(requestParameters?: IndexProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
263
+ indexProductChild(requestParameters?: IndexProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
264
264
  /**
265
265
  * Creates request options for showAssetsProductChild without sending the request
266
266
  */
@@ -760,7 +760,7 @@ var ProductApi = /** @class */ (function (_super) {
760
760
  method: 'POST',
761
761
  headers: headerParameters,
762
762
  query: queryParameters,
763
- body: (0, index_1.GetProductChildrenOverlayTemplateRequestToJSON)(requestParameters['getProductChildrenOverlayTemplateRequest']),
763
+ body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
764
764
  }];
765
765
  });
766
766
  });
@@ -875,7 +875,7 @@ var ProductApi = /** @class */ (function (_super) {
875
875
  method: 'POST',
876
876
  headers: headerParameters,
877
877
  query: queryParameters,
878
- body: (0, index_1.GetProductChildrenOverlayTemplateRequestToJSON)(requestParameters['getProductChildrenOverlayTemplateRequest']),
878
+ body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
879
879
  }];
880
880
  });
881
881
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AttachAccessoriesProductRangeRequest, AttachAttributesProductRangeRequest, AttachDocumentsProductRangeRequest, DetachAccessoriesProductRangeRequest, DetachAttributesProductRangeRequest, DetachDocumentsProductRangeRequest, GenericResponse, GetAllProductRangeRequest, GetProductChildrenOverlayTemplateRequest, IndexProductRangeRequest, PaginatedProductChildListResourceResponse, PaginatedProductRangeListResourceResponse, ProductRangeLiteResourceArrayResponse, ProductRangeResource, StoreProductRangeRequest, UpdateProductRangeRequest } from '../models/index';
13
+ import type { AttachAccessoriesProductRangeRequest, AttachAttributesProductRangeRequest, AttachDocumentsProductRangeRequest, DetachAccessoriesProductRangeRequest, DetachAttributesProductRangeRequest, DetachDocumentsProductRangeRequest, GenericResponse, GetAllProductRangeRequest, IndexProductChildRequest, IndexProductRangeRequest, PaginatedProductChildListResourceResponse, PaginatedProductRangeListResourceResponse, ProductRangeLiteResourceArrayResponse, ProductRangeResource, StoreProductRangeRequest, UpdateProductRangeRequest } from '../models/index';
14
14
  export interface AttachAccessoriesProductRangeOperationRequest {
15
15
  productRange: number;
16
16
  attachAccessoriesProductRangeRequest?: AttachAccessoriesProductRangeRequest;
@@ -54,11 +54,11 @@ export interface IndexProductRangeOperationRequest {
54
54
  }
55
55
  export interface ListAccessoriesProductRangeRequest {
56
56
  productRange: number;
57
- getProductChildrenOverlayTemplateRequest?: GetProductChildrenOverlayTemplateRequest;
57
+ indexProductChildRequest?: IndexProductChildRequest;
58
58
  }
59
59
  export interface ListProductsProductRangeRequest {
60
60
  productRange: number;
61
- getProductChildrenOverlayTemplateRequest?: GetProductChildrenOverlayTemplateRequest;
61
+ indexProductChildRequest?: IndexProductChildRequest;
62
62
  }
63
63
  export interface ShowProductRangeRequest {
64
64
  productRange: number;
@@ -758,7 +758,7 @@ var ProductRangeApi = /** @class */ (function (_super) {
758
758
  method: 'POST',
759
759
  headers: headerParameters,
760
760
  query: queryParameters,
761
- body: (0, index_1.GetProductChildrenOverlayTemplateRequestToJSON)(requestParameters['getProductChildrenOverlayTemplateRequest']),
761
+ body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
762
762
  }];
763
763
  });
764
764
  });
@@ -819,7 +819,7 @@ var ProductRangeApi = /** @class */ (function (_super) {
819
819
  method: 'POST',
820
820
  headers: headerParameters,
821
821
  query: queryParameters,
822
- body: (0, index_1.GetProductChildrenOverlayTemplateRequestToJSON)(requestParameters['getProductChildrenOverlayTemplateRequest']),
822
+ body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
823
823
  }];
824
824
  });
825
825
  });
@@ -26,7 +26,7 @@ export interface AddressResource {
26
26
  * @type {string}
27
27
  * @memberof AddressResource
28
28
  */
29
- company: string;
29
+ company?: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -38,7 +38,7 @@ export interface AddressResource {
38
38
  * @type {string}
39
39
  * @memberof AddressResource
40
40
  */
41
- line2?: string | null;
41
+ line2: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,10 +22,10 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressResource interface.
23
23
  */
24
24
  function instanceOfAddressResource(value) {
25
- if (!('company' in value) || value['company'] === undefined)
26
- return false;
27
25
  if (!('line1' in value) || value['line1'] === undefined)
28
26
  return false;
27
+ if (!('line2' in value) || value['line2'] === undefined)
28
+ return false;
29
29
  if (!('postcode' in value) || value['postcode'] === undefined)
30
30
  return false;
31
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -47,9 +47,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
47
47
  }
48
48
  return {
49
49
  'id': json['id'] == null ? undefined : json['id'],
50
- 'company': json['company'],
50
+ 'company': json['company'] == null ? undefined : json['company'],
51
51
  'line1': json['line_1'],
52
- 'line2': json['line_2'] == null ? undefined : json['line_2'],
52
+ 'line2': json['line_2'],
53
53
  'postcode': json['postcode'],
54
54
  'suburb': json['suburb'],
55
55
  'country': json['country'],
@@ -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 IndexProductChildRequest
16
+ */
17
+ export interface IndexProductChildRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexProductChildRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {IndexProductChildRequestSortByEnum}
27
+ * @memberof IndexProductChildRequest
28
+ */
29
+ sortBy?: IndexProductChildRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {IndexProductChildRequestSortDirectionEnum}
33
+ * @memberof IndexProductChildRequest
34
+ */
35
+ sortDirection?: IndexProductChildRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexProductChildRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexProductChildRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexProductChildRequest
52
+ */
53
+ siteDetailsSiteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof IndexProductChildRequest
58
+ */
59
+ isDisabled?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof IndexProductChildRequest
64
+ */
65
+ netsuiteSyncHasNetsuiteId?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof IndexProductChildRequest
70
+ */
71
+ categoryId?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {Array<string>}
75
+ * @memberof IndexProductChildRequest
76
+ */
77
+ supplierId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof IndexProductChildRequest
82
+ */
83
+ tagsId?: Array<string>;
84
+ /**
85
+ *
86
+ * @type {Array<string>}
87
+ * @memberof IndexProductChildRequest
88
+ */
89
+ productTypeId?: Array<string>;
90
+ /**
91
+ *
92
+ * @type {Array<string>}
93
+ * @memberof IndexProductChildRequest
94
+ */
95
+ parentIsAccessory?: Array<string>;
96
+ /**
97
+ *
98
+ * @type {Array<string>}
99
+ * @memberof IndexProductChildRequest
100
+ */
101
+ availableSitesId?: Array<string>;
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof IndexProductChildRequest
106
+ */
107
+ enabledSitesId?: Array<string>;
108
+ /**
109
+ *
110
+ * @type {Array<string>}
111
+ * @memberof IndexProductChildRequest
112
+ */
113
+ siteDetailsSeoHasSeoTitle?: Array<string>;
114
+ /**
115
+ *
116
+ * @type {Array<string>}
117
+ * @memberof IndexProductChildRequest
118
+ */
119
+ siteDetailsSeoHasSeoDescription?: Array<string>;
120
+ /**
121
+ *
122
+ * @type {number}
123
+ * @memberof IndexProductChildRequest
124
+ */
125
+ relatedId?: number;
126
+ /**
127
+ *
128
+ * @type {IndexProductChildRequestRelatedTypeEnum}
129
+ * @memberof IndexProductChildRequest
130
+ */
131
+ relatedType?: IndexProductChildRequestRelatedTypeEnum;
132
+ /**
133
+ *
134
+ * @type {boolean}
135
+ * @memberof IndexProductChildRequest
136
+ */
137
+ includesRelations?: boolean;
138
+ }
139
+ /**
140
+ * @export
141
+ */
142
+ export declare const IndexProductChildRequestSortByEnum: {
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 IndexProductChildRequestSortByEnum = typeof IndexProductChildRequestSortByEnum[keyof typeof IndexProductChildRequestSortByEnum];
157
+ /**
158
+ * @export
159
+ */
160
+ export declare const IndexProductChildRequestSortDirectionEnum: {
161
+ readonly Asc: "asc";
162
+ readonly Desc: "desc";
163
+ };
164
+ export type IndexProductChildRequestSortDirectionEnum = typeof IndexProductChildRequestSortDirectionEnum[keyof typeof IndexProductChildRequestSortDirectionEnum];
165
+ /**
166
+ * @export
167
+ */
168
+ export declare const IndexProductChildRequestRelatedTypeEnum: {
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 IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
185
+ /**
186
+ * Check if a given object implements the IndexProductChildRequest interface.
187
+ */
188
+ export declare function instanceOfIndexProductChildRequest(value: object): value is IndexProductChildRequest;
189
+ export declare function IndexProductChildRequestFromJSON(json: any): IndexProductChildRequest;
190
+ export declare function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductChildRequest;
191
+ export declare function IndexProductChildRequestToJSON(json: any): IndexProductChildRequest;
192
+ export declare function IndexProductChildRequestToJSONTyped(value?: IndexProductChildRequest | 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.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;
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;
22
22
  /**
23
23
  * @export
24
24
  */
25
- exports.GetProductChildrenOverlayTemplateRequestSortByEnum = {
25
+ exports.IndexProductChildRequestSortByEnum = {
26
26
  Id: 'id',
27
27
  Name: 'name',
28
28
  ParentName: 'parent-name',
@@ -39,14 +39,14 @@ exports.GetProductChildrenOverlayTemplateRequestSortByEnum = {
39
39
  /**
40
40
  * @export
41
41
  */
42
- exports.GetProductChildrenOverlayTemplateRequestSortDirectionEnum = {
42
+ exports.IndexProductChildRequestSortDirectionEnum = {
43
43
  Asc: 'asc',
44
44
  Desc: 'desc'
45
45
  };
46
46
  /**
47
47
  * @export
48
48
  */
49
- exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = {
49
+ exports.IndexProductChildRequestRelatedTypeEnum = {
50
50
  Accessory: 'accessory',
51
51
  Attribute: 'attribute',
52
52
  AttributeValue: 'attributeValue',
@@ -63,15 +63,15 @@ exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = {
63
63
  Site: 'site'
64
64
  };
65
65
  /**
66
- * Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
66
+ * Check if a given object implements the IndexProductChildRequest interface.
67
67
  */
68
- function instanceOfGetProductChildrenOverlayTemplateRequest(value) {
68
+ function instanceOfIndexProductChildRequest(value) {
69
69
  return true;
70
70
  }
71
- function GetProductChildrenOverlayTemplateRequestFromJSON(json) {
72
- return GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, false);
71
+ function IndexProductChildRequestFromJSON(json) {
72
+ return IndexProductChildRequestFromJSONTyped(json, false);
73
73
  }
74
- function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
74
+ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
75
75
  if (json == null) {
76
76
  return json;
77
77
  }
@@ -98,10 +98,10 @@ function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, ignoreDiscr
98
98
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
99
99
  };
100
100
  }
101
- function GetProductChildrenOverlayTemplateRequestToJSON(json) {
102
- return GetProductChildrenOverlayTemplateRequestToJSONTyped(json, false);
101
+ function IndexProductChildRequestToJSON(json) {
102
+ return IndexProductChildRequestToJSONTyped(json, false);
103
103
  }
104
- function GetProductChildrenOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
104
+ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
105
105
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
106
106
  if (value == null) {
107
107
  return value;
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website: string;
47
+ website?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -28,8 +28,6 @@ function instanceOfStoreFrontendResource(value) {
28
28
  return false;
29
29
  if (!('email' in value) || value['email'] === undefined)
30
30
  return false;
31
- if (!('website' in value) || value['website'] === undefined)
32
- return false;
33
31
  if (!('phone' in value) || value['phone'] === undefined)
34
32
  return false;
35
33
  if (!('latitude' in value) || value['latitude'] === undefined)
@@ -56,7 +54,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
56
54
  'siteId': json['siteId'],
57
55
  'name': json['name'],
58
56
  'email': json['email'],
59
- 'website': json['website'],
57
+ 'website': json['website'] == null ? undefined : json['website'],
60
58
  'phone': json['phone'],
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website?: string | null;
72
+ website: string;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfStoreListResource(value) {
37
37
  return false;
38
38
  if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
+ if (!('website' in value) || value['website'] === undefined)
41
+ return false;
40
42
  return true;
41
43
  }
42
44
  function StoreListResourceFromJSON(json) {
@@ -55,7 +57,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
55
57
  'latitude': json['latitude'],
56
58
  'tagLine': json['tag_line'],
57
59
  'email': json['email'],
58
- 'website': json['website'] == null ? undefined : json['website'],
60
+ 'website': json['website'],
59
61
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
60
62
  };
61
63
  }
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website?: string | null;
75
+ website: string;
76
76
  /**
77
77
  *
78
78
  * @type {string}
@@ -40,6 +40,8 @@ function instanceOfStoreResource(value) {
40
40
  return false;
41
41
  if (!('email' in value) || value['email'] === undefined)
42
42
  return false;
43
+ if (!('website' in value) || value['website'] === undefined)
44
+ return false;
43
45
  if (!('suppliers' in value) || value['suppliers'] === undefined)
44
46
  return false;
45
47
  if (!('address' in value) || value['address'] === undefined)
@@ -64,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
64
66
  'latitude': json['latitude'],
65
67
  'tagLine': json['tag_line'],
66
68
  'email': json['email'],
67
- 'website': json['website'] == null ? undefined : json['website'],
69
+ 'website': json['website'],
68
70
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
71
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
70
72
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),