UNPKG

@commercetools/platform-sdk

Version:

TypeScript definitions and SDK for commercetools Composable Commerce

1 lines 271 kB
var window;(window||={})["@commercetools/platform-sdk"]=(()=>{var vi=Object.defineProperty;var fn=Object.getOwnPropertyDescriptor;var Pn=Object.getOwnPropertyNames;var Un=Object.prototype.hasOwnProperty;var Cn=(t,e)=>{for(var s in e)vi(t,s,{get:e[s],enumerable:!0})},Sn=(t,e,s,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pn(e))!Un.call(t,i)&&i!==s&&vi(t,i,{get:()=>e[i],enumerable:!(a=fn(e,i))||a.enumerable});return t};var In=t=>Sn(vi({},"__esModule",{value:!0}),t);var Bn={};Cn(Bn,{AnonymousCartSignInModeValues:()=>la,ApiRequest:()=>r,ApiRoot:()=>Qi,ApprovalFlowStatusValues:()=>Oi,ApprovalRuleStatusValues:()=>Li,AssociateRoleInheritanceModeValues:()=>Vi,AttributeConstraintEnumDraftValues:()=>La,AttributeConstraintEnumValues:()=>Oa,AttributeLevelEnumValues:()=>Fa,AttributeReferenceTypeIdValues:()=>Va,AttributionSourceValues:()=>ya,AuthenticationModeValues:()=>ha,AwsAuthenticationModeValues:()=>cn,BusinessUnitApprovalRuleModeValues:()=>Gi,BusinessUnitAssociateModeValues:()=>Ni,BusinessUnitConfigurationStatusValues:()=>Ha,BusinessUnitIndexingStatusValues:()=>Na,BusinessUnitSearchStatusValues:()=>_a,BusinessUnitStatusValues:()=>zi,BusinessUnitStoreModeValues:()=>Hi,BusinessUnitTypeValues:()=>_i,ByProjectKeyApiClientsByIDRequestBuilder:()=>P,ByProjectKeyApiClientsRequestBuilder:()=>U,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDRequestBuilder:()=>C,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyRequestBuilder:()=>S,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsRequestBuilder:()=>I,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDRequestBuilder:()=>T,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsRequestBuilder:()=>k,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDRequestBuilder:()=>D,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyRequestBuilder:()=>K,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesRequestBuilder:()=>j,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDRequestBuilder:()=>B,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyRequestBuilder:()=>Q,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateRequestBuilder:()=>w,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsRequestBuilder:()=>v,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDRequestBuilder:()=>E,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberRequestBuilder:()=>O,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesRequestBuilder:()=>M,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersRequestBuilder:()=>L,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDRequestBuilder:()=>F,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyRequestBuilder:()=>V,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsRequestBuilder:()=>G,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDRequestBuilder:()=>N,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyRequestBuilder:()=>z,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesRequestBuilder:()=>H,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyRequestBuilder:()=>J,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsByIDRequestBuilder:()=>_,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsKeyByKeyRequestBuilder:()=>Z,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsRequestBuilder:()=>W,ByProjectKeyAsAssociateByAssociateIdRequestBuilder:()=>$,ByProjectKeyAsAssociateRequestBuilder:()=>X,ByProjectKeyAssociateRolesByIDRequestBuilder:()=>Y,ByProjectKeyAssociateRolesKeyByKeyRequestBuilder:()=>ee,ByProjectKeyAssociateRolesRequestBuilder:()=>re,ByProjectKeyAttributeGroupsByIDRequestBuilder:()=>te,ByProjectKeyAttributeGroupsKeyByKeyRequestBuilder:()=>se,ByProjectKeyAttributeGroupsRequestBuilder:()=>ie,ByProjectKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder:()=>ae,ByProjectKeyBusinessUnitsByIDRequestBuilder:()=>de,ByProjectKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder:()=>ne,ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder:()=>pe,ByProjectKeyBusinessUnitsRequestBuilder:()=>ye,ByProjectKeyBusinessUnitsSearchIndexingStatusRequestBuilder:()=>oe,ByProjectKeyBusinessUnitsSearchRequestBuilder:()=>ue,ByProjectKeyCartDiscountsByIDRequestBuilder:()=>ce,ByProjectKeyCartDiscountsKeyByKeyRequestBuilder:()=>ge,ByProjectKeyCartDiscountsRequestBuilder:()=>le,ByProjectKeyCartsByIDRequestBuilder:()=>me,ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder:()=>Ae,ByProjectKeyCartsKeyByKeyRequestBuilder:()=>be,ByProjectKeyCartsReplicateRequestBuilder:()=>he,ByProjectKeyCartsRequestBuilder:()=>xe,ByProjectKeyCategoriesByIDRequestBuilder:()=>Re,ByProjectKeyCategoriesKeyByKeyRequestBuilder:()=>qe,ByProjectKeyCategoriesRequestBuilder:()=>fe,ByProjectKeyChannelsByIDRequestBuilder:()=>Pe,ByProjectKeyChannelsKeyByKeyRequestBuilder:()=>Ue,ByProjectKeyChannelsRequestBuilder:()=>Ce,ByProjectKeyCustomObjectsByContainerByKeyRequestBuilder:()=>Se,ByProjectKeyCustomObjectsByContainerRequestBuilder:()=>Ie,ByProjectKeyCustomObjectsRequestBuilder:()=>Te,ByProjectKeyCustomerGroupsByIDRequestBuilder:()=>ke,ByProjectKeyCustomerGroupsKeyByKeyRequestBuilder:()=>De,ByProjectKeyCustomerGroupsRequestBuilder:()=>Ke,ByProjectKeyCustomersByIDRequestBuilder:()=>Oe,ByProjectKeyCustomersEmailConfirmRequestBuilder:()=>je,ByProjectKeyCustomersEmailTokenByEmailTokenRequestBuilder:()=>Le,ByProjectKeyCustomersEmailTokenRequestBuilder:()=>we,ByProjectKeyCustomersKeyByKeyRequestBuilder:()=>Fe,ByProjectKeyCustomersPasswordRequestBuilder:()=>ve,ByProjectKeyCustomersPasswordResetRequestBuilder:()=>Me,ByProjectKeyCustomersPasswordTokenByPasswordTokenRequestBuilder:()=>Ve,ByProjectKeyCustomersPasswordTokenRequestBuilder:()=>Qe,ByProjectKeyCustomersRequestBuilder:()=>Ge,ByProjectKeyCustomersSearchIndexingStatusRequestBuilder:()=>Be,ByProjectKeyCustomersSearchRequestBuilder:()=>Ee,ByProjectKeyDiscountCodesByIDRequestBuilder:()=>Ne,ByProjectKeyDiscountCodesKeyByKeyRequestBuilder:()=>ze,ByProjectKeyDiscountCodesRequestBuilder:()=>He,ByProjectKeyDiscountGroupsByIDRequestBuilder:()=>_e,ByProjectKeyDiscountGroupsKeyByKeyRequestBuilder:()=>Ze,ByProjectKeyDiscountGroupsRequestBuilder:()=>We,ByProjectKeyExtensionsByIDRequestBuilder:()=>Je,ByProjectKeyExtensionsKeyByKeyRequestBuilder:()=>$e,ByProjectKeyExtensionsRequestBuilder:()=>Xe,ByProjectKeyGraphqlRequestBuilder:()=>Ye,ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder:()=>er,ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder:()=>rr,ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder:()=>tr,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder:()=>sr,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByIDRequestBuilder:()=>ar,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder:()=>ir,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyRequestBuilder:()=>nr,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsRequestBuilder:()=>or,ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDRequestBuilder:()=>ur,ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyRequestBuilder:()=>dr,ByProjectKeyInStoreKeyByStoreKeyCartDiscountsRequestBuilder:()=>pr,ByProjectKeyInStoreKeyByStoreKeyCartsByIDRequestBuilder:()=>cr,ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdRequestBuilder:()=>gr,ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyRequestBuilder:()=>lr,ByProjectKeyInStoreKeyByStoreKeyCartsReplicateRequestBuilder:()=>yr,ByProjectKeyInStoreKeyByStoreKeyCartsRequestBuilder:()=>hr,ByProjectKeyInStoreKeyByStoreKeyCustomersByIDRequestBuilder:()=>qr,ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmRequestBuilder:()=>mr,ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenRequestBuilder:()=>fr,ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenRequestBuilder:()=>Ar,ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyRequestBuilder:()=>Pr,ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordRequestBuilder:()=>xr,ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetRequestBuilder:()=>Rr,ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenRequestBuilder:()=>Ur,ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenRequestBuilder:()=>br,ByProjectKeyInStoreKeyByStoreKeyCustomersRequestBuilder:()=>Cr,ByProjectKeyInStoreKeyByStoreKeyLoginRequestBuilder:()=>Sr,ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder:()=>q,ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder:()=>Ir,ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder:()=>Tr,ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmRequestBuilder:()=>kr,ByProjectKeyInStoreKeyByStoreKeyMeLoginRequestBuilder:()=>Dr,ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDRequestBuilder:()=>Kr,ByProjectKeyInStoreKeyByStoreKeyMeOrdersRequestBuilder:()=>jr,ByProjectKeyInStoreKeyByStoreKeyMePasswordRequestBuilder:()=>Br,ByProjectKeyInStoreKeyByStoreKeyMePasswordResetRequestBuilder:()=>wr,ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder:()=>Or,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDRequestBuilder:()=>Qr,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyRequestBuilder:()=>vr,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsRequestBuilder:()=>Mr,ByProjectKeyInStoreKeyByStoreKeyMeSignupRequestBuilder:()=>Er,ByProjectKeyInStoreKeyByStoreKeyOrdersByIDRequestBuilder:()=>Fr,ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberRequestBuilder:()=>Vr,ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesRequestBuilder:()=>Lr,ByProjectKeyInStoreKeyByStoreKeyOrdersRequestBuilder:()=>Gr,ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder:()=>Nr,ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder:()=>zr,ByProjectKeyInStoreKeyByStoreKeyProductProjectionsRequestBuilder:()=>Hr,ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsRequestBuilder:()=>_r,ByProjectKeyInStoreKeyByStoreKeyProductTailoringRequestBuilder:()=>Zr,ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesRequestBuilder:()=>Wr,ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringRequestBuilder:()=>Jr,ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDRequestBuilder:()=>$r,ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesRequestBuilder:()=>Xr,ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringRequestBuilder:()=>Yr,ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyRequestBuilder:()=>et,ByProjectKeyInStoreKeyByStoreKeyProductsRequestBuilder:()=>rt,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDRequestBuilder:()=>tt,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyRequestBuilder:()=>st,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsRequestBuilder:()=>it,ByProjectKeyInStoreKeyByStoreKeyQuotesByIDRequestBuilder:()=>at,ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyRequestBuilder:()=>nt,ByProjectKeyInStoreKeyByStoreKeyQuotesRequestBuilder:()=>ot,ByProjectKeyInStoreKeyByStoreKeyRequestBuilder:()=>mt,ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartRequestBuilder:()=>ut,ByProjectKeyInStoreKeyByStoreKeyShippingMethodsRequestBuilder:()=>dt,ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDRequestBuilder:()=>pt,ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyRequestBuilder:()=>yt,ByProjectKeyInStoreKeyByStoreKeyShoppingListsRequestBuilder:()=>ct,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDRequestBuilder:()=>gt,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyRequestBuilder:()=>lt,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesRequestBuilder:()=>ht,ByProjectKeyInventoryByIDRequestBuilder:()=>At,ByProjectKeyInventoryKeyByKeyRequestBuilder:()=>bt,ByProjectKeyInventoryRequestBuilder:()=>xt,ByProjectKeyLoginRequestBuilder:()=>Rt,ByProjectKeyMeActiveCartRequestBuilder:()=>f,ByProjectKeyMeBusinessUnitsByIDRequestBuilder:()=>qt,ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder:()=>ft,ByProjectKeyMeBusinessUnitsRequestBuilder:()=>Pt,ByProjectKeyMeCartsByIDRequestBuilder:()=>Ct,ByProjectKeyMeCartsReplicateRequestBuilder:()=>Ut,ByProjectKeyMeCartsRequestBuilder:()=>St,ByProjectKeyMeEmailConfirmRequestBuilder:()=>It,ByProjectKeyMeLoginRequestBuilder:()=>Tt,ByProjectKeyMeOrdersByIDRequestBuilder:()=>Dt,ByProjectKeyMeOrdersQuotesRequestBuilder:()=>kt,ByProjectKeyMeOrdersRequestBuilder:()=>Kt,ByProjectKeyMePasswordRequestBuilder:()=>wt,ByProjectKeyMePasswordResetRequestBuilder:()=>jt,ByProjectKeyMePaymentsByIDRequestBuilder:()=>Bt,ByProjectKeyMePaymentsRequestBuilder:()=>Qt,ByProjectKeyMeQuoteRequestsByIDRequestBuilder:()=>vt,ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder:()=>Mt,ByProjectKeyMeQuoteRequestsRequestBuilder:()=>Et,ByProjectKeyMeQuotesByIDRequestBuilder:()=>Ot,ByProjectKeyMeQuotesKeyByKeyRequestBuilder:()=>Lt,ByProjectKeyMeQuotesRequestBuilder:()=>Ft,ByProjectKeyMeRequestBuilder:()=>Ht,ByProjectKeyMeShoppingListsByIDRequestBuilder:()=>Vt,ByProjectKeyMeShoppingListsKeyByKeyRequestBuilder:()=>Gt,ByProjectKeyMeShoppingListsRequestBuilder:()=>Nt,ByProjectKeyMeSignupRequestBuilder:()=>zt,ByProjectKeyMessagesByIDRequestBuilder:()=>_t,ByProjectKeyMessagesRequestBuilder:()=>Zt,ByProjectKeyOrdersByIDRequestBuilder:()=>ts,ByProjectKeyOrdersEditsByIDApplyRequestBuilder:()=>Wt,ByProjectKeyOrdersEditsByIDRequestBuilder:()=>Jt,ByProjectKeyOrdersEditsKeyByKeyRequestBuilder:()=>$t,ByProjectKeyOrdersEditsRequestBuilder:()=>Xt,ByProjectKeyOrdersImportRequestBuilder:()=>Yt,ByProjectKeyOrdersOrderNumberByOrderNumberRequestBuilder:()=>ss,ByProjectKeyOrdersQuotesRequestBuilder:()=>es,ByProjectKeyOrdersRequestBuilder:()=>is,ByProjectKeyOrdersSearchRequestBuilder:()=>rs,ByProjectKeyPaymentMethodsByIDRequestBuilder:()=>as,ByProjectKeyPaymentMethodsKeyByKeyRequestBuilder:()=>ns,ByProjectKeyPaymentMethodsRequestBuilder:()=>os,ByProjectKeyPaymentsByIDRequestBuilder:()=>us,ByProjectKeyPaymentsKeyByKeyRequestBuilder:()=>ds,ByProjectKeyPaymentsRequestBuilder:()=>ps,ByProjectKeyProductDiscountsByIDRequestBuilder:()=>cs,ByProjectKeyProductDiscountsKeyByKeyRequestBuilder:()=>gs,ByProjectKeyProductDiscountsMatchingRequestBuilder:()=>ys,ByProjectKeyProductDiscountsRequestBuilder:()=>ls,ByProjectKeyProductProjectionsByIDRequestBuilder:()=>As,ByProjectKeyProductProjectionsKeyByKeyRequestBuilder:()=>bs,ByProjectKeyProductProjectionsRequestBuilder:()=>xs,ByProjectKeyProductProjectionsSearchRequestBuilder:()=>hs,ByProjectKeyProductProjectionsSuggestRequestBuilder:()=>ms,ByProjectKeyProductSelectionsByIDProductsRequestBuilder:()=>Rs,ByProjectKeyProductSelectionsByIDRequestBuilder:()=>qs,ByProjectKeyProductSelectionsKeyByKeyProductsRequestBuilder:()=>fs,ByProjectKeyProductSelectionsKeyByKeyRequestBuilder:()=>Ps,ByProjectKeyProductSelectionsRequestBuilder:()=>Us,ByProjectKeyProductTailoringByIDRequestBuilder:()=>Cs,ByProjectKeyProductTailoringKeyByKeyRequestBuilder:()=>Ss,ByProjectKeyProductTailoringRequestBuilder:()=>Is,ByProjectKeyProductTypesByIDRequestBuilder:()=>Ts,ByProjectKeyProductTypesKeyByKeyRequestBuilder:()=>ks,ByProjectKeyProductTypesRequestBuilder:()=>Ds,ByProjectKeyProductsByIDImagesRequestBuilder:()=>js,ByProjectKeyProductsByIDProductSelectionsRequestBuilder:()=>ws,ByProjectKeyProductsByIDRequestBuilder:()=>Bs,ByProjectKeyProductsKeyByKeyProductSelectionsRequestBuilder:()=>Qs,ByProjectKeyProductsKeyByKeyRequestBuilder:()=>vs,ByProjectKeyProductsRequestBuilder:()=>Ms,ByProjectKeyProductsSearchRequestBuilder:()=>Ks,ByProjectKeyQuoteRequestsByIDRequestBuilder:()=>Es,ByProjectKeyQuoteRequestsKeyByKeyRequestBuilder:()=>Os,ByProjectKeyQuoteRequestsRequestBuilder:()=>Ls,ByProjectKeyQuotesByIDRequestBuilder:()=>Fs,ByProjectKeyQuotesKeyByKeyRequestBuilder:()=>Vs,ByProjectKeyQuotesRequestBuilder:()=>Gs,ByProjectKeyRecurrencePoliciesByIDRequestBuilder:()=>Ns,ByProjectKeyRecurrencePoliciesKeyByKeyRequestBuilder:()=>zs,ByProjectKeyRecurrencePoliciesRequestBuilder:()=>Hs,ByProjectKeyRecurringOrdersByIDRequestBuilder:()=>_s,ByProjectKeyRecurringOrdersKeyByKeyRequestBuilder:()=>Zs,ByProjectKeyRecurringOrdersRequestBuilder:()=>Ws,ByProjectKeyRequestBuilder:()=>Bi,ByProjectKeyReviewsByIDRequestBuilder:()=>Js,ByProjectKeyReviewsKeyByKeyRequestBuilder:()=>$s,ByProjectKeyReviewsRequestBuilder:()=>Xs,ByProjectKeyShippingMethodsByIDRequestBuilder:()=>si,ByProjectKeyShippingMethodsKeyByKeyRequestBuilder:()=>ii,ByProjectKeyShippingMethodsMatchingCartLocationRequestBuilder:()=>Ys,ByProjectKeyShippingMethodsMatchingCartRequestBuilder:()=>ei,ByProjectKeyShippingMethodsMatchingLocationRequestBuilder:()=>ri,ByProjectKeyShippingMethodsMatchingOrdereditRequestBuilder:()=>ti,ByProjectKeyShippingMethodsRequestBuilder:()=>ai,ByProjectKeyShoppingListsByIDRequestBuilder:()=>ni,ByProjectKeyShoppingListsKeyByKeyRequestBuilder:()=>oi,ByProjectKeyShoppingListsRequestBuilder:()=>ui,ByProjectKeyStagedQuotesByIDRequestBuilder:()=>di,ByProjectKeyStagedQuotesKeyByKeyRequestBuilder:()=>pi,ByProjectKeyStagedQuotesRequestBuilder:()=>yi,ByProjectKeyStandalonePricesByIDRequestBuilder:()=>ci,ByProjectKeyStandalonePricesKeyByKeyRequestBuilder:()=>gi,ByProjectKeyStandalonePricesRequestBuilder:()=>li,ByProjectKeyStatesByIDRequestBuilder:()=>hi,ByProjectKeyStatesKeyByKeyRequestBuilder:()=>mi,ByProjectKeyStatesRequestBuilder:()=>Ai,ByProjectKeyStoresByIDRequestBuilder:()=>bi,ByProjectKeyStoresKeyByKeyRequestBuilder:()=>xi,ByProjectKeyStoresRequestBuilder:()=>Ri,ByProjectKeySubscriptionsByIDHealthRequestBuilder:()=>qi,ByProjectKeySubscriptionsByIDRequestBuilder:()=>fi,ByProjectKeySubscriptionsKeyByKeyRequestBuilder:()=>Pi,ByProjectKeySubscriptionsRequestBuilder:()=>Ui,ByProjectKeyTaxCategoriesByIDRequestBuilder:()=>Ci,ByProjectKeyTaxCategoriesKeyByKeyRequestBuilder:()=>Si,ByProjectKeyTaxCategoriesRequestBuilder:()=>Ii,ByProjectKeyTypesByIDRequestBuilder:()=>Ti,ByProjectKeyTypesKeyByKeyRequestBuilder:()=>ki,ByProjectKeyTypesRequestBuilder:()=>Di,ByProjectKeyZonesByIDRequestBuilder:()=>Ki,ByProjectKeyZonesKeyByKeyRequestBuilder:()=>ji,ByProjectKeyZonesRequestBuilder:()=>wi,CartOriginValues:()=>Zi,CartStateValues:()=>Wi,ChangeSubscriptionResourceTypeIdValues:()=>gn,ChannelRoleEnumValues:()=>pa,CustomFieldReferenceValueValues:()=>bn,CustomLineItemPriceModeValues:()=>Ji,CustomerIndexingStatusValues:()=>za,CustomerSearchStatusValues:()=>Za,DiscountApplicationModeValues:()=>oa,DiscountCodeStateValues:()=>$i,EventSubscriptionResourceTypeIdValues:()=>ln,EventTypeValues:()=>hn,ExtensionActionValues:()=>ma,ExtensionResourceTypeIdValues:()=>Aa,FacetTypesValues:()=>Ka,IntervalUnitValues:()=>en,InventoryModeValues:()=>Xi,LineItemModeValues:()=>Yi,LineItemPriceModeValues:()=>ea,MessageSubscriptionResourceTypeIdValues:()=>mn,MoneyTypeValues:()=>ca,MyQuoteStateValues:()=>ba,OrderSearchCustomTypeValues:()=>xa,OrderSearchMatchTypeValues:()=>Ra,OrderSearchSortModeValues:()=>qa,OrderSearchSortOrderValues:()=>fa,OrderSearchStatusValues:()=>Wa,OrderStateValues:()=>Pa,PaymentMethodStatusValues:()=>Da,PaymentStateValues:()=>Ua,PermissionValues:()=>Fi,PriceSelectionModeValues:()=>rn,ProductPriceModeEnumValues:()=>ja,ProductPublishScopeValues:()=>na,ProductSearchFacetCountLevelEnumValues:()=>Ba,ProductSearchFacetDistinctBucketSortByValues:()=>Qa,ProductSearchFacetScopeEnumValues:()=>va,ProductSearchIndexingModeValues:()=>Ja,ProductSelectionModeValues:()=>Ma,ProductVariantSelectionTypeEnumValues:()=>Ea,QuoteRequestStateValues:()=>Ya,QuoteStateValues:()=>Xa,RecurringOrderStateValues:()=>tn,ReferenceTypeIdValues:()=>ga,ResourceTypeIdValues:()=>xn,ReturnPaymentStateValues:()=>Ca,ReturnShipmentStateValues:()=>Sa,RoundingModeValues:()=>ra,SearchFieldTypeValues:()=>sn,SearchIndexingConfigurationStatusValues:()=>$a,SearchMatchTypeValues:()=>an,SearchSortModeValues:()=>nn,SearchSortOrderValues:()=>on,SelectionModeValues:()=>ua,ShipmentStateValues:()=>Ia,ShippingMethodStateValues:()=>ta,ShippingModeValues:()=>sa,ShippingRateTierTypeValues:()=>un,StackingModeValues:()=>da,StagedQuoteStateValues:()=>dn,StateRoleEnumValues:()=>pn,StateTypeEnumValues:()=>yn,SubscriptionHealthStatusValues:()=>An,TaxCalculationModeValues:()=>ia,TaxModeValues:()=>aa,TermFacetResultTypeValues:()=>wa,TextInputHintValues:()=>Ga,TransactionStateValues:()=>Ta,TransactionTypeValues:()=>ka,TypeTextInputHintValues:()=>Rn,buildRelativeUri:()=>Mi,createApiBuilderFromCtpClient:()=>wn,createExecutorFromMiddlewares:()=>Kn});function Ei(t){return typeof t<"u"&&t!==null}function Tn(t){let e=new URLSearchParams(t);for(let[s,a]of Object.entries(t))Array.isArray(a)&&(e.delete(s),a.filter(Boolean).forEach(i=>e.append(s,i)));return e.toString()}function kn(t){return Object.keys(t).reduce((e,s)=>{let a=t[s];if(Array.isArray(a)){let i=a.filter(Ei);return i.length?{...e,[s]:i}:e}return Ei(a)?{...e,[s]:a}:e},{})}function Dn(t){let e=kn(t),s=Tn(e);return s===""?"":`?${s}`}function Mi(t){let e=t.pathVariables;var s=t.uriTemplate;for(let i in e){let p=encodeURIComponent(`${e[i]}`);s=s.replace(`{${i}}`,`${p}`)}let a=Dn(t.queryParams||{});return`${s}${a}`}var r=class{constructor(e,s){this.requestExecutor=s;this.request={...e,uri:Mi(e)}}request;clientRequest(){return this.request}execute(){return this.requestExecutor(this.request)}};var q=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}};var f=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}};var P=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}};var U=class{constructor(e){this.args=e}withId(e){return new P({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var C=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var S=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var I=class{constructor(e){this.args=e}withKey(e){return new S({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new C({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var T=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var k=class{constructor(e){this.args=e}withId(e){return new T({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var D=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var K=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var j=class{constructor(e){this.args=e}withId(e){return new D({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new K({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var w=class{constructor(e){this.args=e}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},body:e?.body},this.args.executeRequest)}};var B=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var Q=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var v=class{constructor(e){this.args=e}withKey(e){return new Q({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new B({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new w({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var M=class{constructor(e){this.args=e}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},body:e?.body},this.args.executeRequest)}};var E=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var O=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var L=class{constructor(e){this.args=e}orderQuote(){return new M({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new O({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new E({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var F=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var V=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var G=class{constructor(e){this.args=e}withKey(e){return new V({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new F({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var N=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var z=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var H=class{constructor(e){this.args=e}withKey(e){return new z({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new N({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var _=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var Z=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var W=class{constructor(e){this.args=e}withKey(e){return new Z({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new _({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}};var J=class{constructor(e){this.args=e}approvalRules(){return new j({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}approvalFlows(){return new k({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new v({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new W({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new L({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new H({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new G({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}};var $=class{constructor(e){this.args=e}businessUnits(){return new I({pathArgs:{...this.args.pathArgs},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inBusinessUnitKeyWithBusinessUnitKeyValue(e){return new J({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}};var X=class{constructor(e){this.args=e}withAssociateIdValue(e){return new $({pathArgs:{...this.args.pathArgs,...e},executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}};var Y=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}};var ee=class{constructor(e){this.args=e}get(e){return new r({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers},queryParams:e?.queryArgs},this.args.executeRequest)}head(e){return new r({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:{...e?.headers}},this.args.executeRequest)}post(e){return new r({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:{"Content-Type":"application/json",...e?.headers},queryParams:e?.queryArgs,body:e?.body},this.args.executeRequest)}delete(e){return new r({baseUri:this.args.bas