@digital8/lighting-illusions-ts-sdk 0.0.480 → 0.0.481
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.
- package/.openapi-generator/FILES +0 -4
- package/README.md +2 -4
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +0 -6
- package/dist/models/IndexExternalApiLogRequest.js +0 -2
- package/dist/models/ProductChildSiteDetailResource.d.ts +2 -8
- package/dist/models/ProductChildSiteDetailResource.js +4 -4
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/docs/IndexExternalApiLogRequest.md +0 -2
- package/docs/ProductChildSiteDetailResource.md +2 -4
- package/package.json +1 -1
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/IndexExternalApiLogRequest.ts +0 -8
- package/src/models/ProductChildSiteDetailResource.ts +5 -12
- package/src/models/index.ts +0 -2
- package/dist/models/ProductRating.d.ts +0 -26
- package/dist/models/ProductRating.js +0 -52
- package/dist/models/ProductSortBy.d.ts +0 -32
- package/dist/models/ProductSortBy.js +0 -58
- package/docs/ProductRating.md +0 -32
- package/docs/ProductSortBy.md +0 -32
- package/src/models/ProductRating.ts +0 -54
- package/src/models/ProductSortBy.ts +0 -60
package/.openapi-generator/FILES
CHANGED
|
@@ -135,10 +135,8 @@ docs/ProductListResource.md
|
|
|
135
135
|
docs/ProductListResourceArrayResponse.md
|
|
136
136
|
docs/ProductLiteResource.md
|
|
137
137
|
docs/ProductLiteResourceArrayResponse.md
|
|
138
|
-
docs/ProductRating.md
|
|
139
138
|
docs/ProductResource.md
|
|
140
139
|
docs/ProductResourceArrayResponse.md
|
|
141
|
-
docs/ProductSortBy.md
|
|
142
140
|
docs/ProductTypeApi.md
|
|
143
141
|
docs/ProductTypeListResource.md
|
|
144
142
|
docs/ProductTypeListResourceArrayResponse.md
|
|
@@ -354,10 +352,8 @@ src/models/ProductListResource.ts
|
|
|
354
352
|
src/models/ProductListResourceArrayResponse.ts
|
|
355
353
|
src/models/ProductLiteResource.ts
|
|
356
354
|
src/models/ProductLiteResourceArrayResponse.ts
|
|
357
|
-
src/models/ProductRating.ts
|
|
358
355
|
src/models/ProductResource.ts
|
|
359
356
|
src/models/ProductResourceArrayResponse.ts
|
|
360
|
-
src/models/ProductSortBy.ts
|
|
361
357
|
src/models/ProductTypeListResource.ts
|
|
362
358
|
src/models/ProductTypeListResourceArrayResponse.ts
|
|
363
359
|
src/models/ProductTypeLiteResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.481
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -269,10 +269,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
269
269
|
- [ProductListResourceArrayResponse](docs/ProductListResourceArrayResponse.md)
|
|
270
270
|
- [ProductLiteResource](docs/ProductLiteResource.md)
|
|
271
271
|
- [ProductLiteResourceArrayResponse](docs/ProductLiteResourceArrayResponse.md)
|
|
272
|
-
- [ProductRating](docs/ProductRating.md)
|
|
273
272
|
- [ProductResource](docs/ProductResource.md)
|
|
274
273
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
275
|
-
- [ProductSortBy](docs/ProductSortBy.md)
|
|
276
274
|
- [ProductTypeListResource](docs/ProductTypeListResource.md)
|
|
277
275
|
- [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
|
|
278
276
|
- [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
|
|
@@ -357,7 +355,7 @@ and is automatically generated by the
|
|
|
357
355
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
358
356
|
|
|
359
357
|
- API version: `1.0.0`
|
|
360
|
-
- Package version: `0.0.
|
|
358
|
+
- Package version: `0.0.481`
|
|
361
359
|
- Generator version: `7.17.0`
|
|
362
360
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
363
361
|
|
|
@@ -39,7 +39,6 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export declare const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
41
41
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
42
|
-
readonly AppModelsSupplier: "App\\Models\\Supplier";
|
|
43
42
|
readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
|
|
44
43
|
};
|
|
45
44
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -24,7 +24,6 @@ exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Attach
|
|
|
24
24
|
*/
|
|
25
25
|
exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
AppModelsSupplier: 'App\\Models\\Supplier',
|
|
28
27
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
@@ -33,7 +33,6 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
35
35
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
36
|
-
readonly AppModelsSupplier: "App\\Models\\Supplier";
|
|
37
36
|
readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
|
|
38
37
|
};
|
|
39
38
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -24,7 +24,6 @@ exports.DetachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Detach
|
|
|
24
24
|
*/
|
|
25
25
|
exports.DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
AppModelsSupplier: 'App\\Models\\Supplier',
|
|
28
27
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
@@ -81,12 +81,6 @@ export interface IndexExternalApiLogRequest {
|
|
|
81
81
|
* @memberof IndexExternalApiLogRequest
|
|
82
82
|
*/
|
|
83
83
|
siteId?: Array<string>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof IndexExternalApiLogRequest
|
|
88
|
-
*/
|
|
89
|
-
productChildId?: Array<string>;
|
|
90
84
|
/**
|
|
91
85
|
*
|
|
92
86
|
* @type {number}
|
|
@@ -63,7 +63,6 @@ function IndexExternalApiLogRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
64
64
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
65
65
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
66
|
-
'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
|
|
67
66
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
68
67
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
69
68
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -89,7 +88,6 @@ function IndexExternalApiLogRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
89
88
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
90
89
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
91
90
|
'site_id': value['siteId'],
|
|
92
|
-
'product_child_id': value['productChildId'],
|
|
93
91
|
'related_id': value['relatedId'],
|
|
94
92
|
'related_type': value['relatedType'],
|
|
95
93
|
'includes_relations': value['includesRelations'],
|
|
@@ -79,16 +79,10 @@ export interface ProductChildSiteDetailResource {
|
|
|
79
79
|
seo: SEOResource | null;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
|
-
* @type {
|
|
83
|
-
* @memberof ProductChildSiteDetailResource
|
|
84
|
-
*/
|
|
85
|
-
omnisendId?: string | null;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
82
|
+
* @type {object}
|
|
89
83
|
* @memberof ProductChildSiteDetailResource
|
|
90
84
|
*/
|
|
91
|
-
|
|
85
|
+
documents: object;
|
|
92
86
|
}
|
|
93
87
|
/**
|
|
94
88
|
* Check if a given object implements the ProductChildSiteDetailResource interface.
|
|
@@ -44,6 +44,8 @@ function instanceOfProductChildSiteDetailResource(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('seo' in value) || value['seo'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
+
if (!('documents' in value) || value['documents'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
return true;
|
|
48
50
|
}
|
|
49
51
|
function ProductChildSiteDetailResourceFromJSON(json) {
|
|
@@ -64,8 +66,7 @@ function ProductChildSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator)
|
|
|
64
66
|
'salePrice': json['salePrice'],
|
|
65
67
|
'isDisabled': json['isDisabled'],
|
|
66
68
|
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
67
|
-
'
|
|
68
|
-
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
69
|
+
'documents': json['documents'],
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
72
|
function ProductChildSiteDetailResourceToJSON(json) {
|
|
@@ -87,7 +88,6 @@ function ProductChildSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
87
88
|
'salePrice': value['salePrice'],
|
|
88
89
|
'isDisabled': value['isDisabled'],
|
|
89
90
|
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
90
|
-
'
|
|
91
|
-
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
91
|
+
'documents': value['documents'],
|
|
92
92
|
};
|
|
93
93
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -124,10 +124,8 @@ export * from './ProductListResource';
|
|
|
124
124
|
export * from './ProductListResourceArrayResponse';
|
|
125
125
|
export * from './ProductLiteResource';
|
|
126
126
|
export * from './ProductLiteResourceArrayResponse';
|
|
127
|
-
export * from './ProductRating';
|
|
128
127
|
export * from './ProductResource';
|
|
129
128
|
export * from './ProductResourceArrayResponse';
|
|
130
|
-
export * from './ProductSortBy';
|
|
131
129
|
export * from './ProductTypeListResource';
|
|
132
130
|
export * from './ProductTypeListResourceArrayResponse';
|
|
133
131
|
export * from './ProductTypeLiteResource';
|
package/dist/models/index.js
CHANGED
|
@@ -142,10 +142,8 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
142
142
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
143
143
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
144
144
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
145
|
-
__exportStar(require("./ProductRating"), exports);
|
|
146
145
|
__exportStar(require("./ProductResource"), exports);
|
|
147
146
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
148
|
-
__exportStar(require("./ProductSortBy"), exports);
|
|
149
147
|
__exportStar(require("./ProductTypeListResource"), exports);
|
|
150
148
|
__exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
|
|
151
149
|
__exportStar(require("./ProductTypeLiteResource"), exports);
|
|
@@ -17,7 +17,6 @@ Name | Type
|
|
|
17
17
|
`externalApiLoggableType` | Array<string>
|
|
18
18
|
`externalApiLoggableId` | Array<string>
|
|
19
19
|
`siteId` | Array<string>
|
|
20
|
-
`productChildId` | Array<string>
|
|
21
20
|
`relatedId` | number
|
|
22
21
|
`relatedType` | string
|
|
23
22
|
`includesRelations` | boolean
|
|
@@ -40,7 +39,6 @@ const example = {
|
|
|
40
39
|
"externalApiLoggableType": null,
|
|
41
40
|
"externalApiLoggableId": null,
|
|
42
41
|
"siteId": null,
|
|
43
|
-
"productChildId": null,
|
|
44
42
|
"relatedId": null,
|
|
45
43
|
"relatedType": null,
|
|
46
44
|
"includesRelations": null,
|
|
@@ -16,8 +16,7 @@ Name | Type
|
|
|
16
16
|
`salePrice` | number
|
|
17
17
|
`isDisabled` | boolean
|
|
18
18
|
`seo` | [SEOResource](SEOResource.md)
|
|
19
|
-
`
|
|
20
|
-
`omnisendSyncStatus` | string
|
|
19
|
+
`documents` | object
|
|
21
20
|
|
|
22
21
|
## Example
|
|
23
22
|
|
|
@@ -36,8 +35,7 @@ const example = {
|
|
|
36
35
|
"salePrice": null,
|
|
37
36
|
"isDisabled": null,
|
|
38
37
|
"seo": null,
|
|
39
|
-
"
|
|
40
|
-
"omnisendSyncStatus": null,
|
|
38
|
+
"documents": null,
|
|
41
39
|
} satisfies ProductChildSiteDetailResource
|
|
42
40
|
|
|
43
41
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -45,7 +45,6 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
45
45
|
*/
|
|
46
46
|
export const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
47
47
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
48
|
-
AppModelsSupplier: 'App\\Models\\Supplier',
|
|
49
48
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
50
49
|
} as const;
|
|
51
50
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -39,7 +39,6 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
41
41
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
42
|
-
AppModelsSupplier: 'App\\Models\\Supplier',
|
|
43
42
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
44
43
|
} as const;
|
|
45
44
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -85,12 +85,6 @@ export interface IndexExternalApiLogRequest {
|
|
|
85
85
|
* @memberof IndexExternalApiLogRequest
|
|
86
86
|
*/
|
|
87
87
|
siteId?: Array<string>;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {Array<string>}
|
|
91
|
-
* @memberof IndexExternalApiLogRequest
|
|
92
|
-
*/
|
|
93
|
-
productChildId?: Array<string>;
|
|
94
88
|
/**
|
|
95
89
|
*
|
|
96
90
|
* @type {number}
|
|
@@ -164,7 +158,6 @@ export function IndexExternalApiLogRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
164
158
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
165
159
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
166
160
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
167
|
-
'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
|
|
168
161
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
169
162
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
170
163
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -193,7 +186,6 @@ export function IndexExternalApiLogRequestToJSONTyped(value?: IndexExternalApiLo
|
|
|
193
186
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
194
187
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
195
188
|
'site_id': value['siteId'],
|
|
196
|
-
'product_child_id': value['productChildId'],
|
|
197
189
|
'related_id': value['relatedId'],
|
|
198
190
|
'related_type': value['relatedType'],
|
|
199
191
|
'includes_relations': value['includesRelations'],
|
|
@@ -96,16 +96,10 @@ export interface ProductChildSiteDetailResource {
|
|
|
96
96
|
seo: SEOResource | null;
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
|
-
* @type {
|
|
100
|
-
* @memberof ProductChildSiteDetailResource
|
|
101
|
-
*/
|
|
102
|
-
omnisendId?: string | null;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {string}
|
|
99
|
+
* @type {object}
|
|
106
100
|
* @memberof ProductChildSiteDetailResource
|
|
107
101
|
*/
|
|
108
|
-
|
|
102
|
+
documents: object;
|
|
109
103
|
}
|
|
110
104
|
|
|
111
105
|
/**
|
|
@@ -122,6 +116,7 @@ export function instanceOfProductChildSiteDetailResource(value: object): value i
|
|
|
122
116
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
123
117
|
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
124
118
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
119
|
+
if (!('documents' in value) || value['documents'] === undefined) return false;
|
|
125
120
|
return true;
|
|
126
121
|
}
|
|
127
122
|
|
|
@@ -145,8 +140,7 @@ export function ProductChildSiteDetailResourceFromJSONTyped(json: any, ignoreDis
|
|
|
145
140
|
'salePrice': json['salePrice'],
|
|
146
141
|
'isDisabled': json['isDisabled'],
|
|
147
142
|
'seo': SEOResourceFromJSON(json['seo']),
|
|
148
|
-
'
|
|
149
|
-
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
143
|
+
'documents': json['documents'],
|
|
150
144
|
};
|
|
151
145
|
}
|
|
152
146
|
|
|
@@ -171,8 +165,7 @@ export function ProductChildSiteDetailResourceToJSONTyped(value?: ProductChildSi
|
|
|
171
165
|
'salePrice': value['salePrice'],
|
|
172
166
|
'isDisabled': value['isDisabled'],
|
|
173
167
|
'seo': SEOResourceToJSON(value['seo']),
|
|
174
|
-
'
|
|
175
|
-
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
168
|
+
'documents': value['documents'],
|
|
176
169
|
};
|
|
177
170
|
}
|
|
178
171
|
|
package/src/models/index.ts
CHANGED
|
@@ -126,10 +126,8 @@ export * from './ProductListResource';
|
|
|
126
126
|
export * from './ProductListResourceArrayResponse';
|
|
127
127
|
export * from './ProductLiteResource';
|
|
128
128
|
export * from './ProductLiteResourceArrayResponse';
|
|
129
|
-
export * from './ProductRating';
|
|
130
129
|
export * from './ProductResource';
|
|
131
130
|
export * from './ProductResourceArrayResponse';
|
|
132
|
-
export * from './ProductSortBy';
|
|
133
131
|
export * from './ProductTypeListResource';
|
|
134
132
|
export * from './ProductTypeListResourceArrayResponse';
|
|
135
133
|
export * from './ProductTypeLiteResource';
|
|
@@ -1,26 +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
|
-
*/
|
|
16
|
-
export declare const ProductRating: {
|
|
17
|
-
readonly _5: "5";
|
|
18
|
-
readonly _4: "4";
|
|
19
|
-
readonly _3: "3";
|
|
20
|
-
};
|
|
21
|
-
export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
|
|
22
|
-
export declare function instanceOfProductRating(value: any): boolean;
|
|
23
|
-
export declare function ProductRatingFromJSON(json: any): ProductRating;
|
|
24
|
-
export declare function ProductRatingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRating;
|
|
25
|
-
export declare function ProductRatingToJSON(value?: ProductRating | null): any;
|
|
26
|
-
export declare function ProductRatingToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRating;
|
|
@@ -1,52 +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.ProductRating = void 0;
|
|
17
|
-
exports.instanceOfProductRating = instanceOfProductRating;
|
|
18
|
-
exports.ProductRatingFromJSON = ProductRatingFromJSON;
|
|
19
|
-
exports.ProductRatingFromJSONTyped = ProductRatingFromJSONTyped;
|
|
20
|
-
exports.ProductRatingToJSON = ProductRatingToJSON;
|
|
21
|
-
exports.ProductRatingToJSONTyped = ProductRatingToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductRating = {
|
|
27
|
-
_5: '5',
|
|
28
|
-
_4: '4',
|
|
29
|
-
_3: '3'
|
|
30
|
-
};
|
|
31
|
-
function instanceOfProductRating(value) {
|
|
32
|
-
for (var key in exports.ProductRating) {
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductRating, key)) {
|
|
34
|
-
if (exports.ProductRating[key] === value) {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
function ProductRatingFromJSON(json) {
|
|
42
|
-
return ProductRatingFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function ProductRatingFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
function ProductRatingToJSON(value) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
function ProductRatingToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
@@ -1,32 +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
|
-
*/
|
|
16
|
-
export declare const ProductSortBy: {
|
|
17
|
-
readonly Relevance: "relevance";
|
|
18
|
-
readonly MostPopular: "mostPopular";
|
|
19
|
-
readonly HighestRating: "highestRating";
|
|
20
|
-
readonly LowestRating: "lowestRating";
|
|
21
|
-
readonly DescendingPrice: "descendingPrice";
|
|
22
|
-
readonly AscendingPrice: "ascendingPrice";
|
|
23
|
-
readonly DescendingName: "descendingName";
|
|
24
|
-
readonly AscendingName: "ascendingName";
|
|
25
|
-
readonly RecentlyAdded: "recentlyAdded";
|
|
26
|
-
};
|
|
27
|
-
export type ProductSortBy = typeof ProductSortBy[keyof typeof ProductSortBy];
|
|
28
|
-
export declare function instanceOfProductSortBy(value: any): boolean;
|
|
29
|
-
export declare function ProductSortByFromJSON(json: any): ProductSortBy;
|
|
30
|
-
export declare function ProductSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSortBy;
|
|
31
|
-
export declare function ProductSortByToJSON(value?: ProductSortBy | null): any;
|
|
32
|
-
export declare function ProductSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductSortBy;
|
|
@@ -1,58 +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.ProductSortBy = void 0;
|
|
17
|
-
exports.instanceOfProductSortBy = instanceOfProductSortBy;
|
|
18
|
-
exports.ProductSortByFromJSON = ProductSortByFromJSON;
|
|
19
|
-
exports.ProductSortByFromJSONTyped = ProductSortByFromJSONTyped;
|
|
20
|
-
exports.ProductSortByToJSON = ProductSortByToJSON;
|
|
21
|
-
exports.ProductSortByToJSONTyped = ProductSortByToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductSortBy = {
|
|
27
|
-
Relevance: 'relevance',
|
|
28
|
-
MostPopular: 'mostPopular',
|
|
29
|
-
HighestRating: 'highestRating',
|
|
30
|
-
LowestRating: 'lowestRating',
|
|
31
|
-
DescendingPrice: 'descendingPrice',
|
|
32
|
-
AscendingPrice: 'ascendingPrice',
|
|
33
|
-
DescendingName: 'descendingName',
|
|
34
|
-
AscendingName: 'ascendingName',
|
|
35
|
-
RecentlyAdded: 'recentlyAdded'
|
|
36
|
-
};
|
|
37
|
-
function instanceOfProductSortBy(value) {
|
|
38
|
-
for (var key in exports.ProductSortBy) {
|
|
39
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductSortBy, key)) {
|
|
40
|
-
if (exports.ProductSortBy[key] === value) {
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
function ProductSortByFromJSON(json) {
|
|
48
|
-
return ProductSortByFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function ProductSortByFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
function ProductSortByToJSON(value) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
function ProductSortByToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
package/docs/ProductRating.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRating
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import type { ProductRating } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
-
|
|
15
|
-
// TODO: Update the object below with actual values
|
|
16
|
-
const example = {
|
|
17
|
-
} satisfies ProductRating
|
|
18
|
-
|
|
19
|
-
console.log(example)
|
|
20
|
-
|
|
21
|
-
// Convert the instance to a JSON string
|
|
22
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
-
console.log(exampleJSON)
|
|
24
|
-
|
|
25
|
-
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductRating
|
|
27
|
-
console.log(exampleParsed)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
-
|
|
32
|
-
|
package/docs/ProductSortBy.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductSortBy
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import type { ProductSortBy } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
-
|
|
15
|
-
// TODO: Update the object below with actual values
|
|
16
|
-
const example = {
|
|
17
|
-
} satisfies ProductSortBy
|
|
18
|
-
|
|
19
|
-
console.log(example)
|
|
20
|
-
|
|
21
|
-
// Convert the instance to a JSON string
|
|
22
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
-
console.log(exampleJSON)
|
|
24
|
-
|
|
25
|
-
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductSortBy
|
|
27
|
-
console.log(exampleParsed)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
-
|
|
32
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const ProductRating = {
|
|
21
|
-
_5: '5',
|
|
22
|
-
_4: '4',
|
|
23
|
-
_3: '3'
|
|
24
|
-
} as const;
|
|
25
|
-
export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export function instanceOfProductRating(value: any): boolean {
|
|
29
|
-
for (const key in ProductRating) {
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(ProductRating, key)) {
|
|
31
|
-
if (ProductRating[key as keyof typeof ProductRating] === value) {
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function ProductRatingFromJSON(json: any): ProductRating {
|
|
40
|
-
return ProductRatingFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function ProductRatingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRating {
|
|
44
|
-
return json as ProductRating;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function ProductRatingToJSON(value?: ProductRating | null): any {
|
|
48
|
-
return value as any;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ProductRatingToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRating {
|
|
52
|
-
return value as ProductRating;
|
|
53
|
-
}
|
|
54
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const ProductSortBy = {
|
|
21
|
-
Relevance: 'relevance',
|
|
22
|
-
MostPopular: 'mostPopular',
|
|
23
|
-
HighestRating: 'highestRating',
|
|
24
|
-
LowestRating: 'lowestRating',
|
|
25
|
-
DescendingPrice: 'descendingPrice',
|
|
26
|
-
AscendingPrice: 'ascendingPrice',
|
|
27
|
-
DescendingName: 'descendingName',
|
|
28
|
-
AscendingName: 'ascendingName',
|
|
29
|
-
RecentlyAdded: 'recentlyAdded'
|
|
30
|
-
} as const;
|
|
31
|
-
export type ProductSortBy = typeof ProductSortBy[keyof typeof ProductSortBy];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export function instanceOfProductSortBy(value: any): boolean {
|
|
35
|
-
for (const key in ProductSortBy) {
|
|
36
|
-
if (Object.prototype.hasOwnProperty.call(ProductSortBy, key)) {
|
|
37
|
-
if (ProductSortBy[key as keyof typeof ProductSortBy] === value) {
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductSortByFromJSON(json: any): ProductSortBy {
|
|
46
|
-
return ProductSortByFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSortBy {
|
|
50
|
-
return json as ProductSortBy;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function ProductSortByToJSON(value?: ProductSortBy | null): any {
|
|
54
|
-
return value as any;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function ProductSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductSortBy {
|
|
58
|
-
return value as ProductSortBy;
|
|
59
|
-
}
|
|
60
|
-
|