@digital8/lighting-illusions-ts-sdk 0.0.531 → 0.0.533

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 (144) hide show
  1. package/.openapi-generator/FILES +66 -0
  2. package/README.md +42 -2
  3. package/dist/apis/ProductCategoryApi.d.ts +105 -0
  4. package/dist/apis/ProductCategoryApi.js +445 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/CategoryAutomationComparisonType.d.ts +29 -0
  8. package/dist/models/CategoryAutomationComparisonType.js +55 -0
  9. package/dist/models/CategoryAutomationConditionType.d.ts +25 -0
  10. package/dist/models/CategoryAutomationConditionType.js +51 -0
  11. package/dist/models/CategoryAutomationFieldType.d.ts +30 -0
  12. package/dist/models/CategoryAutomationFieldType.js +56 -0
  13. package/dist/models/CategoryAutomationRuleResource.d.ts +68 -0
  14. package/dist/models/CategoryAutomationRuleResource.js +67 -0
  15. package/dist/models/CategoryAutomationRuleResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/CategoryAutomationRuleResourceArrayResponse.js +50 -0
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +3 -1
  19. package/dist/models/GetAllProductCategoryRequest.d.ts +115 -0
  20. package/dist/models/GetAllProductCategoryRequest.js +94 -0
  21. package/dist/models/IndexProductCategoryRequest.d.ts +127 -0
  22. package/dist/models/IndexProductCategoryRequest.js +98 -0
  23. package/dist/models/PaginatedProductCategoryListResourceResponse.d.ts +40 -0
  24. package/dist/models/PaginatedProductCategoryListResourceResponse.js +57 -0
  25. package/dist/models/PaginatedProductCategoryResourceResponse.d.ts +40 -0
  26. package/dist/models/PaginatedProductCategoryResourceResponse.js +57 -0
  27. package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +40 -0
  28. package/dist/models/PaginatedProductSearchResultResourceResponse.js +57 -0
  29. package/dist/models/ProductAggregationResource.d.ts +50 -0
  30. package/dist/models/ProductAggregationResource.js +63 -0
  31. package/dist/models/ProductAggregationResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/ProductAggregationResourceArrayResponse.js +50 -0
  33. package/dist/models/ProductCategoryHierarchyResource.d.ts +62 -0
  34. package/dist/models/ProductCategoryHierarchyResource.js +69 -0
  35. package/dist/models/ProductCategoryHierarchyResourceArrayResponse.d.ts +33 -0
  36. package/dist/models/ProductCategoryHierarchyResourceArrayResponse.js +50 -0
  37. package/dist/models/ProductCategoryListResource.d.ts +75 -0
  38. package/dist/models/ProductCategoryListResource.js +78 -0
  39. package/dist/models/ProductCategoryListResourceArrayResponse.d.ts +33 -0
  40. package/dist/models/ProductCategoryListResourceArrayResponse.js +50 -0
  41. package/dist/models/ProductCategoryLiteResource.d.ts +38 -0
  42. package/dist/models/ProductCategoryLiteResource.js +53 -0
  43. package/dist/models/ProductCategoryLiteResourceArrayResponse.d.ts +33 -0
  44. package/dist/models/ProductCategoryLiteResourceArrayResponse.js +50 -0
  45. package/dist/models/ProductCategoryResource.d.ts +107 -0
  46. package/dist/models/ProductCategoryResource.js +96 -0
  47. package/dist/models/ProductCategoryResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/ProductCategoryResourceArrayResponse.js +50 -0
  49. package/dist/models/ProductRating.d.ts +26 -0
  50. package/dist/models/ProductRating.js +52 -0
  51. package/dist/models/ProductSearchResponseResource.d.ts +54 -0
  52. package/dist/models/ProductSearchResponseResource.js +67 -0
  53. package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +33 -0
  54. package/dist/models/ProductSearchResponseResourceArrayResponse.js +50 -0
  55. package/dist/models/ProductSearchResponseResourceMeta.d.ts +50 -0
  56. package/dist/models/ProductSearchResponseResourceMeta.js +63 -0
  57. package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +50 -0
  58. package/dist/models/ProductSearchResponseResourcePriceInfo.js +63 -0
  59. package/dist/models/ProductSearchResultResource.d.ts +116 -0
  60. package/dist/models/ProductSearchResultResource.js +105 -0
  61. package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/ProductSearchResultResourceArrayResponse.js +50 -0
  63. package/dist/models/ProductSortBy.d.ts +32 -0
  64. package/dist/models/ProductSortBy.js +58 -0
  65. package/dist/models/ProductStatus.d.ts +24 -0
  66. package/dist/models/ProductStatus.js +50 -0
  67. package/dist/models/StoreProductCategoryRequest.d.ts +113 -0
  68. package/dist/models/StoreProductCategoryRequest.js +94 -0
  69. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +87 -0
  70. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +87 -0
  71. package/dist/models/UpdateProductCategoryRequest.d.ts +113 -0
  72. package/dist/models/UpdateProductCategoryRequest.js +82 -0
  73. package/dist/models/index.d.ts +32 -0
  74. package/dist/models/index.js +32 -0
  75. package/docs/CategoryAutomationComparisonType.md +32 -0
  76. package/docs/CategoryAutomationConditionType.md +32 -0
  77. package/docs/CategoryAutomationFieldType.md +32 -0
  78. package/docs/CategoryAutomationRuleResource.md +46 -0
  79. package/docs/CategoryAutomationRuleResourceArrayResponse.md +34 -0
  80. package/docs/GetAllProductCategoryRequest.md +52 -0
  81. package/docs/IndexProductCategoryRequest.md +56 -0
  82. package/docs/PaginatedProductCategoryListResourceResponse.md +36 -0
  83. package/docs/PaginatedProductCategoryResourceResponse.md +36 -0
  84. package/docs/PaginatedProductSearchResultResourceResponse.md +36 -0
  85. package/docs/ProductAggregationResource.md +40 -0
  86. package/docs/ProductAggregationResourceArrayResponse.md +34 -0
  87. package/docs/ProductCategoryApi.md +534 -0
  88. package/docs/ProductCategoryHierarchyResource.md +44 -0
  89. package/docs/ProductCategoryHierarchyResourceArrayResponse.md +34 -0
  90. package/docs/ProductCategoryListResource.md +48 -0
  91. package/docs/ProductCategoryListResourceArrayResponse.md +34 -0
  92. package/docs/ProductCategoryLiteResource.md +36 -0
  93. package/docs/ProductCategoryLiteResourceArrayResponse.md +34 -0
  94. package/docs/ProductCategoryResource.md +58 -0
  95. package/docs/ProductCategoryResourceArrayResponse.md +34 -0
  96. package/docs/ProductRating.md +32 -0
  97. package/docs/ProductSearchResponseResource.md +40 -0
  98. package/docs/ProductSearchResponseResourceArrayResponse.md +34 -0
  99. package/docs/ProductSearchResponseResourceMeta.md +40 -0
  100. package/docs/ProductSearchResponseResourcePriceInfo.md +40 -0
  101. package/docs/ProductSearchResultResource.md +62 -0
  102. package/docs/ProductSearchResultResourceArrayResponse.md +34 -0
  103. package/docs/ProductSortBy.md +32 -0
  104. package/docs/ProductStatus.md +32 -0
  105. package/docs/StoreProductCategoryRequest.md +58 -0
  106. package/docs/StoreProductCategoryRequestAutomationRulesInner.md +44 -0
  107. package/docs/UpdateProductCategoryRequest.md +58 -0
  108. package/package.json +1 -1
  109. package/src/apis/ProductCategoryApi.ts +363 -0
  110. package/src/apis/index.ts +1 -0
  111. package/src/models/CategoryAutomationComparisonType.ts +57 -0
  112. package/src/models/CategoryAutomationConditionType.ts +53 -0
  113. package/src/models/CategoryAutomationFieldType.ts +58 -0
  114. package/src/models/CategoryAutomationRuleResource.ts +116 -0
  115. package/src/models/CategoryAutomationRuleResourceArrayResponse.ts +73 -0
  116. package/src/models/ExternalApiLogResource.ts +3 -2
  117. package/src/models/GetAllProductCategoryRequest.ts +171 -0
  118. package/src/models/IndexProductCategoryRequest.ts +187 -0
  119. package/src/models/PaginatedProductCategoryListResourceResponse.ts +90 -0
  120. package/src/models/PaginatedProductCategoryResourceResponse.ts +90 -0
  121. package/src/models/PaginatedProductSearchResultResourceResponse.ts +90 -0
  122. package/src/models/ProductAggregationResource.ts +93 -0
  123. package/src/models/ProductAggregationResourceArrayResponse.ts +73 -0
  124. package/src/models/ProductCategoryHierarchyResource.ts +110 -0
  125. package/src/models/ProductCategoryHierarchyResourceArrayResponse.ts +73 -0
  126. package/src/models/ProductCategoryListResource.ts +136 -0
  127. package/src/models/ProductCategoryListResourceArrayResponse.ts +73 -0
  128. package/src/models/ProductCategoryLiteResource.ts +74 -0
  129. package/src/models/ProductCategoryLiteResourceArrayResponse.ts +73 -0
  130. package/src/models/ProductCategoryResource.ts +193 -0
  131. package/src/models/ProductCategoryResourceArrayResponse.ts +73 -0
  132. package/src/models/ProductRating.ts +54 -0
  133. package/src/models/ProductSearchResponseResource.ts +122 -0
  134. package/src/models/ProductSearchResponseResourceArrayResponse.ts +73 -0
  135. package/src/models/ProductSearchResponseResourceMeta.ts +93 -0
  136. package/src/models/ProductSearchResponseResourcePriceInfo.ts +93 -0
  137. package/src/models/ProductSearchResultResource.ts +191 -0
  138. package/src/models/ProductSearchResultResourceArrayResponse.ts +73 -0
  139. package/src/models/ProductSortBy.ts +60 -0
  140. package/src/models/ProductStatus.ts +52 -0
  141. package/src/models/StoreProductCategoryRequest.ts +186 -0
  142. package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +136 -0
  143. package/src/models/UpdateProductCategoryRequest.ts +180 -0
  144. package/src/models/index.ts +32 -0
@@ -0,0 +1,94 @@
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.StoreProductCategoryRequestAutomatedConditionTypeEnum = void 0;
17
+ exports.instanceOfStoreProductCategoryRequest = instanceOfStoreProductCategoryRequest;
18
+ exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSON;
19
+ exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
20
+ exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
21
+ exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
22
+ var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = {
27
+ And: 'and',
28
+ Or: 'or'
29
+ };
30
+ /**
31
+ * Check if a given object implements the StoreProductCategoryRequest interface.
32
+ */
33
+ function instanceOfStoreProductCategoryRequest(value) {
34
+ if (!('siteId' in value) || value['siteId'] === undefined)
35
+ return false;
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('slug' in value) || value['slug'] === undefined)
39
+ return false;
40
+ if (!('isAutomated' in value) || value['isAutomated'] === undefined)
41
+ return false;
42
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
43
+ return false;
44
+ if (!('fileId' in value) || value['fileId'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function StoreProductCategoryRequestFromJSON(json) {
49
+ return StoreProductCategoryRequestFromJSONTyped(json, false);
50
+ }
51
+ function StoreProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'siteId': json['site_id'],
57
+ 'name': json['name'],
58
+ 'slug': json['slug'],
59
+ 'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
60
+ 'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
61
+ 'hideFromFrontend': json['hide_from_frontend'] == null ? undefined : json['hide_from_frontend'],
62
+ 'isAutomated': json['is_automated'],
63
+ 'index': json['index'] == null ? undefined : json['index'],
64
+ 'automatedConditionType': json['automated_condition_type'] == null ? undefined : json['automated_condition_type'],
65
+ 'automationRules': json['automation_rules'] == null ? undefined : (json['automation_rules'].map(StoreProductCategoryRequestAutomationRulesInner_1.StoreProductCategoryRequestAutomationRulesInnerFromJSON)),
66
+ 'altText': json['alt_text'] == null ? undefined : json['alt_text'],
67
+ 'mimeType': json['mime_type'],
68
+ 'fileId': json['file_id'],
69
+ };
70
+ }
71
+ function StoreProductCategoryRequestToJSON(json) {
72
+ return StoreProductCategoryRequestToJSONTyped(json, false);
73
+ }
74
+ function StoreProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
75
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'site_id': value['siteId'],
81
+ 'name': value['name'],
82
+ 'slug': value['slug'],
83
+ 'parent_id': value['parentId'],
84
+ 'is_disabled': value['isDisabled'],
85
+ 'hide_from_frontend': value['hideFromFrontend'],
86
+ 'is_automated': value['isAutomated'],
87
+ 'index': value['index'],
88
+ 'automated_condition_type': value['automatedConditionType'],
89
+ 'automation_rules': value['automationRules'] == null ? undefined : (value['automationRules'].map(StoreProductCategoryRequestAutomationRulesInner_1.StoreProductCategoryRequestAutomationRulesInnerToJSON)),
90
+ 'alt_text': value['altText'],
91
+ 'mime_type': value['mimeType'],
92
+ 'file_id': value['fileId'],
93
+ };
94
+ }
@@ -0,0 +1,87 @@
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 StoreProductCategoryRequestAutomationRulesInner
16
+ */
17
+ export interface StoreProductCategoryRequestAutomationRulesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
22
+ */
23
+ fieldType: StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
28
+ */
29
+ comparisonType: StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
34
+ */
35
+ groupId?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
40
+ */
41
+ relatedId?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
46
+ */
47
+ value?: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof StoreProductCategoryRequestAutomationRulesInner
52
+ */
53
+ valueId?: number;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum: {
59
+ readonly Price: "price";
60
+ readonly Name: "name";
61
+ readonly VariantName: "variant_name";
62
+ readonly Attribute: "attribute";
63
+ readonly Tag: "tag";
64
+ readonly Supplier: "supplier";
65
+ readonly Label: "label";
66
+ };
67
+ export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
68
+ /**
69
+ * @export
70
+ */
71
+ export declare const StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum: {
72
+ readonly Greater: "greater";
73
+ readonly Less: "less";
74
+ readonly Equal: "equal";
75
+ readonly NotEqual: "notEqual";
76
+ readonly Contains: "contains";
77
+ readonly NotContains: "notContains";
78
+ };
79
+ export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum];
80
+ /**
81
+ * Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
82
+ */
83
+ export declare function instanceOfStoreProductCategoryRequestAutomationRulesInner(value: object): value is StoreProductCategoryRequestAutomationRulesInner;
84
+ export declare function StoreProductCategoryRequestAutomationRulesInnerFromJSON(json: any): StoreProductCategoryRequestAutomationRulesInner;
85
+ export declare function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestAutomationRulesInner;
86
+ export declare function StoreProductCategoryRequestAutomationRulesInnerToJSON(json: any): StoreProductCategoryRequestAutomationRulesInner;
87
+ export declare function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value?: StoreProductCategoryRequestAutomationRulesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,87 @@
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.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = void 0;
17
+ exports.instanceOfStoreProductCategoryRequestAutomationRulesInner = instanceOfStoreProductCategoryRequestAutomationRulesInner;
18
+ exports.StoreProductCategoryRequestAutomationRulesInnerFromJSON = StoreProductCategoryRequestAutomationRulesInnerFromJSON;
19
+ exports.StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped = StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped;
20
+ exports.StoreProductCategoryRequestAutomationRulesInnerToJSON = StoreProductCategoryRequestAutomationRulesInnerToJSON;
21
+ exports.StoreProductCategoryRequestAutomationRulesInnerToJSONTyped = StoreProductCategoryRequestAutomationRulesInnerToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
26
+ Price: 'price',
27
+ Name: 'name',
28
+ VariantName: 'variant_name',
29
+ Attribute: 'attribute',
30
+ Tag: 'tag',
31
+ Supplier: 'supplier',
32
+ Label: 'label'
33
+ };
34
+ /**
35
+ * @export
36
+ */
37
+ exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = {
38
+ Greater: 'greater',
39
+ Less: 'less',
40
+ Equal: 'equal',
41
+ NotEqual: 'notEqual',
42
+ Contains: 'contains',
43
+ NotContains: 'notContains'
44
+ };
45
+ /**
46
+ * Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
47
+ */
48
+ function instanceOfStoreProductCategoryRequestAutomationRulesInner(value) {
49
+ if (!('fieldType' in value) || value['fieldType'] === undefined)
50
+ return false;
51
+ if (!('comparisonType' in value) || value['comparisonType'] === undefined)
52
+ return false;
53
+ return true;
54
+ }
55
+ function StoreProductCategoryRequestAutomationRulesInnerFromJSON(json) {
56
+ return StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(json, false);
57
+ }
58
+ function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(json, ignoreDiscriminator) {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+ 'fieldType': json['field_type'],
64
+ 'comparisonType': json['comparison_type'],
65
+ 'groupId': json['group_id'] == null ? undefined : json['group_id'],
66
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
+ 'value': json['value'] == null ? undefined : json['value'],
68
+ 'valueId': json['value_id'] == null ? undefined : json['value_id'],
69
+ };
70
+ }
71
+ function StoreProductCategoryRequestAutomationRulesInnerToJSON(json) {
72
+ return StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(json, false);
73
+ }
74
+ function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value, ignoreDiscriminator) {
75
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'field_type': value['fieldType'],
81
+ 'comparison_type': value['comparisonType'],
82
+ 'group_id': value['groupId'],
83
+ 'related_id': value['relatedId'],
84
+ 'value': value['value'],
85
+ 'value_id': value['valueId'],
86
+ };
87
+ }
@@ -0,0 +1,113 @@
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 { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateProductCategoryRequest
17
+ */
18
+ export interface UpdateProductCategoryRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdateProductCategoryRequest
23
+ */
24
+ siteId?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof UpdateProductCategoryRequest
29
+ */
30
+ name?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof UpdateProductCategoryRequest
35
+ */
36
+ slug?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof UpdateProductCategoryRequest
41
+ */
42
+ parentId?: string;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof UpdateProductCategoryRequest
47
+ */
48
+ isDisabled?: boolean;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof UpdateProductCategoryRequest
53
+ */
54
+ hideFromFrontend?: boolean;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof UpdateProductCategoryRequest
59
+ */
60
+ isAutomated?: boolean;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof UpdateProductCategoryRequest
65
+ */
66
+ index?: number;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof UpdateProductCategoryRequest
71
+ */
72
+ automatedConditionType?: UpdateProductCategoryRequestAutomatedConditionTypeEnum;
73
+ /**
74
+ *
75
+ * @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
76
+ * @memberof UpdateProductCategoryRequest
77
+ */
78
+ automationRules?: Array<StoreProductCategoryRequestAutomationRulesInner>;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof UpdateProductCategoryRequest
83
+ */
84
+ altText?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof UpdateProductCategoryRequest
89
+ */
90
+ mimeType?: string;
91
+ /**
92
+ *
93
+ * @type {number}
94
+ * @memberof UpdateProductCategoryRequest
95
+ */
96
+ fileId?: number;
97
+ }
98
+ /**
99
+ * @export
100
+ */
101
+ export declare const UpdateProductCategoryRequestAutomatedConditionTypeEnum: {
102
+ readonly And: "and";
103
+ readonly Or: "or";
104
+ };
105
+ export type UpdateProductCategoryRequestAutomatedConditionTypeEnum = typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum];
106
+ /**
107
+ * Check if a given object implements the UpdateProductCategoryRequest interface.
108
+ */
109
+ export declare function instanceOfUpdateProductCategoryRequest(value: object): value is UpdateProductCategoryRequest;
110
+ export declare function UpdateProductCategoryRequestFromJSON(json: any): UpdateProductCategoryRequest;
111
+ export declare function UpdateProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductCategoryRequest;
112
+ export declare function UpdateProductCategoryRequestToJSON(json: any): UpdateProductCategoryRequest;
113
+ export declare function UpdateProductCategoryRequestToJSONTyped(value?: UpdateProductCategoryRequest | 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.UpdateProductCategoryRequestAutomatedConditionTypeEnum = void 0;
17
+ exports.instanceOfUpdateProductCategoryRequest = instanceOfUpdateProductCategoryRequest;
18
+ exports.UpdateProductCategoryRequestFromJSON = UpdateProductCategoryRequestFromJSON;
19
+ exports.UpdateProductCategoryRequestFromJSONTyped = UpdateProductCategoryRequestFromJSONTyped;
20
+ exports.UpdateProductCategoryRequestToJSON = UpdateProductCategoryRequestToJSON;
21
+ exports.UpdateProductCategoryRequestToJSONTyped = UpdateProductCategoryRequestToJSONTyped;
22
+ var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = {
27
+ And: 'and',
28
+ Or: 'or'
29
+ };
30
+ /**
31
+ * Check if a given object implements the UpdateProductCategoryRequest interface.
32
+ */
33
+ function instanceOfUpdateProductCategoryRequest(value) {
34
+ return true;
35
+ }
36
+ function UpdateProductCategoryRequestFromJSON(json) {
37
+ return UpdateProductCategoryRequestFromJSONTyped(json, false);
38
+ }
39
+ function UpdateProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
45
+ 'name': json['name'] == null ? undefined : json['name'],
46
+ 'slug': json['slug'] == null ? undefined : json['slug'],
47
+ 'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
48
+ 'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
49
+ 'hideFromFrontend': json['hide_from_frontend'] == null ? undefined : json['hide_from_frontend'],
50
+ 'isAutomated': json['is_automated'] == null ? undefined : json['is_automated'],
51
+ 'index': json['index'] == null ? undefined : json['index'],
52
+ 'automatedConditionType': json['automated_condition_type'] == null ? undefined : json['automated_condition_type'],
53
+ 'automationRules': json['automation_rules'] == null ? undefined : (json['automation_rules'].map(StoreProductCategoryRequestAutomationRulesInner_1.StoreProductCategoryRequestAutomationRulesInnerFromJSON)),
54
+ 'altText': json['alt_text'] == null ? undefined : json['alt_text'],
55
+ 'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
56
+ 'fileId': json['file_id'] == null ? undefined : json['file_id'],
57
+ };
58
+ }
59
+ function UpdateProductCategoryRequestToJSON(json) {
60
+ return UpdateProductCategoryRequestToJSONTyped(json, false);
61
+ }
62
+ function UpdateProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
63
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'site_id': value['siteId'],
69
+ 'name': value['name'],
70
+ 'slug': value['slug'],
71
+ 'parent_id': value['parentId'],
72
+ 'is_disabled': value['isDisabled'],
73
+ 'hide_from_frontend': value['hideFromFrontend'],
74
+ 'is_automated': value['isAutomated'],
75
+ 'index': value['index'],
76
+ 'automated_condition_type': value['automatedConditionType'],
77
+ 'automation_rules': value['automationRules'] == null ? undefined : (value['automationRules'].map(StoreProductCategoryRequestAutomationRulesInner_1.StoreProductCategoryRequestAutomationRulesInnerToJSON)),
78
+ 'alt_text': value['altText'],
79
+ 'mime_type': value['mimeType'],
80
+ 'file_id': value['fileId'],
81
+ };
82
+ }
@@ -24,6 +24,11 @@ export * from './AttributeResourceArrayResponse';
24
24
  export * from './AttributeType';
25
25
  export * from './AttributeValueResource';
26
26
  export * from './AttributeValueResourceArrayResponse';
27
+ export * from './CategoryAutomationComparisonType';
28
+ export * from './CategoryAutomationConditionType';
29
+ export * from './CategoryAutomationFieldType';
30
+ export * from './CategoryAutomationRuleResource';
31
+ export * from './CategoryAutomationRuleResourceArrayResponse';
27
32
  export * from './CouponDiscountType';
28
33
  export * from './DescriptionResource';
29
34
  export * from './DescriptionResourceArrayResponse';
@@ -49,6 +54,7 @@ export * from './GetAllAttributeRequest';
49
54
  export * from './GetAllDocumentRequest';
50
55
  export * from './GetAllGoogleCategoryRequest';
51
56
  export * from './GetAllOverlayTemplateRequest';
57
+ export * from './GetAllProductCategoryRequest';
52
58
  export * from './GetAllProductChildRequest';
53
59
  export * from './GetAllProductRequest';
54
60
  export * from './GetAllProductTypeRequest';
@@ -59,6 +65,7 @@ export * from './IndexAttributeRequest';
59
65
  export * from './IndexDocumentRequest';
60
66
  export * from './IndexExternalApiLogRequest';
61
67
  export * from './IndexOverlayTemplateRequest';
68
+ export * from './IndexProductCategoryRequest';
62
69
  export * from './IndexProductChildRequest';
63
70
  export * from './IndexProductRequest';
64
71
  export * from './IndexProductTypeRequest';
@@ -88,6 +95,8 @@ export * from './PaginatedGoogleCategoryResourceResponse';
88
95
  export * from './PaginatedOverlayTemplateListResourceResponse';
89
96
  export * from './PaginatedOverlayTemplateLiteResourceResponse';
90
97
  export * from './PaginatedOverlayTemplateResourceResponse';
98
+ export * from './PaginatedProductCategoryListResourceResponse';
99
+ export * from './PaginatedProductCategoryResourceResponse';
91
100
  export * from './PaginatedProductChildListResourceResponse';
92
101
  export * from './PaginatedProductChildLiteResourceResponse';
93
102
  export * from './PaginatedProductChildOverlayRelationResourceResponse';
@@ -96,6 +105,7 @@ export * from './PaginatedProductChildResourceResponse';
96
105
  export * from './PaginatedProductListResourceResponse';
97
106
  export * from './PaginatedProductLiteResourceResponse';
98
107
  export * from './PaginatedProductResourceResponse';
108
+ export * from './PaginatedProductSearchResultResourceResponse';
99
109
  export * from './PaginatedProductTypeListResourceResponse';
100
110
  export * from './PaginatedProductTypeLiteResourceResponse';
101
111
  export * from './PaginatedProductTypeResourceResponse';
@@ -112,6 +122,16 @@ export * from './PaginatedTagListResourceResponse';
112
122
  export * from './PaginatedTagLiteResourceResponse';
113
123
  export * from './PaginatedTagResourceResponse';
114
124
  export * from './PagingMetadata';
125
+ export * from './ProductAggregationResource';
126
+ export * from './ProductAggregationResourceArrayResponse';
127
+ export * from './ProductCategoryHierarchyResource';
128
+ export * from './ProductCategoryHierarchyResourceArrayResponse';
129
+ export * from './ProductCategoryListResource';
130
+ export * from './ProductCategoryListResourceArrayResponse';
131
+ export * from './ProductCategoryLiteResource';
132
+ export * from './ProductCategoryLiteResourceArrayResponse';
133
+ export * from './ProductCategoryResource';
134
+ export * from './ProductCategoryResourceArrayResponse';
115
135
  export * from './ProductChildListResource';
116
136
  export * from './ProductChildListResourceArrayResponse';
117
137
  export * from './ProductChildLiteResource';
@@ -130,8 +150,17 @@ export * from './ProductListResource';
130
150
  export * from './ProductListResourceArrayResponse';
131
151
  export * from './ProductLiteResource';
132
152
  export * from './ProductLiteResourceArrayResponse';
153
+ export * from './ProductRating';
133
154
  export * from './ProductResource';
134
155
  export * from './ProductResourceArrayResponse';
156
+ export * from './ProductSearchResponseResource';
157
+ export * from './ProductSearchResponseResourceArrayResponse';
158
+ export * from './ProductSearchResponseResourceMeta';
159
+ export * from './ProductSearchResponseResourcePriceInfo';
160
+ export * from './ProductSearchResultResource';
161
+ export * from './ProductSearchResultResourceArrayResponse';
162
+ export * from './ProductSortBy';
163
+ export * from './ProductStatus';
135
164
  export * from './ProductTypeListResource';
136
165
  export * from './ProductTypeListResourceArrayResponse';
137
166
  export * from './ProductTypeLiteResource';
@@ -161,6 +190,8 @@ export * from './StoreDocumentFileRequest';
161
190
  export * from './StoreDocumentRequest';
162
191
  export * from './StoreOverlayTemplateAssetRequest';
163
192
  export * from './StoreOverlayTemplateRequest';
193
+ export * from './StoreProductCategoryRequest';
194
+ export * from './StoreProductCategoryRequestAutomationRulesInner';
164
195
  export * from './StoreProductChildRequest';
165
196
  export * from './StoreProductChildRequestAssetsInner';
166
197
  export * from './StoreProductChildRequestAttributeValuesInner';
@@ -196,6 +227,7 @@ export * from './UpdateFilterOrderAttributeRequestValuesInner';
196
227
  export * from './UpdateModelAttributeRequest';
197
228
  export * from './UpdateOverlayTemplateAssetRequest';
198
229
  export * from './UpdateOverlayTemplateRequest';
230
+ export * from './UpdateProductCategoryRequest';
199
231
  export * from './UpdateProductChildRequest';
200
232
  export * from './UpdateProductChildRequestAssetsInner';
201
233
  export * from './UpdateProductRequest';
@@ -42,6 +42,11 @@ __exportStar(require("./AttributeResourceArrayResponse"), exports);
42
42
  __exportStar(require("./AttributeType"), exports);
43
43
  __exportStar(require("./AttributeValueResource"), exports);
44
44
  __exportStar(require("./AttributeValueResourceArrayResponse"), exports);
45
+ __exportStar(require("./CategoryAutomationComparisonType"), exports);
46
+ __exportStar(require("./CategoryAutomationConditionType"), exports);
47
+ __exportStar(require("./CategoryAutomationFieldType"), exports);
48
+ __exportStar(require("./CategoryAutomationRuleResource"), exports);
49
+ __exportStar(require("./CategoryAutomationRuleResourceArrayResponse"), exports);
45
50
  __exportStar(require("./CouponDiscountType"), exports);
46
51
  __exportStar(require("./DescriptionResource"), exports);
47
52
  __exportStar(require("./DescriptionResourceArrayResponse"), exports);
@@ -67,6 +72,7 @@ __exportStar(require("./GetAllAttributeRequest"), exports);
67
72
  __exportStar(require("./GetAllDocumentRequest"), exports);
68
73
  __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
69
74
  __exportStar(require("./GetAllOverlayTemplateRequest"), exports);
75
+ __exportStar(require("./GetAllProductCategoryRequest"), exports);
70
76
  __exportStar(require("./GetAllProductChildRequest"), exports);
71
77
  __exportStar(require("./GetAllProductRequest"), exports);
72
78
  __exportStar(require("./GetAllProductTypeRequest"), exports);
@@ -77,6 +83,7 @@ __exportStar(require("./IndexAttributeRequest"), exports);
77
83
  __exportStar(require("./IndexDocumentRequest"), exports);
78
84
  __exportStar(require("./IndexExternalApiLogRequest"), exports);
79
85
  __exportStar(require("./IndexOverlayTemplateRequest"), exports);
86
+ __exportStar(require("./IndexProductCategoryRequest"), exports);
80
87
  __exportStar(require("./IndexProductChildRequest"), exports);
81
88
  __exportStar(require("./IndexProductRequest"), exports);
82
89
  __exportStar(require("./IndexProductTypeRequest"), exports);
@@ -106,6 +113,8 @@ __exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
106
113
  __exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
107
114
  __exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
108
115
  __exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
116
+ __exportStar(require("./PaginatedProductCategoryListResourceResponse"), exports);
117
+ __exportStar(require("./PaginatedProductCategoryResourceResponse"), exports);
109
118
  __exportStar(require("./PaginatedProductChildListResourceResponse"), exports);
110
119
  __exportStar(require("./PaginatedProductChildLiteResourceResponse"), exports);
111
120
  __exportStar(require("./PaginatedProductChildOverlayRelationResourceResponse"), exports);
@@ -114,6 +123,7 @@ __exportStar(require("./PaginatedProductChildResourceResponse"), exports);
114
123
  __exportStar(require("./PaginatedProductListResourceResponse"), exports);
115
124
  __exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
116
125
  __exportStar(require("./PaginatedProductResourceResponse"), exports);
126
+ __exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
117
127
  __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
118
128
  __exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
119
129
  __exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
@@ -130,6 +140,16 @@ __exportStar(require("./PaginatedTagListResourceResponse"), exports);
130
140
  __exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
131
141
  __exportStar(require("./PaginatedTagResourceResponse"), exports);
132
142
  __exportStar(require("./PagingMetadata"), exports);
143
+ __exportStar(require("./ProductAggregationResource"), exports);
144
+ __exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
145
+ __exportStar(require("./ProductCategoryHierarchyResource"), exports);
146
+ __exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
147
+ __exportStar(require("./ProductCategoryListResource"), exports);
148
+ __exportStar(require("./ProductCategoryListResourceArrayResponse"), exports);
149
+ __exportStar(require("./ProductCategoryLiteResource"), exports);
150
+ __exportStar(require("./ProductCategoryLiteResourceArrayResponse"), exports);
151
+ __exportStar(require("./ProductCategoryResource"), exports);
152
+ __exportStar(require("./ProductCategoryResourceArrayResponse"), exports);
133
153
  __exportStar(require("./ProductChildListResource"), exports);
134
154
  __exportStar(require("./ProductChildListResourceArrayResponse"), exports);
135
155
  __exportStar(require("./ProductChildLiteResource"), exports);
@@ -148,8 +168,17 @@ __exportStar(require("./ProductListResource"), exports);
148
168
  __exportStar(require("./ProductListResourceArrayResponse"), exports);
149
169
  __exportStar(require("./ProductLiteResource"), exports);
150
170
  __exportStar(require("./ProductLiteResourceArrayResponse"), exports);
171
+ __exportStar(require("./ProductRating"), exports);
151
172
  __exportStar(require("./ProductResource"), exports);
152
173
  __exportStar(require("./ProductResourceArrayResponse"), exports);
174
+ __exportStar(require("./ProductSearchResponseResource"), exports);
175
+ __exportStar(require("./ProductSearchResponseResourceArrayResponse"), exports);
176
+ __exportStar(require("./ProductSearchResponseResourceMeta"), exports);
177
+ __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
178
+ __exportStar(require("./ProductSearchResultResource"), exports);
179
+ __exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
180
+ __exportStar(require("./ProductSortBy"), exports);
181
+ __exportStar(require("./ProductStatus"), exports);
153
182
  __exportStar(require("./ProductTypeListResource"), exports);
154
183
  __exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
155
184
  __exportStar(require("./ProductTypeLiteResource"), exports);
@@ -179,6 +208,8 @@ __exportStar(require("./StoreDocumentFileRequest"), exports);
179
208
  __exportStar(require("./StoreDocumentRequest"), exports);
180
209
  __exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
181
210
  __exportStar(require("./StoreOverlayTemplateRequest"), exports);
211
+ __exportStar(require("./StoreProductCategoryRequest"), exports);
212
+ __exportStar(require("./StoreProductCategoryRequestAutomationRulesInner"), exports);
182
213
  __exportStar(require("./StoreProductChildRequest"), exports);
183
214
  __exportStar(require("./StoreProductChildRequestAssetsInner"), exports);
184
215
  __exportStar(require("./StoreProductChildRequestAttributeValuesInner"), exports);
@@ -214,6 +245,7 @@ __exportStar(require("./UpdateFilterOrderAttributeRequestValuesInner"), exports)
214
245
  __exportStar(require("./UpdateModelAttributeRequest"), exports);
215
246
  __exportStar(require("./UpdateOverlayTemplateAssetRequest"), exports);
216
247
  __exportStar(require("./UpdateOverlayTemplateRequest"), exports);
248
+ __exportStar(require("./UpdateProductCategoryRequest"), exports);
217
249
  __exportStar(require("./UpdateProductChildRequest"), exports);
218
250
  __exportStar(require("./UpdateProductChildRequestAssetsInner"), exports);
219
251
  __exportStar(require("./UpdateProductRequest"), exports);