@digital8/lighting-illusions-ts-sdk 0.0.1637 → 0.0.1639
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 +26 -40
- package/README.md +20 -26
- package/dist/apis/ReviewApi.d.ts +109 -0
- package/dist/apis/{ProductRegistrationApi.js → ReviewApi.js} +130 -74
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +6 -2
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GlobalSearchProductResource.d.ts +0 -6
- package/dist/models/GlobalSearchProductResource.js +0 -4
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexReviewRequest.d.ts +110 -0
- package/dist/models/{ListAssetsProductRegistrationRequest.js → IndexReviewRequest.js} +24 -21
- package/dist/models/PaginatedReviewListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewListResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -2
- package/dist/models/ProductSearchResultResource.d.ts +0 -6
- package/dist/models/ProductSearchResultResource.js +0 -4
- package/dist/models/ReviewListResource.d.ts +87 -0
- package/dist/models/ReviewListResource.js +82 -0
- package/dist/models/ReviewListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewListResourceArrayResponse.js +50 -0
- package/dist/models/ReviewLiteResource.d.ts +44 -0
- package/dist/models/ReviewLiteResource.js +59 -0
- package/dist/models/ReviewLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewLiteResourceArrayResponse.js +50 -0
- package/dist/models/ReviewResource.d.ts +117 -0
- package/dist/models/ReviewResource.js +100 -0
- package/dist/models/ReviewResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +4 -4
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreReviewRequest.d.ts +74 -0
- package/dist/models/StoreReviewRequest.js +71 -0
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/UpdateReviewRequest.d.ts +62 -0
- package/dist/models/UpdateReviewRequest.js +63 -0
- package/dist/models/index.d.ts +12 -19
- package/dist/models/index.js +12 -19
- package/docs/GlobalSearchProductResource.md +0 -2
- package/docs/{ListAssetsProductRegistrationRequest.md → IndexReviewRequest.md} +10 -8
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedReviewListResourceResponse.md} +5 -5
- package/docs/{PaginatedProductRegistrationListResourceResponse.md → PaginatedReviewLiteResourceResponse.md} +5 -5
- package/docs/{ProductRegistrationResourceArrayResponse.md → PaginatedReviewResourceResponse.md} +7 -5
- package/docs/ProductChildListResource.md +0 -2
- package/docs/ProductSearchResultResource.md +0 -2
- package/docs/ReviewApi.md +407 -0
- package/docs/ReviewListResource.md +52 -0
- package/docs/{ProductRegistrationAssetResource.md → ReviewListResourceArrayResponse.md} +6 -10
- package/docs/{ProductRegistrationLiteResource.md → ReviewLiteResource.md} +8 -6
- package/docs/ReviewLiteResourceArrayResponse.md +34 -0
- package/docs/ReviewResource.md +62 -0
- package/docs/{ProductRegistrationAssetType.md → ReviewResourceArrayResponse.md} +6 -4
- package/docs/StoreReviewRequest.md +48 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/{ProductRegistrationAssetResourceArrayResponse.md → UpdateReviewRequest.md} +16 -6
- package/package.json +1 -1
- package/src/apis/ReviewApi.ts +331 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +6 -4
- package/src/models/AddressResource.ts +5 -5
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GlobalSearchProductResource.ts +0 -9
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexReviewRequest.ts +167 -0
- package/src/models/PaginatedReviewListResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -8
- package/src/models/ProductSearchResultResource.ts +0 -9
- package/src/models/ReviewListResource.ts +152 -0
- package/src/models/ReviewListResourceArrayResponse.ts +73 -0
- package/src/models/ReviewLiteResource.ts +84 -0
- package/src/models/ReviewLiteResourceArrayResponse.ts +73 -0
- package/src/models/ReviewResource.ts +196 -0
- package/src/models/ReviewResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +5 -5
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreReviewRequest.ts +125 -0
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/UpdateReviewRequest.ts +107 -0
- package/src/models/index.ts +12 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -95
- package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
- package/dist/models/GetAllProductRegistrationRequest.js +0 -80
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
- package/dist/models/IndexProductRegistrationRequest.js +0 -98
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
- package/dist/models/ProductRegistrationCustomerResource.js +0 -65
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
- package/dist/models/ProductRegistrationProductChildResource.js +0 -63
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -90
- package/dist/models/ProductRegistrationResource.js +0 -81
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
- package/docs/GetAllProductRegistrationRequest.md +0 -46
- package/docs/IndexProductRegistrationRequest.md +0 -58
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationCustomerResource.md +0 -44
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -297
- package/src/models/GetAllProductRegistrationRequest.ts +0 -137
- package/src/models/IndexProductRegistrationRequest.ts +0 -193
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerResource.ts +0 -108
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationProductChildResource.ts +0 -93
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -171
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
|
@@ -1,58 +0,0 @@
|
|
|
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.instanceOfProductRegistrationAssetResource = instanceOfProductRegistrationAssetResource;
|
|
17
|
-
exports.ProductRegistrationAssetResourceFromJSON = ProductRegistrationAssetResourceFromJSON;
|
|
18
|
-
exports.ProductRegistrationAssetResourceFromJSONTyped = ProductRegistrationAssetResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationAssetResourceToJSON = ProductRegistrationAssetResourceToJSON;
|
|
20
|
-
exports.ProductRegistrationAssetResourceToJSONTyped = ProductRegistrationAssetResourceToJSONTyped;
|
|
21
|
-
var AssetResource_1 = require("./AssetResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRegistrationAssetResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRegistrationAssetResource(value) {
|
|
26
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('asset' in value) || value['asset'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function ProductRegistrationAssetResourceFromJSON(json) {
|
|
33
|
-
return ProductRegistrationAssetResourceFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function ProductRegistrationAssetResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
-
'type': json['type'],
|
|
42
|
-
'asset': (0, AssetResource_1.AssetResourceFromJSON)(json['asset']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function ProductRegistrationAssetResourceToJSON(json) {
|
|
46
|
-
return ProductRegistrationAssetResourceToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function ProductRegistrationAssetResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'id': value['id'],
|
|
55
|
-
'type': value['type'],
|
|
56
|
-
'asset': (0, AssetResource_1.AssetResourceToJSON)(value['asset']),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRegistrationAssetResource } from './ProductRegistrationAssetResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRegistrationAssetResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRegistrationAssetResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRegistrationAssetResource>}
|
|
22
|
-
* @memberof ProductRegistrationAssetResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRegistrationAssetResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRegistrationAssetResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRegistrationAssetResourceArrayResponse(value: object): value is ProductRegistrationAssetResourceArrayResponse;
|
|
30
|
-
export declare function ProductRegistrationAssetResourceArrayResponseFromJSON(json: any): ProductRegistrationAssetResourceArrayResponse;
|
|
31
|
-
export declare function ProductRegistrationAssetResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationAssetResourceArrayResponse;
|
|
32
|
-
export declare function ProductRegistrationAssetResourceArrayResponseToJSON(json: any): ProductRegistrationAssetResourceArrayResponse;
|
|
33
|
-
export declare function ProductRegistrationAssetResourceArrayResponseToJSONTyped(value?: ProductRegistrationAssetResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfProductRegistrationAssetResourceArrayResponse = instanceOfProductRegistrationAssetResourceArrayResponse;
|
|
17
|
-
exports.ProductRegistrationAssetResourceArrayResponseFromJSON = ProductRegistrationAssetResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRegistrationAssetResourceArrayResponseFromJSONTyped = ProductRegistrationAssetResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationAssetResourceArrayResponseToJSON = ProductRegistrationAssetResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRegistrationAssetResourceArrayResponseToJSONTyped = ProductRegistrationAssetResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRegistrationAssetResource_1 = require("./ProductRegistrationAssetResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRegistrationAssetResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRegistrationAssetResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRegistrationAssetResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRegistrationAssetResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRegistrationAssetResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRegistrationAssetResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRegistrationAssetResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRegistrationAssetResourceArrayResponseToJSONTyped(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(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
*/
|
|
16
|
-
export declare const ProductRegistrationAssetType: {
|
|
17
|
-
readonly TaxInvoice: "tax_invoice";
|
|
18
|
-
readonly CertificateOfCompliance: "certificate_of_compliance";
|
|
19
|
-
};
|
|
20
|
-
export type ProductRegistrationAssetType = typeof ProductRegistrationAssetType[keyof typeof ProductRegistrationAssetType];
|
|
21
|
-
export declare function instanceOfProductRegistrationAssetType(value: any): boolean;
|
|
22
|
-
export declare function ProductRegistrationAssetTypeFromJSON(json: any): ProductRegistrationAssetType;
|
|
23
|
-
export declare function ProductRegistrationAssetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
|
|
24
|
-
export declare function ProductRegistrationAssetTypeToJSON(value?: ProductRegistrationAssetType | null): any;
|
|
25
|
-
export declare function ProductRegistrationAssetTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.ProductRegistrationAssetType = void 0;
|
|
17
|
-
exports.instanceOfProductRegistrationAssetType = instanceOfProductRegistrationAssetType;
|
|
18
|
-
exports.ProductRegistrationAssetTypeFromJSON = ProductRegistrationAssetTypeFromJSON;
|
|
19
|
-
exports.ProductRegistrationAssetTypeFromJSONTyped = ProductRegistrationAssetTypeFromJSONTyped;
|
|
20
|
-
exports.ProductRegistrationAssetTypeToJSON = ProductRegistrationAssetTypeToJSON;
|
|
21
|
-
exports.ProductRegistrationAssetTypeToJSONTyped = ProductRegistrationAssetTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductRegistrationAssetType = {
|
|
27
|
-
TaxInvoice: 'tax_invoice',
|
|
28
|
-
CertificateOfCompliance: 'certificate_of_compliance'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfProductRegistrationAssetType(value) {
|
|
31
|
-
for (var key in exports.ProductRegistrationAssetType) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductRegistrationAssetType, key)) {
|
|
33
|
-
if (exports.ProductRegistrationAssetType[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function ProductRegistrationAssetTypeFromJSON(json) {
|
|
41
|
-
return ProductRegistrationAssetTypeFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function ProductRegistrationAssetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function ProductRegistrationAssetTypeToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function ProductRegistrationAssetTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
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 ProductRegistrationCustomerResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRegistrationCustomerResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRegistrationCustomerResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductRegistrationCustomerResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRegistrationCustomerResource
|
|
34
|
-
*/
|
|
35
|
-
email: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductRegistrationCustomerResource
|
|
40
|
-
*/
|
|
41
|
-
phone: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ProductRegistrationCustomerResource
|
|
46
|
-
*/
|
|
47
|
-
omnisendId?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ProductRegistrationCustomerResource
|
|
52
|
-
*/
|
|
53
|
-
omnisendSyncStatus?: string | null;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the ProductRegistrationCustomerResource interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfProductRegistrationCustomerResource(value: object): value is ProductRegistrationCustomerResource;
|
|
59
|
-
export declare function ProductRegistrationCustomerResourceFromJSON(json: any): ProductRegistrationCustomerResource;
|
|
60
|
-
export declare function ProductRegistrationCustomerResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerResource;
|
|
61
|
-
export declare function ProductRegistrationCustomerResourceToJSON(json: any): ProductRegistrationCustomerResource;
|
|
62
|
-
export declare function ProductRegistrationCustomerResourceToJSONTyped(value?: ProductRegistrationCustomerResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +0,0 @@
|
|
|
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.instanceOfProductRegistrationCustomerResource = instanceOfProductRegistrationCustomerResource;
|
|
17
|
-
exports.ProductRegistrationCustomerResourceFromJSON = ProductRegistrationCustomerResourceFromJSON;
|
|
18
|
-
exports.ProductRegistrationCustomerResourceFromJSONTyped = ProductRegistrationCustomerResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationCustomerResourceToJSON = ProductRegistrationCustomerResourceToJSON;
|
|
20
|
-
exports.ProductRegistrationCustomerResourceToJSONTyped = ProductRegistrationCustomerResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRegistrationCustomerResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRegistrationCustomerResource(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('phone' in value) || value['phone'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function ProductRegistrationCustomerResourceFromJSON(json) {
|
|
34
|
-
return ProductRegistrationCustomerResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ProductRegistrationCustomerResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
42
|
-
'name': json['name'],
|
|
43
|
-
'email': json['email'],
|
|
44
|
-
'phone': json['phone'],
|
|
45
|
-
'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
|
|
46
|
-
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function ProductRegistrationCustomerResourceToJSON(json) {
|
|
50
|
-
return ProductRegistrationCustomerResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function ProductRegistrationCustomerResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
'name': value['name'],
|
|
60
|
-
'email': value['email'],
|
|
61
|
-
'phone': value['phone'],
|
|
62
|
-
'omnisendId': value['omnisendId'],
|
|
63
|
-
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRegistrationCustomerResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRegistrationCustomerResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRegistrationCustomerResource>}
|
|
22
|
-
* @memberof ProductRegistrationCustomerResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRegistrationCustomerResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRegistrationCustomerResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRegistrationCustomerResourceArrayResponse(value: object): value is ProductRegistrationCustomerResourceArrayResponse;
|
|
30
|
-
export declare function ProductRegistrationCustomerResourceArrayResponseFromJSON(json: any): ProductRegistrationCustomerResourceArrayResponse;
|
|
31
|
-
export declare function ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerResourceArrayResponse;
|
|
32
|
-
export declare function ProductRegistrationCustomerResourceArrayResponseToJSON(json: any): ProductRegistrationCustomerResourceArrayResponse;
|
|
33
|
-
export declare function ProductRegistrationCustomerResourceArrayResponseToJSONTyped(value?: ProductRegistrationCustomerResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfProductRegistrationCustomerResourceArrayResponse = instanceOfProductRegistrationCustomerResourceArrayResponse;
|
|
17
|
-
exports.ProductRegistrationCustomerResourceArrayResponseFromJSON = ProductRegistrationCustomerResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRegistrationCustomerResourceArrayResponseFromJSONTyped = ProductRegistrationCustomerResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationCustomerResourceArrayResponseToJSON = ProductRegistrationCustomerResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRegistrationCustomerResourceArrayResponseToJSONTyped = ProductRegistrationCustomerResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRegistrationCustomerResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRegistrationCustomerResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRegistrationCustomerResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRegistrationCustomerResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRegistrationCustomerResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRegistrationCustomerResourceArrayResponseToJSONTyped(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(ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRegistrationListResource
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRegistrationListResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ProductRegistrationListResource
|
|
23
|
-
*/
|
|
24
|
-
id?: number | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Date}
|
|
28
|
-
* @memberof ProductRegistrationListResource
|
|
29
|
-
*/
|
|
30
|
-
purchasedDate: Date;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ProductRegistrationCustomerResource}
|
|
34
|
-
* @memberof ProductRegistrationListResource
|
|
35
|
-
*/
|
|
36
|
-
customer: ProductRegistrationCustomerResource | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ProductRegistrationListResource
|
|
41
|
-
*/
|
|
42
|
-
productChildrenCount: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof ProductRegistrationListResource
|
|
47
|
-
*/
|
|
48
|
-
createdAt?: Date | null;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the ProductRegistrationListResource interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfProductRegistrationListResource(value: object): value is ProductRegistrationListResource;
|
|
54
|
-
export declare function ProductRegistrationListResourceFromJSON(json: any): ProductRegistrationListResource;
|
|
55
|
-
export declare function ProductRegistrationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResource;
|
|
56
|
-
export declare function ProductRegistrationListResourceToJSON(json: any): ProductRegistrationListResource;
|
|
57
|
-
export declare function ProductRegistrationListResourceToJSONTyped(value?: ProductRegistrationListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRegistrationListResource = instanceOfProductRegistrationListResource;
|
|
17
|
-
exports.ProductRegistrationListResourceFromJSON = ProductRegistrationListResourceFromJSON;
|
|
18
|
-
exports.ProductRegistrationListResourceFromJSONTyped = ProductRegistrationListResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationListResourceToJSON = ProductRegistrationListResourceToJSON;
|
|
20
|
-
exports.ProductRegistrationListResourceToJSONTyped = ProductRegistrationListResourceToJSONTyped;
|
|
21
|
-
var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRegistrationListResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRegistrationListResource(value) {
|
|
26
|
-
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('customer' in value) || value['customer'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('productChildrenCount' in value) || value['productChildrenCount'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function ProductRegistrationListResourceFromJSON(json) {
|
|
35
|
-
return ProductRegistrationListResourceFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function ProductRegistrationListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
-
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
44
|
-
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)(json['customer']),
|
|
45
|
-
'productChildrenCount': json['productChildrenCount'],
|
|
46
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function ProductRegistrationListResourceToJSON(json) {
|
|
50
|
-
return ProductRegistrationListResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function ProductRegistrationListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
60
|
-
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)(value['customer']),
|
|
61
|
-
'productChildrenCount': value['productChildrenCount'],
|
|
62
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRegistrationListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRegistrationListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRegistrationListResource>}
|
|
22
|
-
* @memberof ProductRegistrationListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRegistrationListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRegistrationListResourceArrayResponse(value: object): value is ProductRegistrationListResourceArrayResponse;
|
|
30
|
-
export declare function ProductRegistrationListResourceArrayResponseFromJSON(json: any): ProductRegistrationListResourceArrayResponse;
|
|
31
|
-
export declare function ProductRegistrationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResourceArrayResponse;
|
|
32
|
-
export declare function ProductRegistrationListResourceArrayResponseToJSON(json: any): ProductRegistrationListResourceArrayResponse;
|
|
33
|
-
export declare function ProductRegistrationListResourceArrayResponseToJSONTyped(value?: ProductRegistrationListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRegistrationListResourceArrayResponse = instanceOfProductRegistrationListResourceArrayResponse;
|
|
17
|
-
exports.ProductRegistrationListResourceArrayResponseFromJSON = ProductRegistrationListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRegistrationListResourceArrayResponseFromJSONTyped = ProductRegistrationListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationListResourceArrayResponseToJSON = ProductRegistrationListResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRegistrationListResourceArrayResponseToJSONTyped = ProductRegistrationListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRegistrationListResource_1 = require("./ProductRegistrationListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRegistrationListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRegistrationListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRegistrationListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRegistrationListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRegistrationListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRegistrationListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRegistrationListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|