@digital8/lighting-illusions-ts-sdk 0.0.721 → 0.0.722

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 (169) hide show
  1. package/.openapi-generator/FILES +0 -64
  2. package/README.md +2 -50
  3. package/dist/apis/AttributeApi.d.ts +1 -12
  4. package/dist/apis/AttributeApi.js +0 -45
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  8. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  9. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  10. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  11. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +1 -3
  13. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  14. package/dist/models/GetAllDocumentRequest.js +0 -1
  15. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  16. package/dist/models/GetAllProductChildRequest.js +0 -1
  17. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  18. package/dist/models/IndexAttributeRequest.js +1 -3
  19. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  20. package/dist/models/IndexDocumentRequest.js +0 -1
  21. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  22. package/dist/models/IndexProductChildRequest.js +0 -1
  23. package/dist/models/ProductChildResource.d.ts +1 -7
  24. package/dist/models/ProductChildResource.js +2 -4
  25. package/dist/models/index.d.ts +0 -31
  26. package/dist/models/index.js +0 -31
  27. package/docs/AttributeApi.md +0 -66
  28. package/docs/ProductChildResource.md +2 -4
  29. package/package.json +1 -1
  30. package/src/apis/AttributeApi.ts +0 -42
  31. package/src/apis/index.ts +0 -1
  32. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  33. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  34. package/src/models/ExternalApiLogResource.ts +2 -3
  35. package/src/models/GetAllDocumentRequest.ts +0 -1
  36. package/src/models/GetAllProductChildRequest.ts +0 -1
  37. package/src/models/IndexAttributeRequest.ts +1 -3
  38. package/src/models/IndexDocumentRequest.ts +0 -1
  39. package/src/models/IndexProductChildRequest.ts +0 -1
  40. package/src/models/ProductChildResource.ts +3 -11
  41. package/src/models/index.ts +0 -31
  42. package/dist/apis/ProductRangeApi.d.ts +0 -205
  43. package/dist/apis/ProductRangeApi.js +0 -835
  44. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  45. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  46. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -32
  47. package/dist/models/AttachAttributesProductRangeRequest.js +0 -51
  48. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  49. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  50. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  51. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  52. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  53. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  54. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  55. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  56. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  57. package/dist/models/GetAllProductRangeRequest.js +0 -82
  58. package/dist/models/IndexModelAttributeRequest.d.ts +0 -110
  59. package/dist/models/IndexModelAttributeRequest.js +0 -86
  60. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  61. package/dist/models/IndexProductRangeRequest.js +0 -86
  62. package/dist/models/ModelAttributeListResource.d.ts +0 -52
  63. package/dist/models/ModelAttributeListResource.js +0 -65
  64. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  65. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  66. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  67. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  68. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  69. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  70. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  71. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  72. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  73. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  74. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  75. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  76. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  77. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  78. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  79. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  80. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  81. package/dist/models/ProductRangeFrontendResource.js +0 -109
  82. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  83. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  84. package/dist/models/ProductRangeListResource.d.ts +0 -52
  85. package/dist/models/ProductRangeListResource.js +0 -65
  86. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  87. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  88. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  89. package/dist/models/ProductRangeLiteResource.js +0 -55
  90. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  92. package/dist/models/ProductRangeResource.d.ts +0 -83
  93. package/dist/models/ProductRangeResource.js +0 -82
  94. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  96. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -94
  97. package/dist/models/ProductRangeSiteDetailResource.js +0 -93
  98. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  100. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  101. package/dist/models/StoreProductRangeRequest.js +0 -59
  102. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  103. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  104. package/dist/models/UpdateProductRangeRequest.d.ts +0 -52
  105. package/dist/models/UpdateProductRangeRequest.js +0 -59
  106. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  107. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  108. package/docs/AttachDocumentsProductRangeRequest.md +0 -34
  109. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  110. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  111. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  112. package/docs/GetAllProductRangeRequest.md +0 -50
  113. package/docs/IndexModelAttributeRequest.md +0 -54
  114. package/docs/IndexProductRangeRequest.md +0 -54
  115. package/docs/ModelAttributeListResource.md +0 -40
  116. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  117. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  118. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  119. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  120. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  121. package/docs/PaginatedProductRangeResourceResponse.md +0 -36
  122. package/docs/ProductRangeApi.md +0 -1097
  123. package/docs/ProductRangeFrontendListResource.md +0 -44
  124. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  125. package/docs/ProductRangeFrontendResource.md +0 -62
  126. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  127. package/docs/ProductRangeListResource.md +0 -40
  128. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  129. package/docs/ProductRangeLiteResource.md +0 -36
  130. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  131. package/docs/ProductRangeResource.md +0 -50
  132. package/docs/ProductRangeResourceArrayResponse.md +0 -34
  133. package/docs/ProductRangeSiteDetailResource.md +0 -54
  134. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  135. package/docs/StoreProductRangeRequest.md +0 -40
  136. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  137. package/docs/UpdateProductRangeRequest.md +0 -40
  138. package/src/apis/ProductRangeApi.ts +0 -760
  139. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  140. package/src/models/AttachAttributesProductRangeRequest.ts +0 -66
  141. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  142. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  143. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  144. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  145. package/src/models/GetAllProductRangeRequest.ts +0 -151
  146. package/src/models/IndexModelAttributeRequest.ts +0 -167
  147. package/src/models/IndexProductRangeRequest.ts +0 -167
  148. package/src/models/ModelAttributeListResource.ts +0 -108
  149. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  150. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  151. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  152. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  153. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  154. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  155. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  156. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  157. package/src/models/ProductRangeFrontendResource.ts +0 -207
  158. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  159. package/src/models/ProductRangeListResource.ts +0 -108
  160. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  161. package/src/models/ProductRangeLiteResource.ts +0 -75
  162. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  163. package/src/models/ProductRangeResource.ts +0 -158
  164. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  165. package/src/models/ProductRangeSiteDetailResource.ts +0 -171
  166. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  167. package/src/models/StoreProductRangeRequest.ts +0 -105
  168. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  169. package/src/models/UpdateProductRangeRequest.ts +0 -105
@@ -1,82 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.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
- }
@@ -1,110 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface IndexModelAttributeRequest
16
- */
17
- export interface IndexModelAttributeRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IndexModelAttributeRequest
22
- */
23
- search?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof IndexModelAttributeRequest
28
- */
29
- sortBy?: IndexModelAttributeRequestSortByEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof IndexModelAttributeRequest
34
- */
35
- sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof IndexModelAttributeRequest
40
- */
41
- perPage?: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof IndexModelAttributeRequest
46
- */
47
- page?: number;
48
- /**
49
- *
50
- * @type {Array<string>}
51
- * @memberof IndexModelAttributeRequest
52
- */
53
- attributableType?: Array<string>;
54
- /**
55
- *
56
- * @type {Array<string>}
57
- * @memberof IndexModelAttributeRequest
58
- */
59
- attributableId?: Array<string>;
60
- /**
61
- *
62
- * @type {Array<string>}
63
- * @memberof IndexModelAttributeRequest
64
- */
65
- attributeId?: Array<string>;
66
- /**
67
- *
68
- * @type {number}
69
- * @memberof IndexModelAttributeRequest
70
- */
71
- relatedId?: number;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof IndexModelAttributeRequest
76
- */
77
- relatedType?: string;
78
- /**
79
- *
80
- * @type {boolean}
81
- * @memberof IndexModelAttributeRequest
82
- */
83
- includesRelations?: boolean;
84
- }
85
- /**
86
- * @export
87
- */
88
- export declare const IndexModelAttributeRequestSortByEnum: {
89
- readonly Id: "id";
90
- readonly AttributeId: "attribute_id";
91
- readonly CreatedAt: "created_at";
92
- readonly AttributeName: "attribute-name";
93
- };
94
- export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
95
- /**
96
- * @export
97
- */
98
- export declare const IndexModelAttributeRequestSortDirectionEnum: {
99
- readonly Asc: "asc";
100
- readonly Desc: "desc";
101
- };
102
- export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
103
- /**
104
- * Check if a given object implements the IndexModelAttributeRequest interface.
105
- */
106
- export declare function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest;
107
- export declare function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest;
108
- export declare function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest;
109
- export declare function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest;
110
- export declare function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,86 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexModelAttributeRequestSortDirectionEnum = exports.IndexModelAttributeRequestSortByEnum = void 0;
17
- exports.instanceOfIndexModelAttributeRequest = instanceOfIndexModelAttributeRequest;
18
- exports.IndexModelAttributeRequestFromJSON = IndexModelAttributeRequestFromJSON;
19
- exports.IndexModelAttributeRequestFromJSONTyped = IndexModelAttributeRequestFromJSONTyped;
20
- exports.IndexModelAttributeRequestToJSON = IndexModelAttributeRequestToJSON;
21
- exports.IndexModelAttributeRequestToJSONTyped = IndexModelAttributeRequestToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.IndexModelAttributeRequestSortByEnum = {
26
- Id: 'id',
27
- AttributeId: 'attribute_id',
28
- CreatedAt: 'created_at',
29
- AttributeName: 'attribute-name'
30
- };
31
- /**
32
- * @export
33
- */
34
- exports.IndexModelAttributeRequestSortDirectionEnum = {
35
- Asc: 'asc',
36
- Desc: 'desc'
37
- };
38
- /**
39
- * Check if a given object implements the IndexModelAttributeRequest interface.
40
- */
41
- function instanceOfIndexModelAttributeRequest(value) {
42
- return true;
43
- }
44
- function IndexModelAttributeRequestFromJSON(json) {
45
- return IndexModelAttributeRequestFromJSONTyped(json, false);
46
- }
47
- function IndexModelAttributeRequestFromJSONTyped(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
- 'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
58
- 'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
59
- 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_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 IndexModelAttributeRequestToJSON(json) {
66
- return IndexModelAttributeRequestToJSONTyped(json, false);
67
- }
68
- function IndexModelAttributeRequestToJSONTyped(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
- 'attributable_type': value['attributableType'],
80
- 'attributable_id': value['attributableId'],
81
- 'attribute_id': value['attributeId'],
82
- 'related_id': value['relatedId'],
83
- 'related_type': value['relatedType'],
84
- 'includes_relations': value['includesRelations'],
85
- };
86
- }
@@ -1,110 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface 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;
@@ -1,86 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.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
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AttributeLiteResource } from './AttributeLiteResource';
13
- import type { AttributeValueResource } from './AttributeValueResource';
14
- /**
15
- *
16
- * @export
17
- * @interface ModelAttributeListResource
18
- */
19
- export interface ModelAttributeListResource {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof ModelAttributeListResource
24
- */
25
- id: number;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof ModelAttributeListResource
30
- */
31
- value: string;
32
- /**
33
- *
34
- * @type {AttributeLiteResource}
35
- * @memberof ModelAttributeListResource
36
- */
37
- attribute: AttributeLiteResource | null;
38
- /**
39
- *
40
- * @type {Array<AttributeValueResource>}
41
- * @memberof ModelAttributeListResource
42
- */
43
- attributeValues: Array<AttributeValueResource> | null;
44
- }
45
- /**
46
- * Check if a given object implements the ModelAttributeListResource interface.
47
- */
48
- export declare function instanceOfModelAttributeListResource(value: object): value is ModelAttributeListResource;
49
- export declare function ModelAttributeListResourceFromJSON(json: any): ModelAttributeListResource;
50
- export declare function ModelAttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResource;
51
- export declare function ModelAttributeListResourceToJSON(json: any): ModelAttributeListResource;
52
- export declare function ModelAttributeListResourceToJSONTyped(value?: ModelAttributeListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,65 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfModelAttributeListResource = instanceOfModelAttributeListResource;
17
- exports.ModelAttributeListResourceFromJSON = ModelAttributeListResourceFromJSON;
18
- exports.ModelAttributeListResourceFromJSONTyped = ModelAttributeListResourceFromJSONTyped;
19
- exports.ModelAttributeListResourceToJSON = ModelAttributeListResourceToJSON;
20
- exports.ModelAttributeListResourceToJSONTyped = ModelAttributeListResourceToJSONTyped;
21
- var AttributeLiteResource_1 = require("./AttributeLiteResource");
22
- var AttributeValueResource_1 = require("./AttributeValueResource");
23
- /**
24
- * Check if a given object implements the ModelAttributeListResource interface.
25
- */
26
- function instanceOfModelAttributeListResource(value) {
27
- if (!('id' in value) || value['id'] === undefined)
28
- return false;
29
- if (!('value' in value) || value['value'] === undefined)
30
- return false;
31
- if (!('attribute' in value) || value['attribute'] === undefined)
32
- return false;
33
- if (!('attributeValues' in value) || value['attributeValues'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function ModelAttributeListResourceFromJSON(json) {
38
- return ModelAttributeListResourceFromJSONTyped(json, false);
39
- }
40
- function ModelAttributeListResourceFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'id': json['id'],
46
- 'value': json['value'],
47
- 'attribute': (0, AttributeLiteResource_1.AttributeLiteResourceFromJSON)(json['attribute']),
48
- 'attributeValues': (json['attributeValues'] == null ? null : json['attributeValues'].map(AttributeValueResource_1.AttributeValueResourceFromJSON)),
49
- };
50
- }
51
- function ModelAttributeListResourceToJSON(json) {
52
- return ModelAttributeListResourceToJSONTyped(json, false);
53
- }
54
- function ModelAttributeListResourceToJSONTyped(value, ignoreDiscriminator) {
55
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
- if (value == null) {
57
- return value;
58
- }
59
- return {
60
- 'id': value['id'],
61
- 'value': value['value'],
62
- 'attribute': (0, AttributeLiteResource_1.AttributeLiteResourceToJSON)(value['attribute']),
63
- 'attributeValues': (value['attributeValues'] == null ? null : value['attributeValues'].map(AttributeValueResource_1.AttributeValueResourceToJSON)),
64
- };
65
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ModelAttributeListResource } from './ModelAttributeListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ModelAttributeListResourceArrayResponse
17
- */
18
- export interface ModelAttributeListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ModelAttributeListResource>}
22
- * @memberof ModelAttributeListResourceArrayResponse
23
- */
24
- data?: Array<ModelAttributeListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ModelAttributeListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfModelAttributeListResourceArrayResponse(value: object): value is ModelAttributeListResourceArrayResponse;
30
- export declare function ModelAttributeListResourceArrayResponseFromJSON(json: any): ModelAttributeListResourceArrayResponse;
31
- export declare function ModelAttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResourceArrayResponse;
32
- export declare function ModelAttributeListResourceArrayResponseToJSON(json: any): ModelAttributeListResourceArrayResponse;
33
- export declare function ModelAttributeListResourceArrayResponseToJSONTyped(value?: ModelAttributeListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfModelAttributeListResourceArrayResponse = instanceOfModelAttributeListResourceArrayResponse;
17
- exports.ModelAttributeListResourceArrayResponseFromJSON = ModelAttributeListResourceArrayResponseFromJSON;
18
- exports.ModelAttributeListResourceArrayResponseFromJSONTyped = ModelAttributeListResourceArrayResponseFromJSONTyped;
19
- exports.ModelAttributeListResourceArrayResponseToJSON = ModelAttributeListResourceArrayResponseToJSON;
20
- exports.ModelAttributeListResourceArrayResponseToJSONTyped = ModelAttributeListResourceArrayResponseToJSONTyped;
21
- var ModelAttributeListResource_1 = require("./ModelAttributeListResource");
22
- /**
23
- * Check if a given object implements the ModelAttributeListResourceArrayResponse interface.
24
- */
25
- function instanceOfModelAttributeListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ModelAttributeListResourceArrayResponseFromJSON(json) {
29
- return ModelAttributeListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ModelAttributeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ModelAttributeListResource_1.ModelAttributeListResourceFromJSON)),
37
- };
38
- }
39
- function ModelAttributeListResourceArrayResponseToJSON(json) {
40
- return ModelAttributeListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ModelAttributeListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(ModelAttributeListResource_1.ModelAttributeListResourceToJSON)),
49
- };
50
- }