@digital8/lighting-illusions-ts-sdk 0.0.708 → 0.0.710

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 (149) hide show
  1. package/.openapi-generator/FILES +56 -0
  2. package/README.md +43 -2
  3. package/dist/apis/ProductRangeApi.d.ts +181 -0
  4. package/dist/apis/ProductRangeApi.js +739 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
  8. package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
  9. package/dist/models/AttachAttributesProductRangeRequest.d.ts +32 -0
  10. package/dist/models/AttachAttributesProductRangeRequest.js +51 -0
  11. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  12. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  13. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
  14. package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
  15. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
  16. package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
  17. package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
  18. package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
  19. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  20. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  21. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
  22. package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
  23. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  24. package/dist/models/ExternalApiLogResource.js +1 -3
  25. package/dist/models/GetAllDocumentRequest.d.ts +1 -0
  26. package/dist/models/GetAllDocumentRequest.js +1 -0
  27. package/dist/models/GetAllProductChildRequest.d.ts +1 -0
  28. package/dist/models/GetAllProductChildRequest.js +1 -0
  29. package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
  30. package/dist/models/GetAllProductRangeRequest.js +82 -0
  31. package/dist/models/IndexAttributeRequest.d.ts +2 -0
  32. package/dist/models/IndexAttributeRequest.js +3 -1
  33. package/dist/models/IndexDocumentRequest.d.ts +1 -0
  34. package/dist/models/IndexDocumentRequest.js +1 -0
  35. package/dist/models/IndexProductChildRequest.d.ts +1 -0
  36. package/dist/models/IndexProductChildRequest.js +1 -0
  37. package/dist/models/IndexProductRangeRequest.d.ts +110 -0
  38. package/dist/models/IndexProductRangeRequest.js +86 -0
  39. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
  40. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
  41. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
  42. package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
  43. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
  44. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
  45. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
  47. package/dist/models/ProductChildResource.d.ts +7 -1
  48. package/dist/models/ProductChildResource.js +4 -2
  49. package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
  50. package/dist/models/ProductRangeFrontendListResource.js +71 -0
  51. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
  53. package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
  54. package/dist/models/ProductRangeFrontendResource.js +109 -0
  55. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
  56. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
  57. package/dist/models/ProductRangeListResource.d.ts +52 -0
  58. package/dist/models/ProductRangeListResource.js +65 -0
  59. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
  60. package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
  61. package/dist/models/ProductRangeLiteResource.d.ts +38 -0
  62. package/dist/models/ProductRangeLiteResource.js +55 -0
  63. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
  64. package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
  65. package/dist/models/ProductRangeResource.d.ts +83 -0
  66. package/dist/models/ProductRangeResource.js +82 -0
  67. package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
  69. package/dist/models/ProductRangeSiteDetailResource.d.ts +94 -0
  70. package/dist/models/ProductRangeSiteDetailResource.js +93 -0
  71. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
  73. package/dist/models/StoreProductRangeRequest.d.ts +52 -0
  74. package/dist/models/StoreProductRangeRequest.js +59 -0
  75. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
  76. package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
  77. package/dist/models/UpdateProductRangeRequest.d.ts +52 -0
  78. package/dist/models/UpdateProductRangeRequest.js +59 -0
  79. package/dist/models/index.d.ts +27 -0
  80. package/dist/models/index.js +27 -0
  81. package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
  82. package/docs/AttachAttributesProductRangeRequest.md +34 -0
  83. package/docs/AttachDocumentsProductRangeRequest.md +34 -0
  84. package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
  85. package/docs/DetachAttributesProductRangeRequest.md +34 -0
  86. package/docs/DetachDocumentsProductRangeRequest.md +34 -0
  87. package/docs/GetAllProductRangeRequest.md +50 -0
  88. package/docs/IndexProductRangeRequest.md +54 -0
  89. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
  90. package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
  91. package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
  92. package/docs/PaginatedProductRangeResourceResponse.md +36 -0
  93. package/docs/ProductChildResource.md +4 -2
  94. package/docs/ProductRangeApi.md +959 -0
  95. package/docs/ProductRangeFrontendListResource.md +44 -0
  96. package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
  97. package/docs/ProductRangeFrontendResource.md +62 -0
  98. package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
  99. package/docs/ProductRangeListResource.md +40 -0
  100. package/docs/ProductRangeListResourceArrayResponse.md +34 -0
  101. package/docs/ProductRangeLiteResource.md +36 -0
  102. package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
  103. package/docs/ProductRangeResource.md +50 -0
  104. package/docs/ProductRangeResourceArrayResponse.md +34 -0
  105. package/docs/ProductRangeSiteDetailResource.md +54 -0
  106. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
  107. package/docs/StoreProductRangeRequest.md +40 -0
  108. package/docs/StoreProductRangeRequestSitesInner.md +54 -0
  109. package/docs/UpdateProductRangeRequest.md +40 -0
  110. package/package.json +1 -1
  111. package/src/apis/ProductRangeApi.ts +664 -0
  112. package/src/apis/index.ts +1 -0
  113. package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
  114. package/src/models/AttachAttributesProductRangeRequest.ts +66 -0
  115. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  116. package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
  117. package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
  118. package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
  119. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  120. package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
  121. package/src/models/ExternalApiLogResource.ts +2 -3
  122. package/src/models/GetAllDocumentRequest.ts +1 -0
  123. package/src/models/GetAllProductChildRequest.ts +1 -0
  124. package/src/models/GetAllProductRangeRequest.ts +151 -0
  125. package/src/models/IndexAttributeRequest.ts +3 -1
  126. package/src/models/IndexDocumentRequest.ts +1 -0
  127. package/src/models/IndexProductChildRequest.ts +1 -0
  128. package/src/models/IndexProductRangeRequest.ts +167 -0
  129. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
  130. package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
  131. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
  132. package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
  133. package/src/models/ProductChildResource.ts +11 -3
  134. package/src/models/ProductRangeFrontendListResource.ts +111 -0
  135. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
  136. package/src/models/ProductRangeFrontendResource.ts +207 -0
  137. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
  138. package/src/models/ProductRangeListResource.ts +108 -0
  139. package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
  140. package/src/models/ProductRangeLiteResource.ts +75 -0
  141. package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
  142. package/src/models/ProductRangeResource.ts +158 -0
  143. package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
  144. package/src/models/ProductRangeSiteDetailResource.ts +171 -0
  145. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
  146. package/src/models/StoreProductRangeRequest.ts +105 -0
  147. package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
  148. package/src/models/UpdateProductRangeRequest.ts +105 -0
  149. package/src/models/index.ts +27 -0
@@ -7,6 +7,7 @@ export * from './GoogleCategoryApi';
7
7
  export * from './OverlayTemplateApi';
8
8
  export * from './ProductApi';
9
9
  export * from './ProductCategoryApi';
10
+ export * from './ProductRangeApi';
10
11
  export * from './ProductTypeApi';
11
12
  export * from './SiteApi';
12
13
  export * from './SupplierApi';
@@ -25,6 +25,7 @@ __exportStar(require("./GoogleCategoryApi"), exports);
25
25
  __exportStar(require("./OverlayTemplateApi"), exports);
26
26
  __exportStar(require("./ProductApi"), exports);
27
27
  __exportStar(require("./ProductCategoryApi"), exports);
28
+ __exportStar(require("./ProductRangeApi"), exports);
28
29
  __exportStar(require("./ProductTypeApi"), exports);
29
30
  __exportStar(require("./SiteApi"), exports);
30
31
  __exportStar(require("./SupplierApi"), exports);
@@ -0,0 +1,32 @@
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 AttachAccessoriesProductRangeRequest
16
+ */
17
+ export interface AttachAccessoriesProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof AttachAccessoriesProductRangeRequest
22
+ */
23
+ productChildIds: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AttachAccessoriesProductRangeRequest interface.
27
+ */
28
+ export declare function instanceOfAttachAccessoriesProductRangeRequest(value: object): value is AttachAccessoriesProductRangeRequest;
29
+ export declare function AttachAccessoriesProductRangeRequestFromJSON(json: any): AttachAccessoriesProductRangeRequest;
30
+ export declare function AttachAccessoriesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAccessoriesProductRangeRequest;
31
+ export declare function AttachAccessoriesProductRangeRequestToJSON(json: any): AttachAccessoriesProductRangeRequest;
32
+ export declare function AttachAccessoriesProductRangeRequestToJSONTyped(value?: AttachAccessoriesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfAttachAccessoriesProductRangeRequest = instanceOfAttachAccessoriesProductRangeRequest;
17
+ exports.AttachAccessoriesProductRangeRequestFromJSON = AttachAccessoriesProductRangeRequestFromJSON;
18
+ exports.AttachAccessoriesProductRangeRequestFromJSONTyped = AttachAccessoriesProductRangeRequestFromJSONTyped;
19
+ exports.AttachAccessoriesProductRangeRequestToJSON = AttachAccessoriesProductRangeRequestToJSON;
20
+ exports.AttachAccessoriesProductRangeRequestToJSONTyped = AttachAccessoriesProductRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AttachAccessoriesProductRangeRequest interface.
23
+ */
24
+ function instanceOfAttachAccessoriesProductRangeRequest(value) {
25
+ if (!('productChildIds' in value) || value['productChildIds'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AttachAccessoriesProductRangeRequestFromJSON(json) {
30
+ return AttachAccessoriesProductRangeRequestFromJSONTyped(json, false);
31
+ }
32
+ function AttachAccessoriesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'productChildIds': json['product_child_ids'],
38
+ };
39
+ }
40
+ function AttachAccessoriesProductRangeRequestToJSON(json) {
41
+ return AttachAccessoriesProductRangeRequestToJSONTyped(json, false);
42
+ }
43
+ function AttachAccessoriesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'product_child_ids': value['productChildIds'],
50
+ };
51
+ }
@@ -0,0 +1,32 @@
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 AttachAttributesProductRangeRequest
16
+ */
17
+ export interface AttachAttributesProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof AttachAttributesProductRangeRequest
22
+ */
23
+ attributes: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AttachAttributesProductRangeRequest interface.
27
+ */
28
+ export declare function instanceOfAttachAttributesProductRangeRequest(value: object): value is AttachAttributesProductRangeRequest;
29
+ export declare function AttachAttributesProductRangeRequestFromJSON(json: any): AttachAttributesProductRangeRequest;
30
+ export declare function AttachAttributesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAttributesProductRangeRequest;
31
+ export declare function AttachAttributesProductRangeRequestToJSON(json: any): AttachAttributesProductRangeRequest;
32
+ export declare function AttachAttributesProductRangeRequestToJSONTyped(value?: AttachAttributesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfAttachAttributesProductRangeRequest = instanceOfAttachAttributesProductRangeRequest;
17
+ exports.AttachAttributesProductRangeRequestFromJSON = AttachAttributesProductRangeRequestFromJSON;
18
+ exports.AttachAttributesProductRangeRequestFromJSONTyped = AttachAttributesProductRangeRequestFromJSONTyped;
19
+ exports.AttachAttributesProductRangeRequestToJSON = AttachAttributesProductRangeRequestToJSON;
20
+ exports.AttachAttributesProductRangeRequestToJSONTyped = AttachAttributesProductRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AttachAttributesProductRangeRequest interface.
23
+ */
24
+ function instanceOfAttachAttributesProductRangeRequest(value) {
25
+ if (!('attributes' in value) || value['attributes'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AttachAttributesProductRangeRequestFromJSON(json) {
30
+ return AttachAttributesProductRangeRequestFromJSONTyped(json, false);
31
+ }
32
+ function AttachAttributesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'attributes': json['attributes'],
38
+ };
39
+ }
40
+ function AttachAttributesProductRangeRequestToJSON(json) {
41
+ return AttachAttributesProductRangeRequestToJSONTyped(json, false);
42
+ }
43
+ function AttachAttributesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'attributes': value['attributes'],
50
+ };
51
+ }
@@ -39,6 +39,7 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
39
39
  */
40
40
  export declare const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
41
41
  readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
42
+ readonly AppModelsProductRangesProductRange: "App\\Models\\ProductRanges\\ProductRange";
42
43
  readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
43
44
  };
44
45
  export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
@@ -24,6 +24,7 @@ exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Attach
24
24
  */
25
25
  exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
26
26
  AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
27
+ AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
27
28
  AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
28
29
  };
29
30
  /**
@@ -0,0 +1,33 @@
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 { AttachDocumentsProductChildRequestDocumentsInner } from './AttachDocumentsProductChildRequestDocumentsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AttachDocumentsProductRangeRequest
17
+ */
18
+ export interface AttachDocumentsProductRangeRequest {
19
+ /**
20
+ *
21
+ * @type {Array<AttachDocumentsProductChildRequestDocumentsInner>}
22
+ * @memberof AttachDocumentsProductRangeRequest
23
+ */
24
+ documents: Array<AttachDocumentsProductChildRequestDocumentsInner>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AttachDocumentsProductRangeRequest interface.
28
+ */
29
+ export declare function instanceOfAttachDocumentsProductRangeRequest(value: object): value is AttachDocumentsProductRangeRequest;
30
+ export declare function AttachDocumentsProductRangeRequestFromJSON(json: any): AttachDocumentsProductRangeRequest;
31
+ export declare function AttachDocumentsProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentsProductRangeRequest;
32
+ export declare function AttachDocumentsProductRangeRequestToJSON(json: any): AttachDocumentsProductRangeRequest;
33
+ export declare function AttachDocumentsProductRangeRequestToJSONTyped(value?: AttachDocumentsProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfAttachDocumentsProductRangeRequest = instanceOfAttachDocumentsProductRangeRequest;
17
+ exports.AttachDocumentsProductRangeRequestFromJSON = AttachDocumentsProductRangeRequestFromJSON;
18
+ exports.AttachDocumentsProductRangeRequestFromJSONTyped = AttachDocumentsProductRangeRequestFromJSONTyped;
19
+ exports.AttachDocumentsProductRangeRequestToJSON = AttachDocumentsProductRangeRequestToJSON;
20
+ exports.AttachDocumentsProductRangeRequestToJSONTyped = AttachDocumentsProductRangeRequestToJSONTyped;
21
+ var AttachDocumentsProductChildRequestDocumentsInner_1 = require("./AttachDocumentsProductChildRequestDocumentsInner");
22
+ /**
23
+ * Check if a given object implements the AttachDocumentsProductRangeRequest interface.
24
+ */
25
+ function instanceOfAttachDocumentsProductRangeRequest(value) {
26
+ if (!('documents' in value) || value['documents'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AttachDocumentsProductRangeRequestFromJSON(json) {
31
+ return AttachDocumentsProductRangeRequestFromJSONTyped(json, false);
32
+ }
33
+ function AttachDocumentsProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'documents': (json['documents'].map(AttachDocumentsProductChildRequestDocumentsInner_1.AttachDocumentsProductChildRequestDocumentsInnerFromJSON)),
39
+ };
40
+ }
41
+ function AttachDocumentsProductRangeRequestToJSON(json) {
42
+ return AttachDocumentsProductRangeRequestToJSONTyped(json, false);
43
+ }
44
+ function AttachDocumentsProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'documents': (value['documents'].map(AttachDocumentsProductChildRequestDocumentsInner_1.AttachDocumentsProductChildRequestDocumentsInnerToJSON)),
51
+ };
52
+ }
@@ -0,0 +1,32 @@
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 DetachAccessoriesProductRangeRequest
16
+ */
17
+ export interface DetachAccessoriesProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof DetachAccessoriesProductRangeRequest
22
+ */
23
+ productChildIds: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the DetachAccessoriesProductRangeRequest interface.
27
+ */
28
+ export declare function instanceOfDetachAccessoriesProductRangeRequest(value: object): value is DetachAccessoriesProductRangeRequest;
29
+ export declare function DetachAccessoriesProductRangeRequestFromJSON(json: any): DetachAccessoriesProductRangeRequest;
30
+ export declare function DetachAccessoriesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachAccessoriesProductRangeRequest;
31
+ export declare function DetachAccessoriesProductRangeRequestToJSON(json: any): DetachAccessoriesProductRangeRequest;
32
+ export declare function DetachAccessoriesProductRangeRequestToJSONTyped(value?: DetachAccessoriesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfDetachAccessoriesProductRangeRequest = instanceOfDetachAccessoriesProductRangeRequest;
17
+ exports.DetachAccessoriesProductRangeRequestFromJSON = DetachAccessoriesProductRangeRequestFromJSON;
18
+ exports.DetachAccessoriesProductRangeRequestFromJSONTyped = DetachAccessoriesProductRangeRequestFromJSONTyped;
19
+ exports.DetachAccessoriesProductRangeRequestToJSON = DetachAccessoriesProductRangeRequestToJSON;
20
+ exports.DetachAccessoriesProductRangeRequestToJSONTyped = DetachAccessoriesProductRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DetachAccessoriesProductRangeRequest interface.
23
+ */
24
+ function instanceOfDetachAccessoriesProductRangeRequest(value) {
25
+ if (!('productChildIds' in value) || value['productChildIds'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function DetachAccessoriesProductRangeRequestFromJSON(json) {
30
+ return DetachAccessoriesProductRangeRequestFromJSONTyped(json, false);
31
+ }
32
+ function DetachAccessoriesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'productChildIds': json['product_child_ids'],
38
+ };
39
+ }
40
+ function DetachAccessoriesProductRangeRequestToJSON(json) {
41
+ return DetachAccessoriesProductRangeRequestToJSONTyped(json, false);
42
+ }
43
+ function DetachAccessoriesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'product_child_ids': value['productChildIds'],
50
+ };
51
+ }
@@ -0,0 +1,32 @@
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 DetachAttributesProductRangeRequest
16
+ */
17
+ export interface DetachAttributesProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof DetachAttributesProductRangeRequest
22
+ */
23
+ attributes: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the DetachAttributesProductRangeRequest interface.
27
+ */
28
+ export declare function instanceOfDetachAttributesProductRangeRequest(value: object): value is DetachAttributesProductRangeRequest;
29
+ export declare function DetachAttributesProductRangeRequestFromJSON(json: any): DetachAttributesProductRangeRequest;
30
+ export declare function DetachAttributesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachAttributesProductRangeRequest;
31
+ export declare function DetachAttributesProductRangeRequestToJSON(json: any): DetachAttributesProductRangeRequest;
32
+ export declare function DetachAttributesProductRangeRequestToJSONTyped(value?: DetachAttributesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfDetachAttributesProductRangeRequest = instanceOfDetachAttributesProductRangeRequest;
17
+ exports.DetachAttributesProductRangeRequestFromJSON = DetachAttributesProductRangeRequestFromJSON;
18
+ exports.DetachAttributesProductRangeRequestFromJSONTyped = DetachAttributesProductRangeRequestFromJSONTyped;
19
+ exports.DetachAttributesProductRangeRequestToJSON = DetachAttributesProductRangeRequestToJSON;
20
+ exports.DetachAttributesProductRangeRequestToJSONTyped = DetachAttributesProductRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DetachAttributesProductRangeRequest interface.
23
+ */
24
+ function instanceOfDetachAttributesProductRangeRequest(value) {
25
+ if (!('attributes' in value) || value['attributes'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function DetachAttributesProductRangeRequestFromJSON(json) {
30
+ return DetachAttributesProductRangeRequestFromJSONTyped(json, false);
31
+ }
32
+ function DetachAttributesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'attributes': json['attributes'],
38
+ };
39
+ }
40
+ function DetachAttributesProductRangeRequestToJSON(json) {
41
+ return DetachAttributesProductRangeRequestToJSONTyped(json, false);
42
+ }
43
+ function DetachAttributesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'attributes': value['attributes'],
50
+ };
51
+ }
@@ -33,6 +33,7 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
33
33
  */
34
34
  export declare const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
35
35
  readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
36
+ readonly AppModelsProductRangesProductRange: "App\\Models\\ProductRanges\\ProductRange";
36
37
  readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
37
38
  };
38
39
  export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
@@ -24,6 +24,7 @@ exports.DetachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Detach
24
24
  */
25
25
  exports.DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
26
26
  AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
27
+ AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
27
28
  AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
28
29
  };
29
30
  /**
@@ -0,0 +1,32 @@
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 DetachDocumentsProductRangeRequest
16
+ */
17
+ export interface DetachDocumentsProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof DetachDocumentsProductRangeRequest
22
+ */
23
+ documents: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the DetachDocumentsProductRangeRequest interface.
27
+ */
28
+ export declare function instanceOfDetachDocumentsProductRangeRequest(value: object): value is DetachDocumentsProductRangeRequest;
29
+ export declare function DetachDocumentsProductRangeRequestFromJSON(json: any): DetachDocumentsProductRangeRequest;
30
+ export declare function DetachDocumentsProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachDocumentsProductRangeRequest;
31
+ export declare function DetachDocumentsProductRangeRequestToJSON(json: any): DetachDocumentsProductRangeRequest;
32
+ export declare function DetachDocumentsProductRangeRequestToJSONTyped(value?: DetachDocumentsProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfDetachDocumentsProductRangeRequest = instanceOfDetachDocumentsProductRangeRequest;
17
+ exports.DetachDocumentsProductRangeRequestFromJSON = DetachDocumentsProductRangeRequestFromJSON;
18
+ exports.DetachDocumentsProductRangeRequestFromJSONTyped = DetachDocumentsProductRangeRequestFromJSONTyped;
19
+ exports.DetachDocumentsProductRangeRequestToJSON = DetachDocumentsProductRangeRequestToJSON;
20
+ exports.DetachDocumentsProductRangeRequestToJSONTyped = DetachDocumentsProductRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DetachDocumentsProductRangeRequest interface.
23
+ */
24
+ function instanceOfDetachDocumentsProductRangeRequest(value) {
25
+ if (!('documents' in value) || value['documents'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function DetachDocumentsProductRangeRequestFromJSON(json) {
30
+ return DetachDocumentsProductRangeRequestFromJSONTyped(json, false);
31
+ }
32
+ function DetachDocumentsProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'documents': json['documents'],
38
+ };
39
+ }
40
+ function DetachDocumentsProductRangeRequestToJSON(json) {
41
+ return DetachDocumentsProductRangeRequestToJSONTyped(json, false);
42
+ }
43
+ function DetachDocumentsProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'documents': value['documents'],
50
+ };
51
+ }
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -81,6 +81,7 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
81
81
  */
82
82
  export declare const GetAllDocumentRequestRelatedTypeEnum: {
83
83
  readonly ProductChild: "productChild";
84
+ readonly ProductRange: "productRange";
84
85
  readonly ProductRangeSite: "productRangeSite";
85
86
  };
86
87
  export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
@@ -40,6 +40,7 @@ exports.GetAllDocumentRequestSortDirectionEnum = {
40
40
  */
41
41
  exports.GetAllDocumentRequestRelatedTypeEnum = {
42
42
  ProductChild: 'productChild',
43
+ ProductRange: 'productRange',
43
44
  ProductRangeSite: 'productRangeSite'
44
45
  };
45
46
  /**
@@ -101,6 +101,7 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
101
101
  */
102
102
  export declare const GetAllProductChildRequestRelatedTypeEnum: {
103
103
  readonly OverlayTemplate: "overlayTemplate";
104
+ readonly ProductRange: "productRange";
104
105
  readonly Supplier: "supplier";
105
106
  readonly Tag: "tag";
106
107
  readonly Document: "document";
@@ -48,6 +48,7 @@ exports.GetAllProductChildRequestSortDirectionEnum = {
48
48
  */
49
49
  exports.GetAllProductChildRequestRelatedTypeEnum = {
50
50
  OverlayTemplate: 'overlayTemplate',
51
+ ProductRange: 'productRange',
51
52
  Supplier: 'supplier',
52
53
  Tag: 'tag',
53
54
  Document: 'document'