@wix/auto_sdk_ecom_draft-orders 1.0.54 → 1.0.56

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.
@@ -2869,10 +2869,12 @@ declare enum ChannelType {
2869
2869
  /** [TikTok sales channel](https://support.wix.com/en/article/wix-stores-request-adding-tiktok-as-a-sales-channel). */
2870
2870
  TIKTOK = "TIKTOK",
2871
2871
  /** [Faire marketplace integration](https://support.wix.com/en/article/wix-stores-creating-a-faire-store-using-the-faire-integration-app). */
2872
- FAIRE_COM = "FAIRE_COM"
2872
+ FAIRE_COM = "FAIRE_COM",
2873
+ /** PayPal Agentic Checkout sales channel. */
2874
+ PAYPAL_AGENTIC_CHECKOUT = "PAYPAL_AGENTIC_CHECKOUT"
2873
2875
  }
2874
2876
  /** @enumType */
2875
- type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM';
2877
+ type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT';
2876
2878
  interface CustomField {
2877
2879
  /** Custom field value. */
2878
2880
  value?: any;
@@ -320,14 +320,14 @@ declare const setBusinessLocation: MaybeContext<BuildRESTFunction<typeof setBusi
320
320
  /**
321
321
  * Triggered when a draft order is created.
322
322
  */
323
- declare const onDraftOrderCreated: BuildEventDefinition<typeof onDraftOrderCreated$1>;
323
+ declare const onDraftOrderCreated: BuildEventDefinition<typeof onDraftOrderCreated$1> & typeof onDraftOrderCreated$1;
324
324
  /**
325
325
  * Triggered when a draft order is deleted.
326
326
  */
327
- declare const onDraftOrderDeleted: BuildEventDefinition<typeof onDraftOrderDeleted$1>;
327
+ declare const onDraftOrderDeleted: BuildEventDefinition<typeof onDraftOrderDeleted$1> & typeof onDraftOrderDeleted$1;
328
328
  /**
329
329
  * Triggered when a draft order is updated.
330
330
  */
331
- declare const onDraftOrderUpdated: BuildEventDefinition<typeof onDraftOrderUpdated$1>;
331
+ declare const onDraftOrderUpdated: BuildEventDefinition<typeof onDraftOrderUpdated$1> & typeof onDraftOrderUpdated$1;
332
332
 
333
333
  export { AddLineItemsToDraftOrderApplicationErrors, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderResponse, CommitDraftOrderApplicationErrors, CommitDraftOrderOptions, CommitDraftOrderResponse, CreateCustomAdditionalFeesApplicationErrors, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesResponse, CreateCustomDiscountsApplicationErrors, CreateCustomDiscountsOptions, CreateCustomDiscountsResponse, CreateDraftOrderApplicationErrors, CreateDraftOrderResponse, CreateEmptyDraftOrderApplicationErrors, CreateEmptyDraftOrderResponse, CreateOrderFromDraftApplicationErrors, CreateOrderFromDraftOptions, CreateOrderFromDraftResponse, DeleteCustomAdditionalFeesApplicationErrors, DeleteCustomAdditionalFeesResponse, DeleteCustomDiscountsApplicationErrors, DeleteCustomDiscountsResponse, DeleteDraftOrderApplicationErrors, DraftOrderCreatedEnvelope, DraftOrderDeletedEnvelope, DraftOrderUpdatedEnvelope, DraftOrdersQueryBuilder, GetDraftOrderApplicationErrors, GetDraftOrderResponse, GetOrderDraftabilityStatusResponse, IdAndApplied, LineItemChangeDetails, SetAdditionalFeesApplicationErrors, SetAdditionalFeesResponse, SetBillingInfoApplicationErrors, SetBillingInfoOptions, SetBillingInfoResponse, SetBusinessLocationApplicationErrors, SetBusinessLocationOptions, SetBusinessLocationResponse, SetBuyerInfoApplicationErrors, SetBuyerInfoOptions, SetBuyerInfoResponse, SetDiscountsApplicationErrors, SetDiscountsResponse, SetRecipientInfoApplicationErrors, SetRecipientInfoOptions, SetRecipientInfoResponse, SetShippingInfoApplicationErrors, SetShippingInfoOptions, SetShippingInfoResponse, SetTaxExemptionApplicationErrors, SetTaxExemptionOptions, SetTaxExemptionResponse, UpdateExtendedFieldsApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateLineItemsApplicationErrors, UpdateLineItemsResponse, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
@@ -3225,6 +3225,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
3225
3225
  ChannelType2["ETSY"] = "ETSY";
3226
3226
  ChannelType2["TIKTOK"] = "TIKTOK";
3227
3227
  ChannelType2["FAIRE_COM"] = "FAIRE_COM";
3228
+ ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
3228
3229
  return ChannelType2;
3229
3230
  })(ChannelType || {});
3230
3231
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
@@ -5266,9 +5267,15 @@ var queryDraftOrders4 = /* @__PURE__ */ createRESTModule(queryDraftOrders3);
5266
5267
  var updateExtendedFields4 = /* @__PURE__ */ createRESTModule(updateExtendedFields3);
5267
5268
  var setTaxExemption4 = /* @__PURE__ */ createRESTModule(setTaxExemption3);
5268
5269
  var setBusinessLocation4 = /* @__PURE__ */ createRESTModule(setBusinessLocation3);
5269
- var onDraftOrderCreated2 = createEventModule(onDraftOrderCreated);
5270
- var onDraftOrderDeleted2 = createEventModule(onDraftOrderDeleted);
5271
- var onDraftOrderUpdated2 = createEventModule(onDraftOrderUpdated);
5270
+ var onDraftOrderCreated2 = createEventModule(
5271
+ onDraftOrderCreated
5272
+ );
5273
+ var onDraftOrderDeleted2 = createEventModule(
5274
+ onDraftOrderDeleted
5275
+ );
5276
+ var onDraftOrderUpdated2 = createEventModule(
5277
+ onDraftOrderUpdated
5278
+ );
5272
5279
  export {
5273
5280
  ActivityType,
5274
5281
  AdjustmentType,