@digital8/lighting-illusions-ts-sdk 0.0.2501 → 0.0.2502
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 +4 -15
- package/README.md +2 -2
- package/dist/apis/AuspostApi.d.ts +29 -0
- package/dist/apis/AuspostApi.js +125 -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 +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AdminOrderResource.d.ts +6 -0
- package/dist/models/AdminOrderResource.js +4 -0
- package/dist/models/AppliedCouponResource.d.ts +0 -30
- package/dist/models/AppliedCouponResource.js +0 -20
- package/dist/models/FrontendCartResource.d.ts +0 -6
- package/dist/models/FrontendCartResource.js +0 -2
- package/dist/models/FrontendOrderResource.d.ts +6 -0
- package/dist/models/FrontendOrderResource.js +4 -0
- package/dist/models/OrderFulfillmentResource.d.ts +2 -2
- package/dist/models/OrderFulfillmentResource.js +2 -6
- package/dist/models/PaymentTotalsResource.d.ts +6 -0
- package/dist/models/PaymentTotalsResource.js +4 -0
- package/dist/models/ProductCategoryLiteResource.d.ts +0 -6
- package/dist/models/ProductCategoryLiteResource.js +0 -4
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -4
- package/dist/models/SearchCartsRequest.d.ts +0 -6
- package/dist/models/SearchCartsRequest.js +0 -2
- package/dist/models/SearchOrdersRequest.d.ts +0 -6
- package/dist/models/SearchOrdersRequest.js +0 -2
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +2 -6
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/SuburbValidationResource.d.ts +32 -0
- package/dist/models/SuburbValidationResource.js +51 -0
- package/dist/models/SuburbValidationResourceArrayResponse.d.ts +33 -0
- package/dist/models/SuburbValidationResourceArrayResponse.js +50 -0
- package/dist/models/ValidateSuburbRequest.d.ts +50 -0
- package/dist/models/ValidateSuburbRequest.js +63 -0
- package/dist/models/index.d.ts +3 -14
- package/dist/models/index.js +3 -14
- package/package.json +1 -1
- package/src/apis/AuspostApi.ts +69 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AdminOrderResource.ts +9 -0
- package/src/models/AppliedCouponResource.ts +0 -45
- package/src/models/FrontendCartResource.ts +0 -8
- package/src/models/FrontendOrderResource.ts +9 -0
- package/src/models/OrderFulfillmentResource.ts +4 -6
- package/src/models/PaymentTotalsResource.ts +9 -0
- package/src/models/ProductCategoryLiteResource.ts +0 -9
- package/src/models/ProductChildListResource.ts +0 -9
- package/src/models/SearchCartsRequest.ts +0 -8
- package/src/models/SearchOrdersRequest.ts +0 -8
- package/src/models/StoreFrontendResource.ts +4 -6
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/SuburbValidationResource.ts +66 -0
- package/src/models/SuburbValidationResourceArrayResponse.ts +73 -0
- package/src/models/ValidateSuburbRequest.ts +93 -0
- package/src/models/index.ts +3 -14
- package/dist/apis/CouponsApi.d.ts +0 -85
- package/dist/apis/CouponsApi.js +0 -355
- package/dist/models/CouponListResource.d.ts +0 -99
- package/dist/models/CouponListResource.js +0 -91
- package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponListResourceArrayResponse.js +0 -50
- package/dist/models/CouponLiteResource.d.ts +0 -44
- package/dist/models/CouponLiteResource.js +0 -57
- package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
- package/dist/models/CouponResource.d.ts +0 -163
- package/dist/models/CouponResource.js +0 -135
- package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponResourceArrayResponse.js +0 -50
- package/dist/models/CouponType.d.ts +0 -26
- package/dist/models/CouponType.js +0 -52
- package/dist/models/CreateCouponRequest.d.ts +0 -126
- package/dist/models/CreateCouponRequest.js +0 -107
- package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
- package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
- package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
- package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCouponResourceResponse.js +0 -57
- package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
- package/dist/models/SearchAllCouponsRequest.js +0 -85
- package/dist/models/SearchCouponsRequest.d.ts +0 -137
- package/dist/models/SearchCouponsRequest.js +0 -97
- package/dist/models/UpdateCouponRequest.d.ts +0 -120
- package/dist/models/UpdateCouponRequest.js +0 -103
- package/src/apis/CouponsApi.ts +0 -286
- package/src/models/CouponListResource.ts +0 -170
- package/src/models/CouponListResourceArrayResponse.ts +0 -73
- package/src/models/CouponLiteResource.ts +0 -83
- package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
- package/src/models/CouponResource.ts +0 -288
- package/src/models/CouponResourceArrayResponse.ts +0 -73
- package/src/models/CouponType.ts +0 -54
- package/src/models/CreateCouponRequest.ts +0 -207
- package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
- package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
- package/src/models/PaginatedCouponResourceResponse.ts +0 -90
- package/src/models/SearchAllCouponsRequest.ts +0 -154
- package/src/models/SearchCouponsRequest.ts +0 -202
- package/src/models/UpdateCouponRequest.ts +0 -198
|
@@ -30,8 +30,6 @@ function instanceOfProductChildListResource(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('name' in value) || value['name'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
34
|
-
return false;
|
|
35
33
|
if (!('model' in value) || value['model'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('stock' in value) || value['stock'] === undefined)
|
|
@@ -58,7 +56,6 @@ function ProductChildListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
56
|
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
59
57
|
'sku': json['sku'],
|
|
60
58
|
'name': json['name'],
|
|
61
|
-
'fullName': json['fullName'],
|
|
62
59
|
'model': json['model'],
|
|
63
60
|
'stock': json['stock'],
|
|
64
61
|
'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
|
|
@@ -82,7 +79,6 @@ function ProductChildListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
79
|
'parentId': value['parentId'],
|
|
83
80
|
'sku': value['sku'],
|
|
84
81
|
'name': value['name'],
|
|
85
|
-
'fullName': value['fullName'],
|
|
86
82
|
'model': value['model'],
|
|
87
83
|
'stock': value['stock'],
|
|
88
84
|
'isDisabled': value['isDisabled'],
|
|
@@ -117,12 +117,6 @@ export interface SearchCartsRequest {
|
|
|
117
117
|
* @memberof SearchCartsRequest
|
|
118
118
|
*/
|
|
119
119
|
includesRelations?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {number}
|
|
123
|
-
* @memberof SearchCartsRequest
|
|
124
|
-
*/
|
|
125
|
-
couponId?: number | null;
|
|
126
120
|
}
|
|
127
121
|
/**
|
|
128
122
|
* @export
|
|
@@ -66,7 +66,6 @@ function SearchCartsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
67
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
68
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
69
|
-
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
function SearchCartsRequestToJSON(json) {
|
|
@@ -95,6 +94,5 @@ function SearchCartsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
95
94
|
'related_id': value['relatedId'],
|
|
96
95
|
'related_type': value['relatedType'],
|
|
97
96
|
'includes_relations': value['includesRelations'],
|
|
98
|
-
'coupon_id': value['couponId'],
|
|
99
97
|
};
|
|
100
98
|
}
|
|
@@ -129,12 +129,6 @@ export interface SearchOrdersRequest {
|
|
|
129
129
|
* @memberof SearchOrdersRequest
|
|
130
130
|
*/
|
|
131
131
|
includesRelations?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {number}
|
|
135
|
-
* @memberof SearchOrdersRequest
|
|
136
|
-
*/
|
|
137
|
-
couponId?: number | null;
|
|
138
132
|
}
|
|
139
133
|
/**
|
|
140
134
|
* @export
|
|
@@ -69,7 +69,6 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
69
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
70
70
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
71
71
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
72
|
-
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
function SearchOrdersRequestToJSON(json) {
|
|
@@ -100,6 +99,5 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
99
|
'related_id': value['relatedId'],
|
|
101
100
|
'related_type': value['relatedType'],
|
|
102
101
|
'includes_relations': value['includesRelations'],
|
|
103
|
-
'coupon_id': value['couponId'],
|
|
104
102
|
};
|
|
105
103
|
}
|
|
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof StoreFrontendResource
|
|
46
46
|
*/
|
|
47
|
-
website
|
|
47
|
+
website?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof StoreFrontendResource
|
|
76
76
|
*/
|
|
77
|
-
tagLine
|
|
77
|
+
tagLine?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -28,16 +28,12 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('email' in value) || value['email'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
36
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
37
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
42
38
|
return false;
|
|
43
39
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -56,12 +52,12 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
52
|
'siteId': json['siteId'],
|
|
57
53
|
'name': json['name'],
|
|
58
54
|
'email': json['email'],
|
|
59
|
-
'website': json['website'],
|
|
55
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
60
56
|
'phone': json['phone'],
|
|
61
57
|
'address': json['address'] == null ? undefined : json['address'],
|
|
62
58
|
'latitude': json['latitude'],
|
|
63
59
|
'longitude': json['longitude'],
|
|
64
|
-
'tagLine': json['tagLine'],
|
|
60
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
65
61
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
66
62
|
'specialDates': json['specialDates'],
|
|
67
63
|
'suppliers': json['suppliers'],
|
|
@@ -37,6 +37,8 @@ function instanceOfStoreListResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -59,7 +61,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
'latitude': json['latitude'],
|
|
60
62
|
'tagLine': json['tagLine'],
|
|
61
63
|
'email': json['email'],
|
|
62
|
-
'website': json['website']
|
|
64
|
+
'website': json['website'],
|
|
63
65
|
'netsuiteId': json['netsuiteId'],
|
|
64
66
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
65
67
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -36,8 +36,6 @@ 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;
|
|
41
39
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
if (!('website' in value) || value['website'] === undefined)
|
|
@@ -68,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
66
|
'phone': json['phone'],
|
|
69
67
|
'longitude': json['longitude'],
|
|
70
68
|
'latitude': json['latitude'],
|
|
71
|
-
'tagLine': json['tagLine'],
|
|
69
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
72
70
|
'email': json['email'],
|
|
73
71
|
'website': json['website'],
|
|
74
72
|
'netsuiteId': json['netsuiteId'],
|
|
@@ -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'],
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateResource(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 StoreSpecialDateResourceFromJSONTyped(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'],
|
|
@@ -0,0 +1,32 @@
|
|
|
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 SuburbValidationResource
|
|
16
|
+
*/
|
|
17
|
+
export interface SuburbValidationResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SuburbValidationResource
|
|
22
|
+
*/
|
|
23
|
+
found: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SuburbValidationResource interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSuburbValidationResource(value: object): value is SuburbValidationResource;
|
|
29
|
+
export declare function SuburbValidationResourceFromJSON(json: any): SuburbValidationResource;
|
|
30
|
+
export declare function SuburbValidationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuburbValidationResource;
|
|
31
|
+
export declare function SuburbValidationResourceToJSON(json: any): SuburbValidationResource;
|
|
32
|
+
export declare function SuburbValidationResourceToJSONTyped(value?: SuburbValidationResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfSuburbValidationResource = instanceOfSuburbValidationResource;
|
|
17
|
+
exports.SuburbValidationResourceFromJSON = SuburbValidationResourceFromJSON;
|
|
18
|
+
exports.SuburbValidationResourceFromJSONTyped = SuburbValidationResourceFromJSONTyped;
|
|
19
|
+
exports.SuburbValidationResourceToJSON = SuburbValidationResourceToJSON;
|
|
20
|
+
exports.SuburbValidationResourceToJSONTyped = SuburbValidationResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SuburbValidationResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSuburbValidationResource(value) {
|
|
25
|
+
if (!('found' in value) || value['found'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SuburbValidationResourceFromJSON(json) {
|
|
30
|
+
return SuburbValidationResourceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SuburbValidationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'found': json['found'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SuburbValidationResourceToJSON(json) {
|
|
41
|
+
return SuburbValidationResourceToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SuburbValidationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'found': value['found'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 { SuburbValidationResource } from './SuburbValidationResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuburbValidationResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuburbValidationResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SuburbValidationResource>}
|
|
22
|
+
* @memberof SuburbValidationResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<SuburbValidationResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuburbValidationResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuburbValidationResourceArrayResponse(value: object): value is SuburbValidationResourceArrayResponse;
|
|
30
|
+
export declare function SuburbValidationResourceArrayResponseFromJSON(json: any): SuburbValidationResourceArrayResponse;
|
|
31
|
+
export declare function SuburbValidationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuburbValidationResourceArrayResponse;
|
|
32
|
+
export declare function SuburbValidationResourceArrayResponseToJSON(json: any): SuburbValidationResourceArrayResponse;
|
|
33
|
+
export declare function SuburbValidationResourceArrayResponseToJSONTyped(value?: SuburbValidationResourceArrayResponse | 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.instanceOfSuburbValidationResourceArrayResponse = instanceOfSuburbValidationResourceArrayResponse;
|
|
17
|
+
exports.SuburbValidationResourceArrayResponseFromJSON = SuburbValidationResourceArrayResponseFromJSON;
|
|
18
|
+
exports.SuburbValidationResourceArrayResponseFromJSONTyped = SuburbValidationResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.SuburbValidationResourceArrayResponseToJSON = SuburbValidationResourceArrayResponseToJSON;
|
|
20
|
+
exports.SuburbValidationResourceArrayResponseToJSONTyped = SuburbValidationResourceArrayResponseToJSONTyped;
|
|
21
|
+
var SuburbValidationResource_1 = require("./SuburbValidationResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SuburbValidationResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSuburbValidationResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function SuburbValidationResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return SuburbValidationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function SuburbValidationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(SuburbValidationResource_1.SuburbValidationResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function SuburbValidationResourceArrayResponseToJSON(json) {
|
|
40
|
+
return SuburbValidationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SuburbValidationResourceArrayResponseToJSONTyped(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(SuburbValidationResource_1.SuburbValidationResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 ValidateSuburbRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateSuburbRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ValidateSuburbRequest
|
|
22
|
+
*/
|
|
23
|
+
siteId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ValidateSuburbRequest
|
|
28
|
+
*/
|
|
29
|
+
suburb: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ValidateSuburbRequest
|
|
34
|
+
*/
|
|
35
|
+
state: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ValidateSuburbRequest
|
|
40
|
+
*/
|
|
41
|
+
postcode: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ValidateSuburbRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfValidateSuburbRequest(value: object): value is ValidateSuburbRequest;
|
|
47
|
+
export declare function ValidateSuburbRequestFromJSON(json: any): ValidateSuburbRequest;
|
|
48
|
+
export declare function ValidateSuburbRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateSuburbRequest;
|
|
49
|
+
export declare function ValidateSuburbRequestToJSON(json: any): ValidateSuburbRequest;
|
|
50
|
+
export declare function ValidateSuburbRequestToJSONTyped(value?: ValidateSuburbRequest | 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.instanceOfValidateSuburbRequest = instanceOfValidateSuburbRequest;
|
|
17
|
+
exports.ValidateSuburbRequestFromJSON = ValidateSuburbRequestFromJSON;
|
|
18
|
+
exports.ValidateSuburbRequestFromJSONTyped = ValidateSuburbRequestFromJSONTyped;
|
|
19
|
+
exports.ValidateSuburbRequestToJSON = ValidateSuburbRequestToJSON;
|
|
20
|
+
exports.ValidateSuburbRequestToJSONTyped = ValidateSuburbRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ValidateSuburbRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfValidateSuburbRequest(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ValidateSuburbRequestFromJSON(json) {
|
|
36
|
+
return ValidateSuburbRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ValidateSuburbRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'siteId': json['site_id'],
|
|
44
|
+
'suburb': json['suburb'],
|
|
45
|
+
'state': json['state'],
|
|
46
|
+
'postcode': json['postcode'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ValidateSuburbRequestToJSON(json) {
|
|
50
|
+
return ValidateSuburbRequestToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ValidateSuburbRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'site_id': value['siteId'],
|
|
59
|
+
'suburb': value['suburb'],
|
|
60
|
+
'state': value['state'],
|
|
61
|
+
'postcode': value['postcode'],
|
|
62
|
+
};
|
|
63
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -79,13 +79,6 @@ export * from './CategoryFrontendResourceArrayResponse';
|
|
|
79
79
|
export * from './CategoryWithChildrenFrontendResource';
|
|
80
80
|
export * from './CategoryWithChildrenFrontendResourceArrayResponse';
|
|
81
81
|
export * from './CouponDiscountType';
|
|
82
|
-
export * from './CouponListResource';
|
|
83
|
-
export * from './CouponListResourceArrayResponse';
|
|
84
|
-
export * from './CouponLiteResource';
|
|
85
|
-
export * from './CouponLiteResourceArrayResponse';
|
|
86
|
-
export * from './CouponResource';
|
|
87
|
-
export * from './CouponResourceArrayResponse';
|
|
88
|
-
export * from './CouponType';
|
|
89
82
|
export * from './CreateAssetFileRequest';
|
|
90
83
|
export * from './CreateAssetForAssetableRequest';
|
|
91
84
|
export * from './CreateAttributeRequest';
|
|
@@ -96,8 +89,6 @@ export * from './CreateBlogCategoryRequestSeoInner';
|
|
|
96
89
|
export * from './CreateCartRequest';
|
|
97
90
|
export * from './CreateCartRequestItemsInner';
|
|
98
91
|
export * from './CreateCartRequestShippingAddress';
|
|
99
|
-
export * from './CreateCouponRequest';
|
|
100
|
-
export * from './CreateCouponRequestCouponablesInner';
|
|
101
92
|
export * from './CreateCustomerRequest';
|
|
102
93
|
export * from './CreateDefinitionRequest';
|
|
103
94
|
export * from './CreateDocumentFileRequest';
|
|
@@ -289,8 +280,6 @@ export * from './PaginatedBlogCategoryResourceResponse';
|
|
|
289
280
|
export * from './PaginatedBlogFrontendResourceResponse';
|
|
290
281
|
export * from './PaginatedCartListResourceResponse';
|
|
291
282
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
292
|
-
export * from './PaginatedCouponListResourceResponse';
|
|
293
|
-
export * from './PaginatedCouponResourceResponse';
|
|
294
283
|
export * from './PaginatedCustomerListResourceResponse';
|
|
295
284
|
export * from './PaginatedCustomerReviewableItemFrontendResourceResponse';
|
|
296
285
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
@@ -494,7 +483,6 @@ export * from './SearchAdminNotesRequest';
|
|
|
494
483
|
export * from './SearchAllAttributeValuesRequest';
|
|
495
484
|
export * from './SearchAllAttributesRequest';
|
|
496
485
|
export * from './SearchAllBlogCategoriesRequest';
|
|
497
|
-
export * from './SearchAllCouponsRequest';
|
|
498
486
|
export * from './SearchAllDefinitionsRequest';
|
|
499
487
|
export * from './SearchAllDocumentsRequest';
|
|
500
488
|
export * from './SearchAllFrontendComponentsRequest';
|
|
@@ -517,7 +505,6 @@ export * from './SearchAttributeValuesRequest';
|
|
|
517
505
|
export * from './SearchAttributesRequest';
|
|
518
506
|
export * from './SearchBlogCategoriesRequest';
|
|
519
507
|
export * from './SearchCartsRequest';
|
|
520
|
-
export * from './SearchCouponsRequest';
|
|
521
508
|
export * from './SearchCustomersRequest';
|
|
522
509
|
export * from './SearchDefinitionsRequest';
|
|
523
510
|
export * from './SearchDocumentsRequest';
|
|
@@ -581,6 +568,8 @@ export * from './StoreSpecialDateResourceArrayResponse';
|
|
|
581
568
|
export * from './StoreStockType';
|
|
582
569
|
export * from './StoreTransactionResource';
|
|
583
570
|
export * from './StoreTransactionResourceArrayResponse';
|
|
571
|
+
export * from './SuburbValidationResource';
|
|
572
|
+
export * from './SuburbValidationResourceArrayResponse';
|
|
584
573
|
export * from './SupplierFrontendResource';
|
|
585
574
|
export * from './SupplierFrontendResourceArrayResponse';
|
|
586
575
|
export * from './SupplierListResource';
|
|
@@ -615,7 +604,6 @@ export * from './UpdateAttributeRequest';
|
|
|
615
604
|
export * from './UpdateAttributeValueRequest';
|
|
616
605
|
export * from './UpdateBlogCategoryRequest';
|
|
617
606
|
export * from './UpdateCartRequest';
|
|
618
|
-
export * from './UpdateCouponRequest';
|
|
619
607
|
export * from './UpdateDefinitionRequest';
|
|
620
608
|
export * from './UpdateDocumentRequest';
|
|
621
609
|
export * from './UpdateLabelRequest';
|
|
@@ -645,6 +633,7 @@ export * from './UpdateStoreRequest';
|
|
|
645
633
|
export * from './UpdateStoreRequestSpecialDatesInner';
|
|
646
634
|
export * from './UpdateSupplierRequest';
|
|
647
635
|
export * from './UpdateTagRequest';
|
|
636
|
+
export * from './ValidateSuburbRequest';
|
|
648
637
|
export * from './WishlistCheckResource';
|
|
649
638
|
export * from './WishlistCheckResourceArrayResponse';
|
|
650
639
|
export * from './WishlistToggleResource';
|