@digital8/lighting-illusions-ts-sdk 0.0.1431 → 0.0.1433
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 +36 -0
- package/README.md +20 -2
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +77 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- 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/PaginatedProductRegistrationLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +44 -0
- package/dist/models/ProductRegistrationAssetResource.js +57 -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 +18 -0
- package/dist/models/index.js +18 -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/PaginatedProductRegistrationLiteResourceResponse.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 +135 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationAssetResource.ts +83 -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 +18 -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,10 @@ 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/PaginatedProductRegistrationLiteResourceResponse.md
|
|
180
|
+
docs/PaginatedProductRegistrationResourceResponse.md
|
|
175
181
|
docs/PaginatedProductResourceResponse.md
|
|
176
182
|
docs/PaginatedProductSearchResultResourceResponse.md
|
|
177
183
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
@@ -256,7 +262,19 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
256
262
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
257
263
|
docs/ProductRangeSortBy.md
|
|
258
264
|
docs/ProductRating.md
|
|
265
|
+
docs/ProductRegistrationAssetResource.md
|
|
266
|
+
docs/ProductRegistrationAssetResourceArrayResponse.md
|
|
259
267
|
docs/ProductRegistrationAssetType.md
|
|
268
|
+
docs/ProductRegistrationCustomerLiteResource.md
|
|
269
|
+
docs/ProductRegistrationCustomerLiteResourceArrayResponse.md
|
|
270
|
+
docs/ProductRegistrationCustomerResource.md
|
|
271
|
+
docs/ProductRegistrationCustomerResourceArrayResponse.md
|
|
272
|
+
docs/ProductRegistrationListResource.md
|
|
273
|
+
docs/ProductRegistrationListResourceArrayResponse.md
|
|
274
|
+
docs/ProductRegistrationLiteResource.md
|
|
275
|
+
docs/ProductRegistrationLiteResourceArrayResponse.md
|
|
276
|
+
docs/ProductRegistrationResource.md
|
|
277
|
+
docs/ProductRegistrationResourceArrayResponse.md
|
|
260
278
|
docs/ProductResource.md
|
|
261
279
|
docs/ProductResourceArrayResponse.md
|
|
262
280
|
docs/ProductSearchResponseResource.md
|
|
@@ -379,6 +397,8 @@ src/apis/SupplierApi.ts
|
|
|
379
397
|
src/apis/TagApi.ts
|
|
380
398
|
src/apis/index.ts
|
|
381
399
|
src/index.ts
|
|
400
|
+
src/models/AddressResource.ts
|
|
401
|
+
src/models/AddressResourceArrayResponse.ts
|
|
382
402
|
src/models/AssetFileForUploadResource.ts
|
|
383
403
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
384
404
|
src/models/AssetFrontendResource.ts
|
|
@@ -541,6 +561,10 @@ src/models/PaginatedProductRangeListResourceResponse.ts
|
|
|
541
561
|
src/models/PaginatedProductRangeLiteResourceResponse.ts
|
|
542
562
|
src/models/PaginatedProductRangeResourceResponse.ts
|
|
543
563
|
src/models/PaginatedProductRangeSearchResultResourceResponse.ts
|
|
564
|
+
src/models/PaginatedProductRegistrationAssetResourceResponse.ts
|
|
565
|
+
src/models/PaginatedProductRegistrationListResourceResponse.ts
|
|
566
|
+
src/models/PaginatedProductRegistrationLiteResourceResponse.ts
|
|
567
|
+
src/models/PaginatedProductRegistrationResourceResponse.ts
|
|
544
568
|
src/models/PaginatedProductResourceResponse.ts
|
|
545
569
|
src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
546
570
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
@@ -622,7 +646,19 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
622
646
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
623
647
|
src/models/ProductRangeSortBy.ts
|
|
624
648
|
src/models/ProductRating.ts
|
|
649
|
+
src/models/ProductRegistrationAssetResource.ts
|
|
650
|
+
src/models/ProductRegistrationAssetResourceArrayResponse.ts
|
|
625
651
|
src/models/ProductRegistrationAssetType.ts
|
|
652
|
+
src/models/ProductRegistrationCustomerLiteResource.ts
|
|
653
|
+
src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts
|
|
654
|
+
src/models/ProductRegistrationCustomerResource.ts
|
|
655
|
+
src/models/ProductRegistrationCustomerResourceArrayResponse.ts
|
|
656
|
+
src/models/ProductRegistrationListResource.ts
|
|
657
|
+
src/models/ProductRegistrationListResourceArrayResponse.ts
|
|
658
|
+
src/models/ProductRegistrationLiteResource.ts
|
|
659
|
+
src/models/ProductRegistrationLiteResourceArrayResponse.ts
|
|
660
|
+
src/models/ProductRegistrationResource.ts
|
|
661
|
+
src/models/ProductRegistrationResourceArrayResponse.ts
|
|
626
662
|
src/models/ProductResource.ts
|
|
627
663
|
src/models/ProductResourceArrayResponse.ts
|
|
628
664
|
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.1433
|
|
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,10 @@ 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
|
+
- [PaginatedProductRegistrationLiteResourceResponse](docs/PaginatedProductRegistrationLiteResourceResponse.md)
|
|
363
|
+
- [PaginatedProductRegistrationResourceResponse](docs/PaginatedProductRegistrationResourceResponse.md)
|
|
358
364
|
- [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
|
|
359
365
|
- [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
|
|
360
366
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
@@ -436,7 +442,19 @@ All URIs are relative to *http://localhost/api*
|
|
|
436
442
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
437
443
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
438
444
|
- [ProductRating](docs/ProductRating.md)
|
|
445
|
+
- [ProductRegistrationAssetResource](docs/ProductRegistrationAssetResource.md)
|
|
446
|
+
- [ProductRegistrationAssetResourceArrayResponse](docs/ProductRegistrationAssetResourceArrayResponse.md)
|
|
439
447
|
- [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
|
|
448
|
+
- [ProductRegistrationCustomerLiteResource](docs/ProductRegistrationCustomerLiteResource.md)
|
|
449
|
+
- [ProductRegistrationCustomerLiteResourceArrayResponse](docs/ProductRegistrationCustomerLiteResourceArrayResponse.md)
|
|
450
|
+
- [ProductRegistrationCustomerResource](docs/ProductRegistrationCustomerResource.md)
|
|
451
|
+
- [ProductRegistrationCustomerResourceArrayResponse](docs/ProductRegistrationCustomerResourceArrayResponse.md)
|
|
452
|
+
- [ProductRegistrationListResource](docs/ProductRegistrationListResource.md)
|
|
453
|
+
- [ProductRegistrationListResourceArrayResponse](docs/ProductRegistrationListResourceArrayResponse.md)
|
|
454
|
+
- [ProductRegistrationLiteResource](docs/ProductRegistrationLiteResource.md)
|
|
455
|
+
- [ProductRegistrationLiteResourceArrayResponse](docs/ProductRegistrationLiteResourceArrayResponse.md)
|
|
456
|
+
- [ProductRegistrationResource](docs/ProductRegistrationResource.md)
|
|
457
|
+
- [ProductRegistrationResourceArrayResponse](docs/ProductRegistrationResourceArrayResponse.md)
|
|
440
458
|
- [ProductResource](docs/ProductResource.md)
|
|
441
459
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
442
460
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -550,7 +568,7 @@ and is automatically generated by the
|
|
|
550
568
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
551
569
|
|
|
552
570
|
- API version: `1.0.0`
|
|
553
|
-
- Package version: `0.0.
|
|
571
|
+
- Package version: `0.0.1433`
|
|
554
572
|
- Generator version: `7.20.0`
|
|
555
573
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
556
574
|
|
|
@@ -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 | null;
|
|
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,77 @@
|
|
|
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 (!('line1' in value) || value['line1'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('fullAddress' in value) || value['fullAddress'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AddressResourceFromJSON(json) {
|
|
40
|
+
return AddressResourceFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
49
|
+
'line1': json['line1'],
|
|
50
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
51
|
+
'postcode': json['postcode'],
|
|
52
|
+
'suburb': json['suburb'],
|
|
53
|
+
'country': json['country'],
|
|
54
|
+
'state': json['state'],
|
|
55
|
+
'fullAddress': json['fullAddress'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AddressResourceToJSON(json) {
|
|
59
|
+
return AddressResourceToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AddressResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'company': value['company'],
|
|
69
|
+
'line1': value['line1'],
|
|
70
|
+
'line2': value['line2'],
|
|
71
|
+
'postcode': value['postcode'],
|
|
72
|
+
'suburb': value['suburb'],
|
|
73
|
+
'country': value['country'],
|
|
74
|
+
'state': value['state'],
|
|
75
|
+
'fullAddress': value['fullAddress'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRegistrationLiteResource } from './ProductRegistrationLiteResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRegistrationLiteResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRegistrationLiteResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRegistrationLiteResource>}
|
|
23
|
+
* @memberof PaginatedProductRegistrationLiteResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRegistrationLiteResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRegistrationLiteResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRegistrationLiteResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRegistrationLiteResourceResponse(value: object): value is PaginatedProductRegistrationLiteResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRegistrationLiteResourceResponseFromJSON(json: any): PaginatedProductRegistrationLiteResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRegistrationLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationLiteResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRegistrationLiteResourceResponseToJSON(json: any): PaginatedProductRegistrationLiteResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRegistrationLiteResourceResponseToJSONTyped(value?: PaginatedProductRegistrationLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;
|