@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449

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 (133) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -22
  3. package/dist/apis/AttributeApi.d.ts +3 -14
  4. package/dist/apis/AttributeApi.js +1 -46
  5. package/dist/apis/ProductTypeApi.d.ts +3 -14
  6. package/dist/apis/ProductTypeApi.js +1 -46
  7. package/dist/apis/SiteApi.d.ts +3 -14
  8. package/dist/apis/SiteApi.js +1 -46
  9. package/dist/apis/SupplierApi.d.ts +3 -14
  10. package/dist/apis/SupplierApi.js +1 -46
  11. package/dist/apis/TagApi.d.ts +3 -14
  12. package/dist/apis/TagApi.js +1 -46
  13. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  14. package/dist/models/ExternalApiLogResource.js +3 -1
  15. package/dist/models/GetAllAttributeRequest.d.ts +9 -9
  16. package/dist/models/GetAllAttributeRequest.js +4 -4
  17. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
  18. package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
  19. package/dist/models/GetAllProductRequest.d.ts +0 -30
  20. package/dist/models/GetAllProductRequest.js +0 -10
  21. package/dist/models/IndexAttributeRequest.d.ts +0 -19
  22. package/dist/models/IndexAttributeRequest.js +1 -11
  23. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
  24. package/dist/models/IndexExternalApiLogRequest.js +4 -8
  25. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
  26. package/dist/models/IndexOverlayTemplateRequest.js +0 -4
  27. package/dist/models/IndexProductTypeRequest.d.ts +0 -19
  28. package/dist/models/IndexProductTypeRequest.js +1 -11
  29. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
  30. package/dist/models/IndexSiteNotificationRequest.js +0 -4
  31. package/dist/models/IndexSiteRequest.d.ts +0 -12
  32. package/dist/models/IndexSiteRequest.js +0 -4
  33. package/dist/models/IndexSupplierRequest.d.ts +0 -19
  34. package/dist/models/IndexSupplierRequest.js +1 -11
  35. package/dist/models/IndexTagRequest.d.ts +0 -19
  36. package/dist/models/IndexTagRequest.js +1 -11
  37. package/dist/models/index.d.ts +0 -15
  38. package/dist/models/index.js +0 -15
  39. package/docs/AttributeApi.md +3 -69
  40. package/docs/GetAllAttributeRequest.md +4 -4
  41. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  42. package/docs/GetAllProductRequest.md +0 -10
  43. package/docs/IndexAttributeRequest.md +0 -4
  44. package/docs/IndexExternalApiLogRequest.md +4 -8
  45. package/docs/IndexOverlayTemplateRequest.md +0 -4
  46. package/docs/IndexProductTypeRequest.md +0 -4
  47. package/docs/IndexSiteNotificationRequest.md +0 -4
  48. package/docs/IndexSiteRequest.md +0 -4
  49. package/docs/IndexSupplierRequest.md +0 -4
  50. package/docs/IndexTagRequest.md +0 -4
  51. package/docs/ProductTypeApi.md +3 -69
  52. package/docs/SiteApi.md +3 -69
  53. package/docs/SupplierApi.md +3 -69
  54. package/docs/TagApi.md +3 -69
  55. package/package.json +1 -1
  56. package/src/apis/AttributeApi.ts +6 -42
  57. package/src/apis/ProductTypeApi.ts +6 -42
  58. package/src/apis/SiteApi.ts +6 -42
  59. package/src/apis/SupplierApi.ts +6 -42
  60. package/src/apis/TagApi.ts +6 -42
  61. package/src/models/ExternalApiLogResource.ts +3 -2
  62. package/src/models/GetAllAttributeRequest.ts +13 -13
  63. package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
  64. package/src/models/GetAllProductRequest.ts +0 -40
  65. package/src/models/IndexAttributeRequest.ts +0 -24
  66. package/src/models/IndexExternalApiLogRequest.ts +7 -23
  67. package/src/models/IndexOverlayTemplateRequest.ts +0 -16
  68. package/src/models/IndexProductTypeRequest.ts +0 -24
  69. package/src/models/IndexSiteNotificationRequest.ts +0 -16
  70. package/src/models/IndexSiteRequest.ts +0 -16
  71. package/src/models/IndexSupplierRequest.ts +0 -24
  72. package/src/models/IndexTagRequest.ts +0 -24
  73. package/src/models/index.ts +0 -15
  74. package/dist/models/AttributeListResource.d.ts +0 -56
  75. package/dist/models/AttributeListResource.js +0 -67
  76. package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
  77. package/dist/models/AttributeListResourceArrayResponse.js +0 -50
  78. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
  79. package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
  80. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
  81. package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
  82. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  83. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  84. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  85. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  86. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  87. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  88. package/dist/models/ProductTypeListResource.d.ts +0 -38
  89. package/dist/models/ProductTypeListResource.js +0 -55
  90. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
  92. package/dist/models/SiteListResource.d.ts +0 -50
  93. package/dist/models/SiteListResource.js +0 -63
  94. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  96. package/dist/models/SupplierListResource.d.ts +0 -57
  97. package/dist/models/SupplierListResource.js +0 -68
  98. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  100. package/dist/models/TagListResource.d.ts +0 -57
  101. package/dist/models/TagListResource.js +0 -68
  102. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  103. package/dist/models/TagListResourceArrayResponse.js +0 -50
  104. package/docs/AttributeListResource.md +0 -42
  105. package/docs/AttributeListResourceArrayResponse.md +0 -34
  106. package/docs/PaginatedAttributeListResourceResponse.md +0 -36
  107. package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
  108. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  109. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  110. package/docs/PaginatedTagListResourceResponse.md +0 -36
  111. package/docs/ProductTypeListResource.md +0 -36
  112. package/docs/ProductTypeListResourceArrayResponse.md +0 -34
  113. package/docs/SiteListResource.md +0 -40
  114. package/docs/SiteListResourceArrayResponse.md +0 -34
  115. package/docs/SupplierListResource.md +0 -42
  116. package/docs/SupplierListResourceArrayResponse.md +0 -34
  117. package/docs/TagListResource.md +0 -42
  118. package/docs/TagListResourceArrayResponse.md +0 -34
  119. package/src/models/AttributeListResource.ts +0 -102
  120. package/src/models/AttributeListResourceArrayResponse.ts +0 -73
  121. package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
  122. package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
  123. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  124. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  125. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  126. package/src/models/ProductTypeListResource.ts +0 -75
  127. package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
  128. package/src/models/SiteListResource.ts +0 -93
  129. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  130. package/src/models/SupplierListResource.ts +0 -110
  131. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  132. package/src/models/TagListResource.ts +0 -110
  133. package/src/models/TagListResourceArrayResponse.ts +0 -73
@@ -49,18 +49,6 @@ export interface IndexProductTypeRequest {
49
49
  * @memberof IndexProductTypeRequest
50
50
  */
51
51
  page?: number;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof IndexProductTypeRequest
56
- */
57
- relatedId?: number;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof IndexProductTypeRequest
62
- */
63
- relatedType?: IndexProductTypeRequestRelatedTypeEnum;
64
52
  }
65
53
 
66
54
 
@@ -84,14 +72,6 @@ export const IndexProductTypeRequestSortDirectionEnum = {
84
72
  } as const;
85
73
  export type IndexProductTypeRequestSortDirectionEnum = typeof IndexProductTypeRequestSortDirectionEnum[keyof typeof IndexProductTypeRequestSortDirectionEnum];
86
74
 
87
- /**
88
- * @export
89
- */
90
- export const IndexProductTypeRequestRelatedTypeEnum = {
91
- Attribute: 'attribute'
92
- } as const;
93
- export type IndexProductTypeRequestRelatedTypeEnum = typeof IndexProductTypeRequestRelatedTypeEnum[keyof typeof IndexProductTypeRequestRelatedTypeEnum];
94
-
95
75
 
96
76
  /**
97
77
  * Check if a given object implements the IndexProductTypeRequest interface.
@@ -115,8 +95,6 @@ export function IndexProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimina
115
95
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
116
96
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
117
97
  'page': json['page'] == null ? undefined : json['page'],
118
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
119
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
120
98
  };
121
99
  }
122
100
 
@@ -136,8 +114,6 @@ export function IndexProductTypeRequestToJSONTyped(value?: IndexProductTypeReque
136
114
  'sortDirection': value['sortDirection'],
137
115
  'per_page': value['perPage'],
138
116
  'page': value['page'],
139
- 'related_id': value['relatedId'],
140
- 'related_type': value['relatedType'],
141
117
  };
142
118
  }
143
119
 
@@ -55,18 +55,6 @@ export interface IndexSiteNotificationRequest {
55
55
  * @memberof IndexSiteNotificationRequest
56
56
  */
57
57
  siteId?: Array<string>;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof IndexSiteNotificationRequest
62
- */
63
- relatedId?: number;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof IndexSiteNotificationRequest
68
- */
69
- relatedType?: string;
70
58
  }
71
59
 
72
60
 
@@ -115,8 +103,6 @@ export function IndexSiteNotificationRequestFromJSONTyped(json: any, ignoreDiscr
115
103
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
116
104
  'page': json['page'] == null ? undefined : json['page'],
117
105
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
118
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
119
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
120
106
  };
121
107
  }
122
108
 
@@ -137,8 +123,6 @@ export function IndexSiteNotificationRequestToJSONTyped(value?: IndexSiteNotific
137
123
  'per_page': value['perPage'],
138
124
  'page': value['page'],
139
125
  'site_id': value['siteId'],
140
- 'related_id': value['relatedId'],
141
- 'related_type': value['relatedType'],
142
126
  };
143
127
  }
144
128
 
@@ -49,18 +49,6 @@ export interface IndexSiteRequest {
49
49
  * @memberof IndexSiteRequest
50
50
  */
51
51
  page?: number;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof IndexSiteRequest
56
- */
57
- relatedId?: number;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof IndexSiteRequest
62
- */
63
- relatedType?: string;
64
52
  }
65
53
 
66
54
 
@@ -108,8 +96,6 @@ export function IndexSiteRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
108
96
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
109
97
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
110
98
  'page': json['page'] == null ? undefined : json['page'],
111
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
112
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
113
99
  };
114
100
  }
115
101
 
@@ -129,8 +115,6 @@ export function IndexSiteRequestToJSONTyped(value?: IndexSiteRequest | null, ign
129
115
  'sortDirection': value['sortDirection'],
130
116
  'per_page': value['perPage'],
131
117
  'page': value['page'],
132
- 'related_id': value['relatedId'],
133
- 'related_type': value['relatedType'],
134
118
  };
135
119
  }
136
120
 
@@ -49,18 +49,6 @@ export interface IndexSupplierRequest {
49
49
  * @memberof IndexSupplierRequest
50
50
  */
51
51
  page?: number;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof IndexSupplierRequest
56
- */
57
- relatedId?: number;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof IndexSupplierRequest
62
- */
63
- relatedType?: IndexSupplierRequestRelatedTypeEnum;
64
52
  }
65
53
 
66
54
 
@@ -86,14 +74,6 @@ export const IndexSupplierRequestSortDirectionEnum = {
86
74
  } as const;
87
75
  export type IndexSupplierRequestSortDirectionEnum = typeof IndexSupplierRequestSortDirectionEnum[keyof typeof IndexSupplierRequestSortDirectionEnum];
88
76
 
89
- /**
90
- * @export
91
- */
92
- export const IndexSupplierRequestRelatedTypeEnum = {
93
- ProductChild: 'productChild'
94
- } as const;
95
- export type IndexSupplierRequestRelatedTypeEnum = typeof IndexSupplierRequestRelatedTypeEnum[keyof typeof IndexSupplierRequestRelatedTypeEnum];
96
-
97
77
 
98
78
  /**
99
79
  * Check if a given object implements the IndexSupplierRequest interface.
@@ -117,8 +97,6 @@ export function IndexSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator
117
97
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
118
98
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
119
99
  'page': json['page'] == null ? undefined : json['page'],
120
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
121
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
122
100
  };
123
101
  }
124
102
 
@@ -138,8 +116,6 @@ export function IndexSupplierRequestToJSONTyped(value?: IndexSupplierRequest | n
138
116
  'sortDirection': value['sortDirection'],
139
117
  'per_page': value['perPage'],
140
118
  'page': value['page'],
141
- 'related_id': value['relatedId'],
142
- 'related_type': value['relatedType'],
143
119
  };
144
120
  }
145
121
 
@@ -61,18 +61,6 @@ export interface IndexTagRequest {
61
61
  * @memberof IndexTagRequest
62
62
  */
63
63
  type?: Array<string>;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof IndexTagRequest
68
- */
69
- relatedId?: number;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof IndexTagRequest
74
- */
75
- relatedType?: IndexTagRequestRelatedTypeEnum;
76
64
  }
77
65
 
78
66
 
@@ -97,14 +85,6 @@ export const IndexTagRequestSortDirectionEnum = {
97
85
  } as const;
98
86
  export type IndexTagRequestSortDirectionEnum = typeof IndexTagRequestSortDirectionEnum[keyof typeof IndexTagRequestSortDirectionEnum];
99
87
 
100
- /**
101
- * @export
102
- */
103
- export const IndexTagRequestRelatedTypeEnum = {
104
- ProductChild: 'productChild'
105
- } as const;
106
- export type IndexTagRequestRelatedTypeEnum = typeof IndexTagRequestRelatedTypeEnum[keyof typeof IndexTagRequestRelatedTypeEnum];
107
-
108
88
 
109
89
  /**
110
90
  * Check if a given object implements the IndexTagRequest interface.
@@ -130,8 +110,6 @@ export function IndexTagRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
130
110
  'page': json['page'] == null ? undefined : json['page'],
131
111
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
132
112
  'type': json['type'] == null ? undefined : json['type'],
133
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
134
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
135
113
  };
136
114
  }
137
115
 
@@ -153,8 +131,6 @@ export function IndexTagRequestToJSONTyped(value?: IndexTagRequest | null, ignor
153
131
  'page': value['page'],
154
132
  'site_id': value['siteId'],
155
133
  'type': value['type'],
156
- 'related_id': value['relatedId'],
157
- 'related_type': value['relatedType'],
158
134
  };
159
135
  }
160
136
 
@@ -7,8 +7,6 @@ export * from './AssetLiteResourceArrayResponse';
7
7
  export * from './AssetResource';
8
8
  export * from './AssetResourceArrayResponse';
9
9
  export * from './AttributeFieldType';
10
- export * from './AttributeListResource';
11
- export * from './AttributeListResourceArrayResponse';
12
10
  export * from './AttributeLiteResource';
13
11
  export * from './AttributeLiteResourceArrayResponse';
14
12
  export * from './AttributeProductTypeRelationResource';
@@ -53,7 +51,6 @@ export * from './OverlayTemplateLiteResource';
53
51
  export * from './OverlayTemplateLiteResourceArrayResponse';
54
52
  export * from './OverlayTemplateResource';
55
53
  export * from './OverlayTemplateResourceArrayResponse';
56
- export * from './PaginatedAttributeListResourceResponse';
57
54
  export * from './PaginatedAttributeLiteResourceResponse';
58
55
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
59
56
  export * from './PaginatedAttributeResourceResponse';
@@ -66,18 +63,14 @@ export * from './PaginatedProductChildRelationResourceResponse';
66
63
  export * from './PaginatedProductChildResourceResponse';
67
64
  export * from './PaginatedProductLiteResourceResponse';
68
65
  export * from './PaginatedProductResourceResponse';
69
- export * from './PaginatedProductTypeListResourceResponse';
70
66
  export * from './PaginatedProductTypeLiteResourceResponse';
71
67
  export * from './PaginatedProductTypeResourceResponse';
72
- export * from './PaginatedSiteListResourceResponse';
73
68
  export * from './PaginatedSiteLiteResourceResponse';
74
69
  export * from './PaginatedSiteNotificationResourceResponse';
75
70
  export * from './PaginatedSiteResourceResponse';
76
71
  export * from './PaginatedSupplierFrontendResourceResponse';
77
- export * from './PaginatedSupplierListResourceResponse';
78
72
  export * from './PaginatedSupplierLiteResourceResponse';
79
73
  export * from './PaginatedSupplierResourceResponse';
80
- export * from './PaginatedTagListResourceResponse';
81
74
  export * from './PaginatedTagLiteResourceResponse';
82
75
  export * from './PaginatedTagResourceResponse';
83
76
  export * from './PagingMetadata';
@@ -95,8 +88,6 @@ export * from './ProductLiteResource';
95
88
  export * from './ProductLiteResourceArrayResponse';
96
89
  export * from './ProductResource';
97
90
  export * from './ProductResourceArrayResponse';
98
- export * from './ProductTypeListResource';
99
- export * from './ProductTypeListResourceArrayResponse';
100
91
  export * from './ProductTypeLiteResource';
101
92
  export * from './ProductTypeLiteResourceArrayResponse';
102
93
  export * from './ProductTypeResource';
@@ -105,8 +96,6 @@ export * from './SEOResource';
105
96
  export * from './SEOResourceArrayResponse';
106
97
  export * from './SiteConfigResource';
107
98
  export * from './SiteConfigResourceArrayResponse';
108
- export * from './SiteListResource';
109
- export * from './SiteListResourceArrayResponse';
110
99
  export * from './SiteLiteResource';
111
100
  export * from './SiteLiteResourceArrayResponse';
112
101
  export * from './SiteNotificationResource';
@@ -134,14 +123,10 @@ export * from './StoreSupplierRequestSeoInner';
134
123
  export * from './StoreTagRequest';
135
124
  export * from './SupplierFrontendResource';
136
125
  export * from './SupplierFrontendResourceArrayResponse';
137
- export * from './SupplierListResource';
138
- export * from './SupplierListResourceArrayResponse';
139
126
  export * from './SupplierLiteResource';
140
127
  export * from './SupplierLiteResourceArrayResponse';
141
128
  export * from './SupplierResource';
142
129
  export * from './SupplierResourceArrayResponse';
143
- export * from './TagListResource';
144
- export * from './TagListResourceArrayResponse';
145
130
  export * from './TagLiteResource';
146
131
  export * from './TagLiteResourceArrayResponse';
147
132
  export * from './TagResource';
@@ -1,56 +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 AttributeListResource
16
- */
17
- export interface AttributeListResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof AttributeListResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AttributeListResource
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AttributeListResource
34
- */
35
- type: string;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof AttributeListResource
40
- */
41
- isFilterable: boolean;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof AttributeListResource
46
- */
47
- filterIndex: number;
48
- }
49
- /**
50
- * Check if a given object implements the AttributeListResource interface.
51
- */
52
- export declare function instanceOfAttributeListResource(value: object): value is AttributeListResource;
53
- export declare function AttributeListResourceFromJSON(json: any): AttributeListResource;
54
- export declare function AttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResource;
55
- export declare function AttributeListResourceToJSON(json: any): AttributeListResource;
56
- export declare function AttributeListResourceToJSONTyped(value?: AttributeListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +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.instanceOfAttributeListResource = instanceOfAttributeListResource;
17
- exports.AttributeListResourceFromJSON = AttributeListResourceFromJSON;
18
- exports.AttributeListResourceFromJSONTyped = AttributeListResourceFromJSONTyped;
19
- exports.AttributeListResourceToJSON = AttributeListResourceToJSON;
20
- exports.AttributeListResourceToJSONTyped = AttributeListResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the AttributeListResource interface.
23
- */
24
- function instanceOfAttributeListResource(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('type' in value) || value['type'] === undefined)
30
- return false;
31
- if (!('isFilterable' in value) || value['isFilterable'] === undefined)
32
- return false;
33
- if (!('filterIndex' in value) || value['filterIndex'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function AttributeListResourceFromJSON(json) {
38
- return AttributeListResourceFromJSONTyped(json, false);
39
- }
40
- function AttributeListResourceFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'id': json['id'],
46
- 'name': json['name'],
47
- 'type': json['type'],
48
- 'isFilterable': json['isFilterable'],
49
- 'filterIndex': json['filterIndex'],
50
- };
51
- }
52
- function AttributeListResourceToJSON(json) {
53
- return AttributeListResourceToJSONTyped(json, false);
54
- }
55
- function AttributeListResourceToJSONTyped(value, ignoreDiscriminator) {
56
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'id': value['id'],
62
- 'name': value['name'],
63
- 'type': value['type'],
64
- 'isFilterable': value['isFilterable'],
65
- 'filterIndex': value['filterIndex'],
66
- };
67
- }
@@ -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 { AttributeListResource } from './AttributeListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface AttributeListResourceArrayResponse
17
- */
18
- export interface AttributeListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<AttributeListResource>}
22
- * @memberof AttributeListResourceArrayResponse
23
- */
24
- data?: Array<AttributeListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the AttributeListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfAttributeListResourceArrayResponse(value: object): value is AttributeListResourceArrayResponse;
30
- export declare function AttributeListResourceArrayResponseFromJSON(json: any): AttributeListResourceArrayResponse;
31
- export declare function AttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResourceArrayResponse;
32
- export declare function AttributeListResourceArrayResponseToJSON(json: any): AttributeListResourceArrayResponse;
33
- export declare function AttributeListResourceArrayResponseToJSONTyped(value?: AttributeListResourceArrayResponse | 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.instanceOfAttributeListResourceArrayResponse = instanceOfAttributeListResourceArrayResponse;
17
- exports.AttributeListResourceArrayResponseFromJSON = AttributeListResourceArrayResponseFromJSON;
18
- exports.AttributeListResourceArrayResponseFromJSONTyped = AttributeListResourceArrayResponseFromJSONTyped;
19
- exports.AttributeListResourceArrayResponseToJSON = AttributeListResourceArrayResponseToJSON;
20
- exports.AttributeListResourceArrayResponseToJSONTyped = AttributeListResourceArrayResponseToJSONTyped;
21
- var AttributeListResource_1 = require("./AttributeListResource");
22
- /**
23
- * Check if a given object implements the AttributeListResourceArrayResponse interface.
24
- */
25
- function instanceOfAttributeListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function AttributeListResourceArrayResponseFromJSON(json) {
29
- return AttributeListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function AttributeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(AttributeListResource_1.AttributeListResourceFromJSON)),
37
- };
38
- }
39
- function AttributeListResourceArrayResponseToJSON(json) {
40
- return AttributeListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function AttributeListResourceArrayResponseToJSONTyped(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(AttributeListResource_1.AttributeListResourceToJSON)),
49
- };
50
- }
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
13
- import type { AttributeListResource } from './AttributeListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedAttributeListResourceResponse
18
- */
19
- export interface PaginatedAttributeListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<AttributeListResource>}
23
- * @memberof PaginatedAttributeListResourceResponse
24
- */
25
- data: Array<AttributeListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedAttributeListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedAttributeListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedAttributeListResourceResponse(value: object): value is PaginatedAttributeListResourceResponse;
37
- export declare function PaginatedAttributeListResourceResponseFromJSON(json: any): PaginatedAttributeListResourceResponse;
38
- export declare function PaginatedAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeListResourceResponse;
39
- export declare function PaginatedAttributeListResourceResponseToJSON(json: any): PaginatedAttributeListResourceResponse;
40
- export declare function PaginatedAttributeListResourceResponseToJSONTyped(value?: PaginatedAttributeListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedAttributeListResourceResponse = instanceOfPaginatedAttributeListResourceResponse;
17
- exports.PaginatedAttributeListResourceResponseFromJSON = PaginatedAttributeListResourceResponseFromJSON;
18
- exports.PaginatedAttributeListResourceResponseFromJSONTyped = PaginatedAttributeListResourceResponseFromJSONTyped;
19
- exports.PaginatedAttributeListResourceResponseToJSON = PaginatedAttributeListResourceResponseToJSON;
20
- exports.PaginatedAttributeListResourceResponseToJSONTyped = PaginatedAttributeListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var AttributeListResource_1 = require("./AttributeListResource");
23
- /**
24
- * Check if a given object implements the PaginatedAttributeListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedAttributeListResourceResponse(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 PaginatedAttributeListResourceResponseFromJSON(json) {
34
- return PaginatedAttributeListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedAttributeListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(AttributeListResource_1.AttributeListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedAttributeListResourceResponseToJSON(json) {
46
- return PaginatedAttributeListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedAttributeListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(AttributeListResource_1.AttributeListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,40 +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 { ProductTypeListResource } from './ProductTypeListResource';
13
- import type { PagingMetadata } from './PagingMetadata';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedProductTypeListResourceResponse
18
- */
19
- export interface PaginatedProductTypeListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<ProductTypeListResource>}
23
- * @memberof PaginatedProductTypeListResourceResponse
24
- */
25
- data: Array<ProductTypeListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedProductTypeListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedProductTypeListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedProductTypeListResourceResponse(value: object): value is PaginatedProductTypeListResourceResponse;
37
- export declare function PaginatedProductTypeListResourceResponseFromJSON(json: any): PaginatedProductTypeListResourceResponse;
38
- export declare function PaginatedProductTypeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductTypeListResourceResponse;
39
- export declare function PaginatedProductTypeListResourceResponseToJSON(json: any): PaginatedProductTypeListResourceResponse;
40
- export declare function PaginatedProductTypeListResourceResponseToJSONTyped(value?: PaginatedProductTypeListResourceResponse | null, ignoreDiscriminator?: boolean): any;