@digital8/lighting-illusions-ts-sdk 0.0.1449 → 0.0.1451
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 +34 -0
- package/README.md +19 -2
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +44 -0
- package/dist/models/ProductRegistrationCustomerLiteResource.js +57 -0
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +50 -0
- package/dist/models/ProductRegistrationCustomerResource.js +61 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +51 -0
- package/dist/models/ProductRegistrationListResource.js +60 -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/ProductRegistrationResource.d.ts +76 -0
- package/dist/models/ProductRegistrationResource.js +75 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/docs/AddressResource.md +50 -0
- package/docs/AddressResourceArrayResponse.md +34 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationCustomerLiteResource.md +38 -0
- package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationCustomerResource.md +40 -0
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +40 -0
- package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationLiteResource.md +36 -0
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +48 -0
- package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/models/AddressResource.ts +136 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationCustomerLiteResource.ts +83 -0
- package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationCustomerResource.ts +92 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +99 -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/ProductRegistrationResource.ts +141 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +17 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
.npmignore
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
|
+
docs/AddressResource.md
|
|
6
|
+
docs/AddressResourceArrayResponse.md
|
|
5
7
|
docs/AdminApi.md
|
|
6
8
|
docs/AssetApi.md
|
|
7
9
|
docs/AssetFileForUploadResource.md
|
|
@@ -172,6 +174,9 @@ docs/PaginatedProductRangeListResourceResponse.md
|
|
|
172
174
|
docs/PaginatedProductRangeLiteResourceResponse.md
|
|
173
175
|
docs/PaginatedProductRangeResourceResponse.md
|
|
174
176
|
docs/PaginatedProductRangeSearchResultResourceResponse.md
|
|
177
|
+
docs/PaginatedProductRegistrationAssetResourceResponse.md
|
|
178
|
+
docs/PaginatedProductRegistrationListResourceResponse.md
|
|
179
|
+
docs/PaginatedProductRegistrationResourceResponse.md
|
|
175
180
|
docs/PaginatedProductResourceResponse.md
|
|
176
181
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
177
182
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
@@ -256,7 +261,19 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
256
261
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
257
262
|
docs/ProductRangeSortBy.md
|
|
258
263
|
docs/ProductRating.md
|
|
264
|
+
docs/ProductRegistrationAssetResource.md
|
|
265
|
+
docs/ProductRegistrationAssetResourceArrayResponse.md
|
|
259
266
|
docs/ProductRegistrationAssetType.md
|
|
267
|
+
docs/ProductRegistrationCustomerLiteResource.md
|
|
268
|
+
docs/ProductRegistrationCustomerLiteResourceArrayResponse.md
|
|
269
|
+
docs/ProductRegistrationCustomerResource.md
|
|
270
|
+
docs/ProductRegistrationCustomerResourceArrayResponse.md
|
|
271
|
+
docs/ProductRegistrationListResource.md
|
|
272
|
+
docs/ProductRegistrationListResourceArrayResponse.md
|
|
273
|
+
docs/ProductRegistrationLiteResource.md
|
|
274
|
+
docs/ProductRegistrationLiteResourceArrayResponse.md
|
|
275
|
+
docs/ProductRegistrationResource.md
|
|
276
|
+
docs/ProductRegistrationResourceArrayResponse.md
|
|
260
277
|
docs/ProductResource.md
|
|
261
278
|
docs/ProductResourceArrayResponse.md
|
|
262
279
|
docs/ProductSearchResponseResource.md
|
|
@@ -379,6 +396,8 @@ src/apis/SupplierApi.ts
|
|
|
379
396
|
src/apis/TagApi.ts
|
|
380
397
|
src/apis/index.ts
|
|
381
398
|
src/index.ts
|
|
399
|
+
src/models/AddressResource.ts
|
|
400
|
+
src/models/AddressResourceArrayResponse.ts
|
|
382
401
|
src/models/AssetFileForUploadResource.ts
|
|
383
402
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
384
403
|
src/models/AssetFrontendResource.ts
|
|
@@ -541,6 +560,9 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
541
560
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
542
561
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
543
562
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
563
|
+
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
564
|
+
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
565
|
+
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
544
566
|
src/models/PaginatedProductResourceResponse.ts
|
|
545
567
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
546
568
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
@@ -622,7 +644,19 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
622
644
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
623
645
|
src/models/ProductRangeSortBy.ts
|
|
624
646
|
src/models/ProductRating.ts
|
|
647
|
+
src/models/ProductRegistrationAssetResource.ts
|
|
648
|
+
src/models/ProductRegistrationAssetResourceArrayResponse.ts
|
|
625
649
|
src/models/ProductRegistrationAssetType.ts
|
|
650
|
+
src/models/ProductRegistrationCustomerLiteResource.ts
|
|
651
|
+
src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts
|
|
652
|
+
src/models/ProductRegistrationCustomerResource.ts
|
|
653
|
+
src/models/ProductRegistrationCustomerResourceArrayResponse.ts
|
|
654
|
+
src/models/ProductRegistrationListResource.ts
|
|
655
|
+
src/models/ProductRegistrationListResourceArrayResponse.ts
|
|
656
|
+
src/models/ProductRegistrationLiteResource.ts
|
|
657
|
+
src/models/ProductRegistrationLiteResourceArrayResponse.ts
|
|
658
|
+
src/models/ProductRegistrationResource.ts
|
|
659
|
+
src/models/ProductRegistrationResourceArrayResponse.ts
|
|
626
660
|
src/models/ProductResource.ts
|
|
627
661
|
src/models/ProductResourceArrayResponse.ts
|
|
628
662
|
src/models/ProductSearchResponseResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1451
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -193,6 +193,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
193
193
|
|
|
194
194
|
### Models
|
|
195
195
|
|
|
196
|
+
- [AddressResource](docs/AddressResource.md)
|
|
197
|
+
- [AddressResourceArrayResponse](docs/AddressResourceArrayResponse.md)
|
|
196
198
|
- [AssetFileForUploadResource](docs/AssetFileForUploadResource.md)
|
|
197
199
|
- [AssetFileForUploadResourceArrayResponse](docs/AssetFileForUploadResourceArrayResponse.md)
|
|
198
200
|
- [AssetFrontendResource](docs/AssetFrontendResource.md)
|
|
@@ -355,6 +357,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
355
357
|
- [PaginatedProductRangeLiteResourceResponse](docs/PaginatedProductRangeLiteResourceResponse.md)
|
|
356
358
|
- [PaginatedProductRangeResourceResponse](docs/PaginatedProductRangeResourceResponse.md)
|
|
357
359
|
- [PaginatedProductRangeSearchResultResourceResponse](docs/PaginatedProductRangeSearchResultResourceResponse.md)
|
|
360
|
+
- [PaginatedProductRegistrationAssetResourceResponse](docs/PaginatedProductRegistrationAssetResourceResponse.md)
|
|
361
|
+
- [PaginatedProductRegistrationListResourceResponse](docs/PaginatedProductRegistrationListResourceResponse.md)
|
|
362
|
+
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
358
363
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
359
364
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
360
365
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
@@ -436,7 +441,19 @@ All URIs are relative to *http://localhost/api*
|
|
|
436
441
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
437
442
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
438
443
|
- [ProductRating](docs/ProductRating.md)
|
|
444
|
+
- [ProductRegistrationAssetResource](docs/ProductRegistrationAssetResource.md)
|
|
445
|
+
- [ProductRegistrationAssetResourceArrayResponse](docs/ProductRegistrationAssetResourceArrayResponse.md)
|
|
439
446
|
- [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
|
|
447
|
+
- [ProductRegistrationCustomerLiteResource](docs/ProductRegistrationCustomerLiteResource.md)
|
|
448
|
+
- [ProductRegistrationCustomerLiteResourceArrayResponse](docs/ProductRegistrationCustomerLiteResourceArrayResponse.md)
|
|
449
|
+
- [ProductRegistrationCustomerResource](docs/ProductRegistrationCustomerResource.md)
|
|
450
|
+
- [ProductRegistrationCustomerResourceArrayResponse](docs/ProductRegistrationCustomerResourceArrayResponse.md)
|
|
451
|
+
- [ProductRegistrationListResource](docs/ProductRegistrationListResource.md)
|
|
452
|
+
- [ProductRegistrationListResourceArrayResponse](docs/ProductRegistrationListResourceArrayResponse.md)
|
|
453
|
+
- [ProductRegistrationLiteResource](docs/ProductRegistrationLiteResource.md)
|
|
454
|
+
- [ProductRegistrationLiteResourceArrayResponse](docs/ProductRegistrationLiteResourceArrayResponse.md)
|
|
455
|
+
- [ProductRegistrationResource](docs/ProductRegistrationResource.md)
|
|
456
|
+
- [ProductRegistrationResourceArrayResponse](docs/ProductRegistrationResourceArrayResponse.md)
|
|
440
457
|
- [ProductResource](docs/ProductResource.md)
|
|
441
458
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
442
459
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -550,7 +567,7 @@ and is automatically generated by the
|
|
|
550
567
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
551
568
|
|
|
552
569
|
- API version: `1.0.0`
|
|
553
|
-
- Package version: `0.0.
|
|
570
|
+
- Package version: `0.0.1451`
|
|
554
571
|
- Generator version: `7.20.0`
|
|
555
572
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
556
573
|
|
|
@@ -0,0 +1,80 @@
|
|
|
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 AddressResource
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AddressResource
|
|
22
|
+
*/
|
|
23
|
+
id?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressResource
|
|
28
|
+
*/
|
|
29
|
+
company: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressResource
|
|
34
|
+
*/
|
|
35
|
+
line1: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressResource
|
|
40
|
+
*/
|
|
41
|
+
line2?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressResource
|
|
46
|
+
*/
|
|
47
|
+
postcode: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AddressResource
|
|
52
|
+
*/
|
|
53
|
+
suburb: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AddressResource
|
|
58
|
+
*/
|
|
59
|
+
country: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AddressResource
|
|
64
|
+
*/
|
|
65
|
+
state: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AddressResource
|
|
70
|
+
*/
|
|
71
|
+
fullAddress: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the AddressResource interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfAddressResource(value: object): value is AddressResource;
|
|
77
|
+
export declare function AddressResourceFromJSON(json: any): AddressResource;
|
|
78
|
+
export declare function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResource;
|
|
79
|
+
export declare function AddressResourceToJSON(json: any): AddressResource;
|
|
80
|
+
export declare function AddressResourceToJSONTyped(value?: AddressResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfAddressResource = instanceOfAddressResource;
|
|
17
|
+
exports.AddressResourceFromJSON = AddressResourceFromJSON;
|
|
18
|
+
exports.AddressResourceFromJSONTyped = AddressResourceFromJSONTyped;
|
|
19
|
+
exports.AddressResourceToJSON = AddressResourceToJSON;
|
|
20
|
+
exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AddressResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAddressResource(value) {
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('fullAddress' in value) || value['fullAddress'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AddressResourceFromJSON(json) {
|
|
42
|
+
return AddressResourceFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
+
'company': json['company'],
|
|
51
|
+
'line1': json['line1'],
|
|
52
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
53
|
+
'postcode': json['postcode'],
|
|
54
|
+
'suburb': json['suburb'],
|
|
55
|
+
'country': json['country'],
|
|
56
|
+
'state': json['state'],
|
|
57
|
+
'fullAddress': json['fullAddress'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function AddressResourceToJSON(json) {
|
|
61
|
+
return AddressResourceToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function AddressResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'company': value['company'],
|
|
71
|
+
'line1': value['line1'],
|
|
72
|
+
'line2': value['line2'],
|
|
73
|
+
'postcode': value['postcode'],
|
|
74
|
+
'suburb': value['suburb'],
|
|
75
|
+
'country': value['country'],
|
|
76
|
+
'state': value['state'],
|
|
77
|
+
'fullAddress': value['fullAddress'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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 { AddressResource } from './AddressResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddressResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AddressResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AddressResource>}
|
|
22
|
+
* @memberof AddressResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<AddressResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAddressResourceArrayResponse(value: object): value is AddressResourceArrayResponse;
|
|
30
|
+
export declare function AddressResourceArrayResponseFromJSON(json: any): AddressResourceArrayResponse;
|
|
31
|
+
export declare function AddressResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResourceArrayResponse;
|
|
32
|
+
export declare function AddressResourceArrayResponseToJSON(json: any): AddressResourceArrayResponse;
|
|
33
|
+
export declare function AddressResourceArrayResponseToJSONTyped(value?: AddressResourceArrayResponse | 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.instanceOfAddressResourceArrayResponse = instanceOfAddressResourceArrayResponse;
|
|
17
|
+
exports.AddressResourceArrayResponseFromJSON = AddressResourceArrayResponseFromJSON;
|
|
18
|
+
exports.AddressResourceArrayResponseFromJSONTyped = AddressResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.AddressResourceArrayResponseToJSON = AddressResourceArrayResponseToJSON;
|
|
20
|
+
exports.AddressResourceArrayResponseToJSONTyped = AddressResourceArrayResponseToJSONTyped;
|
|
21
|
+
var AddressResource_1 = require("./AddressResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAddressResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AddressResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return AddressResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AddressResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AddressResource_1.AddressResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AddressResourceArrayResponseToJSON(json) {
|
|
40
|
+
return AddressResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AddressResourceArrayResponseToJSONTyped(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(AddressResource_1.AddressResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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;
|
|
@@ -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.instanceOfPaginatedProductRegistrationListResourceResponse = instanceOfPaginatedProductRegistrationListResourceResponse;
|
|
17
|
+
exports.PaginatedProductRegistrationListResourceResponseFromJSON = PaginatedProductRegistrationListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRegistrationListResourceResponseFromJSONTyped = PaginatedProductRegistrationListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRegistrationListResourceResponseToJSON = PaginatedProductRegistrationListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRegistrationListResourceResponseToJSONTyped = PaginatedProductRegistrationListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRegistrationListResource_1 = require("./ProductRegistrationListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRegistrationListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRegistrationListResourceResponse(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 PaginatedProductRegistrationListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRegistrationListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRegistrationListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRegistrationListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRegistrationListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRegistrationListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceToJSON)),
|
|
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 { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
13
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRegistrationResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRegistrationResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRegistrationResource>}
|
|
23
|
+
* @memberof PaginatedProductRegistrationResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRegistrationResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRegistrationResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRegistrationResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRegistrationResourceResponse(value: object): value is PaginatedProductRegistrationResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRegistrationResourceResponseFromJSON(json: any): PaginatedProductRegistrationResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRegistrationResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRegistrationResourceResponseToJSON(json: any): PaginatedProductRegistrationResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRegistrationResourceResponseToJSONTyped(value?: PaginatedProductRegistrationResourceResponse | 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.instanceOfPaginatedProductRegistrationResourceResponse = instanceOfPaginatedProductRegistrationResourceResponse;
|
|
17
|
+
exports.PaginatedProductRegistrationResourceResponseFromJSON = PaginatedProductRegistrationResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRegistrationResourceResponseFromJSONTyped = PaginatedProductRegistrationResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRegistrationResourceResponseToJSON = PaginatedProductRegistrationResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRegistrationResourceResponseToJSONTyped = PaginatedProductRegistrationResourceResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationResource_1 = require("./ProductRegistrationResource");
|
|
22
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRegistrationResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRegistrationResourceResponse(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 PaginatedProductRegistrationResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRegistrationResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRegistrationResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRegistrationResource_1.ProductRegistrationResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRegistrationResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRegistrationResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRegistrationResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRegistrationResource_1.ProductRegistrationResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|