@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
|
@@ -13,38 +13,40 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.GetAllProductRegistrationRequestSortDirectionEnum = exports.GetAllProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllProductRegistrationRequest = instanceOfGetAllProductRegistrationRequest;
|
|
18
|
+
exports.GetAllProductRegistrationRequestFromJSON = GetAllProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.GetAllProductRegistrationRequestFromJSONTyped = GetAllProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllProductRegistrationRequestToJSON = GetAllProductRegistrationRequestToJSON;
|
|
21
|
+
exports.GetAllProductRegistrationRequestToJSONTyped = GetAllProductRegistrationRequestToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.GetAllProductRegistrationRequestSortByEnum = {
|
|
26
26
|
Id: 'id',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at',
|
|
31
|
+
PurchasedDate: 'purchased_date'
|
|
30
32
|
};
|
|
31
33
|
/**
|
|
32
34
|
* @export
|
|
33
35
|
*/
|
|
34
|
-
exports.
|
|
36
|
+
exports.GetAllProductRegistrationRequestSortDirectionEnum = {
|
|
35
37
|
Asc: 'asc',
|
|
36
38
|
Desc: 'desc'
|
|
37
39
|
};
|
|
38
40
|
/**
|
|
39
|
-
* Check if a given object implements the
|
|
41
|
+
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
40
42
|
*/
|
|
41
|
-
function
|
|
43
|
+
function instanceOfGetAllProductRegistrationRequest(value) {
|
|
42
44
|
return true;
|
|
43
45
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
+
function GetAllProductRegistrationRequestFromJSON(json) {
|
|
47
|
+
return GetAllProductRegistrationRequestFromJSONTyped(json, false);
|
|
46
48
|
}
|
|
47
|
-
function
|
|
49
|
+
function GetAllProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
50
|
if (json == null) {
|
|
49
51
|
return json;
|
|
50
52
|
}
|
|
@@ -56,13 +58,12 @@ function GetAllMenuRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
58
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
59
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
60
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
59
|
-
'position': json['position'] == null ? undefined : json['position'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
63
|
+
function GetAllProductRegistrationRequestToJSON(json) {
|
|
64
|
+
return GetAllProductRegistrationRequestToJSONTyped(json, false);
|
|
64
65
|
}
|
|
65
|
-
function
|
|
66
|
+
function GetAllProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
66
67
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
67
68
|
if (value == null) {
|
|
68
69
|
return value;
|
|
@@ -75,6 +76,5 @@ function GetAllMenuRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
76
|
'related_type': value['relatedType'],
|
|
76
77
|
'includes_relations': value['includesRelations'],
|
|
77
78
|
'site_id': value['siteId'],
|
|
78
|
-
'position': value['position'],
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -176,6 +176,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
|
+
readonly ProductRegistration: "productRegistration";
|
|
179
180
|
readonly Supplier: "supplier";
|
|
180
181
|
readonly Tag: "tag";
|
|
181
182
|
readonly Label: "label";
|
|
@@ -0,0 +1,131 @@
|
|
|
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 IndexProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof IndexProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof IndexProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
beforePurchasedDate?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof IndexProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
afterPurchasedDate?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof IndexProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
beforeCreatedAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof IndexProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
afterCreatedAt?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof IndexProductRegistrationRequest
|
|
82
|
+
*/
|
|
83
|
+
relatedId?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
87
|
+
* @memberof IndexProductRegistrationRequest
|
|
88
|
+
*/
|
|
89
|
+
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IndexProductRegistrationRequest
|
|
94
|
+
*/
|
|
95
|
+
includesRelations?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const IndexProductRegistrationRequestSortByEnum: {
|
|
101
|
+
readonly Id: "id";
|
|
102
|
+
readonly CustomerName: "customer-name";
|
|
103
|
+
readonly CustomerEmail: "customer-email";
|
|
104
|
+
readonly CustomerPhone: "customer-phone";
|
|
105
|
+
readonly CreatedAt: "created_at";
|
|
106
|
+
readonly PurchasedDate: "purchased_date";
|
|
107
|
+
};
|
|
108
|
+
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const IndexProductRegistrationRequestSortDirectionEnum: {
|
|
113
|
+
readonly Asc: "asc";
|
|
114
|
+
readonly Desc: "desc";
|
|
115
|
+
};
|
|
116
|
+
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
|
|
121
|
+
readonly ProductChild: "productChild";
|
|
122
|
+
};
|
|
123
|
+
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
124
|
+
/**
|
|
125
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
126
|
+
*/
|
|
127
|
+
export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
|
|
128
|
+
export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
|
|
129
|
+
export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
|
|
130
|
+
export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
|
|
131
|
+
export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,98 @@
|
|
|
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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
|
|
18
|
+
exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
|
|
21
|
+
exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at',
|
|
31
|
+
PurchasedDate: 'purchased_date'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.IndexProductRegistrationRequestSortDirectionEnum = {
|
|
37
|
+
Asc: 'asc',
|
|
38
|
+
Desc: 'desc'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
44
|
+
ProductChild: 'productChild'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfIndexProductRegistrationRequest(value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function IndexProductRegistrationRequestFromJSON(json) {
|
|
53
|
+
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
61
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
62
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
64
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
65
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
66
|
+
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
67
|
+
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
68
|
+
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
69
|
+
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
70
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
71
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
72
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function IndexProductRegistrationRequestToJSON(json) {
|
|
76
|
+
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
79
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'search': value['search'],
|
|
85
|
+
'sortBy': value['sortBy'],
|
|
86
|
+
'sortDirection': value['sortDirection'],
|
|
87
|
+
'per_page': value['perPage'],
|
|
88
|
+
'page': value['page'],
|
|
89
|
+
'site_id': value['siteId'],
|
|
90
|
+
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
91
|
+
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
92
|
+
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
93
|
+
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
94
|
+
'related_id': value['relatedId'],
|
|
95
|
+
'related_type': value['relatedType'],
|
|
96
|
+
'includes_relations': value['includesRelations'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 ListAssetsProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAssetsProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {ListAssetsProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: ListAssetsProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ListAssetsProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: ListAssetsProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
productRegistrationId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
includesRelations?: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ListAssetsProductRegistrationRequestSortByEnum: {
|
|
83
|
+
readonly Id: "id";
|
|
84
|
+
readonly Type: "type";
|
|
85
|
+
readonly CreatedAt: "created_at";
|
|
86
|
+
};
|
|
87
|
+
export type ListAssetsProductRegistrationRequestSortByEnum = typeof ListAssetsProductRegistrationRequestSortByEnum[keyof typeof ListAssetsProductRegistrationRequestSortByEnum];
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const ListAssetsProductRegistrationRequestSortDirectionEnum: {
|
|
92
|
+
readonly Asc: "asc";
|
|
93
|
+
readonly Desc: "desc";
|
|
94
|
+
};
|
|
95
|
+
export type ListAssetsProductRegistrationRequestSortDirectionEnum = typeof ListAssetsProductRegistrationRequestSortDirectionEnum[keyof typeof ListAssetsProductRegistrationRequestSortDirectionEnum];
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
98
|
+
*/
|
|
99
|
+
export declare function instanceOfListAssetsProductRegistrationRequest(value: object): value is ListAssetsProductRegistrationRequest;
|
|
100
|
+
export declare function ListAssetsProductRegistrationRequestFromJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
101
|
+
export declare function ListAssetsProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAssetsProductRegistrationRequest;
|
|
102
|
+
export declare function ListAssetsProductRegistrationRequestToJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
103
|
+
export declare function ListAssetsProductRegistrationRequestToJSONTyped(value?: ListAssetsProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,38 +13,37 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.ListAssetsProductRegistrationRequestSortDirectionEnum = exports.ListAssetsProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfListAssetsProductRegistrationRequest = instanceOfListAssetsProductRegistrationRequest;
|
|
18
|
+
exports.ListAssetsProductRegistrationRequestFromJSON = ListAssetsProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.ListAssetsProductRegistrationRequestFromJSONTyped = ListAssetsProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.ListAssetsProductRegistrationRequestToJSON = ListAssetsProductRegistrationRequestToJSON;
|
|
21
|
+
exports.ListAssetsProductRegistrationRequestToJSONTyped = ListAssetsProductRegistrationRequestToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.ListAssetsProductRegistrationRequestSortByEnum = {
|
|
26
26
|
Id: 'id',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
SiteName: 'site-name'
|
|
27
|
+
Type: 'type',
|
|
28
|
+
CreatedAt: 'created_at'
|
|
30
29
|
};
|
|
31
30
|
/**
|
|
32
31
|
* @export
|
|
33
32
|
*/
|
|
34
|
-
exports.
|
|
33
|
+
exports.ListAssetsProductRegistrationRequestSortDirectionEnum = {
|
|
35
34
|
Asc: 'asc',
|
|
36
35
|
Desc: 'desc'
|
|
37
36
|
};
|
|
38
37
|
/**
|
|
39
|
-
* Check if a given object implements the
|
|
38
|
+
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
40
39
|
*/
|
|
41
|
-
function
|
|
40
|
+
function instanceOfListAssetsProductRegistrationRequest(value) {
|
|
42
41
|
return true;
|
|
43
42
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
43
|
+
function ListAssetsProductRegistrationRequestFromJSON(json) {
|
|
44
|
+
return ListAssetsProductRegistrationRequestFromJSONTyped(json, false);
|
|
46
45
|
}
|
|
47
|
-
function
|
|
46
|
+
function ListAssetsProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
47
|
if (json == null) {
|
|
49
48
|
return json;
|
|
50
49
|
}
|
|
@@ -54,17 +53,17 @@ function IndexMenuRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
53
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
54
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
56
55
|
'page': json['page'] == null ? undefined : json['page'],
|
|
57
|
-
'
|
|
58
|
-
'
|
|
56
|
+
'productRegistrationId': json['product_registration_id'] == null ? undefined : json['product_registration_id'],
|
|
57
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
59
58
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
60
59
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
61
60
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
|
-
function
|
|
65
|
-
return
|
|
63
|
+
function ListAssetsProductRegistrationRequestToJSON(json) {
|
|
64
|
+
return ListAssetsProductRegistrationRequestToJSONTyped(json, false);
|
|
66
65
|
}
|
|
67
|
-
function
|
|
66
|
+
function ListAssetsProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
68
67
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
69
68
|
if (value == null) {
|
|
70
69
|
return value;
|
|
@@ -75,8 +74,8 @@ function IndexMenuRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
74
|
'sortDirection': value['sortDirection'],
|
|
76
75
|
'per_page': value['perPage'],
|
|
77
76
|
'page': value['page'],
|
|
78
|
-
'
|
|
79
|
-
'
|
|
77
|
+
'product_registration_id': value['productRegistrationId'],
|
|
78
|
+
'type': value['type'],
|
|
80
79
|
'related_id': value['relatedId'],
|
|
81
80
|
'related_type': value['relatedType'],
|
|
82
81
|
'includes_relations': value['includesRelations'],
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRegistrationAssetResource } from './ProductRegistrationAssetResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRegistrationAssetResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRegistrationAssetResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRegistrationAssetResource>}
|
|
23
|
+
* @memberof PaginatedProductRegistrationAssetResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRegistrationAssetResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRegistrationAssetResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRegistrationAssetResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRegistrationAssetResourceResponse(value: object): value is PaginatedProductRegistrationAssetResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRegistrationAssetResourceResponseFromJSON(json: any): PaginatedProductRegistrationAssetResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRegistrationAssetResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationAssetResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRegistrationAssetResourceResponseToJSON(json: any): PaginatedProductRegistrationAssetResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRegistrationAssetResourceResponseToJSONTyped(value?: PaginatedProductRegistrationAssetResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedProductRegistrationAssetResourceResponse = instanceOfPaginatedProductRegistrationAssetResourceResponse;
|
|
17
|
+
exports.PaginatedProductRegistrationAssetResourceResponseFromJSON = PaginatedProductRegistrationAssetResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRegistrationAssetResourceResponseFromJSONTyped = PaginatedProductRegistrationAssetResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRegistrationAssetResourceResponseToJSON = PaginatedProductRegistrationAssetResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRegistrationAssetResourceResponseToJSONTyped = PaginatedProductRegistrationAssetResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRegistrationAssetResource_1 = require("./ProductRegistrationAssetResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRegistrationAssetResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRegistrationAssetResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRegistrationAssetResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRegistrationAssetResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRegistrationAssetResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRegistrationAssetResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRegistrationAssetResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRegistrationAssetResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRegistrationListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRegistrationListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRegistrationListResource>}
|
|
23
|
+
* @memberof PaginatedProductRegistrationListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRegistrationListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRegistrationListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRegistrationListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRegistrationListResourceResponse(value: object): value is PaginatedProductRegistrationListResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRegistrationListResourceResponseFromJSON(json: any): PaginatedProductRegistrationListResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRegistrationListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationListResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRegistrationListResourceResponseToJSON(json: any): PaginatedProductRegistrationListResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRegistrationListResourceResponseToJSONTyped(value?: PaginatedProductRegistrationListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|