@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
|
@@ -64,126 +64,67 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.
|
|
67
|
+
exports.ProductRegistrationApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
|
-
var
|
|
74
|
-
__extends(
|
|
75
|
-
function
|
|
73
|
+
var ProductRegistrationApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(ProductRegistrationApi, _super);
|
|
75
|
+
function ProductRegistrationApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Creates request options for
|
|
79
|
+
* Creates request options for getAllProductRegistration without sending the request
|
|
80
80
|
*/
|
|
81
|
-
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, urlPath;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
if (requestParameters['menu'] == null) {
|
|
86
|
-
throw new runtime.RequiredError('menu', 'Required parameter "menu" was null or undefined when calling destroyMenu().');
|
|
87
|
-
}
|
|
88
|
-
queryParameters = {};
|
|
89
|
-
headerParameters = {};
|
|
90
|
-
urlPath = "/admin-api/menu/{menu}/delete";
|
|
91
|
-
urlPath = urlPath.replace("{".concat("menu", "}"), encodeURIComponent(String(requestParameters['menu'])));
|
|
92
|
-
return [2 /*return*/, {
|
|
93
|
-
path: urlPath,
|
|
94
|
-
method: 'DELETE',
|
|
95
|
-
headers: headerParameters,
|
|
96
|
-
query: queryParameters,
|
|
97
|
-
}];
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Auto-generated: destroyMenu
|
|
103
|
-
*/
|
|
104
|
-
MenuApi.prototype.destroyMenuRaw = function (requestParameters, initOverrides) {
|
|
105
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
106
|
-
var requestOptions, response;
|
|
107
|
-
return __generator(this, function (_a) {
|
|
108
|
-
switch (_a.label) {
|
|
109
|
-
case 0: return [4 /*yield*/, this.destroyMenuRequestOpts(requestParameters)];
|
|
110
|
-
case 1:
|
|
111
|
-
requestOptions = _a.sent();
|
|
112
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
113
|
-
case 2:
|
|
114
|
-
response = _a.sent();
|
|
115
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Auto-generated: destroyMenu
|
|
122
|
-
*/
|
|
123
|
-
MenuApi.prototype.destroyMenu = function (requestParameters, initOverrides) {
|
|
124
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
125
|
-
var response;
|
|
126
|
-
return __generator(this, function (_a) {
|
|
127
|
-
switch (_a.label) {
|
|
128
|
-
case 0: return [4 /*yield*/, this.destroyMenuRaw(requestParameters, initOverrides)];
|
|
129
|
-
case 1:
|
|
130
|
-
response = _a.sent();
|
|
131
|
-
return [4 /*yield*/, response.value()];
|
|
132
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Creates request options for getAllMenu without sending the request
|
|
139
|
-
*/
|
|
140
|
-
MenuApi.prototype.getAllMenuRequestOpts = function (requestParameters) {
|
|
81
|
+
ProductRegistrationApi.prototype.getAllProductRegistrationRequestOpts = function (requestParameters) {
|
|
141
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
142
83
|
var queryParameters, headerParameters, urlPath;
|
|
143
84
|
return __generator(this, function (_a) {
|
|
144
85
|
queryParameters = {};
|
|
145
86
|
headerParameters = {};
|
|
146
87
|
headerParameters['Content-Type'] = 'application/json';
|
|
147
|
-
urlPath = "/admin-api/
|
|
88
|
+
urlPath = "/admin-api/product-registration/all";
|
|
148
89
|
return [2 /*return*/, {
|
|
149
90
|
path: urlPath,
|
|
150
91
|
method: 'POST',
|
|
151
92
|
headers: headerParameters,
|
|
152
93
|
query: queryParameters,
|
|
153
|
-
body: (0, index_1.
|
|
94
|
+
body: (0, index_1.GetAllProductRegistrationRequestToJSON)(requestParameters['getAllProductRegistrationRequest']),
|
|
154
95
|
}];
|
|
155
96
|
});
|
|
156
97
|
});
|
|
157
98
|
};
|
|
158
99
|
/**
|
|
159
|
-
* Auto-generated:
|
|
100
|
+
* Auto-generated: getAllProductRegistration
|
|
160
101
|
*/
|
|
161
|
-
|
|
102
|
+
ProductRegistrationApi.prototype.getAllProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
162
103
|
return __awaiter(this, void 0, void 0, function () {
|
|
163
104
|
var requestOptions, response;
|
|
164
105
|
return __generator(this, function (_a) {
|
|
165
106
|
switch (_a.label) {
|
|
166
|
-
case 0: return [4 /*yield*/, this.
|
|
107
|
+
case 0: return [4 /*yield*/, this.getAllProductRegistrationRequestOpts(requestParameters)];
|
|
167
108
|
case 1:
|
|
168
109
|
requestOptions = _a.sent();
|
|
169
110
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
170
111
|
case 2:
|
|
171
112
|
response = _a.sent();
|
|
172
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
113
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRegistrationLiteResourceArrayResponseFromJSON)(jsonValue); })];
|
|
173
114
|
}
|
|
174
115
|
});
|
|
175
116
|
});
|
|
176
117
|
};
|
|
177
118
|
/**
|
|
178
|
-
* Auto-generated:
|
|
119
|
+
* Auto-generated: getAllProductRegistration
|
|
179
120
|
*/
|
|
180
|
-
|
|
121
|
+
ProductRegistrationApi.prototype.getAllProductRegistration = function () {
|
|
181
122
|
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
182
123
|
var response;
|
|
183
124
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
184
125
|
return __generator(this, function (_a) {
|
|
185
126
|
switch (_a.label) {
|
|
186
|
-
case 0: return [4 /*yield*/, this.
|
|
127
|
+
case 0: return [4 /*yield*/, this.getAllProductRegistrationRaw(requestParameters, initOverrides)];
|
|
187
128
|
case 1:
|
|
188
129
|
response = _a.sent();
|
|
189
130
|
return [4 /*yield*/, response.value()];
|
|
@@ -193,55 +134,55 @@ var MenuApi = /** @class */ (function (_super) {
|
|
|
193
134
|
});
|
|
194
135
|
};
|
|
195
136
|
/**
|
|
196
|
-
* Creates request options for
|
|
137
|
+
* Creates request options for indexProductRegistration without sending the request
|
|
197
138
|
*/
|
|
198
|
-
|
|
139
|
+
ProductRegistrationApi.prototype.indexProductRegistrationRequestOpts = function (requestParameters) {
|
|
199
140
|
return __awaiter(this, void 0, void 0, function () {
|
|
200
141
|
var queryParameters, headerParameters, urlPath;
|
|
201
142
|
return __generator(this, function (_a) {
|
|
202
143
|
queryParameters = {};
|
|
203
144
|
headerParameters = {};
|
|
204
145
|
headerParameters['Content-Type'] = 'application/json';
|
|
205
|
-
urlPath = "/admin-api/
|
|
146
|
+
urlPath = "/admin-api/product-registration/list";
|
|
206
147
|
return [2 /*return*/, {
|
|
207
148
|
path: urlPath,
|
|
208
149
|
method: 'POST',
|
|
209
150
|
headers: headerParameters,
|
|
210
151
|
query: queryParameters,
|
|
211
|
-
body: (0, index_1.
|
|
152
|
+
body: (0, index_1.IndexProductRegistrationRequestToJSON)(requestParameters['indexProductRegistrationRequest']),
|
|
212
153
|
}];
|
|
213
154
|
});
|
|
214
155
|
});
|
|
215
156
|
};
|
|
216
157
|
/**
|
|
217
|
-
* Auto-generated:
|
|
158
|
+
* Auto-generated: indexProductRegistration
|
|
218
159
|
*/
|
|
219
|
-
|
|
160
|
+
ProductRegistrationApi.prototype.indexProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
220
161
|
return __awaiter(this, void 0, void 0, function () {
|
|
221
162
|
var requestOptions, response;
|
|
222
163
|
return __generator(this, function (_a) {
|
|
223
164
|
switch (_a.label) {
|
|
224
|
-
case 0: return [4 /*yield*/, this.
|
|
165
|
+
case 0: return [4 /*yield*/, this.indexProductRegistrationRequestOpts(requestParameters)];
|
|
225
166
|
case 1:
|
|
226
167
|
requestOptions = _a.sent();
|
|
227
168
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
228
169
|
case 2:
|
|
229
170
|
response = _a.sent();
|
|
230
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
171
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductRegistrationListResourceResponseFromJSON)(jsonValue); })];
|
|
231
172
|
}
|
|
232
173
|
});
|
|
233
174
|
});
|
|
234
175
|
};
|
|
235
176
|
/**
|
|
236
|
-
* Auto-generated:
|
|
177
|
+
* Auto-generated: indexProductRegistration
|
|
237
178
|
*/
|
|
238
|
-
|
|
179
|
+
ProductRegistrationApi.prototype.indexProductRegistration = function () {
|
|
239
180
|
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
240
181
|
var response;
|
|
241
182
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
242
183
|
return __generator(this, function (_a) {
|
|
243
184
|
switch (_a.label) {
|
|
244
|
-
case 0: return [4 /*yield*/, this.
|
|
185
|
+
case 0: return [4 /*yield*/, this.indexProductRegistrationRaw(requestParameters, initOverrides)];
|
|
245
186
|
case 1:
|
|
246
187
|
response = _a.sent();
|
|
247
188
|
return [4 /*yield*/, response.value()];
|
|
@@ -251,56 +192,58 @@ var MenuApi = /** @class */ (function (_super) {
|
|
|
251
192
|
});
|
|
252
193
|
};
|
|
253
194
|
/**
|
|
254
|
-
* Creates request options for
|
|
195
|
+
* Creates request options for listAssetsProductRegistration without sending the request
|
|
255
196
|
*/
|
|
256
|
-
|
|
197
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistrationRequestOpts = function (requestParameters) {
|
|
257
198
|
return __awaiter(this, void 0, void 0, function () {
|
|
258
199
|
var queryParameters, headerParameters, urlPath;
|
|
259
200
|
return __generator(this, function (_a) {
|
|
260
|
-
if (requestParameters['
|
|
261
|
-
throw new runtime.RequiredError('
|
|
201
|
+
if (requestParameters['productRegistration'] == null) {
|
|
202
|
+
throw new runtime.RequiredError('productRegistration', 'Required parameter "productRegistration" was null or undefined when calling listAssetsProductRegistration().');
|
|
262
203
|
}
|
|
263
204
|
queryParameters = {};
|
|
264
205
|
headerParameters = {};
|
|
265
|
-
|
|
266
|
-
urlPath =
|
|
206
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
207
|
+
urlPath = "/admin-api/product-registration/{productRegistration}/assets";
|
|
208
|
+
urlPath = urlPath.replace("{".concat("productRegistration", "}"), encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
267
209
|
return [2 /*return*/, {
|
|
268
210
|
path: urlPath,
|
|
269
|
-
method: '
|
|
211
|
+
method: 'POST',
|
|
270
212
|
headers: headerParameters,
|
|
271
213
|
query: queryParameters,
|
|
214
|
+
body: (0, index_1.ListAssetsProductRegistrationRequestToJSON)(requestParameters['listAssetsProductRegistrationRequest']),
|
|
272
215
|
}];
|
|
273
216
|
});
|
|
274
217
|
});
|
|
275
218
|
};
|
|
276
219
|
/**
|
|
277
|
-
* Auto-generated:
|
|
220
|
+
* Auto-generated: listAssetsProductRegistration
|
|
278
221
|
*/
|
|
279
|
-
|
|
222
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
280
223
|
return __awaiter(this, void 0, void 0, function () {
|
|
281
224
|
var requestOptions, response;
|
|
282
225
|
return __generator(this, function (_a) {
|
|
283
226
|
switch (_a.label) {
|
|
284
|
-
case 0: return [4 /*yield*/, this.
|
|
227
|
+
case 0: return [4 /*yield*/, this.listAssetsProductRegistrationRequestOpts(requestParameters)];
|
|
285
228
|
case 1:
|
|
286
229
|
requestOptions = _a.sent();
|
|
287
230
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
288
231
|
case 2:
|
|
289
232
|
response = _a.sent();
|
|
290
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
233
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductRegistrationAssetResourceResponseFromJSON)(jsonValue); })];
|
|
291
234
|
}
|
|
292
235
|
});
|
|
293
236
|
});
|
|
294
237
|
};
|
|
295
238
|
/**
|
|
296
|
-
* Auto-generated:
|
|
239
|
+
* Auto-generated: listAssetsProductRegistration
|
|
297
240
|
*/
|
|
298
|
-
|
|
241
|
+
ProductRegistrationApi.prototype.listAssetsProductRegistration = function (requestParameters, initOverrides) {
|
|
299
242
|
return __awaiter(this, void 0, void 0, function () {
|
|
300
243
|
var response;
|
|
301
244
|
return __generator(this, function (_a) {
|
|
302
245
|
switch (_a.label) {
|
|
303
|
-
case 0: return [4 /*yield*/, this.
|
|
246
|
+
case 0: return [4 /*yield*/, this.listAssetsProductRegistrationRaw(requestParameters, initOverrides)];
|
|
304
247
|
case 1:
|
|
305
248
|
response = _a.sent();
|
|
306
249
|
return [4 /*yield*/, response.value()];
|
|
@@ -310,55 +253,58 @@ var MenuApi = /** @class */ (function (_super) {
|
|
|
310
253
|
});
|
|
311
254
|
};
|
|
312
255
|
/**
|
|
313
|
-
* Creates request options for
|
|
256
|
+
* Creates request options for listProductsProductRegistration without sending the request
|
|
314
257
|
*/
|
|
315
|
-
|
|
258
|
+
ProductRegistrationApi.prototype.listProductsProductRegistrationRequestOpts = function (requestParameters) {
|
|
316
259
|
return __awaiter(this, void 0, void 0, function () {
|
|
317
260
|
var queryParameters, headerParameters, urlPath;
|
|
318
261
|
return __generator(this, function (_a) {
|
|
262
|
+
if (requestParameters['productRegistration'] == null) {
|
|
263
|
+
throw new runtime.RequiredError('productRegistration', 'Required parameter "productRegistration" was null or undefined when calling listProductsProductRegistration().');
|
|
264
|
+
}
|
|
319
265
|
queryParameters = {};
|
|
320
266
|
headerParameters = {};
|
|
321
267
|
headerParameters['Content-Type'] = 'application/json';
|
|
322
|
-
urlPath = "/admin-api/
|
|
268
|
+
urlPath = "/admin-api/product-registration/{productRegistration}/product/list";
|
|
269
|
+
urlPath = urlPath.replace("{".concat("productRegistration", "}"), encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
323
270
|
return [2 /*return*/, {
|
|
324
271
|
path: urlPath,
|
|
325
272
|
method: 'POST',
|
|
326
273
|
headers: headerParameters,
|
|
327
274
|
query: queryParameters,
|
|
328
|
-
body: (0, index_1.
|
|
275
|
+
body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
|
|
329
276
|
}];
|
|
330
277
|
});
|
|
331
278
|
});
|
|
332
279
|
};
|
|
333
280
|
/**
|
|
334
|
-
* Auto-generated:
|
|
281
|
+
* Auto-generated: listProductsProductRegistration
|
|
335
282
|
*/
|
|
336
|
-
|
|
283
|
+
ProductRegistrationApi.prototype.listProductsProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
337
284
|
return __awaiter(this, void 0, void 0, function () {
|
|
338
285
|
var requestOptions, response;
|
|
339
286
|
return __generator(this, function (_a) {
|
|
340
287
|
switch (_a.label) {
|
|
341
|
-
case 0: return [4 /*yield*/, this.
|
|
288
|
+
case 0: return [4 /*yield*/, this.listProductsProductRegistrationRequestOpts(requestParameters)];
|
|
342
289
|
case 1:
|
|
343
290
|
requestOptions = _a.sent();
|
|
344
291
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
345
292
|
case 2:
|
|
346
293
|
response = _a.sent();
|
|
347
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
294
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
348
295
|
}
|
|
349
296
|
});
|
|
350
297
|
});
|
|
351
298
|
};
|
|
352
299
|
/**
|
|
353
|
-
* Auto-generated:
|
|
300
|
+
* Auto-generated: listProductsProductRegistration
|
|
354
301
|
*/
|
|
355
|
-
|
|
356
|
-
return __awaiter(this,
|
|
302
|
+
ProductRegistrationApi.prototype.listProductsProductRegistration = function (requestParameters, initOverrides) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
357
304
|
var response;
|
|
358
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
359
305
|
return __generator(this, function (_a) {
|
|
360
306
|
switch (_a.label) {
|
|
361
|
-
case 0: return [4 /*yield*/, this.
|
|
307
|
+
case 0: return [4 /*yield*/, this.listProductsProductRegistrationRaw(requestParameters, initOverrides)];
|
|
362
308
|
case 1:
|
|
363
309
|
response = _a.sent();
|
|
364
310
|
return [4 /*yield*/, response.value()];
|
|
@@ -368,58 +314,56 @@ var MenuApi = /** @class */ (function (_super) {
|
|
|
368
314
|
});
|
|
369
315
|
};
|
|
370
316
|
/**
|
|
371
|
-
* Creates request options for
|
|
317
|
+
* Creates request options for showProductRegistration without sending the request
|
|
372
318
|
*/
|
|
373
|
-
|
|
319
|
+
ProductRegistrationApi.prototype.showProductRegistrationRequestOpts = function (requestParameters) {
|
|
374
320
|
return __awaiter(this, void 0, void 0, function () {
|
|
375
321
|
var queryParameters, headerParameters, urlPath;
|
|
376
322
|
return __generator(this, function (_a) {
|
|
377
|
-
if (requestParameters['
|
|
378
|
-
throw new runtime.RequiredError('
|
|
323
|
+
if (requestParameters['productRegistration'] == null) {
|
|
324
|
+
throw new runtime.RequiredError('productRegistration', 'Required parameter "productRegistration" was null or undefined when calling showProductRegistration().');
|
|
379
325
|
}
|
|
380
326
|
queryParameters = {};
|
|
381
327
|
headerParameters = {};
|
|
382
|
-
|
|
383
|
-
urlPath = "
|
|
384
|
-
urlPath = urlPath.replace("{".concat("menu", "}"), encodeURIComponent(String(requestParameters['menu'])));
|
|
328
|
+
urlPath = "/admin-api/product-registration/{productRegistration}";
|
|
329
|
+
urlPath = urlPath.replace("{".concat("productRegistration", "}"), encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
385
330
|
return [2 /*return*/, {
|
|
386
331
|
path: urlPath,
|
|
387
|
-
method: '
|
|
332
|
+
method: 'GET',
|
|
388
333
|
headers: headerParameters,
|
|
389
334
|
query: queryParameters,
|
|
390
|
-
body: (0, index_1.UpdateMenuRequestToJSON)(requestParameters['updateMenuRequest']),
|
|
391
335
|
}];
|
|
392
336
|
});
|
|
393
337
|
});
|
|
394
338
|
};
|
|
395
339
|
/**
|
|
396
|
-
* Auto-generated:
|
|
340
|
+
* Auto-generated: showProductRegistration
|
|
397
341
|
*/
|
|
398
|
-
|
|
342
|
+
ProductRegistrationApi.prototype.showProductRegistrationRaw = function (requestParameters, initOverrides) {
|
|
399
343
|
return __awaiter(this, void 0, void 0, function () {
|
|
400
344
|
var requestOptions, response;
|
|
401
345
|
return __generator(this, function (_a) {
|
|
402
346
|
switch (_a.label) {
|
|
403
|
-
case 0: return [4 /*yield*/, this.
|
|
347
|
+
case 0: return [4 /*yield*/, this.showProductRegistrationRequestOpts(requestParameters)];
|
|
404
348
|
case 1:
|
|
405
349
|
requestOptions = _a.sent();
|
|
406
350
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
407
351
|
case 2:
|
|
408
352
|
response = _a.sent();
|
|
409
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
353
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRegistrationResourceFromJSON)(jsonValue); })];
|
|
410
354
|
}
|
|
411
355
|
});
|
|
412
356
|
});
|
|
413
357
|
};
|
|
414
358
|
/**
|
|
415
|
-
* Auto-generated:
|
|
359
|
+
* Auto-generated: showProductRegistration
|
|
416
360
|
*/
|
|
417
|
-
|
|
361
|
+
ProductRegistrationApi.prototype.showProductRegistration = function (requestParameters, initOverrides) {
|
|
418
362
|
return __awaiter(this, void 0, void 0, function () {
|
|
419
363
|
var response;
|
|
420
364
|
return __generator(this, function (_a) {
|
|
421
365
|
switch (_a.label) {
|
|
422
|
-
case 0: return [4 /*yield*/, this.
|
|
366
|
+
case 0: return [4 /*yield*/, this.showProductRegistrationRaw(requestParameters, initOverrides)];
|
|
423
367
|
case 1:
|
|
424
368
|
response = _a.sent();
|
|
425
369
|
return [4 /*yield*/, response.value()];
|
|
@@ -428,6 +372,6 @@ var MenuApi = /** @class */ (function (_super) {
|
|
|
428
372
|
});
|
|
429
373
|
});
|
|
430
374
|
};
|
|
431
|
-
return
|
|
375
|
+
return ProductRegistrationApi;
|
|
432
376
|
}(runtime.BaseAPI));
|
|
433
|
-
exports.
|
|
377
|
+
exports.ProductRegistrationApi = ProductRegistrationApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -6,12 +6,11 @@ export * from './DocumentApi';
|
|
|
6
6
|
export * from './ExternalApiLogApi';
|
|
7
7
|
export * from './GoogleCategoryApi';
|
|
8
8
|
export * from './LabelApi';
|
|
9
|
-
export * from './MenuApi';
|
|
10
|
-
export * from './MenuItemsApi';
|
|
11
9
|
export * from './OverlayTemplateApi';
|
|
12
10
|
export * from './ProductApi';
|
|
13
11
|
export * from './ProductCategoryApi';
|
|
14
12
|
export * from './ProductRangeApi';
|
|
13
|
+
export * from './ProductRegistrationApi';
|
|
15
14
|
export * from './ProductTypeApi';
|
|
16
15
|
export * from './SiteApi';
|
|
17
16
|
export * from './StoreApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -24,12 +24,11 @@ __exportStar(require("./DocumentApi"), exports);
|
|
|
24
24
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
25
25
|
__exportStar(require("./GoogleCategoryApi"), exports);
|
|
26
26
|
__exportStar(require("./LabelApi"), exports);
|
|
27
|
-
__exportStar(require("./MenuApi"), exports);
|
|
28
|
-
__exportStar(require("./MenuItemsApi"), exports);
|
|
29
27
|
__exportStar(require("./OverlayTemplateApi"), exports);
|
|
30
28
|
__exportStar(require("./ProductApi"), exports);
|
|
31
29
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
32
30
|
__exportStar(require("./ProductRangeApi"), exports);
|
|
31
|
+
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
33
32
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
34
33
|
__exportStar(require("./SiteApi"), exports);
|
|
35
34
|
__exportStar(require("./StoreApi"), exports);
|
|
@@ -22,6 +22,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
@@ -45,7 +47,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
-
'company': json['company']
|
|
50
|
+
'company': json['company'],
|
|
49
51
|
'line1': json['line_1'],
|
|
50
52
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
51
53
|
'postcode': json['postcode'],
|
|
@@ -0,0 +1,88 @@
|
|
|
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 GetAllProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetAllProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof GetAllProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GetAllProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof GetAllProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetAllProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
siteId?: Array<string>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const GetAllProductRegistrationRequestSortByEnum: {
|
|
65
|
+
readonly Id: "id";
|
|
66
|
+
readonly CustomerName: "customer-name";
|
|
67
|
+
readonly CustomerEmail: "customer-email";
|
|
68
|
+
readonly CustomerPhone: "customer-phone";
|
|
69
|
+
readonly CreatedAt: "created_at";
|
|
70
|
+
readonly PurchasedDate: "purchased_date";
|
|
71
|
+
};
|
|
72
|
+
export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const GetAllProductRegistrationRequestSortDirectionEnum: {
|
|
77
|
+
readonly Asc: "asc";
|
|
78
|
+
readonly Desc: "desc";
|
|
79
|
+
};
|
|
80
|
+
export type GetAllProductRegistrationRequestSortDirectionEnum = typeof GetAllProductRegistrationRequestSortDirectionEnum[keyof typeof GetAllProductRegistrationRequestSortDirectionEnum];
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfGetAllProductRegistrationRequest(value: object): value is GetAllProductRegistrationRequest;
|
|
85
|
+
export declare function GetAllProductRegistrationRequestFromJSON(json: any): GetAllProductRegistrationRequest;
|
|
86
|
+
export declare function GetAllProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRegistrationRequest;
|
|
87
|
+
export declare function GetAllProductRegistrationRequestToJSON(json: any): GetAllProductRegistrationRequest;
|
|
88
|
+
export declare function GetAllProductRegistrationRequestToJSONTyped(value?: GetAllProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|