@digital8/lighting-illusions-ts-sdk 0.0.1629 → 0.0.1631
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 +2 -28
- package/README.md +3 -21
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/ProductChildStoreStockType.d.ts +25 -0
- package/dist/models/ProductChildStoreStockType.js +51 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +4 -0
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/index.d.ts +1 -13
- package/dist/models/index.js +1 -13
- package/docs/{BlogCategoryLiteResource.md → ProductChildStoreStockType.md} +4 -8
- package/docs/StoreResource.md +4 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/UpdateStoreRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressResource.ts +3 -2
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/ProductChildStoreStockType.ts +53 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreResource.ts +16 -0
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/index.ts +1 -13
- package/dist/apis/BlogCategoriesApi.d.ts +0 -109
- package/dist/apis/BlogCategoriesApi.js +0 -433
- package/dist/models/BlogCategoryListResource.d.ts +0 -44
- package/dist/models/BlogCategoryListResource.js +0 -59
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryListResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryLiteResource.d.ts +0 -38
- package/dist/models/BlogCategoryLiteResource.js +0 -55
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryResource.d.ts +0 -51
- package/dist/models/BlogCategoryResource.js +0 -64
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryResourceArrayResponse.js +0 -50
- package/dist/models/GetAllBlogCategoryRequest.d.ts +0 -78
- package/dist/models/GetAllBlogCategoryRequest.js +0 -74
- package/dist/models/IndexBlogCategoryRequest.d.ts +0 -90
- package/dist/models/IndexBlogCategoryRequest.js +0 -78
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +0 -57
- package/dist/models/StoreBlogCategoryRequest.d.ts +0 -45
- package/dist/models/StoreBlogCategoryRequest.js +0 -60
- package/dist/models/UpdateBlogCategoryRequest.d.ts +0 -45
- package/dist/models/UpdateBlogCategoryRequest.js +0 -60
- package/docs/BlogCategoriesApi.md +0 -407
- package/docs/BlogCategoryListResource.md +0 -38
- package/docs/BlogCategoryListResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryResource.md +0 -40
- package/docs/BlogCategoryResourceArrayResponse.md +0 -34
- package/docs/GetAllBlogCategoryRequest.md +0 -44
- package/docs/IndexBlogCategoryRequest.md +0 -48
- package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
- package/docs/StoreBlogCategoryRequest.md +0 -38
- package/docs/UpdateBlogCategoryRequest.md +0 -38
- package/src/apis/BlogCategoriesApi.ts +0 -334
- package/src/models/BlogCategoryListResource.ts +0 -84
- package/src/models/BlogCategoryListResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryLiteResource.ts +0 -75
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryResource.ts +0 -101
- package/src/models/BlogCategoryResourceArrayResponse.ts +0 -73
- package/src/models/GetAllBlogCategoryRequest.ts +0 -125
- package/src/models/IndexBlogCategoryRequest.ts +0 -141
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
- package/src/models/StoreBlogCategoryRequest.ts +0 -92
- package/src/models/UpdateBlogCategoryRequest.ts +0 -92
|
@@ -1,55 +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.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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.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
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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;
|
|
@@ -1,64 +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.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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfBlogCategoryResourceArrayResponse = instanceOfBlogCategoryResourceArrayResponse;
|
|
17
|
-
exports.BlogCategoryResourceArrayResponseFromJSON = BlogCategoryResourceArrayResponseFromJSON;
|
|
18
|
-
exports.BlogCategoryResourceArrayResponseFromJSONTyped = BlogCategoryResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.BlogCategoryResourceArrayResponseToJSON = BlogCategoryResourceArrayResponseToJSON;
|
|
20
|
-
exports.BlogCategoryResourceArrayResponseToJSONTyped = BlogCategoryResourceArrayResponseToJSONTyped;
|
|
21
|
-
var BlogCategoryResource_1 = require("./BlogCategoryResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the BlogCategoryResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfBlogCategoryResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function BlogCategoryResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return BlogCategoryResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function BlogCategoryResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(BlogCategoryResource_1.BlogCategoryResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function BlogCategoryResourceArrayResponseToJSON(json) {
|
|
40
|
-
return BlogCategoryResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function BlogCategoryResourceArrayResponseToJSONTyped(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(BlogCategoryResource_1.BlogCategoryResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetAllBlogCategoryRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface GetAllBlogCategoryRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetAllBlogCategoryRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {GetAllBlogCategoryRequestSortByEnum}
|
|
27
|
-
* @memberof GetAllBlogCategoryRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: GetAllBlogCategoryRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {GetAllBlogCategoryRequestSortDirectionEnum}
|
|
33
|
-
* @memberof GetAllBlogCategoryRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: GetAllBlogCategoryRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GetAllBlogCategoryRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GetAllBlogCategoryRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof GetAllBlogCategoryRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const GetAllBlogCategoryRequestSortByEnum: {
|
|
59
|
-
readonly Id: "id";
|
|
60
|
-
readonly Name: "name";
|
|
61
|
-
};
|
|
62
|
-
export type GetAllBlogCategoryRequestSortByEnum = typeof GetAllBlogCategoryRequestSortByEnum[keyof typeof GetAllBlogCategoryRequestSortByEnum];
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const GetAllBlogCategoryRequestSortDirectionEnum: {
|
|
67
|
-
readonly Asc: "asc";
|
|
68
|
-
readonly Desc: "desc";
|
|
69
|
-
};
|
|
70
|
-
export type GetAllBlogCategoryRequestSortDirectionEnum = typeof GetAllBlogCategoryRequestSortDirectionEnum[keyof typeof GetAllBlogCategoryRequestSortDirectionEnum];
|
|
71
|
-
/**
|
|
72
|
-
* Check if a given object implements the GetAllBlogCategoryRequest interface.
|
|
73
|
-
*/
|
|
74
|
-
export declare function instanceOfGetAllBlogCategoryRequest(value: object): value is GetAllBlogCategoryRequest;
|
|
75
|
-
export declare function GetAllBlogCategoryRequestFromJSON(json: any): GetAllBlogCategoryRequest;
|
|
76
|
-
export declare function GetAllBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllBlogCategoryRequest;
|
|
77
|
-
export declare function GetAllBlogCategoryRequestToJSON(json: any): GetAllBlogCategoryRequest;
|
|
78
|
-
export declare function GetAllBlogCategoryRequestToJSONTyped(value?: GetAllBlogCategoryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,74 +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.GetAllBlogCategoryRequestSortDirectionEnum = exports.GetAllBlogCategoryRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfGetAllBlogCategoryRequest = instanceOfGetAllBlogCategoryRequest;
|
|
18
|
-
exports.GetAllBlogCategoryRequestFromJSON = GetAllBlogCategoryRequestFromJSON;
|
|
19
|
-
exports.GetAllBlogCategoryRequestFromJSONTyped = GetAllBlogCategoryRequestFromJSONTyped;
|
|
20
|
-
exports.GetAllBlogCategoryRequestToJSON = GetAllBlogCategoryRequestToJSON;
|
|
21
|
-
exports.GetAllBlogCategoryRequestToJSONTyped = GetAllBlogCategoryRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.GetAllBlogCategoryRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
Name: 'name'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @export
|
|
31
|
-
*/
|
|
32
|
-
exports.GetAllBlogCategoryRequestSortDirectionEnum = {
|
|
33
|
-
Asc: 'asc',
|
|
34
|
-
Desc: 'desc'
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the GetAllBlogCategoryRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
function instanceOfGetAllBlogCategoryRequest(value) {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
function GetAllBlogCategoryRequestFromJSON(json) {
|
|
43
|
-
return GetAllBlogCategoryRequestFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function GetAllBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
51
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
52
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
53
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
54
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
55
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function GetAllBlogCategoryRequestToJSON(json) {
|
|
59
|
-
return GetAllBlogCategoryRequestToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
function GetAllBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'search': value['search'],
|
|
68
|
-
'sortBy': value['sortBy'],
|
|
69
|
-
'sortDirection': value['sortDirection'],
|
|
70
|
-
'related_id': value['relatedId'],
|
|
71
|
-
'related_type': value['relatedType'],
|
|
72
|
-
'includes_relations': value['includesRelations'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IndexBlogCategoryRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexBlogCategoryRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexBlogCategoryRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {IndexBlogCategoryRequestSortByEnum}
|
|
27
|
-
* @memberof IndexBlogCategoryRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexBlogCategoryRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {IndexBlogCategoryRequestSortDirectionEnum}
|
|
33
|
-
* @memberof IndexBlogCategoryRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexBlogCategoryRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexBlogCategoryRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IndexBlogCategoryRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof IndexBlogCategoryRequest
|
|
52
|
-
*/
|
|
53
|
-
relatedId?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof IndexBlogCategoryRequest
|
|
58
|
-
*/
|
|
59
|
-
relatedType?: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof IndexBlogCategoryRequest
|
|
64
|
-
*/
|
|
65
|
-
includesRelations?: boolean;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const IndexBlogCategoryRequestSortByEnum: {
|
|
71
|
-
readonly Id: "id";
|
|
72
|
-
readonly Name: "name";
|
|
73
|
-
};
|
|
74
|
-
export type IndexBlogCategoryRequestSortByEnum = typeof IndexBlogCategoryRequestSortByEnum[keyof typeof IndexBlogCategoryRequestSortByEnum];
|
|
75
|
-
/**
|
|
76
|
-
* @export
|
|
77
|
-
*/
|
|
78
|
-
export declare const IndexBlogCategoryRequestSortDirectionEnum: {
|
|
79
|
-
readonly Asc: "asc";
|
|
80
|
-
readonly Desc: "desc";
|
|
81
|
-
};
|
|
82
|
-
export type IndexBlogCategoryRequestSortDirectionEnum = typeof IndexBlogCategoryRequestSortDirectionEnum[keyof typeof IndexBlogCategoryRequestSortDirectionEnum];
|
|
83
|
-
/**
|
|
84
|
-
* Check if a given object implements the IndexBlogCategoryRequest interface.
|
|
85
|
-
*/
|
|
86
|
-
export declare function instanceOfIndexBlogCategoryRequest(value: object): value is IndexBlogCategoryRequest;
|
|
87
|
-
export declare function IndexBlogCategoryRequestFromJSON(json: any): IndexBlogCategoryRequest;
|
|
88
|
-
export declare function IndexBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexBlogCategoryRequest;
|
|
89
|
-
export declare function IndexBlogCategoryRequestToJSON(json: any): IndexBlogCategoryRequest;
|
|
90
|
-
export declare function IndexBlogCategoryRequestToJSONTyped(value?: IndexBlogCategoryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,78 +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.IndexBlogCategoryRequestSortDirectionEnum = exports.IndexBlogCategoryRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfIndexBlogCategoryRequest = instanceOfIndexBlogCategoryRequest;
|
|
18
|
-
exports.IndexBlogCategoryRequestFromJSON = IndexBlogCategoryRequestFromJSON;
|
|
19
|
-
exports.IndexBlogCategoryRequestFromJSONTyped = IndexBlogCategoryRequestFromJSONTyped;
|
|
20
|
-
exports.IndexBlogCategoryRequestToJSON = IndexBlogCategoryRequestToJSON;
|
|
21
|
-
exports.IndexBlogCategoryRequestToJSONTyped = IndexBlogCategoryRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IndexBlogCategoryRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
Name: 'name'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @export
|
|
31
|
-
*/
|
|
32
|
-
exports.IndexBlogCategoryRequestSortDirectionEnum = {
|
|
33
|
-
Asc: 'asc',
|
|
34
|
-
Desc: 'desc'
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the IndexBlogCategoryRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
function instanceOfIndexBlogCategoryRequest(value) {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
function IndexBlogCategoryRequestFromJSON(json) {
|
|
43
|
-
return IndexBlogCategoryRequestFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function IndexBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
51
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
52
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
53
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
54
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
55
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
56
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function IndexBlogCategoryRequestToJSON(json) {
|
|
61
|
-
return IndexBlogCategoryRequestToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
function IndexBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
'search': value['search'],
|
|
70
|
-
'sortBy': value['sortBy'],
|
|
71
|
-
'sortDirection': value['sortDirection'],
|
|
72
|
-
'per_page': value['perPage'],
|
|
73
|
-
'page': value['page'],
|
|
74
|
-
'related_id': value['relatedId'],
|
|
75
|
-
'related_type': value['relatedType'],
|
|
76
|
-
'includes_relations': value['includesRelations'],
|
|
77
|
-
};
|
|
78
|
-
}
|