@digital8/lighting-illusions-ts-sdk 0.0.1572 → 0.0.1573
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 -40
- package/README.md +4 -25
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/DestroyAttributeValueRequest.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllAttributeRequest.d.ts +1 -1
- package/dist/models/GetAllAttributeValueRequest.d.ts +1 -1
- package/dist/models/GetAllDefinitionRequest.d.ts +1 -1
- package/dist/models/GetAllDocumentRequest.d.ts +1 -1
- package/dist/models/GetAllGoogleCategoryRequest.d.ts +1 -1
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +1 -1
- package/dist/models/GetAllProductCategoryRequest.d.ts +1 -1
- package/dist/models/GetAllProductChildRequest.d.ts +1 -1
- package/dist/models/GetAllProductRangeRequest.d.ts +1 -1
- package/dist/models/GetAllProductRequest.d.ts +1 -1
- package/dist/models/GetAllProductTypeRequest.d.ts +1 -1
- package/dist/models/GetAllStoreRequest.d.ts +1 -1
- package/dist/models/GetAllSupplierRequest.d.ts +1 -1
- package/dist/models/IndexAttributeRequest.d.ts +1 -1
- package/dist/models/IndexAttributeValueRequest.d.ts +1 -1
- package/dist/models/IndexDefinitionRequest.d.ts +1 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +1 -1
- package/dist/models/IndexLabelRequest.d.ts +1 -1
- package/dist/models/IndexModelAttributeRequest.d.ts +1 -1
- package/dist/models/IndexOverlayTemplateRequest.d.ts +1 -1
- package/dist/models/IndexProductCategoryRequest.d.ts +1 -1
- package/dist/models/IndexProductChildRequest.d.ts +1 -2
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexProductRangeRequest.d.ts +1 -1
- package/dist/models/IndexProductRequest.d.ts +1 -1
- package/dist/models/IndexProductTypeRequest.d.ts +1 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +1 -1
- package/dist/models/IndexSiteRequest.d.ts +1 -1
- package/dist/models/IndexStoreRequest.d.ts +1 -1
- package/dist/models/IndexSupplierRequest.d.ts +1 -1
- package/dist/models/IndexTagRequest.d.ts +1 -1
- 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/ProductRangeFrontendResource.d.ts +7 -0
- package/dist/models/ProductRangeFrontendResource.js +5 -0
- package/dist/models/ShowAssetsProductChildRequest.d.ts +1 -1
- package/dist/models/ShowAttributesProductChildRequest.d.ts +1 -1
- package/dist/models/StoreAssetForAssetableRequest.d.ts +1 -1
- package/dist/models/StoreLabelRequest.d.ts +4 -4
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/StoreProductCategoryRequest.d.ts +4 -4
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequest.d.ts +4 -4
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/StoreProductChildRequestAttributeValuesInner.d.ts +1 -1
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +5 -5
- package/dist/models/StoreProductRangeRequest.d.ts +1 -1
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +5 -5
- package/dist/models/StoreProductRequest.d.ts +1 -1
- package/dist/models/StoreStoreRequest.d.ts +3 -3
- package/dist/models/StoreStoreRequestAddress.d.ts +1 -1
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +5 -5
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +5 -5
- package/dist/models/StoreSupplierRequest.d.ts +1 -1
- package/dist/models/StoreTagRequest.d.ts +4 -4
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +3 -3
- package/dist/models/UpdateLabelRequest.d.ts +4 -4
- package/dist/models/UpdateModelAttributeRequest.d.ts +3 -3
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/UpdateProductCategoryRequest.d.ts +4 -4
- package/dist/models/UpdateProductChildRequest.d.ts +4 -4
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/UpdateProductRangeRequest.d.ts +1 -1
- package/dist/models/UpdateProductRequest.d.ts +1 -1
- package/dist/models/UpdateSiteRequest.d.ts +5 -5
- package/dist/models/UpdateStoreRequest.d.ts +3 -3
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +5 -5
- package/dist/models/UpdateSupplierRequest.d.ts +1 -1
- package/dist/models/UpdateTagRequest.d.ts +4 -4
- package/dist/models/index.d.ts +2 -19
- package/dist/models/index.js +2 -19
- package/docs/{ProductRegistrationAssetType.md → ModelAttributeFrontendResource.md} +8 -4
- package/docs/{ProductRegistrationResourceArrayResponse.md → ModelAttributeFrontendResourceArrayResponse.md} +5 -5
- package/docs/ProductRangeFrontendResource.md +2 -0
- package/docs/StoreStoreRequest.md +1 -1
- package/docs/UpdateModelAttributeRequest.md +1 -1
- package/docs/UpdateStoreRequest.md +1 -1
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +3 -2
- package/src/models/DestroyAttributeValueRequest.ts +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllAttributeRequest.ts +1 -1
- package/src/models/GetAllAttributeValueRequest.ts +1 -1
- package/src/models/GetAllDefinitionRequest.ts +1 -1
- package/src/models/GetAllDocumentRequest.ts +1 -1
- package/src/models/GetAllGoogleCategoryRequest.ts +1 -1
- package/src/models/GetAllOverlayTemplateRequest.ts +1 -1
- package/src/models/GetAllProductCategoryRequest.ts +1 -1
- package/src/models/GetAllProductChildRequest.ts +1 -1
- package/src/models/GetAllProductRangeRequest.ts +1 -1
- package/src/models/GetAllProductRequest.ts +1 -1
- package/src/models/GetAllProductTypeRequest.ts +1 -1
- package/src/models/GetAllStoreRequest.ts +1 -1
- package/src/models/GetAllSupplierRequest.ts +1 -1
- package/src/models/IndexAttributeRequest.ts +1 -1
- package/src/models/IndexAttributeValueRequest.ts +1 -1
- package/src/models/IndexDefinitionRequest.ts +1 -1
- package/src/models/IndexDocumentRequest.ts +1 -1
- package/src/models/IndexExternalApiLogRequest.ts +1 -1
- package/src/models/IndexLabelRequest.ts +1 -1
- package/src/models/IndexModelAttributeRequest.ts +1 -1
- package/src/models/IndexOverlayTemplateRequest.ts +1 -1
- package/src/models/IndexProductCategoryRequest.ts +1 -1
- package/src/models/IndexProductChildRequest.ts +1 -2
- package/src/models/IndexProductRangeRequest.ts +1 -1
- package/src/models/IndexProductRequest.ts +1 -1
- package/src/models/IndexProductTypeRequest.ts +1 -1
- package/src/models/IndexSiteNotificationRequest.ts +1 -1
- package/src/models/IndexSiteRequest.ts +1 -1
- package/src/models/IndexStoreRequest.ts +1 -1
- package/src/models/IndexSupplierRequest.ts +1 -1
- package/src/models/IndexTagRequest.ts +1 -1
- package/src/models/ModelAttributeFrontendResource.ts +75 -0
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +16 -0
- package/src/models/ShowAssetsProductChildRequest.ts +1 -1
- package/src/models/ShowAttributesProductChildRequest.ts +1 -1
- package/src/models/StoreAssetForAssetableRequest.ts +1 -1
- package/src/models/StoreLabelRequest.ts +4 -4
- package/src/models/StoreOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/StoreProductCategoryRequest.ts +4 -4
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +2 -2
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +2 -2
- package/src/models/StoreProductCategoryRequestSeoInner.ts +2 -2
- package/src/models/StoreProductChildRequest.ts +4 -4
- package/src/models/StoreProductChildRequestAssetsInner.ts +1 -1
- package/src/models/StoreProductChildRequestAttributeValuesInner.ts +1 -1
- package/src/models/StoreProductChildRequestSitesInner.ts +5 -5
- package/src/models/StoreProductRangeRequest.ts +1 -1
- package/src/models/StoreProductRangeRequestSitesInner.ts +5 -5
- package/src/models/StoreProductRequest.ts +1 -1
- package/src/models/StoreStoreRequest.ts +3 -3
- package/src/models/StoreStoreRequestAddress.ts +1 -1
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +5 -5
- package/src/models/StoreStoreSpecialDateRequest.ts +5 -5
- package/src/models/StoreSupplierRequest.ts +1 -1
- package/src/models/StoreTagRequest.ts +4 -4
- package/src/models/UpdateAssetForAssetableRequest.ts +3 -3
- package/src/models/UpdateLabelRequest.ts +4 -4
- package/src/models/UpdateModelAttributeRequest.ts +3 -3
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/UpdateProductCategoryRequest.ts +4 -4
- package/src/models/UpdateProductChildRequest.ts +4 -4
- package/src/models/UpdateProductChildRequestAssetsInner.ts +1 -1
- package/src/models/UpdateProductRangeRequest.ts +1 -1
- package/src/models/UpdateProductRequest.ts +1 -1
- package/src/models/UpdateSiteRequest.ts +5 -5
- package/src/models/UpdateStoreRequest.ts +3 -3
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +5 -5
- package/src/models/UpdateSupplierRequest.ts +1 -1
- package/src/models/UpdateTagRequest.ts +4 -4
- package/src/models/index.ts +2 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -79
- package/dist/apis/ProductRegistrationApi.js +0 -316
- 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/ListAssetsProductRegistrationRequest.md +0 -52
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -275
- package/docs/ProductRegistrationAssetResource.md +0 -38
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationCustomerResource.md +0 -44
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResource.md +0 -36
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -238
- 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
|
@@ -44,25 +44,25 @@ export interface StoreTagRequest {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof StoreTagRequest
|
|
46
46
|
*/
|
|
47
|
-
seoTitle?: string;
|
|
47
|
+
seoTitle?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof StoreTagRequest
|
|
52
52
|
*/
|
|
53
|
-
seoDescription?: string;
|
|
53
|
+
seoDescription?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof StoreTagRequest
|
|
58
58
|
*/
|
|
59
|
-
headerDescription?: string;
|
|
59
|
+
headerDescription?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof StoreTagRequest
|
|
64
64
|
*/
|
|
65
|
-
footerDescription?: string;
|
|
65
|
+
footerDescription?: string | null;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* @export
|
|
@@ -20,19 +20,19 @@ export interface UpdateAssetForAssetableRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateAssetForAssetableRequest
|
|
22
22
|
*/
|
|
23
|
-
altText?: string;
|
|
23
|
+
altText?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateAssetForAssetableRequest
|
|
28
28
|
*/
|
|
29
|
-
mimeType?: string;
|
|
29
|
+
mimeType?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof UpdateAssetForAssetableRequest
|
|
34
34
|
*/
|
|
35
|
-
fileId?: number;
|
|
35
|
+
fileId?: number | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {boolean}
|
|
@@ -38,7 +38,7 @@ export interface UpdateLabelRequest {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateLabelRequest
|
|
40
40
|
*/
|
|
41
|
-
cartButtonText?: string;
|
|
41
|
+
cartButtonText?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -50,19 +50,19 @@ export interface UpdateLabelRequest {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdateLabelRequest
|
|
52
52
|
*/
|
|
53
|
-
textColour?: string;
|
|
53
|
+
textColour?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {Date}
|
|
57
57
|
* @memberof UpdateLabelRequest
|
|
58
58
|
*/
|
|
59
|
-
startDate?: Date;
|
|
59
|
+
startDate?: Date | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {Date}
|
|
63
63
|
* @memberof UpdateLabelRequest
|
|
64
64
|
*/
|
|
65
|
-
endDate?: Date;
|
|
65
|
+
endDate?: Date | null;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Check if a given object implements the UpdateLabelRequest interface.
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
export interface UpdateModelAttributeRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {Array<number>}
|
|
20
|
+
* @type {Array<number | null>}
|
|
21
21
|
* @memberof UpdateModelAttributeRequest
|
|
22
22
|
*/
|
|
23
|
-
attributeValueIds?: Array<number>;
|
|
23
|
+
attributeValueIds?: Array<number | null>;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateModelAttributeRequest
|
|
28
28
|
*/
|
|
29
|
-
value?: string;
|
|
29
|
+
value?: string | null;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the UpdateModelAttributeRequest interface.
|
|
@@ -41,7 +41,7 @@ export interface UpdateProductCategoryRequest {
|
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof UpdateProductCategoryRequest
|
|
43
43
|
*/
|
|
44
|
-
parentId?: string;
|
|
44
|
+
parentId?: string | null;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {boolean}
|
|
@@ -83,19 +83,19 @@ export interface UpdateProductCategoryRequest {
|
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof UpdateProductCategoryRequest
|
|
85
85
|
*/
|
|
86
|
-
altText?: string;
|
|
86
|
+
altText?: string | null;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof UpdateProductCategoryRequest
|
|
91
91
|
*/
|
|
92
|
-
mimeType?: string;
|
|
92
|
+
mimeType?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {number}
|
|
96
96
|
* @memberof UpdateProductCategoryRequest
|
|
97
97
|
*/
|
|
98
|
-
fileId?: number;
|
|
98
|
+
fileId?: number | null;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
101
|
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
@@ -28,13 +28,13 @@ export interface UpdateProductChildRequest {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof UpdateProductChildRequest
|
|
30
30
|
*/
|
|
31
|
-
sku?: string;
|
|
31
|
+
sku?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof UpdateProductChildRequest
|
|
36
36
|
*/
|
|
37
|
-
model?: string;
|
|
37
|
+
model?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {Date}
|
|
@@ -52,7 +52,7 @@ export interface UpdateProductChildRequest {
|
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof UpdateProductChildRequest
|
|
54
54
|
*/
|
|
55
|
-
warranty?: string;
|
|
55
|
+
warranty?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {boolean}
|
|
@@ -88,7 +88,7 @@ export interface UpdateProductChildRequest {
|
|
|
88
88
|
* @type {number}
|
|
89
89
|
* @memberof UpdateProductChildRequest
|
|
90
90
|
*/
|
|
91
|
-
netsuiteId?: number;
|
|
91
|
+
netsuiteId?: number | null;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @type {number}
|
|
@@ -62,31 +62,31 @@ export interface UpdateSiteRequest {
|
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof UpdateSiteRequest
|
|
64
64
|
*/
|
|
65
|
-
googleMaps?: string;
|
|
65
|
+
googleMaps?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof UpdateSiteRequest
|
|
70
70
|
*/
|
|
71
|
-
facebook?: string;
|
|
71
|
+
facebook?: string | null;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof UpdateSiteRequest
|
|
76
76
|
*/
|
|
77
|
-
instagram?: string;
|
|
77
|
+
instagram?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof UpdateSiteRequest
|
|
82
82
|
*/
|
|
83
|
-
pinterest?: string;
|
|
83
|
+
pinterest?: string | null;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof UpdateSiteRequest
|
|
88
88
|
*/
|
|
89
|
-
abn?: string;
|
|
89
|
+
abn?: string | null;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @type {number}
|
|
@@ -52,7 +52,7 @@ export interface UpdateStoreRequest {
|
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof UpdateStoreRequest
|
|
54
54
|
*/
|
|
55
|
-
tagLine?: string;
|
|
55
|
+
tagLine?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {string}
|
|
@@ -61,10 +61,10 @@ export interface UpdateStoreRequest {
|
|
|
61
61
|
email: string;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {Array<string>}
|
|
64
|
+
* @type {Array<string | null>}
|
|
65
65
|
* @memberof UpdateStoreRequest
|
|
66
66
|
*/
|
|
67
|
-
openingHours?: Array<string>;
|
|
67
|
+
openingHours?: Array<string | null>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {Array<number>}
|
|
@@ -20,31 +20,31 @@ export interface UpdateStoreRequestSpecialDatesInner {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
22
22
|
*/
|
|
23
|
-
id?: number;
|
|
23
|
+
id?: number | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
28
28
|
*/
|
|
29
|
-
name?: string;
|
|
29
|
+
name?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
34
34
|
*/
|
|
35
|
-
hours?: string;
|
|
35
|
+
hours?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {Date}
|
|
39
39
|
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
40
40
|
*/
|
|
41
|
-
displayStart?: Date;
|
|
41
|
+
displayStart?: Date | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
46
46
|
*/
|
|
47
|
-
displayEnd?: Date;
|
|
47
|
+
displayEnd?: Date | null;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
|
|
@@ -38,25 +38,25 @@ export interface UpdateTagRequest {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateTagRequest
|
|
40
40
|
*/
|
|
41
|
-
seoTitle?: string;
|
|
41
|
+
seoTitle?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateTagRequest
|
|
46
46
|
*/
|
|
47
|
-
seoDescription?: string;
|
|
47
|
+
seoDescription?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdateTagRequest
|
|
52
52
|
*/
|
|
53
|
-
headerDescription?: string;
|
|
53
|
+
headerDescription?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof UpdateTagRequest
|
|
58
58
|
*/
|
|
59
|
-
footerDescription?: string;
|
|
59
|
+
footerDescription?: string | null;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* @export
|
package/dist/models/index.d.ts
CHANGED
|
@@ -90,7 +90,6 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
90
90
|
export * from './GetAllProductCategoryRequest';
|
|
91
91
|
export * from './GetAllProductChildRequest';
|
|
92
92
|
export * from './GetAllProductRangeRequest';
|
|
93
|
-
export * from './GetAllProductRegistrationRequest';
|
|
94
93
|
export * from './GetAllProductRequest';
|
|
95
94
|
export * from './GetAllProductTypeRequest';
|
|
96
95
|
export * from './GetAllStoreRequest';
|
|
@@ -118,7 +117,6 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
118
117
|
export * from './IndexProductCategoryRequest';
|
|
119
118
|
export * from './IndexProductChildRequest';
|
|
120
119
|
export * from './IndexProductRangeRequest';
|
|
121
|
-
export * from './IndexProductRegistrationRequest';
|
|
122
120
|
export * from './IndexProductRequest';
|
|
123
121
|
export * from './IndexProductTypeRequest';
|
|
124
122
|
export * from './IndexSiteNotificationRequest';
|
|
@@ -132,7 +130,8 @@ export * from './LabelLiteResource';
|
|
|
132
130
|
export * from './LabelLiteResourceArrayResponse';
|
|
133
131
|
export * from './LabelResource';
|
|
134
132
|
export * from './LabelResourceArrayResponse';
|
|
135
|
-
export * from './
|
|
133
|
+
export * from './ModelAttributeFrontendResource';
|
|
134
|
+
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
136
135
|
export * from './ModelAttributeListResource';
|
|
137
136
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
138
137
|
export * from './ModelAttributeResource';
|
|
@@ -179,9 +178,6 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
179
178
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
180
179
|
export * from './PaginatedProductRangeResourceResponse';
|
|
181
180
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
182
|
-
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
183
|
-
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
184
|
-
export * from './PaginatedProductRegistrationResourceResponse';
|
|
185
181
|
export * from './PaginatedProductResourceResponse';
|
|
186
182
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
187
183
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -264,19 +260,6 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
264
260
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
265
261
|
export * from './ProductRangeSortBy';
|
|
266
262
|
export * from './ProductRating';
|
|
267
|
-
export * from './ProductRegistrationAssetResource';
|
|
268
|
-
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
269
|
-
export * from './ProductRegistrationAssetType';
|
|
270
|
-
export * from './ProductRegistrationCustomerResource';
|
|
271
|
-
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
272
|
-
export * from './ProductRegistrationListResource';
|
|
273
|
-
export * from './ProductRegistrationListResourceArrayResponse';
|
|
274
|
-
export * from './ProductRegistrationLiteResource';
|
|
275
|
-
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
276
|
-
export * from './ProductRegistrationProductChildResource';
|
|
277
|
-
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
278
|
-
export * from './ProductRegistrationResource';
|
|
279
|
-
export * from './ProductRegistrationResourceArrayResponse';
|
|
280
263
|
export * from './ProductResource';
|
|
281
264
|
export * from './ProductResourceArrayResponse';
|
|
282
265
|
export * from './ProductSearchResponseResource';
|
package/dist/models/index.js
CHANGED
|
@@ -108,7 +108,6 @@ __exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
|
108
108
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
109
109
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
110
110
|
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
111
|
-
__exportStar(require("./GetAllProductRegistrationRequest"), exports);
|
|
112
111
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
113
112
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
114
113
|
__exportStar(require("./GetAllStoreRequest"), exports);
|
|
@@ -136,7 +135,6 @@ __exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
|
136
135
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
137
136
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
138
137
|
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
139
|
-
__exportStar(require("./IndexProductRegistrationRequest"), exports);
|
|
140
138
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
141
139
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
142
140
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
@@ -150,7 +148,8 @@ __exportStar(require("./LabelLiteResource"), exports);
|
|
|
150
148
|
__exportStar(require("./LabelLiteResourceArrayResponse"), exports);
|
|
151
149
|
__exportStar(require("./LabelResource"), exports);
|
|
152
150
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
153
|
-
__exportStar(require("./
|
|
151
|
+
__exportStar(require("./ModelAttributeFrontendResource"), exports);
|
|
152
|
+
__exportStar(require("./ModelAttributeFrontendResourceArrayResponse"), exports);
|
|
154
153
|
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
155
154
|
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
156
155
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
@@ -197,9 +196,6 @@ __exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
|
197
196
|
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
198
197
|
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
199
198
|
__exportStar(require("./PaginatedProductRangeSearchResultResourceResponse"), exports);
|
|
200
|
-
__exportStar(require("./PaginatedProductRegistrationAssetResourceResponse"), exports);
|
|
201
|
-
__exportStar(require("./PaginatedProductRegistrationListResourceResponse"), exports);
|
|
202
|
-
__exportStar(require("./PaginatedProductRegistrationResourceResponse"), exports);
|
|
203
199
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
204
200
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
205
201
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
@@ -282,19 +278,6 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
|
282
278
|
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
283
279
|
__exportStar(require("./ProductRangeSortBy"), exports);
|
|
284
280
|
__exportStar(require("./ProductRating"), exports);
|
|
285
|
-
__exportStar(require("./ProductRegistrationAssetResource"), exports);
|
|
286
|
-
__exportStar(require("./ProductRegistrationAssetResourceArrayResponse"), exports);
|
|
287
|
-
__exportStar(require("./ProductRegistrationAssetType"), exports);
|
|
288
|
-
__exportStar(require("./ProductRegistrationCustomerResource"), exports);
|
|
289
|
-
__exportStar(require("./ProductRegistrationCustomerResourceArrayResponse"), exports);
|
|
290
|
-
__exportStar(require("./ProductRegistrationListResource"), exports);
|
|
291
|
-
__exportStar(require("./ProductRegistrationListResourceArrayResponse"), exports);
|
|
292
|
-
__exportStar(require("./ProductRegistrationLiteResource"), exports);
|
|
293
|
-
__exportStar(require("./ProductRegistrationLiteResourceArrayResponse"), exports);
|
|
294
|
-
__exportStar(require("./ProductRegistrationProductChildResource"), exports);
|
|
295
|
-
__exportStar(require("./ProductRegistrationProductChildResourceArrayResponse"), exports);
|
|
296
|
-
__exportStar(require("./ProductRegistrationResource"), exports);
|
|
297
|
-
__exportStar(require("./ProductRegistrationResourceArrayResponse"), exports);
|
|
298
281
|
__exportStar(require("./ProductResource"), exports);
|
|
299
282
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
300
283
|
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ModelAttributeFrontendResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`value` | string
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
12
14
|
```typescript
|
|
13
|
-
import type {
|
|
15
|
+
import type { ModelAttributeFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
16
|
|
|
15
17
|
// TODO: Update the object below with actual values
|
|
16
18
|
const example = {
|
|
17
|
-
|
|
19
|
+
"name": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ModelAttributeFrontendResource
|
|
18
22
|
|
|
19
23
|
console.log(example)
|
|
20
24
|
|
|
@@ -23,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
23
27
|
console.log(exampleJSON)
|
|
24
28
|
|
|
25
29
|
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ModelAttributeFrontendResource
|
|
27
31
|
console.log(exampleParsed)
|
|
28
32
|
```
|
|
29
33
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ModelAttributeFrontendResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<ModelAttributeFrontendResource>](ModelAttributeFrontendResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { ModelAttributeFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies ModelAttributeFrontendResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ModelAttributeFrontendResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -21,6 +21,7 @@ Name | Type
|
|
|
21
21
|
`seo` | object
|
|
22
22
|
`assets` | object
|
|
23
23
|
`thumbnail` | string
|
|
24
|
+
`attributes` | [Array<ModelAttributeFrontendResource>](ModelAttributeFrontendResource.md)
|
|
24
25
|
|
|
25
26
|
## Example
|
|
26
27
|
|
|
@@ -44,6 +45,7 @@ const example = {
|
|
|
44
45
|
"seo": null,
|
|
45
46
|
"assets": null,
|
|
46
47
|
"thumbnail": null,
|
|
48
|
+
"attributes": null,
|
|
47
49
|
} satisfies ProductRangeFrontendResource
|
|
48
50
|
|
|
49
51
|
console.log(example)
|
|
@@ -13,7 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
-
`openingHours` | Array<string>
|
|
16
|
+
`openingHours` | Array<string | null>
|
|
17
17
|
`supplierIds` | Array<number>
|
|
18
18
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
19
19
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -13,7 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
-
`openingHours` | Array<string>
|
|
16
|
+
`openingHours` | Array<string | null>
|
|
17
17
|
`supplierIds` | Array<number>
|
|
18
18
|
`specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
|
|
19
19
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
package/package.json
CHANGED
package/src/apis/index.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './OverlayTemplateApi';
|
|
|
12
12
|
export * from './ProductApi';
|
|
13
13
|
export * from './ProductCategoryApi';
|
|
14
14
|
export * from './ProductRangeApi';
|
|
15
|
-
export * from './ProductRegistrationApi';
|
|
16
15
|
export * from './ProductTypeApi';
|
|
17
16
|
export * from './SiteApi';
|
|
18
17
|
export * from './StoreApi';
|
|
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof AddressFrontendResource
|
|
26
26
|
*/
|
|
27
|
-
company
|
|
27
|
+
company?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -73,7 +73,6 @@ export interface AddressFrontendResource {
|
|
|
73
73
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
74
74
|
*/
|
|
75
75
|
export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
|
|
76
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
77
76
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
78
77
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
79
78
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -93,7 +92,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
93
92
|
}
|
|
94
93
|
return {
|
|
95
94
|
|
|
96
|
-
'company': json['company'],
|
|
95
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
97
96
|
'line1': json['line1'],
|
|
98
97
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
99
98
|
'postcode': json['postcode'],
|
|
@@ -30,7 +30,7 @@ export interface AddressResource {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof AddressResource
|
|
32
32
|
*/
|
|
33
|
-
company
|
|
33
|
+
company: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
@@ -79,6 +79,7 @@ export interface AddressResource {
|
|
|
79
79
|
* Check if a given object implements the AddressResource interface.
|
|
80
80
|
*/
|
|
81
81
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
82
|
+
if (!('company' in value) || value['company'] === undefined) return false;
|
|
82
83
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
83
84
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
84
85
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -99,7 +100,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
99
100
|
return {
|
|
100
101
|
|
|
101
102
|
'id': json['id'] == null ? undefined : json['id'],
|
|
102
|
-
'company': json['company']
|
|
103
|
+
'company': json['company'],
|
|
103
104
|
'line1': json['line_1'],
|
|
104
105
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
105
106
|
'postcode': json['postcode'],
|