@digital8/lighting-illusions-ts-sdk 0.0.1626 → 0.0.1628
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 +18 -0
- package/README.md +11 -2
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/BlogCategoryListResource.d.ts +44 -0
- package/dist/models/BlogCategoryListResource.js +59 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryLiteResource.d.ts +38 -0
- package/dist/models/BlogCategoryLiteResource.js +55 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryResource.d.ts +51 -0
- package/dist/models/BlogCategoryResource.js +64 -0
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +57 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/BlogCategoryListResource.md +38 -0
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryLiteResource.md +36 -0
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +40 -0
- package/docs/BlogCategoryResourceArrayResponse.md +34 -0
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryResourceResponse.md +36 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +4 -6
- package/src/models/BlogCategoryListResource.ts +84 -0
- package/src/models/BlogCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryLiteResource.ts +75 -0
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryResource.ts +101 -0
- package/src/models/BlogCategoryResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +90 -0
- package/src/models/StoreFrontendResource.ts +5 -5
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +5 -5
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/index.ts +9 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -46,6 +46,12 @@ docs/AttributeResourceArrayResponse.md
|
|
|
46
46
|
docs/AttributeType.md
|
|
47
47
|
docs/AttributeValueResource.md
|
|
48
48
|
docs/AttributeValueResourceArrayResponse.md
|
|
49
|
+
docs/BlogCategoryListResource.md
|
|
50
|
+
docs/BlogCategoryListResourceArrayResponse.md
|
|
51
|
+
docs/BlogCategoryLiteResource.md
|
|
52
|
+
docs/BlogCategoryLiteResourceArrayResponse.md
|
|
53
|
+
docs/BlogCategoryResource.md
|
|
54
|
+
docs/BlogCategoryResourceArrayResponse.md
|
|
49
55
|
docs/CategoryAutomationComparisonType.md
|
|
50
56
|
docs/CategoryAutomationConditionType.md
|
|
51
57
|
docs/CategoryAutomationFieldType.md
|
|
@@ -166,6 +172,9 @@ docs/PaginatedAttributeLiteResourceResponse.md
|
|
|
166
172
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
167
173
|
docs/PaginatedAttributeResourceResponse.md
|
|
168
174
|
docs/PaginatedAttributeValueResourceResponse.md
|
|
175
|
+
docs/PaginatedBlogCategoryListResourceResponse.md
|
|
176
|
+
docs/PaginatedBlogCategoryLiteResourceResponse.md
|
|
177
|
+
docs/PaginatedBlogCategoryResourceResponse.md
|
|
169
178
|
docs/PaginatedCategoryFrontendResourceResponse.md
|
|
170
179
|
docs/PaginatedDefinitionListResourceResponse.md
|
|
171
180
|
docs/PaginatedDefinitionResourceResponse.md
|
|
@@ -470,6 +479,12 @@ src/models/AttributeResourceArrayResponse.ts
|
|
|
470
479
|
src/models/AttributeType.ts
|
|
471
480
|
src/models/AttributeValueResource.ts
|
|
472
481
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
482
|
+
src/models/BlogCategoryListResource.ts
|
|
483
|
+
src/models/BlogCategoryListResourceArrayResponse.ts
|
|
484
|
+
src/models/BlogCategoryLiteResource.ts
|
|
485
|
+
src/models/BlogCategoryLiteResourceArrayResponse.ts
|
|
486
|
+
src/models/BlogCategoryResource.ts
|
|
487
|
+
src/models/BlogCategoryResourceArrayResponse.ts
|
|
473
488
|
src/models/CategoryAutomationComparisonType.ts
|
|
474
489
|
src/models/CategoryAutomationConditionType.ts
|
|
475
490
|
src/models/CategoryAutomationFieldType.ts
|
|
@@ -584,6 +599,9 @@ src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
|
584
599
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
585
600
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
586
601
|
src/models/PaginatedAttributeValueResourceResponse.ts
|
|
602
|
+
src/models/PaginatedBlogCategoryListResourceResponse.ts
|
|
603
|
+
src/models/PaginatedBlogCategoryLiteResourceResponse.ts
|
|
604
|
+
src/models/PaginatedBlogCategoryResourceResponse.ts
|
|
587
605
|
src/models/PaginatedCategoryFrontendResourceResponse.ts
|
|
588
606
|
src/models/PaginatedDefinitionListResourceResponse.ts
|
|
589
607
|
src/models/PaginatedDefinitionResourceResponse.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.1628
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -254,6 +254,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
254
254
|
- [AttributeType](docs/AttributeType.md)
|
|
255
255
|
- [AttributeValueResource](docs/AttributeValueResource.md)
|
|
256
256
|
- [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
|
|
257
|
+
- [BlogCategoryListResource](docs/BlogCategoryListResource.md)
|
|
258
|
+
- [BlogCategoryListResourceArrayResponse](docs/BlogCategoryListResourceArrayResponse.md)
|
|
259
|
+
- [BlogCategoryLiteResource](docs/BlogCategoryLiteResource.md)
|
|
260
|
+
- [BlogCategoryLiteResourceArrayResponse](docs/BlogCategoryLiteResourceArrayResponse.md)
|
|
261
|
+
- [BlogCategoryResource](docs/BlogCategoryResource.md)
|
|
262
|
+
- [BlogCategoryResourceArrayResponse](docs/BlogCategoryResourceArrayResponse.md)
|
|
257
263
|
- [CategoryAutomationComparisonType](docs/CategoryAutomationComparisonType.md)
|
|
258
264
|
- [CategoryAutomationConditionType](docs/CategoryAutomationConditionType.md)
|
|
259
265
|
- [CategoryAutomationFieldType](docs/CategoryAutomationFieldType.md)
|
|
@@ -368,6 +374,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
368
374
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
369
375
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
370
376
|
- [PaginatedAttributeValueResourceResponse](docs/PaginatedAttributeValueResourceResponse.md)
|
|
377
|
+
- [PaginatedBlogCategoryListResourceResponse](docs/PaginatedBlogCategoryListResourceResponse.md)
|
|
378
|
+
- [PaginatedBlogCategoryLiteResourceResponse](docs/PaginatedBlogCategoryLiteResourceResponse.md)
|
|
379
|
+
- [PaginatedBlogCategoryResourceResponse](docs/PaginatedBlogCategoryResourceResponse.md)
|
|
371
380
|
- [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
|
|
372
381
|
- [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
|
|
373
382
|
- [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
|
|
@@ -614,7 +623,7 @@ and is automatically generated by the
|
|
|
614
623
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
615
624
|
|
|
616
625
|
- API version: `1.0.0`
|
|
617
|
-
- Package version: `0.0.
|
|
626
|
+
- Package version: `0.0.1628`
|
|
618
627
|
- Generator version: `7.21.0`
|
|
619
628
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
620
629
|
|
|
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AddressFrontendResource
|
|
22
22
|
*/
|
|
23
|
-
company
|
|
23
|
+
company?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AddressFrontendResource
|
|
34
34
|
*/
|
|
35
|
-
line2
|
|
35
|
+
line2?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -22,12 +22,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
26
|
return false;
|
|
29
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
-
return false;
|
|
31
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
28
|
return false;
|
|
33
29
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -48,9 +44,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
44
|
return json;
|
|
49
45
|
}
|
|
50
46
|
return {
|
|
51
|
-
'company': json['company'],
|
|
47
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
52
48
|
'line1': json['line1'],
|
|
53
|
-
'line2': json['line2'],
|
|
49
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
54
50
|
'postcode': json['postcode'],
|
|
55
51
|
'suburb': json['suburb'],
|
|
56
52
|
'country': json['country'],
|
|
@@ -0,0 +1,44 @@
|
|
|
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 BlogCategoryListResource
|
|
16
|
+
*/
|
|
17
|
+
export interface BlogCategoryListResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BlogCategoryListResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BlogCategoryListResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BlogCategoryListResource
|
|
34
|
+
*/
|
|
35
|
+
slug: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BlogCategoryListResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfBlogCategoryListResource(value: object): value is BlogCategoryListResource;
|
|
41
|
+
export declare function BlogCategoryListResourceFromJSON(json: any): BlogCategoryListResource;
|
|
42
|
+
export declare function BlogCategoryListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryListResource;
|
|
43
|
+
export declare function BlogCategoryListResourceToJSON(json: any): BlogCategoryListResource;
|
|
44
|
+
export declare function BlogCategoryListResourceToJSONTyped(value?: BlogCategoryListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfBlogCategoryListResource = instanceOfBlogCategoryListResource;
|
|
17
|
+
exports.BlogCategoryListResourceFromJSON = BlogCategoryListResourceFromJSON;
|
|
18
|
+
exports.BlogCategoryListResourceFromJSONTyped = BlogCategoryListResourceFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryListResourceToJSON = BlogCategoryListResourceToJSON;
|
|
20
|
+
exports.BlogCategoryListResourceToJSONTyped = BlogCategoryListResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BlogCategoryListResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBlogCategoryListResource(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 (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function BlogCategoryListResourceFromJSON(json) {
|
|
34
|
+
return BlogCategoryListResourceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function BlogCategoryListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'slug': json['slug'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function BlogCategoryListResourceToJSON(json) {
|
|
47
|
+
return BlogCategoryListResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function BlogCategoryListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'slug': value['slug'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { BlogCategoryListResource } from './BlogCategoryListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogCategoryListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogCategoryListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BlogCategoryListResource>}
|
|
22
|
+
* @memberof BlogCategoryListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<BlogCategoryListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BlogCategoryListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBlogCategoryListResourceArrayResponse(value: object): value is BlogCategoryListResourceArrayResponse;
|
|
30
|
+
export declare function BlogCategoryListResourceArrayResponseFromJSON(json: any): BlogCategoryListResourceArrayResponse;
|
|
31
|
+
export declare function BlogCategoryListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryListResourceArrayResponse;
|
|
32
|
+
export declare function BlogCategoryListResourceArrayResponseToJSON(json: any): BlogCategoryListResourceArrayResponse;
|
|
33
|
+
export declare function BlogCategoryListResourceArrayResponseToJSONTyped(value?: BlogCategoryListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfBlogCategoryListResourceArrayResponse = instanceOfBlogCategoryListResourceArrayResponse;
|
|
17
|
+
exports.BlogCategoryListResourceArrayResponseFromJSON = BlogCategoryListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.BlogCategoryListResourceArrayResponseFromJSONTyped = BlogCategoryListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryListResourceArrayResponseToJSON = BlogCategoryListResourceArrayResponseToJSON;
|
|
20
|
+
exports.BlogCategoryListResourceArrayResponseToJSONTyped = BlogCategoryListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var BlogCategoryListResource_1 = require("./BlogCategoryListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BlogCategoryListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBlogCategoryListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BlogCategoryListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return BlogCategoryListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BlogCategoryListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(BlogCategoryListResource_1.BlogCategoryListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BlogCategoryListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return BlogCategoryListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function BlogCategoryListResourceArrayResponseToJSONTyped(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(BlogCategoryListResource_1.BlogCategoryListResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 BlogCategoryLiteResource
|
|
16
|
+
*/
|
|
17
|
+
export interface BlogCategoryLiteResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BlogCategoryLiteResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BlogCategoryLiteResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the BlogCategoryLiteResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfBlogCategoryLiteResource(value: object): value is BlogCategoryLiteResource;
|
|
35
|
+
export declare function BlogCategoryLiteResourceFromJSON(json: any): BlogCategoryLiteResource;
|
|
36
|
+
export declare function BlogCategoryLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryLiteResource;
|
|
37
|
+
export declare function BlogCategoryLiteResourceToJSON(json: any): BlogCategoryLiteResource;
|
|
38
|
+
export declare function BlogCategoryLiteResourceToJSONTyped(value?: BlogCategoryLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfBlogCategoryLiteResource = instanceOfBlogCategoryLiteResource;
|
|
17
|
+
exports.BlogCategoryLiteResourceFromJSON = BlogCategoryLiteResourceFromJSON;
|
|
18
|
+
exports.BlogCategoryLiteResourceFromJSONTyped = BlogCategoryLiteResourceFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryLiteResourceToJSON = BlogCategoryLiteResourceToJSON;
|
|
20
|
+
exports.BlogCategoryLiteResourceToJSONTyped = BlogCategoryLiteResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BlogCategoryLiteResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBlogCategoryLiteResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function BlogCategoryLiteResourceFromJSON(json) {
|
|
32
|
+
return BlogCategoryLiteResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function BlogCategoryLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function BlogCategoryLiteResourceToJSON(json) {
|
|
44
|
+
return BlogCategoryLiteResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BlogCategoryLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { BlogCategoryLiteResource } from './BlogCategoryLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogCategoryLiteResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogCategoryLiteResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BlogCategoryLiteResource>}
|
|
22
|
+
* @memberof BlogCategoryLiteResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<BlogCategoryLiteResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BlogCategoryLiteResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBlogCategoryLiteResourceArrayResponse(value: object): value is BlogCategoryLiteResourceArrayResponse;
|
|
30
|
+
export declare function BlogCategoryLiteResourceArrayResponseFromJSON(json: any): BlogCategoryLiteResourceArrayResponse;
|
|
31
|
+
export declare function BlogCategoryLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryLiteResourceArrayResponse;
|
|
32
|
+
export declare function BlogCategoryLiteResourceArrayResponseToJSON(json: any): BlogCategoryLiteResourceArrayResponse;
|
|
33
|
+
export declare function BlogCategoryLiteResourceArrayResponseToJSONTyped(value?: BlogCategoryLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfBlogCategoryLiteResourceArrayResponse = instanceOfBlogCategoryLiteResourceArrayResponse;
|
|
17
|
+
exports.BlogCategoryLiteResourceArrayResponseFromJSON = BlogCategoryLiteResourceArrayResponseFromJSON;
|
|
18
|
+
exports.BlogCategoryLiteResourceArrayResponseFromJSONTyped = BlogCategoryLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryLiteResourceArrayResponseToJSON = BlogCategoryLiteResourceArrayResponseToJSON;
|
|
20
|
+
exports.BlogCategoryLiteResourceArrayResponseToJSONTyped = BlogCategoryLiteResourceArrayResponseToJSONTyped;
|
|
21
|
+
var BlogCategoryLiteResource_1 = require("./BlogCategoryLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BlogCategoryLiteResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBlogCategoryLiteResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BlogCategoryLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return BlogCategoryLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BlogCategoryLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(BlogCategoryLiteResource_1.BlogCategoryLiteResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BlogCategoryLiteResourceArrayResponseToJSON(json) {
|
|
40
|
+
return BlogCategoryLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function BlogCategoryLiteResourceArrayResponseToJSONTyped(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(BlogCategoryLiteResource_1.BlogCategoryLiteResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { DescriptionResource } from './DescriptionResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogCategoryResource
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogCategoryResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BlogCategoryResource
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BlogCategoryResource
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BlogCategoryResource
|
|
35
|
+
*/
|
|
36
|
+
slug: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<DescriptionResource>}
|
|
40
|
+
* @memberof BlogCategoryResource
|
|
41
|
+
*/
|
|
42
|
+
descriptions: Array<DescriptionResource> | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the BlogCategoryResource interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfBlogCategoryResource(value: object): value is BlogCategoryResource;
|
|
48
|
+
export declare function BlogCategoryResourceFromJSON(json: any): BlogCategoryResource;
|
|
49
|
+
export declare function BlogCategoryResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryResource;
|
|
50
|
+
export declare function BlogCategoryResourceToJSON(json: any): BlogCategoryResource;
|
|
51
|
+
export declare function BlogCategoryResourceToJSONTyped(value?: BlogCategoryResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfBlogCategoryResource = instanceOfBlogCategoryResource;
|
|
17
|
+
exports.BlogCategoryResourceFromJSON = BlogCategoryResourceFromJSON;
|
|
18
|
+
exports.BlogCategoryResourceFromJSONTyped = BlogCategoryResourceFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryResourceToJSON = BlogCategoryResourceToJSON;
|
|
20
|
+
exports.BlogCategoryResourceToJSONTyped = BlogCategoryResourceToJSONTyped;
|
|
21
|
+
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BlogCategoryResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBlogCategoryResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function BlogCategoryResourceFromJSON(json) {
|
|
37
|
+
return BlogCategoryResourceFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function BlogCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'slug': json['slug'],
|
|
47
|
+
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function BlogCategoryResourceToJSON(json) {
|
|
51
|
+
return BlogCategoryResourceToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function BlogCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'slug': value['slug'],
|
|
62
|
+
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { BlogCategoryResource } from './BlogCategoryResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogCategoryResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogCategoryResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BlogCategoryResource>}
|
|
22
|
+
* @memberof BlogCategoryResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<BlogCategoryResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BlogCategoryResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBlogCategoryResourceArrayResponse(value: object): value is BlogCategoryResourceArrayResponse;
|
|
30
|
+
export declare function BlogCategoryResourceArrayResponseFromJSON(json: any): BlogCategoryResourceArrayResponse;
|
|
31
|
+
export declare function BlogCategoryResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryResourceArrayResponse;
|
|
32
|
+
export declare function BlogCategoryResourceArrayResponseToJSON(json: any): BlogCategoryResourceArrayResponse;
|
|
33
|
+
export declare function BlogCategoryResourceArrayResponseToJSONTyped(value?: BlogCategoryResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|