@digital8/lighting-illusions-ts-sdk 0.0.1583 → 0.0.1584
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 +18 -40
- package/README.md +11 -26
- package/dist/apis/RedirectApi.d.ts +33 -0
- package/dist/apis/RedirectApi.js +138 -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 +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- 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/IndexRedirectRequest.d.ts +124 -0
- package/dist/models/IndexRedirectRequest.js +95 -0
- package/dist/models/ModelAttributeFrontendResource.d.ts +38 -0
- package/dist/models/ModelAttributeFrontendResource.js +55 -0
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -2
- package/dist/models/ProductRangeFrontendResource.d.ts +7 -0
- package/dist/models/ProductRangeFrontendResource.js +5 -0
- package/dist/models/ProductSearchResultResource.d.ts +0 -6
- package/dist/models/ProductSearchResultResource.js +0 -4
- package/dist/models/RedirectFrontendResource.d.ts +62 -0
- package/dist/models/RedirectFrontendResource.js +71 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.js +50 -0
- package/dist/models/RedirectListResource.d.ts +69 -0
- package/dist/models/RedirectListResource.js +76 -0
- package/dist/models/RedirectListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectListResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/index.d.ts +8 -19
- package/dist/models/index.js +8 -19
- package/docs/GlobalSearchProductResource.md +0 -2
- package/docs/{ListAssetsProductRegistrationRequest.md → IndexRedirectRequest.md} +12 -8
- package/docs/{ProductRegistrationAssetType.md → ModelAttributeFrontendResource.md} +8 -4
- package/docs/{ProductRegistrationLiteResourceArrayResponse.md → ModelAttributeFrontendResourceArrayResponse.md} +5 -5
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedRedirectListResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +0 -2
- package/docs/ProductRangeFrontendResource.md +2 -0
- package/docs/ProductSearchResultResource.md +0 -2
- package/docs/RedirectApi.md +74 -0
- package/docs/{ProductRegistrationAssetResource.md → RedirectFrontendResource.md} +14 -8
- package/docs/{ProductRegistrationResourceArrayResponse.md → RedirectFrontendResourceArrayResponse.md} +5 -5
- package/docs/{ProductRegistrationCustomerResource.md → RedirectListResource.md} +16 -14
- package/docs/{ProductRegistrationLiteResource.md → RedirectListResourceArrayResponse.md} +6 -8
- package/package.json +1 -1
- package/src/apis/RedirectApi.ts +77 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +5 -5
- package/src/models/GlobalSearchProductResource.ts +0 -9
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexRedirectRequest.ts +184 -0
- package/src/models/ModelAttributeFrontendResource.ts +75 -0
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -8
- package/src/models/ProductRangeFrontendResource.ts +16 -0
- package/src/models/ProductSearchResultResource.ts +0 -9
- package/src/models/RedirectFrontendResource.ts +111 -0
- package/src/models/RedirectFrontendResourceArrayResponse.ts +73 -0
- package/src/models/RedirectListResource.ts +128 -0
- package/src/models/RedirectListResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/index.ts +8 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -95
- package/dist/apis/ProductRegistrationApi.js +0 -377
- 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/ListAssetsProductRegistrationRequest.js +0 -83
- 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/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RedirectFrontendResource } from './RedirectFrontendResource';
|
|
17
|
+
import {
|
|
18
|
+
RedirectFrontendResourceFromJSON,
|
|
19
|
+
RedirectFrontendResourceFromJSONTyped,
|
|
20
|
+
RedirectFrontendResourceToJSON,
|
|
21
|
+
RedirectFrontendResourceToJSONTyped,
|
|
22
|
+
} from './RedirectFrontendResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface RedirectFrontendResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface RedirectFrontendResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<RedirectFrontendResource>}
|
|
33
|
+
* @memberof RedirectFrontendResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<RedirectFrontendResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RedirectFrontendResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfRedirectFrontendResourceArrayResponse(value: object): value is RedirectFrontendResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RedirectFrontendResourceArrayResponseFromJSON(json: any): RedirectFrontendResourceArrayResponse {
|
|
46
|
+
return RedirectFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RedirectFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectFrontendResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(RedirectFrontendResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RedirectFrontendResourceArrayResponseToJSON(json: any): RedirectFrontendResourceArrayResponse {
|
|
60
|
+
return RedirectFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function RedirectFrontendResourceArrayResponseToJSONTyped(value?: RedirectFrontendResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(RedirectFrontendResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SiteLiteResource } from './SiteLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
SiteLiteResourceFromJSON,
|
|
19
|
+
SiteLiteResourceFromJSONTyped,
|
|
20
|
+
SiteLiteResourceToJSON,
|
|
21
|
+
SiteLiteResourceToJSONTyped,
|
|
22
|
+
} from './SiteLiteResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface RedirectListResource
|
|
28
|
+
*/
|
|
29
|
+
export interface RedirectListResource {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RedirectListResource
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {SiteLiteResource}
|
|
39
|
+
* @memberof RedirectListResource
|
|
40
|
+
*/
|
|
41
|
+
site: SiteLiteResource | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RedirectListResource
|
|
46
|
+
*/
|
|
47
|
+
redirectableType: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof RedirectListResource
|
|
52
|
+
*/
|
|
53
|
+
redirectableId: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RedirectListResource
|
|
58
|
+
*/
|
|
59
|
+
fromSlug: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RedirectListResource
|
|
64
|
+
*/
|
|
65
|
+
toSlug: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof RedirectListResource
|
|
70
|
+
*/
|
|
71
|
+
status: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the RedirectListResource interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfRedirectListResource(value: object): value is RedirectListResource {
|
|
78
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
79
|
+
if (!('site' in value) || value['site'] === undefined) return false;
|
|
80
|
+
if (!('redirectableType' in value) || value['redirectableType'] === undefined) return false;
|
|
81
|
+
if (!('redirectableId' in value) || value['redirectableId'] === undefined) return false;
|
|
82
|
+
if (!('fromSlug' in value) || value['fromSlug'] === undefined) return false;
|
|
83
|
+
if (!('toSlug' in value) || value['toSlug'] === undefined) return false;
|
|
84
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function RedirectListResourceFromJSON(json: any): RedirectListResource {
|
|
89
|
+
return RedirectListResourceFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function RedirectListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectListResource {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'id': json['id'],
|
|
99
|
+
'site': SiteLiteResourceFromJSON(json['site']),
|
|
100
|
+
'redirectableType': json['redirectableType'],
|
|
101
|
+
'redirectableId': json['redirectableId'],
|
|
102
|
+
'fromSlug': json['fromSlug'],
|
|
103
|
+
'toSlug': json['toSlug'],
|
|
104
|
+
'status': json['status'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function RedirectListResourceToJSON(json: any): RedirectListResource {
|
|
109
|
+
return RedirectListResourceToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function RedirectListResourceToJSONTyped(value?: RedirectListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': value['id'],
|
|
120
|
+
'site': SiteLiteResourceToJSON(value['site']),
|
|
121
|
+
'redirectableType': value['redirectableType'],
|
|
122
|
+
'redirectableId': value['redirectableId'],
|
|
123
|
+
'fromSlug': value['fromSlug'],
|
|
124
|
+
'toSlug': value['toSlug'],
|
|
125
|
+
'status': value['status'],
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RedirectListResource } from './RedirectListResource';
|
|
17
|
+
import {
|
|
18
|
+
RedirectListResourceFromJSON,
|
|
19
|
+
RedirectListResourceFromJSONTyped,
|
|
20
|
+
RedirectListResourceToJSON,
|
|
21
|
+
RedirectListResourceToJSONTyped,
|
|
22
|
+
} from './RedirectListResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface RedirectListResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface RedirectListResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<RedirectListResource>}
|
|
33
|
+
* @memberof RedirectListResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<RedirectListResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RedirectListResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfRedirectListResourceArrayResponse(value: object): value is RedirectListResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RedirectListResourceArrayResponseFromJSON(json: any): RedirectListResourceArrayResponse {
|
|
46
|
+
return RedirectListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RedirectListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectListResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(RedirectListResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RedirectListResourceArrayResponseToJSON(json: any): RedirectListResourceArrayResponse {
|
|
60
|
+
return RedirectListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function RedirectListResourceArrayResponseToJSONTyped(value?: RedirectListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(RedirectListResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -92,6 +92,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
92
92
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
93
93
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
94
94
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
95
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
95
96
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
96
97
|
return true;
|
|
97
98
|
}
|
|
@@ -112,7 +113,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
112
113
|
'phone': json['phone'],
|
|
113
114
|
'longitude': json['longitude'],
|
|
114
115
|
'latitude': json['latitude'],
|
|
115
|
-
'tagLine': json['tag_line']
|
|
116
|
+
'tagLine': json['tag_line'],
|
|
116
117
|
'email': json['email'],
|
|
117
118
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
118
119
|
};
|
package/src/models/index.ts
CHANGED
|
@@ -92,7 +92,6 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
92
92
|
export * from './GetAllProductCategoryRequest';
|
|
93
93
|
export * from './GetAllProductChildRequest';
|
|
94
94
|
export * from './GetAllProductRangeRequest';
|
|
95
|
-
export * from './GetAllProductRegistrationRequest';
|
|
96
95
|
export * from './GetAllProductRequest';
|
|
97
96
|
export * from './GetAllProductTypeRequest';
|
|
98
97
|
export * from './GetAllStoreRequest';
|
|
@@ -120,9 +119,9 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
120
119
|
export * from './IndexProductCategoryRequest';
|
|
121
120
|
export * from './IndexProductChildRequest';
|
|
122
121
|
export * from './IndexProductRangeRequest';
|
|
123
|
-
export * from './IndexProductRegistrationRequest';
|
|
124
122
|
export * from './IndexProductRequest';
|
|
125
123
|
export * from './IndexProductTypeRequest';
|
|
124
|
+
export * from './IndexRedirectRequest';
|
|
126
125
|
export * from './IndexSiteNotificationRequest';
|
|
127
126
|
export * from './IndexSiteRequest';
|
|
128
127
|
export * from './IndexStoreRequest';
|
|
@@ -134,7 +133,8 @@ export * from './LabelLiteResource';
|
|
|
134
133
|
export * from './LabelLiteResourceArrayResponse';
|
|
135
134
|
export * from './LabelResource';
|
|
136
135
|
export * from './LabelResourceArrayResponse';
|
|
137
|
-
export * from './
|
|
136
|
+
export * from './ModelAttributeFrontendResource';
|
|
137
|
+
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
138
138
|
export * from './ModelAttributeListResource';
|
|
139
139
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
140
140
|
export * from './ModelAttributeResource';
|
|
@@ -181,14 +181,12 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
181
181
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
182
182
|
export * from './PaginatedProductRangeResourceResponse';
|
|
183
183
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
184
|
-
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
185
|
-
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
186
|
-
export * from './PaginatedProductRegistrationResourceResponse';
|
|
187
184
|
export * from './PaginatedProductResourceResponse';
|
|
188
185
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
189
186
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
190
187
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
191
188
|
export * from './PaginatedProductTypeResourceResponse';
|
|
189
|
+
export * from './PaginatedRedirectListResourceResponse';
|
|
192
190
|
export * from './PaginatedSiteListResourceResponse';
|
|
193
191
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
194
192
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -266,19 +264,6 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
266
264
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
267
265
|
export * from './ProductRangeSortBy';
|
|
268
266
|
export * from './ProductRating';
|
|
269
|
-
export * from './ProductRegistrationAssetResource';
|
|
270
|
-
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
271
|
-
export * from './ProductRegistrationAssetType';
|
|
272
|
-
export * from './ProductRegistrationCustomerResource';
|
|
273
|
-
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
274
|
-
export * from './ProductRegistrationListResource';
|
|
275
|
-
export * from './ProductRegistrationListResourceArrayResponse';
|
|
276
|
-
export * from './ProductRegistrationLiteResource';
|
|
277
|
-
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
278
|
-
export * from './ProductRegistrationProductChildResource';
|
|
279
|
-
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
280
|
-
export * from './ProductRegistrationResource';
|
|
281
|
-
export * from './ProductRegistrationResourceArrayResponse';
|
|
282
267
|
export * from './ProductResource';
|
|
283
268
|
export * from './ProductResourceArrayResponse';
|
|
284
269
|
export * from './ProductSearchResponseResource';
|
|
@@ -294,6 +279,10 @@ export * from './ProductTypeLiteResource';
|
|
|
294
279
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
295
280
|
export * from './ProductTypeResource';
|
|
296
281
|
export * from './ProductTypeResourceArrayResponse';
|
|
282
|
+
export * from './RedirectFrontendResource';
|
|
283
|
+
export * from './RedirectFrontendResourceArrayResponse';
|
|
284
|
+
export * from './RedirectListResource';
|
|
285
|
+
export * from './RedirectListResourceArrayResponse';
|
|
297
286
|
export * from './SEOResource';
|
|
298
287
|
export * from './SEOResourceArrayResponse';
|
|
299
288
|
export * from './ShowAssetsProductChildRequest';
|
|
@@ -1,95 +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 * as runtime from '../runtime';
|
|
13
|
-
import type { GetAllProductRegistrationRequest, IndexProductChildRequest, IndexProductRegistrationRequest, ListAssetsProductRegistrationRequest, PaginatedProductChildListResourceResponse, PaginatedProductRegistrationAssetResourceResponse, PaginatedProductRegistrationListResourceResponse, ProductRegistrationLiteResourceArrayResponse, ProductRegistrationResource } from '../models/index';
|
|
14
|
-
export interface GetAllProductRegistrationOperationRequest {
|
|
15
|
-
getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface IndexProductRegistrationOperationRequest {
|
|
18
|
-
indexProductRegistrationRequest?: IndexProductRegistrationRequest;
|
|
19
|
-
}
|
|
20
|
-
export interface ListAssetsProductRegistrationOperationRequest {
|
|
21
|
-
productRegistration: number;
|
|
22
|
-
listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
|
|
23
|
-
}
|
|
24
|
-
export interface ListProductsProductRegistrationRequest {
|
|
25
|
-
productRegistration: number;
|
|
26
|
-
indexProductChildRequest?: IndexProductChildRequest;
|
|
27
|
-
}
|
|
28
|
-
export interface ShowProductRegistrationRequest {
|
|
29
|
-
productRegistration: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare class ProductRegistrationApi extends runtime.BaseAPI {
|
|
35
|
-
/**
|
|
36
|
-
* Creates request options for getAllProductRegistration without sending the request
|
|
37
|
-
*/
|
|
38
|
-
getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
39
|
-
/**
|
|
40
|
-
* Auto-generated: getAllProductRegistration
|
|
41
|
-
*/
|
|
42
|
-
getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>>;
|
|
43
|
-
/**
|
|
44
|
-
* Auto-generated: getAllProductRegistration
|
|
45
|
-
*/
|
|
46
|
-
getAllProductRegistration(requestParameters?: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Creates request options for indexProductRegistration without sending the request
|
|
49
|
-
*/
|
|
50
|
-
indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
51
|
-
/**
|
|
52
|
-
* Auto-generated: indexProductRegistration
|
|
53
|
-
*/
|
|
54
|
-
indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>>;
|
|
55
|
-
/**
|
|
56
|
-
* Auto-generated: indexProductRegistration
|
|
57
|
-
*/
|
|
58
|
-
indexProductRegistration(requestParameters?: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* Creates request options for listAssetsProductRegistration without sending the request
|
|
61
|
-
*/
|
|
62
|
-
listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
63
|
-
/**
|
|
64
|
-
* Auto-generated: listAssetsProductRegistration
|
|
65
|
-
*/
|
|
66
|
-
listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>>;
|
|
67
|
-
/**
|
|
68
|
-
* Auto-generated: listAssetsProductRegistration
|
|
69
|
-
*/
|
|
70
|
-
listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* Creates request options for listProductsProductRegistration without sending the request
|
|
73
|
-
*/
|
|
74
|
-
listProductsProductRegistrationRequestOpts(requestParameters: ListProductsProductRegistrationRequest): Promise<runtime.RequestOpts>;
|
|
75
|
-
/**
|
|
76
|
-
* Auto-generated: listProductsProductRegistration
|
|
77
|
-
*/
|
|
78
|
-
listProductsProductRegistrationRaw(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
|
|
79
|
-
/**
|
|
80
|
-
* Auto-generated: listProductsProductRegistration
|
|
81
|
-
*/
|
|
82
|
-
listProductsProductRegistration(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
|
|
83
|
-
/**
|
|
84
|
-
* Creates request options for showProductRegistration without sending the request
|
|
85
|
-
*/
|
|
86
|
-
showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts>;
|
|
87
|
-
/**
|
|
88
|
-
* Auto-generated: showProductRegistration
|
|
89
|
-
*/
|
|
90
|
-
showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>>;
|
|
91
|
-
/**
|
|
92
|
-
* Auto-generated: showProductRegistration
|
|
93
|
-
*/
|
|
94
|
-
showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource>;
|
|
95
|
-
}
|