@digital8/lighting-illusions-ts-sdk 0.0.1633 → 0.0.1635
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 +40 -18
- package/README.md +25 -11
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/ProductRegistrationApi.js +316 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- 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 +3 -1
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -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 +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +19 -9
- package/dist/models/index.js +19 -9
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/{PaginatedBlogCategoryListResourceResponse.md → PaginatedProductRegistrationAssetResourceResponse.md} +5 -5
- package/docs/{PaginatedBlogCategoryResourceResponse.md → PaginatedProductRegistrationListResourceResponse.md} +5 -5
- package/docs/{PaginatedBlogCategoryLiteResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductRegistrationApi.md +275 -0
- package/docs/{BlogCategoryListResourceArrayResponse.md → ProductRegistrationAssetResource.md} +10 -6
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{BlogCategoryLiteResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/ProductRegistrationCustomerResource.md +44 -0
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{BlogCategoryLiteResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{BlogCategoryListResource.md → ProductRegistrationLiteResource.md} +6 -8
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{BlogCategoryResource.md → ProductRegistrationProductChildResource.md} +8 -8
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{BlogCategoryResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +3 -2
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -9
- 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/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/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/PaginatedBlogCategoryListResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProductRegistrationAssetResource } from './ProductRegistrationAssetResource';
|
|
17
|
+
import {
|
|
18
|
+
ProductRegistrationAssetResourceFromJSON,
|
|
19
|
+
ProductRegistrationAssetResourceFromJSONTyped,
|
|
20
|
+
ProductRegistrationAssetResourceToJSON,
|
|
21
|
+
ProductRegistrationAssetResourceToJSONTyped,
|
|
22
|
+
} from './ProductRegistrationAssetResource';
|
|
23
|
+
import type { ProductRegistrationProductChildResource } from './ProductRegistrationProductChildResource';
|
|
24
|
+
import {
|
|
25
|
+
ProductRegistrationProductChildResourceFromJSON,
|
|
26
|
+
ProductRegistrationProductChildResourceFromJSONTyped,
|
|
27
|
+
ProductRegistrationProductChildResourceToJSON,
|
|
28
|
+
ProductRegistrationProductChildResourceToJSONTyped,
|
|
29
|
+
} from './ProductRegistrationProductChildResource';
|
|
30
|
+
import type { AddressResource } from './AddressResource';
|
|
31
|
+
import {
|
|
32
|
+
AddressResourceFromJSON,
|
|
33
|
+
AddressResourceFromJSONTyped,
|
|
34
|
+
AddressResourceToJSON,
|
|
35
|
+
AddressResourceToJSONTyped,
|
|
36
|
+
} from './AddressResource';
|
|
37
|
+
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
38
|
+
import {
|
|
39
|
+
ProductRegistrationCustomerResourceFromJSON,
|
|
40
|
+
ProductRegistrationCustomerResourceFromJSONTyped,
|
|
41
|
+
ProductRegistrationCustomerResourceToJSON,
|
|
42
|
+
ProductRegistrationCustomerResourceToJSONTyped,
|
|
43
|
+
} from './ProductRegistrationCustomerResource';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface ProductRegistrationResource
|
|
49
|
+
*/
|
|
50
|
+
export interface ProductRegistrationResource {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof ProductRegistrationResource
|
|
55
|
+
*/
|
|
56
|
+
id?: number | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof ProductRegistrationResource
|
|
61
|
+
*/
|
|
62
|
+
purchasedDate: Date;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {ProductRegistrationCustomerResource}
|
|
66
|
+
* @memberof ProductRegistrationResource
|
|
67
|
+
*/
|
|
68
|
+
customer: ProductRegistrationCustomerResource | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {AddressResource}
|
|
72
|
+
* @memberof ProductRegistrationResource
|
|
73
|
+
*/
|
|
74
|
+
address: AddressResource | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Array<ProductRegistrationProductChildResource>}
|
|
78
|
+
* @memberof ProductRegistrationResource
|
|
79
|
+
*/
|
|
80
|
+
productChildren: Array<ProductRegistrationProductChildResource> | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<ProductRegistrationAssetResource>}
|
|
84
|
+
* @memberof ProductRegistrationResource
|
|
85
|
+
*/
|
|
86
|
+
assets: Array<ProductRegistrationAssetResource> | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ProductRegistrationResource
|
|
91
|
+
*/
|
|
92
|
+
omnisendId?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof ProductRegistrationResource
|
|
97
|
+
*/
|
|
98
|
+
omnisendSyncStatus?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Date}
|
|
102
|
+
* @memberof ProductRegistrationResource
|
|
103
|
+
*/
|
|
104
|
+
createdAt?: Date | null;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {Date}
|
|
108
|
+
* @memberof ProductRegistrationResource
|
|
109
|
+
*/
|
|
110
|
+
updatedAt?: Date | null;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Check if a given object implements the ProductRegistrationResource interface.
|
|
115
|
+
*/
|
|
116
|
+
export function instanceOfProductRegistrationResource(value: object): value is ProductRegistrationResource {
|
|
117
|
+
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
|
|
118
|
+
if (!('customer' in value) || value['customer'] === undefined) return false;
|
|
119
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
120
|
+
if (!('productChildren' in value) || value['productChildren'] === undefined) return false;
|
|
121
|
+
if (!('assets' in value) || value['assets'] === undefined) return false;
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function ProductRegistrationResourceFromJSON(json: any): ProductRegistrationResource {
|
|
126
|
+
return ProductRegistrationResourceFromJSONTyped(json, false);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function ProductRegistrationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResource {
|
|
130
|
+
if (json == null) {
|
|
131
|
+
return json;
|
|
132
|
+
}
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
136
|
+
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
137
|
+
'customer': ProductRegistrationCustomerResourceFromJSON(json['customer']),
|
|
138
|
+
'address': AddressResourceFromJSON(json['address']),
|
|
139
|
+
'productChildren': (json['productChildren'] == null ? null : (json['productChildren'] as Array<any>).map(ProductRegistrationProductChildResourceFromJSON)),
|
|
140
|
+
'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(ProductRegistrationAssetResourceFromJSON)),
|
|
141
|
+
'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
|
|
142
|
+
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
143
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
144
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export function ProductRegistrationResourceToJSON(json: any): ProductRegistrationResource {
|
|
149
|
+
return ProductRegistrationResourceToJSONTyped(json, false);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function ProductRegistrationResourceToJSONTyped(value?: ProductRegistrationResource | null, ignoreDiscriminator: boolean = false): any {
|
|
153
|
+
if (value == null) {
|
|
154
|
+
return value;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
|
|
159
|
+
'id': value['id'],
|
|
160
|
+
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
161
|
+
'customer': ProductRegistrationCustomerResourceToJSON(value['customer']),
|
|
162
|
+
'address': AddressResourceToJSON(value['address']),
|
|
163
|
+
'productChildren': (value['productChildren'] == null ? null : (value['productChildren'] as Array<any>).map(ProductRegistrationProductChildResourceToJSON)),
|
|
164
|
+
'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(ProductRegistrationAssetResourceToJSON)),
|
|
165
|
+
'omnisendId': value['omnisendId'],
|
|
166
|
+
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
167
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
168
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
17
|
+
import {
|
|
18
|
+
ProductRegistrationResourceFromJSON,
|
|
19
|
+
ProductRegistrationResourceFromJSONTyped,
|
|
20
|
+
ProductRegistrationResourceToJSON,
|
|
21
|
+
ProductRegistrationResourceToJSONTyped,
|
|
22
|
+
} from './ProductRegistrationResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProductRegistrationResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ProductRegistrationResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ProductRegistrationResource>}
|
|
33
|
+
* @memberof ProductRegistrationResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<ProductRegistrationResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
46
|
+
return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
60
|
+
return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRegistrationResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof StoreFrontendResource
|
|
50
50
|
*/
|
|
51
|
-
website
|
|
51
|
+
website: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
106
106
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
107
107
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
108
108
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
109
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
109
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
110
111
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
111
112
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
@@ -129,7 +130,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
129
130
|
'siteId': json['siteId'],
|
|
130
131
|
'name': json['name'],
|
|
131
132
|
'email': json['email'],
|
|
132
|
-
'website': json['website']
|
|
133
|
+
'website': json['website'],
|
|
133
134
|
'phone': json['phone'],
|
|
134
135
|
'address': json['address'] == null ? undefined : json['address'],
|
|
135
136
|
'latitude': json['latitude'],
|
|
@@ -80,7 +80,7 @@ export interface StoreListResource {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof StoreListResource
|
|
82
82
|
*/
|
|
83
|
-
website
|
|
83
|
+
website?: string | null;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {string}
|
|
@@ -100,7 +100,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
100
100
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
101
101
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
102
102
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
103
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
104
103
|
return true;
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -122,7 +121,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
122
121
|
'latitude': json['latitude'],
|
|
123
122
|
'tagLine': json['tag_line'],
|
|
124
123
|
'email': json['email'],
|
|
125
|
-
'website': json['website'],
|
|
124
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
126
125
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
127
126
|
};
|
|
128
127
|
}
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -137,7 +137,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
137
137
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
138
138
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
139
139
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
140
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
141
140
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
142
141
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
143
142
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
@@ -161,7 +160,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
161
160
|
'phone': json['phone'],
|
|
162
161
|
'longitude': json['longitude'],
|
|
163
162
|
'latitude': json['latitude'],
|
|
164
|
-
'tagLine': json['tag_line'],
|
|
163
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
165
164
|
'email': json['email'],
|
|
166
165
|
'website': json['website'] == null ? undefined : json['website'],
|
|
167
166
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateFrontendResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['displayStartDate'],
|
|
94
95
|
'displayEndDate': json['displayEndDate'],
|
package/src/models/index.ts
CHANGED
|
@@ -41,12 +41,6 @@ export * from './AttributeResourceArrayResponse';
|
|
|
41
41
|
export * from './AttributeType';
|
|
42
42
|
export * from './AttributeValueResource';
|
|
43
43
|
export * from './AttributeValueResourceArrayResponse';
|
|
44
|
-
export * from './BlogCategoryListResource';
|
|
45
|
-
export * from './BlogCategoryListResourceArrayResponse';
|
|
46
|
-
export * from './BlogCategoryLiteResource';
|
|
47
|
-
export * from './BlogCategoryLiteResourceArrayResponse';
|
|
48
|
-
export * from './BlogCategoryResource';
|
|
49
|
-
export * from './BlogCategoryResourceArrayResponse';
|
|
50
44
|
export * from './CategoryAutomationComparisonType';
|
|
51
45
|
export * from './CategoryAutomationConditionType';
|
|
52
46
|
export * from './CategoryAutomationFieldType';
|
|
@@ -98,6 +92,7 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
98
92
|
export * from './GetAllProductCategoryRequest';
|
|
99
93
|
export * from './GetAllProductChildRequest';
|
|
100
94
|
export * from './GetAllProductRangeRequest';
|
|
95
|
+
export * from './GetAllProductRegistrationRequest';
|
|
101
96
|
export * from './GetAllProductRequest';
|
|
102
97
|
export * from './GetAllProductTypeRequest';
|
|
103
98
|
export * from './GetAllStoreRequest';
|
|
@@ -125,6 +120,7 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
125
120
|
export * from './IndexProductCategoryRequest';
|
|
126
121
|
export * from './IndexProductChildRequest';
|
|
127
122
|
export * from './IndexProductRangeRequest';
|
|
123
|
+
export * from './IndexProductRegistrationRequest';
|
|
128
124
|
export * from './IndexProductRequest';
|
|
129
125
|
export * from './IndexProductTypeRequest';
|
|
130
126
|
export * from './IndexRedirectRequest';
|
|
@@ -139,6 +135,7 @@ export * from './LabelLiteResource';
|
|
|
139
135
|
export * from './LabelLiteResourceArrayResponse';
|
|
140
136
|
export * from './LabelResource';
|
|
141
137
|
export * from './LabelResourceArrayResponse';
|
|
138
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
142
139
|
export * from './ModelAttributeFrontendResource';
|
|
143
140
|
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
144
141
|
export * from './ModelAttributeListResource';
|
|
@@ -161,9 +158,6 @@ export * from './PaginatedAttributeLiteResourceResponse';
|
|
|
161
158
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
162
159
|
export * from './PaginatedAttributeResourceResponse';
|
|
163
160
|
export * from './PaginatedAttributeValueResourceResponse';
|
|
164
|
-
export * from './PaginatedBlogCategoryListResourceResponse';
|
|
165
|
-
export * from './PaginatedBlogCategoryLiteResourceResponse';
|
|
166
|
-
export * from './PaginatedBlogCategoryResourceResponse';
|
|
167
161
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
168
162
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
169
163
|
export * from './PaginatedDefinitionResourceResponse';
|
|
@@ -190,6 +184,9 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
190
184
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
191
185
|
export * from './PaginatedProductRangeResourceResponse';
|
|
192
186
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
187
|
+
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
188
|
+
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
189
|
+
export * from './PaginatedProductRegistrationResourceResponse';
|
|
193
190
|
export * from './PaginatedProductResourceResponse';
|
|
194
191
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
195
192
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -273,6 +270,19 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
273
270
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
274
271
|
export * from './ProductRangeSortBy';
|
|
275
272
|
export * from './ProductRating';
|
|
273
|
+
export * from './ProductRegistrationAssetResource';
|
|
274
|
+
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
275
|
+
export * from './ProductRegistrationAssetType';
|
|
276
|
+
export * from './ProductRegistrationCustomerResource';
|
|
277
|
+
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
278
|
+
export * from './ProductRegistrationListResource';
|
|
279
|
+
export * from './ProductRegistrationListResourceArrayResponse';
|
|
280
|
+
export * from './ProductRegistrationLiteResource';
|
|
281
|
+
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
282
|
+
export * from './ProductRegistrationProductChildResource';
|
|
283
|
+
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
284
|
+
export * from './ProductRegistrationResource';
|
|
285
|
+
export * from './ProductRegistrationResourceArrayResponse';
|
|
276
286
|
export * from './ProductResource';
|
|
277
287
|
export * from './ProductResourceArrayResponse';
|
|
278
288
|
export * from './ProductSearchResponseResource';
|
|
@@ -1,44 +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 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;
|
|
@@ -1,59 +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.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
|
-
}
|
|
@@ -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 { 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;
|
|
@@ -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.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
|
-
}
|
|
@@ -1,38 +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 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;
|