@wix/himalaya-cli 0.2003.0 → 0.2005.0

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.
Files changed (127) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
  79. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
  80. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
  81. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
  82. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
  83. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
  84. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
  85. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
  86. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
  87. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
  88. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
  89. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
  90. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
  91. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
  92. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
  93. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
  94. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
  95. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
  96. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
  97. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
  98. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
  99. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
  100. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
  101. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
  102. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
  103. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
  104. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
  105. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
  106. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
  107. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
  108. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
  109. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
  110. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
  111. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
  112. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
  113. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
  114. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
  115. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
  116. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
  117. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
  118. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
  119. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
  120. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
  121. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
  122. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
  123. package/dist/cli.mjs +541 -7
  124. package/guides/importable-sdks.md +1 -0
  125. package/guides/sdk-reference.json +15672 -8927
  126. package/guides/wix-api-usage.md +28 -0
  127. package/package.json +2 -2
@@ -0,0 +1,39 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
3
+ export interface GetOrdersSettingsRequest {
4
+ }
5
+ export interface GetOrdersSettingsResponse {
6
+ ordersSettings?: OrdersSettings;
7
+ }
8
+ export interface OrdersSettings {
9
+ inventoryUpdateTrigger?: string;
10
+ createInvoice?: boolean;
11
+ createdDate?: string;
12
+ updatedDate?: string;
13
+ }
14
+ export interface UpdateOrdersSettingsRequest {
15
+ ordersSettings?: OrdersSettings;
16
+ }
17
+ export interface UpdateOrdersSettingsResponse {
18
+ ordersSettings?: OrdersSettings;
19
+ }
20
+ /**
21
+ * Retrieves the sites' order settings.
22
+ *
23
+ * @scope visitor — an anonymous visitor session is enough.
24
+ * @permissionId ECOM.READ_ORDERS_SETTINGS
25
+ * @fqn wix.ecom.orders_settings.api.v1.OrdersSettingsService.GetOrdersSettings
26
+ *
27
+ * GET /ecom/v1/orders-settings
28
+ */
29
+ export declare function getOrdersSettings(req?: GetOrdersSettingsRequest, opts?: WixCallOptions): Promise<GetOrdersSettingsResponse>;
30
+ /**
31
+ * Updates the sites' orders settings.
32
+ *
33
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
34
+ * @permissionId ECOM.UPDATE_ORDERS_SETTINGS
35
+ * @fqn wix.ecom.orders_settings.api.v1.OrdersSettingsService.UpdateOrdersSettings
36
+ *
37
+ * PATCH /ecom/v1/orders-settings
38
+ */
39
+ export declare function updateOrdersSettings(req?: UpdateOrdersSettingsRequest, opts?: WixCallOptions): Promise<UpdateOrdersSettingsResponse>;
@@ -0,0 +1,57 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { CatalogReference } from "../_shared/types.generated.js";
3
+ export type { CatalogReference } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface Algorithm {
6
+ id?: string;
7
+ appId?: string;
8
+ }
9
+ export interface AlgorithmConfig {
10
+ name?: string;
11
+ description?: string;
12
+ additionalInfo?: string;
13
+ algorithmType?: string;
14
+ algorithmId?: string;
15
+ }
16
+ export interface AlgorithmInfo {
17
+ config?: AlgorithmConfig;
18
+ appId?: string;
19
+ catalogAppIds?: string[];
20
+ }
21
+ export interface GetRecommendationRequest {
22
+ items?: CatalogReference[];
23
+ algorithms?: Algorithm[];
24
+ minimumRecommendedItems?: number;
25
+ }
26
+ export interface GetRecommendationResponse {
27
+ recommendation?: Recommendation;
28
+ }
29
+ export interface ListAvailableAlgorithmsRequest {
30
+ }
31
+ export interface ListAvailableAlgorithmsResponse {
32
+ availableAlgorithms?: AlgorithmInfo[];
33
+ }
34
+ export interface Recommendation {
35
+ items?: CatalogReference[];
36
+ algorithm?: Algorithm;
37
+ }
38
+ /**
39
+ * Returns a recommendation object containing a list of items to recommend to the customer.
40
+ *
41
+ * @scope visitor — an anonymous visitor session is enough.
42
+ * @permissionId RECOMMENDATIONS.READ
43
+ * @fqn com.wix.ecom.recommendations.v1.RecommendationsService.GetRecommendation
44
+ *
45
+ * POST /ecom/v1/recommendations/get
46
+ */
47
+ export declare function getRecommendation(req?: GetRecommendationRequest, opts?: WixCallOptions): Promise<GetRecommendationResponse>;
48
+ /**
49
+ * Returns a list of recommendation algorithms that can be used on your Wix site or project. These algorithms can be used with [`getRecommendation()`](#getRecommendation) to provide item recommendations to the customer.
50
+ *
51
+ * @scope visitor — an anonymous visitor session is enough.
52
+ * @permissionId RECOMMENDATIONS.READ
53
+ * @fqn com.wix.ecom.recommendations.v1.RecommendationsService.ListAvailableAlgorithms
54
+ *
55
+ * GET /ecom/v1/recommendations/algorithms
56
+ */
57
+ export declare function listAvailableAlgorithms(req?: ListAvailableAlgorithmsRequest, opts?: WixCallOptions): Promise<ListAvailableAlgorithmsResponse>;
@@ -0,0 +1,144 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { ConditionalRates, CursorPagingMetadata, CursorQuery, ExtendedFields, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
3
+ export type { Condition, ConditionalRates, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface AddDeliveryRegionRequest {
6
+ deliveryRegionId?: string;
7
+ shippingOptionId?: string;
8
+ revision?: string;
9
+ }
10
+ export interface AddDeliveryRegionResponse {
11
+ shippingOption?: ShippingOption;
12
+ }
13
+ export interface CreateShippingOptionRequest {
14
+ shippingOption?: ShippingOption;
15
+ }
16
+ export interface CreateShippingOptionResponse {
17
+ shippingOption?: ShippingOption;
18
+ }
19
+ export interface DeleteShippingOptionRequest {
20
+ shippingOptionId?: string;
21
+ }
22
+ export interface DeleteShippingOptionResponse {
23
+ }
24
+ export interface GetShippingOptionRequest {
25
+ shippingOptionId?: string;
26
+ }
27
+ export interface GetShippingOptionResponse {
28
+ shippingOption?: ShippingOption;
29
+ }
30
+ export interface QueryShippingOptionsRequest {
31
+ query?: CursorQuery;
32
+ }
33
+ export interface QueryShippingOptionsResponse {
34
+ shippingOptions?: ShippingOption[];
35
+ pagingMetadata?: CursorPagingMetadata;
36
+ }
37
+ export interface RemoveDeliveryRegionRequest {
38
+ deliveryRegionId?: string;
39
+ shippingOptionId?: string;
40
+ revision?: string;
41
+ }
42
+ export interface RemoveDeliveryRegionResponse {
43
+ shippingOption?: ShippingOption;
44
+ }
45
+ export interface ShippingOption {
46
+ id?: string;
47
+ revision?: string;
48
+ createdDate?: string;
49
+ updatedDate?: string;
50
+ deliveryRegionId?: string;
51
+ deliveryRegionIds?: string[];
52
+ title?: string;
53
+ estimatedDeliveryTime?: string;
54
+ rates?: ConditionalRates[];
55
+ extendedFields?: ExtendedFields;
56
+ }
57
+ export interface UpdateExtendedFieldsResponse {
58
+ shippingOption?: ShippingOption;
59
+ }
60
+ export interface UpdateShippingOptionRequest {
61
+ shippingOption?: ShippingOption;
62
+ }
63
+ export interface UpdateShippingOptionResponse {
64
+ shippingOption?: ShippingOption;
65
+ }
66
+ /**
67
+ * Adds a delivery region to a shipping option.
68
+ *
69
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
70
+ * @permissionId ECOM.SHIPPING_OPTION_UPDATE
71
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.AddDeliveryRegion
72
+ *
73
+ * POST /ecom/v1/shipping-options/{shippingOptionId}/add-delivery-region
74
+ */
75
+ export declare function addDeliveryRegion(req: AddDeliveryRegionRequest, opts?: WixCallOptions): Promise<AddDeliveryRegionResponse>;
76
+ /**
77
+ * Creates a ShippingOption.
78
+ *
79
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
80
+ * @permissionId ECOM.SHIPPING_OPTION_CREATE
81
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.CreateShippingOption
82
+ *
83
+ * POST /ecom/v1/shipping-options
84
+ */
85
+ export declare function createShippingOption(req?: CreateShippingOptionRequest, opts?: WixCallOptions): Promise<CreateShippingOptionResponse>;
86
+ /**
87
+ * Deletes a ShippingOption. Deleting a ShippingOption permanently removes them from the ShippingOption List.
88
+ *
89
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
90
+ * @permissionId ECOM.SHIPPING_OPTION_DELETE
91
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.DeleteShippingOption
92
+ *
93
+ * DELETE /ecom/v1/shipping-options/{shippingOptionId}
94
+ */
95
+ export declare function deleteShippingOption(req: DeleteShippingOptionRequest, opts?: WixCallOptions): Promise<DeleteShippingOptionResponse>;
96
+ /**
97
+ * Retrieves a ShippingOption.
98
+ *
99
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
100
+ * @permissionId ECOM.SHIPPING_OPTION_READ
101
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.GetShippingOption
102
+ *
103
+ * GET /ecom/v1/shipping-options/{shippingOptionId}
104
+ */
105
+ export declare function getShippingOption(req: GetShippingOptionRequest, opts?: WixCallOptions): Promise<GetShippingOptionResponse>;
106
+ /**
107
+ * Retrieves a list of ShippingOptions, given the provided [paging, filtering, and sorting][1].
108
+ *
109
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
110
+ * @permissionId ECOM.SHIPPING_OPTION_READ
111
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.QueryShippingOptions
112
+ *
113
+ * POST /ecom/v1/shipping-options/query
114
+ */
115
+ export declare function queryShippingOptions(req?: QueryShippingOptionsRequest, opts?: WixCallOptions): Promise<QueryShippingOptionsResponse>;
116
+ /**
117
+ * Removes a delivery region from a shipping option.
118
+ *
119
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
120
+ * @permissionId ECOM.SHIPPING_OPTION_UPDATE
121
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.RemoveDeliveryRegion
122
+ *
123
+ * POST /ecom/v1/shipping-options/{shippingOptionId}/remove-delivery-region
124
+ */
125
+ export declare function removeDeliveryRegion(req: RemoveDeliveryRegionRequest, opts?: WixCallOptions): Promise<RemoveDeliveryRegionResponse>;
126
+ /**
127
+ * Updates extended fields of a ShippingOption without incrementing revision
128
+ *
129
+ * @permissionId ECOM.SHIPPING_OPTION_UPDATE
130
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.UpdateExtendedFields
131
+ *
132
+ * POST /ecom/v1/shipping-options/{id}/update-extended-fields
133
+ */
134
+ export declare function updateExtendedFields(req: UpdateExtendedFieldsRequest, opts?: WixCallOptions): Promise<UpdateExtendedFieldsResponse>;
135
+ /**
136
+ * Updates a ShippingOption.
137
+ *
138
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
139
+ * @permissionId ECOM.SHIPPING_OPTION_UPDATE
140
+ * @fqn wix.ecom.delivery.v1.ShippingOptionService.UpdateShippingOption
141
+ *
142
+ * PATCH /ecom/v1/shipping-options/{shippingOptionId}
143
+ */
144
+ export declare function updateShippingOption(req: UpdateShippingOptionRequest, opts?: WixCallOptions): Promise<UpdateShippingOptionResponse>;
@@ -0,0 +1,178 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { Address, CursorPagingMetadata, CursorQuery, ExtendedFields, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
3
+ export type { Address, AddressLocation, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting, StreetAddress, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface AddDeliveryRegionRequest {
6
+ shippoConfigurationId?: string;
7
+ deliveryRegionId?: string;
8
+ revision?: string;
9
+ }
10
+ export interface AddDeliveryRegionResponse {
11
+ shippoConfiguration?: ShippoConfiguration;
12
+ }
13
+ export interface CreateShippoConfigurationRequest {
14
+ shippoConfiguration?: ShippoConfiguration;
15
+ backupRate?: string;
16
+ }
17
+ export interface CreateShippoConfigurationResponse {
18
+ shippoConfiguration?: ShippoConfiguration;
19
+ }
20
+ export interface DeleteShippoConfigurationRequest {
21
+ shippoConfigurationId?: string;
22
+ }
23
+ export interface DeleteShippoConfigurationResponse {
24
+ }
25
+ export interface DomesticServiceSettings {
26
+ id?: string;
27
+ service?: string;
28
+ serviceSettings?: ServiceSettings;
29
+ }
30
+ export interface GetShippoConfigurationRequest {
31
+ shippoConfigurationId?: string;
32
+ }
33
+ export interface GetShippoConfigurationResponse {
34
+ shippoConfiguration?: ShippoConfiguration;
35
+ }
36
+ export interface HandlingFee {
37
+ value?: string;
38
+ calculationType?: string;
39
+ }
40
+ export interface InternationalServiceSettings {
41
+ id?: string;
42
+ service?: string;
43
+ serviceSettings?: ServiceSettings;
44
+ }
45
+ export interface PackageDetails {
46
+ name?: string;
47
+ dimensions?: PackageDimensions;
48
+ maxNumberOfProducts?: string;
49
+ }
50
+ export interface PackageDimensions {
51
+ length?: string;
52
+ width?: string;
53
+ height?: string;
54
+ }
55
+ export interface QueryShippoConfigurationsRequest {
56
+ query?: CursorQuery;
57
+ }
58
+ export interface QueryShippoConfigurationsResponse {
59
+ shippoConfigurations?: ShippoConfiguration[];
60
+ pagingMetadata?: CursorPagingMetadata;
61
+ }
62
+ export interface RemoveDeliveryRegionRequest {
63
+ shippoConfigurationId?: string;
64
+ deliveryRegionId?: string;
65
+ revision?: string;
66
+ }
67
+ export interface RemoveDeliveryRegionResponse {
68
+ shippoConfiguration?: ShippoConfiguration;
69
+ }
70
+ export interface ServiceSettings {
71
+ estimatedDeliveryTime?: string;
72
+ handlingFee?: HandlingFee;
73
+ freeDeliveryMinimumAmount?: string;
74
+ }
75
+ export interface ShippoConfiguration {
76
+ id?: string;
77
+ revision?: string;
78
+ createdDate?: string;
79
+ updatedDate?: string;
80
+ deliveryRegionId?: string;
81
+ domesticServices?: DomesticServiceSettings[];
82
+ internationalServices?: InternationalServiceSettings[];
83
+ packageType?: string;
84
+ packageDetails?: PackageDetails;
85
+ osLocationId?: string;
86
+ shipFromAddress?: Address;
87
+ deliveryRegionIds?: string[];
88
+ backupWeight?: string;
89
+ extendedFields?: ExtendedFields;
90
+ }
91
+ export interface UpdateExtendedFieldsResponse {
92
+ shippoConfiguration?: ShippoConfiguration;
93
+ }
94
+ export interface UpdateShippoConfigurationRequest {
95
+ shippoConfiguration?: ShippoConfiguration;
96
+ }
97
+ export interface UpdateShippoConfigurationResponse {
98
+ shippoConfiguration?: ShippoConfiguration;
99
+ }
100
+ /**
101
+ * Adds a delivery region to a Shippo configuration.
102
+ *
103
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
104
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_UPDATE
105
+ * @fqn wix.ecom.delivery.v1.ShippoService.AddDeliveryRegion
106
+ *
107
+ * POST /ecom/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions
108
+ */
109
+ export declare function addDeliveryRegion(req: AddDeliveryRegionRequest, opts?: WixCallOptions): Promise<AddDeliveryRegionResponse>;
110
+ /**
111
+ * Creates a ShippoConfiguration.
112
+ *
113
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
114
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_CREATE
115
+ * @fqn wix.ecom.delivery.v1.ShippoService.CreateShippoConfiguration
116
+ *
117
+ * POST /ecom/v1/shippo-configurations
118
+ */
119
+ export declare function createShippoConfiguration(req?: CreateShippoConfigurationRequest, opts?: WixCallOptions): Promise<CreateShippoConfigurationResponse>;
120
+ /**
121
+ * Deletes a ShippoConfiguration.
122
+ *
123
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
124
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_DELETE
125
+ * @fqn wix.ecom.delivery.v1.ShippoService.DeleteShippoConfiguration
126
+ *
127
+ * DELETE /ecom/v1/shippo-configurations/{shippoConfigurationId}
128
+ */
129
+ export declare function deleteShippoConfiguration(req: DeleteShippoConfigurationRequest, opts?: WixCallOptions): Promise<DeleteShippoConfigurationResponse>;
130
+ /**
131
+ * Retrieves a ShippoConfiguration.
132
+ *
133
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
134
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_READ
135
+ * @fqn wix.ecom.delivery.v1.ShippoService.GetShippoConfiguration
136
+ *
137
+ * GET /ecom/v1/shippo-configurations/{shippoConfigurationId}
138
+ */
139
+ export declare function getShippoConfiguration(req: GetShippoConfigurationRequest, opts?: WixCallOptions): Promise<GetShippoConfigurationResponse>;
140
+ /**
141
+ * Retrieves a list of ShippoConfigurations, given the provided [paging, filtering, and sorting][1].
142
+ *
143
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
144
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_READ
145
+ * @fqn wix.ecom.delivery.v1.ShippoService.QueryShippoConfigurations
146
+ *
147
+ * POST /ecom/v1/shippo-configurations/query
148
+ */
149
+ export declare function queryShippoConfigurations(req?: QueryShippoConfigurationsRequest, opts?: WixCallOptions): Promise<QueryShippoConfigurationsResponse>;
150
+ /**
151
+ * Removes a delivery region from a Shippo configuration. When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration.
152
+ *
153
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
154
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_UPDATE
155
+ * @fqn wix.ecom.delivery.v1.ShippoService.RemoveDeliveryRegion
156
+ *
157
+ * DELETE /ecom/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}
158
+ */
159
+ export declare function removeDeliveryRegion(req: RemoveDeliveryRegionRequest, opts?: WixCallOptions): Promise<RemoveDeliveryRegionResponse>;
160
+ /**
161
+ * Updates extended fields of a ShippoConfiguration without incrementing revision
162
+ *
163
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_UPDATE
164
+ * @fqn wix.ecom.delivery.v1.ShippoService.UpdateExtendedFields
165
+ *
166
+ * POST /ecom/v1/shippo-configurations/{id}/update-extended-fields
167
+ */
168
+ export declare function updateExtendedFields(req: UpdateExtendedFieldsRequest, opts?: WixCallOptions): Promise<UpdateExtendedFieldsResponse>;
169
+ /**
170
+ * Updates a ShippoConfiguration.
171
+ *
172
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
173
+ * @permissionId ECOM.SHIPPO_CONFIGURATION_UPDATE
174
+ * @fqn wix.ecom.delivery.v1.ShippoService.UpdateShippoConfiguration
175
+ *
176
+ * PATCH /ecom/v1/shippo-configurations/{shippoConfigurationId}
177
+ */
178
+ export declare function updateShippoConfiguration(req: UpdateShippoConfigurationRequest, opts?: WixCallOptions): Promise<UpdateShippoConfigurationResponse>;
@@ -0,0 +1,209 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { AddressWithContact, AppliedDiscount, BuyerInfo, CatalogReference, ChannelInfo, ContractTarget, CurrencyConversionDetails, CursorPagingMetadata, CursorQuery, CustomField, DecimalQuantity, DeliveryTimeSlot, DescriptionLine, DigitalFile, ExtendedFields, Image, ItemType, LineItemQuantityChange, LineItemTaxInfo, LocationAndQuantity, ManagedLineItem, ModifierGroup, PhysicalProperties, PickupAddress, PlatformFeeSummary, Price, PriceDescription, ProductName, SubscriptionInfo, TaxableAddress, TotalPriceChange, TranslatedValue } from "../_shared/types.generated.js";
3
+ export type { Address, AddressLocation, AddressWithContact, AppliedDiscount, BuyerInfo, CatalogReference, ChannelInfo, Color, ContractTarget, Coupon, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, CustomField, DecimalQuantity, DeliveryTimeSlot, DescriptionLine, DescriptionLineName, DigitalFile, DiscountRule, DiscountRuleName, ExtendedFields, FreeTrialPeriod, FullAddressContactDetails, Image, ItemModifier, ItemType, LineItemDiscount, LineItemQuantityChange, LineItemTaxBreakdown, LineItemTaxInfo, LocationAndQuantity, ManagedLineItem, MerchantDiscount, ModifierGroup, PhysicalProperties, PickupAddress, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, ProductName, Sorting, StreetAddress, SubscriptionInfo, SubscriptionSettings, TaxableAddress, TotalPriceChange, TranslatableString, TranslatedValue, VatId } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface ActivityAuthor {
6
+ userId?: string;
7
+ appId?: string;
8
+ }
9
+ export interface AdditionalFee {
10
+ code?: string;
11
+ name?: string;
12
+ price?: Price;
13
+ taxDetails?: ItemTaxFullDetails;
14
+ taxInfo?: LineItemTaxInfo;
15
+ providerAppId?: string;
16
+ priceBeforeTax?: Price;
17
+ priceAfterTax?: Price;
18
+ id?: string;
19
+ lineItemIds?: string[];
20
+ source?: string;
21
+ taxableAddress?: TaxableAddress;
22
+ }
23
+ export interface ChangesAppliedActivity {
24
+ contractTarget?: ContractTarget;
25
+ draftSubscriptionContractId?: string;
26
+ changes?: ContractChange[];
27
+ reason?: string;
28
+ }
29
+ export interface ContractChange {
30
+ lineItemChanged?: LineItemChanges;
31
+ lineItemAdded?: ManagedLineItem;
32
+ lineItemRemoved?: ManagedLineItem;
33
+ discountAdded?: ManagedDiscount;
34
+ discountRemoved?: ManagedDiscount;
35
+ additionalFeeAdded?: ManagedAdditionalFee;
36
+ additionalFeeRemoved?: ManagedAdditionalFee;
37
+ totalPriceChanged?: TotalPriceChange;
38
+ }
39
+ export interface DeliveryLogistics {
40
+ shippingDestination?: AddressWithContact;
41
+ pickupDetails?: PickupDetails;
42
+ deliveryTime?: string;
43
+ instructions?: string;
44
+ deliverByDate?: string;
45
+ deliveryTimeSlot?: DeliveryTimeSlot;
46
+ }
47
+ export interface GetSubscriptionContractRequest {
48
+ subscriptionContractId?: string;
49
+ }
50
+ export interface GetSubscriptionContractResponse {
51
+ subscriptionContract?: SubscriptionContract;
52
+ }
53
+ export interface ItemTaxFullDetails {
54
+ taxableAmount?: Price;
55
+ taxRate?: string;
56
+ totalTax?: Price;
57
+ }
58
+ export interface LineItemChanges {
59
+ id?: string;
60
+ name?: ProductName;
61
+ quantity?: LineItemQuantityChange;
62
+ }
63
+ export interface ManagedAdditionalFee {
64
+ id?: string;
65
+ name?: TranslatedValue;
66
+ totalAmount?: Price;
67
+ }
68
+ export interface ManagedDiscount {
69
+ id?: string;
70
+ name?: TranslatedValue;
71
+ totalAmount?: Price;
72
+ }
73
+ export interface OrderLineItem {
74
+ id?: string;
75
+ productName?: ProductName;
76
+ catalogReference?: CatalogReference;
77
+ quantity?: number;
78
+ totalDiscount?: Price;
79
+ descriptionLines?: DescriptionLine[];
80
+ image?: Image;
81
+ physicalProperties?: PhysicalProperties;
82
+ itemType?: ItemType;
83
+ fulfillerId?: string;
84
+ refundQuantity?: number;
85
+ restockQuantity?: number;
86
+ price?: Price;
87
+ priceBeforeDiscounts?: Price;
88
+ totalPriceBeforeTax?: Price;
89
+ totalPriceAfterTax?: Price;
90
+ paymentOption?: string;
91
+ taxDetails?: ItemTaxFullDetails;
92
+ taxInfo?: LineItemTaxInfo;
93
+ digitalFile?: DigitalFile;
94
+ subscriptionInfo?: SubscriptionInfo;
95
+ priceDescription?: PriceDescription;
96
+ depositAmount?: Price;
97
+ locations?: LocationAndQuantity[];
98
+ lineItemPrice?: Price;
99
+ taxableAddress?: TaxableAddress;
100
+ priceUndetermined?: boolean;
101
+ fixedQuantity?: boolean;
102
+ decimalQuantity?: DecimalQuantity;
103
+ extendedFields?: ExtendedFields;
104
+ modifierGroups?: ModifierGroup[];
105
+ }
106
+ export interface PickupDetails {
107
+ address?: PickupAddress;
108
+ pickupMethod?: string;
109
+ }
110
+ export interface PriceSummary {
111
+ subtotal?: Price;
112
+ shipping?: Price;
113
+ tax?: Price;
114
+ discount?: Price;
115
+ total?: Price;
116
+ totalAdditionalFees?: Price;
117
+ }
118
+ export interface QuerySubscriptionContractsRequest {
119
+ query?: CursorQuery;
120
+ }
121
+ export interface QuerySubscriptionContractsResponse {
122
+ subscriptionContracts?: SubscriptionContract[];
123
+ pagingMetadata?: CursorPagingMetadata;
124
+ }
125
+ export interface ShippingInformation {
126
+ carrierId?: string;
127
+ code?: string;
128
+ title?: string;
129
+ logistics?: DeliveryLogistics;
130
+ cost?: ShippingPrice;
131
+ region?: ShippingRegion;
132
+ }
133
+ export interface ShippingPrice {
134
+ price?: Price;
135
+ totalPriceBeforeTax?: Price;
136
+ totalPriceAfterTax?: Price;
137
+ taxDetails?: ItemTaxFullDetails;
138
+ taxInfo?: LineItemTaxInfo;
139
+ discount?: Price;
140
+ }
141
+ export interface ShippingRegion {
142
+ name?: string;
143
+ }
144
+ export interface SubscriptionContract {
145
+ id?: string;
146
+ revision?: string;
147
+ createdDate?: string;
148
+ updatedDate?: string;
149
+ description?: string;
150
+ subscriptionSettings?: V1SubscriptionSettings;
151
+ lineItems?: OrderLineItem[];
152
+ buyerInfo?: BuyerInfo;
153
+ buyerLanguage?: string;
154
+ weightUnit?: string;
155
+ currency?: string;
156
+ currencyConversionDetails?: CurrencyConversionDetails;
157
+ taxIncludedInPrices?: boolean;
158
+ priceSummary?: PriceSummary;
159
+ platformFeeSummary?: PlatformFeeSummary;
160
+ billingInfo?: AddressWithContact;
161
+ shippingInfo?: ShippingInformation;
162
+ appliedDiscounts?: AppliedDiscount[];
163
+ channelInfo?: ChannelInfo;
164
+ customFields?: CustomField[];
165
+ recipientInfo?: AddressWithContact;
166
+ extendedFields?: ExtendedFields;
167
+ title?: string;
168
+ additionalFees?: AdditionalFee[];
169
+ activities?: SubscriptionContractActivity[];
170
+ }
171
+ export interface SubscriptionContractActivity {
172
+ contractTarget?: ContractTarget;
173
+ changesApplied?: ChangesAppliedActivity;
174
+ id?: string;
175
+ createdDate?: string;
176
+ author?: ActivityAuthor;
177
+ activityType?: string;
178
+ }
179
+ export interface V1FreeTrialPeriod {
180
+ frequency?: string;
181
+ interval?: number;
182
+ }
183
+ export interface V1SubscriptionSettings {
184
+ frequency?: string;
185
+ interval?: number;
186
+ autoRenewal?: boolean;
187
+ billingCycles?: number;
188
+ enableCustomerCancellation?: boolean;
189
+ freeTrialPeriod?: V1FreeTrialPeriod;
190
+ }
191
+ /**
192
+ * Retrieves a SubscriptionContract.
193
+ *
194
+ * @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
195
+ * @fqn wix.ecom.subscription_contracts.v1.SubscriptionContracts.GetSubscriptionContract
196
+ *
197
+ * GET /ecom/subscription-contracts/v1/subscription-contracts/{subscriptionContractId}
198
+ */
199
+ export declare function getSubscriptionContract(req: GetSubscriptionContractRequest, opts?: WixCallOptions): Promise<GetSubscriptionContractResponse>;
200
+ /**
201
+ * Retrieves a list of SubscriptionContracts, given the provided [paging, filtering, and sorting][1].
202
+ *
203
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
204
+ * @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
205
+ * @fqn wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts
206
+ *
207
+ * POST /ecom/subscription-contracts/v1/subscription-contracts/query
208
+ */
209
+ export declare function querySubscriptionContracts(req?: QuerySubscriptionContractsRequest, opts?: WixCallOptions): Promise<QuerySubscriptionContractsResponse>;