@digital8/lighting-illusions-ts-sdk 0.0.1628 → 0.0.1629
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 +10 -0
- package/README.md +12 -2
- package/dist/apis/BlogCategoriesApi.d.ts +109 -0
- package/dist/apis/BlogCategoriesApi.js +433 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/GetAllBlogCategoryRequest.d.ts +78 -0
- package/dist/models/GetAllBlogCategoryRequest.js +74 -0
- package/dist/models/IndexBlogCategoryRequest.d.ts +90 -0
- package/dist/models/IndexBlogCategoryRequest.js +78 -0
- package/dist/models/StoreBlogCategoryRequest.d.ts +45 -0
- package/dist/models/StoreBlogCategoryRequest.js +60 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/UpdateBlogCategoryRequest.d.ts +45 -0
- package/dist/models/UpdateBlogCategoryRequest.js +60 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/docs/BlogCategoriesApi.md +407 -0
- package/docs/GetAllBlogCategoryRequest.md +44 -0
- package/docs/IndexBlogCategoryRequest.md +48 -0
- package/docs/StoreBlogCategoryRequest.md +38 -0
- package/docs/UpdateBlogCategoryRequest.md +38 -0
- package/package.json +1 -1
- package/src/apis/BlogCategoriesApi.ts +334 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/GetAllBlogCategoryRequest.ts +125 -0
- package/src/models/IndexBlogCategoryRequest.ts +141 -0
- package/src/models/StoreBlogCategoryRequest.ts +92 -0
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/UpdateBlogCategoryRequest.ts +92 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
17
|
+
import {
|
|
18
|
+
StoreProductCategoryRequestDescriptionsInnerFromJSON,
|
|
19
|
+
StoreProductCategoryRequestDescriptionsInnerFromJSONTyped,
|
|
20
|
+
StoreProductCategoryRequestDescriptionsInnerToJSON,
|
|
21
|
+
StoreProductCategoryRequestDescriptionsInnerToJSONTyped,
|
|
22
|
+
} from './StoreProductCategoryRequestDescriptionsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface StoreBlogCategoryRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface StoreBlogCategoryRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StoreBlogCategoryRequest
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StoreBlogCategoryRequest
|
|
40
|
+
*/
|
|
41
|
+
slug: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
45
|
+
* @memberof StoreBlogCategoryRequest
|
|
46
|
+
*/
|
|
47
|
+
descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the StoreBlogCategoryRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfStoreBlogCategoryRequest(value: object): value is StoreBlogCategoryRequest {
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
56
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function StoreBlogCategoryRequestFromJSON(json: any): StoreBlogCategoryRequest {
|
|
61
|
+
return StoreBlogCategoryRequestFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function StoreBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreBlogCategoryRequest {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'name': json['name'],
|
|
71
|
+
'slug': json['slug'],
|
|
72
|
+
'descriptions': ((json['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function StoreBlogCategoryRequestToJSON(json: any): StoreBlogCategoryRequest {
|
|
77
|
+
return StoreBlogCategoryRequestToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function StoreBlogCategoryRequestToJSONTyped(value?: StoreBlogCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'slug': value['slug'],
|
|
89
|
+
'descriptions': ((value['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -98,6 +98,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
98
98
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
99
99
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
100
100
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
101
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
101
102
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
102
103
|
return true;
|
|
103
104
|
}
|
|
@@ -118,7 +119,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
118
119
|
'phone': json['phone'],
|
|
119
120
|
'longitude': json['longitude'],
|
|
120
121
|
'latitude': json['latitude'],
|
|
121
|
-
'tagLine': json['tag_line']
|
|
122
|
+
'tagLine': json['tag_line'],
|
|
122
123
|
'email': json['email'],
|
|
123
124
|
'website': json['website'] == null ? undefined : json['website'],
|
|
124
125
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
17
|
+
import {
|
|
18
|
+
StoreProductCategoryRequestDescriptionsInnerFromJSON,
|
|
19
|
+
StoreProductCategoryRequestDescriptionsInnerFromJSONTyped,
|
|
20
|
+
StoreProductCategoryRequestDescriptionsInnerToJSON,
|
|
21
|
+
StoreProductCategoryRequestDescriptionsInnerToJSONTyped,
|
|
22
|
+
} from './StoreProductCategoryRequestDescriptionsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateBlogCategoryRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateBlogCategoryRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateBlogCategoryRequest
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateBlogCategoryRequest
|
|
40
|
+
*/
|
|
41
|
+
slug: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
45
|
+
* @memberof UpdateBlogCategoryRequest
|
|
46
|
+
*/
|
|
47
|
+
descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the UpdateBlogCategoryRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfUpdateBlogCategoryRequest(value: object): value is UpdateBlogCategoryRequest {
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
56
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdateBlogCategoryRequestFromJSON(json: any): UpdateBlogCategoryRequest {
|
|
61
|
+
return UpdateBlogCategoryRequestFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpdateBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBlogCategoryRequest {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'name': json['name'],
|
|
71
|
+
'slug': json['slug'],
|
|
72
|
+
'descriptions': ((json['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function UpdateBlogCategoryRequestToJSON(json: any): UpdateBlogCategoryRequest {
|
|
77
|
+
return UpdateBlogCategoryRequestToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function UpdateBlogCategoryRequestToJSONTyped(value?: UpdateBlogCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'slug': value['slug'],
|
|
89
|
+
'descriptions': ((value['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -91,6 +91,7 @@ export * from './ExternalApiSyncStatus';
|
|
|
91
91
|
export * from './GenericResponse';
|
|
92
92
|
export * from './GetAllAttributeRequest';
|
|
93
93
|
export * from './GetAllAttributeValueRequest';
|
|
94
|
+
export * from './GetAllBlogCategoryRequest';
|
|
94
95
|
export * from './GetAllDefinitionRequest';
|
|
95
96
|
export * from './GetAllDocumentRequest';
|
|
96
97
|
export * from './GetAllGoogleCategoryRequest';
|
|
@@ -116,6 +117,7 @@ export * from './GoogleCategoryResource';
|
|
|
116
117
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
117
118
|
export * from './IndexAttributeRequest';
|
|
118
119
|
export * from './IndexAttributeValueRequest';
|
|
120
|
+
export * from './IndexBlogCategoryRequest';
|
|
119
121
|
export * from './IndexDefinitionRequest';
|
|
120
122
|
export * from './IndexDocumentRequest';
|
|
121
123
|
export * from './IndexExternalApiLogRequest';
|
|
@@ -314,6 +316,7 @@ export * from './StoreAssetFileRequest';
|
|
|
314
316
|
export * from './StoreAssetForAssetableRequest';
|
|
315
317
|
export * from './StoreAttributeRequest';
|
|
316
318
|
export * from './StoreAttributeValueRequest';
|
|
319
|
+
export * from './StoreBlogCategoryRequest';
|
|
317
320
|
export * from './StoreDefinitionRequest';
|
|
318
321
|
export * from './StoreDocumentFileRequest';
|
|
319
322
|
export * from './StoreDocumentRequest';
|
|
@@ -372,6 +375,7 @@ export * from './TagType';
|
|
|
372
375
|
export * from './UpdateAssetForAssetableRequest';
|
|
373
376
|
export * from './UpdateAttributeRequest';
|
|
374
377
|
export * from './UpdateAttributeValueRequest';
|
|
378
|
+
export * from './UpdateBlogCategoryRequest';
|
|
375
379
|
export * from './UpdateDefinitionRequest';
|
|
376
380
|
export * from './UpdateDocumentRequest';
|
|
377
381
|
export * from './UpdateFilterOrderAttributeRequest';
|