@digital8/lighting-illusions-ts-sdk 0.0.1638 → 0.0.1640
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 +20 -0
- package/README.md +12 -2
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +4 -4
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- 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/PageType.d.ts +26 -0
- package/dist/models/PageType.js +52 -0
- 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 +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -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/PageType.md +32 -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/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +5 -5
- package/src/models/AddressResource.ts +2 -3
- 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/PageType.ts +54 -0
- 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 +3 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/index.ts +10 -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
|
|
@@ -161,11 +167,15 @@ docs/OverlayTemplateLiteResource.md
|
|
|
161
167
|
docs/OverlayTemplateLiteResourceArrayResponse.md
|
|
162
168
|
docs/OverlayTemplateResource.md
|
|
163
169
|
docs/OverlayTemplateResourceArrayResponse.md
|
|
170
|
+
docs/PageType.md
|
|
164
171
|
docs/PaginatedAttributeListResourceResponse.md
|
|
165
172
|
docs/PaginatedAttributeLiteResourceResponse.md
|
|
166
173
|
docs/PaginatedAttributeProductTypeRelationResourceResponse.md
|
|
167
174
|
docs/PaginatedAttributeResourceResponse.md
|
|
168
175
|
docs/PaginatedAttributeValueResourceResponse.md
|
|
176
|
+
docs/PaginatedBlogCategoryListResourceResponse.md
|
|
177
|
+
docs/PaginatedBlogCategoryLiteResourceResponse.md
|
|
178
|
+
docs/PaginatedBlogCategoryResourceResponse.md
|
|
169
179
|
docs/PaginatedCategoryFrontendResourceResponse.md
|
|
170
180
|
docs/PaginatedDefinitionListResourceResponse.md
|
|
171
181
|
docs/PaginatedDefinitionResourceResponse.md
|
|
@@ -470,6 +480,12 @@ src/models/AttributeResourceArrayResponse.ts
|
|
|
470
480
|
src/models/AttributeType.ts
|
|
471
481
|
src/models/AttributeValueResource.ts
|
|
472
482
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
483
|
+
src/models/BlogCategoryListResource.ts
|
|
484
|
+
src/models/BlogCategoryListResourceArrayResponse.ts
|
|
485
|
+
src/models/BlogCategoryLiteResource.ts
|
|
486
|
+
src/models/BlogCategoryLiteResourceArrayResponse.ts
|
|
487
|
+
src/models/BlogCategoryResource.ts
|
|
488
|
+
src/models/BlogCategoryResourceArrayResponse.ts
|
|
473
489
|
src/models/CategoryAutomationComparisonType.ts
|
|
474
490
|
src/models/CategoryAutomationConditionType.ts
|
|
475
491
|
src/models/CategoryAutomationFieldType.ts
|
|
@@ -579,11 +595,15 @@ src/models/OverlayTemplateLiteResource.ts
|
|
|
579
595
|
src/models/OverlayTemplateLiteResourceArrayResponse.ts
|
|
580
596
|
src/models/OverlayTemplateResource.ts
|
|
581
597
|
src/models/OverlayTemplateResourceArrayResponse.ts
|
|
598
|
+
src/models/PageType.ts
|
|
582
599
|
src/models/PaginatedAttributeListResourceResponse.ts
|
|
583
600
|
src/models/PaginatedAttributeLiteResourceResponse.ts
|
|
584
601
|
src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
|
|
585
602
|
src/models/PaginatedAttributeResourceResponse.ts
|
|
586
603
|
src/models/PaginatedAttributeValueResourceResponse.ts
|
|
604
|
+
src/models/PaginatedBlogCategoryListResourceResponse.ts
|
|
605
|
+
src/models/PaginatedBlogCategoryLiteResourceResponse.ts
|
|
606
|
+
src/models/PaginatedBlogCategoryResourceResponse.ts
|
|
587
607
|
src/models/PaginatedCategoryFrontendResourceResponse.ts
|
|
588
608
|
src/models/PaginatedDefinitionListResourceResponse.ts
|
|
589
609
|
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.1640
|
|
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)
|
|
@@ -363,11 +369,15 @@ All URIs are relative to *http://localhost/api*
|
|
|
363
369
|
- [OverlayTemplateLiteResourceArrayResponse](docs/OverlayTemplateLiteResourceArrayResponse.md)
|
|
364
370
|
- [OverlayTemplateResource](docs/OverlayTemplateResource.md)
|
|
365
371
|
- [OverlayTemplateResourceArrayResponse](docs/OverlayTemplateResourceArrayResponse.md)
|
|
372
|
+
- [PageType](docs/PageType.md)
|
|
366
373
|
- [PaginatedAttributeListResourceResponse](docs/PaginatedAttributeListResourceResponse.md)
|
|
367
374
|
- [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
|
|
368
375
|
- [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
|
|
369
376
|
- [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
|
|
370
377
|
- [PaginatedAttributeValueResourceResponse](docs/PaginatedAttributeValueResourceResponse.md)
|
|
378
|
+
- [PaginatedBlogCategoryListResourceResponse](docs/PaginatedBlogCategoryListResourceResponse.md)
|
|
379
|
+
- [PaginatedBlogCategoryLiteResourceResponse](docs/PaginatedBlogCategoryLiteResourceResponse.md)
|
|
380
|
+
- [PaginatedBlogCategoryResourceResponse](docs/PaginatedBlogCategoryResourceResponse.md)
|
|
371
381
|
- [PaginatedCategoryFrontendResourceResponse](docs/PaginatedCategoryFrontendResourceResponse.md)
|
|
372
382
|
- [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
|
|
373
383
|
- [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
|
|
@@ -614,7 +624,7 @@ and is automatically generated by the
|
|
|
614
624
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
615
625
|
|
|
616
626
|
- API version: `1.0.0`
|
|
617
|
-
- Package version: `0.0.
|
|
627
|
+
- Package version: `0.0.1640`
|
|
618
628
|
- Generator version: `7.21.0`
|
|
619
629
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
620
630
|
|
|
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AddressFrontendResource
|
|
22
22
|
*/
|
|
23
|
-
company
|
|
23
|
+
company: string;
|
|
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,9 +22,9 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('
|
|
27
|
+
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
30
|
return false;
|
|
@@ -46,9 +46,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'company': json['company']
|
|
49
|
+
'company': json['company'],
|
|
50
50
|
'line1': json['line1'],
|
|
51
|
-
'line2': json['line2'],
|
|
51
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
52
52
|
'postcode': json['postcode'],
|
|
53
53
|
'suburb': json['suburb'],
|
|
54
54
|
'country': json['country'],
|
|
@@ -26,8 +26,6 @@ function instanceOfAddressResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -51,7 +49,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
52
50
|
'company': json['company'],
|
|
53
51
|
'line1': json['line_1'],
|
|
54
|
-
'line2': json['line_2'],
|
|
52
|
+
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
55
53
|
'postcode': json['postcode'],
|
|
56
54
|
'suburb': json['suburb'],
|
|
57
55
|
'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
|
+
}
|