@digital8/lighting-illusions-ts-sdk 0.0.2382 → 0.0.2384
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 +83 -666
- package/.openapi-generator/VERSION +1 -1
- package/README.md +28 -967
- package/dist/apis/AdminApi.d.ts +1 -20
- package/dist/apis/AdminApi.js +57 -112
- package/dist/apis/AdminsApi.d.ts +109 -0
- package/dist/apis/AdminsApi.js +453 -0
- package/dist/apis/AssetApi.d.ts +1 -22
- package/dist/apis/AssetApi.js +63 -120
- package/dist/apis/AttributeApi.d.ts +1 -90
- package/dist/apis/AttributeApi.js +273 -515
- package/dist/apis/AuthApi.d.ts +67 -0
- package/dist/apis/AuthApi.js +299 -0
- package/dist/apis/BlogCategoryApi.d.ts +1 -32
- package/dist/apis/BlogCategoryApi.js +93 -178
- package/dist/apis/CartsApi.d.ts +1 -59
- package/dist/apis/CartsApi.js +207 -373
- package/dist/apis/CouponsApi.d.ts +85 -0
- package/dist/apis/CouponsApi.js +355 -0
- package/dist/apis/CustomersApi.d.ts +70 -14
- package/dist/apis/CustomersApi.js +323 -76
- package/dist/apis/DefinitionApi.d.ts +1 -32
- package/dist/apis/DefinitionApi.js +93 -178
- package/dist/apis/DocumentApi.d.ts +1 -48
- package/dist/apis/DocumentApi.js +143 -271
- package/dist/apis/ExternalApiLogApi.d.ts +1 -12
- package/dist/apis/ExternalApiLogApi.js +29 -58
- package/dist/apis/FrontendComponentApi.d.ts +1 -6
- package/dist/apis/FrontendComponentApi.js +15 -29
- package/dist/apis/GoogleCategoryApi.d.ts +1 -6
- package/dist/apis/GoogleCategoryApi.js +15 -29
- package/dist/apis/LabelApi.d.ts +1 -31
- package/dist/apis/LabelApi.js +93 -177
- package/dist/apis/MenuApi.d.ts +1 -32
- package/dist/apis/MenuApi.js +93 -178
- package/dist/apis/MenuItemsApi.d.ts +1 -37
- package/dist/apis/MenuItemsApi.js +107 -206
- package/dist/apis/OrdersApi.d.ts +1 -70
- package/dist/apis/OrdersApi.js +233 -428
- package/dist/apis/OverlayTemplateApi.d.ts +1 -66
- package/dist/apis/OverlayTemplateApi.js +215 -397
- package/dist/apis/PageApi.d.ts +1 -32
- package/dist/apis/PageApi.js +93 -178
- package/dist/apis/PageComponentApi.d.ts +1 -26
- package/dist/apis/PageComponentApi.js +79 -149
- package/dist/apis/PermissionsApi.d.ts +51 -0
- package/dist/apis/PermissionsApi.js +216 -0
- package/dist/apis/ProductApi.d.ts +1 -116
- package/dist/apis/ProductApi.js +383 -705
- package/dist/apis/ProductCategoryApi.d.ts +1 -67
- package/dist/apis/ProductCategoryApi.js +209 -392
- package/dist/apis/ProductClassApi.d.ts +1 -6
- package/dist/apis/ProductClassApi.js +15 -29
- package/dist/apis/ProductRangeApi.d.ts +1 -80
- package/dist/apis/ProductRangeApi.js +273 -496
- package/dist/apis/ProductRegistrationApi.d.ts +1 -29
- package/dist/apis/ProductRegistrationApi.js +81 -154
- package/dist/apis/ProductTypeApi.d.ts +1 -45
- package/dist/apis/ProductTypeApi.js +149 -274
- package/dist/apis/RedirectApi.d.ts +1 -6
- package/dist/apis/RedirectApi.js +15 -29
- package/dist/apis/ReviewApi.d.ts +1 -48
- package/dist/apis/ReviewApi.js +135 -263
- package/dist/apis/RolesApi.d.ts +133 -0
- package/dist/apis/RolesApi.js +551 -0
- package/dist/apis/SiteApi.d.ts +1 -48
- package/dist/apis/SiteApi.js +141 -269
- package/dist/apis/StoreApi.d.ts +1 -56
- package/dist/apis/StoreApi.js +189 -343
- package/dist/apis/SupplierApi.d.ts +1 -50
- package/dist/apis/SupplierApi.js +174 -313
- package/dist/apis/TagApi.d.ts +1 -41
- package/dist/apis/TagApi.js +131 -243
- package/dist/apis/TransactionsApi.d.ts +1 -18
- package/dist/apis/TransactionsApi.js +47 -91
- package/dist/apis/index.d.ts +5 -0
- package/dist/apis/index.js +5 -0
- 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/AddressType.d.ts +2 -0
- package/dist/models/AddressType.js +3 -1
- package/dist/models/AdminListResource.d.ts +52 -0
- package/dist/models/AdminListResource.js +64 -0
- package/dist/models/AdminListResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminListResourceArrayResponse.js +50 -0
- package/dist/models/AdminLiteResource.d.ts +39 -0
- package/dist/models/AdminLiteResource.js +56 -0
- package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
- package/dist/models/AdminLoginResponseResource.d.ts +39 -0
- package/dist/models/AdminLoginResponseResource.js +56 -0
- package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminLoginResponseResourceArrayResponse.js +50 -0
- package/dist/models/AdminNoteResource.d.ts +3 -3
- package/dist/models/AdminNoteResource.js +6 -5
- package/dist/models/AdminOrderResource.d.ts +3 -3
- package/dist/models/AdminOrderResource.js +7 -6
- package/dist/models/AdminResource.d.ts +64 -0
- package/dist/models/AdminResource.js +70 -0
- package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminResourceArrayResponse.js +50 -0
- package/dist/models/AdminUserLiteResource.d.ts +1 -1
- package/dist/models/AdminUserLiteResource.js +3 -1
- package/dist/models/AttachAdminsToRoleRequest.d.ts +32 -0
- package/dist/models/AttachAdminsToRoleRequest.js +51 -0
- package/dist/models/AttachDocumentablesToDocumentRequestDocumentablesInner.d.ts +1 -1
- package/dist/models/AttachPermissionsToRoleRequest.d.ts +32 -0
- package/dist/models/AttachPermissionsToRoleRequest.js +51 -0
- package/dist/models/AttachRolesToAdminRequest.d.ts +32 -0
- package/dist/models/AttachRolesToAdminRequest.js +51 -0
- package/dist/models/BlogFrontendDetailResource.js +2 -1
- package/dist/models/BlogFrontendResource.js +2 -1
- package/dist/models/CartListResource.js +4 -3
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +8 -7
- package/dist/models/CheckEmailFrontendResource.d.ts +32 -0
- package/dist/models/CheckEmailFrontendResource.js +51 -0
- package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CheckEmailFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CouponListResource.d.ts +99 -0
- package/dist/models/CouponListResource.js +91 -0
- package/dist/models/CouponListResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponListResourceArrayResponse.js +50 -0
- package/dist/models/CouponLiteResource.d.ts +44 -0
- package/dist/models/CouponLiteResource.js +57 -0
- package/dist/models/CouponLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponLiteResourceArrayResponse.js +50 -0
- package/dist/models/CouponResource.d.ts +163 -0
- package/dist/models/CouponResource.js +135 -0
- package/dist/models/CouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponResourceArrayResponse.js +50 -0
- package/dist/models/CouponType.d.ts +26 -0
- package/dist/models/CouponType.js +52 -0
- package/dist/models/CreateAdminUserRequest.d.ts +56 -0
- package/dist/models/CreateAdminUserRequest.js +65 -0
- package/dist/models/CreateAssetForAssetableRequest.d.ts +1 -1
- package/dist/models/CreateAttributeRequest.d.ts +1 -1
- package/dist/models/CreateCartRequest.d.ts +2 -2
- package/dist/models/CreateCouponRequest.d.ts +126 -0
- package/dist/models/CreateCouponRequest.js +107 -0
- package/dist/models/CreateCouponRequestCouponablesInner.d.ts +48 -0
- package/dist/models/CreateCouponRequestCouponablesInner.js +61 -0
- package/dist/models/CreateCustomerAddressRequest.d.ts +90 -0
- package/dist/models/CreateCustomerAddressRequest.js +83 -0
- package/dist/models/CreateCustomerRequest.d.ts +24 -6
- package/dist/models/CreateCustomerRequest.js +12 -6
- package/dist/models/CreateLabelRequest.js +3 -2
- package/dist/models/CreateMenuItemRequest.d.ts +1 -1
- package/dist/models/CreateMenuItemRequestMenuItemLink.d.ts +1 -1
- package/dist/models/CreateMenuRequest.d.ts +1 -1
- package/dist/models/CreateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/CreatePageRequest.d.ts +1 -1
- package/dist/models/CreatePageRequest.js +2 -1
- package/dist/models/CreateProductCategoryRequest.d.ts +1 -1
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -2
- package/dist/models/CreateProductChildRequest.js +2 -2
- package/dist/models/CreateReviewRequest.js +1 -1
- package/dist/models/CreateRoleRequest.d.ts +38 -0
- package/dist/models/CreateRoleRequest.js +55 -0
- package/dist/models/CreateSiteNotificationRequest.js +2 -2
- package/dist/models/CreateStoreRequestSpecialDatesInner.js +4 -3
- package/dist/models/CreateTagRequest.d.ts +1 -1
- package/dist/models/CreateTransactionRequest.d.ts +1 -1
- package/dist/models/CustomerAuthResponseResource.d.ts +39 -0
- package/dist/models/CustomerAuthResponseResource.js +56 -0
- package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerAuthResponseResourceArrayResponse.js +50 -0
- package/dist/models/CustomerFrontendResource.d.ts +70 -0
- package/dist/models/CustomerFrontendResource.js +75 -0
- package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CustomerListResource.d.ts +27 -8
- package/dist/models/CustomerListResource.js +25 -13
- package/dist/models/CustomerResource.d.ts +45 -11
- package/dist/models/CustomerResource.js +37 -16
- package/dist/models/CustomerSocialLinkableResource.d.ts +38 -0
- package/dist/models/CustomerSocialLinkableResource.js +55 -0
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +50 -0
- package/dist/models/CustomerSocialProviderLiteResource.d.ts +50 -0
- package/dist/models/CustomerSocialProviderLiteResource.js +61 -0
- package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.js +50 -0
- package/dist/models/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +51 -0
- package/dist/models/DetachDocumentablesFromDocumentRequestDocumentablesInner.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/ForgotPasswordAdminRequest.d.ts +32 -0
- package/dist/models/ForgotPasswordAdminRequest.js +51 -0
- package/dist/models/FrontendOrderResource.js +1 -1
- package/dist/models/GetUniqueEndpointsRequest.d.ts +1 -1
- package/dist/models/LabelListResource.js +3 -2
- package/dist/models/LabelResource.js +3 -2
- package/dist/models/LoginAdminRequest.d.ts +38 -0
- package/dist/models/LoginAdminRequest.js +55 -0
- package/dist/models/NetsuiteSyncLiteResource.d.ts +44 -0
- package/dist/models/NetsuiteSyncLiteResource.js +59 -0
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +50 -0
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +7 -4
- package/dist/models/OrderListResource.js +3 -2
- package/dist/models/OrderLiteResource.js +1 -1
- package/dist/models/PageComponentResource.js +3 -2
- package/dist/models/PageFrontendDetailResource.js +2 -1
- package/dist/models/PageListResource.js +2 -1
- package/dist/models/PageResource.js +2 -1
- package/dist/models/PaginatedAdminListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAdminListResourceResponse.js +57 -0
- package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAdminLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedCouponListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponListResourceResponse.js +57 -0
- package/dist/models/PaginatedCouponResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponResourceResponse.js +57 -0
- package/dist/models/PaginatedPermissionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPermissionListResourceResponse.js +57 -0
- package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPermissionLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleListResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
- package/dist/models/PermissionListResource.d.ts +44 -0
- package/dist/models/PermissionListResource.js +56 -0
- package/dist/models/PermissionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionListResourceArrayResponse.js +50 -0
- package/dist/models/PermissionLiteResource.d.ts +38 -0
- package/dist/models/PermissionLiteResource.js +53 -0
- package/dist/models/PermissionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionLiteResourceArrayResponse.js +50 -0
- package/dist/models/PermissionResource.d.ts +56 -0
- package/dist/models/PermissionResource.js +62 -0
- package/dist/models/PermissionResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionResourceArrayResponse.js +50 -0
- package/dist/models/PreviewAutomationRulesRequest.d.ts +1 -1
- package/dist/models/ProductRegistrationListResource.js +3 -2
- package/dist/models/ProductRegistrationLiteResource.js +1 -1
- package/dist/models/ProductRegistrationResource.js +4 -3
- package/dist/models/ResetPasswordAdminRequest.d.ts +44 -0
- package/dist/models/ResetPasswordAdminRequest.js +59 -0
- package/dist/models/ReviewListResource.js +4 -3
- package/dist/models/ReviewPublicResource.js +1 -1
- package/dist/models/ReviewResource.js +5 -4
- package/dist/models/RoleListResource.d.ts +74 -0
- package/dist/models/RoleListResource.js +74 -0
- package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleListResourceArrayResponse.js +50 -0
- package/dist/models/RoleLiteResource.d.ts +44 -0
- package/dist/models/RoleLiteResource.js +57 -0
- package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
- package/dist/models/RoleResource.d.ts +82 -0
- package/dist/models/RoleResource.js +80 -0
- package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleResourceArrayResponse.js +50 -0
- package/dist/models/SearchAdminNotesRequest.d.ts +2 -2
- package/dist/models/SearchAdminUsersRequest.d.ts +112 -0
- package/dist/models/SearchAdminUsersRequest.js +88 -0
- package/dist/models/SearchAllAdminUsersRequest.d.ts +88 -0
- package/dist/models/SearchAllAdminUsersRequest.js +80 -0
- package/dist/models/SearchAllAttributeValuesRequest.d.ts +3 -3
- package/dist/models/SearchAllAttributesRequest.d.ts +3 -3
- package/dist/models/SearchAllBlogCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchAllCouponsRequest.d.ts +101 -0
- package/dist/models/SearchAllCouponsRequest.js +85 -0
- package/dist/models/SearchAllCustomersRequest.d.ts +103 -0
- package/dist/models/SearchAllCustomersRequest.js +89 -0
- package/dist/models/SearchAllDefinitionsRequest.d.ts +2 -2
- package/dist/models/SearchAllDocumentsRequest.d.ts +3 -3
- package/dist/models/SearchAllFrontendComponentsRequest.d.ts +3 -3
- package/dist/models/SearchAllMenuItemsRequest.d.ts +2 -2
- package/dist/models/SearchAllMenusRequest.d.ts +2 -2
- package/dist/models/SearchAllOrdersRequest.d.ts +2 -2
- package/dist/models/SearchAllOverlayTemplatesRequest.d.ts +3 -3
- package/dist/models/SearchAllPageComponentsRequest.d.ts +2 -2
- package/dist/models/SearchAllPagesRequest.d.ts +2 -2
- package/dist/models/SearchAllPermissionsRequest.d.ts +85 -0
- package/dist/models/SearchAllPermissionsRequest.js +77 -0
- package/dist/models/SearchAllProductCategoriesRequest.d.ts +3 -3
- package/dist/models/SearchAllProductChildrenRequest.d.ts +3 -3
- package/dist/models/SearchAllProductClassesRequest.d.ts +2 -2
- package/dist/models/SearchAllProductRangesRequest.d.ts +2 -2
- package/dist/models/SearchAllProductRegistrationsRequest.d.ts +2 -2
- package/dist/models/SearchAllProductTypesRequest.d.ts +3 -3
- package/dist/models/SearchAllProductsRequest.d.ts +3 -3
- package/dist/models/SearchAllRolesRequest.d.ts +94 -0
- package/dist/models/SearchAllRolesRequest.js +82 -0
- package/dist/models/SearchAllStoresRequest.d.ts +2 -2
- package/dist/models/SearchAllSuppliersRequest.d.ts +3 -3
- package/dist/models/SearchAttributeValuesRequest.d.ts +3 -3
- package/dist/models/SearchAttributesRequest.d.ts +3 -3
- package/dist/models/SearchBlogCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchCartsRequest.d.ts +8 -2
- package/dist/models/SearchCartsRequest.js +8 -6
- package/dist/models/SearchCouponsRequest.d.ts +137 -0
- package/dist/models/SearchCouponsRequest.js +97 -0
- package/dist/models/SearchCustomersRequest.d.ts +33 -5
- package/dist/models/SearchCustomersRequest.js +15 -3
- package/dist/models/SearchDefinitionsRequest.d.ts +2 -2
- package/dist/models/SearchDocumentsRequest.d.ts +3 -3
- package/dist/models/SearchExternalApiLogsRequest.d.ts +2 -2
- package/dist/models/SearchExternalApiLogsRequest.js +2 -2
- package/dist/models/SearchGoogleCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchLabelsRequest.d.ts +3 -3
- package/dist/models/SearchLinkablesRequest.d.ts +1 -1
- package/dist/models/SearchMenusRequest.d.ts +2 -2
- package/dist/models/SearchModelAttributesRequest.d.ts +3 -3
- package/dist/models/SearchOrderFulfillmentsRequest.d.ts +2 -2
- package/dist/models/SearchOrderFulfillmentsRequest.js +4 -4
- package/dist/models/SearchOrdersRequest.d.ts +8 -2
- package/dist/models/SearchOrdersRequest.js +8 -6
- package/dist/models/SearchOverlayTemplatesRequest.d.ts +3 -3
- package/dist/models/SearchPagesRequest.d.ts +3 -3
- package/dist/models/SearchPermissionsRequest.d.ts +97 -0
- package/dist/models/SearchPermissionsRequest.js +81 -0
- package/dist/models/SearchProductCategoriesRequest.d.ts +3 -3
- package/dist/models/SearchProductChildAttributesRequest.d.ts +2 -2
- package/dist/models/SearchProductChildrenRequest.d.ts +4 -4
- package/dist/models/SearchProductRangesRequest.d.ts +2 -2
- package/dist/models/SearchProductRegistrationAssetsRequest.d.ts +2 -2
- package/dist/models/SearchProductRegistrationsRequest.d.ts +3 -3
- package/dist/models/SearchProductRegistrationsRequest.js +4 -4
- package/dist/models/SearchProductTypesRequest.d.ts +3 -3
- package/dist/models/SearchProductsRequest.d.ts +3 -3
- package/dist/models/SearchRedirectsRequest.d.ts +3 -3
- package/dist/models/SearchReviewsRequest.d.ts +2 -2
- package/dist/models/SearchRolesRequest.d.ts +106 -0
- package/dist/models/SearchRolesRequest.js +86 -0
- package/dist/models/SearchSiteNotificationsRequest.d.ts +2 -2
- package/dist/models/SearchSitesRequest.d.ts +2 -2
- package/dist/models/SearchStoresRequest.d.ts +2 -2
- package/dist/models/SearchSuppliersRequest.d.ts +3 -3
- package/dist/models/SearchTagsRequest.d.ts +3 -3
- package/dist/models/SearchTransactionsRequest.d.ts +3 -3
- package/dist/models/SearchTransactionsRequest.js +2 -2
- package/dist/models/SignUpType.d.ts +29 -0
- package/dist/models/SignUpType.js +55 -0
- package/dist/models/SocialProvider.d.ts +26 -0
- package/dist/models/SocialProvider.js +52 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- 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 +1 -3
- package/dist/models/StoreSpecialDateRequest.js +4 -3
- package/dist/models/TransactionListResource.js +2 -1
- package/dist/models/TransactionLiteResource.js +2 -1
- package/dist/models/TransactionResource.js +2 -1
- package/dist/models/UnlinkOverlayTemplateFromAssetableRequest.d.ts +1 -1
- package/dist/models/UpdateAdminUserRequest.d.ts +56 -0
- package/dist/models/UpdateAdminUserRequest.js +63 -0
- package/dist/models/UpdateAttributeProductTypeRequest.d.ts +1 -1
- package/dist/models/UpdateAttributeRequest.d.ts +1 -1
- package/dist/models/UpdateCartRequest.d.ts +2 -2
- package/dist/models/UpdateCouponRequest.d.ts +120 -0
- package/dist/models/UpdateCouponRequest.js +103 -0
- package/dist/models/UpdateCustomerAddressRequest.d.ts +90 -0
- package/dist/models/UpdateCustomerAddressRequest.js +83 -0
- package/dist/models/UpdateCustomerRequest.d.ts +68 -0
- package/dist/models/UpdateCustomerRequest.js +67 -0
- package/dist/models/UpdateLabelRequest.js +3 -2
- package/dist/models/UpdateMenuItemRequest.d.ts +1 -1
- package/dist/models/UpdateMenuRequest.d.ts +1 -1
- package/dist/models/UpdateOrderRequest.d.ts +2 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/UpdatePageRequest.js +2 -1
- package/dist/models/UpdateProductCategoryRequest.d.ts +1 -1
- package/dist/models/UpdateProductChildRequest.js +2 -2
- package/dist/models/UpdateProductTypeAttributeRequest.d.ts +1 -1
- package/dist/models/UpdateReviewRequest.js +1 -1
- package/dist/models/UpdateRoleRequest.d.ts +38 -0
- package/dist/models/UpdateRoleRequest.js +55 -0
- package/dist/models/UpdateSiteNotificationRequest.js +2 -2
- package/dist/models/UpdateSiteRequest.d.ts +2 -10
- package/dist/models/UpdateSiteRequest.js +0 -8
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +3 -2
- package/dist/models/UpdateTagRequest.d.ts +1 -1
- package/dist/models/UserLiteResource.d.ts +62 -0
- package/dist/models/UserLiteResource.js +69 -0
- package/dist/models/UserLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserLiteResourceArrayResponse.js +50 -0
- package/dist/models/UserType.d.ts +25 -0
- package/dist/models/UserType.js +51 -0
- package/dist/models/index.d.ts +78 -0
- package/dist/models/index.js +78 -0
- package/dist/runtime.js +1 -19
- package/package.json +2 -2
- package/src/apis/AdminApi.ts +24 -59
- package/src/apis/AdminsApi.ts +384 -0
- package/src/apis/AssetApi.ts +28 -67
- package/src/apis/AttributeApi.ts +104 -279
- package/src/apis/AuthApi.ts +211 -0
- package/src/apis/BlogCategoryApi.ts +39 -98
- package/src/apis/CartsApi.ts +75 -188
- package/src/apis/CouponsApi.ts +286 -0
- package/src/apis/CustomersApi.ts +307 -42
- package/src/apis/DefinitionApi.ts +39 -98
- package/src/apis/DocumentApi.ts +57 -148
- package/src/apis/ExternalApiLogApi.ts +16 -35
- package/src/apis/FrontendComponentApi.ts +10 -17
- package/src/apis/GoogleCategoryApi.ts +10 -17
- package/src/apis/LabelApi.ts +38 -95
- package/src/apis/MenuApi.ts +39 -98
- package/src/apis/MenuItemsApi.ts +44 -113
- package/src/apis/OrdersApi.ts +86 -221
- package/src/apis/OverlayTemplateApi.ts +80 -207
- package/src/apis/PageApi.ts +39 -98
- package/src/apis/PageComponentApi.ts +33 -80
- package/src/apis/PermissionsApi.ts +155 -0
- package/src/apis/ProductApi.ts +138 -365
- package/src/apis/ProductCategoryApi.ts +79 -208
- package/src/apis/ProductClassApi.ts +10 -17
- package/src/apis/ProductRangeApi.ts +97 -252
- package/src/apis/ProductRegistrationApi.ts +36 -89
- package/src/apis/ProductTypeApi.ts +56 -141
- package/src/apis/RedirectApi.ts +10 -17
- package/src/apis/ReviewApi.ts +55 -146
- package/src/apis/RolesApi.ts +482 -0
- package/src/apis/SiteApi.ts +57 -148
- package/src/apis/StoreApi.ts +70 -177
- package/src/apis/SupplierApi.ts +60 -155
- package/src/apis/TagApi.ts +51 -128
- package/src/apis/TransactionsApi.ts +23 -54
- package/src/apis/index.ts +5 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AddressType.ts +3 -1
- package/src/models/AdminListResource.ts +107 -0
- package/src/models/AdminListResourceArrayResponse.ts +73 -0
- package/src/models/AdminLiteResource.ts +83 -0
- package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
- package/src/models/AdminLoginResponseResource.ts +83 -0
- package/src/models/AdminLoginResponseResourceArrayResponse.ts +73 -0
- package/src/models/AdminNoteResource.ts +12 -12
- package/src/models/AdminOrderResource.ts +14 -14
- package/src/models/AdminResource.ts +124 -0
- package/src/models/AdminResourceArrayResponse.ts +73 -0
- package/src/models/AdminUserLiteResource.ts +3 -2
- package/src/models/AttachAdminsToRoleRequest.ts +66 -0
- package/src/models/AttachDocumentablesToDocumentRequestDocumentablesInner.ts +1 -1
- package/src/models/AttachPermissionsToRoleRequest.ts +66 -0
- package/src/models/AttachRolesToAdminRequest.ts +66 -0
- package/src/models/BlogFrontendDetailResource.ts +1 -1
- package/src/models/BlogFrontendResource.ts +1 -1
- package/src/models/CartListResource.ts +3 -3
- package/src/models/CartResource.ts +14 -14
- package/src/models/CheckEmailFrontendResource.ts +66 -0
- package/src/models/CheckEmailFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CouponListResource.ts +170 -0
- package/src/models/CouponListResourceArrayResponse.ts +73 -0
- package/src/models/CouponLiteResource.ts +83 -0
- package/src/models/CouponLiteResourceArrayResponse.ts +73 -0
- package/src/models/CouponResource.ts +288 -0
- package/src/models/CouponResourceArrayResponse.ts +73 -0
- package/src/models/CouponType.ts +54 -0
- package/src/models/CreateAdminUserRequest.ts +101 -0
- package/src/models/CreateAssetForAssetableRequest.ts +1 -1
- package/src/models/CreateAttributeRequest.ts +1 -1
- package/src/models/CreateCartRequest.ts +2 -2
- package/src/models/CreateCouponRequest.ts +207 -0
- package/src/models/CreateCouponRequestCouponablesInner.ts +86 -0
- package/src/models/CreateCustomerAddressRequest.ts +146 -0
- package/src/models/CreateCustomerRequest.ts +35 -11
- package/src/models/CreateLabelRequest.ts +2 -2
- package/src/models/CreateMenuItemRequest.ts +1 -1
- package/src/models/CreateMenuItemRequestMenuItemLink.ts +1 -1
- package/src/models/CreateMenuRequest.ts +1 -1
- package/src/models/CreateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/CreatePageRequest.ts +2 -2
- package/src/models/CreateProductCategoryRequest.ts +1 -1
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +2 -2
- package/src/models/CreateProductChildRequest.ts +2 -2
- package/src/models/CreateReviewRequest.ts +1 -1
- package/src/models/CreateRoleRequest.ts +75 -0
- package/src/models/CreateSiteNotificationRequest.ts +2 -2
- package/src/models/CreateStoreRequestSpecialDatesInner.ts +3 -3
- package/src/models/CreateTagRequest.ts +1 -1
- package/src/models/CreateTransactionRequest.ts +1 -1
- package/src/models/CustomerAuthResponseResource.ts +83 -0
- package/src/models/CustomerAuthResponseResourceArrayResponse.ts +73 -0
- package/src/models/CustomerFrontendResource.ts +134 -0
- package/src/models/CustomerFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CustomerListResource.ts +53 -20
- package/src/models/CustomerResource.ts +101 -30
- package/src/models/CustomerSocialLinkableResource.ts +75 -0
- package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +73 -0
- package/src/models/CustomerSocialProviderLiteResource.ts +92 -0
- package/src/models/CustomerSocialProviderLiteResourceArrayResponse.ts +73 -0
- package/src/models/CustomerType.ts +53 -0
- package/src/models/DetachDocumentablesFromDocumentRequestDocumentablesInner.ts +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/ForgotPasswordAdminRequest.ts +66 -0
- package/src/models/FrontendOrderResource.ts +1 -1
- package/src/models/GetUniqueEndpointsRequest.ts +1 -1
- package/src/models/LabelListResource.ts +2 -2
- package/src/models/LabelResource.ts +2 -2
- package/src/models/LoginAdminRequest.ts +75 -0
- package/src/models/NetsuiteSyncLiteResource.ts +84 -0
- package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +73 -0
- package/src/models/OrderFulfillmentResource.ts +6 -5
- package/src/models/OrderListResource.ts +2 -2
- package/src/models/OrderLiteResource.ts +1 -1
- package/src/models/PageComponentResource.ts +2 -2
- package/src/models/PageFrontendDetailResource.ts +1 -1
- package/src/models/PageListResource.ts +1 -1
- package/src/models/PageResource.ts +1 -1
- package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
- package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedCouponListResourceResponse.ts +90 -0
- package/src/models/PaginatedCouponResourceResponse.ts +90 -0
- package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
- package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleListResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
- package/src/models/PermissionListResource.ts +82 -0
- package/src/models/PermissionListResourceArrayResponse.ts +73 -0
- package/src/models/PermissionLiteResource.ts +74 -0
- package/src/models/PermissionLiteResourceArrayResponse.ts +73 -0
- package/src/models/PermissionResource.ts +99 -0
- package/src/models/PermissionResourceArrayResponse.ts +73 -0
- package/src/models/PreviewAutomationRulesRequest.ts +1 -1
- package/src/models/ProductRegistrationListResource.ts +2 -2
- package/src/models/ProductRegistrationLiteResource.ts +1 -1
- package/src/models/ProductRegistrationResource.ts +3 -3
- package/src/models/ResetPasswordAdminRequest.ts +84 -0
- package/src/models/ReviewListResource.ts +3 -3
- package/src/models/ReviewPublicResource.ts +1 -1
- package/src/models/ReviewResource.ts +4 -4
- package/src/models/RoleListResource.ts +126 -0
- package/src/models/RoleListResourceArrayResponse.ts +73 -0
- package/src/models/RoleLiteResource.ts +83 -0
- package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
- package/src/models/RoleResource.ts +150 -0
- package/src/models/RoleResourceArrayResponse.ts +73 -0
- package/src/models/SearchAdminNotesRequest.ts +2 -2
- package/src/models/SearchAdminUsersRequest.ts +169 -0
- package/src/models/SearchAllAdminUsersRequest.ts +137 -0
- package/src/models/SearchAllAttributeValuesRequest.ts +3 -3
- package/src/models/SearchAllAttributesRequest.ts +3 -3
- package/src/models/SearchAllBlogCategoriesRequest.ts +2 -2
- package/src/models/SearchAllCouponsRequest.ts +154 -0
- package/src/models/SearchAllCustomersRequest.ts +157 -0
- package/src/models/SearchAllDefinitionsRequest.ts +2 -2
- package/src/models/SearchAllDocumentsRequest.ts +3 -3
- package/src/models/SearchAllFrontendComponentsRequest.ts +3 -3
- package/src/models/SearchAllMenuItemsRequest.ts +2 -2
- package/src/models/SearchAllMenusRequest.ts +2 -2
- package/src/models/SearchAllOrdersRequest.ts +2 -2
- package/src/models/SearchAllOverlayTemplatesRequest.ts +3 -3
- package/src/models/SearchAllPageComponentsRequest.ts +2 -2
- package/src/models/SearchAllPagesRequest.ts +2 -2
- package/src/models/SearchAllPermissionsRequest.ts +134 -0
- package/src/models/SearchAllProductCategoriesRequest.ts +3 -3
- package/src/models/SearchAllProductChildrenRequest.ts +3 -3
- package/src/models/SearchAllProductClassesRequest.ts +2 -2
- package/src/models/SearchAllProductRangesRequest.ts +2 -2
- package/src/models/SearchAllProductRegistrationsRequest.ts +2 -2
- package/src/models/SearchAllProductTypesRequest.ts +3 -3
- package/src/models/SearchAllProductsRequest.ts +3 -3
- package/src/models/SearchAllRolesRequest.ts +145 -0
- package/src/models/SearchAllStoresRequest.ts +2 -2
- package/src/models/SearchAllSuppliersRequest.ts +3 -3
- package/src/models/SearchAttributeValuesRequest.ts +3 -3
- package/src/models/SearchAttributesRequest.ts +3 -3
- package/src/models/SearchBlogCategoriesRequest.ts +2 -2
- package/src/models/SearchCartsRequest.ts +16 -8
- package/src/models/SearchCouponsRequest.ts +202 -0
- package/src/models/SearchCustomersRequest.ts +41 -5
- package/src/models/SearchDefinitionsRequest.ts +2 -2
- package/src/models/SearchDocumentsRequest.ts +3 -3
- package/src/models/SearchExternalApiLogsRequest.ts +4 -4
- package/src/models/SearchGoogleCategoriesRequest.ts +2 -2
- package/src/models/SearchLabelsRequest.ts +3 -3
- package/src/models/SearchLinkablesRequest.ts +1 -1
- package/src/models/SearchMenusRequest.ts +2 -2
- package/src/models/SearchModelAttributesRequest.ts +3 -3
- package/src/models/SearchOrderFulfillmentsRequest.ts +6 -6
- package/src/models/SearchOrdersRequest.ts +16 -8
- package/src/models/SearchOverlayTemplatesRequest.ts +3 -3
- package/src/models/SearchPagesRequest.ts +3 -3
- package/src/models/SearchPermissionsRequest.ts +150 -0
- package/src/models/SearchProductCategoriesRequest.ts +3 -3
- package/src/models/SearchProductChildAttributesRequest.ts +2 -2
- package/src/models/SearchProductChildrenRequest.ts +4 -4
- package/src/models/SearchProductRangesRequest.ts +2 -2
- package/src/models/SearchProductRegistrationAssetsRequest.ts +2 -2
- package/src/models/SearchProductRegistrationsRequest.ts +7 -7
- package/src/models/SearchProductTypesRequest.ts +3 -3
- package/src/models/SearchProductsRequest.ts +3 -3
- package/src/models/SearchRedirectsRequest.ts +3 -3
- package/src/models/SearchReviewsRequest.ts +2 -2
- package/src/models/SearchRolesRequest.ts +161 -0
- package/src/models/SearchSiteNotificationsRequest.ts +2 -2
- package/src/models/SearchSitesRequest.ts +2 -2
- package/src/models/SearchStoresRequest.ts +2 -2
- package/src/models/SearchSuppliersRequest.ts +3 -3
- package/src/models/SearchTagsRequest.ts +3 -3
- package/src/models/SearchTransactionsRequest.ts +5 -5
- package/src/models/SignUpType.ts +57 -0
- package/src/models/SocialProvider.ts +54 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreSpecialDateRequest.ts +3 -3
- package/src/models/TransactionListResource.ts +1 -1
- package/src/models/TransactionLiteResource.ts +1 -1
- package/src/models/TransactionResource.ts +1 -1
- package/src/models/UnlinkOverlayTemplateFromAssetableRequest.ts +1 -1
- package/src/models/UpdateAdminUserRequest.ts +100 -0
- package/src/models/UpdateAttributeProductTypeRequest.ts +1 -1
- package/src/models/UpdateAttributeRequest.ts +1 -1
- package/src/models/UpdateCartRequest.ts +2 -2
- package/src/models/UpdateCouponRequest.ts +198 -0
- package/src/models/UpdateCustomerAddressRequest.ts +146 -0
- package/src/models/UpdateCustomerRequest.ts +116 -0
- package/src/models/UpdateLabelRequest.ts +2 -2
- package/src/models/UpdateMenuItemRequest.ts +1 -1
- package/src/models/UpdateMenuRequest.ts +1 -1
- package/src/models/UpdateOrderRequest.ts +2 -2
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/UpdatePageRequest.ts +1 -1
- package/src/models/UpdateProductCategoryRequest.ts +1 -1
- package/src/models/UpdateProductChildRequest.ts +2 -2
- package/src/models/UpdateProductTypeAttributeRequest.ts +1 -1
- package/src/models/UpdateReviewRequest.ts +1 -1
- package/src/models/UpdateRoleRequest.ts +75 -0
- package/src/models/UpdateSiteNotificationRequest.ts +2 -2
- package/src/models/UpdateSiteRequest.ts +2 -13
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +2 -2
- package/src/models/UpdateTagRequest.ts +1 -1
- package/src/models/UserLiteResource.ts +110 -0
- package/src/models/UserLiteResourceArrayResponse.ts +73 -0
- package/src/models/UserType.ts +53 -0
- package/src/models/index.ts +78 -0
- package/src/runtime.ts +2 -19
- package/docs/AddressFrontendResource.md +0 -48
- package/docs/AddressFrontendResourceArrayResponse.md +0 -34
- package/docs/AddressResource.md +0 -56
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AddressType.md +0 -32
- package/docs/AdminApi.md +0 -272
- package/docs/AdminNoteResource.md +0 -42
- package/docs/AdminNoteResourceArrayResponse.md +0 -34
- package/docs/AdminOrderLineItemResource.md +0 -64
- package/docs/AdminOrderLineItemResourceArrayResponse.md +0 -34
- package/docs/AdminOrderResource.md +0 -120
- package/docs/AdminOrderResourceArrayResponse.md +0 -34
- package/docs/AdminUserLiteResource.md +0 -40
- package/docs/AdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/AppliedCouponResource.md +0 -40
- package/docs/AppliedCouponResourceArrayResponse.md +0 -34
- package/docs/AssetApi.md +0 -275
- package/docs/AssetFileForUploadResource.md +0 -40
- package/docs/AssetFileForUploadResourceArrayResponse.md +0 -34
- package/docs/AssetFrontendResource.md +0 -52
- package/docs/AssetFrontendResourceArrayResponse.md +0 -34
- package/docs/AssetLiteResource.md +0 -48
- package/docs/AssetLiteResourceArrayResponse.md +0 -34
- package/docs/AssetResource.md +0 -56
- package/docs/AssetResourceArrayResponse.md +0 -34
- package/docs/AssetWithOverlayLinkResource.md +0 -58
- package/docs/AssetWithOverlayLinkResourceArrayResponse.md +0 -34
- package/docs/AttachAttributesToProductRangeRequest.md +0 -34
- package/docs/AttachAttributesToProductRangeRequestAttributesInner.md +0 -36
- package/docs/AttachCouponRequest.md +0 -34
- package/docs/AttachDocumentablesToDocumentRequest.md +0 -34
- package/docs/AttachDocumentablesToDocumentRequestDocumentablesInner.md +0 -38
- package/docs/AttachDocumentsToProductChildRequest.md +0 -34
- package/docs/AttachDocumentsToProductChildRequestDocumentsInner.md +0 -36
- package/docs/AttachDocumentsToProductRangeRequest.md +0 -34
- package/docs/AttachLineItemRequest.md +0 -38
- package/docs/AttachProductChildrenRequest.md +0 -34
- package/docs/AttachProductChildrenToProductRangeRequest.md +0 -34
- package/docs/AttachProductsToProductCategoryRequest.md +0 -34
- package/docs/AttachStoresToSupplierRequest.md +0 -34
- package/docs/AttachSuppliersToStoreRequest.md +0 -34
- package/docs/AttributeApi.md +0 -1151
- package/docs/AttributeFieldType.md +0 -32
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/AttributeLiteResource.md +0 -38
- package/docs/AttributeLiteResourceArrayResponse.md +0 -34
- package/docs/AttributeProductTypeRelationResource.md +0 -50
- package/docs/AttributeProductTypeRelationResourceArrayResponse.md +0 -34
- package/docs/AttributeResource.md +0 -48
- package/docs/AttributeResourceArrayResponse.md +0 -34
- package/docs/AttributeType.md +0 -32
- package/docs/AttributeValueResource.md +0 -36
- package/docs/AttributeValueResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryApi.md +0 -407
- package/docs/BlogCategoryListResource.md +0 -40
- package/docs/BlogCategoryListResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryLiteResource.md +0 -38
- package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryResource.md +0 -42
- package/docs/BlogCategoryResourceArrayResponse.md +0 -34
- package/docs/BlogFrontendDetailResource.md +0 -52
- package/docs/BlogFrontendDetailResourceArrayResponse.md +0 -34
- package/docs/BlogFrontendResource.md +0 -48
- package/docs/BlogFrontendResourceArrayResponse.md +0 -34
- package/docs/BlogResource.md +0 -44
- package/docs/BlogResourceArrayResponse.md +0 -34
- package/docs/CartCouponLiteResource.md +0 -42
- package/docs/CartCouponLiteResourceArrayResponse.md +0 -34
- package/docs/CartListResource.md +0 -54
- package/docs/CartListResourceArrayResponse.md +0 -34
- package/docs/CartOrderSource.md +0 -32
- package/docs/CartResource.md +0 -100
- package/docs/CartResourceArrayResponse.md +0 -34
- package/docs/CartStatus.md +0 -32
- package/docs/CartsApi.md +0 -821
- package/docs/CategoryAutomationComparisonType.md +0 -32
- package/docs/CategoryAutomationConditionType.md +0 -32
- package/docs/CategoryAutomationFieldType.md +0 -32
- package/docs/CategoryAutomationRuleResource.md +0 -46
- package/docs/CategoryAutomationRuleResourceArrayResponse.md +0 -34
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
- package/docs/CouponDiscountType.md +0 -32
- package/docs/CreateAssetFileRequest.md +0 -36
- package/docs/CreateAssetForAssetableRequest.md +0 -52
- package/docs/CreateAttributeRequest.md +0 -42
- package/docs/CreateAttributeValueRequest.md +0 -36
- package/docs/CreateBlogCategoryRequest.md +0 -40
- package/docs/CreateBlogCategoryRequestDescriptionsInner.md +0 -38
- package/docs/CreateBlogCategoryRequestSeoInner.md +0 -38
- package/docs/CreateCartRequest.md +0 -72
- package/docs/CreateCartRequestItemsInner.md +0 -38
- package/docs/CreateCartRequestShippingAddress.md +0 -48
- package/docs/CreateCustomerRequest.md +0 -42
- package/docs/CreateDefinitionRequest.md +0 -36
- package/docs/CreateDocumentFileRequest.md +0 -36
- package/docs/CreateDocumentRequest.md +0 -38
- package/docs/CreateLabelRequest.md +0 -48
- package/docs/CreateMenuItemRequest.md +0 -52
- package/docs/CreateMenuItemRequestMenuItemLink.md +0 -40
- package/docs/CreateMenuRequest.md +0 -38
- package/docs/CreateOverlayTemplateAssetRequest.md +0 -52
- package/docs/CreateOverlayTemplateRequest.md +0 -36
- package/docs/CreatePageComponentRequest.md +0 -50
- package/docs/CreatePageComponentRequestRelationsInner.md +0 -38
- package/docs/CreatePageRequest.md +0 -48
- package/docs/CreatePageRequestBlog.md +0 -40
- package/docs/CreateProductCategoryRequest.md +0 -66
- package/docs/CreateProductCategoryRequestAutomationRulesInner.md +0 -44
- package/docs/CreateProductChildRequest.md +0 -72
- package/docs/CreateProductChildRequestAssetsInner.md +0 -48
- package/docs/CreateProductChildRequestAttributeValuesInner.md +0 -38
- package/docs/CreateProductChildRequestSitesInner.md +0 -58
- package/docs/CreateProductRangeRequest.md +0 -40
- package/docs/CreateProductRangeRequestSitesInner.md +0 -54
- package/docs/CreateProductRequest.md +0 -50
- package/docs/CreateProductRequestCategoriesInner.md +0 -36
- package/docs/CreateProductTypeRequest.md +0 -34
- package/docs/CreateReviewImportFileRequest.md +0 -36
- package/docs/CreateReviewRequest.md +0 -50
- package/docs/CreateSiteNotificationRequest.md +0 -44
- package/docs/CreateStoreRequest.md +0 -60
- package/docs/CreateStoreRequestAddress.md +0 -48
- package/docs/CreateStoreRequestSpecialDatesInner.md +0 -44
- package/docs/CreateSupplierRequest.md +0 -56
- package/docs/CreateTagRequest.md +0 -48
- package/docs/CreateTransactionRequest.md +0 -48
- package/docs/CustomerListResource.md +0 -44
- package/docs/CustomerListResourceArrayResponse.md +0 -34
- package/docs/CustomerLiteResource.md +0 -40
- package/docs/CustomerLiteResourceArrayResponse.md +0 -34
- package/docs/CustomerResource.md +0 -46
- package/docs/CustomerResourceArrayResponse.md +0 -34
- package/docs/CustomerReviewableItemFrontendResource.md +0 -40
- package/docs/CustomerReviewableItemFrontendResourceArrayResponse.md +0 -34
- package/docs/CustomersApi.md +0 -206
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionListResource.md +0 -36
- package/docs/DefinitionListResourceArrayResponse.md +0 -34
- package/docs/DefinitionResource.md +0 -38
- package/docs/DefinitionResourceArrayResponse.md +0 -34
- package/docs/DeleteAttributeValueRequest.md +0 -34
- package/docs/DescriptionResource.md +0 -40
- package/docs/DescriptionResourceArrayResponse.md +0 -34
- package/docs/DetachAttributesFromProductRangeRequest.md +0 -34
- package/docs/DetachCouponRequest.md +0 -34
- package/docs/DetachDocumentablesFromDocumentRequest.md +0 -34
- package/docs/DetachDocumentablesFromDocumentRequestDocumentablesInner.md +0 -36
- package/docs/DetachDocumentsFromProductChildRequest.md +0 -34
- package/docs/DetachDocumentsFromProductRangeRequest.md +0 -34
- package/docs/DetachProductChildrenFromProductRangeRequest.md +0 -34
- package/docs/DetachProductsFromProductCategoryRequest.md +0 -34
- package/docs/DetachStoresFromSupplierRequest.md +0 -34
- package/docs/DetachSuppliersFromStoreRequest.md +0 -34
- package/docs/DiscountResource.md +0 -46
- package/docs/DiscountResourceArrayResponse.md +0 -34
- package/docs/DiscountType.md +0 -32
- package/docs/DiscountValueType.md +0 -32
- package/docs/DocumentApi.md +0 -611
- package/docs/DocumentFileForUploadResource.md +0 -40
- package/docs/DocumentFileForUploadResourceArrayResponse.md +0 -34
- package/docs/DocumentFrontendResource.md +0 -38
- package/docs/DocumentFrontendResourceArrayResponse.md +0 -34
- package/docs/DocumentLiteResource.md +0 -38
- package/docs/DocumentLiteResourceArrayResponse.md +0 -34
- package/docs/DocumentResource.md +0 -48
- package/docs/DocumentResourceArrayResponse.md +0 -34
- package/docs/ExternalApiLogApi.md +0 -140
- package/docs/ExternalApiLogListResource.md +0 -42
- package/docs/ExternalApiLogListResourceArrayResponse.md +0 -34
- package/docs/ExternalApiLogResource.md +0 -54
- package/docs/ExternalApiLogResourceArrayResponse.md +0 -34
- package/docs/ExternalApiProvider.md +0 -32
- package/docs/ExternalApiSyncStatus.md +0 -32
- package/docs/FrontendCartResource.md +0 -76
- package/docs/FrontendCartResourceArrayResponse.md +0 -34
- package/docs/FrontendCartResourceCouponsInner.md +0 -42
- package/docs/FrontendComponentApi.md +0 -74
- package/docs/FrontendComponentLiteResource.md +0 -38
- package/docs/FrontendComponentLiteResourceArrayResponse.md +0 -34
- package/docs/FrontendComponentResource.md +0 -40
- package/docs/FrontendComponentResourceArrayResponse.md +0 -34
- package/docs/FrontendLineItemResource.md +0 -50
- package/docs/FrontendLineItemResourceArrayResponse.md +0 -34
- package/docs/FrontendOrderResource.md +0 -80
- package/docs/FrontendOrderResourceArrayResponse.md +0 -34
- package/docs/GenericResponse.md +0 -34
- package/docs/GetUniqueEndpointsRequest.md +0 -34
- package/docs/GlobalSearchCategoryResource.md +0 -38
- package/docs/GlobalSearchCategoryResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchProductResource.md +0 -56
- package/docs/GlobalSearchProductResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchRangeResource.md +0 -42
- package/docs/GlobalSearchRangeResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchResponseResource.md +0 -38
- package/docs/GlobalSearchResponseResourceArrayResponse.md +0 -34
- package/docs/GoogleCategoryApi.md +0 -74
- package/docs/GoogleCategoryResource.md +0 -36
- package/docs/GoogleCategoryResourceArrayResponse.md +0 -34
- package/docs/ImportReviewsRequest.md +0 -34
- package/docs/LabelApi.md +0 -407
- package/docs/LabelListResource.md +0 -50
- package/docs/LabelListResourceArrayResponse.md +0 -34
- package/docs/LabelLiteResource.md +0 -42
- package/docs/LabelLiteResourceArrayResponse.md +0 -34
- package/docs/LabelResource.md +0 -50
- package/docs/LabelResourceArrayResponse.md +0 -34
- package/docs/LiAddressResource.md +0 -52
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/LiAdminUserLiteResource.md +0 -40
- package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/LineItemDiscountResource.md +0 -40
- package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
- package/docs/LineItemListResource.md +0 -52
- package/docs/LineItemListResourceArrayResponse.md +0 -34
- package/docs/LinkOverlayTemplateToAssetsRequest.md +0 -36
- package/docs/MenuApi.md +0 -407
- package/docs/MenuIdRequest.md +0 -34
- package/docs/MenuItemHierarchyResource.md +0 -50
- package/docs/MenuItemHierarchyResourceArrayResponse.md +0 -34
- package/docs/MenuItemLinkResource.md +0 -46
- package/docs/MenuItemLinkResourceArrayResponse.md +0 -34
- package/docs/MenuItemLiteResource.md +0 -44
- package/docs/MenuItemLiteResourceArrayResponse.md +0 -34
- package/docs/MenuItemResource.md +0 -58
- package/docs/MenuItemResourceArrayResponse.md +0 -34
- package/docs/MenuItemType.md +0 -32
- package/docs/MenuItemsApi.md +0 -473
- package/docs/MenuListResource.md +0 -44
- package/docs/MenuListResourceArrayResponse.md +0 -34
- package/docs/MenuPosition.md +0 -32
- package/docs/MenuResource.md +0 -44
- package/docs/MenuResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeFrontendResource.md +0 -36
- package/docs/ModelAttributeFrontendResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeResource.md +0 -42
- package/docs/ModelAttributeResourceArrayResponse.md +0 -34
- package/docs/OmnisendSyncLiteResource.md +0 -38
- package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
- package/docs/OrderFulfillmentLineItemResource.md +0 -38
- package/docs/OrderFulfillmentLineItemResourceArrayResponse.md +0 -34
- package/docs/OrderFulfillmentResource.md +0 -54
- package/docs/OrderFulfillmentResourceArrayResponse.md +0 -34
- package/docs/OrderListResource.md +0 -58
- package/docs/OrderListResourceArrayResponse.md +0 -34
- package/docs/OrderLiteResource.md +0 -44
- package/docs/OrderLiteResourceArrayResponse.md +0 -34
- package/docs/OrderOmnisendEvent.md +0 -32
- package/docs/OrderStatusId.md +0 -32
- package/docs/OrderStatusLiteResource.md +0 -38
- package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
- package/docs/OrderStatusWithCountResource.md +0 -44
- package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
- package/docs/OrdersApi.md +0 -945
- package/docs/OverlayTemplateApi.md +0 -884
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateAssetPosition.md +0 -32
- package/docs/OverlayTemplateAssetResource.md +0 -44
- package/docs/OverlayTemplateAssetResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateListResource.md +0 -38
- package/docs/OverlayTemplateListResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateLiteResource.md +0 -38
- package/docs/OverlayTemplateLiteResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateResource.md +0 -42
- package/docs/OverlayTemplateResourceArrayResponse.md +0 -34
- package/docs/PageApi.md +0 -407
- package/docs/PageComponentApi.md +0 -341
- package/docs/PageComponentLiteResource.md +0 -38
- package/docs/PageComponentLiteResourceArrayResponse.md +0 -34
- package/docs/PageComponentRelationResource.md +0 -44
- package/docs/PageComponentRelationResourceArrayResponse.md +0 -34
- package/docs/PageComponentResource.md +0 -54
- package/docs/PageComponentResourceArrayResponse.md +0 -34
- package/docs/PageFrontendDetailResource.md +0 -44
- package/docs/PageFrontendDetailResourceArrayResponse.md +0 -34
- package/docs/PageListResource.md +0 -56
- package/docs/PageListResourceArrayResponse.md +0 -34
- package/docs/PageLiteResource.md +0 -36
- package/docs/PageLiteResourceArrayResponse.md +0 -34
- package/docs/PageResource.md +0 -52
- package/docs/PageResourceArrayResponse.md +0 -34
- package/docs/PageType.md +0 -32
- package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedAttributeLiteResourceResponse.md +0 -36
- package/docs/PaginatedAttributeProductTypeRelationResourceResponse.md +0 -36
- package/docs/PaginatedAttributeResourceResponse.md +0 -36
- package/docs/PaginatedAttributeValueResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
- package/docs/PaginatedBlogFrontendResourceResponse.md +0 -36
- package/docs/PaginatedCartListResourceResponse.md +0 -36
- package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/PaginatedCustomerListResourceResponse.md +0 -36
- package/docs/PaginatedCustomerReviewableItemFrontendResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/PaginatedDocumentResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogListResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentResourceResponse.md +0 -36
- package/docs/PaginatedGoogleCategoryResourceResponse.md +0 -36
- package/docs/PaginatedLabelListResourceResponse.md +0 -36
- package/docs/PaginatedMenuListResourceResponse.md +0 -36
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedOrderFulfillmentResourceResponse.md +0 -36
- package/docs/PaginatedOrderListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateLiteResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateResourceResponse.md +0 -36
- package/docs/PaginatedPageComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageListResourceResponse.md +0 -36
- package/docs/PaginatedPageLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageResourceResponse.md +0 -36
- package/docs/PaginatedProductCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedProductCategoryResourceResponse.md +0 -36
- package/docs/PaginatedProductChildFrontendResourceResponse.md +0 -36
- package/docs/PaginatedProductChildListResourceResponse.md +0 -36
- package/docs/PaginatedProductChildLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductChildOverlayRelationResourceResponse.md +0 -36
- package/docs/PaginatedProductChildRelationResourceResponse.md +0 -36
- package/docs/PaginatedProductChildResourceResponse.md +0 -36
- package/docs/PaginatedProductClassLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductListResourceResponse.md +0 -36
- package/docs/PaginatedProductLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationResourceResponse.md +0 -36
- package/docs/PaginatedProductResourceResponse.md +0 -36
- package/docs/PaginatedProductSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeResourceResponse.md +0 -36
- package/docs/PaginatedRedirectListResourceResponse.md +0 -36
- package/docs/PaginatedReviewListResourceResponse.md +0 -36
- package/docs/PaginatedReviewLiteResourceResponse.md +0 -36
- package/docs/PaginatedReviewResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSiteLiteResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationListResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationResourceResponse.md +0 -36
- package/docs/PaginatedSiteResourceResponse.md +0 -36
- package/docs/PaginatedStoreListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierFrontendResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierLiteResourceResponse.md +0 -36
- package/docs/PaginatedSupplierResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/PaginatedTagLiteResourceResponse.md +0 -36
- package/docs/PaginatedTagResourceResponse.md +0 -36
- package/docs/PaginatedTransactionListResourceResponse.md +0 -36
- package/docs/PaginatedTransactionResourceResponse.md +0 -36
- package/docs/PagingMetadata.md +0 -46
- package/docs/PaymentMethod.md +0 -32
- package/docs/PaymentSource.md +0 -32
- package/docs/PaymentStatus.md +0 -32
- package/docs/PreviewAutomationRulesRequest.md +0 -38
- package/docs/PreviewAutomationRulesResource.md +0 -38
- package/docs/PreviewAutomationRulesResourceArrayResponse.md +0 -34
- package/docs/ProductAggregationResource.md +0 -40
- package/docs/ProductAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductApi.md +0 -1562
- package/docs/ProductAvailability.md +0 -32
- package/docs/ProductCategoryApi.md +0 -881
- package/docs/ProductCategoryHierarchyResource.md +0 -44
- package/docs/ProductCategoryHierarchyResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryListResource.md +0 -50
- package/docs/ProductCategoryListResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryLiteResource.md +0 -40
- package/docs/ProductCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryResource.md +0 -66
- package/docs/ProductCategoryResourceArrayResponse.md +0 -34
- package/docs/ProductChildAttributeGroupedResource.md +0 -40
- package/docs/ProductChildAttributeGroupedResourceArrayResponse.md +0 -34
- package/docs/ProductChildAttributeResource.md +0 -48
- package/docs/ProductChildAttributeResourceArrayResponse.md +0 -34
- package/docs/ProductChildFrontendResource.md +0 -48
- package/docs/ProductChildFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductChildLineItemLiteResource.md +0 -58
- package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildListResource.md +0 -56
- package/docs/ProductChildListResourceArrayResponse.md +0 -34
- package/docs/ProductChildLiteResource.md +0 -50
- package/docs/ProductChildLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildOverlayRelationResource.md +0 -56
- package/docs/ProductChildOverlayRelationResourceArrayResponse.md +0 -34
- package/docs/ProductChildRelationResource.md +0 -46
- package/docs/ProductChildRelationResourceArrayResponse.md +0 -34
- package/docs/ProductChildResource.md +0 -96
- package/docs/ProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailFrontendResource.md +0 -46
- package/docs/ProductChildSiteDetailFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailLiteResource.md +0 -48
- package/docs/ProductChildSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailResource.md +0 -66
- package/docs/ProductChildSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductClassApi.md +0 -74
- package/docs/ProductClassLiteResource.md +0 -38
- package/docs/ProductClassLiteResourceArrayResponse.md +0 -34
- package/docs/ProductClassResource.md +0 -40
- package/docs/ProductClassResourceArrayResponse.md +0 -34
- package/docs/ProductCompareResource.md +0 -70
- package/docs/ProductCompareResourceArrayResponse.md +0 -34
- package/docs/ProductListResource.md +0 -36
- package/docs/ProductListResourceArrayResponse.md +0 -34
- package/docs/ProductLiteResource.md +0 -36
- package/docs/ProductLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -64
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailFrontendResource.md +0 -46
- package/docs/ProductRangeSiteDetailFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResource.md +0 -40
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSortBy.md +0 -32
- package/docs/ProductRating.md +0 -32
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationAssetResource.md +0 -38
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerLiteResource.md +0 -40
- package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.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/docs/ProductRegistrationResourceArrayResponse.md +0 -34
- package/docs/ProductResource.md +0 -58
- package/docs/ProductResourceArrayResponse.md +0 -34
- package/docs/ProductReviewsResource.md +0 -44
- package/docs/ProductReviewsResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResource.md +0 -40
- package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResourceMeta.md +0 -40
- package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
- package/docs/ProductSearchResultResource.md +0 -70
- package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductSortBy.md +0 -32
- package/docs/ProductTypeApi.md +0 -614
- package/docs/ProductTypeListResource.md +0 -40
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/ProductTypeLiteResource.md +0 -38
- package/docs/ProductTypeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductTypeResource.md +0 -48
- package/docs/ProductTypeResourceArrayResponse.md +0 -34
- package/docs/RedirectApi.md +0 -74
- package/docs/RedirectFrontendResource.md +0 -44
- package/docs/RedirectFrontendResourceArrayResponse.md +0 -34
- package/docs/RedirectListResource.md +0 -46
- package/docs/RedirectListResourceArrayResponse.md +0 -34
- package/docs/RefundTransactionRequest.md +0 -36
- package/docs/ReviewApi.md +0 -605
- package/docs/ReviewExportDownloadUrlResource.md +0 -34
- package/docs/ReviewExportDownloadUrlResourceArrayResponse.md +0 -34
- package/docs/ReviewImportFailureResource.md +0 -38
- package/docs/ReviewImportFailureResourceArrayResponse.md +0 -34
- package/docs/ReviewImportResultResource.md +0 -38
- package/docs/ReviewImportResultResourceArrayResponse.md +0 -34
- package/docs/ReviewImportUploadUrlResource.md +0 -38
- package/docs/ReviewImportUploadUrlResourceArrayResponse.md +0 -34
- package/docs/ReviewListResource.md +0 -54
- package/docs/ReviewListResourceArrayResponse.md +0 -34
- package/docs/ReviewLiteResource.md +0 -38
- package/docs/ReviewLiteResourceArrayResponse.md +0 -34
- package/docs/ReviewPublicResource.md +0 -46
- package/docs/ReviewPublicResourceArrayResponse.md +0 -34
- package/docs/ReviewResource.md +0 -64
- package/docs/ReviewResourceArrayResponse.md +0 -34
- package/docs/SEOResource.md +0 -40
- package/docs/SEOResourceArrayResponse.md +0 -34
- package/docs/SearchAdminNotesRequest.md +0 -52
- package/docs/SearchAllAttributeValuesRequest.md +0 -46
- package/docs/SearchAllAttributesRequest.md +0 -50
- package/docs/SearchAllBlogCategoriesRequest.md +0 -46
- package/docs/SearchAllDefinitionsRequest.md +0 -44
- package/docs/SearchAllDocumentsRequest.md +0 -46
- package/docs/SearchAllFrontendComponentsRequest.md +0 -48
- package/docs/SearchAllMenuItemsRequest.md +0 -48
- package/docs/SearchAllMenusRequest.md +0 -48
- package/docs/SearchAllOrdersRequest.md +0 -54
- package/docs/SearchAllOverlayTemplatesRequest.md +0 -46
- package/docs/SearchAllPageComponentsRequest.md +0 -48
- package/docs/SearchAllPagesRequest.md +0 -50
- package/docs/SearchAllProductCategoriesRequest.md +0 -54
- package/docs/SearchAllProductChildrenRequest.md +0 -70
- package/docs/SearchAllProductClassesRequest.md +0 -44
- package/docs/SearchAllProductRangesRequest.md +0 -50
- package/docs/SearchAllProductRegistrationsRequest.md +0 -46
- package/docs/SearchAllProductTypesRequest.md +0 -44
- package/docs/SearchAllProductsRequest.md +0 -54
- package/docs/SearchAllStoresRequest.md +0 -48
- package/docs/SearchAllSuppliersRequest.md +0 -44
- package/docs/SearchAttributeValuesRequest.md +0 -50
- package/docs/SearchAttributesRequest.md +0 -54
- package/docs/SearchBlogCategoriesRequest.md +0 -50
- package/docs/SearchCartsRequest.md +0 -66
- package/docs/SearchCustomersRequest.md +0 -50
- package/docs/SearchDefinitionsRequest.md +0 -48
- package/docs/SearchDocumentsRequest.md +0 -50
- package/docs/SearchExternalApiLogsRequest.md +0 -70
- package/docs/SearchGoogleCategoriesRequest.md +0 -48
- package/docs/SearchLabelsRequest.md +0 -50
- package/docs/SearchLinkablesRequest.md +0 -38
- package/docs/SearchMenusRequest.md +0 -52
- package/docs/SearchModelAttributesRequest.md +0 -54
- package/docs/SearchOrderFulfillmentsRequest.md +0 -58
- package/docs/SearchOrdersRequest.md +0 -70
- package/docs/SearchOverlayTemplatesRequest.md +0 -50
- package/docs/SearchPagesRequest.md +0 -54
- package/docs/SearchProductCategoriesRequest.md +0 -62
- package/docs/SearchProductChildAttributesRequest.md +0 -50
- package/docs/SearchProductChildrenRequest.md +0 -74
- package/docs/SearchProductRangesRequest.md +0 -54
- package/docs/SearchProductRegistrationAssetsRequest.md +0 -52
- package/docs/SearchProductRegistrationsRequest.md +0 -58
- package/docs/SearchProductTypesRequest.md +0 -48
- package/docs/SearchProductsRequest.md +0 -58
- package/docs/SearchRedirectsRequest.md +0 -56
- package/docs/SearchReviewsRequest.md +0 -54
- package/docs/SearchSiteNotificationsRequest.md +0 -50
- package/docs/SearchSitesRequest.md +0 -48
- package/docs/SearchStoresRequest.md +0 -52
- package/docs/SearchSuppliersRequest.md +0 -48
- package/docs/SearchTagsRequest.md +0 -52
- package/docs/SearchTransactionsRequest.md +0 -60
- package/docs/ShippingType.md +0 -32
- package/docs/ShowProductChildAssetsRequest.md +0 -34
- package/docs/SiteApi.md +0 -608
- package/docs/SiteConfigResource.md +0 -58
- package/docs/SiteConfigResourceArrayResponse.md +0 -34
- package/docs/SiteIdRequest.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SiteLiteResource.md +0 -40
- package/docs/SiteLiteResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationListResource.md +0 -52
- package/docs/SiteNotificationListResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationResource.md +0 -46
- package/docs/SiteNotificationResourceArrayResponse.md +0 -34
- package/docs/SitePaymentConfigResource.md +0 -56
- package/docs/SitePaymentConfigResourceArrayResponse.md +0 -34
- package/docs/SiteResource.md +0 -44
- package/docs/SiteResourceArrayResponse.md +0 -34
- package/docs/SkuSearchProductChildRequest.md +0 -36
- package/docs/StoreApi.md +0 -755
- package/docs/StoreFrontendResource.md +0 -58
- package/docs/StoreFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreListResource.md +0 -56
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreLiteResource.md +0 -38
- package/docs/StoreLiteResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -62
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateFrontendResource.md +0 -46
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateRequest.md +0 -44
- package/docs/StoreSpecialDateResource.md +0 -46
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStockType.md +0 -32
- package/docs/StoreTransactionResource.md +0 -36
- package/docs/StoreTransactionResourceArrayResponse.md +0 -34
- package/docs/SupplierApi.md +0 -677
- package/docs/SupplierFrontendResource.md +0 -50
- package/docs/SupplierFrontendResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/SupplierLiteResource.md +0 -36
- package/docs/SupplierLiteResourceArrayResponse.md +0 -34
- package/docs/SupplierResource.md +0 -50
- package/docs/SupplierResourceArrayResponse.md +0 -34
- package/docs/TagApi.md +0 -545
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/docs/TagLiteResource.md +0 -36
- package/docs/TagLiteResourceArrayResponse.md +0 -34
- package/docs/TagResource.md +0 -46
- package/docs/TagResourceArrayResponse.md +0 -34
- package/docs/TagType.md +0 -32
- package/docs/Thumbnail.md +0 -36
- package/docs/TransactionListResource.md +0 -62
- package/docs/TransactionListResourceArrayResponse.md +0 -34
- package/docs/TransactionLiteResource.md +0 -56
- package/docs/TransactionLiteResourceArrayResponse.md +0 -34
- package/docs/TransactionResource.md +0 -66
- package/docs/TransactionResourceArrayResponse.md +0 -34
- package/docs/TransactionType.md +0 -32
- package/docs/TransactionsApi.md +0 -209
- package/docs/UnlinkOverlayTemplateFromAssetableRequest.md +0 -38
- package/docs/UpdateAssetForAssetableRequest.md +0 -48
- package/docs/UpdateAttributeFilterOrderRequest.md +0 -34
- package/docs/UpdateAttributeFilterOrderRequestValuesInner.md +0 -36
- package/docs/UpdateAttributeProductTypeRequest.md +0 -36
- package/docs/UpdateAttributeRequest.md +0 -42
- package/docs/UpdateAttributeValueRequest.md +0 -34
- package/docs/UpdateBlogCategoryRequest.md +0 -40
- package/docs/UpdateCartRequest.md +0 -66
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/docs/UpdateDocumentRequest.md +0 -38
- package/docs/UpdateLabelRequest.md +0 -48
- package/docs/UpdateLineItemRequest.md +0 -36
- package/docs/UpdateMenuItemRequest.md +0 -52
- package/docs/UpdateMenuRequest.md +0 -40
- package/docs/UpdateMenuRequestMenuItemOrderInner.md +0 -38
- package/docs/UpdateModelAttributeRequest.md +0 -36
- package/docs/UpdateOrderRequest.md +0 -60
- package/docs/UpdateOverlayTemplateAssetRequest.md +0 -50
- package/docs/UpdateOverlayTemplateRequest.md +0 -36
- package/docs/UpdatePageComponentRequest.md +0 -46
- package/docs/UpdatePageRequest.md +0 -46
- package/docs/UpdatePageRequestComponentOrderInner.md +0 -36
- package/docs/UpdateProductCategoryRequest.md +0 -66
- package/docs/UpdateProductChildRequest.md +0 -66
- package/docs/UpdateProductChildRequestAssetsInner.md +0 -44
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/docs/UpdateProductRangeRequestAttributesInner.md +0 -36
- package/docs/UpdateProductRequest.md +0 -50
- package/docs/UpdateProductTypeAttributeRequest.md +0 -36
- package/docs/UpdateProductTypeRequest.md +0 -42
- package/docs/UpdateReviewRequest.md +0 -46
- package/docs/UpdateSiteNotificationRequest.md +0 -42
- package/docs/UpdateSiteRequest.md +0 -78
- package/docs/UpdateStoreRequest.md +0 -60
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/docs/UpdateSupplierRequest.md +0 -56
- package/docs/UpdateTagRequest.md +0 -46
- package/docs/WishlistCheckResource.md +0 -34
- package/docs/WishlistCheckResourceArrayResponse.md +0 -34
- package/docs/WishlistToggleResource.md +0 -36
- package/docs/WishlistToggleResourceArrayResponse.md +0 -34
|
@@ -66,22 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.ProductRangeApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var
|
|
70
|
-
var AttachDocumentsToProductRangeRequest_1 = require("../models/AttachDocumentsToProductRangeRequest");
|
|
71
|
-
var AttachProductChildrenToProductRangeRequest_1 = require("../models/AttachProductChildrenToProductRangeRequest");
|
|
72
|
-
var CreateProductRangeRequest_1 = require("../models/CreateProductRangeRequest");
|
|
73
|
-
var DetachAttributesFromProductRangeRequest_1 = require("../models/DetachAttributesFromProductRangeRequest");
|
|
74
|
-
var DetachDocumentsFromProductRangeRequest_1 = require("../models/DetachDocumentsFromProductRangeRequest");
|
|
75
|
-
var DetachProductChildrenFromProductRangeRequest_1 = require("../models/DetachProductChildrenFromProductRangeRequest");
|
|
76
|
-
var GenericResponse_1 = require("../models/GenericResponse");
|
|
77
|
-
var PaginatedProductChildListResourceResponse_1 = require("../models/PaginatedProductChildListResourceResponse");
|
|
78
|
-
var PaginatedProductRangeListResourceResponse_1 = require("../models/PaginatedProductRangeListResourceResponse");
|
|
79
|
-
var ProductRangeLiteResourceArrayResponse_1 = require("../models/ProductRangeLiteResourceArrayResponse");
|
|
80
|
-
var ProductRangeResource_1 = require("../models/ProductRangeResource");
|
|
81
|
-
var SearchAllProductRangesRequest_1 = require("../models/SearchAllProductRangesRequest");
|
|
82
|
-
var SearchProductChildrenRequest_1 = require("../models/SearchProductChildrenRequest");
|
|
83
|
-
var SearchProductRangesRequest_1 = require("../models/SearchProductRangesRequest");
|
|
84
|
-
var UpdateProductRangeRequest_1 = require("../models/UpdateProductRangeRequest");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
85
70
|
/**
|
|
86
71
|
*
|
|
87
72
|
*/
|
|
@@ -90,46 +75,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
90
75
|
function ProductRangeApi() {
|
|
91
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
92
77
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Creates request options for attachAccessoriesProductRange without sending the request
|
|
95
|
-
*/
|
|
96
|
-
ProductRangeApi.prototype.attachAccessoriesProductRangeRequestOpts = function (requestParameters) {
|
|
97
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
98
|
-
var queryParameters, headerParameters, urlPath;
|
|
99
|
-
return __generator(this, function (_a) {
|
|
100
|
-
if (requestParameters['productRange'] == null) {
|
|
101
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachAccessoriesProductRange().');
|
|
102
|
-
}
|
|
103
|
-
queryParameters = {};
|
|
104
|
-
headerParameters = {};
|
|
105
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
106
|
-
urlPath = "/admin-api/product-range/{productRange}/attach-accessories";
|
|
107
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
108
|
-
return [2 /*return*/, {
|
|
109
|
-
path: urlPath,
|
|
110
|
-
method: 'POST',
|
|
111
|
-
headers: headerParameters,
|
|
112
|
-
query: queryParameters,
|
|
113
|
-
body: (0, AttachProductChildrenToProductRangeRequest_1.AttachProductChildrenToProductRangeRequestToJSON)(requestParameters['attachProductChildrenToProductRangeRequest']),
|
|
114
|
-
}];
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
78
|
/**
|
|
119
79
|
* Auto-generated: attachAccessoriesProductRange
|
|
120
80
|
*/
|
|
121
81
|
ProductRangeApi.prototype.attachAccessoriesProductRangeRaw = function (requestParameters, initOverrides) {
|
|
122
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
123
|
-
var
|
|
83
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
124
84
|
return __generator(this, function (_a) {
|
|
125
85
|
switch (_a.label) {
|
|
126
|
-
case 0:
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['productRange'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachAccessoriesProductRange().');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
urlPath = "/admin-api/product-range/{productRange}/attach-accessories";
|
|
94
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
95
|
+
return [4 /*yield*/, this.request({
|
|
96
|
+
path: urlPath,
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
body: (0, index_1.AttachProductChildrenToProductRangeRequestToJSON)(requestParameters['attachProductChildrenToProductRangeRequest']),
|
|
101
|
+
}, initOverrides)];
|
|
127
102
|
case 1:
|
|
128
|
-
requestOptions = _a.sent();
|
|
129
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
130
|
-
case 2:
|
|
131
103
|
response = _a.sent();
|
|
132
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
104
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
133
105
|
}
|
|
134
106
|
});
|
|
135
107
|
});
|
|
@@ -151,46 +123,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
151
123
|
});
|
|
152
124
|
});
|
|
153
125
|
};
|
|
154
|
-
/**
|
|
155
|
-
* Creates request options for attachAttributesProductRange without sending the request
|
|
156
|
-
*/
|
|
157
|
-
ProductRangeApi.prototype.attachAttributesProductRangeRequestOpts = function (requestParameters) {
|
|
158
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
159
|
-
var queryParameters, headerParameters, urlPath;
|
|
160
|
-
return __generator(this, function (_a) {
|
|
161
|
-
if (requestParameters['productRange'] == null) {
|
|
162
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachAttributesProductRange().');
|
|
163
|
-
}
|
|
164
|
-
queryParameters = {};
|
|
165
|
-
headerParameters = {};
|
|
166
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
167
|
-
urlPath = "/admin-api/product-range/{productRange}/attach-attributes";
|
|
168
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
169
|
-
return [2 /*return*/, {
|
|
170
|
-
path: urlPath,
|
|
171
|
-
method: 'POST',
|
|
172
|
-
headers: headerParameters,
|
|
173
|
-
query: queryParameters,
|
|
174
|
-
body: (0, AttachAttributesToProductRangeRequest_1.AttachAttributesToProductRangeRequestToJSON)(requestParameters['attachAttributesToProductRangeRequest']),
|
|
175
|
-
}];
|
|
176
|
-
});
|
|
177
|
-
});
|
|
178
|
-
};
|
|
179
126
|
/**
|
|
180
127
|
* Auto-generated: attachAttributesProductRange
|
|
181
128
|
*/
|
|
182
129
|
ProductRangeApi.prototype.attachAttributesProductRangeRaw = function (requestParameters, initOverrides) {
|
|
183
130
|
return __awaiter(this, void 0, void 0, function () {
|
|
184
|
-
var
|
|
131
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
185
132
|
return __generator(this, function (_a) {
|
|
186
133
|
switch (_a.label) {
|
|
187
|
-
case 0:
|
|
134
|
+
case 0:
|
|
135
|
+
if (requestParameters['productRange'] == null) {
|
|
136
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachAttributesProductRange().');
|
|
137
|
+
}
|
|
138
|
+
queryParameters = {};
|
|
139
|
+
headerParameters = {};
|
|
140
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
141
|
+
urlPath = "/admin-api/product-range/{productRange}/attach-attributes";
|
|
142
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
143
|
+
return [4 /*yield*/, this.request({
|
|
144
|
+
path: urlPath,
|
|
145
|
+
method: 'POST',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
body: (0, index_1.AttachAttributesToProductRangeRequestToJSON)(requestParameters['attachAttributesToProductRangeRequest']),
|
|
149
|
+
}, initOverrides)];
|
|
188
150
|
case 1:
|
|
189
|
-
requestOptions = _a.sent();
|
|
190
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
191
|
-
case 2:
|
|
192
151
|
response = _a.sent();
|
|
193
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
152
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
194
153
|
}
|
|
195
154
|
});
|
|
196
155
|
});
|
|
@@ -212,46 +171,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
212
171
|
});
|
|
213
172
|
});
|
|
214
173
|
};
|
|
215
|
-
/**
|
|
216
|
-
* Creates request options for attachDocumentsProductRange without sending the request
|
|
217
|
-
*/
|
|
218
|
-
ProductRangeApi.prototype.attachDocumentsProductRangeRequestOpts = function (requestParameters) {
|
|
219
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
220
|
-
var queryParameters, headerParameters, urlPath;
|
|
221
|
-
return __generator(this, function (_a) {
|
|
222
|
-
if (requestParameters['productRange'] == null) {
|
|
223
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachDocumentsProductRange().');
|
|
224
|
-
}
|
|
225
|
-
queryParameters = {};
|
|
226
|
-
headerParameters = {};
|
|
227
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
228
|
-
urlPath = "/admin-api/product-range/{productRange}/attach-documents";
|
|
229
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
230
|
-
return [2 /*return*/, {
|
|
231
|
-
path: urlPath,
|
|
232
|
-
method: 'POST',
|
|
233
|
-
headers: headerParameters,
|
|
234
|
-
query: queryParameters,
|
|
235
|
-
body: (0, AttachDocumentsToProductRangeRequest_1.AttachDocumentsToProductRangeRequestToJSON)(requestParameters['attachDocumentsToProductRangeRequest']),
|
|
236
|
-
}];
|
|
237
|
-
});
|
|
238
|
-
});
|
|
239
|
-
};
|
|
240
174
|
/**
|
|
241
175
|
* Auto-generated: attachDocumentsProductRange
|
|
242
176
|
*/
|
|
243
177
|
ProductRangeApi.prototype.attachDocumentsProductRangeRaw = function (requestParameters, initOverrides) {
|
|
244
178
|
return __awaiter(this, void 0, void 0, function () {
|
|
245
|
-
var
|
|
179
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
246
180
|
return __generator(this, function (_a) {
|
|
247
181
|
switch (_a.label) {
|
|
248
|
-
case 0:
|
|
182
|
+
case 0:
|
|
183
|
+
if (requestParameters['productRange'] == null) {
|
|
184
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachDocumentsProductRange().');
|
|
185
|
+
}
|
|
186
|
+
queryParameters = {};
|
|
187
|
+
headerParameters = {};
|
|
188
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
189
|
+
urlPath = "/admin-api/product-range/{productRange}/attach-documents";
|
|
190
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
191
|
+
return [4 /*yield*/, this.request({
|
|
192
|
+
path: urlPath,
|
|
193
|
+
method: 'POST',
|
|
194
|
+
headers: headerParameters,
|
|
195
|
+
query: queryParameters,
|
|
196
|
+
body: (0, index_1.AttachDocumentsToProductRangeRequestToJSON)(requestParameters['attachDocumentsToProductRangeRequest']),
|
|
197
|
+
}, initOverrides)];
|
|
249
198
|
case 1:
|
|
250
|
-
requestOptions = _a.sent();
|
|
251
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
252
|
-
case 2:
|
|
253
199
|
response = _a.sent();
|
|
254
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
200
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
255
201
|
}
|
|
256
202
|
});
|
|
257
203
|
});
|
|
@@ -273,46 +219,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
273
219
|
});
|
|
274
220
|
});
|
|
275
221
|
};
|
|
276
|
-
/**
|
|
277
|
-
* Creates request options for attachProductChildrenProductRange without sending the request
|
|
278
|
-
*/
|
|
279
|
-
ProductRangeApi.prototype.attachProductChildrenProductRangeRequestOpts = function (requestParameters) {
|
|
280
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
281
|
-
var queryParameters, headerParameters, urlPath;
|
|
282
|
-
return __generator(this, function (_a) {
|
|
283
|
-
if (requestParameters['productRange'] == null) {
|
|
284
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachProductChildrenProductRange().');
|
|
285
|
-
}
|
|
286
|
-
queryParameters = {};
|
|
287
|
-
headerParameters = {};
|
|
288
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
289
|
-
urlPath = "/admin-api/product-range/{productRange}/attach-products";
|
|
290
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
291
|
-
return [2 /*return*/, {
|
|
292
|
-
path: urlPath,
|
|
293
|
-
method: 'POST',
|
|
294
|
-
headers: headerParameters,
|
|
295
|
-
query: queryParameters,
|
|
296
|
-
body: (0, AttachProductChildrenToProductRangeRequest_1.AttachProductChildrenToProductRangeRequestToJSON)(requestParameters['attachProductChildrenToProductRangeRequest']),
|
|
297
|
-
}];
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
};
|
|
301
222
|
/**
|
|
302
223
|
* Auto-generated: attachProductChildrenProductRange
|
|
303
224
|
*/
|
|
304
225
|
ProductRangeApi.prototype.attachProductChildrenProductRangeRaw = function (requestParameters, initOverrides) {
|
|
305
226
|
return __awaiter(this, void 0, void 0, function () {
|
|
306
|
-
var
|
|
227
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
307
228
|
return __generator(this, function (_a) {
|
|
308
229
|
switch (_a.label) {
|
|
309
|
-
case 0:
|
|
230
|
+
case 0:
|
|
231
|
+
if (requestParameters['productRange'] == null) {
|
|
232
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling attachProductChildrenProductRange().');
|
|
233
|
+
}
|
|
234
|
+
queryParameters = {};
|
|
235
|
+
headerParameters = {};
|
|
236
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
237
|
+
urlPath = "/admin-api/product-range/{productRange}/attach-products";
|
|
238
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
239
|
+
return [4 /*yield*/, this.request({
|
|
240
|
+
path: urlPath,
|
|
241
|
+
method: 'POST',
|
|
242
|
+
headers: headerParameters,
|
|
243
|
+
query: queryParameters,
|
|
244
|
+
body: (0, index_1.AttachProductChildrenToProductRangeRequestToJSON)(requestParameters['attachProductChildrenToProductRangeRequest']),
|
|
245
|
+
}, initOverrides)];
|
|
310
246
|
case 1:
|
|
311
|
-
requestOptions = _a.sent();
|
|
312
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
313
|
-
case 2:
|
|
314
247
|
response = _a.sent();
|
|
315
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
248
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
316
249
|
}
|
|
317
250
|
});
|
|
318
251
|
});
|
|
@@ -334,44 +267,31 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
334
267
|
});
|
|
335
268
|
});
|
|
336
269
|
};
|
|
337
|
-
/**
|
|
338
|
-
* Creates request options for destroyProductRange without sending the request
|
|
339
|
-
*/
|
|
340
|
-
ProductRangeApi.prototype.destroyProductRangeRequestOpts = function (requestParameters) {
|
|
341
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
342
|
-
var queryParameters, headerParameters, urlPath;
|
|
343
|
-
return __generator(this, function (_a) {
|
|
344
|
-
if (requestParameters['productRange'] == null) {
|
|
345
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling destroyProductRange().');
|
|
346
|
-
}
|
|
347
|
-
queryParameters = {};
|
|
348
|
-
headerParameters = {};
|
|
349
|
-
urlPath = "/admin-api/product-range/{productRange}/delete";
|
|
350
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
351
|
-
return [2 /*return*/, {
|
|
352
|
-
path: urlPath,
|
|
353
|
-
method: 'DELETE',
|
|
354
|
-
headers: headerParameters,
|
|
355
|
-
query: queryParameters,
|
|
356
|
-
}];
|
|
357
|
-
});
|
|
358
|
-
});
|
|
359
|
-
};
|
|
360
270
|
/**
|
|
361
271
|
* Auto-generated: destroyProductRange
|
|
362
272
|
*/
|
|
363
273
|
ProductRangeApi.prototype.destroyProductRangeRaw = function (requestParameters, initOverrides) {
|
|
364
274
|
return __awaiter(this, void 0, void 0, function () {
|
|
365
|
-
var
|
|
275
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
366
276
|
return __generator(this, function (_a) {
|
|
367
277
|
switch (_a.label) {
|
|
368
|
-
case 0:
|
|
278
|
+
case 0:
|
|
279
|
+
if (requestParameters['productRange'] == null) {
|
|
280
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling destroyProductRange().');
|
|
281
|
+
}
|
|
282
|
+
queryParameters = {};
|
|
283
|
+
headerParameters = {};
|
|
284
|
+
urlPath = "/admin-api/product-range/{productRange}/delete";
|
|
285
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
286
|
+
return [4 /*yield*/, this.request({
|
|
287
|
+
path: urlPath,
|
|
288
|
+
method: 'DELETE',
|
|
289
|
+
headers: headerParameters,
|
|
290
|
+
query: queryParameters,
|
|
291
|
+
}, initOverrides)];
|
|
369
292
|
case 1:
|
|
370
|
-
requestOptions = _a.sent();
|
|
371
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
372
|
-
case 2:
|
|
373
293
|
response = _a.sent();
|
|
374
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
294
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
375
295
|
}
|
|
376
296
|
});
|
|
377
297
|
});
|
|
@@ -393,46 +313,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
393
313
|
});
|
|
394
314
|
});
|
|
395
315
|
};
|
|
396
|
-
/**
|
|
397
|
-
* Creates request options for detachAccessoriesProductRange without sending the request
|
|
398
|
-
*/
|
|
399
|
-
ProductRangeApi.prototype.detachAccessoriesProductRangeRequestOpts = function (requestParameters) {
|
|
400
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
401
|
-
var queryParameters, headerParameters, urlPath;
|
|
402
|
-
return __generator(this, function (_a) {
|
|
403
|
-
if (requestParameters['productRange'] == null) {
|
|
404
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachAccessoriesProductRange().');
|
|
405
|
-
}
|
|
406
|
-
queryParameters = {};
|
|
407
|
-
headerParameters = {};
|
|
408
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
409
|
-
urlPath = "/admin-api/product-range/{productRange}/detach-accessories";
|
|
410
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
411
|
-
return [2 /*return*/, {
|
|
412
|
-
path: urlPath,
|
|
413
|
-
method: 'POST',
|
|
414
|
-
headers: headerParameters,
|
|
415
|
-
query: queryParameters,
|
|
416
|
-
body: (0, DetachProductChildrenFromProductRangeRequest_1.DetachProductChildrenFromProductRangeRequestToJSON)(requestParameters['detachProductChildrenFromProductRangeRequest']),
|
|
417
|
-
}];
|
|
418
|
-
});
|
|
419
|
-
});
|
|
420
|
-
};
|
|
421
316
|
/**
|
|
422
317
|
* Auto-generated: detachAccessoriesProductRange
|
|
423
318
|
*/
|
|
424
319
|
ProductRangeApi.prototype.detachAccessoriesProductRangeRaw = function (requestParameters, initOverrides) {
|
|
425
320
|
return __awaiter(this, void 0, void 0, function () {
|
|
426
|
-
var
|
|
321
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
427
322
|
return __generator(this, function (_a) {
|
|
428
323
|
switch (_a.label) {
|
|
429
|
-
case 0:
|
|
324
|
+
case 0:
|
|
325
|
+
if (requestParameters['productRange'] == null) {
|
|
326
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachAccessoriesProductRange().');
|
|
327
|
+
}
|
|
328
|
+
queryParameters = {};
|
|
329
|
+
headerParameters = {};
|
|
330
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
331
|
+
urlPath = "/admin-api/product-range/{productRange}/detach-accessories";
|
|
332
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
333
|
+
return [4 /*yield*/, this.request({
|
|
334
|
+
path: urlPath,
|
|
335
|
+
method: 'POST',
|
|
336
|
+
headers: headerParameters,
|
|
337
|
+
query: queryParameters,
|
|
338
|
+
body: (0, index_1.DetachProductChildrenFromProductRangeRequestToJSON)(requestParameters['detachProductChildrenFromProductRangeRequest']),
|
|
339
|
+
}, initOverrides)];
|
|
430
340
|
case 1:
|
|
431
|
-
requestOptions = _a.sent();
|
|
432
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
433
|
-
case 2:
|
|
434
341
|
response = _a.sent();
|
|
435
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
342
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
436
343
|
}
|
|
437
344
|
});
|
|
438
345
|
});
|
|
@@ -454,46 +361,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
454
361
|
});
|
|
455
362
|
});
|
|
456
363
|
};
|
|
457
|
-
/**
|
|
458
|
-
* Creates request options for detachAttributesProductRange without sending the request
|
|
459
|
-
*/
|
|
460
|
-
ProductRangeApi.prototype.detachAttributesProductRangeRequestOpts = function (requestParameters) {
|
|
461
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
462
|
-
var queryParameters, headerParameters, urlPath;
|
|
463
|
-
return __generator(this, function (_a) {
|
|
464
|
-
if (requestParameters['productRange'] == null) {
|
|
465
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachAttributesProductRange().');
|
|
466
|
-
}
|
|
467
|
-
queryParameters = {};
|
|
468
|
-
headerParameters = {};
|
|
469
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
470
|
-
urlPath = "/admin-api/product-range/{productRange}/detach-attributes";
|
|
471
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
472
|
-
return [2 /*return*/, {
|
|
473
|
-
path: urlPath,
|
|
474
|
-
method: 'POST',
|
|
475
|
-
headers: headerParameters,
|
|
476
|
-
query: queryParameters,
|
|
477
|
-
body: (0, DetachAttributesFromProductRangeRequest_1.DetachAttributesFromProductRangeRequestToJSON)(requestParameters['detachAttributesFromProductRangeRequest']),
|
|
478
|
-
}];
|
|
479
|
-
});
|
|
480
|
-
});
|
|
481
|
-
};
|
|
482
364
|
/**
|
|
483
365
|
* Auto-generated: detachAttributesProductRange
|
|
484
366
|
*/
|
|
485
367
|
ProductRangeApi.prototype.detachAttributesProductRangeRaw = function (requestParameters, initOverrides) {
|
|
486
368
|
return __awaiter(this, void 0, void 0, function () {
|
|
487
|
-
var
|
|
369
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
488
370
|
return __generator(this, function (_a) {
|
|
489
371
|
switch (_a.label) {
|
|
490
|
-
case 0:
|
|
372
|
+
case 0:
|
|
373
|
+
if (requestParameters['productRange'] == null) {
|
|
374
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachAttributesProductRange().');
|
|
375
|
+
}
|
|
376
|
+
queryParameters = {};
|
|
377
|
+
headerParameters = {};
|
|
378
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
379
|
+
urlPath = "/admin-api/product-range/{productRange}/detach-attributes";
|
|
380
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
381
|
+
return [4 /*yield*/, this.request({
|
|
382
|
+
path: urlPath,
|
|
383
|
+
method: 'POST',
|
|
384
|
+
headers: headerParameters,
|
|
385
|
+
query: queryParameters,
|
|
386
|
+
body: (0, index_1.DetachAttributesFromProductRangeRequestToJSON)(requestParameters['detachAttributesFromProductRangeRequest']),
|
|
387
|
+
}, initOverrides)];
|
|
491
388
|
case 1:
|
|
492
|
-
requestOptions = _a.sent();
|
|
493
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
494
|
-
case 2:
|
|
495
389
|
response = _a.sent();
|
|
496
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
390
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
497
391
|
}
|
|
498
392
|
});
|
|
499
393
|
});
|
|
@@ -515,46 +409,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
515
409
|
});
|
|
516
410
|
});
|
|
517
411
|
};
|
|
518
|
-
/**
|
|
519
|
-
* Creates request options for detachDocumentsProductRange without sending the request
|
|
520
|
-
*/
|
|
521
|
-
ProductRangeApi.prototype.detachDocumentsProductRangeRequestOpts = function (requestParameters) {
|
|
522
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
523
|
-
var queryParameters, headerParameters, urlPath;
|
|
524
|
-
return __generator(this, function (_a) {
|
|
525
|
-
if (requestParameters['productRange'] == null) {
|
|
526
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachDocumentsProductRange().');
|
|
527
|
-
}
|
|
528
|
-
queryParameters = {};
|
|
529
|
-
headerParameters = {};
|
|
530
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
531
|
-
urlPath = "/admin-api/product-range/{productRange}/detach-documents";
|
|
532
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
533
|
-
return [2 /*return*/, {
|
|
534
|
-
path: urlPath,
|
|
535
|
-
method: 'POST',
|
|
536
|
-
headers: headerParameters,
|
|
537
|
-
query: queryParameters,
|
|
538
|
-
body: (0, DetachDocumentsFromProductRangeRequest_1.DetachDocumentsFromProductRangeRequestToJSON)(requestParameters['detachDocumentsFromProductRangeRequest']),
|
|
539
|
-
}];
|
|
540
|
-
});
|
|
541
|
-
});
|
|
542
|
-
};
|
|
543
412
|
/**
|
|
544
413
|
* Auto-generated: detachDocumentsProductRange
|
|
545
414
|
*/
|
|
546
415
|
ProductRangeApi.prototype.detachDocumentsProductRangeRaw = function (requestParameters, initOverrides) {
|
|
547
416
|
return __awaiter(this, void 0, void 0, function () {
|
|
548
|
-
var
|
|
417
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
549
418
|
return __generator(this, function (_a) {
|
|
550
419
|
switch (_a.label) {
|
|
551
|
-
case 0:
|
|
420
|
+
case 0:
|
|
421
|
+
if (requestParameters['productRange'] == null) {
|
|
422
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachDocumentsProductRange().');
|
|
423
|
+
}
|
|
424
|
+
queryParameters = {};
|
|
425
|
+
headerParameters = {};
|
|
426
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
427
|
+
urlPath = "/admin-api/product-range/{productRange}/detach-documents";
|
|
428
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
429
|
+
return [4 /*yield*/, this.request({
|
|
430
|
+
path: urlPath,
|
|
431
|
+
method: 'POST',
|
|
432
|
+
headers: headerParameters,
|
|
433
|
+
query: queryParameters,
|
|
434
|
+
body: (0, index_1.DetachDocumentsFromProductRangeRequestToJSON)(requestParameters['detachDocumentsFromProductRangeRequest']),
|
|
435
|
+
}, initOverrides)];
|
|
552
436
|
case 1:
|
|
553
|
-
requestOptions = _a.sent();
|
|
554
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
555
|
-
case 2:
|
|
556
437
|
response = _a.sent();
|
|
557
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
438
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
558
439
|
}
|
|
559
440
|
});
|
|
560
441
|
});
|
|
@@ -576,46 +457,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
576
457
|
});
|
|
577
458
|
});
|
|
578
459
|
};
|
|
579
|
-
/**
|
|
580
|
-
* Creates request options for detachProductChildrenProductRange without sending the request
|
|
581
|
-
*/
|
|
582
|
-
ProductRangeApi.prototype.detachProductChildrenProductRangeRequestOpts = function (requestParameters) {
|
|
583
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
584
|
-
var queryParameters, headerParameters, urlPath;
|
|
585
|
-
return __generator(this, function (_a) {
|
|
586
|
-
if (requestParameters['productRange'] == null) {
|
|
587
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachProductChildrenProductRange().');
|
|
588
|
-
}
|
|
589
|
-
queryParameters = {};
|
|
590
|
-
headerParameters = {};
|
|
591
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
592
|
-
urlPath = "/admin-api/product-range/{productRange}/detach-products";
|
|
593
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
594
|
-
return [2 /*return*/, {
|
|
595
|
-
path: urlPath,
|
|
596
|
-
method: 'POST',
|
|
597
|
-
headers: headerParameters,
|
|
598
|
-
query: queryParameters,
|
|
599
|
-
body: (0, DetachProductChildrenFromProductRangeRequest_1.DetachProductChildrenFromProductRangeRequestToJSON)(requestParameters['detachProductChildrenFromProductRangeRequest']),
|
|
600
|
-
}];
|
|
601
|
-
});
|
|
602
|
-
});
|
|
603
|
-
};
|
|
604
460
|
/**
|
|
605
461
|
* Auto-generated: detachProductChildrenProductRange
|
|
606
462
|
*/
|
|
607
463
|
ProductRangeApi.prototype.detachProductChildrenProductRangeRaw = function (requestParameters, initOverrides) {
|
|
608
464
|
return __awaiter(this, void 0, void 0, function () {
|
|
609
|
-
var
|
|
465
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
610
466
|
return __generator(this, function (_a) {
|
|
611
467
|
switch (_a.label) {
|
|
612
|
-
case 0:
|
|
468
|
+
case 0:
|
|
469
|
+
if (requestParameters['productRange'] == null) {
|
|
470
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling detachProductChildrenProductRange().');
|
|
471
|
+
}
|
|
472
|
+
queryParameters = {};
|
|
473
|
+
headerParameters = {};
|
|
474
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
475
|
+
urlPath = "/admin-api/product-range/{productRange}/detach-products";
|
|
476
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
477
|
+
return [4 /*yield*/, this.request({
|
|
478
|
+
path: urlPath,
|
|
479
|
+
method: 'POST',
|
|
480
|
+
headers: headerParameters,
|
|
481
|
+
query: queryParameters,
|
|
482
|
+
body: (0, index_1.DetachProductChildrenFromProductRangeRequestToJSON)(requestParameters['detachProductChildrenFromProductRangeRequest']),
|
|
483
|
+
}, initOverrides)];
|
|
613
484
|
case 1:
|
|
614
|
-
requestOptions = _a.sent();
|
|
615
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
616
|
-
case 2:
|
|
617
485
|
response = _a.sent();
|
|
618
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
486
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
619
487
|
}
|
|
620
488
|
});
|
|
621
489
|
});
|
|
@@ -637,42 +505,29 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
637
505
|
});
|
|
638
506
|
});
|
|
639
507
|
};
|
|
640
|
-
/**
|
|
641
|
-
* Creates request options for getAllProductRange without sending the request
|
|
642
|
-
*/
|
|
643
|
-
ProductRangeApi.prototype.getAllProductRangeRequestOpts = function (requestParameters) {
|
|
644
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
645
|
-
var queryParameters, headerParameters, urlPath;
|
|
646
|
-
return __generator(this, function (_a) {
|
|
647
|
-
queryParameters = {};
|
|
648
|
-
headerParameters = {};
|
|
649
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
650
|
-
urlPath = "/admin-api/product-range/all";
|
|
651
|
-
return [2 /*return*/, {
|
|
652
|
-
path: urlPath,
|
|
653
|
-
method: 'POST',
|
|
654
|
-
headers: headerParameters,
|
|
655
|
-
query: queryParameters,
|
|
656
|
-
body: (0, SearchAllProductRangesRequest_1.SearchAllProductRangesRequestToJSON)(requestParameters['searchAllProductRangesRequest']),
|
|
657
|
-
}];
|
|
658
|
-
});
|
|
659
|
-
});
|
|
660
|
-
};
|
|
661
508
|
/**
|
|
662
509
|
* Auto-generated: getAllProductRange
|
|
663
510
|
*/
|
|
664
511
|
ProductRangeApi.prototype.getAllProductRangeRaw = function (requestParameters, initOverrides) {
|
|
665
512
|
return __awaiter(this, void 0, void 0, function () {
|
|
666
|
-
var
|
|
513
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
667
514
|
return __generator(this, function (_a) {
|
|
668
515
|
switch (_a.label) {
|
|
669
|
-
case 0:
|
|
516
|
+
case 0:
|
|
517
|
+
queryParameters = {};
|
|
518
|
+
headerParameters = {};
|
|
519
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
520
|
+
urlPath = "/admin-api/product-range/all";
|
|
521
|
+
return [4 /*yield*/, this.request({
|
|
522
|
+
path: urlPath,
|
|
523
|
+
method: 'POST',
|
|
524
|
+
headers: headerParameters,
|
|
525
|
+
query: queryParameters,
|
|
526
|
+
body: (0, index_1.SearchAllProductRangesRequestToJSON)(requestParameters['searchAllProductRangesRequest']),
|
|
527
|
+
}, initOverrides)];
|
|
670
528
|
case 1:
|
|
671
|
-
requestOptions = _a.sent();
|
|
672
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
673
|
-
case 2:
|
|
674
529
|
response = _a.sent();
|
|
675
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
530
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeLiteResourceArrayResponseFromJSON)(jsonValue); })];
|
|
676
531
|
}
|
|
677
532
|
});
|
|
678
533
|
});
|
|
@@ -695,42 +550,29 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
695
550
|
});
|
|
696
551
|
});
|
|
697
552
|
};
|
|
698
|
-
/**
|
|
699
|
-
* Creates request options for indexProductRange without sending the request
|
|
700
|
-
*/
|
|
701
|
-
ProductRangeApi.prototype.indexProductRangeRequestOpts = function (requestParameters) {
|
|
702
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
703
|
-
var queryParameters, headerParameters, urlPath;
|
|
704
|
-
return __generator(this, function (_a) {
|
|
705
|
-
queryParameters = {};
|
|
706
|
-
headerParameters = {};
|
|
707
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
708
|
-
urlPath = "/admin-api/product-range/list";
|
|
709
|
-
return [2 /*return*/, {
|
|
710
|
-
path: urlPath,
|
|
711
|
-
method: 'POST',
|
|
712
|
-
headers: headerParameters,
|
|
713
|
-
query: queryParameters,
|
|
714
|
-
body: (0, SearchProductRangesRequest_1.SearchProductRangesRequestToJSON)(requestParameters['searchProductRangesRequest']),
|
|
715
|
-
}];
|
|
716
|
-
});
|
|
717
|
-
});
|
|
718
|
-
};
|
|
719
553
|
/**
|
|
720
554
|
* Auto-generated: indexProductRange
|
|
721
555
|
*/
|
|
722
556
|
ProductRangeApi.prototype.indexProductRangeRaw = function (requestParameters, initOverrides) {
|
|
723
557
|
return __awaiter(this, void 0, void 0, function () {
|
|
724
|
-
var
|
|
558
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
725
559
|
return __generator(this, function (_a) {
|
|
726
560
|
switch (_a.label) {
|
|
727
|
-
case 0:
|
|
561
|
+
case 0:
|
|
562
|
+
queryParameters = {};
|
|
563
|
+
headerParameters = {};
|
|
564
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
565
|
+
urlPath = "/admin-api/product-range/list";
|
|
566
|
+
return [4 /*yield*/, this.request({
|
|
567
|
+
path: urlPath,
|
|
568
|
+
method: 'POST',
|
|
569
|
+
headers: headerParameters,
|
|
570
|
+
query: queryParameters,
|
|
571
|
+
body: (0, index_1.SearchProductRangesRequestToJSON)(requestParameters['searchProductRangesRequest']),
|
|
572
|
+
}, initOverrides)];
|
|
728
573
|
case 1:
|
|
729
|
-
requestOptions = _a.sent();
|
|
730
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
731
|
-
case 2:
|
|
732
574
|
response = _a.sent();
|
|
733
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
575
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductRangeListResourceResponseFromJSON)(jsonValue); })];
|
|
734
576
|
}
|
|
735
577
|
});
|
|
736
578
|
});
|
|
@@ -753,46 +595,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
753
595
|
});
|
|
754
596
|
});
|
|
755
597
|
};
|
|
756
|
-
/**
|
|
757
|
-
* Creates request options for listAccessoriesProductRange without sending the request
|
|
758
|
-
*/
|
|
759
|
-
ProductRangeApi.prototype.listAccessoriesProductRangeRequestOpts = function (requestParameters) {
|
|
760
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
761
|
-
var queryParameters, headerParameters, urlPath;
|
|
762
|
-
return __generator(this, function (_a) {
|
|
763
|
-
if (requestParameters['productRange'] == null) {
|
|
764
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling listAccessoriesProductRange().');
|
|
765
|
-
}
|
|
766
|
-
queryParameters = {};
|
|
767
|
-
headerParameters = {};
|
|
768
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
769
|
-
urlPath = "/admin-api/product-range/{productRange}/accessory/list";
|
|
770
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
771
|
-
return [2 /*return*/, {
|
|
772
|
-
path: urlPath,
|
|
773
|
-
method: 'POST',
|
|
774
|
-
headers: headerParameters,
|
|
775
|
-
query: queryParameters,
|
|
776
|
-
body: (0, SearchProductChildrenRequest_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
777
|
-
}];
|
|
778
|
-
});
|
|
779
|
-
});
|
|
780
|
-
};
|
|
781
598
|
/**
|
|
782
599
|
* Auto-generated: listAccessoriesProductRange
|
|
783
600
|
*/
|
|
784
601
|
ProductRangeApi.prototype.listAccessoriesProductRangeRaw = function (requestParameters, initOverrides) {
|
|
785
602
|
return __awaiter(this, void 0, void 0, function () {
|
|
786
|
-
var
|
|
603
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
787
604
|
return __generator(this, function (_a) {
|
|
788
605
|
switch (_a.label) {
|
|
789
|
-
case 0:
|
|
606
|
+
case 0:
|
|
607
|
+
if (requestParameters['productRange'] == null) {
|
|
608
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling listAccessoriesProductRange().');
|
|
609
|
+
}
|
|
610
|
+
queryParameters = {};
|
|
611
|
+
headerParameters = {};
|
|
612
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
613
|
+
urlPath = "/admin-api/product-range/{productRange}/accessory/list";
|
|
614
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
615
|
+
return [4 /*yield*/, this.request({
|
|
616
|
+
path: urlPath,
|
|
617
|
+
method: 'POST',
|
|
618
|
+
headers: headerParameters,
|
|
619
|
+
query: queryParameters,
|
|
620
|
+
body: (0, index_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
621
|
+
}, initOverrides)];
|
|
790
622
|
case 1:
|
|
791
|
-
requestOptions = _a.sent();
|
|
792
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
793
|
-
case 2:
|
|
794
623
|
response = _a.sent();
|
|
795
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
624
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
796
625
|
}
|
|
797
626
|
});
|
|
798
627
|
});
|
|
@@ -814,46 +643,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
814
643
|
});
|
|
815
644
|
});
|
|
816
645
|
};
|
|
817
|
-
/**
|
|
818
|
-
* Creates request options for listProductsProductRange without sending the request
|
|
819
|
-
*/
|
|
820
|
-
ProductRangeApi.prototype.listProductsProductRangeRequestOpts = function (requestParameters) {
|
|
821
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
822
|
-
var queryParameters, headerParameters, urlPath;
|
|
823
|
-
return __generator(this, function (_a) {
|
|
824
|
-
if (requestParameters['productRange'] == null) {
|
|
825
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling listProductsProductRange().');
|
|
826
|
-
}
|
|
827
|
-
queryParameters = {};
|
|
828
|
-
headerParameters = {};
|
|
829
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
830
|
-
urlPath = "/admin-api/product-range/{productRange}/product/list";
|
|
831
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
832
|
-
return [2 /*return*/, {
|
|
833
|
-
path: urlPath,
|
|
834
|
-
method: 'POST',
|
|
835
|
-
headers: headerParameters,
|
|
836
|
-
query: queryParameters,
|
|
837
|
-
body: (0, SearchProductChildrenRequest_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
838
|
-
}];
|
|
839
|
-
});
|
|
840
|
-
});
|
|
841
|
-
};
|
|
842
646
|
/**
|
|
843
647
|
* Auto-generated: listProductsProductRange
|
|
844
648
|
*/
|
|
845
649
|
ProductRangeApi.prototype.listProductsProductRangeRaw = function (requestParameters, initOverrides) {
|
|
846
650
|
return __awaiter(this, void 0, void 0, function () {
|
|
847
|
-
var
|
|
651
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
848
652
|
return __generator(this, function (_a) {
|
|
849
653
|
switch (_a.label) {
|
|
850
|
-
case 0:
|
|
654
|
+
case 0:
|
|
655
|
+
if (requestParameters['productRange'] == null) {
|
|
656
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling listProductsProductRange().');
|
|
657
|
+
}
|
|
658
|
+
queryParameters = {};
|
|
659
|
+
headerParameters = {};
|
|
660
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
661
|
+
urlPath = "/admin-api/product-range/{productRange}/product/list";
|
|
662
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
663
|
+
return [4 /*yield*/, this.request({
|
|
664
|
+
path: urlPath,
|
|
665
|
+
method: 'POST',
|
|
666
|
+
headers: headerParameters,
|
|
667
|
+
query: queryParameters,
|
|
668
|
+
body: (0, index_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
669
|
+
}, initOverrides)];
|
|
851
670
|
case 1:
|
|
852
|
-
requestOptions = _a.sent();
|
|
853
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
854
|
-
case 2:
|
|
855
671
|
response = _a.sent();
|
|
856
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
672
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
857
673
|
}
|
|
858
674
|
});
|
|
859
675
|
});
|
|
@@ -875,44 +691,31 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
875
691
|
});
|
|
876
692
|
});
|
|
877
693
|
};
|
|
878
|
-
/**
|
|
879
|
-
* Creates request options for showProductRange without sending the request
|
|
880
|
-
*/
|
|
881
|
-
ProductRangeApi.prototype.showProductRangeRequestOpts = function (requestParameters) {
|
|
882
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
883
|
-
var queryParameters, headerParameters, urlPath;
|
|
884
|
-
return __generator(this, function (_a) {
|
|
885
|
-
if (requestParameters['productRange'] == null) {
|
|
886
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling showProductRange().');
|
|
887
|
-
}
|
|
888
|
-
queryParameters = {};
|
|
889
|
-
headerParameters = {};
|
|
890
|
-
urlPath = "/admin-api/product-range/{productRange}";
|
|
891
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
892
|
-
return [2 /*return*/, {
|
|
893
|
-
path: urlPath,
|
|
894
|
-
method: 'GET',
|
|
895
|
-
headers: headerParameters,
|
|
896
|
-
query: queryParameters,
|
|
897
|
-
}];
|
|
898
|
-
});
|
|
899
|
-
});
|
|
900
|
-
};
|
|
901
694
|
/**
|
|
902
695
|
* Auto-generated: showProductRange
|
|
903
696
|
*/
|
|
904
697
|
ProductRangeApi.prototype.showProductRangeRaw = function (requestParameters, initOverrides) {
|
|
905
698
|
return __awaiter(this, void 0, void 0, function () {
|
|
906
|
-
var
|
|
699
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
907
700
|
return __generator(this, function (_a) {
|
|
908
701
|
switch (_a.label) {
|
|
909
|
-
case 0:
|
|
702
|
+
case 0:
|
|
703
|
+
if (requestParameters['productRange'] == null) {
|
|
704
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling showProductRange().');
|
|
705
|
+
}
|
|
706
|
+
queryParameters = {};
|
|
707
|
+
headerParameters = {};
|
|
708
|
+
urlPath = "/admin-api/product-range/{productRange}";
|
|
709
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
710
|
+
return [4 /*yield*/, this.request({
|
|
711
|
+
path: urlPath,
|
|
712
|
+
method: 'GET',
|
|
713
|
+
headers: headerParameters,
|
|
714
|
+
query: queryParameters,
|
|
715
|
+
}, initOverrides)];
|
|
910
716
|
case 1:
|
|
911
|
-
requestOptions = _a.sent();
|
|
912
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
913
|
-
case 2:
|
|
914
717
|
response = _a.sent();
|
|
915
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
718
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
916
719
|
}
|
|
917
720
|
});
|
|
918
721
|
});
|
|
@@ -934,42 +737,29 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
934
737
|
});
|
|
935
738
|
});
|
|
936
739
|
};
|
|
937
|
-
/**
|
|
938
|
-
* Creates request options for storeProductRange without sending the request
|
|
939
|
-
*/
|
|
940
|
-
ProductRangeApi.prototype.storeProductRangeRequestOpts = function (requestParameters) {
|
|
941
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
942
|
-
var queryParameters, headerParameters, urlPath;
|
|
943
|
-
return __generator(this, function (_a) {
|
|
944
|
-
queryParameters = {};
|
|
945
|
-
headerParameters = {};
|
|
946
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
947
|
-
urlPath = "/admin-api/product-range/create";
|
|
948
|
-
return [2 /*return*/, {
|
|
949
|
-
path: urlPath,
|
|
950
|
-
method: 'POST',
|
|
951
|
-
headers: headerParameters,
|
|
952
|
-
query: queryParameters,
|
|
953
|
-
body: (0, CreateProductRangeRequest_1.CreateProductRangeRequestToJSON)(requestParameters['createProductRangeRequest']),
|
|
954
|
-
}];
|
|
955
|
-
});
|
|
956
|
-
});
|
|
957
|
-
};
|
|
958
740
|
/**
|
|
959
741
|
* Auto-generated: storeProductRange
|
|
960
742
|
*/
|
|
961
743
|
ProductRangeApi.prototype.storeProductRangeRaw = function (requestParameters, initOverrides) {
|
|
962
744
|
return __awaiter(this, void 0, void 0, function () {
|
|
963
|
-
var
|
|
745
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
964
746
|
return __generator(this, function (_a) {
|
|
965
747
|
switch (_a.label) {
|
|
966
|
-
case 0:
|
|
748
|
+
case 0:
|
|
749
|
+
queryParameters = {};
|
|
750
|
+
headerParameters = {};
|
|
751
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
752
|
+
urlPath = "/admin-api/product-range/create";
|
|
753
|
+
return [4 /*yield*/, this.request({
|
|
754
|
+
path: urlPath,
|
|
755
|
+
method: 'POST',
|
|
756
|
+
headers: headerParameters,
|
|
757
|
+
query: queryParameters,
|
|
758
|
+
body: (0, index_1.CreateProductRangeRequestToJSON)(requestParameters['createProductRangeRequest']),
|
|
759
|
+
}, initOverrides)];
|
|
967
760
|
case 1:
|
|
968
|
-
requestOptions = _a.sent();
|
|
969
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
970
|
-
case 2:
|
|
971
761
|
response = _a.sent();
|
|
972
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
762
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
973
763
|
}
|
|
974
764
|
});
|
|
975
765
|
});
|
|
@@ -992,46 +782,33 @@ var ProductRangeApi = /** @class */ (function (_super) {
|
|
|
992
782
|
});
|
|
993
783
|
});
|
|
994
784
|
};
|
|
995
|
-
/**
|
|
996
|
-
* Creates request options for updateProductRange without sending the request
|
|
997
|
-
*/
|
|
998
|
-
ProductRangeApi.prototype.updateProductRangeRequestOpts = function (requestParameters) {
|
|
999
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1000
|
-
var queryParameters, headerParameters, urlPath;
|
|
1001
|
-
return __generator(this, function (_a) {
|
|
1002
|
-
if (requestParameters['productRange'] == null) {
|
|
1003
|
-
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling updateProductRange().');
|
|
1004
|
-
}
|
|
1005
|
-
queryParameters = {};
|
|
1006
|
-
headerParameters = {};
|
|
1007
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1008
|
-
urlPath = "/admin-api/product-range/{productRange}/update";
|
|
1009
|
-
urlPath = urlPath.replace('{productRange}', encodeURIComponent(String(requestParameters['productRange'])));
|
|
1010
|
-
return [2 /*return*/, {
|
|
1011
|
-
path: urlPath,
|
|
1012
|
-
method: 'PUT',
|
|
1013
|
-
headers: headerParameters,
|
|
1014
|
-
query: queryParameters,
|
|
1015
|
-
body: (0, UpdateProductRangeRequest_1.UpdateProductRangeRequestToJSON)(requestParameters['updateProductRangeRequest']),
|
|
1016
|
-
}];
|
|
1017
|
-
});
|
|
1018
|
-
});
|
|
1019
|
-
};
|
|
1020
785
|
/**
|
|
1021
786
|
* Auto-generated: updateProductRange
|
|
1022
787
|
*/
|
|
1023
788
|
ProductRangeApi.prototype.updateProductRangeRaw = function (requestParameters, initOverrides) {
|
|
1024
789
|
return __awaiter(this, void 0, void 0, function () {
|
|
1025
|
-
var
|
|
790
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1026
791
|
return __generator(this, function (_a) {
|
|
1027
792
|
switch (_a.label) {
|
|
1028
|
-
case 0:
|
|
793
|
+
case 0:
|
|
794
|
+
if (requestParameters['productRange'] == null) {
|
|
795
|
+
throw new runtime.RequiredError('productRange', 'Required parameter "productRange" was null or undefined when calling updateProductRange().');
|
|
796
|
+
}
|
|
797
|
+
queryParameters = {};
|
|
798
|
+
headerParameters = {};
|
|
799
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
800
|
+
urlPath = "/admin-api/product-range/{productRange}/update";
|
|
801
|
+
urlPath = urlPath.replace("{".concat("productRange", "}"), encodeURIComponent(String(requestParameters['productRange'])));
|
|
802
|
+
return [4 /*yield*/, this.request({
|
|
803
|
+
path: urlPath,
|
|
804
|
+
method: 'PUT',
|
|
805
|
+
headers: headerParameters,
|
|
806
|
+
query: queryParameters,
|
|
807
|
+
body: (0, index_1.UpdateProductRangeRequestToJSON)(requestParameters['updateProductRangeRequest']),
|
|
808
|
+
}, initOverrides)];
|
|
1029
809
|
case 1:
|
|
1030
|
-
requestOptions = _a.sent();
|
|
1031
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1032
|
-
case 2:
|
|
1033
810
|
response = _a.sent();
|
|
1034
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
811
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductRangeResourceFromJSON)(jsonValue); })];
|
|
1035
812
|
}
|
|
1036
813
|
});
|
|
1037
814
|
});
|