@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
@@ -0,0 +1,98 @@
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 GetAllProductRangeRequest
16
+ */
17
+ export interface GetAllProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetAllProductRangeRequest
22
+ */
23
+ search?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetAllProductRangeRequest
28
+ */
29
+ sortBy?: GetAllProductRangeRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetAllProductRangeRequest
34
+ */
35
+ sortDirection?: GetAllProductRangeRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GetAllProductRangeRequest
40
+ */
41
+ relatedId?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GetAllProductRangeRequest
46
+ */
47
+ relatedType?: string;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof GetAllProductRangeRequest
52
+ */
53
+ includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllProductRangeRequest
58
+ */
59
+ siteDetailsSiteId?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof GetAllProductRangeRequest
64
+ */
65
+ supplierId?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof GetAllProductRangeRequest
70
+ */
71
+ siteDetailsCategoriesId?: Array<string>;
72
+ }
73
+ /**
74
+ * @export
75
+ */
76
+ export declare const GetAllProductRangeRequestSortByEnum: {
77
+ readonly Id: "id";
78
+ readonly Name: "name";
79
+ readonly CreatedAt: "created_at";
80
+ readonly UpdatedAt: "updated_at";
81
+ };
82
+ export type GetAllProductRangeRequestSortByEnum = typeof GetAllProductRangeRequestSortByEnum[keyof typeof GetAllProductRangeRequestSortByEnum];
83
+ /**
84
+ * @export
85
+ */
86
+ export declare const GetAllProductRangeRequestSortDirectionEnum: {
87
+ readonly Asc: "asc";
88
+ readonly Desc: "desc";
89
+ };
90
+ export type GetAllProductRangeRequestSortDirectionEnum = typeof GetAllProductRangeRequestSortDirectionEnum[keyof typeof GetAllProductRangeRequestSortDirectionEnum];
91
+ /**
92
+ * Check if a given object implements the GetAllProductRangeRequest interface.
93
+ */
94
+ export declare function instanceOfGetAllProductRangeRequest(value: object): value is GetAllProductRangeRequest;
95
+ export declare function GetAllProductRangeRequestFromJSON(json: any): GetAllProductRangeRequest;
96
+ export declare function GetAllProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRangeRequest;
97
+ export declare function GetAllProductRangeRequestToJSON(json: any): GetAllProductRangeRequest;
98
+ export declare function GetAllProductRangeRequestToJSONTyped(value?: GetAllProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,82 @@
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.GetAllProductRangeRequestSortDirectionEnum = exports.GetAllProductRangeRequestSortByEnum = void 0;
17
+ exports.instanceOfGetAllProductRangeRequest = instanceOfGetAllProductRangeRequest;
18
+ exports.GetAllProductRangeRequestFromJSON = GetAllProductRangeRequestFromJSON;
19
+ exports.GetAllProductRangeRequestFromJSONTyped = GetAllProductRangeRequestFromJSONTyped;
20
+ exports.GetAllProductRangeRequestToJSON = GetAllProductRangeRequestToJSON;
21
+ exports.GetAllProductRangeRequestToJSONTyped = GetAllProductRangeRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetAllProductRangeRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.GetAllProductRangeRequestSortDirectionEnum = {
35
+ Asc: 'asc',
36
+ Desc: 'desc'
37
+ };
38
+ /**
39
+ * Check if a given object implements the GetAllProductRangeRequest interface.
40
+ */
41
+ function instanceOfGetAllProductRangeRequest(value) {
42
+ return true;
43
+ }
44
+ function GetAllProductRangeRequestFromJSON(json) {
45
+ return GetAllProductRangeRequestFromJSONTyped(json, false);
46
+ }
47
+ function GetAllProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'search': json['search'] == null ? undefined : json['search'],
53
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
54
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
56
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
57
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
58
+ 'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
59
+ 'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
60
+ 'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
61
+ };
62
+ }
63
+ function GetAllProductRangeRequestToJSON(json) {
64
+ return GetAllProductRangeRequestToJSONTyped(json, false);
65
+ }
66
+ function GetAllProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
67
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'search': value['search'],
73
+ 'sortBy': value['sortBy'],
74
+ 'sortDirection': value['sortDirection'],
75
+ 'related_id': value['relatedId'],
76
+ 'related_type': value['relatedType'],
77
+ 'includes_relations': value['includesRelations'],
78
+ 'siteDetails-site_id': value['siteDetailsSiteId'],
79
+ 'supplier_id': value['supplierId'],
80
+ 'siteDetails-categories-id': value['siteDetailsCategoriesId'],
81
+ };
82
+ }
@@ -105,6 +105,8 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
105
105
  */
106
106
  export declare const IndexAttributeRequestRelatedTypeEnum: {
107
107
  readonly ProductType: "productType";
108
+ readonly ProductRange: "productRange";
109
+ readonly Category: "category";
108
110
  };
109
111
  export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
110
112
  /**
@@ -39,7 +39,9 @@ exports.IndexAttributeRequestSortDirectionEnum = {
39
39
  * @export
40
40
  */
41
41
  exports.IndexAttributeRequestRelatedTypeEnum = {
42
- ProductType: 'productType'
42
+ ProductType: 'productType',
43
+ ProductRange: 'productRange',
44
+ Category: 'category'
43
45
  };
44
46
  /**
45
47
  * Check if a given object implements the IndexAttributeRequest interface.
@@ -93,6 +93,7 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
93
93
  */
94
94
  export declare const IndexDocumentRequestRelatedTypeEnum: {
95
95
  readonly ProductChild: "productChild";
96
+ readonly ProductRange: "productRange";
96
97
  readonly ProductRangeSite: "productRangeSite";
97
98
  };
98
99
  export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
@@ -40,6 +40,7 @@ exports.IndexDocumentRequestSortDirectionEnum = {
40
40
  */
41
41
  exports.IndexDocumentRequestRelatedTypeEnum = {
42
42
  ProductChild: 'productChild',
43
+ ProductRange: 'productRange',
43
44
  ProductRangeSite: 'productRangeSite'
44
45
  };
45
46
  /**
@@ -121,6 +121,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
121
121
  readonly Document: "document";
122
122
  readonly OverlayTemplate: "overlayTemplate";
123
123
  readonly ProductType: "productType";
124
+ readonly ProductRange: "productRange";
124
125
  readonly Supplier: "supplier";
125
126
  readonly Tag: "tag";
126
127
  readonly Site: "site";
@@ -56,6 +56,7 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
56
56
  Document: 'document',
57
57
  OverlayTemplate: 'overlayTemplate',
58
58
  ProductType: 'productType',
59
+ ProductRange: 'productRange',
59
60
  Supplier: 'supplier',
60
61
  Tag: 'tag',
61
62
  Site: 'site'
@@ -0,0 +1,110 @@
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 IndexProductRangeRequest
16
+ */
17
+ export interface IndexProductRangeRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexProductRangeRequest
22
+ */
23
+ search?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof IndexProductRangeRequest
28
+ */
29
+ sortBy?: IndexProductRangeRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IndexProductRangeRequest
34
+ */
35
+ sortDirection?: IndexProductRangeRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexProductRangeRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexProductRangeRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexProductRangeRequest
52
+ */
53
+ siteDetailsSiteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof IndexProductRangeRequest
58
+ */
59
+ supplierId?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof IndexProductRangeRequest
64
+ */
65
+ siteDetailsCategoriesId?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof IndexProductRangeRequest
70
+ */
71
+ relatedId?: number;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof IndexProductRangeRequest
76
+ */
77
+ relatedType?: string;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof IndexProductRangeRequest
82
+ */
83
+ includesRelations?: boolean;
84
+ }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const IndexProductRangeRequestSortByEnum: {
89
+ readonly Id: "id";
90
+ readonly Name: "name";
91
+ readonly CreatedAt: "created_at";
92
+ readonly UpdatedAt: "updated_at";
93
+ };
94
+ export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
95
+ /**
96
+ * @export
97
+ */
98
+ export declare const IndexProductRangeRequestSortDirectionEnum: {
99
+ readonly Asc: "asc";
100
+ readonly Desc: "desc";
101
+ };
102
+ export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
103
+ /**
104
+ * Check if a given object implements the IndexProductRangeRequest interface.
105
+ */
106
+ export declare function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest;
107
+ export declare function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest;
108
+ export declare function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest;
109
+ export declare function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest;
110
+ export declare function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,86 @@
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.IndexProductRangeRequestSortDirectionEnum = exports.IndexProductRangeRequestSortByEnum = void 0;
17
+ exports.instanceOfIndexProductRangeRequest = instanceOfIndexProductRangeRequest;
18
+ exports.IndexProductRangeRequestFromJSON = IndexProductRangeRequestFromJSON;
19
+ exports.IndexProductRangeRequestFromJSONTyped = IndexProductRangeRequestFromJSONTyped;
20
+ exports.IndexProductRangeRequestToJSON = IndexProductRangeRequestToJSON;
21
+ exports.IndexProductRangeRequestToJSONTyped = IndexProductRangeRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IndexProductRangeRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.IndexProductRangeRequestSortDirectionEnum = {
35
+ Asc: 'asc',
36
+ Desc: 'desc'
37
+ };
38
+ /**
39
+ * Check if a given object implements the IndexProductRangeRequest interface.
40
+ */
41
+ function instanceOfIndexProductRangeRequest(value) {
42
+ return true;
43
+ }
44
+ function IndexProductRangeRequestFromJSON(json) {
45
+ return IndexProductRangeRequestFromJSONTyped(json, false);
46
+ }
47
+ function IndexProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'search': json['search'] == null ? undefined : json['search'],
53
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
54
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
56
+ 'page': json['page'] == null ? undefined : json['page'],
57
+ 'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
58
+ 'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
59
+ 'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
60
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
61
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
62
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
63
+ };
64
+ }
65
+ function IndexProductRangeRequestToJSON(json) {
66
+ return IndexProductRangeRequestToJSONTyped(json, false);
67
+ }
68
+ function IndexProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
69
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'search': value['search'],
75
+ 'sortBy': value['sortBy'],
76
+ 'sortDirection': value['sortDirection'],
77
+ 'per_page': value['perPage'],
78
+ 'page': value['page'],
79
+ 'siteDetails-site_id': value['siteDetailsSiteId'],
80
+ 'supplier_id': value['supplierId'],
81
+ 'siteDetails-categories-id': value['siteDetailsCategoriesId'],
82
+ 'related_id': value['relatedId'],
83
+ 'related_type': value['relatedType'],
84
+ 'includes_relations': value['includesRelations'],
85
+ };
86
+ }
@@ -0,0 +1,40 @@
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 { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedProductRangeFrontendListResourceResponse
18
+ */
19
+ export interface PaginatedProductRangeFrontendListResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<ProductRangeFrontendListResource>}
23
+ * @memberof PaginatedProductRangeFrontendListResourceResponse
24
+ */
25
+ data: Array<ProductRangeFrontendListResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedProductRangeFrontendListResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedProductRangeFrontendListResourceResponse(value: object): value is PaginatedProductRangeFrontendListResourceResponse;
37
+ export declare function PaginatedProductRangeFrontendListResourceResponseFromJSON(json: any): PaginatedProductRangeFrontendListResourceResponse;
38
+ export declare function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeFrontendListResourceResponse;
39
+ export declare function PaginatedProductRangeFrontendListResourceResponseToJSON(json: any): PaginatedProductRangeFrontendListResourceResponse;
40
+ export declare function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value?: PaginatedProductRangeFrontendListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfPaginatedProductRangeFrontendListResourceResponse = instanceOfPaginatedProductRangeFrontendListResourceResponse;
17
+ exports.PaginatedProductRangeFrontendListResourceResponseFromJSON = PaginatedProductRangeFrontendListResourceResponseFromJSON;
18
+ exports.PaginatedProductRangeFrontendListResourceResponseFromJSONTyped = PaginatedProductRangeFrontendListResourceResponseFromJSONTyped;
19
+ exports.PaginatedProductRangeFrontendListResourceResponseToJSON = PaginatedProductRangeFrontendListResourceResponseToJSON;
20
+ exports.PaginatedProductRangeFrontendListResourceResponseToJSONTyped = PaginatedProductRangeFrontendListResourceResponseToJSONTyped;
21
+ var PagingMetadata_1 = require("./PagingMetadata");
22
+ var ProductRangeFrontendListResource_1 = require("./ProductRangeFrontendListResource");
23
+ /**
24
+ * Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
25
+ */
26
+ function instanceOfPaginatedProductRangeFrontendListResourceResponse(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 PaginatedProductRangeFrontendListResourceResponseFromJSON(json) {
34
+ return PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'data': (json['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceFromJSON)),
42
+ 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
+ };
44
+ }
45
+ function PaginatedProductRangeFrontendListResourceResponseToJSON(json) {
46
+ return PaginatedProductRangeFrontendListResourceResponseToJSONTyped(json, false);
47
+ }
48
+ function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'data': (value['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceToJSON)),
55
+ 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
+ };
57
+ }
@@ -0,0 +1,40 @@
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 { ProductRangeListResource } from './ProductRangeListResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedProductRangeListResourceResponse
18
+ */
19
+ export interface PaginatedProductRangeListResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<ProductRangeListResource>}
23
+ * @memberof PaginatedProductRangeListResourceResponse
24
+ */
25
+ data: Array<ProductRangeListResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedProductRangeListResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedProductRangeListResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedProductRangeListResourceResponse(value: object): value is PaginatedProductRangeListResourceResponse;
37
+ export declare function PaginatedProductRangeListResourceResponseFromJSON(json: any): PaginatedProductRangeListResourceResponse;
38
+ export declare function PaginatedProductRangeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeListResourceResponse;
39
+ export declare function PaginatedProductRangeListResourceResponseToJSON(json: any): PaginatedProductRangeListResourceResponse;
40
+ export declare function PaginatedProductRangeListResourceResponseToJSONTyped(value?: PaginatedProductRangeListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfPaginatedProductRangeListResourceResponse = instanceOfPaginatedProductRangeListResourceResponse;
17
+ exports.PaginatedProductRangeListResourceResponseFromJSON = PaginatedProductRangeListResourceResponseFromJSON;
18
+ exports.PaginatedProductRangeListResourceResponseFromJSONTyped = PaginatedProductRangeListResourceResponseFromJSONTyped;
19
+ exports.PaginatedProductRangeListResourceResponseToJSON = PaginatedProductRangeListResourceResponseToJSON;
20
+ exports.PaginatedProductRangeListResourceResponseToJSONTyped = PaginatedProductRangeListResourceResponseToJSONTyped;
21
+ var PagingMetadata_1 = require("./PagingMetadata");
22
+ var ProductRangeListResource_1 = require("./ProductRangeListResource");
23
+ /**
24
+ * Check if a given object implements the PaginatedProductRangeListResourceResponse interface.
25
+ */
26
+ function instanceOfPaginatedProductRangeListResourceResponse(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 PaginatedProductRangeListResourceResponseFromJSON(json) {
34
+ return PaginatedProductRangeListResourceResponseFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedProductRangeListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'data': (json['data'].map(ProductRangeListResource_1.ProductRangeListResourceFromJSON)),
42
+ 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
+ };
44
+ }
45
+ function PaginatedProductRangeListResourceResponseToJSON(json) {
46
+ return PaginatedProductRangeListResourceResponseToJSONTyped(json, false);
47
+ }
48
+ function PaginatedProductRangeListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'data': (value['data'].map(ProductRangeListResource_1.ProductRangeListResourceToJSON)),
55
+ 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
+ };
57
+ }
@@ -0,0 +1,40 @@
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 { ProductRangeLiteResource } from './ProductRangeLiteResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedProductRangeLiteResourceResponse
18
+ */
19
+ export interface PaginatedProductRangeLiteResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<ProductRangeLiteResource>}
23
+ * @memberof PaginatedProductRangeLiteResourceResponse
24
+ */
25
+ data: Array<ProductRangeLiteResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedProductRangeLiteResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedProductRangeLiteResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedProductRangeLiteResourceResponse(value: object): value is PaginatedProductRangeLiteResourceResponse;
37
+ export declare function PaginatedProductRangeLiteResourceResponseFromJSON(json: any): PaginatedProductRangeLiteResourceResponse;
38
+ export declare function PaginatedProductRangeLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeLiteResourceResponse;
39
+ export declare function PaginatedProductRangeLiteResourceResponseToJSON(json: any): PaginatedProductRangeLiteResourceResponse;
40
+ export declare function PaginatedProductRangeLiteResourceResponseToJSONTyped(value?: PaginatedProductRangeLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;