@digital8/lighting-illusions-ts-sdk 0.0.1571 → 0.0.1572
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +40 -18
- package/README.md +25 -11
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/ProductRegistrationApi.js +316 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +2 -6
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -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/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/docs/{IndexRedirectRequest.md → GetAllProductRegistrationRequest.md} +6 -12
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +275 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationLiteResource.md} +8 -6
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +4 -6
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -8
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -112
- package/dist/models/IndexRedirectRequest.js +0 -91
- package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/RedirectApi.md +0 -74
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -168
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,50 @@
|
|
|
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 ProductRegistrationProductChildResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductRegistrationProductChildResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductRegistrationProductChildResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductRegistrationProductChildResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ProductRegistrationProductChildResource
|
|
34
|
+
*/
|
|
35
|
+
sku: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductRegistrationProductChildResource
|
|
40
|
+
*/
|
|
41
|
+
quantity: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ProductRegistrationProductChildResource interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfProductRegistrationProductChildResource(value: object): value is ProductRegistrationProductChildResource;
|
|
47
|
+
export declare function ProductRegistrationProductChildResourceFromJSON(json: any): ProductRegistrationProductChildResource;
|
|
48
|
+
export declare function ProductRegistrationProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationProductChildResource;
|
|
49
|
+
export declare function ProductRegistrationProductChildResourceToJSON(json: any): ProductRegistrationProductChildResource;
|
|
50
|
+
export declare function ProductRegistrationProductChildResourceToJSONTyped(value?: ProductRegistrationProductChildResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfProductRegistrationProductChildResource = instanceOfProductRegistrationProductChildResource;
|
|
17
|
+
exports.ProductRegistrationProductChildResourceFromJSON = ProductRegistrationProductChildResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationProductChildResourceFromJSONTyped = ProductRegistrationProductChildResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationProductChildResourceToJSON = ProductRegistrationProductChildResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationProductChildResourceToJSONTyped = ProductRegistrationProductChildResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProductRegistrationProductChildResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProductRegistrationProductChildResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('sku' in value) || value['sku'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ProductRegistrationProductChildResourceFromJSON(json) {
|
|
36
|
+
return ProductRegistrationProductChildResourceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ProductRegistrationProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'sku': json['sku'],
|
|
46
|
+
'quantity': json['quantity'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ProductRegistrationProductChildResourceToJSON(json) {
|
|
50
|
+
return ProductRegistrationProductChildResourceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ProductRegistrationProductChildResourceToJSONTyped(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
|
+
'sku': value['sku'],
|
|
61
|
+
'quantity': value['quantity'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 { ProductRegistrationProductChildResource } from './ProductRegistrationProductChildResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationProductChildResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationProductChildResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationProductChildResource>}
|
|
22
|
+
* @memberof ProductRegistrationProductChildResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationProductChildResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationProductChildResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationProductChildResourceArrayResponse(value: object): value is ProductRegistrationProductChildResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseFromJSON(json: any): ProductRegistrationProductChildResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationProductChildResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseToJSON(json: any): ProductRegistrationProductChildResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationProductChildResourceArrayResponseToJSONTyped(value?: ProductRegistrationProductChildResourceArrayResponse | 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.instanceOfProductRegistrationProductChildResourceArrayResponse = instanceOfProductRegistrationProductChildResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationProductChildResourceArrayResponseFromJSON = ProductRegistrationProductChildResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationProductChildResourceArrayResponseFromJSONTyped = ProductRegistrationProductChildResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationProductChildResourceArrayResponseToJSON = ProductRegistrationProductChildResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationProductChildResourceArrayResponseToJSONTyped = ProductRegistrationProductChildResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationProductChildResource_1 = require("./ProductRegistrationProductChildResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationProductChildResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationProductChildResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationProductChildResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationProductChildResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationProductChildResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationProductChildResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationProductChildResourceArrayResponseToJSONTyped(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(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
import type { ProductRegistrationProductChildResource } from './ProductRegistrationProductChildResource';
|
|
14
|
+
import type { AddressResource } from './AddressResource';
|
|
15
|
+
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProductRegistrationResource
|
|
20
|
+
*/
|
|
21
|
+
export interface ProductRegistrationResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ProductRegistrationResource
|
|
26
|
+
*/
|
|
27
|
+
id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ProductRegistrationResource
|
|
32
|
+
*/
|
|
33
|
+
purchasedDate: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ProductRegistrationCustomerResource}
|
|
37
|
+
* @memberof ProductRegistrationResource
|
|
38
|
+
*/
|
|
39
|
+
customer: ProductRegistrationCustomerResource | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {AddressResource}
|
|
43
|
+
* @memberof ProductRegistrationResource
|
|
44
|
+
*/
|
|
45
|
+
address: AddressResource | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<ProductRegistrationProductChildResource>}
|
|
49
|
+
* @memberof ProductRegistrationResource
|
|
50
|
+
*/
|
|
51
|
+
productChildren: Array<ProductRegistrationProductChildResource> | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<ProductRegistrationAssetResource>}
|
|
55
|
+
* @memberof ProductRegistrationResource
|
|
56
|
+
*/
|
|
57
|
+
assets: Array<ProductRegistrationAssetResource> | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ProductRegistrationResource
|
|
62
|
+
*/
|
|
63
|
+
omnisendId?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ProductRegistrationResource
|
|
68
|
+
*/
|
|
69
|
+
omnisendSyncStatus?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof ProductRegistrationResource
|
|
74
|
+
*/
|
|
75
|
+
createdAt?: Date | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof ProductRegistrationResource
|
|
80
|
+
*/
|
|
81
|
+
updatedAt?: Date | null;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the ProductRegistrationResource interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfProductRegistrationResource(value: object): value is ProductRegistrationResource;
|
|
87
|
+
export declare function ProductRegistrationResourceFromJSON(json: any): ProductRegistrationResource;
|
|
88
|
+
export declare function ProductRegistrationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResource;
|
|
89
|
+
export declare function ProductRegistrationResourceToJSON(json: any): ProductRegistrationResource;
|
|
90
|
+
export declare function ProductRegistrationResourceToJSONTyped(value?: ProductRegistrationResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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.instanceOfProductRegistrationResource = instanceOfProductRegistrationResource;
|
|
17
|
+
exports.ProductRegistrationResourceFromJSON = ProductRegistrationResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationResourceFromJSONTyped = ProductRegistrationResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationResourceToJSON = ProductRegistrationResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationResourceToJSONTyped = ProductRegistrationResourceToJSONTyped;
|
|
21
|
+
var ProductRegistrationAssetResource_1 = require("./ProductRegistrationAssetResource");
|
|
22
|
+
var ProductRegistrationProductChildResource_1 = require("./ProductRegistrationProductChildResource");
|
|
23
|
+
var AddressResource_1 = require("./AddressResource");
|
|
24
|
+
var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ProductRegistrationResource interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfProductRegistrationResource(value) {
|
|
29
|
+
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('customer' in value) || value['customer'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('productChildren' in value) || value['productChildren'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('assets' in value) || value['assets'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ProductRegistrationResourceFromJSON(json) {
|
|
42
|
+
return ProductRegistrationResourceFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ProductRegistrationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
+
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
51
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)(json['customer']),
|
|
52
|
+
'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
|
|
53
|
+
'productChildren': (json['productChildren'] == null ? null : json['productChildren'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceFromJSON)),
|
|
54
|
+
'assets': (json['assets'] == null ? null : json['assets'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceFromJSON)),
|
|
55
|
+
'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
|
|
56
|
+
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
57
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
58
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function ProductRegistrationResourceToJSON(json) {
|
|
62
|
+
return ProductRegistrationResourceToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function ProductRegistrationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
72
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)(value['customer']),
|
|
73
|
+
'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
|
|
74
|
+
'productChildren': (value['productChildren'] == null ? null : value['productChildren'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceToJSON)),
|
|
75
|
+
'assets': (value['assets'] == null ? null : value['assets'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceToJSON)),
|
|
76
|
+
'omnisendId': value['omnisendId'],
|
|
77
|
+
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
78
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
79
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -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 { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationResource>}
|
|
22
|
+
* @memberof ProductRegistrationResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | 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.instanceOfProductRegistrationResourceArrayResponse = instanceOfProductRegistrationResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationResourceArrayResponseFromJSON = ProductRegistrationResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationResourceArrayResponseFromJSONTyped = ProductRegistrationResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationResourceArrayResponseToJSON = ProductRegistrationResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationResourceArrayResponseToJSONTyped = ProductRegistrationResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationResource_1 = require("./ProductRegistrationResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationResource_1.ProductRegistrationResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationResourceArrayResponseToJSONTyped(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(ProductRegistrationResource_1.ProductRegistrationResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -36,6 +36,8 @@ function instanceOfStoreResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -60,7 +62,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'phone': json['phone'],
|
|
61
63
|
'longitude': json['longitude'],
|
|
62
64
|
'latitude': json['latitude'],
|
|
63
|
-
'tagLine': json['tag_line']
|
|
65
|
+
'tagLine': json['tag_line'],
|
|
64
66
|
'email': json['email'],
|
|
65
67
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
66
68
|
'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {object}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date: object;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateFrontendResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,7 +47,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
|
|
|
45
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
48
|
'name': json['name'],
|
|
47
49
|
'hours': json['hours'],
|
|
48
|
-
'date': json['date']
|
|
50
|
+
'date': json['date'],
|
|
49
51
|
'closed': json['closed'],
|
|
50
52
|
'displayStartDate': json['displayStartDate'],
|
|
51
53
|
'displayEndDate': json['displayEndDate'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
90
90
|
export * from './GetAllProductCategoryRequest';
|
|
91
91
|
export * from './GetAllProductChildRequest';
|
|
92
92
|
export * from './GetAllProductRangeRequest';
|
|
93
|
+
export * from './GetAllProductRegistrationRequest';
|
|
93
94
|
export * from './GetAllProductRequest';
|
|
94
95
|
export * from './GetAllProductTypeRequest';
|
|
95
96
|
export * from './GetAllStoreRequest';
|
|
@@ -117,9 +118,9 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
117
118
|
export * from './IndexProductCategoryRequest';
|
|
118
119
|
export * from './IndexProductChildRequest';
|
|
119
120
|
export * from './IndexProductRangeRequest';
|
|
121
|
+
export * from './IndexProductRegistrationRequest';
|
|
120
122
|
export * from './IndexProductRequest';
|
|
121
123
|
export * from './IndexProductTypeRequest';
|
|
122
|
-
export * from './IndexRedirectRequest';
|
|
123
124
|
export * from './IndexSiteNotificationRequest';
|
|
124
125
|
export * from './IndexSiteRequest';
|
|
125
126
|
export * from './IndexStoreRequest';
|
|
@@ -131,8 +132,7 @@ export * from './LabelLiteResource';
|
|
|
131
132
|
export * from './LabelLiteResourceArrayResponse';
|
|
132
133
|
export * from './LabelResource';
|
|
133
134
|
export * from './LabelResourceArrayResponse';
|
|
134
|
-
export * from './
|
|
135
|
-
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
135
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
136
136
|
export * from './ModelAttributeListResource';
|
|
137
137
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
138
138
|
export * from './ModelAttributeResource';
|
|
@@ -179,12 +179,14 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
179
179
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
180
180
|
export * from './PaginatedProductRangeResourceResponse';
|
|
181
181
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
182
|
+
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
183
|
+
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
184
|
+
export * from './PaginatedProductRegistrationResourceResponse';
|
|
182
185
|
export * from './PaginatedProductResourceResponse';
|
|
183
186
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
184
187
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
185
188
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
186
189
|
export * from './PaginatedProductTypeResourceResponse';
|
|
187
|
-
export * from './PaginatedRedirectListResourceResponse';
|
|
188
190
|
export * from './PaginatedSiteListResourceResponse';
|
|
189
191
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
190
192
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -262,6 +264,19 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
262
264
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
263
265
|
export * from './ProductRangeSortBy';
|
|
264
266
|
export * from './ProductRating';
|
|
267
|
+
export * from './ProductRegistrationAssetResource';
|
|
268
|
+
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
269
|
+
export * from './ProductRegistrationAssetType';
|
|
270
|
+
export * from './ProductRegistrationCustomerResource';
|
|
271
|
+
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
272
|
+
export * from './ProductRegistrationListResource';
|
|
273
|
+
export * from './ProductRegistrationListResourceArrayResponse';
|
|
274
|
+
export * from './ProductRegistrationLiteResource';
|
|
275
|
+
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
276
|
+
export * from './ProductRegistrationProductChildResource';
|
|
277
|
+
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
278
|
+
export * from './ProductRegistrationResource';
|
|
279
|
+
export * from './ProductRegistrationResourceArrayResponse';
|
|
265
280
|
export * from './ProductResource';
|
|
266
281
|
export * from './ProductResourceArrayResponse';
|
|
267
282
|
export * from './ProductSearchResponseResource';
|
|
@@ -277,10 +292,6 @@ export * from './ProductTypeLiteResource';
|
|
|
277
292
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
278
293
|
export * from './ProductTypeResource';
|
|
279
294
|
export * from './ProductTypeResourceArrayResponse';
|
|
280
|
-
export * from './RedirectFrontendResource';
|
|
281
|
-
export * from './RedirectFrontendResourceArrayResponse';
|
|
282
|
-
export * from './RedirectListResource';
|
|
283
|
-
export * from './RedirectListResourceArrayResponse';
|
|
284
295
|
export * from './SEOResource';
|
|
285
296
|
export * from './SEOResourceArrayResponse';
|
|
286
297
|
export * from './ShowAssetsProductChildRequest';
|