@digital8/lighting-illusions-ts-sdk 0.0.1459 → 0.0.1461
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 +78 -4
- package/README.md +58 -4
- package/dist/apis/LabelApi.d.ts +109 -0
- package/dist/apis/LabelApi.js +433 -0
- package/dist/apis/StoreApi.d.ts +190 -0
- package/dist/apis/StoreApi.js +744 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AddressFrontendResource.d.ts +74 -0
- package/dist/models/AddressFrontendResource.js +77 -0
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
- package/dist/models/AddressResource.js +6 -6
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/GetAllStoreRequest.d.ts +93 -0
- package/dist/models/GetAllStoreRequest.js +81 -0
- package/dist/models/IndexLabelRequest.d.ts +109 -0
- package/dist/models/IndexLabelRequest.js +92 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexStoreRequest.d.ts +105 -0
- package/dist/models/IndexStoreRequest.js +85 -0
- package/dist/models/LabelListResource.d.ts +75 -0
- package/dist/models/LabelListResource.js +74 -0
- package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelListResourceArrayResponse.js +50 -0
- package/dist/models/LabelLiteResource.d.ts +56 -0
- package/dist/models/LabelLiteResource.js +65 -0
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
- package/dist/models/LabelResource.d.ts +23 -4
- package/dist/models/LabelResource.js +19 -8
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationListResource.d.ts +7 -7
- package/dist/models/ProductRegistrationListResource.js +7 -7
- package/dist/models/ProductRegistrationLiteResource.d.ts +2 -2
- package/dist/models/ProductRegistrationLiteResource.js +2 -2
- 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 +6 -6
- package/dist/models/ProductRegistrationResource.js +6 -6
- package/dist/models/StoreFrontendResource.d.ts +98 -0
- package/dist/models/StoreFrontendResource.js +89 -0
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/StoreListResource.d.ts +81 -0
- package/dist/models/StoreListResource.js +78 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreLiteResource.d.ts +45 -0
- package/dist/models/StoreLiteResource.js +58 -0
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +102 -0
- package/dist/models/StoreResource.js +95 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +68 -0
- package/dist/models/StoreSpecialDateFrontendResource.js +73 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +68 -0
- package/dist/models/StoreSpecialDateResource.js +73 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +94 -0
- package/dist/models/StoreStoreRequest.js +85 -0
- package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
- package/dist/models/StoreStoreRequestAddress.js +73 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +62 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +61 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +62 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +61 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- package/dist/models/UpdateStoreRequest.d.ts +94 -0
- package/dist/models/UpdateStoreRequest.js +85 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/index.d.ts +37 -2
- package/dist/models/index.js +37 -2
- package/docs/AddressFrontendResource.md +48 -0
- package/docs/AddressFrontendResourceArrayResponse.md +34 -0
- package/docs/AttachStoresSupplierRequest.md +34 -0
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/DetachStoresSupplierRequest.md +34 -0
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/GetAllStoreRequest.md +48 -0
- package/docs/IndexLabelRequest.md +50 -0
- package/docs/IndexStoreRequest.md +52 -0
- package/docs/LabelApi.md +407 -0
- package/docs/LabelListResource.md +48 -0
- package/docs/LabelListResourceArrayResponse.md +34 -0
- package/docs/LabelLiteResource.md +42 -0
- package/docs/LabelLiteResourceArrayResponse.md +34 -0
- package/docs/LabelResource.md +12 -6
- package/docs/PaginatedLabelListResourceResponse.md +36 -0
- package/docs/PaginatedStoreListResourceResponse.md +36 -0
- package/docs/ProductRegistrationListResource.md +3 -3
- package/docs/ProductRegistrationLiteResource.md +1 -1
- package/docs/{ProductRegistrationCustomerLiteResource.md → ProductRegistrationProductChildResource.md} +8 -8
- package/docs/{ProductRegistrationCustomerLiteResourceArrayResponse.md → ProductRegistrationProductChildResourceArrayResponse.md} +5 -5
- package/docs/ProductRegistrationResource.md +3 -3
- package/docs/StoreApi.md +755 -0
- package/docs/StoreFrontendResource.md +56 -0
- package/docs/StoreFrontendResourceArrayResponse.md +34 -0
- package/docs/StoreLabelRequest.md +48 -0
- package/docs/StoreListResource.md +50 -0
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/StoreLiteResource.md +38 -0
- package/docs/StoreLiteResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +56 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateFrontendResource.md +46 -0
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateResource.md +46 -0
- package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
- package/docs/StoreStoreRequest.md +54 -0
- package/docs/StoreStoreRequestAddress.md +46 -0
- package/docs/StoreStoreRequestSpecialDatesInner.md +44 -0
- package/docs/StoreStoreSpecialDateRequest.md +44 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/UpdateLabelRequest.md +48 -0
- package/docs/UpdateStoreRequest.md +54 -0
- package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
- package/package.json +1 -1
- package/src/apis/LabelApi.ts +328 -0
- package/src/apis/StoreApi.ts +625 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AddressFrontendResource.ts +128 -0
- package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
- package/src/models/AddressResource.ts +6 -6
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/GetAllStoreRequest.ts +144 -0
- package/src/models/IndexLabelRequest.ts +163 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexStoreRequest.ts +160 -0
- package/src/models/LabelListResource.ts +134 -0
- package/src/models/LabelListResourceArrayResponse.ts +73 -0
- package/src/models/LabelLiteResource.ts +101 -0
- package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
- package/src/models/LabelResource.ts +46 -12
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationListResource.ts +18 -18
- package/src/models/ProductRegistrationLiteResource.ts +4 -4
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +12 -12
- package/src/models/StoreFrontendResource.ts +162 -0
- package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/StoreListResource.ts +143 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreLiteResource.ts +91 -0
- package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +192 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +119 -0
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +119 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +167 -0
- package/src/models/StoreStoreRequestAddress.ts +119 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +106 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +106 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateStoreRequest.ts +167 -0
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
- package/src/models/index.ts +37 -2
- package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +0 -50
- package/dist/models/ProductRegistrationCustomerLiteResource.js +0 -61
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +0 -50
- package/src/models/ProductRegistrationCustomerLiteResource.ts +0 -92
- package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateLabelRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateLabelRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateLabelRequest
|
|
26
|
+
*/
|
|
27
|
+
siteId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateLabelRequest
|
|
32
|
+
*/
|
|
33
|
+
shortName?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateLabelRequest
|
|
38
|
+
*/
|
|
39
|
+
longName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateLabelRequest
|
|
44
|
+
*/
|
|
45
|
+
cartButtonText?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateLabelRequest
|
|
50
|
+
*/
|
|
51
|
+
colour?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateLabelRequest
|
|
56
|
+
*/
|
|
57
|
+
textColour?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof UpdateLabelRequest
|
|
62
|
+
*/
|
|
63
|
+
startDate?: Date;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof UpdateLabelRequest
|
|
68
|
+
*/
|
|
69
|
+
endDate?: Date;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the UpdateLabelRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfUpdateLabelRequest(value: object): value is UpdateLabelRequest {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function UpdateLabelRequestFromJSON(json: any): UpdateLabelRequest {
|
|
80
|
+
return UpdateLabelRequestFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function UpdateLabelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLabelRequest {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
90
|
+
'shortName': json['short_name'] == null ? undefined : json['short_name'],
|
|
91
|
+
'longName': json['long_name'] == null ? undefined : json['long_name'],
|
|
92
|
+
'cartButtonText': json['cart_button_text'] == null ? undefined : json['cart_button_text'],
|
|
93
|
+
'colour': json['colour'] == null ? undefined : json['colour'],
|
|
94
|
+
'textColour': json['text_colour'] == null ? undefined : json['text_colour'],
|
|
95
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
96
|
+
'endDate': json['end_date'] == null ? undefined : (new Date(json['end_date'])),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function UpdateLabelRequestToJSON(json: any): UpdateLabelRequest {
|
|
101
|
+
return UpdateLabelRequestToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function UpdateLabelRequestToJSONTyped(value?: UpdateLabelRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'site_id': value['siteId'],
|
|
112
|
+
'short_name': value['shortName'],
|
|
113
|
+
'long_name': value['longName'],
|
|
114
|
+
'cart_button_text': value['cartButtonText'],
|
|
115
|
+
'colour': value['colour'],
|
|
116
|
+
'text_colour': value['textColour'],
|
|
117
|
+
'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
118
|
+
'end_date': value['endDate'] == null ? value['endDate'] : value['endDate'].toISOString(),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
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 { UpdateStoreRequestSpecialDatesInner } from './UpdateStoreRequestSpecialDatesInner';
|
|
17
|
+
import {
|
|
18
|
+
UpdateStoreRequestSpecialDatesInnerFromJSON,
|
|
19
|
+
UpdateStoreRequestSpecialDatesInnerFromJSONTyped,
|
|
20
|
+
UpdateStoreRequestSpecialDatesInnerToJSON,
|
|
21
|
+
UpdateStoreRequestSpecialDatesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateStoreRequestSpecialDatesInner';
|
|
23
|
+
import type { StoreStoreRequestAddress } from './StoreStoreRequestAddress';
|
|
24
|
+
import {
|
|
25
|
+
StoreStoreRequestAddressFromJSON,
|
|
26
|
+
StoreStoreRequestAddressFromJSONTyped,
|
|
27
|
+
StoreStoreRequestAddressToJSON,
|
|
28
|
+
StoreStoreRequestAddressToJSONTyped,
|
|
29
|
+
} from './StoreStoreRequestAddress';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UpdateStoreRequest
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateStoreRequest {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof UpdateStoreRequest
|
|
41
|
+
*/
|
|
42
|
+
siteId: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateStoreRequest
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UpdateStoreRequest
|
|
53
|
+
*/
|
|
54
|
+
phone: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof UpdateStoreRequest
|
|
59
|
+
*/
|
|
60
|
+
longitude: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof UpdateStoreRequest
|
|
65
|
+
*/
|
|
66
|
+
latitude: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof UpdateStoreRequest
|
|
71
|
+
*/
|
|
72
|
+
tagLine?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof UpdateStoreRequest
|
|
77
|
+
*/
|
|
78
|
+
email: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<string>}
|
|
82
|
+
* @memberof UpdateStoreRequest
|
|
83
|
+
*/
|
|
84
|
+
openingHours?: Array<string>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Array<number>}
|
|
88
|
+
* @memberof UpdateStoreRequest
|
|
89
|
+
*/
|
|
90
|
+
supplierIds?: Array<number>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {Array<UpdateStoreRequestSpecialDatesInner>}
|
|
94
|
+
* @memberof UpdateStoreRequest
|
|
95
|
+
*/
|
|
96
|
+
specialDates?: Array<UpdateStoreRequestSpecialDatesInner>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {StoreStoreRequestAddress}
|
|
100
|
+
* @memberof UpdateStoreRequest
|
|
101
|
+
*/
|
|
102
|
+
address: StoreStoreRequestAddress;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the UpdateStoreRequest interface.
|
|
107
|
+
*/
|
|
108
|
+
export function instanceOfUpdateStoreRequest(value: object): value is UpdateStoreRequest {
|
|
109
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
110
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
111
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
112
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
113
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
114
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function UpdateStoreRequestFromJSON(json: any): UpdateStoreRequest {
|
|
120
|
+
return UpdateStoreRequestFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequest {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'siteId': json['site_id'],
|
|
130
|
+
'name': json['name'],
|
|
131
|
+
'phone': json['phone'],
|
|
132
|
+
'longitude': json['longitude'],
|
|
133
|
+
'latitude': json['latitude'],
|
|
134
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
135
|
+
'email': json['email'],
|
|
136
|
+
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
137
|
+
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
138
|
+
'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
139
|
+
'address': StoreStoreRequestAddressFromJSON(json['address']),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function UpdateStoreRequestToJSON(json: any): UpdateStoreRequest {
|
|
144
|
+
return UpdateStoreRequestToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'site_id': value['siteId'],
|
|
155
|
+
'name': value['name'],
|
|
156
|
+
'phone': value['phone'],
|
|
157
|
+
'longitude': value['longitude'],
|
|
158
|
+
'latitude': value['latitude'],
|
|
159
|
+
'tag_line': value['tagLine'],
|
|
160
|
+
'email': value['email'],
|
|
161
|
+
'opening_hours': value['openingHours'],
|
|
162
|
+
'supplier_ids': value['supplierIds'],
|
|
163
|
+
'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
|
|
164
|
+
'address': StoreStoreRequestAddressToJSON(value['address']),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateStoreRequestSpecialDatesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateStoreRequestSpecialDatesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
38
|
+
*/
|
|
39
|
+
hours?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
44
|
+
*/
|
|
45
|
+
displayStart?: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
50
|
+
*/
|
|
51
|
+
displayEnd?: Date;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfUpdateStoreRequestSpecialDatesInner(value: object): value is UpdateStoreRequestSpecialDatesInner {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function UpdateStoreRequestSpecialDatesInnerFromJSON(json: any): UpdateStoreRequestSpecialDatesInner {
|
|
62
|
+
return UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequestSpecialDatesInner {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
73
|
+
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
74
|
+
'displayStart': json['display_start'] == null ? undefined : (new Date(json['display_start'])),
|
|
75
|
+
'displayEnd': json['display_end'] == null ? undefined : (new Date(json['display_end'])),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function UpdateStoreRequestSpecialDatesInnerToJSON(json: any): UpdateStoreRequestSpecialDatesInner {
|
|
80
|
+
return UpdateStoreRequestSpecialDatesInnerToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function UpdateStoreRequestSpecialDatesInnerToJSONTyped(value?: UpdateStoreRequestSpecialDatesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'name': value['name'],
|
|
92
|
+
'hours': value['hours'],
|
|
93
|
+
'display_start': value['displayStart'] == null ? value['displayStart'] : value['displayStart'].toISOString(),
|
|
94
|
+
'display_end': value['displayEnd'] == null ? value['displayEnd'] : value['displayEnd'].toISOString(),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AddressFrontendResource';
|
|
4
|
+
export * from './AddressFrontendResourceArrayResponse';
|
|
3
5
|
export * from './AddressResource';
|
|
4
6
|
export * from './AddressResourceArrayResponse';
|
|
5
7
|
export * from './AssetFileForUploadResource';
|
|
@@ -25,6 +27,8 @@ export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
|
25
27
|
export * from './AttachDocumentsProductRangeRequest';
|
|
26
28
|
export * from './AttachProductTypeAttributeRequest';
|
|
27
29
|
export * from './AttachProductsProductCategoryRequest';
|
|
30
|
+
export * from './AttachStoresSupplierRequest';
|
|
31
|
+
export * from './AttachSuppliersStoreRequest';
|
|
28
32
|
export * from './AttributeFieldType';
|
|
29
33
|
export * from './AttributeListResource';
|
|
30
34
|
export * from './AttributeListResourceArrayResponse';
|
|
@@ -62,6 +66,8 @@ export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
|
62
66
|
export * from './DetachDocumentsProductChildRequest';
|
|
63
67
|
export * from './DetachDocumentsProductRangeRequest';
|
|
64
68
|
export * from './DetachProductsProductCategoryRequest';
|
|
69
|
+
export * from './DetachStoresSupplierRequest';
|
|
70
|
+
export * from './DetachSuppliersStoreRequest';
|
|
65
71
|
export * from './DocumentFileForUploadResource';
|
|
66
72
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
67
73
|
export * from './DocumentFrontendResource';
|
|
@@ -89,6 +95,7 @@ export * from './GetAllProductRangeRequest';
|
|
|
89
95
|
export * from './GetAllProductRegistrationRequest';
|
|
90
96
|
export * from './GetAllProductRequest';
|
|
91
97
|
export * from './GetAllProductTypeRequest';
|
|
98
|
+
export * from './GetAllStoreRequest';
|
|
92
99
|
export * from './GetAllSupplierRequest';
|
|
93
100
|
export * from './GetHierarchyProductCategoryRequest';
|
|
94
101
|
export * from './GetUniqueEndpointsExternalApiLogRequest';
|
|
@@ -107,6 +114,7 @@ export * from './IndexAttributeValueRequest';
|
|
|
107
114
|
export * from './IndexDefinitionRequest';
|
|
108
115
|
export * from './IndexDocumentRequest';
|
|
109
116
|
export * from './IndexExternalApiLogRequest';
|
|
117
|
+
export * from './IndexLabelRequest';
|
|
110
118
|
export * from './IndexModelAttributeRequest';
|
|
111
119
|
export * from './IndexOverlayTemplateRequest';
|
|
112
120
|
export * from './IndexProductCategoryRequest';
|
|
@@ -117,8 +125,13 @@ export * from './IndexProductRequest';
|
|
|
117
125
|
export * from './IndexProductTypeRequest';
|
|
118
126
|
export * from './IndexSiteNotificationRequest';
|
|
119
127
|
export * from './IndexSiteRequest';
|
|
128
|
+
export * from './IndexStoreRequest';
|
|
120
129
|
export * from './IndexSupplierRequest';
|
|
121
130
|
export * from './IndexTagRequest';
|
|
131
|
+
export * from './LabelListResource';
|
|
132
|
+
export * from './LabelListResourceArrayResponse';
|
|
133
|
+
export * from './LabelLiteResource';
|
|
134
|
+
export * from './LabelLiteResourceArrayResponse';
|
|
122
135
|
export * from './LabelResource';
|
|
123
136
|
export * from './LabelResourceArrayResponse';
|
|
124
137
|
export * from './ListAssetsProductRegistrationRequest';
|
|
@@ -149,6 +162,7 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
149
162
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
150
163
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
151
164
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
165
|
+
export * from './PaginatedLabelListResourceResponse';
|
|
152
166
|
export * from './PaginatedModelAttributeListResourceResponse';
|
|
153
167
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
154
168
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
@@ -180,6 +194,7 @@ export * from './PaginatedSiteLiteResourceResponse';
|
|
|
180
194
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
181
195
|
export * from './PaginatedSiteNotificationResourceResponse';
|
|
182
196
|
export * from './PaginatedSiteResourceResponse';
|
|
197
|
+
export * from './PaginatedStoreListResourceResponse';
|
|
183
198
|
export * from './PaginatedSupplierFrontendResourceResponse';
|
|
184
199
|
export * from './PaginatedSupplierListResourceResponse';
|
|
185
200
|
export * from './PaginatedSupplierLiteResourceResponse';
|
|
@@ -254,14 +269,14 @@ export * from './ProductRating';
|
|
|
254
269
|
export * from './ProductRegistrationAssetResource';
|
|
255
270
|
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
256
271
|
export * from './ProductRegistrationAssetType';
|
|
257
|
-
export * from './ProductRegistrationCustomerLiteResource';
|
|
258
|
-
export * from './ProductRegistrationCustomerLiteResourceArrayResponse';
|
|
259
272
|
export * from './ProductRegistrationCustomerResource';
|
|
260
273
|
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
261
274
|
export * from './ProductRegistrationListResource';
|
|
262
275
|
export * from './ProductRegistrationListResourceArrayResponse';
|
|
263
276
|
export * from './ProductRegistrationLiteResource';
|
|
264
277
|
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
278
|
+
export * from './ProductRegistrationProductChildResource';
|
|
279
|
+
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
265
280
|
export * from './ProductRegistrationResource';
|
|
266
281
|
export * from './ProductRegistrationResourceArrayResponse';
|
|
267
282
|
export * from './ProductResource';
|
|
@@ -304,6 +319,13 @@ export * from './StoreAttributeValueRequest';
|
|
|
304
319
|
export * from './StoreDefinitionRequest';
|
|
305
320
|
export * from './StoreDocumentFileRequest';
|
|
306
321
|
export * from './StoreDocumentRequest';
|
|
322
|
+
export * from './StoreFrontendResource';
|
|
323
|
+
export * from './StoreFrontendResourceArrayResponse';
|
|
324
|
+
export * from './StoreLabelRequest';
|
|
325
|
+
export * from './StoreListResource';
|
|
326
|
+
export * from './StoreListResourceArrayResponse';
|
|
327
|
+
export * from './StoreLiteResource';
|
|
328
|
+
export * from './StoreLiteResourceArrayResponse';
|
|
307
329
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
308
330
|
export * from './StoreOverlayTemplateRequest';
|
|
309
331
|
export * from './StoreProductCategoryRequest';
|
|
@@ -319,7 +341,17 @@ export * from './StoreProductRangeRequestSitesInner';
|
|
|
319
341
|
export * from './StoreProductRequest';
|
|
320
342
|
export * from './StoreProductRequestCategoriesInner';
|
|
321
343
|
export * from './StoreProductTypeRequest';
|
|
344
|
+
export * from './StoreResource';
|
|
345
|
+
export * from './StoreResourceArrayResponse';
|
|
322
346
|
export * from './StoreSiteNotificationRequest';
|
|
347
|
+
export * from './StoreSpecialDateFrontendResource';
|
|
348
|
+
export * from './StoreSpecialDateFrontendResourceArrayResponse';
|
|
349
|
+
export * from './StoreSpecialDateResource';
|
|
350
|
+
export * from './StoreSpecialDateResourceArrayResponse';
|
|
351
|
+
export * from './StoreStoreRequest';
|
|
352
|
+
export * from './StoreStoreRequestAddress';
|
|
353
|
+
export * from './StoreStoreRequestSpecialDatesInner';
|
|
354
|
+
export * from './StoreStoreSpecialDateRequest';
|
|
323
355
|
export * from './StoreSupplierRequest';
|
|
324
356
|
export * from './StoreTagRequest';
|
|
325
357
|
export * from './SupplierFrontendResource';
|
|
@@ -346,6 +378,7 @@ export * from './UpdateDefinitionRequest';
|
|
|
346
378
|
export * from './UpdateDocumentRequest';
|
|
347
379
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
348
380
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
381
|
+
export * from './UpdateLabelRequest';
|
|
349
382
|
export * from './UpdateModelAttributeRequest';
|
|
350
383
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
351
384
|
export * from './UpdateOverlayTemplateRequest';
|
|
@@ -358,6 +391,8 @@ export * from './UpdateProductRequest';
|
|
|
358
391
|
export * from './UpdateProductTypeRequest';
|
|
359
392
|
export * from './UpdateSiteNotificationRequest';
|
|
360
393
|
export * from './UpdateSiteRequest';
|
|
394
|
+
export * from './UpdateStoreRequest';
|
|
395
|
+
export * from './UpdateStoreRequestSpecialDatesInner';
|
|
361
396
|
export * from './UpdateSupplierRequest';
|
|
362
397
|
export * from './UpdateTagRequest';
|
|
363
398
|
export * from './WishlistCheckResource';
|
|
@@ -1,50 +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 ProductRegistrationCustomerLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRegistrationCustomerLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRegistrationCustomerLiteResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductRegistrationCustomerLiteResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRegistrationCustomerLiteResource
|
|
34
|
-
*/
|
|
35
|
-
email: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductRegistrationCustomerLiteResource
|
|
40
|
-
*/
|
|
41
|
-
phone: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ProductRegistrationCustomerLiteResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfProductRegistrationCustomerLiteResource(value: object): value is ProductRegistrationCustomerLiteResource;
|
|
47
|
-
export declare function ProductRegistrationCustomerLiteResourceFromJSON(json: any): ProductRegistrationCustomerLiteResource;
|
|
48
|
-
export declare function ProductRegistrationCustomerLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerLiteResource;
|
|
49
|
-
export declare function ProductRegistrationCustomerLiteResourceToJSON(json: any): ProductRegistrationCustomerLiteResource;
|
|
50
|
-
export declare function ProductRegistrationCustomerLiteResourceToJSONTyped(value?: ProductRegistrationCustomerLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,61 +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.instanceOfProductRegistrationCustomerLiteResource = instanceOfProductRegistrationCustomerLiteResource;
|
|
17
|
-
exports.ProductRegistrationCustomerLiteResourceFromJSON = ProductRegistrationCustomerLiteResourceFromJSON;
|
|
18
|
-
exports.ProductRegistrationCustomerLiteResourceFromJSONTyped = ProductRegistrationCustomerLiteResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRegistrationCustomerLiteResourceToJSON = ProductRegistrationCustomerLiteResourceToJSON;
|
|
20
|
-
exports.ProductRegistrationCustomerLiteResourceToJSONTyped = ProductRegistrationCustomerLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRegistrationCustomerLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRegistrationCustomerLiteResource(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 ProductRegistrationCustomerLiteResourceFromJSON(json) {
|
|
34
|
-
return ProductRegistrationCustomerLiteResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ProductRegistrationCustomerLiteResourceFromJSONTyped(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
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function ProductRegistrationCustomerLiteResourceToJSON(json) {
|
|
48
|
-
return ProductRegistrationCustomerLiteResourceToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function ProductRegistrationCustomerLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value['id'],
|
|
57
|
-
'name': value['name'],
|
|
58
|
-
'email': value['email'],
|
|
59
|
-
'phone': value['phone'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -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 { ProductRegistrationCustomerLiteResource } from './ProductRegistrationCustomerLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRegistrationCustomerLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRegistrationCustomerLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRegistrationCustomerLiteResource>}
|
|
22
|
-
* @memberof ProductRegistrationCustomerLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRegistrationCustomerLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRegistrationCustomerLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRegistrationCustomerLiteResourceArrayResponse(value: object): value is ProductRegistrationCustomerLiteResourceArrayResponse;
|
|
30
|
-
export declare function ProductRegistrationCustomerLiteResourceArrayResponseFromJSON(json: any): ProductRegistrationCustomerLiteResourceArrayResponse;
|
|
31
|
-
export declare function ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerLiteResourceArrayResponse;
|
|
32
|
-
export declare function ProductRegistrationCustomerLiteResourceArrayResponseToJSON(json: any): ProductRegistrationCustomerLiteResourceArrayResponse;
|
|
33
|
-
export declare function ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped(value?: ProductRegistrationCustomerLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|