@wix/ecom 1.0.673 → 1.0.675

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.
@@ -896,6 +896,7 @@ interface DiscountRulesQueryBuilder {
896
896
  find: () => Promise<DiscountRulesQueryResult>;
897
897
  }
898
898
 
899
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
899
900
  interface HttpClient {
900
901
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
901
902
  fetchWithAuth: typeof fetch;
@@ -920,6 +921,7 @@ type APIMetadata = {
920
921
  entityFqdn?: string;
921
922
  packageName?: string;
922
923
  };
924
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
923
925
  type EventDefinition<Payload = unknown, Type extends string = string> = {
924
926
  __type: 'event-definition';
925
927
  type: Type;
@@ -928,6 +930,8 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
928
930
  __payload: Payload;
929
931
  };
930
932
  declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
933
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
934
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
931
935
 
932
936
  declare global {
933
937
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -936,17 +940,18 @@ declare global {
936
940
  }
937
941
  }
938
942
 
939
- declare const __metadata$h: {
940
- PACKAGE_NAME: string;
941
- };
942
- declare function createDiscountRule(httpClient: HttpClient): (discountRule: DiscountRule$5) => Promise<DiscountRule$5 & DiscountRuleNonNullableFields$4>;
943
- declare function getDiscountRule(httpClient: HttpClient): (discountRuleId: string) => Promise<DiscountRule$5 & DiscountRuleNonNullableFields$4>;
944
- declare function updateDiscountRule(httpClient: HttpClient): (_id: string | null, discountRule: UpdateDiscountRule) => Promise<DiscountRule$5 & DiscountRuleNonNullableFields$4>;
945
- declare function deleteDiscountRule(httpClient: HttpClient): (discountRuleId: string) => Promise<void>;
946
- declare function queryDiscountRules(httpClient: HttpClient): () => DiscountRulesQueryBuilder;
947
- declare const onDiscountRuleCreated: EventDefinition<DiscountRuleCreatedEnvelope, "wix.ecom.discounts.v1.discount_rule_created">;
948
- declare const onDiscountRuleUpdated: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
949
- declare const onDiscountRuleDeleted: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
943
+ declare function createRESTModule$h<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
944
+
945
+ declare function createEventModule$d<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
946
+
947
+ declare const createDiscountRule: ReturnType<typeof createRESTModule$h<typeof publicCreateDiscountRule>>;
948
+ declare const getDiscountRule: ReturnType<typeof createRESTModule$h<typeof publicGetDiscountRule>>;
949
+ declare const updateDiscountRule: ReturnType<typeof createRESTModule$h<typeof publicUpdateDiscountRule>>;
950
+ declare const deleteDiscountRule: ReturnType<typeof createRESTModule$h<typeof publicDeleteDiscountRule>>;
951
+ declare const queryDiscountRules: ReturnType<typeof createRESTModule$h<typeof publicQueryDiscountRules>>;
952
+ declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$d<typeof publicOnDiscountRuleCreated>>;
953
+ declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$d<typeof publicOnDiscountRuleUpdated>>;
954
+ declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$d<typeof publicOnDiscountRuleDeleted>>;
950
955
 
951
956
  type index_d$h_ActiveTimeInfo = ActiveTimeInfo;
952
957
  type index_d$h_And = And;
@@ -1008,7 +1013,7 @@ declare const index_d$h_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
1008
1013
  declare const index_d$h_queryDiscountRules: typeof queryDiscountRules;
1009
1014
  declare const index_d$h_updateDiscountRule: typeof updateDiscountRule;
1010
1015
  declare namespace index_d$h {
1011
- export { type ActionEvent$e as ActionEvent, type index_d$h_ActiveTimeInfo as ActiveTimeInfo, type index_d$h_And as And, type AppliedDiscount$5 as AppliedDiscount, type index_d$h_AppliedDiscountRule as AppliedDiscountRule, index_d$h_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$d as BaseEventMetadata, type index_d$h_BuyXGetYInfo as BuyXGetYInfo, type index_d$h_CatalogItemFilter as CatalogItemFilter, type CatalogReference$7 as CatalogReference, type index_d$h_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$h_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$h_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$7 as CursorPaging, type Cursors$7 as Cursors, type index_d$h_Custom as Custom, type index_d$h_CustomFilter as CustomFilter, type index_d$h_CustomerBuy as CustomerBuy, type index_d$h_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$h_CustomerGet as CustomerGet, type index_d$h_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$h_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$h_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$5 as DiscountRule, type index_d$h_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$h_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$5 as DiscountRuleName, type DiscountRuleNonNullableFields$4 as DiscountRuleNonNullableFields, type index_d$h_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$h_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$h_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$h_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$h_DiscountSettings as DiscountSettings, type index_d$h_DiscountTrigger as DiscountTrigger, type index_d$h_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$5 as DiscountType, type index_d$h_Discounts as Discounts, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type ExtendedFields$7 as ExtendedFields, type index_d$h_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$h_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$h_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$h_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$h_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type index_d$h_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$h_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$h_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$h_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$h_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type index_d$h_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$h_ScopeType as ScopeType, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type index_d$h_SpecificItemsInfo as SpecificItemsInfo, Status$3 as Status, type index_d$h_SubtotalRange as SubtotalRange, index_d$h_TriggerType as TriggerType, index_d$h_Type as Type, type UndeleteInfo$1 as UndeleteInfo, type index_d$h_UpdateDiscountRule as UpdateDiscountRule, type index_d$h_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$h_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$h_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, __metadata$h as __metadata, index_d$h_createDiscountRule as createDiscountRule, index_d$h_deleteDiscountRule as deleteDiscountRule, index_d$h_getDiscountRule as getDiscountRule, index_d$h_onDiscountRuleCreated as onDiscountRuleCreated, index_d$h_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$h_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$h_queryDiscountRules as queryDiscountRules, index_d$h_updateDiscountRule as updateDiscountRule };
1016
+ export { type ActionEvent$e as ActionEvent, type index_d$h_ActiveTimeInfo as ActiveTimeInfo, type index_d$h_And as And, type AppliedDiscount$5 as AppliedDiscount, type index_d$h_AppliedDiscountRule as AppliedDiscountRule, index_d$h_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$d as BaseEventMetadata, type index_d$h_BuyXGetYInfo as BuyXGetYInfo, type index_d$h_CatalogItemFilter as CatalogItemFilter, type CatalogReference$7 as CatalogReference, type index_d$h_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$h_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$h_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$7 as CursorPaging, type Cursors$7 as Cursors, type index_d$h_Custom as Custom, type index_d$h_CustomFilter as CustomFilter, type index_d$h_CustomerBuy as CustomerBuy, type index_d$h_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$h_CustomerGet as CustomerGet, type index_d$h_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$h_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$h_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$5 as DiscountRule, type index_d$h_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$h_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$5 as DiscountRuleName, type DiscountRuleNonNullableFields$4 as DiscountRuleNonNullableFields, type index_d$h_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$h_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$h_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$h_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$h_DiscountSettings as DiscountSettings, type index_d$h_DiscountTrigger as DiscountTrigger, type index_d$h_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$5 as DiscountType, type index_d$h_Discounts as Discounts, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type ExtendedFields$7 as ExtendedFields, type index_d$h_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$h_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$h_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$h_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$h_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type index_d$h_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$h_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$h_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$h_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$h_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type index_d$h_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$h_ScopeType as ScopeType, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type index_d$h_SpecificItemsInfo as SpecificItemsInfo, Status$3 as Status, type index_d$h_SubtotalRange as SubtotalRange, index_d$h_TriggerType as TriggerType, index_d$h_Type as Type, type UndeleteInfo$1 as UndeleteInfo, type index_d$h_UpdateDiscountRule as UpdateDiscountRule, type index_d$h_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$h_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$h_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, index_d$h_createDiscountRule as createDiscountRule, index_d$h_deleteDiscountRule as deleteDiscountRule, index_d$h_getDiscountRule as getDiscountRule, index_d$h_onDiscountRuleCreated as onDiscountRuleCreated, index_d$h_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$h_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$h_queryDiscountRules as queryDiscountRules, index_d$h_updateDiscountRule as updateDiscountRule };
1012
1017
  }
1013
1018
 
1014
1019
  interface Invoice {
@@ -1245,10 +1250,9 @@ interface ListInvoicesForMultipleOrdersResponseNonNullableFields {
1245
1250
  invoicesForOrder: InvoicesForOrderNonNullableFields[];
1246
1251
  }
1247
1252
 
1248
- declare const __metadata$g: {
1249
- PACKAGE_NAME: string;
1250
- };
1251
- declare function listInvoicesForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields>;
1253
+ declare function createRESTModule$g<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1254
+
1255
+ declare const listInvoicesForMultipleOrders: ReturnType<typeof createRESTModule$g<typeof publicListInvoicesForMultipleOrders>>;
1252
1256
 
1253
1257
  type index_d$g_GenerateInvoiceWithNumberRequest = GenerateInvoiceWithNumberRequest;
1254
1258
  type index_d$g_GenerateInvoiceWithNumberResponse = GenerateInvoiceWithNumberResponse;
@@ -1258,7 +1262,7 @@ type index_d$g_Invoice = Invoice;
1258
1262
  type index_d$g_ListInvoicesForMultipleOrdersResponseNonNullableFields = ListInvoicesForMultipleOrdersResponseNonNullableFields;
1259
1263
  declare const index_d$g_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
1260
1264
  declare namespace index_d$g {
1261
- export { type ActionEvent$d as ActionEvent, type AddInvoiceToOrderRequest$1 as AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse$1 as AddInvoiceToOrderResponse, type ApplicationError$8 as ApplicationError, type BulkActionMetadata$4 as BulkActionMetadata, type BulkGenerateInvoicesRequest$1 as BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse$1 as BulkGenerateInvoicesResponse, type BulkInvoiceResult$1 as BulkInvoiceResult, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$9 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type GenerateInvoiceRequest$1 as GenerateInvoiceRequest, type GenerateInvoiceResponse$1 as GenerateInvoiceResponse, type index_d$g_GenerateInvoiceWithNumberRequest as GenerateInvoiceWithNumberRequest, type index_d$g_GenerateInvoiceWithNumberResponse as GenerateInvoiceWithNumberResponse, type index_d$g_GetOrderInvoiceRequest as GetOrderInvoiceRequest, type index_d$g_GetOrderInvoiceResponse as GetOrderInvoiceResponse, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type index_d$g_Invoice as Invoice, type InvoiceForOrder$1 as InvoiceForOrder, type InvoicesForOrder$1 as InvoicesForOrder, type ItemMetadata$4 as ItemMetadata, type ListInvoicesForMultipleOrdersRequest$1 as ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse$1 as ListInvoicesForMultipleOrdersResponse, type index_d$g_ListInvoicesForMultipleOrdersResponseNonNullableFields as ListInvoicesForMultipleOrdersResponseNonNullableFields, type ListInvoicesForSingleOrderRequest$1 as ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse$1 as ListInvoicesForSingleOrderResponse, type MessageEnvelope$d as MessageEnvelope, type RestoreInfo$c as RestoreInfo, WebhookIdentityType$d as WebhookIdentityType, __metadata$g as __metadata, index_d$g_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
1265
+ export { type ActionEvent$d as ActionEvent, type AddInvoiceToOrderRequest$1 as AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse$1 as AddInvoiceToOrderResponse, type ApplicationError$8 as ApplicationError, type BulkActionMetadata$4 as BulkActionMetadata, type BulkGenerateInvoicesRequest$1 as BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse$1 as BulkGenerateInvoicesResponse, type BulkInvoiceResult$1 as BulkInvoiceResult, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$9 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type GenerateInvoiceRequest$1 as GenerateInvoiceRequest, type GenerateInvoiceResponse$1 as GenerateInvoiceResponse, type index_d$g_GenerateInvoiceWithNumberRequest as GenerateInvoiceWithNumberRequest, type index_d$g_GenerateInvoiceWithNumberResponse as GenerateInvoiceWithNumberResponse, type index_d$g_GetOrderInvoiceRequest as GetOrderInvoiceRequest, type index_d$g_GetOrderInvoiceResponse as GetOrderInvoiceResponse, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type index_d$g_Invoice as Invoice, type InvoiceForOrder$1 as InvoiceForOrder, type InvoicesForOrder$1 as InvoicesForOrder, type ItemMetadata$4 as ItemMetadata, type ListInvoicesForMultipleOrdersRequest$1 as ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse$1 as ListInvoicesForMultipleOrdersResponse, type index_d$g_ListInvoicesForMultipleOrdersResponseNonNullableFields as ListInvoicesForMultipleOrdersResponseNonNullableFields, type ListInvoicesForSingleOrderRequest$1 as ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse$1 as ListInvoicesForSingleOrderResponse, type MessageEnvelope$d as MessageEnvelope, type RestoreInfo$c as RestoreInfo, WebhookIdentityType$d as WebhookIdentityType, index_d$g_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
1262
1266
  }
1263
1267
 
1264
1268
  interface Recommendation {
@@ -1413,11 +1417,10 @@ interface GetRecommendationOptions {
1413
1417
  minimumRecommendedItems?: number;
1414
1418
  }
1415
1419
 
1416
- declare const __metadata$f: {
1417
- PACKAGE_NAME: string;
1418
- };
1419
- declare function listAvailableAlgorithms(httpClient: HttpClient): () => Promise<ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields>;
1420
- declare function getRecommendation(httpClient: HttpClient): (algorithms: Algorithm[], options?: GetRecommendationOptions) => Promise<GetRecommendationResponse & GetRecommendationResponseNonNullableFields>;
1420
+ declare function createRESTModule$f<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1421
+
1422
+ declare const listAvailableAlgorithms: ReturnType<typeof createRESTModule$f<typeof publicListAvailableAlgorithms>>;
1423
+ declare const getRecommendation: ReturnType<typeof createRESTModule$f<typeof publicGetRecommendation>>;
1421
1424
 
1422
1425
  type index_d$f_Algorithm = Algorithm;
1423
1426
  type index_d$f_AlgorithmConfig = AlgorithmConfig;
@@ -1437,7 +1440,7 @@ type index_d$f_RecommendationAlgorithmNotSupported = RecommendationAlgorithmNotS
1437
1440
  declare const index_d$f_getRecommendation: typeof getRecommendation;
1438
1441
  declare const index_d$f_listAvailableAlgorithms: typeof listAvailableAlgorithms;
1439
1442
  declare namespace index_d$f {
1440
- export { type index_d$f_Algorithm as Algorithm, type index_d$f_AlgorithmConfig as AlgorithmConfig, type index_d$f_AlgorithmInfo as AlgorithmInfo, index_d$f_AlgorithmType as AlgorithmType, type CatalogReference$6 as CatalogReference, type index_d$f_GetRecommendationOptions as GetRecommendationOptions, type index_d$f_GetRecommendationRequest as GetRecommendationRequest, type index_d$f_GetRecommendationResponse as GetRecommendationResponse, type index_d$f_GetRecommendationResponseNonNullableFields as GetRecommendationResponseNonNullableFields, type index_d$f_ItemAppIdNotSupportedByProvider as ItemAppIdNotSupportedByProvider, type index_d$f_ListAvailableAlgorithmsRequest as ListAvailableAlgorithmsRequest, type index_d$f_ListAvailableAlgorithmsResponse as ListAvailableAlgorithmsResponse, type index_d$f_ListAvailableAlgorithmsResponseNonNullableFields as ListAvailableAlgorithmsResponseNonNullableFields, type index_d$f_Recommendation as Recommendation, type index_d$f_RecommendationAlgorithmNotSupported as RecommendationAlgorithmNotSupported, __metadata$f as __metadata, index_d$f_getRecommendation as getRecommendation, index_d$f_listAvailableAlgorithms as listAvailableAlgorithms };
1443
+ export { type index_d$f_Algorithm as Algorithm, type index_d$f_AlgorithmConfig as AlgorithmConfig, type index_d$f_AlgorithmInfo as AlgorithmInfo, index_d$f_AlgorithmType as AlgorithmType, type CatalogReference$6 as CatalogReference, type index_d$f_GetRecommendationOptions as GetRecommendationOptions, type index_d$f_GetRecommendationRequest as GetRecommendationRequest, type index_d$f_GetRecommendationResponse as GetRecommendationResponse, type index_d$f_GetRecommendationResponseNonNullableFields as GetRecommendationResponseNonNullableFields, type index_d$f_ItemAppIdNotSupportedByProvider as ItemAppIdNotSupportedByProvider, type index_d$f_ListAvailableAlgorithmsRequest as ListAvailableAlgorithmsRequest, type index_d$f_ListAvailableAlgorithmsResponse as ListAvailableAlgorithmsResponse, type index_d$f_ListAvailableAlgorithmsResponseNonNullableFields as ListAvailableAlgorithmsResponseNonNullableFields, type index_d$f_Recommendation as Recommendation, type index_d$f_RecommendationAlgorithmNotSupported as RecommendationAlgorithmNotSupported, index_d$f_getRecommendation as getRecommendation, index_d$f_listAvailableAlgorithms as listAvailableAlgorithms };
1441
1444
  }
1442
1445
 
1443
1446
  interface AbandonedCheckout {
@@ -2120,12 +2123,13 @@ interface AbandonedCheckoutRecoveredEnvelope {
2120
2123
  metadata: EventMetadata$c;
2121
2124
  }
2122
2125
 
2123
- declare const __metadata$e: {
2124
- PACKAGE_NAME: string;
2125
- };
2126
- declare function getAbandonedCheckout(httpClient: HttpClient): (abandonedCheckoutId: string) => Promise<AbandonedCheckout & AbandonedCheckoutNonNullableFields>;
2127
- declare const onAbandonedCheckoutCreated: EventDefinition<AbandonedCheckoutCreatedEnvelope, "wix.ecom.v1.abandoned_checkout_created">;
2128
- declare const onAbandonedCheckoutRecovered: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
2126
+ declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2127
+
2128
+ declare function createEventModule$c<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2129
+
2130
+ declare const getAbandonedCheckout: ReturnType<typeof createRESTModule$e<typeof publicGetAbandonedCheckout>>;
2131
+ declare const onAbandonedCheckoutCreated: ReturnType<typeof createEventModule$c<typeof publicOnAbandonedCheckoutCreated>>;
2132
+ declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$c<typeof publicOnAbandonedCheckoutRecovered>>;
2129
2133
 
2130
2134
  type index_d$e_AbandonedCheckout = AbandonedCheckout;
2131
2135
  type index_d$e_AbandonedCheckoutCreatedEnvelope = AbandonedCheckoutCreatedEnvelope;
@@ -2169,7 +2173,7 @@ declare const index_d$e_getAbandonedCheckout: typeof getAbandonedCheckout;
2169
2173
  declare const index_d$e_onAbandonedCheckoutCreated: typeof onAbandonedCheckoutCreated;
2170
2174
  declare const index_d$e_onAbandonedCheckoutRecovered: typeof onAbandonedCheckoutRecovered;
2171
2175
  declare namespace index_d$e {
2172
- export { type index_d$e_AbandonedCheckout as AbandonedCheckout, type index_d$e_AbandonedCheckoutCreatedEnvelope as AbandonedCheckoutCreatedEnvelope, type index_d$e_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$e_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$e_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type ActionEvent$c as ActionEvent, type Activity$2 as Activity, ActivityType$2 as ActivityType, type index_d$e_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$e_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type Cancel$1 as Cancel, type index_d$e_CartAbandonedEvent as CartAbandonedEvent, type index_d$e_CartRecoveredEvent as CartRecoveredEvent, type index_d$e_CommonCursorPaging as CommonCursorPaging, type index_d$e_CommonCursors as CommonCursors, type index_d$e_CommonPaging as CommonPaging, type index_d$e_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$e_CommonSortOrder as CommonSortOrder, type index_d$e_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$6 as CursorPaging, type Cursors$6 as Cursors, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type FullAddressContactDetails$5 as FullAddressContactDetails, type index_d$e_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$e_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$e_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, index_d$e_Identity as Identity, type MessageEnvelope$c as MessageEnvelope, index_d$e_Mode as Mode, type MultiCurrencyPrice$4 as MultiCurrencyPrice, type index_d$e_Paging as Paging, type index_d$e_PagingMetadataV2 as PagingMetadataV2, type index_d$e_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$e_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$e_QueryV2 as QueryV2, type index_d$e_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type index_d$e_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type index_d$e_RemoveAbandonedCheckoutRequest as RemoveAbandonedCheckoutRequest, type index_d$e_RemoveAbandonedCheckoutResponse as RemoveAbandonedCheckoutResponse, type Reschedule$1 as Reschedule, type RestoreInfo$b as RestoreInfo, type index_d$e_Search as Search, type index_d$e_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$e_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$e_SearchDetails as SearchDetails, type index_d$e_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, Status$2 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type index_d$e_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$6 as VatId, VatType$6 as VatType, WebhookIdentityType$c as WebhookIdentityType, __metadata$e as __metadata, index_d$e_getAbandonedCheckout as getAbandonedCheckout, index_d$e_onAbandonedCheckoutCreated as onAbandonedCheckoutCreated, index_d$e_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered };
2176
+ export { type index_d$e_AbandonedCheckout as AbandonedCheckout, type index_d$e_AbandonedCheckoutCreatedEnvelope as AbandonedCheckoutCreatedEnvelope, type index_d$e_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$e_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$e_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type ActionEvent$c as ActionEvent, type Activity$2 as Activity, ActivityType$2 as ActivityType, type index_d$e_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$e_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type Cancel$1 as Cancel, type index_d$e_CartAbandonedEvent as CartAbandonedEvent, type index_d$e_CartRecoveredEvent as CartRecoveredEvent, type index_d$e_CommonCursorPaging as CommonCursorPaging, type index_d$e_CommonCursors as CommonCursors, type index_d$e_CommonPaging as CommonPaging, type index_d$e_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$e_CommonSortOrder as CommonSortOrder, type index_d$e_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$6 as CursorPaging, type Cursors$6 as Cursors, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type FullAddressContactDetails$5 as FullAddressContactDetails, type index_d$e_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$e_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$e_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, index_d$e_Identity as Identity, type MessageEnvelope$c as MessageEnvelope, index_d$e_Mode as Mode, type MultiCurrencyPrice$4 as MultiCurrencyPrice, type index_d$e_Paging as Paging, type index_d$e_PagingMetadataV2 as PagingMetadataV2, type index_d$e_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$e_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$e_QueryV2 as QueryV2, type index_d$e_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type index_d$e_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type index_d$e_RemoveAbandonedCheckoutRequest as RemoveAbandonedCheckoutRequest, type index_d$e_RemoveAbandonedCheckoutResponse as RemoveAbandonedCheckoutResponse, type Reschedule$1 as Reschedule, type RestoreInfo$b as RestoreInfo, type index_d$e_Search as Search, type index_d$e_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$e_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$e_SearchDetails as SearchDetails, type index_d$e_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, Status$2 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type index_d$e_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$6 as VatId, VatType$6 as VatType, WebhookIdentityType$c as WebhookIdentityType, index_d$e_getAbandonedCheckout as getAbandonedCheckout, index_d$e_onAbandonedCheckoutCreated as onAbandonedCheckoutCreated, index_d$e_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered };
2173
2177
  }
2174
2178
 
2175
2179
  /**
@@ -2763,19 +2767,20 @@ interface ReportItemsBackInStockOptions {
2763
2767
  extraAutomationTemplateParameters?: Record<string, string>;
2764
2768
  }
2765
2769
 
2766
- declare const __metadata$d: {
2767
- PACKAGE_NAME: string;
2768
- };
2769
- declare function createBackInStockNotificationRequest(httpClient: HttpClient): (request: BackInStockNotificationRequest, itemDetails: BackInStockItemDetails) => Promise<BackInStockNotificationRequest & BackInStockNotificationRequestNonNullableFields>;
2770
- declare function getBackInStockNotificationRequest(httpClient: HttpClient): (_id: string) => Promise<BackInStockNotificationRequest & BackInStockNotificationRequestNonNullableFields>;
2771
- declare function deleteBackInStockNotificationRequest(httpClient: HttpClient): (_id: string) => Promise<void>;
2772
- declare function markAsNotificationSent(httpClient: HttpClient): (_id: string) => Promise<MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields>;
2773
- declare function queryBackInStockNotificationRequests(httpClient: HttpClient): () => RequestsQueryBuilder;
2774
- declare function getBackInStockNotificationRequestsCountByCatalogReferences(httpClient: HttpClient): (catalogReferences: CatalogReference$5[]) => Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields>;
2775
- declare function reportItemsBackInStock(httpClient: HttpClient): (itemDetails: BackInStockItemDetails, options?: ReportItemsBackInStockOptions) => Promise<void>;
2776
- declare const onBackInStockNotificationRequestCreated: EventDefinition<BackInStockNotificationRequestCreatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_created">;
2777
- declare const onBackInStockNotificationRequestDeleted: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
2778
- declare const onBackInStockNotificationRequestUpdated: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
2770
+ declare function createRESTModule$d<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2771
+
2772
+ declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2773
+
2774
+ declare const createBackInStockNotificationRequest: ReturnType<typeof createRESTModule$d<typeof publicCreateBackInStockNotificationRequest>>;
2775
+ declare const getBackInStockNotificationRequest: ReturnType<typeof createRESTModule$d<typeof publicGetBackInStockNotificationRequest>>;
2776
+ declare const deleteBackInStockNotificationRequest: ReturnType<typeof createRESTModule$d<typeof publicDeleteBackInStockNotificationRequest>>;
2777
+ declare const markAsNotificationSent: ReturnType<typeof createRESTModule$d<typeof publicMarkAsNotificationSent>>;
2778
+ declare const queryBackInStockNotificationRequests: ReturnType<typeof createRESTModule$d<typeof publicQueryBackInStockNotificationRequests>>;
2779
+ declare const getBackInStockNotificationRequestsCountByCatalogReferences: ReturnType<typeof createRESTModule$d<typeof publicGetBackInStockNotificationRequestsCountByCatalogReferences>>;
2780
+ declare const reportItemsBackInStock: ReturnType<typeof createRESTModule$d<typeof publicReportItemsBackInStock>>;
2781
+ declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$b<typeof publicOnBackInStockNotificationRequestCreated>>;
2782
+ declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$b<typeof publicOnBackInStockNotificationRequestDeleted>>;
2783
+ declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$b<typeof publicOnBackInStockNotificationRequestUpdated>>;
2779
2784
 
2780
2785
  type index_d$d_BackInStockItemDetails = BackInStockItemDetails;
2781
2786
  type index_d$d_BackInStockNotificationRequest = BackInStockNotificationRequest;
@@ -2822,7 +2827,7 @@ declare const index_d$d_onBackInStockNotificationRequestUpdated: typeof onBackIn
2822
2827
  declare const index_d$d_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
2823
2828
  declare const index_d$d_reportItemsBackInStock: typeof reportItemsBackInStock;
2824
2829
  declare namespace index_d$d {
2825
- export { type ActionEvent$b as ActionEvent, type App$1 as App, type index_d$d_BackInStockItemDetails as BackInStockItemDetails, type index_d$d_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$d_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$d_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$d_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$d_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$d_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$b as BaseEventMetadata, type CatalogReference$5 as CatalogReference, type index_d$d_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$d_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$d_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$5 as CursorPaging, type Cursors$5 as Cursors, type index_d$d_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$d_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type index_d$d_File as File, type index_d$d_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$d_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$d_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type index_d$d_InvalidateCache as InvalidateCache, type index_d$d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$d_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$d_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$d_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$b as MessageEnvelope, type index_d$d_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type index_d$d_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$d_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$d_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$d_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$d_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$d_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$d_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$d_RequestsQueryResult as RequestsQueryResult, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, Status$1 as Status, type index_d$d_URI as URI, WebhookIdentityType$b as WebhookIdentityType, __metadata$d as __metadata, index_d$d_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$d_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$d_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$d_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$d_markAsNotificationSent as markAsNotificationSent, index_d$d_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$d_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$d_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, index_d$d_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$d_reportItemsBackInStock as reportItemsBackInStock };
2830
+ export { type ActionEvent$b as ActionEvent, type App$1 as App, type index_d$d_BackInStockItemDetails as BackInStockItemDetails, type index_d$d_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$d_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$d_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$d_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$d_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$d_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$b as BaseEventMetadata, type CatalogReference$5 as CatalogReference, type index_d$d_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$d_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$d_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$5 as CursorPaging, type Cursors$5 as Cursors, type index_d$d_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$d_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type index_d$d_File as File, type index_d$d_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$d_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$d_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$d_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type index_d$d_InvalidateCache as InvalidateCache, type index_d$d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$d_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$d_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$d_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$b as MessageEnvelope, type index_d$d_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type index_d$d_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$d_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$d_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$d_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$d_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$d_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$d_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$d_RequestsQueryResult as RequestsQueryResult, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, Status$1 as Status, type index_d$d_URI as URI, WebhookIdentityType$b as WebhookIdentityType, index_d$d_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$d_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$d_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$d_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$d_markAsNotificationSent as markAsNotificationSent, index_d$d_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$d_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$d_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, index_d$d_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$d_reportItemsBackInStock as reportItemsBackInStock };
2826
2831
  }
2827
2832
 
2828
2833
  /**
@@ -2881,12 +2886,11 @@ interface GetSettingsResponseNonNullableFields {
2881
2886
  settings?: BackInStockSettingsNonNullableFields;
2882
2887
  }
2883
2888
 
2884
- declare const __metadata$c: {
2885
- PACKAGE_NAME: string;
2886
- };
2887
- declare function startCollectingRequests(httpClient: HttpClient): (appId: string) => Promise<StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields>;
2888
- declare function stopCollectingRequests(httpClient: HttpClient): (appId: string) => Promise<StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields>;
2889
- declare function getSettings(httpClient: HttpClient): () => Promise<GetSettingsResponse & GetSettingsResponseNonNullableFields>;
2889
+ declare function createRESTModule$c<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2890
+
2891
+ declare const startCollectingRequests: ReturnType<typeof createRESTModule$c<typeof publicStartCollectingRequests>>;
2892
+ declare const stopCollectingRequests: ReturnType<typeof createRESTModule$c<typeof publicStopCollectingRequests>>;
2893
+ declare const getSettings: ReturnType<typeof createRESTModule$c<typeof publicGetSettings>>;
2890
2894
 
2891
2895
  type index_d$c_BackInStockCollectionState = BackInStockCollectionState;
2892
2896
  type index_d$c_BackInStockSettings = BackInStockSettings;
@@ -2903,7 +2907,7 @@ declare const index_d$c_getSettings: typeof getSettings;
2903
2907
  declare const index_d$c_startCollectingRequests: typeof startCollectingRequests;
2904
2908
  declare const index_d$c_stopCollectingRequests: typeof stopCollectingRequests;
2905
2909
  declare namespace index_d$c {
2906
- export { type index_d$c_BackInStockCollectionState as BackInStockCollectionState, type index_d$c_BackInStockSettings as BackInStockSettings, type index_d$c_GetSettingsRequest as GetSettingsRequest, type index_d$c_GetSettingsResponse as GetSettingsResponse, type index_d$c_GetSettingsResponseNonNullableFields as GetSettingsResponseNonNullableFields, type index_d$c_StartCollectingRequestsRequest as StartCollectingRequestsRequest, type index_d$c_StartCollectingRequestsResponse as StartCollectingRequestsResponse, type index_d$c_StartCollectingRequestsResponseNonNullableFields as StartCollectingRequestsResponseNonNullableFields, type index_d$c_StopCollectingRequestsRequest as StopCollectingRequestsRequest, type index_d$c_StopCollectingRequestsResponse as StopCollectingRequestsResponse, type index_d$c_StopCollectingRequestsResponseNonNullableFields as StopCollectingRequestsResponseNonNullableFields, __metadata$c as __metadata, index_d$c_getSettings as getSettings, index_d$c_startCollectingRequests as startCollectingRequests, index_d$c_stopCollectingRequests as stopCollectingRequests };
2910
+ export { type index_d$c_BackInStockCollectionState as BackInStockCollectionState, type index_d$c_BackInStockSettings as BackInStockSettings, type index_d$c_GetSettingsRequest as GetSettingsRequest, type index_d$c_GetSettingsResponse as GetSettingsResponse, type index_d$c_GetSettingsResponseNonNullableFields as GetSettingsResponseNonNullableFields, type index_d$c_StartCollectingRequestsRequest as StartCollectingRequestsRequest, type index_d$c_StartCollectingRequestsResponse as StartCollectingRequestsResponse, type index_d$c_StartCollectingRequestsResponseNonNullableFields as StartCollectingRequestsResponseNonNullableFields, type index_d$c_StopCollectingRequestsRequest as StopCollectingRequestsRequest, type index_d$c_StopCollectingRequestsResponse as StopCollectingRequestsResponse, type index_d$c_StopCollectingRequestsResponseNonNullableFields as StopCollectingRequestsResponseNonNullableFields, index_d$c_getSettings as getSettings, index_d$c_startCollectingRequests as startCollectingRequests, index_d$c_stopCollectingRequests as stopCollectingRequests };
2907
2911
  }
2908
2912
 
2909
2913
  interface Cart$1 {
@@ -5226,22 +5230,23 @@ interface EstimateTotalsOptions {
5226
5230
  selectedMemberships?: SelectedMemberships$3;
5227
5231
  }
5228
5232
 
5229
- declare const __metadata$b: {
5230
- PACKAGE_NAME: string;
5231
- };
5232
- declare function createCart(httpClient: HttpClient): (options?: CreateCartOptions) => Promise<Cart$1 & CartNonNullableFields$1>;
5233
- declare function updateCart(httpClient: HttpClient): (_id: string | null, options?: UpdateCartOptions) => Promise<Cart$1 & CartNonNullableFields$1>;
5234
- declare function getCart(httpClient: HttpClient): (_id: string) => Promise<Cart$1 & CartNonNullableFields$1>;
5235
- declare function addToCart(httpClient: HttpClient): (_id: string, options?: AddToCartOptions) => Promise<AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
5236
- declare function removeLineItems$1(httpClient: HttpClient): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2>;
5237
- declare function createCheckout$1(httpClient: HttpClient): (_id: string, options?: CreateCheckoutOptions$1) => Promise<CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2>;
5238
- declare function removeCoupon$1(httpClient: HttpClient): (_id: string) => Promise<RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2>;
5239
- declare function updateLineItemsQuantity$1(httpClient: HttpClient): (_id: string, lineItems: LineItemQuantityUpdate$2[]) => Promise<UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2>;
5240
- declare function estimateTotals(httpClient: HttpClient): (_id: string, options?: EstimateTotalsOptions) => Promise<EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
5241
- declare function deleteCart(httpClient: HttpClient): (_id: string) => Promise<void>;
5242
- declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
5243
- declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
5244
- declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
5233
+ declare function createRESTModule$b<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
5234
+
5235
+ declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
5236
+
5237
+ declare const createCart: ReturnType<typeof createRESTModule$b<typeof publicCreateCart>>;
5238
+ declare const updateCart: ReturnType<typeof createRESTModule$b<typeof publicUpdateCart>>;
5239
+ declare const getCart: ReturnType<typeof createRESTModule$b<typeof publicGetCart>>;
5240
+ declare const addToCart: ReturnType<typeof createRESTModule$b<typeof publicAddToCart>>;
5241
+ declare const removeLineItems$1: ReturnType<typeof createRESTModule$b<typeof publicRemoveLineItems>>;
5242
+ declare const createCheckout$1: ReturnType<typeof createRESTModule$b<typeof publicCreateCheckout>>;
5243
+ declare const removeCoupon$1: ReturnType<typeof createRESTModule$b<typeof publicRemoveCoupon>>;
5244
+ declare const updateLineItemsQuantity$1: ReturnType<typeof createRESTModule$b<typeof publicUpdateLineItemsQuantity>>;
5245
+ declare const estimateTotals: ReturnType<typeof createRESTModule$b<typeof publicEstimateTotals>>;
5246
+ declare const deleteCart: ReturnType<typeof createRESTModule$b<typeof publicDeleteCart>>;
5247
+ declare const onCartUpdated$1: ReturnType<typeof createEventModule$a<typeof publicOnCartUpdated>>;
5248
+ declare const onCartDeleted$1: ReturnType<typeof createEventModule$a<typeof publicOnCartDeleted>>;
5249
+ declare const onCartCreated$1: ReturnType<typeof createEventModule$a<typeof publicOnCartCreated>>;
5245
5250
 
5246
5251
  type index_d$b_AddToCartOptions = AddToCartOptions;
5247
5252
  type index_d$b_CreateCartOptions = CreateCartOptions;
@@ -5254,7 +5259,7 @@ declare const index_d$b_estimateTotals: typeof estimateTotals;
5254
5259
  declare const index_d$b_getCart: typeof getCart;
5255
5260
  declare const index_d$b_updateCart: typeof updateCart;
5256
5261
  declare namespace index_d$b {
5257
- export { type ActionEvent$a as ActionEvent, type index_d$b_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$4 as AdditionalFee, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$7 as ApplicationError, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$4 as ChargeType, type Color$4 as Color, type Coupon$4 as Coupon, type index_d$b_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$b_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$6 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$4 as GiftCard, type Group$3 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$a as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$4 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$a as RestoreInfo, RuleType$4 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$2 as ShippingInformation, type ShippingOption$3 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type Title$3 as Title, type index_d$b_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$3 as Violation, WebhookIdentityType$a as WebhookIdentityType, WeightUnit$5 as WeightUnit, __metadata$b as __metadata, index_d$b_addToCart as addToCart, index_d$b_createCart as createCart, createCheckout$1 as createCheckout, index_d$b_deleteCart as deleteCart, index_d$b_estimateTotals as estimateTotals, index_d$b_getCart as getCart, onCartCreated$1 as onCartCreated, onCartDeleted$1 as onCartDeleted, onCartUpdated$1 as onCartUpdated, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, index_d$b_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
5262
+ export { type ActionEvent$a as ActionEvent, type index_d$b_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$4 as AdditionalFee, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$7 as ApplicationError, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$4 as ChargeType, type Color$4 as Color, type Coupon$4 as Coupon, type index_d$b_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$b_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$6 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$4 as GiftCard, type Group$3 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$a as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$4 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$a as RestoreInfo, RuleType$4 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$2 as ShippingInformation, type ShippingOption$3 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type Title$3 as Title, type index_d$b_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$3 as Violation, WebhookIdentityType$a as WebhookIdentityType, WeightUnit$5 as WeightUnit, index_d$b_addToCart as addToCart, index_d$b_createCart as createCart, createCheckout$1 as createCheckout, index_d$b_deleteCart as deleteCart, index_d$b_estimateTotals as estimateTotals, index_d$b_getCart as getCart, onCartCreated$1 as onCartCreated, onCartDeleted$1 as onCartDeleted, onCartUpdated$1 as onCartUpdated, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, index_d$b_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
5258
5263
  }
5259
5264
 
5260
5265
  interface Cart {
@@ -7488,21 +7493,22 @@ interface EstimateCurrentCartTotalsOptions {
7488
7493
  selectedMemberships?: SelectedMemberships$2;
7489
7494
  }
7490
7495
 
7491
- declare const __metadata$a: {
7492
- PACKAGE_NAME: string;
7493
- };
7494
- declare function getCurrentCart(httpClient: HttpClient): () => Promise<Cart & CartNonNullableFields>;
7495
- declare function updateCurrentCart(httpClient: HttpClient): (options?: UpdateCurrentCartOptions) => Promise<Cart & CartNonNullableFields>;
7496
- declare function addToCurrentCart(httpClient: HttpClient): (options?: AddToCurrentCartOptions) => Promise<AddToCartResponse & AddToCartResponseNonNullableFields>;
7497
- declare function removeLineItemsFromCurrentCart(httpClient: HttpClient): (lineItemIds: string[]) => Promise<RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
7498
- declare function createCheckoutFromCurrentCart(httpClient: HttpClient): (options?: CreateCheckoutFromCurrentCartOptions) => Promise<CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
7499
- declare function removeCouponFromCurrentCart(httpClient: HttpClient): () => Promise<RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
7500
- declare function updateCurrentCartLineItemQuantity(httpClient: HttpClient): (lineItems: LineItemQuantityUpdate$1[]) => Promise<UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
7501
- declare function estimateCurrentCartTotals(httpClient: HttpClient): (options?: EstimateCurrentCartTotalsOptions) => Promise<EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields>;
7502
- declare function deleteCurrentCart(httpClient: HttpClient): () => Promise<void>;
7503
- declare const onCartUpdated: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
7504
- declare const onCartDeleted: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
7505
- declare const onCartCreated: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
7496
+ declare function createRESTModule$a<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
7497
+
7498
+ declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
7499
+
7500
+ declare const getCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicGetCurrentCart>>;
7501
+ declare const updateCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicUpdateCurrentCart>>;
7502
+ declare const addToCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicAddToCurrentCart>>;
7503
+ declare const removeLineItemsFromCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicRemoveLineItemsFromCurrentCart>>;
7504
+ declare const createCheckoutFromCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicCreateCheckoutFromCurrentCart>>;
7505
+ declare const removeCouponFromCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicRemoveCouponFromCurrentCart>>;
7506
+ declare const updateCurrentCartLineItemQuantity: ReturnType<typeof createRESTModule$a<typeof publicUpdateCurrentCartLineItemQuantity>>;
7507
+ declare const estimateCurrentCartTotals: ReturnType<typeof createRESTModule$a<typeof publicEstimateCurrentCartTotals>>;
7508
+ declare const deleteCurrentCart: ReturnType<typeof createRESTModule$a<typeof publicDeleteCurrentCart>>;
7509
+ declare const onCartUpdated: ReturnType<typeof createEventModule$9<typeof publicOnCartUpdated>>;
7510
+ declare const onCartDeleted: ReturnType<typeof createEventModule$9<typeof publicOnCartDeleted>>;
7511
+ declare const onCartCreated: ReturnType<typeof createEventModule$9<typeof publicOnCartCreated>>;
7506
7512
 
7507
7513
  type index_d$a_AddToCartRequest = AddToCartRequest;
7508
7514
  type index_d$a_AddToCartResponse = AddToCartResponse;
@@ -7564,7 +7570,7 @@ declare const index_d$a_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
7564
7570
  declare const index_d$a_updateCurrentCart: typeof updateCurrentCart;
7565
7571
  declare const index_d$a_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
7566
7572
  declare namespace index_d$a {
7567
- export { type ActionEvent$9 as ActionEvent, type index_d$a_AddToCartRequest as AddToCartRequest, type index_d$a_AddToCartResponse as AddToCartResponse, type index_d$a_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$a_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$a_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$a_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$3 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type index_d$a_CalculatedLineItem as CalculatedLineItem, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type index_d$a_Cart as Cart, type index_d$a_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$a_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$a_CartDiscount as CartDiscount, type index_d$a_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$a_CartNonNullableFields as CartNonNullableFields, type index_d$a_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$3 as CatalogReference, ChannelType$4 as ChannelType, ChargeType$3 as ChargeType, type Color$3 as Color, type Coupon$3 as Coupon, type index_d$a_CreateCartRequest as CreateCartRequest, type index_d$a_CreateCartResponse as CreateCartResponse, type index_d$a_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$a_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$a_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$2 as CustomLineItem, type index_d$a_DeleteCartRequest as DeleteCartRequest, type index_d$a_DeleteCartResponse as DeleteCartResponse, type index_d$a_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type index_d$a_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$a_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$a_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$a_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$a_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$5 as ExtendedFields, FallbackReason$2 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$a_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$a_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$a_GetCartRequest as GetCartRequest, type index_d$a_GetCartResponse as GetCartResponse, type index_d$a_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$a_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$a_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$a_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$2 as Group, type index_d$a_HostSelectedMembership as HostSelectedMembership, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$3 as LineItemDiscount, type index_d$a_LineItemPricesData as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$2 as ManualCalculationReason, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$9 as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$2 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$4 as PickupDetails, PickupMethod$3 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$a_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$a_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$9 as RestoreInfo, RuleType$3 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type index_d$a_SelectedShippingOption as SelectedShippingOption, type ServiceProperties$3 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$1 as ShippingInformation, type ShippingOption$2 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$3 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type Title$2 as Title, type index_d$a_UpdateCartRequest as UpdateCartRequest, type index_d$a_UpdateCartResponse as UpdateCartResponse, type index_d$a_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$a_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$a_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$a_V1Coupon as V1Coupon, type index_d$a_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type Violation$2 as Violation, WebhookIdentityType$9 as WebhookIdentityType, WeightUnit$4 as WeightUnit, __metadata$a as __metadata, index_d$a_addToCurrentCart as addToCurrentCart, index_d$a_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$a_deleteCurrentCart as deleteCurrentCart, index_d$a_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$a_getCurrentCart as getCurrentCart, index_d$a_onCartCreated as onCartCreated, index_d$a_onCartDeleted as onCartDeleted, index_d$a_onCartUpdated as onCartUpdated, index_d$a_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$a_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$a_updateCurrentCart as updateCurrentCart, index_d$a_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
7573
+ export { type ActionEvent$9 as ActionEvent, type index_d$a_AddToCartRequest as AddToCartRequest, type index_d$a_AddToCartResponse as AddToCartResponse, type index_d$a_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$a_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$a_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$a_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$3 as AdditionalFee, type Address$5 as Address, type AddressLocation$4 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type ApplicationError$6 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type index_d$a_CalculatedLineItem as CalculatedLineItem, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type index_d$a_Cart as Cart, type index_d$a_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$a_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$a_CartDiscount as CartDiscount, type index_d$a_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$a_CartNonNullableFields as CartNonNullableFields, type index_d$a_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$3 as CatalogReference, ChannelType$4 as ChannelType, ChargeType$3 as ChargeType, type Color$3 as Color, type Coupon$3 as Coupon, type index_d$a_CreateCartRequest as CreateCartRequest, type index_d$a_CreateCartResponse as CreateCartResponse, type index_d$a_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$a_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$a_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$2 as CustomLineItem, type index_d$a_DeleteCartRequest as DeleteCartRequest, type index_d$a_DeleteCartResponse as DeleteCartResponse, type index_d$a_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type index_d$a_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$a_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$a_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$a_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$a_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$5 as ExtendedFields, FallbackReason$2 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$a_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$a_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$a_GetCartRequest as GetCartRequest, type index_d$a_GetCartResponse as GetCartResponse, type index_d$a_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$a_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$a_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$a_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$2 as Group, type index_d$a_HostSelectedMembership as HostSelectedMembership, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$3 as LineItemDiscount, type index_d$a_LineItemPricesData as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$2 as ManualCalculationReason, type Membership$2 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$9 as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$2 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$4 as PickupDetails, PickupMethod$3 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$a_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$a_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$9 as RestoreInfo, RuleType$3 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type index_d$a_SelectedShippingOption as SelectedShippingOption, type ServiceProperties$3 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$1 as ShippingInformation, type ShippingOption$2 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, type StreetAddress$4 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$3 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type Title$2 as Title, type index_d$a_UpdateCartRequest as UpdateCartRequest, type index_d$a_UpdateCartResponse as UpdateCartResponse, type index_d$a_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$a_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$a_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$a_V1Coupon as V1Coupon, type index_d$a_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type Violation$2 as Violation, WebhookIdentityType$9 as WebhookIdentityType, WeightUnit$4 as WeightUnit, index_d$a_addToCurrentCart as addToCurrentCart, index_d$a_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$a_deleteCurrentCart as deleteCurrentCart, index_d$a_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$a_getCurrentCart as getCurrentCart, index_d$a_onCartCreated as onCartCreated, index_d$a_onCartDeleted as onCartDeleted, index_d$a_onCartUpdated as onCartUpdated, index_d$a_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$a_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$a_updateCurrentCart as updateCurrentCart, index_d$a_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
7568
7574
  }
7569
7575
 
7570
7576
  interface Checkout$1 {
@@ -10519,24 +10525,25 @@ interface AddToCheckoutOptions {
10519
10525
  lineItems?: LineItem$3[];
10520
10526
  }
10521
10527
 
10522
- declare const __metadata$9: {
10523
- PACKAGE_NAME: string;
10524
- };
10525
- declare function createCheckout(httpClient: HttpClient): (options?: CreateCheckoutOptions) => Promise<Checkout$1 & CheckoutNonNullableFields>;
10526
- declare function getCheckout(httpClient: HttpClient): (_id: string) => Promise<Checkout$1 & CheckoutNonNullableFields>;
10527
- declare function getCheckoutUrl(httpClient: HttpClient): (_id: string) => Promise<GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields>;
10528
- declare function updateCheckout(httpClient: HttpClient): (_id: string | null, checkout: UpdateCheckout, options?: UpdateCheckoutOptions) => Promise<Checkout$1 & CheckoutNonNullableFields>;
10529
- declare function removeCoupon(httpClient: HttpClient): (_id: string) => Promise<RemoveCouponResponse & RemoveCouponResponseNonNullableFields>;
10530
- declare function removeGiftCard(httpClient: HttpClient): (_id: string) => Promise<RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields>;
10531
- declare function removeOverrideCheckoutUrl(httpClient: HttpClient): (_id: string) => Promise<RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields>;
10532
- declare function addToCheckout(httpClient: HttpClient): (_id: string, options?: AddToCheckoutOptions) => Promise<AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields>;
10533
- declare function removeLineItems(httpClient: HttpClient): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields>;
10534
- declare function createOrder$1(httpClient: HttpClient): (_id: string) => Promise<CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
10535
- declare function markCheckoutAsCompleted(httpClient: HttpClient): (_id: string) => Promise<void>;
10536
- declare function updateLineItemsQuantity(httpClient: HttpClient): (_id: string, lineItems: LineItemQuantityUpdate[]) => Promise<UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields>;
10537
- declare const onCheckoutCreated: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
10538
- declare const onCheckoutUpdated: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
10539
- declare const onCheckoutCompleted: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
10528
+ declare function createRESTModule$9<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
10529
+
10530
+ declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
10531
+
10532
+ declare const createCheckout: ReturnType<typeof createRESTModule$9<typeof publicCreateCheckout>>;
10533
+ declare const getCheckout: ReturnType<typeof createRESTModule$9<typeof publicGetCheckout>>;
10534
+ declare const getCheckoutUrl: ReturnType<typeof createRESTModule$9<typeof publicGetCheckoutUrl>>;
10535
+ declare const updateCheckout: ReturnType<typeof createRESTModule$9<typeof publicUpdateCheckout>>;
10536
+ declare const removeCoupon: ReturnType<typeof createRESTModule$9<typeof publicRemoveCoupon>>;
10537
+ declare const removeGiftCard: ReturnType<typeof createRESTModule$9<typeof publicRemoveGiftCard>>;
10538
+ declare const removeOverrideCheckoutUrl: ReturnType<typeof createRESTModule$9<typeof publicRemoveOverrideCheckoutUrl>>;
10539
+ declare const addToCheckout: ReturnType<typeof createRESTModule$9<typeof publicAddToCheckout>>;
10540
+ declare const removeLineItems: ReturnType<typeof createRESTModule$9<typeof publicRemoveLineItems>>;
10541
+ declare const createOrder$1: ReturnType<typeof createRESTModule$9<typeof publicCreateOrder>>;
10542
+ declare const markCheckoutAsCompleted: ReturnType<typeof createRESTModule$9<typeof publicMarkCheckoutAsCompleted>>;
10543
+ declare const updateLineItemsQuantity: ReturnType<typeof createRESTModule$9<typeof publicUpdateLineItemsQuantity>>;
10544
+ declare const onCheckoutCreated: ReturnType<typeof createEventModule$8<typeof publicOnCheckoutCreated>>;
10545
+ declare const onCheckoutUpdated: ReturnType<typeof createEventModule$8<typeof publicOnCheckoutUpdated>>;
10546
+ declare const onCheckoutCompleted: ReturnType<typeof createEventModule$8<typeof publicOnCheckoutCompleted>>;
10540
10547
 
10541
10548
  type index_d$9_AddToCheckoutOptions = AddToCheckoutOptions;
10542
10549
  type index_d$9_AddToCheckoutRequest = AddToCheckoutRequest;
@@ -10634,7 +10641,7 @@ declare const index_d$9_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
10634
10641
  declare const index_d$9_updateCheckout: typeof updateCheckout;
10635
10642
  declare const index_d$9_updateLineItemsQuantity: typeof updateLineItemsQuantity;
10636
10643
  declare namespace index_d$9 {
10637
- export { type ActionEvent$8 as ActionEvent, type index_d$9_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$9_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$9_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$9_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type Address$4 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$3 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type index_d$9_ApiAddress as ApiAddress, type ApplicationError$5 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, type ChannelInfo$2 as ChannelInfo, index_d$9_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$3 as ChannelType, type index_d$9_ChargeDetails as ChargeDetails, ChargeType$2 as ChargeType, type Checkout$1 as Checkout, type index_d$9_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$9_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$9_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$9_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$9_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$2 as Color, type index_d$9_CommonVatId as CommonVatId, index_d$9_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$2 as Coupon, type index_d$9_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$9_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$9_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$9_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$9_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$9_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$9_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$9_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type Discount$2 as Discount, index_d$9_DiscountDiscountType as DiscountDiscountType, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type index_d$9_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$9_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$4 as Empty, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$4 as ExtendedFields, FallbackReason$1 as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$9_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$9_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$9_GetCheckoutRequest as GetCheckoutRequest, type index_d$9_GetCheckoutResponse as GetCheckoutResponse, type index_d$9_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$9_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$9_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$9_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$9_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$9_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$9_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$9_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$2 as GiftCard, type Group$1 as Group, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$1 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$2 as LineItemDiscount, type index_d$9_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$1 as ManualCalculationReason, type index_d$9_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$9_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$1 as Membership, type MembershipName$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type index_d$9_MerchantDiscountInput as MerchantDiscountInput, type MessageEnvelope$8 as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$1 as OtherCharge, type index_d$9_PaymentErrorResponseData as PaymentErrorResponseData, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type index_d$9_ProductDetails as ProductDetails, type ProductName$2 as ProductName, RateType$1 as RateType, type index_d$9_RedeemErrorData as RedeemErrorData, type index_d$9_RemoveCouponRequest as RemoveCouponRequest, type index_d$9_RemoveCouponResponse as RemoveCouponResponse, type index_d$9_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$9_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$9_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$9_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$9_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$9_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$9_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$9_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$9_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$9_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$8 as RestoreInfo, RuleType$2 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type index_d$9_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$9_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$1 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, type index_d$9_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$3 as StreetAddress, type index_d$9_Subscription as Subscription, type index_d$9_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type Title$1 as Title, type Totals$1 as Totals, type index_d$9_UpdateCheckout as UpdateCheckout, type index_d$9_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$9_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$9_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$9_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$9_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$9_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$9_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$9_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$9_V1BuyerInfo as V1BuyerInfo, type index_d$9_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type index_d$9_V1PickupDetails as V1PickupDetails, type index_d$9_V1ShippingInfo as V1ShippingInfo, type index_d$9_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$9_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$9_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type Violation$1 as Violation, type index_d$9_ViolationsList as ViolationsList, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, __metadata$9 as __metadata, index_d$9_addToCheckout as addToCheckout, index_d$9_createCheckout as createCheckout, createOrder$1 as createOrder, index_d$9_getCheckout as getCheckout, index_d$9_getCheckoutUrl as getCheckoutUrl, index_d$9_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$9_onCheckoutCompleted as onCheckoutCompleted, index_d$9_onCheckoutCreated as onCheckoutCreated, index_d$9_onCheckoutUpdated as onCheckoutUpdated, index_d$9_removeCoupon as removeCoupon, index_d$9_removeGiftCard as removeGiftCard, index_d$9_removeLineItems as removeLineItems, index_d$9_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$9_updateCheckout as updateCheckout, index_d$9_updateLineItemsQuantity as updateLineItemsQuantity };
10644
+ export { type ActionEvent$8 as ActionEvent, type index_d$9_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$9_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$9_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$9_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$2 as AdditionalFee, type Address$4 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$3 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type index_d$9_ApiAddress as ApiAddress, type ApplicationError$5 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$2 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$2 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$1 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$1 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$1 as CarrierError, type CarrierErrors$1 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$2 as CatalogReference, type ChannelInfo$2 as ChannelInfo, index_d$9_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$3 as ChannelType, type index_d$9_ChargeDetails as ChargeDetails, ChargeType$2 as ChargeType, type Checkout$1 as Checkout, type index_d$9_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$9_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$9_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$9_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$9_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$2 as Color, type index_d$9_CommonVatId as CommonVatId, index_d$9_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$2 as Coupon, type index_d$9_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$9_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$9_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$9_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$9_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$9_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$9_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$9_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$2 as DeliveryLogistics, type DeliveryTimeSlot$2 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type Discount$2 as Discount, index_d$9_DiscountDiscountType as DiscountDiscountType, type DiscountRule$2 as DiscountRule, type DiscountRuleName$2 as DiscountRuleName, DiscountType$2 as DiscountType, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type index_d$9_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$9_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$4 as Empty, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$4 as ExtendedFields, FallbackReason$1 as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$9_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$9_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$9_GetCheckoutRequest as GetCheckoutRequest, type index_d$9_GetCheckoutResponse as GetCheckoutResponse, type index_d$9_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$9_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$9_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$9_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$9_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$9_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$9_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$9_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$2 as GiftCard, type Group$1 as Group, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$1 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$2 as ItemTaxFullDetails, type ItemType$2 as ItemType, ItemTypeItemType$2 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$2 as ItemTypeItemTypeDataOneOf, JurisdictionType$2 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$2 as LineItemDiscount, type index_d$9_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$1 as ManualCalculationReason, type index_d$9_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$9_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$1 as Membership, type MembershipName$3 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$2 as MerchantDiscount, type index_d$9_MerchantDiscountInput as MerchantDiscountInput, type MessageEnvelope$8 as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$1 as OtherCharge, type index_d$9_PaymentErrorResponseData as PaymentErrorResponseData, PaymentOptionType$2 as PaymentOptionType, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$2 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$2 as PriceSummary, type index_d$9_ProductDetails as ProductDetails, type ProductName$2 as ProductName, RateType$1 as RateType, type index_d$9_RedeemErrorData as RedeemErrorData, type index_d$9_RemoveCouponRequest as RemoveCouponRequest, type index_d$9_RemoveCouponResponse as RemoveCouponResponse, type index_d$9_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$9_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$9_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$9_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$9_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$9_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$9_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$9_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$9_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$9_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$8 as RestoreInfo, RuleType$2 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type index_d$9_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$9_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$1 as ShippingOption, type ShippingPrice$2 as ShippingPrice, type ShippingRegion$2 as ShippingRegion, type index_d$9_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$3 as StreetAddress, type index_d$9_Subscription as Subscription, type index_d$9_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$3 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$3 as SubscriptionSettings, type SystemError$2 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$2 as TaxSummary, type Title$1 as Title, type Totals$1 as Totals, type index_d$9_UpdateCheckout as UpdateCheckout, type index_d$9_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$9_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$9_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$9_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$9_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$9_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$9_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$9_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$9_V1BuyerInfo as V1BuyerInfo, type index_d$9_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type index_d$9_V1PickupDetails as V1PickupDetails, type index_d$9_V1ShippingInfo as V1ShippingInfo, type index_d$9_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$9_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$9_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type Violation$1 as Violation, type index_d$9_ViolationsList as ViolationsList, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, index_d$9_addToCheckout as addToCheckout, index_d$9_createCheckout as createCheckout, createOrder$1 as createOrder, index_d$9_getCheckout as getCheckout, index_d$9_getCheckoutUrl as getCheckoutUrl, index_d$9_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$9_onCheckoutCompleted as onCheckoutCompleted, index_d$9_onCheckoutCreated as onCheckoutCreated, index_d$9_onCheckoutUpdated as onCheckoutUpdated, index_d$9_removeCoupon as removeCoupon, index_d$9_removeGiftCard as removeGiftCard, index_d$9_removeLineItems as removeLineItems, index_d$9_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$9_updateCheckout as updateCheckout, index_d$9_updateLineItemsQuantity as updateLineItemsQuantity };
10638
10645
  }
10639
10646
 
10640
10647
  interface CheckoutSettings {
@@ -11011,12 +11018,13 @@ interface CheckoutSettingsUpdatedEnvelope {
11011
11018
  metadata: EventMetadata$7;
11012
11019
  }
11013
11020
 
11014
- declare const __metadata$8: {
11015
- PACKAGE_NAME: string;
11016
- };
11017
- declare function getCheckoutSettings(httpClient: HttpClient): () => Promise<GetCheckoutSettingsResponse & GetCheckoutSettingsResponseNonNullableFields>;
11018
- declare function updateCheckoutSettings(httpClient: HttpClient): (checkoutSettings: CheckoutSettings) => Promise<UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields>;
11019
- declare const onCheckoutSettingsUpdated: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
11021
+ declare function createRESTModule$8<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
11022
+
11023
+ declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
11024
+
11025
+ declare const getCheckoutSettings: ReturnType<typeof createRESTModule$8<typeof publicGetCheckoutSettings>>;
11026
+ declare const updateCheckoutSettings: ReturnType<typeof createRESTModule$8<typeof publicUpdateCheckoutSettings>>;
11027
+ declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$7<typeof publicOnCheckoutSettingsUpdated>>;
11020
11028
 
11021
11029
  type index_d$8_Alignment = Alignment;
11022
11030
  declare const index_d$8_Alignment: typeof Alignment;
@@ -11051,7 +11059,7 @@ declare const index_d$8_getCheckoutSettings: typeof getCheckoutSettings;
11051
11059
  declare const index_d$8_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
11052
11060
  declare const index_d$8_updateCheckoutSettings: typeof updateCheckoutSettings;
11053
11061
  declare namespace index_d$8 {
11054
- export { type ActionEvent$7 as ActionEvent, index_d$8_Alignment as Alignment, type BaseEventMetadata$7 as BaseEventMetadata, type index_d$8_CheckboxField as CheckboxField, type index_d$8_CheckoutBrand as CheckoutBrand, type index_d$8_CheckoutFields as CheckoutFields, type index_d$8_CheckoutHeader as CheckoutHeader, type index_d$8_CheckoutPolicies as CheckoutPolicies, type index_d$8_CheckoutSettings as CheckoutSettings, type index_d$8_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$8_ContactUsPolicy as ContactUsPolicy, type index_d$8_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$8_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$8_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$8_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type index_d$8_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$8_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$8_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$8_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type index_d$8_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$8_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$8_Logo as Logo, index_d$8_LogoSize as LogoSize, type MessageEnvelope$7 as MessageEnvelope, type index_d$8_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$7 as RestoreInfo, type index_d$8_ReturnPolicy as ReturnPolicy, type index_d$8_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$8_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$8_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$8_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, __metadata$8 as __metadata, index_d$8_getCheckoutSettings as getCheckoutSettings, index_d$8_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, index_d$8_updateCheckoutSettings as updateCheckoutSettings };
11062
+ export { type ActionEvent$7 as ActionEvent, index_d$8_Alignment as Alignment, type BaseEventMetadata$7 as BaseEventMetadata, type index_d$8_CheckboxField as CheckboxField, type index_d$8_CheckoutBrand as CheckoutBrand, type index_d$8_CheckoutFields as CheckoutFields, type index_d$8_CheckoutHeader as CheckoutHeader, type index_d$8_CheckoutPolicies as CheckoutPolicies, type index_d$8_CheckoutSettings as CheckoutSettings, type index_d$8_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$8_ContactUsPolicy as ContactUsPolicy, type index_d$8_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$8_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$8_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$8_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type index_d$8_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$8_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$8_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$8_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type index_d$8_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$8_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$8_Logo as Logo, index_d$8_LogoSize as LogoSize, type MessageEnvelope$7 as MessageEnvelope, type index_d$8_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$7 as RestoreInfo, type index_d$8_ReturnPolicy as ReturnPolicy, type index_d$8_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$8_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$8_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$8_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, index_d$8_getCheckoutSettings as getCheckoutSettings, index_d$8_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, index_d$8_updateCheckoutSettings as updateCheckoutSettings };
11055
11063
  }
11056
11064
 
11057
11065
  interface CheckoutTemplate {
@@ -13152,19 +13160,20 @@ interface CheckoutTemplatesQueryBuilder {
13152
13160
  find: () => Promise<CheckoutTemplatesQueryResult>;
13153
13161
  }
13154
13162
 
13155
- declare const __metadata$7: {
13156
- PACKAGE_NAME: string;
13157
- };
13158
- declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTemplate: CheckoutTemplate) => Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
13159
- declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
13160
- declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
13161
- declare function deleteCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
13162
- declare function queryCheckoutTemplates(httpClient: HttpClient): () => CheckoutTemplatesQueryBuilder;
13163
- declare function createCheckoutFromTemplate(httpClient: HttpClient): (checkoutTemplateId: string, siteId: string) => Promise<CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields>;
13164
- declare const onCheckoutTemplateCreated: EventDefinition<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
13165
- declare const onCheckoutTemplateUpdated: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
13166
- declare const onCheckoutTemplateDeleted: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
13167
- declare const onCheckoutTemplateUsed: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
13163
+ declare function createRESTModule$7<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
13164
+
13165
+ declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
13166
+
13167
+ declare const createCheckoutTemplate: ReturnType<typeof createRESTModule$7<typeof publicCreateCheckoutTemplate>>;
13168
+ declare const getCheckoutTemplate: ReturnType<typeof createRESTModule$7<typeof publicGetCheckoutTemplate>>;
13169
+ declare const updateCheckoutTemplate: ReturnType<typeof createRESTModule$7<typeof publicUpdateCheckoutTemplate>>;
13170
+ declare const deleteCheckoutTemplate: ReturnType<typeof createRESTModule$7<typeof publicDeleteCheckoutTemplate>>;
13171
+ declare const queryCheckoutTemplates: ReturnType<typeof createRESTModule$7<typeof publicQueryCheckoutTemplates>>;
13172
+ declare const createCheckoutFromTemplate: ReturnType<typeof createRESTModule$7<typeof publicCreateCheckoutFromTemplate>>;
13173
+ declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$6<typeof publicOnCheckoutTemplateCreated>>;
13174
+ declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$6<typeof publicOnCheckoutTemplateUpdated>>;
13175
+ declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$6<typeof publicOnCheckoutTemplateDeleted>>;
13176
+ declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$6<typeof publicOnCheckoutTemplateUsed>>;
13168
13177
 
13169
13178
  type index_d$7_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
13170
13179
  type index_d$7_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
@@ -13269,7 +13278,7 @@ declare const index_d$7_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
13269
13278
  declare const index_d$7_queryCheckoutTemplates: typeof queryCheckoutTemplates;
13270
13279
  declare const index_d$7_updateCheckoutTemplate: typeof updateCheckoutTemplate;
13271
13280
  declare namespace index_d$7 {
13272
- export { type ActionEvent$6 as ActionEvent, type AdditionalFee$1 as AdditionalFee, type Address$3 as Address, type AddressLocation$2 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type index_d$7_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$7_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$6 as BaseEventMetadata, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$7_CalculationErrors as CalculationErrors, type index_d$7_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type index_d$7_CarrierError as CarrierError, type index_d$7_CarrierErrors as CarrierErrors, type index_d$7_CarrierServiceOption as CarrierServiceOption, type index_d$7_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, ChannelType$2 as ChannelType, ChargeType$1 as ChargeType, type index_d$7_Checkout as Checkout, type index_d$7_CheckoutCustomization as CheckoutCustomization, type index_d$7_CheckoutTemplate as CheckoutTemplate, type index_d$7_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$7_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$7_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$7_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$7_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$7_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$7_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$7_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$1 as Color, type index_d$7_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type index_d$7_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$7_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$7_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$7_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$7_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$7_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$7_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type index_d$7_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$4 as Cursors, type index_d$7_CustomContentReference as CustomContentReference, type CustomField$2 as CustomField, type index_d$7_CustomLineItem as CustomLineItem, type index_d$7_CustomSettings as CustomSettings, type index_d$7_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$7_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type index_d$7_Description as Description, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$3 as ExtendedFields, index_d$7_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, index_d$7_FileType as FileType, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$7_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$7_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$7_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type index_d$7_Group as Group, type index_d$7_HeadersEntry as HeadersEntry, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type index_d$7_InvalidMembership as InvalidMembership, type index_d$7_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$7_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$1 as LineItemDiscount, index_d$7_ManualCalculationReason as ManualCalculationReason, type index_d$7_Membership as Membership, type MembershipName$2 as MembershipName, type index_d$7_MembershipOptions as MembershipOptions, type index_d$7_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$1 as MerchantDiscount, type MessageEnvelope$6 as MessageEnvelope, type index_d$7_MultiCurrencyPrice as MultiCurrencyPrice, index_d$7_NameInLineItem as NameInLineItem, index_d$7_NameInOther as NameInOther, type index_d$7_Other as Other, type index_d$7_OtherCharge as OtherCharge, PaymentOptionType$1 as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type PriceDescription$1 as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$7_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$7_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$7_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, index_d$7_RateType as RateType, type index_d$7_RawHttpResponse as RawHttpResponse, type RestoreInfo$6 as RestoreInfo, RuleType$1 as RuleType, type index_d$7_Scope as Scope, type index_d$7_SecuredMedia as SecuredMedia, type index_d$7_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$7_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$7_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$7_SelectedMembership as SelectedMembership, type index_d$7_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, index_d$7_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type index_d$7_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type ShippingRegion$1 as ShippingRegion, SortOrder$4 as SortOrder, type Sorting$4 as Sorting, index_d$7_Status as Status, type StreetAddress$2 as StreetAddress, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type SystemError$1 as SystemError, type index_d$7_Target as Target, type index_d$7_TargetLineItem as TargetLineItem, type index_d$7_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d$7_TaxBreakdown as TaxBreakdown, type index_d$7_TaxCalculationDetails as TaxCalculationDetails, type index_d$7_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$7_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$1 as TaxSummary, type index_d$7_Title as Title, type index_d$7_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$7_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$7_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$7_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$7_V1LineItem as V1LineItem, type ValidationError$1 as ValidationError, type VatId$2 as VatId, VatType$2 as VatType, type index_d$7_Violation as Violation, type index_d$7_WebClientCustomization as WebClientCustomization, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, __metadata$7 as __metadata, index_d$7_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$7_createCheckoutTemplate as createCheckoutTemplate, index_d$7_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$7_getCheckoutTemplate as getCheckoutTemplate, index_d$7_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$7_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$7_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$7_onCheckoutTemplateUsed as onCheckoutTemplateUsed, index_d$7_queryCheckoutTemplates as queryCheckoutTemplates, index_d$7_updateCheckoutTemplate as updateCheckoutTemplate };
13281
+ export { type ActionEvent$6 as ActionEvent, type AdditionalFee$1 as AdditionalFee, type Address$3 as Address, type AddressLocation$2 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type index_d$7_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$7_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$6 as BaseEventMetadata, type BuyerInfo$3 as BuyerInfo, type BuyerInfoIdOneOf$1 as BuyerInfoIdOneOf, type index_d$7_CalculationErrors as CalculationErrors, type index_d$7_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type index_d$7_CarrierError as CarrierError, type index_d$7_CarrierErrors as CarrierErrors, type index_d$7_CarrierServiceOption as CarrierServiceOption, type index_d$7_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, ChannelType$2 as ChannelType, ChargeType$1 as ChargeType, type index_d$7_Checkout as Checkout, type index_d$7_CheckoutCustomization as CheckoutCustomization, type index_d$7_CheckoutTemplate as CheckoutTemplate, type index_d$7_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$7_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$7_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$7_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$7_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$7_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$7_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$7_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$1 as Color, type index_d$7_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type index_d$7_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$7_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$7_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$7_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$7_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$7_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$7_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$1 as CreatedBy, type index_d$7_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$4 as Cursors, type index_d$7_CustomContentReference as CustomContentReference, type CustomField$2 as CustomField, type index_d$7_CustomLineItem as CustomLineItem, type index_d$7_CustomSettings as CustomSettings, type index_d$7_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$7_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$1 as DeliveryLogistics, type DeliveryTimeSlot$1 as DeliveryTimeSlot, type index_d$7_Description as Description, type DescriptionLine$1 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$1 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$1 as DescriptionLineName, DescriptionLineType$1 as DescriptionLineType, type DescriptionLineValueOneOf$1 as DescriptionLineValueOneOf, type Details$1 as Details, type DetailsKindOneOf$1 as DetailsKindOneOf, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$3 as ExtendedFields, index_d$7_FallbackReason as FallbackReason, type FieldViolation$1 as FieldViolation, index_d$7_FileType as FileType, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$7_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$7_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$7_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$1 as GiftCard, type index_d$7_Group as Group, type index_d$7_HeadersEntry as HeadersEntry, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type index_d$7_InvalidMembership as InvalidMembership, type index_d$7_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$7_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type LineItemDiscount$1 as LineItemDiscount, index_d$7_ManualCalculationReason as ManualCalculationReason, type index_d$7_Membership as Membership, type MembershipName$2 as MembershipName, type index_d$7_MembershipOptions as MembershipOptions, type index_d$7_MembershipPaymentCredits as MembershipPaymentCredits, type MerchantDiscount$1 as MerchantDiscount, type MessageEnvelope$6 as MessageEnvelope, type index_d$7_MultiCurrencyPrice as MultiCurrencyPrice, index_d$7_NameInLineItem as NameInLineItem, index_d$7_NameInOther as NameInOther, type index_d$7_Other as Other, type index_d$7_OtherCharge as OtherCharge, PaymentOptionType$1 as PaymentOptionType, type PhysicalProperties$1 as PhysicalProperties, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type PlainTextValue$1 as PlainTextValue, type PriceDescription$1 as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$7_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$7_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$7_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, index_d$7_RateType as RateType, type index_d$7_RawHttpResponse as RawHttpResponse, type RestoreInfo$6 as RestoreInfo, RuleType$1 as RuleType, type index_d$7_Scope as Scope, type index_d$7_SecuredMedia as SecuredMedia, type index_d$7_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d$7_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type index_d$7_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, type index_d$7_SelectedMembership as SelectedMembership, type index_d$7_SelectedMemberships as SelectedMemberships, type ServiceProperties$1 as ServiceProperties, index_d$7_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type index_d$7_ShippingOption as ShippingOption, type ShippingPrice$1 as ShippingPrice, type ShippingRegion$1 as ShippingRegion, SortOrder$4 as SortOrder, type Sorting$4 as Sorting, index_d$7_Status as Status, type StreetAddress$2 as StreetAddress, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type SystemError$1 as SystemError, type index_d$7_Target as Target, type index_d$7_TargetLineItem as TargetLineItem, type index_d$7_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d$7_TaxBreakdown as TaxBreakdown, type index_d$7_TaxCalculationDetails as TaxCalculationDetails, type index_d$7_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$7_TaxRateBreakdown as TaxRateBreakdown, type TaxSummary$1 as TaxSummary, type index_d$7_Title as Title, type index_d$7_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$7_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$7_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$7_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$7_V1LineItem as V1LineItem, type ValidationError$1 as ValidationError, type VatId$2 as VatId, VatType$2 as VatType, type index_d$7_Violation as Violation, type index_d$7_WebClientCustomization as WebClientCustomization, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, index_d$7_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$7_createCheckoutTemplate as createCheckoutTemplate, index_d$7_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$7_getCheckoutTemplate as getCheckoutTemplate, index_d$7_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$7_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$7_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$7_onCheckoutTemplateUsed as onCheckoutTemplateUsed, index_d$7_queryCheckoutTemplates as queryCheckoutTemplates, index_d$7_updateCheckoutTemplate as updateCheckoutTemplate };
13273
13282
  }
13274
13283
 
13275
13284
  /**
@@ -14465,29 +14474,30 @@ interface UpdateExtendedFieldsOptions$1 {
14465
14474
  namespaceData: Record<string, any> | null;
14466
14475
  }
14467
14476
 
14468
- declare const __metadata$6: {
14469
- PACKAGE_NAME: string;
14470
- };
14471
- declare function createDeliveryProfile(httpClient: HttpClient): (deliveryProfile: DeliveryProfile) => Promise<DeliveryProfile & DeliveryProfileNonNullableFields>;
14472
- declare function getDeliveryProfile(httpClient: HttpClient): (deliveryProfileId: string) => Promise<DeliveryProfile & DeliveryProfileNonNullableFields>;
14473
- declare function updateDeliveryProfile(httpClient: HttpClient): (_id: string | null, deliveryProfile: UpdateDeliveryProfile) => Promise<DeliveryProfile & DeliveryProfileNonNullableFields>;
14474
- declare function deleteDeliveryProfile(httpClient: HttpClient): (deliveryProfileId: string) => Promise<void>;
14475
- declare function queryDeliveryProfiles(httpClient: HttpClient): () => DeliveryProfilesQueryBuilder;
14476
- declare function addDeliveryRegion(httpClient: HttpClient): (deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions) => Promise<AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields>;
14477
- declare function updateDeliveryRegion(httpClient: HttpClient): (identifiers: UpdateDeliveryRegionIdentifiers, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions) => Promise<UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields>;
14478
- declare function removeDeliveryRegion(httpClient: HttpClient): (identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions) => Promise<RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields>;
14479
- declare function addDeliveryCarrier(httpClient: HttpClient): (deliveryRegionId: string, options: AddDeliveryCarrierOptions) => Promise<AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields>;
14480
- declare function removeDeliveryCarrier(httpClient: HttpClient): (deliveryRegionId: string, options: RemoveDeliveryCarrierOptions) => Promise<RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields>;
14481
- declare function updateDeliveryCarrier(httpClient: HttpClient): (deliveryRegionId: string, options?: UpdateDeliveryCarrierOptions) => Promise<UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields>;
14482
- declare function listDeliveryCarrierDetails(httpClient: HttpClient): () => Promise<ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields>;
14483
- declare function listDeliveryCarriers(httpClient: HttpClient): (deliveryProfileId: string, options?: ListDeliveryCarriersOptions) => Promise<ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields>;
14484
- declare function updateExtendedFields$1(httpClient: HttpClient): (_id: string, namespace: string, options: UpdateExtendedFieldsOptions$1) => Promise<UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
14485
- declare const onDeliveryProfileCreated: EventDefinition<DeliveryProfileCreatedEnvelope, "wix.ecom.v1.delivery_profile_created">;
14486
- declare const onDeliveryProfileDeliveryRegionAdded: EventDefinition<DeliveryProfileDeliveryRegionAddedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_added">;
14487
- declare const onDeliveryProfileUpdated: EventDefinition<DeliveryProfileUpdatedEnvelope, "wix.ecom.v1.delivery_profile_updated">;
14488
- declare const onDeliveryProfileDeleted: EventDefinition<DeliveryProfileDeletedEnvelope, "wix.ecom.v1.delivery_profile_deleted">;
14489
- declare const onDeliveryProfileDeliveryRegionRemoved: EventDefinition<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
14490
- declare const onDeliveryProfileDeliveryRegionUpdated: EventDefinition<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
14477
+ declare function createRESTModule$6<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
14478
+
14479
+ declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
14480
+
14481
+ declare const createDeliveryProfile: ReturnType<typeof createRESTModule$6<typeof publicCreateDeliveryProfile>>;
14482
+ declare const getDeliveryProfile: ReturnType<typeof createRESTModule$6<typeof publicGetDeliveryProfile>>;
14483
+ declare const updateDeliveryProfile: ReturnType<typeof createRESTModule$6<typeof publicUpdateDeliveryProfile>>;
14484
+ declare const deleteDeliveryProfile: ReturnType<typeof createRESTModule$6<typeof publicDeleteDeliveryProfile>>;
14485
+ declare const queryDeliveryProfiles: ReturnType<typeof createRESTModule$6<typeof publicQueryDeliveryProfiles>>;
14486
+ declare const addDeliveryRegion: ReturnType<typeof createRESTModule$6<typeof publicAddDeliveryRegion>>;
14487
+ declare const updateDeliveryRegion: ReturnType<typeof createRESTModule$6<typeof publicUpdateDeliveryRegion>>;
14488
+ declare const removeDeliveryRegion: ReturnType<typeof createRESTModule$6<typeof publicRemoveDeliveryRegion>>;
14489
+ declare const addDeliveryCarrier: ReturnType<typeof createRESTModule$6<typeof publicAddDeliveryCarrier>>;
14490
+ declare const removeDeliveryCarrier: ReturnType<typeof createRESTModule$6<typeof publicRemoveDeliveryCarrier>>;
14491
+ declare const updateDeliveryCarrier: ReturnType<typeof createRESTModule$6<typeof publicUpdateDeliveryCarrier>>;
14492
+ declare const listDeliveryCarrierDetails: ReturnType<typeof createRESTModule$6<typeof publicListDeliveryCarrierDetails>>;
14493
+ declare const listDeliveryCarriers: ReturnType<typeof createRESTModule$6<typeof publicListDeliveryCarriers>>;
14494
+ declare const updateExtendedFields$1: ReturnType<typeof createRESTModule$6<typeof publicUpdateExtendedFields>>;
14495
+ declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileCreated>>;
14496
+ declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileDeliveryRegionAdded>>;
14497
+ declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileUpdated>>;
14498
+ declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileDeleted>>;
14499
+ declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileDeliveryRegionRemoved>>;
14500
+ declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$5<typeof publicOnDeliveryProfileDeliveryRegionUpdated>>;
14491
14501
 
14492
14502
  type index_d$6_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
14493
14503
  type index_d$6_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
@@ -14607,7 +14617,7 @@ declare const index_d$6_updateDeliveryCarrier: typeof updateDeliveryCarrier;
14607
14617
  declare const index_d$6_updateDeliveryProfile: typeof updateDeliveryProfile;
14608
14618
  declare const index_d$6_updateDeliveryRegion: typeof updateDeliveryRegion;
14609
14619
  declare namespace index_d$6 {
14610
- export { type ActionEvent$5 as ActionEvent, type index_d$6_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$6_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$6_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$6_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type index_d$6_AddDeliveryRegionOptions as AddDeliveryRegionOptions, type index_d$6_AddDeliveryRegionRequest as AddDeliveryRegionRequest, type index_d$6_AddDeliveryRegionResponse as AddDeliveryRegionResponse, type index_d$6_AddDeliveryRegionResponseNonNullableFields as AddDeliveryRegionResponseNonNullableFields, type index_d$6_AdditionalCharge as AdditionalCharge, type ApplicationError$3 as ApplicationError, type index_d$6_Asset as Asset, type index_d$6_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, index_d$6_ChargeType as ChargeType, type index_d$6_Column as Column, type index_d$6_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$6_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$6_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$3 as Cursors, type index_d$6_DashboardTable as DashboardTable, type index_d$6_DeleteContext as DeleteContext, type index_d$6_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$6_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$6_DeleteStatus as DeleteStatus, type index_d$6_DeliveryCarrier as DeliveryCarrier, type index_d$6_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$6_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$6_DeliveryProfile as DeliveryProfile, type index_d$6_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$6_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$6_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$6_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$6_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$6_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$6_DeliveryRegion as DeliveryRegion, type index_d$6_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$6_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$6_DeliveryRegionUpdated as DeliveryRegionUpdated, type index_d$6_Destination as Destination, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$2 as ExtendedFields, type index_d$6_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$6_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$6_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$6_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$6_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$6_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$6_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$6_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$6_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$6_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$6_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$5 as MessageEnvelope, type index_d$6_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$6_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$6_NamespaceChanged as NamespaceChanged, type index_d$6_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$6_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$6_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$6_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$6_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$6_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$6_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$6_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type index_d$6_RemoveDeliveryRegionOptions as RemoveDeliveryRegionOptions, type index_d$6_RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequest, type index_d$6_RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponse, type index_d$6_RemoveDeliveryRegionResponseNonNullableFields as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$5 as RestoreInfo, type index_d$6_Row as Row, type index_d$6_ServiceProvisioned as ServiceProvisioned, type index_d$6_ServiceRemoved as ServiceRemoved, type index_d$6_SiteCreated as SiteCreated, index_d$6_SiteCreatedContext as SiteCreatedContext, type index_d$6_SiteDeleted as SiteDeleted, type index_d$6_SiteHardDeleted as SiteHardDeleted, type index_d$6_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$6_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$6_SitePublished as SitePublished, type index_d$6_SiteRenamed as SiteRenamed, type index_d$6_SiteTransferred as SiteTransferred, type index_d$6_SiteUndeleted as SiteUndeleted, type index_d$6_SiteUnpublished as SiteUnpublished, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, State$1 as State, type index_d$6_StudioAssigned as StudioAssigned, type index_d$6_StudioUnassigned as StudioUnassigned, type index_d$6_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$6_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$6_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$6_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$6_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$6_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$6_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$6_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$6_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$6_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$6_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$6_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$6_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$6_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$1 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$1 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$1 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$1 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, __metadata$6 as __metadata, index_d$6_addDeliveryCarrier as addDeliveryCarrier, index_d$6_addDeliveryRegion as addDeliveryRegion, index_d$6_createDeliveryProfile as createDeliveryProfile, index_d$6_deleteDeliveryProfile as deleteDeliveryProfile, index_d$6_getDeliveryProfile as getDeliveryProfile, index_d$6_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$6_listDeliveryCarriers as listDeliveryCarriers, index_d$6_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$6_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$6_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$6_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$6_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$6_onDeliveryProfileUpdated as onDeliveryProfileUpdated, index_d$6_queryDeliveryProfiles as queryDeliveryProfiles, index_d$6_removeDeliveryCarrier as removeDeliveryCarrier, index_d$6_removeDeliveryRegion as removeDeliveryRegion, index_d$6_updateDeliveryCarrier as updateDeliveryCarrier, index_d$6_updateDeliveryProfile as updateDeliveryProfile, index_d$6_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$1 as updateExtendedFields };
14620
+ export { type ActionEvent$5 as ActionEvent, type index_d$6_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$6_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$6_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$6_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type index_d$6_AddDeliveryRegionOptions as AddDeliveryRegionOptions, type index_d$6_AddDeliveryRegionRequest as AddDeliveryRegionRequest, type index_d$6_AddDeliveryRegionResponse as AddDeliveryRegionResponse, type index_d$6_AddDeliveryRegionResponseNonNullableFields as AddDeliveryRegionResponseNonNullableFields, type index_d$6_AdditionalCharge as AdditionalCharge, type ApplicationError$3 as ApplicationError, type index_d$6_Asset as Asset, type index_d$6_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, index_d$6_ChargeType as ChargeType, type index_d$6_Column as Column, type index_d$6_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$6_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$6_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$3 as Cursors, type index_d$6_DashboardTable as DashboardTable, type index_d$6_DeleteContext as DeleteContext, type index_d$6_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$6_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$6_DeleteStatus as DeleteStatus, type index_d$6_DeliveryCarrier as DeliveryCarrier, type index_d$6_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$6_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$6_DeliveryProfile as DeliveryProfile, type index_d$6_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$6_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$6_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$6_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$6_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$6_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$6_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$6_DeliveryRegion as DeliveryRegion, type index_d$6_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$6_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$6_DeliveryRegionUpdated as DeliveryRegionUpdated, type index_d$6_Destination as Destination, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$2 as ExtendedFields, type index_d$6_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$6_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$6_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$6_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$6_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$6_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$6_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$6_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$6_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$6_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$6_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$5 as MessageEnvelope, type index_d$6_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$6_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$6_NamespaceChanged as NamespaceChanged, type index_d$6_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$6_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$6_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$6_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$6_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$6_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$6_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$6_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type index_d$6_RemoveDeliveryRegionOptions as RemoveDeliveryRegionOptions, type index_d$6_RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequest, type index_d$6_RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponse, type index_d$6_RemoveDeliveryRegionResponseNonNullableFields as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$5 as RestoreInfo, type index_d$6_Row as Row, type index_d$6_ServiceProvisioned as ServiceProvisioned, type index_d$6_ServiceRemoved as ServiceRemoved, type index_d$6_SiteCreated as SiteCreated, index_d$6_SiteCreatedContext as SiteCreatedContext, type index_d$6_SiteDeleted as SiteDeleted, type index_d$6_SiteHardDeleted as SiteHardDeleted, type index_d$6_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$6_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$6_SitePublished as SitePublished, type index_d$6_SiteRenamed as SiteRenamed, type index_d$6_SiteTransferred as SiteTransferred, type index_d$6_SiteUndeleted as SiteUndeleted, type index_d$6_SiteUnpublished as SiteUnpublished, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, State$1 as State, type index_d$6_StudioAssigned as StudioAssigned, type index_d$6_StudioUnassigned as StudioUnassigned, type index_d$6_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$6_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$6_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$6_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$6_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$6_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$6_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$6_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$6_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$6_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$6_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$6_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$6_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$6_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$1 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$1 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$1 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$1 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, index_d$6_addDeliveryCarrier as addDeliveryCarrier, index_d$6_addDeliveryRegion as addDeliveryRegion, index_d$6_createDeliveryProfile as createDeliveryProfile, index_d$6_deleteDeliveryProfile as deleteDeliveryProfile, index_d$6_getDeliveryProfile as getDeliveryProfile, index_d$6_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$6_listDeliveryCarriers as listDeliveryCarriers, index_d$6_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$6_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$6_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$6_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$6_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$6_onDeliveryProfileUpdated as onDeliveryProfileUpdated, index_d$6_queryDeliveryProfiles as queryDeliveryProfiles, index_d$6_removeDeliveryCarrier as removeDeliveryCarrier, index_d$6_removeDeliveryRegion as removeDeliveryRegion, index_d$6_updateDeliveryCarrier as updateDeliveryCarrier, index_d$6_updateDeliveryProfile as updateDeliveryProfile, index_d$6_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$1 as updateExtendedFields };
14611
14621
  }
14612
14622
 
14613
14623
  interface OrderWithFulfillments {
@@ -15139,16 +15149,17 @@ interface DeleteFulfillmentIdentifiers {
15139
15149
  orderId: string;
15140
15150
  }
15141
15151
 
15142
- declare const __metadata$5: {
15143
- PACKAGE_NAME: string;
15144
- };
15145
- declare function listFulfillmentsForSingleOrder(httpClient: HttpClient): (orderId: string) => Promise<ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields>;
15146
- declare function listFulfillmentsForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields>;
15147
- declare function createFulfillment(httpClient: HttpClient): (orderId: string, fulfillment: Fulfillment$1) => Promise<CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields>;
15148
- declare function updateFulfillment(httpClient: HttpClient): (identifiers: UpdateFulfillmentIdentifiers, options?: UpdateFulfillmentOptions) => Promise<OrderWithFulfillments & OrderWithFulfillmentsNonNullableFields>;
15149
- declare function deleteFulfillment(httpClient: HttpClient): (identifiers: DeleteFulfillmentIdentifiers) => Promise<DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields>;
15150
- declare function bulkCreateFulfillments(httpClient: HttpClient): (ordersWithFulfillments: BulkCreateOrderWithFulfillments[]) => Promise<BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields>;
15151
- declare const onFulfillmentsUpdated: EventDefinition<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
15152
+ declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
15153
+
15154
+ declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
15155
+
15156
+ declare const listFulfillmentsForSingleOrder: ReturnType<typeof createRESTModule$5<typeof publicListFulfillmentsForSingleOrder>>;
15157
+ declare const listFulfillmentsForMultipleOrders: ReturnType<typeof createRESTModule$5<typeof publicListFulfillmentsForMultipleOrders>>;
15158
+ declare const createFulfillment: ReturnType<typeof createRESTModule$5<typeof publicCreateFulfillment>>;
15159
+ declare const updateFulfillment: ReturnType<typeof createRESTModule$5<typeof publicUpdateFulfillment>>;
15160
+ declare const deleteFulfillment: ReturnType<typeof createRESTModule$5<typeof publicDeleteFulfillment>>;
15161
+ declare const bulkCreateFulfillments: ReturnType<typeof createRESTModule$5<typeof publicBulkCreateFulfillments>>;
15162
+ declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$4<typeof publicOnFulfillmentsUpdated>>;
15152
15163
 
15153
15164
  type index_d$5_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
15154
15165
  type index_d$5_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
@@ -15190,7 +15201,7 @@ declare const index_d$5_listFulfillmentsForSingleOrder: typeof listFulfillmentsF
15190
15201
  declare const index_d$5_onFulfillmentsUpdated: typeof onFulfillmentsUpdated;
15191
15202
  declare const index_d$5_updateFulfillment: typeof updateFulfillment;
15192
15203
  declare namespace index_d$5 {
15193
- export { type ActionEvent$4 as ActionEvent, type ApplicationError$2 as ApplicationError, type BaseEventMetadata$4 as BaseEventMetadata, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$5_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type index_d$5_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type index_d$5_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type index_d$5_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type index_d$5_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type index_d$5_CreateFulfillmentRequest as CreateFulfillmentRequest, type index_d$5_CreateFulfillmentResponse as CreateFulfillmentResponse, type index_d$5_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type index_d$5_CustomFulfillmentInfo as CustomFulfillmentInfo, type index_d$5_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type index_d$5_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type index_d$5_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type index_d$5_DeleteFulfillmentResponseNonNullableFields as DeleteFulfillmentResponseNonNullableFields, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type Fulfillment$1 as Fulfillment, type index_d$5_FulfillmentCreated as FulfillmentCreated, type index_d$5_FulfillmentDeleted as FulfillmentDeleted, type index_d$5_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type index_d$5_FulfillmentUpdated as FulfillmentUpdated, type index_d$5_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemMetadata$2 as ItemMetadata, type index_d$5_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type index_d$5_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type index_d$5_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type index_d$5_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type index_d$5_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type index_d$5_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$5_OrderWithFulfillments as OrderWithFulfillments, type index_d$5_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$4 as RestoreInfo, type index_d$5_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type index_d$5_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type index_d$5_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type index_d$5_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type index_d$5_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type index_d$5_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$4 as WebhookIdentityType, __metadata$5 as __metadata, index_d$5_bulkCreateFulfillments as bulkCreateFulfillments, index_d$5_createFulfillment as createFulfillment, index_d$5_deleteFulfillment as deleteFulfillment, index_d$5_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, index_d$5_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, index_d$5_onFulfillmentsUpdated as onFulfillmentsUpdated, index_d$5_updateFulfillment as updateFulfillment };
15204
+ export { type ActionEvent$4 as ActionEvent, type ApplicationError$2 as ApplicationError, type BaseEventMetadata$4 as BaseEventMetadata, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$5_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type index_d$5_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type index_d$5_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type index_d$5_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type index_d$5_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type index_d$5_CreateFulfillmentRequest as CreateFulfillmentRequest, type index_d$5_CreateFulfillmentResponse as CreateFulfillmentResponse, type index_d$5_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type index_d$5_CustomFulfillmentInfo as CustomFulfillmentInfo, type index_d$5_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type index_d$5_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type index_d$5_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type index_d$5_DeleteFulfillmentResponseNonNullableFields as DeleteFulfillmentResponseNonNullableFields, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type Fulfillment$1 as Fulfillment, type index_d$5_FulfillmentCreated as FulfillmentCreated, type index_d$5_FulfillmentDeleted as FulfillmentDeleted, type index_d$5_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type index_d$5_FulfillmentUpdated as FulfillmentUpdated, type index_d$5_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemMetadata$2 as ItemMetadata, type index_d$5_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type index_d$5_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type index_d$5_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type index_d$5_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type index_d$5_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type index_d$5_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$5_OrderWithFulfillments as OrderWithFulfillments, type index_d$5_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$4 as RestoreInfo, type index_d$5_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type index_d$5_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type index_d$5_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type index_d$5_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type index_d$5_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type index_d$5_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$4 as WebhookIdentityType, index_d$5_bulkCreateFulfillments as bulkCreateFulfillments, index_d$5_createFulfillment as createFulfillment, index_d$5_deleteFulfillment as deleteFulfillment, index_d$5_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, index_d$5_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, index_d$5_onFulfillmentsUpdated as onFulfillmentsUpdated, index_d$5_updateFulfillment as updateFulfillment };
15194
15205
  }
15195
15206
 
15196
15207
  interface Order$1 {
@@ -20043,20 +20054,21 @@ interface CancelOrderOptions {
20043
20054
  restockAllItems?: boolean;
20044
20055
  }
20045
20056
 
20046
- declare const __metadata$4: {
20047
- PACKAGE_NAME: string;
20048
- };
20049
- declare function getPaymentCollectabilityStatus(httpClient: HttpClient): (ecomOrderId: string) => Promise<GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields>;
20050
- declare function getOrder(httpClient: HttpClient): (_id: string) => Promise<Order$1 & OrderNonNullableFields>;
20051
- declare function searchOrders(httpClient: HttpClient): (options?: SearchOrdersOptions) => Promise<SearchOrdersResponse & SearchOrdersResponseNonNullableFields>;
20052
- declare function createOrder(httpClient: HttpClient): (order: Order$1) => Promise<Order$1 & OrderNonNullableFields>;
20053
- declare function updateOrder(httpClient: HttpClient): (_id: string | null, order: UpdateOrder) => Promise<Order$1 & OrderNonNullableFields>;
20054
- declare function cancelOrder(httpClient: HttpClient): (_id: string, options?: CancelOrderOptions) => Promise<CancelOrderResponse & CancelOrderResponseNonNullableFields>;
20055
- declare const onOrderPaymentStatusUpdated: EventDefinition<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
20056
- declare const onOrderUpdated: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
20057
- declare const onOrderCreated: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
20058
- declare const onOrderCanceled: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
20059
- declare const onOrderApproved: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
20057
+ declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
20058
+
20059
+ declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
20060
+
20061
+ declare const getPaymentCollectabilityStatus: ReturnType<typeof createRESTModule$4<typeof publicGetPaymentCollectabilityStatus>>;
20062
+ declare const getOrder: ReturnType<typeof createRESTModule$4<typeof publicGetOrder>>;
20063
+ declare const searchOrders: ReturnType<typeof createRESTModule$4<typeof publicSearchOrders>>;
20064
+ declare const createOrder: ReturnType<typeof createRESTModule$4<typeof publicCreateOrder>>;
20065
+ declare const updateOrder: ReturnType<typeof createRESTModule$4<typeof publicUpdateOrder>>;
20066
+ declare const cancelOrder: ReturnType<typeof createRESTModule$4<typeof publicCancelOrder>>;
20067
+ declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$3<typeof publicOnOrderPaymentStatusUpdated>>;
20068
+ declare const onOrderUpdated: ReturnType<typeof createEventModule$3<typeof publicOnOrderUpdated>>;
20069
+ declare const onOrderCreated: ReturnType<typeof createEventModule$3<typeof publicOnOrderCreated>>;
20070
+ declare const onOrderCanceled: ReturnType<typeof createEventModule$3<typeof publicOnOrderCanceled>>;
20071
+ declare const onOrderApproved: ReturnType<typeof createEventModule$3<typeof publicOnOrderApproved>>;
20060
20072
 
20061
20073
  type index_d$4_ActivityContentOneOf = ActivityContentOneOf;
20062
20074
  type index_d$4_AddActivitiesRequest = AddActivitiesRequest;
@@ -20531,7 +20543,7 @@ declare const index_d$4_onOrderUpdated: typeof onOrderUpdated;
20531
20543
  declare const index_d$4_searchOrders: typeof searchOrders;
20532
20544
  declare const index_d$4_updateOrder: typeof updateOrder;
20533
20545
  declare namespace index_d$4 {
20534
- export { type ActionEvent$3 as ActionEvent, type Activity$1 as Activity, type index_d$4_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$4_AddActivitiesRequest as AddActivitiesRequest, type index_d$4_AddActivitiesResponse as AddActivitiesResponse, type index_d$4_AddActivityRequest as AddActivityRequest, type index_d$4_AddActivityResponse as AddActivityResponse, type index_d$4_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$4_AddInternalActivityResponse as AddInternalActivityResponse, type index_d$4_AdditionalFee as AdditionalFee, type index_d$4_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$4_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type index_d$4_AdditionalFeeRefund as AdditionalFeeRefund, type index_d$4_AdditionalFeeRefundOption as AdditionalFeeRefundOption, type Address$2 as Address, type index_d$4_AddressDescription as AddressDescription, type AddressLocation$1 as AddressLocation, type index_d$4_AddressWithContact as AddressWithContact, type index_d$4_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$4_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$4_App as App, type ApplicationError$1 as ApplicationError, type index_d$4_AppliedDiscount as AppliedDiscount, type index_d$4_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$4_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type index_d$4_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$4_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$4_ArchiveOrderResponse as ArchiveOrderResponse, index_d$4_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type index_d$4_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$4_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$4_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$4_Balance as Balance, type index_d$4_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$4_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$4_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$4_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$4_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$4_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$4_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$4_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$4_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$4_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$4_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$4_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$4_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$4_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$4_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$4_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$4_BulkOrderResult as BulkOrderResult, type index_d$4_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$4_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$4_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$4_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$4_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$4_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$4_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$4_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$4_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$4_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$4_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$4_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$4_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type BuyerInfo$1 as BuyerInfo, type index_d$4_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$4_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$4_CalculateRefundV1Request as CalculateRefundV1Request, type index_d$4_CalculateRefundV1Response as CalculateRefundV1Response, type index_d$4_CalculateRefundV2Request as CalculateRefundV2Request, type index_d$4_CalculateRefundV2Response as CalculateRefundV2Response, type index_d$4_CalculateRefundV2ResponseStatusOneOf as CalculateRefundV2ResponseStatusOneOf, type index_d$4_CalculatedAdditionalFeeRefund as CalculatedAdditionalFeeRefund, type index_d$4_CalculatedLineItemRefund as CalculatedLineItemRefund, type index_d$4_CalculatedRefundDetails as CalculatedRefundDetails, type index_d$4_CalculatedRefundNotAvailableStatus as CalculatedRefundNotAvailableStatus, type index_d$4_CalculatedRefundSummary as CalculatedRefundSummary, type index_d$4_CalculatedShippingRefund as CalculatedShippingRefund, type index_d$4_CalculatedTax as CalculatedTax, type index_d$4_CalculatedTaxes as CalculatedTaxes, type index_d$4_CalculationError as CalculationError, type index_d$4_CalculationErrorItemOneOf as CalculationErrorItemOneOf, type index_d$4_Cancel as Cancel, type index_d$4_CancelOrderOptions as CancelOrderOptions, type index_d$4_CancelOrderRequest as CancelOrderRequest, type index_d$4_CancelOrderResponse as CancelOrderResponse, type index_d$4_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$4_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type index_d$4_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, type index_d$4_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$4_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$4_CatalogReference as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$4_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$4_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$4_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$4_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$4_ChargedBy as ChargedBy, type index_d$4_Color as Color, type index_d$4_CommitDeltasRequest as CommitDeltasRequest, type index_d$4_CommitDeltasResponse as CommitDeltasResponse, type index_d$4_CommittedDiffs as CommittedDiffs, type index_d$4_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$4_CommonAddress as CommonAddress, type index_d$4_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$4_Company as Company, type index_d$4_Complete as Complete, type index_d$4_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type index_d$4_Coupon as Coupon, type index_d$4_CreateOrderRequest as CreateOrderRequest, type index_d$4_CreateOrderResponse as CreateOrderResponse, type index_d$4_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$4_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$4_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$4_CreatedBy as CreatedBy, type index_d$4_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$2 as Cursors, type index_d$4_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$4_CustomFieldGroup as CustomFieldGroup, type index_d$4_CustomFieldValue as CustomFieldValue, type index_d$4_Customer as Customer, type index_d$4_DecrementData as DecrementData, type index_d$4_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$4_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$4_DeleteActivityRequest as DeleteActivityRequest, type index_d$4_DeleteActivityResponse as DeleteActivityResponse, type index_d$4_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$4_DeleteByIdsOperation as DeleteByIdsOperation, type index_d$4_DeliveryLogistics as DeliveryLogistics, type index_d$4_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$4_DeliveryTimeSlot as DeliveryTimeSlot, index_d$4_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$4_Deposit as Deposit, index_d$4_DepositType as DepositType, type index_d$4_DescriptionLine as DescriptionLine, type index_d$4_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$4_DescriptionLineName as DescriptionLineName, index_d$4_DescriptionLineType as DescriptionLineType, type index_d$4_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$4_Details as Details, type index_d$4_DetailsKindOneOf as DetailsKindOneOf, type DiffmatokyPayload$1 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$4_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$4_DiscountReason as DiscountReason, type index_d$4_DiscountRule as DiscountRule, type index_d$4_DiscountRuleName as DiscountRuleName, index_d$4_DiscountType as DiscountType, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DownloadLinkSent as DownloadLinkSent, type index_d$4_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$4_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$4_DraftOrderDiffs as DraftOrderDiffs, type index_d$4_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$4_Email as Email, type index_d$4_EmailEdited as EmailEdited, type Empty$1 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$3 as EventMetadata, type ExtendedFields$1 as ExtendedFields, type index_d$4_ExternalUriMapping as ExternalUriMapping, type index_d$4_FieldViolation as FieldViolation, type index_d$4_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$4_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$4_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$4_FullAddressContactDetails as FullAddressContactDetails, type index_d$4_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$4_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$4_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$4_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$4_GetOrderRequest as GetOrderRequest, type index_d$4_GetOrderResponse as GetOrderResponse, type index_d$4_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$4_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$4_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$4_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type index_d$4_GetRefundOptionsRequest as GetRefundOptionsRequest, type index_d$4_GetRefundOptionsResponse as GetRefundOptionsResponse, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$4_GetShipmentsRequest as GetShipmentsRequest, type index_d$4_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$4_HtmlApplication as HtmlApplication, type index_d$4_IdAndVersion as IdAndVersion, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$4_InternalActivity as InternalActivity, type index_d$4_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$4_InternalDocument as InternalDocument, type index_d$4_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$4_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$4_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$4_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$4_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$4_InventoryAction as InventoryAction, type index_d$4_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$4_InvoiceAdded as InvoiceAdded, type index_d$4_InvoiceDates as InvoiceDates, type index_d$4_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$4_InvoiceFields as InvoiceFields, type index_d$4_InvoiceSent as InvoiceSent, type index_d$4_InvoiceSentEvent as InvoiceSentEvent, index_d$4_InvoiceStatus as InvoiceStatus, type index_d$4_InvoicesPayment as InvoicesPayment, type index_d$4_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type index_d$4_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$4_ItemType as ItemType, index_d$4_ItemTypeItemType as ItemTypeItemType, type index_d$4_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, type index_d$4_ItemizedFee as ItemizedFee, index_d$4_JurisdictionType as JurisdictionType, type LineItem$1 as LineItem, type index_d$4_LineItemAmount as LineItemAmount, type index_d$4_LineItemChanges as LineItemChanges, type index_d$4_LineItemDelta as LineItemDelta, type index_d$4_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type index_d$4_LineItemDiscount as LineItemDiscount, type index_d$4_LineItemExchangeData as LineItemExchangeData, type index_d$4_LineItemMetaData as LineItemMetaData, type index_d$4_LineItemPriceChange as LineItemPriceChange, type index_d$4_LineItemQuantityChange as LineItemQuantityChange, index_d$4_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$4_LineItemRefund as LineItemRefund, type index_d$4_LineItemRefundOption as LineItemRefundOption, type index_d$4_LineItemTax as LineItemTax, type index_d$4_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$4_LineItemTaxInfo as LineItemTaxInfo, type index_d$4_LineItemUpdate as LineItemUpdate, type index_d$4_LineItems as LineItems, type index_d$4_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$4_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$4_Locale as Locale, type index_d$4_LocationAndQuantity as LocationAndQuantity, type index_d$4_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$4_ManagedDiscount as ManagedDiscount, type index_d$4_ManagedLineItem as ManagedLineItem, type index_d$4_ManuallyRefundablePaymentStatus as ManuallyRefundablePaymentStatus, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$4_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$4_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$4_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$4_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$4_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$4_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$4_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$4_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$4_MaskedOrder as MaskedOrder, type index_d$4_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$4_MembershipChargeItem as MembershipChargeItem, type MembershipName$1 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$4_MembershipPaymentSummary as MembershipPaymentSummary, type index_d$4_MerchantComment as MerchantComment, type index_d$4_MerchantDiscount as MerchantDiscount, type index_d$4_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$3 as MessageEnvelope, type index_d$4_MetaData as MetaData, type index_d$4_MetaSite as MetaSite, type index_d$4_MetaTag as MetaTag, type index_d$4_MonetaryPaymentSummary as MonetaryPaymentSummary, index_d$4_Namespace as Namespace, type index_d$4_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$4_NonRefundablePaymentStatus as NonRefundablePaymentStatus, NonRefundableReason$1 as NonRefundableReason, type index_d$4_NotificationSideEffects as NotificationSideEffects, type Order$1 as Order, index_d$4_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$4_OrderApproved as OrderApproved, type index_d$4_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$4_OrderCanceled as OrderCanceled, type index_d$4_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$4_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$4_OrderChange as OrderChange, type index_d$4_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$4_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$4_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$4_OrderCreationSettings as OrderCreationSettings, type index_d$4_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$4_OrderFulfilled as OrderFulfilled, type index_d$4_OrderItemsRestocked as OrderItemsRestocked, type index_d$4_OrderLineItem as OrderLineItem, type index_d$4_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$4_OrderNonNullableFields as OrderNonNullableFields, type index_d$4_OrderNotFulfilled as OrderNotFulfilled, type index_d$4_OrderPaid as OrderPaid, type index_d$4_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$4_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$4_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$4_OrderStatus as OrderStatus, type index_d$4_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$4_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$4_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$4_OrdersExperiments as OrdersExperiments, type index_d$4_OrdersV1RestockItem as OrdersV1RestockItem, type Payment$1 as Payment, type index_d$4_PaymentCapture as PaymentCapture, index_d$4_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$4_PaymentInfo as PaymentInfo, type index_d$4_PaymentInfoPaymentMethodDetailsOneOf as PaymentInfoPaymentMethodDetailsOneOf, type index_d$4_PaymentInfoSummaryOneOf as PaymentInfoSummaryOneOf, index_d$4_PaymentOptionType as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$4_PaymentRefundOption as PaymentRefundOption, type index_d$4_PaymentRefundOptionStatusOneOf as PaymentRefundOptionStatusOneOf, PaymentStatus$1 as PaymentStatus, type index_d$4_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$4_Payments as Payments, type index_d$4_PaymentsSummary as PaymentsSummary, type index_d$4_Phone as Phone, type index_d$4_PhysicalProperties as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$1 as PickupDetails, index_d$4_PickupMethod as PickupMethod, type index_d$4_PickupReadyEmailSent as PickupReadyEmailSent, index_d$4_Placement as Placement, type index_d$4_PlainTextValue as PlainTextValue, type index_d$4_PlatformPaging as PlatformPaging, type index_d$4_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$4_PlatformQuery as PlatformQuery, type index_d$4_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$4_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$4_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$4_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$4_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$4_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$4_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$4_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$4_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$4_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$4_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$4_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$4_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$4_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$4_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$4_PreviewEmailType as PreviewEmailType, type index_d$4_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$4_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$4_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$4_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$4_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$4_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$1 as Price, type index_d$4_PriceDescription as PriceDescription, type index_d$4_PriceSummary as PriceSummary, type index_d$4_ProductName as ProductName, type index_d$4_PublicActivity as PublicActivity, type index_d$4_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$4_QueryOrderRequest as QueryOrderRequest, type index_d$4_QueryOrderResponse as QueryOrderResponse, type index_d$4_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$4_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$4_QuotesAddress as QuotesAddress, type index_d$4_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$4_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$4_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$1 as RefundDetails, type RefundItem$1 as RefundItem, type index_d$4_RefundRequest as RefundRequest, type index_d$4_RefundResponse as RefundResponse, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$4_RefundabilityManuallyRefundableReason as RefundabilityManuallyRefundableReason, index_d$4_RefundabilityNonRefundableReason as RefundabilityNonRefundableReason, RefundableStatus$1 as RefundableStatus, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$4_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, type index_d$4_RestockSideEffects as RestockSideEffects, RestockType$1 as RestockType, type RestoreInfo$3 as RestoreInfo, index_d$4_RuleType as RuleType, type index_d$4_SavedPaymentMethod as SavedPaymentMethod, type index_d$4_SearchOrdersOptions as SearchOrdersOptions, type index_d$4_SearchOrdersRequest as SearchOrdersRequest, type index_d$4_SearchOrdersResponse as SearchOrdersResponse, type index_d$4_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$4_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$4_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$4_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$4_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$4_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$4_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$4_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$4_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$4_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$4_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$4_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$4_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$4_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$4_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$4_SeoData as SeoData, type index_d$4_ServiceProperties as ServiceProperties, type index_d$4_ShippingAddressEdited as ShippingAddressEdited, type index_d$4_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type index_d$4_ShippingInformation as ShippingInformation, type index_d$4_ShippingPrice as ShippingPrice, type index_d$4_ShippingRefund as ShippingRefund, type index_d$4_ShippingRefundOption as ShippingRefundOption, type index_d$4_ShippingRegion as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$4_Source as Source, index_d$4_SourceType as SourceType, type index_d$4_StandardDetails as StandardDetails, index_d$4_State as State, type StreetAddress$1 as StreetAddress, type index_d$4_Subdivision as Subdivision, index_d$4_SubdivisionType as SubdivisionType, SubscriptionFrequency$1 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$4_SystemError as SystemError, type index_d$4_TagList as TagList, type index_d$4_Tags as Tags, type index_d$4_Task as Task, type index_d$4_TaskAction as TaskAction, type index_d$4_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$4_TaskKey as TaskKey, type index_d$4_TaxSummary as TaxSummary, type index_d$4_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type index_d$4_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type index_d$4_TotalPrice as TotalPrice, type index_d$4_TotalPriceChange as TotalPriceChange, type index_d$4_TrackingLinkAdded as TrackingLinkAdded, type index_d$4_TrackingNumberAdded as TrackingNumberAdded, type index_d$4_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$4_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$4_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$4_TriggerReindexRequest as TriggerReindexRequest, type index_d$4_TriggerReindexResponse as TriggerReindexResponse, type index_d$4_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$4_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$4_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$4_UndeleteInfo as UndeleteInfo, type index_d$4_UpdateActivityRequest as UpdateActivityRequest, type index_d$4_UpdateActivityResponse as UpdateActivityResponse, type index_d$4_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$4_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$4_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$4_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$4_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$4_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$4_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$4_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$4_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$4_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$4_UpdateOrder as UpdateOrder, type index_d$4_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$4_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$4_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$4_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$4_UpdateOrderRequest as UpdateOrderRequest, type index_d$4_UpdateOrderResponse as UpdateOrderResponse, type index_d$4_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$4_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$4_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$4_UserDataResponse as UserDataResponse, type index_d$4_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$4_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$4_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$4_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$4_V1LineItemDelta as V1LineItemDelta, type index_d$4_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$4_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$4_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$4_V1PaymentRefund as V1PaymentRefund, type index_d$4_V1RefundDetails as V1RefundDetails, type index_d$4_V1RefundSideEffects as V1RefundSideEffects, type index_d$4_V1RestockItem as V1RestockItem, type index_d$4_ValidationError as ValidationError, type index_d$4_Value as Value, index_d$4_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$4_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$4_VersionedDocumentId as VersionedDocumentId, type index_d$4_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$4_VersioningMode as VersioningMode, type index_d$4_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type index_d$4_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, type index_d$4_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$4_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, WebhookIdentityType$3 as WebhookIdentityType, WeightUnit$1 as WeightUnit, __metadata$4 as __metadata, index_d$4_cancelOrder as cancelOrder, index_d$4_createOrder as createOrder, index_d$4_getOrder as getOrder, index_d$4_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$4_onOrderApproved as onOrderApproved, index_d$4_onOrderCanceled as onOrderCanceled, index_d$4_onOrderCreated as onOrderCreated, index_d$4_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$4_onOrderUpdated as onOrderUpdated, index_d$4_searchOrders as searchOrders, index_d$4_updateOrder as updateOrder };
20546
+ export { type ActionEvent$3 as ActionEvent, type Activity$1 as Activity, type index_d$4_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$4_AddActivitiesRequest as AddActivitiesRequest, type index_d$4_AddActivitiesResponse as AddActivitiesResponse, type index_d$4_AddActivityRequest as AddActivityRequest, type index_d$4_AddActivityResponse as AddActivityResponse, type index_d$4_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$4_AddInternalActivityResponse as AddInternalActivityResponse, type index_d$4_AdditionalFee as AdditionalFee, type index_d$4_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$4_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type index_d$4_AdditionalFeeRefund as AdditionalFeeRefund, type index_d$4_AdditionalFeeRefundOption as AdditionalFeeRefundOption, type Address$2 as Address, type index_d$4_AddressDescription as AddressDescription, type AddressLocation$1 as AddressLocation, type index_d$4_AddressWithContact as AddressWithContact, type index_d$4_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$4_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$4_App as App, type ApplicationError$1 as ApplicationError, type index_d$4_AppliedDiscount as AppliedDiscount, type index_d$4_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$4_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type index_d$4_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$4_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$4_ArchiveOrderResponse as ArchiveOrderResponse, index_d$4_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type index_d$4_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$4_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$4_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$4_Balance as Balance, type index_d$4_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$4_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$4_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$4_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$4_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$4_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$4_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$4_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$4_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$4_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$4_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$4_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$4_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$4_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$4_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$4_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$4_BulkOrderResult as BulkOrderResult, type index_d$4_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$4_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$4_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$4_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$4_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$4_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$4_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$4_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$4_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$4_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$4_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$4_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$4_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type BuyerInfo$1 as BuyerInfo, type index_d$4_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$4_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$4_CalculateRefundV1Request as CalculateRefundV1Request, type index_d$4_CalculateRefundV1Response as CalculateRefundV1Response, type index_d$4_CalculateRefundV2Request as CalculateRefundV2Request, type index_d$4_CalculateRefundV2Response as CalculateRefundV2Response, type index_d$4_CalculateRefundV2ResponseStatusOneOf as CalculateRefundV2ResponseStatusOneOf, type index_d$4_CalculatedAdditionalFeeRefund as CalculatedAdditionalFeeRefund, type index_d$4_CalculatedLineItemRefund as CalculatedLineItemRefund, type index_d$4_CalculatedRefundDetails as CalculatedRefundDetails, type index_d$4_CalculatedRefundNotAvailableStatus as CalculatedRefundNotAvailableStatus, type index_d$4_CalculatedRefundSummary as CalculatedRefundSummary, type index_d$4_CalculatedShippingRefund as CalculatedShippingRefund, type index_d$4_CalculatedTax as CalculatedTax, type index_d$4_CalculatedTaxes as CalculatedTaxes, type index_d$4_CalculationError as CalculationError, type index_d$4_CalculationErrorItemOneOf as CalculationErrorItemOneOf, type index_d$4_Cancel as Cancel, type index_d$4_CancelOrderOptions as CancelOrderOptions, type index_d$4_CancelOrderRequest as CancelOrderRequest, type index_d$4_CancelOrderResponse as CancelOrderResponse, type index_d$4_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$4_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type index_d$4_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, type index_d$4_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$4_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$4_CatalogReference as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$4_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$4_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$4_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$4_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$4_ChargedBy as ChargedBy, type index_d$4_Color as Color, type index_d$4_CommitDeltasRequest as CommitDeltasRequest, type index_d$4_CommitDeltasResponse as CommitDeltasResponse, type index_d$4_CommittedDiffs as CommittedDiffs, type index_d$4_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$4_CommonAddress as CommonAddress, type index_d$4_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$4_Company as Company, type index_d$4_Complete as Complete, type index_d$4_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type index_d$4_Coupon as Coupon, type index_d$4_CreateOrderRequest as CreateOrderRequest, type index_d$4_CreateOrderResponse as CreateOrderResponse, type index_d$4_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$4_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$4_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$4_CreatedBy as CreatedBy, type index_d$4_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$2 as Cursors, type index_d$4_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$4_CustomFieldGroup as CustomFieldGroup, type index_d$4_CustomFieldValue as CustomFieldValue, type index_d$4_Customer as Customer, type index_d$4_DecrementData as DecrementData, type index_d$4_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$4_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$4_DeleteActivityRequest as DeleteActivityRequest, type index_d$4_DeleteActivityResponse as DeleteActivityResponse, type index_d$4_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$4_DeleteByIdsOperation as DeleteByIdsOperation, type index_d$4_DeliveryLogistics as DeliveryLogistics, type index_d$4_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$4_DeliveryTimeSlot as DeliveryTimeSlot, index_d$4_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$4_Deposit as Deposit, index_d$4_DepositType as DepositType, type index_d$4_DescriptionLine as DescriptionLine, type index_d$4_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$4_DescriptionLineName as DescriptionLineName, index_d$4_DescriptionLineType as DescriptionLineType, type index_d$4_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$4_Details as Details, type index_d$4_DetailsKindOneOf as DetailsKindOneOf, type DiffmatokyPayload$1 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$4_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$4_DiscountReason as DiscountReason, type index_d$4_DiscountRule as DiscountRule, type index_d$4_DiscountRuleName as DiscountRuleName, index_d$4_DiscountType as DiscountType, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DownloadLinkSent as DownloadLinkSent, type index_d$4_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$4_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$4_DraftOrderDiffs as DraftOrderDiffs, type index_d$4_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$4_Email as Email, type index_d$4_EmailEdited as EmailEdited, type Empty$1 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$3 as EventMetadata, type ExtendedFields$1 as ExtendedFields, type index_d$4_ExternalUriMapping as ExternalUriMapping, type index_d$4_FieldViolation as FieldViolation, type index_d$4_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$4_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$4_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$4_FullAddressContactDetails as FullAddressContactDetails, type index_d$4_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$4_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$4_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$4_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$4_GetOrderRequest as GetOrderRequest, type index_d$4_GetOrderResponse as GetOrderResponse, type index_d$4_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$4_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$4_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$4_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type index_d$4_GetRefundOptionsRequest as GetRefundOptionsRequest, type index_d$4_GetRefundOptionsResponse as GetRefundOptionsResponse, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$4_GetShipmentsRequest as GetShipmentsRequest, type index_d$4_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$4_HtmlApplication as HtmlApplication, type index_d$4_IdAndVersion as IdAndVersion, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$4_InternalActivity as InternalActivity, type index_d$4_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$4_InternalDocument as InternalDocument, type index_d$4_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$4_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$4_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$4_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$4_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$4_InventoryAction as InventoryAction, type index_d$4_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$4_InvoiceAdded as InvoiceAdded, type index_d$4_InvoiceDates as InvoiceDates, type index_d$4_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$4_InvoiceFields as InvoiceFields, type index_d$4_InvoiceSent as InvoiceSent, type index_d$4_InvoiceSentEvent as InvoiceSentEvent, index_d$4_InvoiceStatus as InvoiceStatus, type index_d$4_InvoicesPayment as InvoicesPayment, type index_d$4_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type index_d$4_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$4_ItemType as ItemType, index_d$4_ItemTypeItemType as ItemTypeItemType, type index_d$4_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, type index_d$4_ItemizedFee as ItemizedFee, index_d$4_JurisdictionType as JurisdictionType, type LineItem$1 as LineItem, type index_d$4_LineItemAmount as LineItemAmount, type index_d$4_LineItemChanges as LineItemChanges, type index_d$4_LineItemDelta as LineItemDelta, type index_d$4_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type index_d$4_LineItemDiscount as LineItemDiscount, type index_d$4_LineItemExchangeData as LineItemExchangeData, type index_d$4_LineItemMetaData as LineItemMetaData, type index_d$4_LineItemPriceChange as LineItemPriceChange, type index_d$4_LineItemQuantityChange as LineItemQuantityChange, index_d$4_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$4_LineItemRefund as LineItemRefund, type index_d$4_LineItemRefundOption as LineItemRefundOption, type index_d$4_LineItemTax as LineItemTax, type index_d$4_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$4_LineItemTaxInfo as LineItemTaxInfo, type index_d$4_LineItemUpdate as LineItemUpdate, type index_d$4_LineItems as LineItems, type index_d$4_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$4_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$4_Locale as Locale, type index_d$4_LocationAndQuantity as LocationAndQuantity, type index_d$4_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$4_ManagedDiscount as ManagedDiscount, type index_d$4_ManagedLineItem as ManagedLineItem, type index_d$4_ManuallyRefundablePaymentStatus as ManuallyRefundablePaymentStatus, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$4_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$4_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$4_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$4_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$4_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$4_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$4_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$4_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$4_MaskedOrder as MaskedOrder, type index_d$4_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$4_MembershipChargeItem as MembershipChargeItem, type MembershipName$1 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$4_MembershipPaymentSummary as MembershipPaymentSummary, type index_d$4_MerchantComment as MerchantComment, type index_d$4_MerchantDiscount as MerchantDiscount, type index_d$4_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$3 as MessageEnvelope, type index_d$4_MetaData as MetaData, type index_d$4_MetaSite as MetaSite, type index_d$4_MetaTag as MetaTag, type index_d$4_MonetaryPaymentSummary as MonetaryPaymentSummary, index_d$4_Namespace as Namespace, type index_d$4_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$4_NonRefundablePaymentStatus as NonRefundablePaymentStatus, NonRefundableReason$1 as NonRefundableReason, type index_d$4_NotificationSideEffects as NotificationSideEffects, type Order$1 as Order, index_d$4_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$4_OrderApproved as OrderApproved, type index_d$4_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$4_OrderCanceled as OrderCanceled, type index_d$4_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$4_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$4_OrderChange as OrderChange, type index_d$4_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$4_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$4_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$4_OrderCreationSettings as OrderCreationSettings, type index_d$4_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$4_OrderFulfilled as OrderFulfilled, type index_d$4_OrderItemsRestocked as OrderItemsRestocked, type index_d$4_OrderLineItem as OrderLineItem, type index_d$4_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$4_OrderNonNullableFields as OrderNonNullableFields, type index_d$4_OrderNotFulfilled as OrderNotFulfilled, type index_d$4_OrderPaid as OrderPaid, type index_d$4_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$4_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$4_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$4_OrderStatus as OrderStatus, type index_d$4_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$4_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$4_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$4_OrdersExperiments as OrdersExperiments, type index_d$4_OrdersV1RestockItem as OrdersV1RestockItem, type Payment$1 as Payment, type index_d$4_PaymentCapture as PaymentCapture, index_d$4_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$4_PaymentInfo as PaymentInfo, type index_d$4_PaymentInfoPaymentMethodDetailsOneOf as PaymentInfoPaymentMethodDetailsOneOf, type index_d$4_PaymentInfoSummaryOneOf as PaymentInfoSummaryOneOf, index_d$4_PaymentOptionType as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$4_PaymentRefundOption as PaymentRefundOption, type index_d$4_PaymentRefundOptionStatusOneOf as PaymentRefundOptionStatusOneOf, PaymentStatus$1 as PaymentStatus, type index_d$4_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$4_Payments as Payments, type index_d$4_PaymentsSummary as PaymentsSummary, type index_d$4_Phone as Phone, type index_d$4_PhysicalProperties as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$1 as PickupDetails, index_d$4_PickupMethod as PickupMethod, type index_d$4_PickupReadyEmailSent as PickupReadyEmailSent, index_d$4_Placement as Placement, type index_d$4_PlainTextValue as PlainTextValue, type index_d$4_PlatformPaging as PlatformPaging, type index_d$4_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$4_PlatformQuery as PlatformQuery, type index_d$4_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$4_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$4_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$4_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$4_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$4_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$4_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$4_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$4_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$4_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$4_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$4_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$4_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$4_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$4_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$4_PreviewEmailType as PreviewEmailType, type index_d$4_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$4_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$4_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$4_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$4_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$4_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$1 as Price, type index_d$4_PriceDescription as PriceDescription, type index_d$4_PriceSummary as PriceSummary, type index_d$4_ProductName as ProductName, type index_d$4_PublicActivity as PublicActivity, type index_d$4_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$4_QueryOrderRequest as QueryOrderRequest, type index_d$4_QueryOrderResponse as QueryOrderResponse, type index_d$4_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$4_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$4_QuotesAddress as QuotesAddress, type index_d$4_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$4_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$4_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$1 as RefundDetails, type RefundItem$1 as RefundItem, type index_d$4_RefundRequest as RefundRequest, type index_d$4_RefundResponse as RefundResponse, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$4_RefundabilityManuallyRefundableReason as RefundabilityManuallyRefundableReason, index_d$4_RefundabilityNonRefundableReason as RefundabilityNonRefundableReason, RefundableStatus$1 as RefundableStatus, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$4_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, type index_d$4_RestockSideEffects as RestockSideEffects, RestockType$1 as RestockType, type RestoreInfo$3 as RestoreInfo, index_d$4_RuleType as RuleType, type index_d$4_SavedPaymentMethod as SavedPaymentMethod, type index_d$4_SearchOrdersOptions as SearchOrdersOptions, type index_d$4_SearchOrdersRequest as SearchOrdersRequest, type index_d$4_SearchOrdersResponse as SearchOrdersResponse, type index_d$4_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$4_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$4_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$4_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$4_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$4_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$4_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$4_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$4_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$4_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$4_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$4_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$4_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$4_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$4_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$4_SeoData as SeoData, type index_d$4_ServiceProperties as ServiceProperties, type index_d$4_ShippingAddressEdited as ShippingAddressEdited, type index_d$4_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type index_d$4_ShippingInformation as ShippingInformation, type index_d$4_ShippingPrice as ShippingPrice, type index_d$4_ShippingRefund as ShippingRefund, type index_d$4_ShippingRefundOption as ShippingRefundOption, type index_d$4_ShippingRegion as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$4_Source as Source, index_d$4_SourceType as SourceType, type index_d$4_StandardDetails as StandardDetails, index_d$4_State as State, type StreetAddress$1 as StreetAddress, type index_d$4_Subdivision as Subdivision, index_d$4_SubdivisionType as SubdivisionType, SubscriptionFrequency$1 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$4_SystemError as SystemError, type index_d$4_TagList as TagList, type index_d$4_Tags as Tags, type index_d$4_Task as Task, type index_d$4_TaskAction as TaskAction, type index_d$4_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$4_TaskKey as TaskKey, type index_d$4_TaxSummary as TaxSummary, type index_d$4_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type index_d$4_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type index_d$4_TotalPrice as TotalPrice, type index_d$4_TotalPriceChange as TotalPriceChange, type index_d$4_TrackingLinkAdded as TrackingLinkAdded, type index_d$4_TrackingNumberAdded as TrackingNumberAdded, type index_d$4_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$4_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$4_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$4_TriggerReindexRequest as TriggerReindexRequest, type index_d$4_TriggerReindexResponse as TriggerReindexResponse, type index_d$4_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$4_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$4_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$4_UndeleteInfo as UndeleteInfo, type index_d$4_UpdateActivityRequest as UpdateActivityRequest, type index_d$4_UpdateActivityResponse as UpdateActivityResponse, type index_d$4_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$4_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$4_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$4_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$4_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$4_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$4_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$4_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$4_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$4_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$4_UpdateOrder as UpdateOrder, type index_d$4_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$4_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$4_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$4_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$4_UpdateOrderRequest as UpdateOrderRequest, type index_d$4_UpdateOrderResponse as UpdateOrderResponse, type index_d$4_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$4_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$4_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$4_UserDataResponse as UserDataResponse, type index_d$4_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$4_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$4_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$4_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$4_V1LineItemDelta as V1LineItemDelta, type index_d$4_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$4_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$4_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$4_V1PaymentRefund as V1PaymentRefund, type index_d$4_V1RefundDetails as V1RefundDetails, type index_d$4_V1RefundSideEffects as V1RefundSideEffects, type index_d$4_V1RestockItem as V1RestockItem, type index_d$4_ValidationError as ValidationError, type index_d$4_Value as Value, index_d$4_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$4_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$4_VersionedDocumentId as VersionedDocumentId, type index_d$4_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$4_VersioningMode as VersioningMode, type index_d$4_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type index_d$4_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, type index_d$4_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$4_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, WebhookIdentityType$3 as WebhookIdentityType, WeightUnit$1 as WeightUnit, index_d$4_cancelOrder as cancelOrder, index_d$4_createOrder as createOrder, index_d$4_getOrder as getOrder, index_d$4_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$4_onOrderApproved as onOrderApproved, index_d$4_onOrderCanceled as onOrderCanceled, index_d$4_onOrderCreated as onOrderCreated, index_d$4_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$4_onOrderUpdated as onOrderUpdated, index_d$4_searchOrders as searchOrders, index_d$4_updateOrder as updateOrder };
20535
20547
  }
20536
20548
 
20537
20549
  interface OrderTransactions {
@@ -20647,6 +20659,17 @@ declare enum AuthorizationVoidStatus {
20647
20659
  /** The void operation was failed */
20648
20660
  FAILED = "FAILED"
20649
20661
  }
20662
+ interface ScheduledAction {
20663
+ /** type of the action */
20664
+ actionType?: ScheduledActionType;
20665
+ /** the date and time of the action */
20666
+ executionDate?: Date;
20667
+ }
20668
+ declare enum ScheduledActionType {
20669
+ NONE = "NONE",
20670
+ VOID = "VOID",
20671
+ CAPTURE = "CAPTURE"
20672
+ }
20650
20673
  interface GiftCardPaymentDetails {
20651
20674
  /** Gift card payment ID. */
20652
20675
  giftCardPaymentId?: string;
@@ -21986,7 +22009,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
21986
22009
  slug?: string;
21987
22010
  /** ID of the entity associated with the event. */
21988
22011
  entityId?: string;
21989
- /** Event timestamp. */
22012
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
21990
22013
  eventTime?: Date;
21991
22014
  /**
21992
22015
  * Whether the event was triggered as a result of a privacy regulation application
@@ -22089,10 +22112,14 @@ interface AuthorizationVoidNonNullableFields {
22089
22112
  status: AuthorizationVoidStatus;
22090
22113
  failureDetails?: AuthorizationActionFailureDetailsNonNullableFields;
22091
22114
  }
22115
+ interface ScheduledActionNonNullableFields {
22116
+ actionType: ScheduledActionType;
22117
+ }
22092
22118
  interface AuthorizationDetailsNonNullableFields {
22093
22119
  delayedCapture: boolean;
22094
22120
  captures: AuthorizationCaptureNonNullableFields[];
22095
22121
  void?: AuthorizationVoidNonNullableFields;
22122
+ scheduledAction?: ScheduledActionNonNullableFields;
22096
22123
  }
22097
22124
  interface RegularPaymentDetailsNonNullableFields {
22098
22125
  offlinePayment: boolean;
@@ -22218,7 +22245,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
22218
22245
  slug?: string;
22219
22246
  /** ID of the entity associated with the event. */
22220
22247
  entityId?: string;
22221
- /** Event timestamp. */
22248
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
22222
22249
  eventTime?: Date;
22223
22250
  /**
22224
22251
  * Whether the event was triggered as a result of a privacy regulation application
@@ -22258,15 +22285,16 @@ interface BulkUpdatePaymentStatusesOptions {
22258
22285
  status?: TransactionStatus;
22259
22286
  }
22260
22287
 
22261
- declare const __metadata$3: {
22262
- PACKAGE_NAME: string;
22263
- };
22264
- declare function listTransactionsForSingleOrder(httpClient: HttpClient): (orderId: string) => Promise<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
22265
- declare function listTransactionsForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
22266
- declare function addPayments(httpClient: HttpClient): (orderId: string, payments: Payment[]) => Promise<AddPaymentsResponse & AddPaymentsResponseNonNullableFields>;
22267
- declare function updatePaymentStatus(httpClient: HttpClient): (identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions) => Promise<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
22268
- declare function bulkUpdatePaymentStatuses(httpClient: HttpClient): (paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions) => Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
22269
- declare const onOrderTransactionsUpdated: EventDefinition<OrderTransactionsUpdatedEnvelope, "wix.ecom.v1.order_transactions_updated">;
22288
+ declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
22289
+
22290
+ declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
22291
+
22292
+ declare const listTransactionsForSingleOrder: ReturnType<typeof createRESTModule$3<typeof publicListTransactionsForSingleOrder>>;
22293
+ declare const listTransactionsForMultipleOrders: ReturnType<typeof createRESTModule$3<typeof publicListTransactionsForMultipleOrders>>;
22294
+ declare const addPayments: ReturnType<typeof createRESTModule$3<typeof publicAddPayments>>;
22295
+ declare const updatePaymentStatus: ReturnType<typeof createRESTModule$3<typeof publicUpdatePaymentStatus>>;
22296
+ declare const bulkUpdatePaymentStatuses: ReturnType<typeof createRESTModule$3<typeof publicBulkUpdatePaymentStatuses>>;
22297
+ declare const onOrderTransactionsUpdated: ReturnType<typeof createEventModule$2<typeof publicOnOrderTransactionsUpdated>>;
22270
22298
 
22271
22299
  type index_d$3_Activity = Activity;
22272
22300
  type index_d$3_ActivityType = ActivityType;
@@ -22400,6 +22428,9 @@ type index_d$3_RestockInfo = RestockInfo;
22400
22428
  type index_d$3_RestockItem = RestockItem;
22401
22429
  type index_d$3_RestockType = RestockType;
22402
22430
  declare const index_d$3_RestockType: typeof RestockType;
22431
+ type index_d$3_ScheduledAction = ScheduledAction;
22432
+ type index_d$3_ScheduledActionType = ScheduledActionType;
22433
+ declare const index_d$3_ScheduledActionType: typeof ScheduledActionType;
22403
22434
  type index_d$3_SearchOrderTransactionsRequest = SearchOrderTransactionsRequest;
22404
22435
  type index_d$3_SearchOrderTransactionsResponse = SearchOrderTransactionsResponse;
22405
22436
  type index_d$3_ShipmentDetails = ShipmentDetails;
@@ -22440,7 +22471,7 @@ declare const index_d$3_listTransactionsForSingleOrder: typeof listTransactionsF
22440
22471
  declare const index_d$3_onOrderTransactionsUpdated: typeof onOrderTransactionsUpdated;
22441
22472
  declare const index_d$3_updatePaymentStatus: typeof updatePaymentStatus;
22442
22473
  declare namespace index_d$3 {
22443
- export { type ActionEvent$2 as ActionEvent, type index_d$3_Activity as Activity, index_d$3_ActivityType as ActivityType, type index_d$3_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$3_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$3_AddPaymentsRequest as AddPaymentsRequest, type index_d$3_AddPaymentsResponse as AddPaymentsResponse, type index_d$3_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$3_AddRefundRequest as AddRefundRequest, type index_d$3_AddRefundResponse as AddRefundResponse, type Address$1 as Address, type index_d$3_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$3_AggregatedRefundSummary as AggregatedRefundSummary, type index_d$3_ApplicationError as ApplicationError, type index_d$3_AppliedCoupon as AppliedCoupon, type index_d$3_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$3_AuthorizationCapture as AuthorizationCapture, index_d$3_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$3_AuthorizationDetails as AuthorizationDetails, type index_d$3_AuthorizationVoid as AuthorizationVoid, index_d$3_AuthorizationVoidStatus as AuthorizationVoidStatus, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_BillingInfo as BillingInfo, type index_d$3_BulkActionMetadata as BulkActionMetadata, type index_d$3_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$3_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$3_BulkInvoiceResult as BulkInvoiceResult, type index_d$3_BulkPaymentResult as BulkPaymentResult, type index_d$3_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$3_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$3_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$3_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$3_BuyerDetails as BuyerDetails, type index_d$3_BuyerInfo as BuyerInfo, type index_d$3_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$3_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$3_CalculateRefundRequest as CalculateRefundRequest, type index_d$3_CalculateRefundResponse as CalculateRefundResponse, type index_d$3_ChannelInfo as ChannelInfo, index_d$3_ChannelType as ChannelType, type index_d$3_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$3_CursorSearch as CursorSearch, type index_d$3_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$3_CustomField as CustomField, type index_d$3_CustomTextFieldSelection as CustomTextFieldSelection, type index_d$3_DiffmatokyPayload as DiffmatokyPayload, type index_d$3_DigitalFile as DigitalFile, type index_d$3_Discount as Discount, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$3_EnteredBy as EnteredBy, index_d$3_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$3_ErrorInformation as ErrorInformation, type EventMetadata$2 as EventMetadata, type index_d$3_Fulfillment as Fulfillment, type index_d$3_FulfillmentLineItem as FulfillmentLineItem, index_d$3_FulfillmentStatus as FulfillmentStatus, type index_d$3_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$3_FullName as FullName, type index_d$3_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$3_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$3_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$3_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type index_d$3_GiftCard as GiftCard, type index_d$3_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, index_d$3_IdentityType as IdentityType, type index_d$3_IndexingMessage as IndexingMessage, type index_d$3_InvoiceForOrder as InvoiceForOrder, type index_d$3_InvoiceInfo as InvoiceInfo, index_d$3_InvoiceSource as InvoiceSource, type index_d$3_InvoicesForOrder as InvoicesForOrder, type index_d$3_ItemMetadata as ItemMetadata, type index_d$3_LineItem as LineItem, type index_d$3_LineItemPriceData as LineItemPriceData, index_d$3_LineItemType as LineItemType, type index_d$3_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$3_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$3_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$3_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$3_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$3_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$3_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$3_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$3_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$3_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$3_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$3_MediaItem as MediaItem, index_d$3_MediaItemType as MediaItemType, type index_d$3_MembershipName as MembershipName, type index_d$3_MembershipPaymentDetails as MembershipPaymentDetails, index_d$3_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$2 as MessageEnvelope, index_d$3_NonRefundableReason as NonRefundableReason, type index_d$3_OptionSelection as OptionSelection, type index_d$3_Order as Order, type index_d$3_OrderRefunded as OrderRefunded, type index_d$3_OrderTransactions as OrderTransactions, type index_d$3_OrderTransactionsUpdatedEnvelope as OrderTransactionsUpdatedEnvelope, type index_d$3_Payment as Payment, type index_d$3_PaymentAndOrderId as PaymentAndOrderId, type index_d$3_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$3_PaymentRefund as PaymentRefund, index_d$3_PaymentStatus as PaymentStatus, type index_d$3_PaymentsUpdated as PaymentsUpdated, type index_d$3_PickupAddress as PickupAddress, type index_d$3_PickupDetails as PickupDetails, type index_d$3_Price as Price, type index_d$3_Refund as Refund, type index_d$3_RefundCreated as RefundCreated, type index_d$3_RefundDetails as RefundDetails, type index_d$3_RefundItem as RefundItem, type index_d$3_RefundSideEffects as RefundSideEffects, index_d$3_RefundStatus as RefundStatus, type index_d$3_RefundTransaction as RefundTransaction, type index_d$3_Refundability as Refundability, type index_d$3_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$3_RefundableStatus as RefundableStatus, type index_d$3_RegularPaymentDetails as RegularPaymentDetails, type index_d$3_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$3_RestockInfo as RestockInfo, type index_d$3_RestockItem as RestockItem, index_d$3_RestockType as RestockType, type RestoreInfo$2 as RestoreInfo, type index_d$3_SearchOrderTransactionsRequest as SearchOrderTransactionsRequest, type index_d$3_SearchOrderTransactionsResponse as SearchOrderTransactionsResponse, type index_d$3_ShipmentDetails as ShipmentDetails, type index_d$3_ShippingInfo as ShippingInfo, type index_d$3_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$3_ShippingPriceData as ShippingPriceData, type index_d$3_SnapshotMessage as SnapshotMessage, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$3_Street as Street, index_d$3_SubscriptionFrequency as SubscriptionFrequency, type index_d$3_SubscriptionInfo as SubscriptionInfo, type index_d$3_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d$3_SubscriptionSettings as SubscriptionSettings, type index_d$3_Totals as Totals, type index_d$3_TrackingInfo as TrackingInfo, index_d$3_TransactionStatus as TransactionStatus, type index_d$3_TriggerRefundRequest as TriggerRefundRequest, type index_d$3_TriggerRefundResponse as TriggerRefundResponse, type index_d$3_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$3_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$3_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$3_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$3_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$3_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$3_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$3_V2InvoiceInfo as V2InvoiceInfo, type index_d$3_V2Refund as V2Refund, type index_d$3_VatId as VatId, index_d$3_VatType as VatType, WebhookIdentityType$2 as WebhookIdentityType, index_d$3_WeightUnit as WeightUnit, __metadata$3 as __metadata, index_d$3_addPayments as addPayments, index_d$3_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$3_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$3_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$3_onOrderTransactionsUpdated as onOrderTransactionsUpdated, index_d$3_updatePaymentStatus as updatePaymentStatus };
22474
+ export { type ActionEvent$2 as ActionEvent, type index_d$3_Activity as Activity, index_d$3_ActivityType as ActivityType, type index_d$3_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$3_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$3_AddPaymentsRequest as AddPaymentsRequest, type index_d$3_AddPaymentsResponse as AddPaymentsResponse, type index_d$3_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$3_AddRefundRequest as AddRefundRequest, type index_d$3_AddRefundResponse as AddRefundResponse, type Address$1 as Address, type index_d$3_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$3_AggregatedRefundSummary as AggregatedRefundSummary, type index_d$3_ApplicationError as ApplicationError, type index_d$3_AppliedCoupon as AppliedCoupon, type index_d$3_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$3_AuthorizationCapture as AuthorizationCapture, index_d$3_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$3_AuthorizationDetails as AuthorizationDetails, type index_d$3_AuthorizationVoid as AuthorizationVoid, index_d$3_AuthorizationVoidStatus as AuthorizationVoidStatus, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_BillingInfo as BillingInfo, type index_d$3_BulkActionMetadata as BulkActionMetadata, type index_d$3_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$3_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$3_BulkInvoiceResult as BulkInvoiceResult, type index_d$3_BulkPaymentResult as BulkPaymentResult, type index_d$3_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$3_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$3_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$3_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$3_BuyerDetails as BuyerDetails, type index_d$3_BuyerInfo as BuyerInfo, type index_d$3_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$3_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$3_CalculateRefundRequest as CalculateRefundRequest, type index_d$3_CalculateRefundResponse as CalculateRefundResponse, type index_d$3_ChannelInfo as ChannelInfo, index_d$3_ChannelType as ChannelType, type index_d$3_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$3_CursorSearch as CursorSearch, type index_d$3_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$3_CustomField as CustomField, type index_d$3_CustomTextFieldSelection as CustomTextFieldSelection, type index_d$3_DiffmatokyPayload as DiffmatokyPayload, type index_d$3_DigitalFile as DigitalFile, type index_d$3_Discount as Discount, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$3_EnteredBy as EnteredBy, index_d$3_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$3_ErrorInformation as ErrorInformation, type EventMetadata$2 as EventMetadata, type index_d$3_Fulfillment as Fulfillment, type index_d$3_FulfillmentLineItem as FulfillmentLineItem, index_d$3_FulfillmentStatus as FulfillmentStatus, type index_d$3_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$3_FullName as FullName, type index_d$3_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$3_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$3_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$3_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type index_d$3_GiftCard as GiftCard, type index_d$3_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, index_d$3_IdentityType as IdentityType, type index_d$3_IndexingMessage as IndexingMessage, type index_d$3_InvoiceForOrder as InvoiceForOrder, type index_d$3_InvoiceInfo as InvoiceInfo, index_d$3_InvoiceSource as InvoiceSource, type index_d$3_InvoicesForOrder as InvoicesForOrder, type index_d$3_ItemMetadata as ItemMetadata, type index_d$3_LineItem as LineItem, type index_d$3_LineItemPriceData as LineItemPriceData, index_d$3_LineItemType as LineItemType, type index_d$3_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$3_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$3_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$3_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$3_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$3_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$3_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$3_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$3_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$3_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$3_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$3_MediaItem as MediaItem, index_d$3_MediaItemType as MediaItemType, type index_d$3_MembershipName as MembershipName, type index_d$3_MembershipPaymentDetails as MembershipPaymentDetails, index_d$3_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$2 as MessageEnvelope, index_d$3_NonRefundableReason as NonRefundableReason, type index_d$3_OptionSelection as OptionSelection, type index_d$3_Order as Order, type index_d$3_OrderRefunded as OrderRefunded, type index_d$3_OrderTransactions as OrderTransactions, type index_d$3_OrderTransactionsUpdatedEnvelope as OrderTransactionsUpdatedEnvelope, type index_d$3_Payment as Payment, type index_d$3_PaymentAndOrderId as PaymentAndOrderId, type index_d$3_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$3_PaymentRefund as PaymentRefund, index_d$3_PaymentStatus as PaymentStatus, type index_d$3_PaymentsUpdated as PaymentsUpdated, type index_d$3_PickupAddress as PickupAddress, type index_d$3_PickupDetails as PickupDetails, type index_d$3_Price as Price, type index_d$3_Refund as Refund, type index_d$3_RefundCreated as RefundCreated, type index_d$3_RefundDetails as RefundDetails, type index_d$3_RefundItem as RefundItem, type index_d$3_RefundSideEffects as RefundSideEffects, index_d$3_RefundStatus as RefundStatus, type index_d$3_RefundTransaction as RefundTransaction, type index_d$3_Refundability as Refundability, type index_d$3_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$3_RefundableStatus as RefundableStatus, type index_d$3_RegularPaymentDetails as RegularPaymentDetails, type index_d$3_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$3_RestockInfo as RestockInfo, type index_d$3_RestockItem as RestockItem, index_d$3_RestockType as RestockType, type RestoreInfo$2 as RestoreInfo, type index_d$3_ScheduledAction as ScheduledAction, index_d$3_ScheduledActionType as ScheduledActionType, type index_d$3_SearchOrderTransactionsRequest as SearchOrderTransactionsRequest, type index_d$3_SearchOrderTransactionsResponse as SearchOrderTransactionsResponse, type index_d$3_ShipmentDetails as ShipmentDetails, type index_d$3_ShippingInfo as ShippingInfo, type index_d$3_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$3_ShippingPriceData as ShippingPriceData, type index_d$3_SnapshotMessage as SnapshotMessage, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$3_Street as Street, index_d$3_SubscriptionFrequency as SubscriptionFrequency, type index_d$3_SubscriptionInfo as SubscriptionInfo, type index_d$3_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d$3_SubscriptionSettings as SubscriptionSettings, type index_d$3_Totals as Totals, type index_d$3_TrackingInfo as TrackingInfo, index_d$3_TransactionStatus as TransactionStatus, type index_d$3_TriggerRefundRequest as TriggerRefundRequest, type index_d$3_TriggerRefundResponse as TriggerRefundResponse, type index_d$3_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$3_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$3_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$3_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$3_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$3_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$3_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$3_V2InvoiceInfo as V2InvoiceInfo, type index_d$3_V2Refund as V2Refund, type index_d$3_VatId as VatId, index_d$3_VatType as VatType, WebhookIdentityType$2 as WebhookIdentityType, index_d$3_WeightUnit as WeightUnit, index_d$3_addPayments as addPayments, index_d$3_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$3_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$3_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$3_onOrderTransactionsUpdated as onOrderTransactionsUpdated, index_d$3_updatePaymentStatus as updatePaymentStatus };
22444
22475
  }
22445
22476
 
22446
22477
  interface OrdersSettings {
@@ -22668,12 +22699,13 @@ interface OrdersSettingsUpdatedEnvelope {
22668
22699
  metadata: EventMetadata$1;
22669
22700
  }
22670
22701
 
22671
- declare const __metadata$2: {
22672
- PACKAGE_NAME: string;
22673
- };
22674
- declare function getOrdersSettings(httpClient: HttpClient): () => Promise<GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields>;
22675
- declare function updateOrdersSettings(httpClient: HttpClient): (ordersSettings: OrdersSettings) => Promise<UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields>;
22676
- declare const onOrdersSettingsUpdated: EventDefinition<OrdersSettingsUpdatedEnvelope, "wix.ecom.v1.orders_settings_updated">;
22702
+ declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
22703
+
22704
+ declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
22705
+
22706
+ declare const getOrdersSettings: ReturnType<typeof createRESTModule$2<typeof publicGetOrdersSettings>>;
22707
+ declare const updateOrdersSettings: ReturnType<typeof createRESTModule$2<typeof publicUpdateOrdersSettings>>;
22708
+ declare const onOrdersSettingsUpdated: ReturnType<typeof createEventModule$1<typeof publicOnOrdersSettingsUpdated>>;
22677
22709
 
22678
22710
  type index_d$2_DeleteOrdersSettingsRequest = DeleteOrdersSettingsRequest;
22679
22711
  type index_d$2_DeleteOrdersSettingsResponse = DeleteOrdersSettingsResponse;
@@ -22693,7 +22725,7 @@ declare const index_d$2_getOrdersSettings: typeof getOrdersSettings;
22693
22725
  declare const index_d$2_onOrdersSettingsUpdated: typeof onOrdersSettingsUpdated;
22694
22726
  declare const index_d$2_updateOrdersSettings: typeof updateOrdersSettings;
22695
22727
  declare namespace index_d$2 {
22696
- export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_DeleteOrdersSettingsRequest as DeleteOrdersSettingsRequest, type index_d$2_DeleteOrdersSettingsResponse as DeleteOrdersSettingsResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetOrdersSettingsRequest as GetOrdersSettingsRequest, type index_d$2_GetOrdersSettingsResponse as GetOrdersSettingsResponse, type index_d$2_GetOrdersSettingsResponseNonNullableFields as GetOrdersSettingsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$2_InventoryUpdateTrigger as InventoryUpdateTrigger, type index_d$2_ListOrdersSettingsRequest as ListOrdersSettingsRequest, type index_d$2_ListOrdersSettingsResponse as ListOrdersSettingsResponse, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_OrdersSettings as OrdersSettings, type index_d$2_OrdersSettingsUpdatedEnvelope as OrdersSettingsUpdatedEnvelope, type RestoreInfo$1 as RestoreInfo, type index_d$2_UpdateOrdersSettingsRequest as UpdateOrdersSettingsRequest, type index_d$2_UpdateOrdersSettingsResponse as UpdateOrdersSettingsResponse, type index_d$2_UpdateOrdersSettingsResponseNonNullableFields as UpdateOrdersSettingsResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_getOrdersSettings as getOrdersSettings, index_d$2_onOrdersSettingsUpdated as onOrdersSettingsUpdated, index_d$2_updateOrdersSettings as updateOrdersSettings };
22728
+ export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_DeleteOrdersSettingsRequest as DeleteOrdersSettingsRequest, type index_d$2_DeleteOrdersSettingsResponse as DeleteOrdersSettingsResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetOrdersSettingsRequest as GetOrdersSettingsRequest, type index_d$2_GetOrdersSettingsResponse as GetOrdersSettingsResponse, type index_d$2_GetOrdersSettingsResponseNonNullableFields as GetOrdersSettingsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$2_InventoryUpdateTrigger as InventoryUpdateTrigger, type index_d$2_ListOrdersSettingsRequest as ListOrdersSettingsRequest, type index_d$2_ListOrdersSettingsResponse as ListOrdersSettingsResponse, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_OrdersSettings as OrdersSettings, type index_d$2_OrdersSettingsUpdatedEnvelope as OrdersSettingsUpdatedEnvelope, type RestoreInfo$1 as RestoreInfo, type index_d$2_UpdateOrdersSettingsRequest as UpdateOrdersSettingsRequest, type index_d$2_UpdateOrdersSettingsResponse as UpdateOrdersSettingsResponse, type index_d$2_UpdateOrdersSettingsResponseNonNullableFields as UpdateOrdersSettingsResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, index_d$2_getOrdersSettings as getOrdersSettings, index_d$2_onOrdersSettingsUpdated as onOrdersSettingsUpdated, index_d$2_updateOrdersSettings as updateOrdersSettings };
22697
22729
  }
22698
22730
 
22699
22731
  interface ShippoConfiguration {
@@ -23301,18 +23333,19 @@ interface UpdateExtendedFieldsOptions {
23301
23333
  namespaceData: Record<string, any> | null;
23302
23334
  }
23303
23335
 
23304
- declare const __metadata$1: {
23305
- PACKAGE_NAME: string;
23306
- };
23307
- declare function createShippoConfiguration(httpClient: HttpClient): (shippoConfiguration: ShippoConfiguration, options?: CreateShippoConfigurationOptions) => Promise<ShippoConfiguration & ShippoConfigurationNonNullableFields>;
23308
- declare function getShippoConfiguration(httpClient: HttpClient): (shippoConfigurationId: string) => Promise<ShippoConfiguration & ShippoConfigurationNonNullableFields>;
23309
- declare function updateShippoConfiguration(httpClient: HttpClient): (_id: string | null, shippoConfiguration: UpdateShippoConfiguration) => Promise<ShippoConfiguration & ShippoConfigurationNonNullableFields>;
23310
- declare function deleteShippoConfiguration(httpClient: HttpClient): (shippoConfigurationId: string) => Promise<void>;
23311
- declare function queryShippoConfigurations(httpClient: HttpClient): () => ShippoConfigurationsQueryBuilder;
23312
- declare function updateExtendedFields(httpClient: HttpClient): (_id: string, namespace: string, options: UpdateExtendedFieldsOptions) => Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
23313
- declare const onShippoConfigurationCreated: EventDefinition<ShippoConfigurationCreatedEnvelope, "wix.ecom.v1.shippo_configuration_created">;
23314
- declare const onShippoConfigurationUpdated: EventDefinition<ShippoConfigurationUpdatedEnvelope, "wix.ecom.v1.shippo_configuration_updated">;
23315
- declare const onShippoConfigurationDeleted: EventDefinition<ShippoConfigurationDeletedEnvelope, "wix.ecom.v1.shippo_configuration_deleted">;
23336
+ declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
23337
+
23338
+ declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
23339
+
23340
+ declare const createShippoConfiguration: ReturnType<typeof createRESTModule$1<typeof publicCreateShippoConfiguration>>;
23341
+ declare const getShippoConfiguration: ReturnType<typeof createRESTModule$1<typeof publicGetShippoConfiguration>>;
23342
+ declare const updateShippoConfiguration: ReturnType<typeof createRESTModule$1<typeof publicUpdateShippoConfiguration>>;
23343
+ declare const deleteShippoConfiguration: ReturnType<typeof createRESTModule$1<typeof publicDeleteShippoConfiguration>>;
23344
+ declare const queryShippoConfigurations: ReturnType<typeof createRESTModule$1<typeof publicQueryShippoConfigurations>>;
23345
+ declare const updateExtendedFields: ReturnType<typeof createRESTModule$1<typeof publicUpdateExtendedFields>>;
23346
+ declare const onShippoConfigurationCreated: ReturnType<typeof createEventModule<typeof publicOnShippoConfigurationCreated>>;
23347
+ declare const onShippoConfigurationUpdated: ReturnType<typeof createEventModule<typeof publicOnShippoConfigurationUpdated>>;
23348
+ declare const onShippoConfigurationDeleted: ReturnType<typeof createEventModule<typeof publicOnShippoConfigurationDeleted>>;
23316
23349
 
23317
23350
  type index_d$1_ActionEvent = ActionEvent;
23318
23351
  type index_d$1_Address = Address;
@@ -23392,7 +23425,7 @@ declare const index_d$1_queryShippoConfigurations: typeof queryShippoConfigurati
23392
23425
  declare const index_d$1_updateExtendedFields: typeof updateExtendedFields;
23393
23426
  declare const index_d$1_updateShippoConfiguration: typeof updateShippoConfiguration;
23394
23427
  declare namespace index_d$1 {
23395
- export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressLocation as AddressLocation, type index_d$1_BaseEventMetadata as BaseEventMetadata, index_d$1_CalculationType as CalculationType, type index_d$1_CreateShippoConfigurationOptions as CreateShippoConfigurationOptions, type index_d$1_CreateShippoConfigurationRequest as CreateShippoConfigurationRequest, type index_d$1_CreateShippoConfigurationResponse as CreateShippoConfigurationResponse, type index_d$1_CreateShippoConfigurationResponseNonNullableFields as CreateShippoConfigurationResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_CursorQuery as CursorQuery, type index_d$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$1_Cursors as Cursors, type index_d$1_DeleteShippoConfigurationRequest as DeleteShippoConfigurationRequest, type index_d$1_DeleteShippoConfigurationResponse as DeleteShippoConfigurationResponse, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, index_d$1_DomesticService as DomesticService, type index_d$1_DomesticServiceSettings as DomesticServiceSettings, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type index_d$1_GetShippoConfigurationRequest as GetShippoConfigurationRequest, type index_d$1_GetShippoConfigurationResponse as GetShippoConfigurationResponse, type index_d$1_GetShippoConfigurationResponseNonNullableFields as GetShippoConfigurationResponseNonNullableFields, type index_d$1_HandlingFee as HandlingFee, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d$1_InternationalService as InternationalService, type index_d$1_InternationalServiceSettings as InternationalServiceSettings, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_PackageDetails as PackageDetails, type index_d$1_PackageDimensions as PackageDimensions, index_d$1_PackageType as PackageType, type index_d$1_QueryShippoConfigurationsRequest as QueryShippoConfigurationsRequest, type index_d$1_QueryShippoConfigurationsResponse as QueryShippoConfigurationsResponse, type index_d$1_QueryShippoConfigurationsResponseNonNullableFields as QueryShippoConfigurationsResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_ServiceSettings as ServiceSettings, type index_d$1_ShippoConfiguration as ShippoConfiguration, type index_d$1_ShippoConfigurationCreatedEnvelope as ShippoConfigurationCreatedEnvelope, type index_d$1_ShippoConfigurationDeletedEnvelope as ShippoConfigurationDeletedEnvelope, type index_d$1_ShippoConfigurationNonNullableFields as ShippoConfigurationNonNullableFields, type index_d$1_ShippoConfigurationUpdatedEnvelope as ShippoConfigurationUpdatedEnvelope, type index_d$1_ShippoConfigurationsQueryBuilder as ShippoConfigurationsQueryBuilder, type index_d$1_ShippoConfigurationsQueryResult as ShippoConfigurationsQueryResult, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_StreetAddress as StreetAddress, type index_d$1_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type index_d$1_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type index_d$1_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type index_d$1_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, type index_d$1_UpdateShippoConfiguration as UpdateShippoConfiguration, type index_d$1_UpdateShippoConfigurationRequest as UpdateShippoConfigurationRequest, type index_d$1_UpdateShippoConfigurationResponse as UpdateShippoConfigurationResponse, type index_d$1_UpdateShippoConfigurationResponseNonNullableFields as UpdateShippoConfigurationResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_createShippoConfiguration as createShippoConfiguration, index_d$1_deleteShippoConfiguration as deleteShippoConfiguration, index_d$1_getShippoConfiguration as getShippoConfiguration, index_d$1_onShippoConfigurationCreated as onShippoConfigurationCreated, index_d$1_onShippoConfigurationDeleted as onShippoConfigurationDeleted, index_d$1_onShippoConfigurationUpdated as onShippoConfigurationUpdated, index_d$1_queryShippoConfigurations as queryShippoConfigurations, index_d$1_updateExtendedFields as updateExtendedFields, index_d$1_updateShippoConfiguration as updateShippoConfiguration };
23428
+ export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressLocation as AddressLocation, type index_d$1_BaseEventMetadata as BaseEventMetadata, index_d$1_CalculationType as CalculationType, type index_d$1_CreateShippoConfigurationOptions as CreateShippoConfigurationOptions, type index_d$1_CreateShippoConfigurationRequest as CreateShippoConfigurationRequest, type index_d$1_CreateShippoConfigurationResponse as CreateShippoConfigurationResponse, type index_d$1_CreateShippoConfigurationResponseNonNullableFields as CreateShippoConfigurationResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_CursorQuery as CursorQuery, type index_d$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$1_Cursors as Cursors, type index_d$1_DeleteShippoConfigurationRequest as DeleteShippoConfigurationRequest, type index_d$1_DeleteShippoConfigurationResponse as DeleteShippoConfigurationResponse, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, index_d$1_DomesticService as DomesticService, type index_d$1_DomesticServiceSettings as DomesticServiceSettings, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type index_d$1_GetShippoConfigurationRequest as GetShippoConfigurationRequest, type index_d$1_GetShippoConfigurationResponse as GetShippoConfigurationResponse, type index_d$1_GetShippoConfigurationResponseNonNullableFields as GetShippoConfigurationResponseNonNullableFields, type index_d$1_HandlingFee as HandlingFee, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d$1_InternationalService as InternationalService, type index_d$1_InternationalServiceSettings as InternationalServiceSettings, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_PackageDetails as PackageDetails, type index_d$1_PackageDimensions as PackageDimensions, index_d$1_PackageType as PackageType, type index_d$1_QueryShippoConfigurationsRequest as QueryShippoConfigurationsRequest, type index_d$1_QueryShippoConfigurationsResponse as QueryShippoConfigurationsResponse, type index_d$1_QueryShippoConfigurationsResponseNonNullableFields as QueryShippoConfigurationsResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_ServiceSettings as ServiceSettings, type index_d$1_ShippoConfiguration as ShippoConfiguration, type index_d$1_ShippoConfigurationCreatedEnvelope as ShippoConfigurationCreatedEnvelope, type index_d$1_ShippoConfigurationDeletedEnvelope as ShippoConfigurationDeletedEnvelope, type index_d$1_ShippoConfigurationNonNullableFields as ShippoConfigurationNonNullableFields, type index_d$1_ShippoConfigurationUpdatedEnvelope as ShippoConfigurationUpdatedEnvelope, type index_d$1_ShippoConfigurationsQueryBuilder as ShippoConfigurationsQueryBuilder, type index_d$1_ShippoConfigurationsQueryResult as ShippoConfigurationsQueryResult, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_StreetAddress as StreetAddress, type index_d$1_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type index_d$1_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type index_d$1_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type index_d$1_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, type index_d$1_UpdateShippoConfiguration as UpdateShippoConfiguration, type index_d$1_UpdateShippoConfigurationRequest as UpdateShippoConfigurationRequest, type index_d$1_UpdateShippoConfigurationResponse as UpdateShippoConfigurationResponse, type index_d$1_UpdateShippoConfigurationResponseNonNullableFields as UpdateShippoConfigurationResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, index_d$1_createShippoConfiguration as createShippoConfiguration, index_d$1_deleteShippoConfiguration as deleteShippoConfiguration, index_d$1_getShippoConfiguration as getShippoConfiguration, index_d$1_onShippoConfigurationCreated as onShippoConfigurationCreated, index_d$1_onShippoConfigurationDeleted as onShippoConfigurationDeleted, index_d$1_onShippoConfigurationUpdated as onShippoConfigurationUpdated, index_d$1_queryShippoConfigurations as queryShippoConfigurations, index_d$1_updateExtendedFields as updateExtendedFields, index_d$1_updateShippoConfiguration as updateShippoConfiguration };
23396
23429
  }
23397
23430
 
23398
23431
  interface CurrencyRate {
@@ -23471,12 +23504,11 @@ interface GetConversionRateIdentifiers {
23471
23504
  to: string;
23472
23505
  }
23473
23506
 
23474
- declare const __metadata: {
23475
- PACKAGE_NAME: string;
23476
- };
23477
- declare function listCurrencies(httpClient: HttpClient): () => Promise<ListCurrenciesResponse & ListCurrenciesResponseNonNullableFields>;
23478
- declare function convertCurrency(httpClient: HttpClient): (identifiers: ConvertCurrencyIdentifiers, amounts: DecimalValue[]) => Promise<ConvertCurrencyResponse & ConvertCurrencyResponseNonNullableFields>;
23479
- declare function getConversionRate(httpClient: HttpClient): (identifiers: GetConversionRateIdentifiers) => Promise<ConversionRateResponse & ConversionRateResponseNonNullableFields>;
23507
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
23508
+
23509
+ declare const listCurrencies: ReturnType<typeof createRESTModule<typeof publicListCurrencies>>;
23510
+ declare const convertCurrency: ReturnType<typeof createRESTModule<typeof publicConvertCurrency>>;
23511
+ declare const getConversionRate: ReturnType<typeof createRESTModule<typeof publicGetConversionRate>>;
23480
23512
 
23481
23513
  type index_d_ConversionRateRequest = ConversionRateRequest;
23482
23514
  type index_d_ConversionRateResponse = ConversionRateResponse;
@@ -23492,12 +23524,11 @@ type index_d_GetConversionRateIdentifiers = GetConversionRateIdentifiers;
23492
23524
  type index_d_ListCurrenciesRequest = ListCurrenciesRequest;
23493
23525
  type index_d_ListCurrenciesResponse = ListCurrenciesResponse;
23494
23526
  type index_d_ListCurrenciesResponseNonNullableFields = ListCurrenciesResponseNonNullableFields;
23495
- declare const index_d___metadata: typeof __metadata;
23496
23527
  declare const index_d_convertCurrency: typeof convertCurrency;
23497
23528
  declare const index_d_getConversionRate: typeof getConversionRate;
23498
23529
  declare const index_d_listCurrencies: typeof listCurrencies;
23499
23530
  declare namespace index_d {
23500
- export { type index_d_ConversionRateRequest as ConversionRateRequest, type index_d_ConversionRateResponse as ConversionRateResponse, type index_d_ConversionRateResponseNonNullableFields as ConversionRateResponseNonNullableFields, type index_d_ConvertCurrencyIdentifiers as ConvertCurrencyIdentifiers, type index_d_ConvertCurrencyRequest as ConvertCurrencyRequest, type index_d_ConvertCurrencyResponse as ConvertCurrencyResponse, type index_d_ConvertCurrencyResponseNonNullableFields as ConvertCurrencyResponseNonNullableFields, type index_d_Currency as Currency, type index_d_CurrencyRate as CurrencyRate, type index_d_DecimalValue as DecimalValue, type index_d_GetConversionRateIdentifiers as GetConversionRateIdentifiers, type index_d_ListCurrenciesRequest as ListCurrenciesRequest, type index_d_ListCurrenciesResponse as ListCurrenciesResponse, type index_d_ListCurrenciesResponseNonNullableFields as ListCurrenciesResponseNonNullableFields, index_d___metadata as __metadata, index_d_convertCurrency as convertCurrency, index_d_getConversionRate as getConversionRate, index_d_listCurrencies as listCurrencies };
23531
+ export { type index_d_ConversionRateRequest as ConversionRateRequest, type index_d_ConversionRateResponse as ConversionRateResponse, type index_d_ConversionRateResponseNonNullableFields as ConversionRateResponseNonNullableFields, type index_d_ConvertCurrencyIdentifiers as ConvertCurrencyIdentifiers, type index_d_ConvertCurrencyRequest as ConvertCurrencyRequest, type index_d_ConvertCurrencyResponse as ConvertCurrencyResponse, type index_d_ConvertCurrencyResponseNonNullableFields as ConvertCurrencyResponseNonNullableFields, type index_d_Currency as Currency, type index_d_CurrencyRate as CurrencyRate, type index_d_DecimalValue as DecimalValue, type index_d_GetConversionRateIdentifiers as GetConversionRateIdentifiers, type index_d_ListCurrenciesRequest as ListCurrenciesRequest, type index_d_ListCurrenciesResponse as ListCurrenciesResponse, type index_d_ListCurrenciesResponseNonNullableFields as ListCurrenciesResponseNonNullableFields, index_d_convertCurrency as convertCurrency, index_d_getConversionRate as getConversionRate, index_d_listCurrencies as listCurrencies };
23501
23532
  }
23502
23533
 
23503
23534
  export { index_d$e as abandonedCheckouts, index_d$d as backInStockNotifications, index_d$c as backInStockSettings, index_d$b as cart, index_d$9 as checkout, index_d$8 as checkoutSettings, index_d$7 as checkoutTemplates, index_d as currencies, index_d$a as currentCart, index_d$6 as deliveryProfile, index_d$h as discountRules, index_d$5 as orderFulfillments, index_d$g as orderInvoices, index_d$3 as orderTransactions, index_d$4 as orders, index_d$2 as ordersSettings, index_d$f as recommendations, index_d$1 as shippoConfigurations };