@digital8/lighting-illusions-ts-sdk 0.0.1513 → 0.0.1514
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 -56
- package/README.md +26 -41
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/{MenuApi.js → ProductRegistrationApi.js} +74 -130
- package/dist/apis/index.d.ts +1 -2
- package/dist/apis/index.js +1 -2
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/{GetAllMenuRequest.js → GetAllProductRegistrationRequest.js} +21 -21
- 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/{IndexMenuRequest.js → ListAssetsProductRegistrationRequest.js} +22 -23
- 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/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -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/StoreAssetForAssetableRequest.d.ts +0 -2
- package/dist/models/StoreAssetForAssetableRequest.js +1 -3
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.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 -26
- package/dist/models/index.js +19 -26
- package/docs/{GetAllMenuRequest.md → GetAllProductRegistrationRequest.md} +4 -6
- package/docs/{GetAllMenuItemRequest.md → IndexProductRegistrationRequest.md} +18 -8
- package/docs/{IndexMenuRequest.md → ListAssetsProductRegistrationRequest.md} +8 -8
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedMenuListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/{MenuResource.md → ProductRegistrationAssetResource.md} +8 -14
- package/docs/{MenuItemEditResourceArrayResponse.md → ProductRegistrationAssetResourceArrayResponse.md} +5 -5
- package/docs/{MenuItemType.md → ProductRegistrationAssetType.md} +4 -4
- package/docs/{MenuItemLinkResource.md → ProductRegistrationCustomerResource.md} +12 -14
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/{MenuItemHierarchyResource.md → ProductRegistrationListResource.md} +12 -18
- package/docs/{MenuItemHierarchyResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{UpdateMenuRequestMenuItemOrderInner.md → ProductRegistrationLiteResource.md} +6 -8
- package/docs/{MenuItemResourceArrayResponse.md → ProductRegistrationLiteResourceArrayResponse.md} +5 -5
- package/docs/{MenuListResource.md → ProductRegistrationProductChildResource.md} +8 -10
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{MenuItemLinkResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -2
- package/src/models/AddressResource.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/ProductChildListResource.ts +8 -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/StoreAssetForAssetableRequest.ts +1 -3
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -26
- package/dist/apis/MenuApi.d.ts +0 -109
- package/dist/apis/MenuItemsApi.d.ts +0 -124
- package/dist/apis/MenuItemsApi.js +0 -491
- package/dist/models/GetAllMenuItemRequest.d.ts +0 -93
- package/dist/models/GetAllMenuItemRequest.js +0 -81
- package/dist/models/GetAllMenuRequest.d.ts +0 -92
- package/dist/models/GetHierarchyMenuItemRequest.d.ts +0 -32
- package/dist/models/GetHierarchyMenuItemRequest.js +0 -51
- package/dist/models/IndexMenuRequest.d.ts +0 -104
- package/dist/models/MenuItemEditResource.d.ts +0 -119
- package/dist/models/MenuItemEditResource.js +0 -94
- package/dist/models/MenuItemEditResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemEditResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemHierarchyResource.d.ts +0 -74
- package/dist/models/MenuItemHierarchyResource.js +0 -73
- package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemHierarchyResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemLinkResource.d.ts +0 -68
- package/dist/models/MenuItemLinkResource.js +0 -67
- package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemLinkResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemResource.d.ts +0 -124
- package/dist/models/MenuItemResource.js +0 -95
- package/dist/models/MenuItemResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemType.d.ts +0 -27
- package/dist/models/MenuItemType.js +0 -53
- package/dist/models/MenuListResource.d.ts +0 -57
- package/dist/models/MenuListResource.js +0 -66
- package/dist/models/MenuListResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuListResourceArrayResponse.js +0 -50
- package/dist/models/MenuPosition.d.ts +0 -27
- package/dist/models/MenuPosition.js +0 -53
- package/dist/models/MenuResource.d.ts +0 -63
- package/dist/models/MenuResource.js +0 -70
- package/dist/models/MenuResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedMenuListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedMenuListResourceResponse.js +0 -57
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +0 -54
- package/dist/models/SearchLinkablesMenuItemRequest.js +0 -65
- package/dist/models/StoreMenuItemRequest.d.ts +0 -97
- package/dist/models/StoreMenuItemRequest.js +0 -84
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +0 -60
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +0 -65
- package/dist/models/StoreMenuRequest.d.ts +0 -54
- package/dist/models/StoreMenuRequest.js +0 -69
- package/dist/models/UpdateMenuItemRequest.d.ts +0 -97
- package/dist/models/UpdateMenuItemRequest.js +0 -78
- package/dist/models/UpdateMenuRequest.d.ts +0 -61
- package/dist/models/UpdateMenuRequest.js +0 -66
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +0 -44
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +0 -53
- package/docs/GetHierarchyMenuItemRequest.md +0 -34
- package/docs/MenuApi.md +0 -407
- package/docs/MenuItemEditResource.md +0 -62
- package/docs/MenuItemResource.md +0 -64
- package/docs/MenuItemsApi.md +0 -473
- package/docs/MenuListResourceArrayResponse.md +0 -34
- package/docs/MenuPosition.md +0 -32
- package/docs/MenuResourceArrayResponse.md +0 -34
- package/docs/SearchLinkablesMenuItemRequest.md +0 -38
- package/docs/StoreMenuItemRequest.md +0 -52
- package/docs/StoreMenuItemRequestMenuItemLink.md +0 -40
- package/docs/StoreMenuRequest.md +0 -38
- package/docs/UpdateMenuItemRequest.md +0 -52
- package/docs/UpdateMenuRequest.md +0 -40
- package/src/apis/MenuApi.ts +0 -334
- package/src/apis/MenuItemsApi.ts +0 -381
- package/src/models/GetAllMenuItemRequest.ts +0 -144
- package/src/models/GetAllMenuRequest.ts +0 -143
- package/src/models/GetHierarchyMenuItemRequest.ts +0 -66
- package/src/models/IndexMenuRequest.ts +0 -159
- package/src/models/MenuItemEditResource.ts +0 -206
- package/src/models/MenuItemEditResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemHierarchyResource.ts +0 -126
- package/src/models/MenuItemHierarchyResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemLinkResource.ts +0 -116
- package/src/models/MenuItemLinkResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemResource.ts +0 -207
- package/src/models/MenuItemResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemType.ts +0 -55
- package/src/models/MenuListResource.ts +0 -109
- package/src/models/MenuListResourceArrayResponse.ts +0 -73
- package/src/models/MenuPosition.ts +0 -55
- package/src/models/MenuResource.ts +0 -118
- package/src/models/MenuResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedMenuListResourceResponse.ts +0 -90
- package/src/models/SearchLinkablesMenuItemRequest.ts +0 -95
- package/src/models/StoreMenuItemRequest.ts +0 -161
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +0 -102
- package/src/models/StoreMenuRequest.ts +0 -97
- package/src/models/UpdateMenuItemRequest.ts +0 -158
- package/src/models/UpdateMenuRequest.ts +0 -110
- package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +0 -81
|
@@ -0,0 +1,57 @@
|
|
|
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 { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationListResource
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationListResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ProductRegistrationListResource
|
|
23
|
+
*/
|
|
24
|
+
id?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Date}
|
|
28
|
+
* @memberof ProductRegistrationListResource
|
|
29
|
+
*/
|
|
30
|
+
purchasedDate: Date;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ProductRegistrationCustomerResource}
|
|
34
|
+
* @memberof ProductRegistrationListResource
|
|
35
|
+
*/
|
|
36
|
+
customer: ProductRegistrationCustomerResource | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ProductRegistrationListResource
|
|
41
|
+
*/
|
|
42
|
+
productChildrenCount: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof ProductRegistrationListResource
|
|
47
|
+
*/
|
|
48
|
+
createdAt?: Date | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ProductRegistrationListResource interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfProductRegistrationListResource(value: object): value is ProductRegistrationListResource;
|
|
54
|
+
export declare function ProductRegistrationListResourceFromJSON(json: any): ProductRegistrationListResource;
|
|
55
|
+
export declare function ProductRegistrationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResource;
|
|
56
|
+
export declare function ProductRegistrationListResourceToJSON(json: any): ProductRegistrationListResource;
|
|
57
|
+
export declare function ProductRegistrationListResourceToJSONTyped(value?: ProductRegistrationListResource | 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.instanceOfProductRegistrationListResource = instanceOfProductRegistrationListResource;
|
|
17
|
+
exports.ProductRegistrationListResourceFromJSON = ProductRegistrationListResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationListResourceFromJSONTyped = ProductRegistrationListResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationListResourceToJSON = ProductRegistrationListResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationListResourceToJSONTyped = ProductRegistrationListResourceToJSONTyped;
|
|
21
|
+
var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationListResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationListResource(value) {
|
|
26
|
+
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('customer' in value) || value['customer'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('productChildrenCount' in value) || value['productChildrenCount'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ProductRegistrationListResourceFromJSON(json) {
|
|
35
|
+
return ProductRegistrationListResourceFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ProductRegistrationListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
+
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
44
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)(json['customer']),
|
|
45
|
+
'productChildrenCount': json['productChildrenCount'],
|
|
46
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ProductRegistrationListResourceToJSON(json) {
|
|
50
|
+
return ProductRegistrationListResourceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ProductRegistrationListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
60
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)(value['customer']),
|
|
61
|
+
'productChildrenCount': value['productChildrenCount'],
|
|
62
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationListResource>}
|
|
22
|
+
* @memberof ProductRegistrationListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationListResourceArrayResponse(value: object): value is ProductRegistrationListResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationListResourceArrayResponseFromJSON(json: any): ProductRegistrationListResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationListResourceArrayResponseToJSON(json: any): ProductRegistrationListResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationListResourceArrayResponseToJSONTyped(value?: ProductRegistrationListResourceArrayResponse | 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.instanceOfProductRegistrationListResourceArrayResponse = instanceOfProductRegistrationListResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationListResourceArrayResponseFromJSON = ProductRegistrationListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationListResourceArrayResponseFromJSONTyped = ProductRegistrationListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationListResourceArrayResponseToJSON = ProductRegistrationListResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationListResourceArrayResponseToJSONTyped = ProductRegistrationListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationListResource_1 = require("./ProductRegistrationListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationListResourceArrayResponseToJSONTyped(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(ProductRegistrationListResource_1.ProductRegistrationListResourceToJSON)),
|
|
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 ProductRegistrationLiteResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductRegistrationLiteResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductRegistrationLiteResource
|
|
22
|
+
*/
|
|
23
|
+
id?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof ProductRegistrationLiteResource
|
|
28
|
+
*/
|
|
29
|
+
purchasedDate: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ProductRegistrationLiteResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfProductRegistrationLiteResource(value: object): value is ProductRegistrationLiteResource;
|
|
35
|
+
export declare function ProductRegistrationLiteResourceFromJSON(json: any): ProductRegistrationLiteResource;
|
|
36
|
+
export declare function ProductRegistrationLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResource;
|
|
37
|
+
export declare function ProductRegistrationLiteResourceToJSON(json: any): ProductRegistrationLiteResource;
|
|
38
|
+
export declare function ProductRegistrationLiteResourceToJSONTyped(value?: ProductRegistrationLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfProductRegistrationLiteResource = instanceOfProductRegistrationLiteResource;
|
|
17
|
+
exports.ProductRegistrationLiteResourceFromJSON = ProductRegistrationLiteResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationLiteResourceFromJSONTyped = ProductRegistrationLiteResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationLiteResourceToJSON = ProductRegistrationLiteResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationLiteResourceToJSONTyped = ProductRegistrationLiteResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProductRegistrationLiteResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProductRegistrationLiteResource(value) {
|
|
25
|
+
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ProductRegistrationLiteResourceFromJSON(json) {
|
|
30
|
+
return ProductRegistrationLiteResourceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ProductRegistrationLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ProductRegistrationLiteResourceToJSON(json) {
|
|
42
|
+
return ProductRegistrationLiteResourceToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ProductRegistrationLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -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 { ProductRegistrationLiteResource } from './ProductRegistrationLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationLiteResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationLiteResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationLiteResource>}
|
|
22
|
+
* @memberof ProductRegistrationLiteResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationLiteResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationLiteResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationLiteResourceArrayResponse(value: object): value is ProductRegistrationLiteResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationLiteResourceArrayResponseFromJSON(json: any): ProductRegistrationLiteResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationLiteResourceArrayResponseToJSON(json: any): ProductRegistrationLiteResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationLiteResourceArrayResponseToJSONTyped(value?: ProductRegistrationLiteResourceArrayResponse | 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.instanceOfProductRegistrationLiteResourceArrayResponse = instanceOfProductRegistrationLiteResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationLiteResourceArrayResponseFromJSON = ProductRegistrationLiteResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationLiteResourceArrayResponseFromJSONTyped = ProductRegistrationLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationLiteResourceArrayResponseToJSON = ProductRegistrationLiteResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationLiteResourceArrayResponseToJSONTyped = ProductRegistrationLiteResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationLiteResource_1 = require("./ProductRegistrationLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationLiteResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationLiteResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationLiteResource_1.ProductRegistrationLiteResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationLiteResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationLiteResourceArrayResponseToJSONTyped(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(ProductRegistrationLiteResource_1.ProductRegistrationLiteResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 ProductRegistrationProductChildResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductRegistrationProductChildResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductRegistrationProductChildResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductRegistrationProductChildResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ProductRegistrationProductChildResource
|
|
34
|
+
*/
|
|
35
|
+
sku: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductRegistrationProductChildResource
|
|
40
|
+
*/
|
|
41
|
+
quantity: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ProductRegistrationProductChildResource interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfProductRegistrationProductChildResource(value: object): value is ProductRegistrationProductChildResource;
|
|
47
|
+
export declare function ProductRegistrationProductChildResourceFromJSON(json: any): ProductRegistrationProductChildResource;
|
|
48
|
+
export declare function ProductRegistrationProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationProductChildResource;
|
|
49
|
+
export declare function ProductRegistrationProductChildResourceToJSON(json: any): ProductRegistrationProductChildResource;
|
|
50
|
+
export declare function ProductRegistrationProductChildResourceToJSONTyped(value?: ProductRegistrationProductChildResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfProductRegistrationProductChildResource = instanceOfProductRegistrationProductChildResource;
|
|
17
|
+
exports.ProductRegistrationProductChildResourceFromJSON = ProductRegistrationProductChildResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationProductChildResourceFromJSONTyped = ProductRegistrationProductChildResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationProductChildResourceToJSON = ProductRegistrationProductChildResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationProductChildResourceToJSONTyped = ProductRegistrationProductChildResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProductRegistrationProductChildResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProductRegistrationProductChildResource(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 (!('sku' in value) || value['sku'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ProductRegistrationProductChildResourceFromJSON(json) {
|
|
36
|
+
return ProductRegistrationProductChildResourceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ProductRegistrationProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'sku': json['sku'],
|
|
46
|
+
'quantity': json['quantity'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ProductRegistrationProductChildResourceToJSON(json) {
|
|
50
|
+
return ProductRegistrationProductChildResourceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ProductRegistrationProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'sku': value['sku'],
|
|
61
|
+
'quantity': value['quantity'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 { ProductRegistrationProductChildResource } from './ProductRegistrationProductChildResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationProductChildResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationProductChildResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationProductChildResource>}
|
|
22
|
+
* @memberof ProductRegistrationProductChildResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationProductChildResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationProductChildResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationProductChildResourceArrayResponse(value: object): value is ProductRegistrationProductChildResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseFromJSON(json: any): ProductRegistrationProductChildResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationProductChildResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseToJSON(json: any): ProductRegistrationProductChildResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseToJSONTyped(value?: ProductRegistrationProductChildResourceArrayResponse | 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.instanceOfProductRegistrationProductChildResourceArrayResponse = instanceOfProductRegistrationProductChildResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationProductChildResourceArrayResponseFromJSON = ProductRegistrationProductChildResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationProductChildResourceArrayResponseFromJSONTyped = ProductRegistrationProductChildResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationProductChildResourceArrayResponseToJSON = ProductRegistrationProductChildResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationProductChildResourceArrayResponseToJSONTyped = ProductRegistrationProductChildResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationProductChildResource_1 = require("./ProductRegistrationProductChildResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationProductChildResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationProductChildResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationProductChildResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationProductChildResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationProductChildResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationProductChildResourceArrayResponseToJSONTyped(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(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { ProductRegistrationAssetResource } from './ProductRegistrationAssetResource';
|
|
13
|
+
import type { ProductRegistrationProductChildResource } from './ProductRegistrationProductChildResource';
|
|
14
|
+
import type { AddressResource } from './AddressResource';
|
|
15
|
+
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProductRegistrationResource
|
|
20
|
+
*/
|
|
21
|
+
export interface ProductRegistrationResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ProductRegistrationResource
|
|
26
|
+
*/
|
|
27
|
+
id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ProductRegistrationResource
|
|
32
|
+
*/
|
|
33
|
+
purchasedDate: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ProductRegistrationCustomerResource}
|
|
37
|
+
* @memberof ProductRegistrationResource
|
|
38
|
+
*/
|
|
39
|
+
customer: ProductRegistrationCustomerResource | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {AddressResource}
|
|
43
|
+
* @memberof ProductRegistrationResource
|
|
44
|
+
*/
|
|
45
|
+
address: AddressResource | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<ProductRegistrationProductChildResource>}
|
|
49
|
+
* @memberof ProductRegistrationResource
|
|
50
|
+
*/
|
|
51
|
+
productChildren: Array<ProductRegistrationProductChildResource> | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<ProductRegistrationAssetResource>}
|
|
55
|
+
* @memberof ProductRegistrationResource
|
|
56
|
+
*/
|
|
57
|
+
assets: Array<ProductRegistrationAssetResource> | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ProductRegistrationResource
|
|
62
|
+
*/
|
|
63
|
+
omnisendId?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ProductRegistrationResource
|
|
68
|
+
*/
|
|
69
|
+
omnisendSyncStatus?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof ProductRegistrationResource
|
|
74
|
+
*/
|
|
75
|
+
createdAt?: Date | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof ProductRegistrationResource
|
|
80
|
+
*/
|
|
81
|
+
updatedAt?: Date | null;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the ProductRegistrationResource interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfProductRegistrationResource(value: object): value is ProductRegistrationResource;
|
|
87
|
+
export declare function ProductRegistrationResourceFromJSON(json: any): ProductRegistrationResource;
|
|
88
|
+
export declare function ProductRegistrationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResource;
|
|
89
|
+
export declare function ProductRegistrationResourceToJSON(json: any): ProductRegistrationResource;
|
|
90
|
+
export declare function ProductRegistrationResourceToJSONTyped(value?: ProductRegistrationResource | null, ignoreDiscriminator?: boolean): any;
|