@digital8/lighting-illusions-ts-sdk 0.0.1632 → 0.0.1634
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +40 -24
- package/README.md +26 -16
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- 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/DestroyAttributeValueRequest.d.ts +1 -1
- 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/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- 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/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -0
- 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 +2 -1
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +1 -1
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- 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/LabelListResource.d.ts +0 -6
- package/dist/models/LabelListResource.js +0 -4
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -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/StoreFrontendResource.d.ts +1 -7
- package/dist/models/StoreFrontendResource.js +1 -5
- package/dist/models/StoreLabelRequest.d.ts +4 -4
- package/dist/models/StoreListResource.d.ts +0 -6
- package/dist/models/StoreListResource.js +0 -2
- 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/StoreResource.d.ts +0 -18
- package/dist/models/StoreResource.js +0 -6
- package/dist/models/StoreStoreRequest.d.ts +4 -22
- package/dist/models/StoreStoreRequest.js +3 -7
- 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 +4 -22
- package/dist/models/UpdateStoreRequest.js +3 -7
- 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 +19 -11
- package/dist/models/index.js +19 -11
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/LabelListResource.md +0 -2
- package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationAssetResource.md} +10 -6
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ProductChildStoreStockType.md → ProductRegistrationAssetType.md} +4 -4
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationLiteResource.md} +8 -8
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreApi.md +0 -124
- package/docs/StoreFrontendResource.md +0 -2
- package/docs/StoreListResource.md +0 -2
- package/docs/StoreResource.md +0 -6
- package/docs/StoreStoreRequest.md +1 -7
- package/docs/UpdateModelAttributeRequest.md +1 -1
- package/docs/UpdateStoreRequest.md +1 -7
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/StoreApi.ts +0 -84
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/DestroyAttributeValueRequest.ts +1 -1
- 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/GetAllProductRegistrationRequest.ts +137 -0
- 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/GlobalSearchProductResource.ts +9 -0
- 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 +2 -1
- package/src/models/IndexProductRangeRequest.ts +1 -1
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- 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/LabelListResource.ts +0 -9
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -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/StoreFrontendResource.ts +2 -11
- package/src/models/StoreLabelRequest.ts +4 -4
- package/src/models/StoreListResource.ts +0 -8
- 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/StoreResource.ts +0 -24
- package/src/models/StoreStoreRequest.ts +6 -29
- 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 +6 -29
- 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 +19 -11
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/ProductChildStoreStockType.d.ts +0 -25
- package/dist/models/ProductChildStoreStockType.js +0 -51
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
- package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
- package/docs/RedirectApi.md +0 -74
- package/docs/SaveMapStoreStockMigrationRequest.md +0 -34
- package/docs/SaveMapStoreStockMigrationRequestAssociationsInner.md +0 -38
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/ProductChildStoreStockType.ts +0 -53
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
|
@@ -10,7 +10,6 @@ Name | Type
|
|
|
10
10
|
`siteId` | number
|
|
11
11
|
`name` | string
|
|
12
12
|
`email` | string
|
|
13
|
-
`website` | string
|
|
14
13
|
`phone` | string
|
|
15
14
|
`address` | string
|
|
16
15
|
`latitude` | number
|
|
@@ -31,7 +30,6 @@ const example = {
|
|
|
31
30
|
"siteId": null,
|
|
32
31
|
"name": null,
|
|
33
32
|
"email": null,
|
|
34
|
-
"website": null,
|
|
35
33
|
"phone": null,
|
|
36
34
|
"address": null,
|
|
37
35
|
"latitude": null,
|
|
@@ -14,7 +14,6 @@ Name | Type
|
|
|
14
14
|
`latitude` | number
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
|
-
`website` | string
|
|
18
17
|
`openingHours` | string
|
|
19
18
|
|
|
20
19
|
## Example
|
|
@@ -32,7 +31,6 @@ const example = {
|
|
|
32
31
|
"latitude": null,
|
|
33
32
|
"tagLine": null,
|
|
34
33
|
"email": null,
|
|
35
|
-
"website": null,
|
|
36
34
|
"openingHours": null,
|
|
37
35
|
} satisfies StoreListResource
|
|
38
36
|
|
package/docs/StoreResource.md
CHANGED
|
@@ -14,9 +14,6 @@ Name | Type
|
|
|
14
14
|
`latitude` | number
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
|
-
`website` | string
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
17
|
`openingHours` | string
|
|
21
18
|
`suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
|
|
22
19
|
`address` | [AddressResource](AddressResource.md)
|
|
@@ -37,9 +34,6 @@ const example = {
|
|
|
37
34
|
"latitude": null,
|
|
38
35
|
"tagLine": null,
|
|
39
36
|
"email": null,
|
|
40
|
-
"website": null,
|
|
41
|
-
"netsuiteId": null,
|
|
42
|
-
"displayNetsuiteId": null,
|
|
43
37
|
"openingHours": null,
|
|
44
38
|
"suppliers": null,
|
|
45
39
|
"address": null,
|
|
@@ -13,10 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
-
`
|
|
17
|
-
`openingHours` | Array<string | null>
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
16
|
+
`openingHours` | Array<string>
|
|
20
17
|
`supplierIds` | Array<number>
|
|
21
18
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
22
19
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -35,10 +32,7 @@ const example = {
|
|
|
35
32
|
"latitude": null,
|
|
36
33
|
"tagLine": null,
|
|
37
34
|
"email": null,
|
|
38
|
-
"website": null,
|
|
39
35
|
"openingHours": null,
|
|
40
|
-
"netsuiteId": null,
|
|
41
|
-
"displayNetsuiteId": null,
|
|
42
36
|
"supplierIds": null,
|
|
43
37
|
"specialDates": null,
|
|
44
38
|
"address": null,
|
|
@@ -13,10 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
-
`
|
|
17
|
-
`openingHours` | Array<string | null>
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
16
|
+
`openingHours` | Array<string>
|
|
20
17
|
`supplierIds` | Array<number>
|
|
21
18
|
`specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
|
|
22
19
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -35,10 +32,7 @@ const example = {
|
|
|
35
32
|
"latitude": null,
|
|
36
33
|
"tagLine": null,
|
|
37
34
|
"email": null,
|
|
38
|
-
"website": null,
|
|
39
35
|
"openingHours": null,
|
|
40
|
-
"netsuiteId": null,
|
|
41
|
-
"displayNetsuiteId": null,
|
|
42
36
|
"supplierIds": null,
|
|
43
37
|
"specialDates": null,
|
|
44
38
|
"address": null,
|
package/package.json
CHANGED
|
@@ -0,0 +1,297 @@
|
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
GetAllProductRegistrationRequest,
|
|
19
|
+
IndexProductChildRequest,
|
|
20
|
+
IndexProductRegistrationRequest,
|
|
21
|
+
ListAssetsProductRegistrationRequest,
|
|
22
|
+
PaginatedProductChildListResourceResponse,
|
|
23
|
+
PaginatedProductRegistrationAssetResourceResponse,
|
|
24
|
+
PaginatedProductRegistrationListResourceResponse,
|
|
25
|
+
ProductRegistrationLiteResourceArrayResponse,
|
|
26
|
+
ProductRegistrationResource,
|
|
27
|
+
} from '../models/index';
|
|
28
|
+
import {
|
|
29
|
+
GetAllProductRegistrationRequestFromJSON,
|
|
30
|
+
GetAllProductRegistrationRequestToJSON,
|
|
31
|
+
IndexProductChildRequestFromJSON,
|
|
32
|
+
IndexProductChildRequestToJSON,
|
|
33
|
+
IndexProductRegistrationRequestFromJSON,
|
|
34
|
+
IndexProductRegistrationRequestToJSON,
|
|
35
|
+
ListAssetsProductRegistrationRequestFromJSON,
|
|
36
|
+
ListAssetsProductRegistrationRequestToJSON,
|
|
37
|
+
PaginatedProductChildListResourceResponseFromJSON,
|
|
38
|
+
PaginatedProductChildListResourceResponseToJSON,
|
|
39
|
+
PaginatedProductRegistrationAssetResourceResponseFromJSON,
|
|
40
|
+
PaginatedProductRegistrationAssetResourceResponseToJSON,
|
|
41
|
+
PaginatedProductRegistrationListResourceResponseFromJSON,
|
|
42
|
+
PaginatedProductRegistrationListResourceResponseToJSON,
|
|
43
|
+
ProductRegistrationLiteResourceArrayResponseFromJSON,
|
|
44
|
+
ProductRegistrationLiteResourceArrayResponseToJSON,
|
|
45
|
+
ProductRegistrationResourceFromJSON,
|
|
46
|
+
ProductRegistrationResourceToJSON,
|
|
47
|
+
} from '../models/index';
|
|
48
|
+
|
|
49
|
+
export interface GetAllProductRegistrationOperationRequest {
|
|
50
|
+
getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface IndexProductRegistrationOperationRequest {
|
|
54
|
+
indexProductRegistrationRequest?: IndexProductRegistrationRequest;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface ListAssetsProductRegistrationOperationRequest {
|
|
58
|
+
productRegistration: number;
|
|
59
|
+
listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface ListProductsProductRegistrationRequest {
|
|
63
|
+
productRegistration: number;
|
|
64
|
+
indexProductChildRequest?: IndexProductChildRequest;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ShowProductRegistrationRequest {
|
|
68
|
+
productRegistration: number;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export class ProductRegistrationApi extends runtime.BaseAPI {
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Creates request options for getAllProductRegistration without sending the request
|
|
78
|
+
*/
|
|
79
|
+
async getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts> {
|
|
80
|
+
const queryParameters: any = {};
|
|
81
|
+
|
|
82
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
83
|
+
|
|
84
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
let urlPath = `/admin-api/product-registration/all`;
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: GetAllProductRegistrationRequestToJSON(requestParameters['getAllProductRegistrationRequest']),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Auto-generated: getAllProductRegistration
|
|
100
|
+
*/
|
|
101
|
+
async getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>> {
|
|
102
|
+
const requestOptions = await this.getAllProductRegistrationRequestOpts(requestParameters);
|
|
103
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
104
|
+
|
|
105
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRegistrationLiteResourceArrayResponseFromJSON(jsonValue));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Auto-generated: getAllProductRegistration
|
|
110
|
+
*/
|
|
111
|
+
async getAllProductRegistration(requestParameters: GetAllProductRegistrationOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse> {
|
|
112
|
+
const response = await this.getAllProductRegistrationRaw(requestParameters, initOverrides);
|
|
113
|
+
return await response.value();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for indexProductRegistration without sending the request
|
|
118
|
+
*/
|
|
119
|
+
async indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts> {
|
|
120
|
+
const queryParameters: any = {};
|
|
121
|
+
|
|
122
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
123
|
+
|
|
124
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
let urlPath = `/admin-api/product-registration/list`;
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
path: urlPath,
|
|
131
|
+
method: 'POST',
|
|
132
|
+
headers: headerParameters,
|
|
133
|
+
query: queryParameters,
|
|
134
|
+
body: IndexProductRegistrationRequestToJSON(requestParameters['indexProductRegistrationRequest']),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Auto-generated: indexProductRegistration
|
|
140
|
+
*/
|
|
141
|
+
async indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>> {
|
|
142
|
+
const requestOptions = await this.indexProductRegistrationRequestOpts(requestParameters);
|
|
143
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
144
|
+
|
|
145
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductRegistrationListResourceResponseFromJSON(jsonValue));
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Auto-generated: indexProductRegistration
|
|
150
|
+
*/
|
|
151
|
+
async indexProductRegistration(requestParameters: IndexProductRegistrationOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse> {
|
|
152
|
+
const response = await this.indexProductRegistrationRaw(requestParameters, initOverrides);
|
|
153
|
+
return await response.value();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Creates request options for listAssetsProductRegistration without sending the request
|
|
158
|
+
*/
|
|
159
|
+
async listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts> {
|
|
160
|
+
if (requestParameters['productRegistration'] == null) {
|
|
161
|
+
throw new runtime.RequiredError(
|
|
162
|
+
'productRegistration',
|
|
163
|
+
'Required parameter "productRegistration" was null or undefined when calling listAssetsProductRegistration().'
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const queryParameters: any = {};
|
|
168
|
+
|
|
169
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
170
|
+
|
|
171
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
let urlPath = `/admin-api/product-registration/{productRegistration}/assets`;
|
|
175
|
+
urlPath = urlPath.replace(`{${"productRegistration"}}`, encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
176
|
+
|
|
177
|
+
return {
|
|
178
|
+
path: urlPath,
|
|
179
|
+
method: 'POST',
|
|
180
|
+
headers: headerParameters,
|
|
181
|
+
query: queryParameters,
|
|
182
|
+
body: ListAssetsProductRegistrationRequestToJSON(requestParameters['listAssetsProductRegistrationRequest']),
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Auto-generated: listAssetsProductRegistration
|
|
188
|
+
*/
|
|
189
|
+
async listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>> {
|
|
190
|
+
const requestOptions = await this.listAssetsProductRegistrationRequestOpts(requestParameters);
|
|
191
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
192
|
+
|
|
193
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductRegistrationAssetResourceResponseFromJSON(jsonValue));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Auto-generated: listAssetsProductRegistration
|
|
198
|
+
*/
|
|
199
|
+
async listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse> {
|
|
200
|
+
const response = await this.listAssetsProductRegistrationRaw(requestParameters, initOverrides);
|
|
201
|
+
return await response.value();
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Creates request options for listProductsProductRegistration without sending the request
|
|
206
|
+
*/
|
|
207
|
+
async listProductsProductRegistrationRequestOpts(requestParameters: ListProductsProductRegistrationRequest): Promise<runtime.RequestOpts> {
|
|
208
|
+
if (requestParameters['productRegistration'] == null) {
|
|
209
|
+
throw new runtime.RequiredError(
|
|
210
|
+
'productRegistration',
|
|
211
|
+
'Required parameter "productRegistration" was null or undefined when calling listProductsProductRegistration().'
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const queryParameters: any = {};
|
|
216
|
+
|
|
217
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
218
|
+
|
|
219
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
let urlPath = `/admin-api/product-registration/{productRegistration}/product/list`;
|
|
223
|
+
urlPath = urlPath.replace(`{${"productRegistration"}}`, encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
224
|
+
|
|
225
|
+
return {
|
|
226
|
+
path: urlPath,
|
|
227
|
+
method: 'POST',
|
|
228
|
+
headers: headerParameters,
|
|
229
|
+
query: queryParameters,
|
|
230
|
+
body: IndexProductChildRequestToJSON(requestParameters['indexProductChildRequest']),
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Auto-generated: listProductsProductRegistration
|
|
236
|
+
*/
|
|
237
|
+
async listProductsProductRegistrationRaw(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
238
|
+
const requestOptions = await this.listProductsProductRegistrationRequestOpts(requestParameters);
|
|
239
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
240
|
+
|
|
241
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Auto-generated: listProductsProductRegistration
|
|
246
|
+
*/
|
|
247
|
+
async listProductsProductRegistration(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse> {
|
|
248
|
+
const response = await this.listProductsProductRegistrationRaw(requestParameters, initOverrides);
|
|
249
|
+
return await response.value();
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Creates request options for showProductRegistration without sending the request
|
|
254
|
+
*/
|
|
255
|
+
async showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts> {
|
|
256
|
+
if (requestParameters['productRegistration'] == null) {
|
|
257
|
+
throw new runtime.RequiredError(
|
|
258
|
+
'productRegistration',
|
|
259
|
+
'Required parameter "productRegistration" was null or undefined when calling showProductRegistration().'
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const queryParameters: any = {};
|
|
264
|
+
|
|
265
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
let urlPath = `/admin-api/product-registration/{productRegistration}`;
|
|
269
|
+
urlPath = urlPath.replace(`{${"productRegistration"}}`, encodeURIComponent(String(requestParameters['productRegistration'])));
|
|
270
|
+
|
|
271
|
+
return {
|
|
272
|
+
path: urlPath,
|
|
273
|
+
method: 'GET',
|
|
274
|
+
headers: headerParameters,
|
|
275
|
+
query: queryParameters,
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Auto-generated: showProductRegistration
|
|
281
|
+
*/
|
|
282
|
+
async showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>> {
|
|
283
|
+
const requestOptions = await this.showProductRegistrationRequestOpts(requestParameters);
|
|
284
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
285
|
+
|
|
286
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRegistrationResourceFromJSON(jsonValue));
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Auto-generated: showProductRegistration
|
|
291
|
+
*/
|
|
292
|
+
async showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource> {
|
|
293
|
+
const response = await this.showProductRegistrationRaw(requestParameters, initOverrides);
|
|
294
|
+
return await response.value();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
}
|
package/src/apis/StoreApi.ts
CHANGED
|
@@ -21,7 +21,6 @@ import type {
|
|
|
21
21
|
GetAllStoreRequest,
|
|
22
22
|
IndexStoreRequest,
|
|
23
23
|
PaginatedStoreListResourceResponse,
|
|
24
|
-
SaveMapStoreStockMigrationRequest,
|
|
25
24
|
StoreListResourceArrayResponse,
|
|
26
25
|
StoreResource,
|
|
27
26
|
StoreSpecialDateResource,
|
|
@@ -42,8 +41,6 @@ import {
|
|
|
42
41
|
IndexStoreRequestToJSON,
|
|
43
42
|
PaginatedStoreListResourceResponseFromJSON,
|
|
44
43
|
PaginatedStoreListResourceResponseToJSON,
|
|
45
|
-
SaveMapStoreStockMigrationRequestFromJSON,
|
|
46
|
-
SaveMapStoreStockMigrationRequestToJSON,
|
|
47
44
|
StoreListResourceArrayResponseFromJSON,
|
|
48
45
|
StoreListResourceArrayResponseToJSON,
|
|
49
46
|
StoreResourceFromJSON,
|
|
@@ -85,10 +82,6 @@ export interface IndexStoreOperationRequest {
|
|
|
85
82
|
indexStoreRequest?: IndexStoreRequest;
|
|
86
83
|
}
|
|
87
84
|
|
|
88
|
-
export interface SaveMapStoreStockMigrationOperationRequest {
|
|
89
|
-
saveMapStoreStockMigrationRequest?: SaveMapStoreStockMigrationRequest;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
85
|
export interface ShowStoreRequest {
|
|
93
86
|
store: number;
|
|
94
87
|
}
|
|
@@ -392,83 +385,6 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
392
385
|
return await response.value();
|
|
393
386
|
}
|
|
394
387
|
|
|
395
|
-
/**
|
|
396
|
-
* Creates request options for optionsStoreStockMigration without sending the request
|
|
397
|
-
*/
|
|
398
|
-
async optionsStoreStockMigrationRequestOpts(): Promise<runtime.RequestOpts> {
|
|
399
|
-
const queryParameters: any = {};
|
|
400
|
-
|
|
401
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
let urlPath = `/admin-api/store/stock-migration/options`;
|
|
405
|
-
|
|
406
|
-
return {
|
|
407
|
-
path: urlPath,
|
|
408
|
-
method: 'GET',
|
|
409
|
-
headers: headerParameters,
|
|
410
|
-
query: queryParameters,
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Auto-generated: optionsStoreStockMigration
|
|
416
|
-
*/
|
|
417
|
-
async optionsStoreStockMigrationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
418
|
-
const requestOptions = await this.optionsStoreStockMigrationRequestOpts();
|
|
419
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
420
|
-
|
|
421
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Auto-generated: optionsStoreStockMigration
|
|
426
|
-
*/
|
|
427
|
-
async optionsStoreStockMigration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
428
|
-
const response = await this.optionsStoreStockMigrationRaw(initOverrides);
|
|
429
|
-
return await response.value();
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Creates request options for saveMapStoreStockMigration without sending the request
|
|
434
|
-
*/
|
|
435
|
-
async saveMapStoreStockMigrationRequestOpts(requestParameters: SaveMapStoreStockMigrationOperationRequest): Promise<runtime.RequestOpts> {
|
|
436
|
-
const queryParameters: any = {};
|
|
437
|
-
|
|
438
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
439
|
-
|
|
440
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
let urlPath = `/admin-api/store/stock-migration/save-map`;
|
|
444
|
-
|
|
445
|
-
return {
|
|
446
|
-
path: urlPath,
|
|
447
|
-
method: 'POST',
|
|
448
|
-
headers: headerParameters,
|
|
449
|
-
query: queryParameters,
|
|
450
|
-
body: SaveMapStoreStockMigrationRequestToJSON(requestParameters['saveMapStoreStockMigrationRequest']),
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* Auto-generated: saveMapStoreStockMigration
|
|
456
|
-
*/
|
|
457
|
-
async saveMapStoreStockMigrationRaw(requestParameters: SaveMapStoreStockMigrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
458
|
-
const requestOptions = await this.saveMapStoreStockMigrationRequestOpts(requestParameters);
|
|
459
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
460
|
-
|
|
461
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* Auto-generated: saveMapStoreStockMigration
|
|
466
|
-
*/
|
|
467
|
-
async saveMapStoreStockMigration(requestParameters: SaveMapStoreStockMigrationOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
468
|
-
const response = await this.saveMapStoreStockMigrationRaw(requestParameters, initOverrides);
|
|
469
|
-
return await response.value();
|
|
470
|
-
}
|
|
471
|
-
|
|
472
388
|
/**
|
|
473
389
|
* Creates request options for showStore without sending the request
|
|
474
390
|
*/
|
package/src/apis/index.ts
CHANGED
|
@@ -12,8 +12,8 @@ export * from './OverlayTemplateApi';
|
|
|
12
12
|
export * from './ProductApi';
|
|
13
13
|
export * from './ProductCategoryApi';
|
|
14
14
|
export * from './ProductRangeApi';
|
|
15
|
+
export * from './ProductRegistrationApi';
|
|
15
16
|
export * from './ProductTypeApi';
|
|
16
|
-
export * from './RedirectApi';
|
|
17
17
|
export * from './SiteApi';
|
|
18
18
|
export * from './StoreApi';
|
|
19
19
|
export * from './SupplierApi';
|
|
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof AddressFrontendResource
|
|
26
26
|
*/
|
|
27
|
-
company
|
|
27
|
+
company: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -73,6 +73,7 @@ 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;
|
|
76
77
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
77
78
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
78
79
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -92,7 +93,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
92
93
|
}
|
|
93
94
|
return {
|
|
94
95
|
|
|
95
|
-
'company': json['company']
|
|
96
|
+
'company': json['company'],
|
|
96
97
|
'line1': json['line1'],
|
|
97
98
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
98
99
|
'postcode': json['postcode'],
|