@wix/himalaya-cli 0.2004.0 → 0.2006.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/provisioning-facts.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +9 -10
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
- package/templates/bare-fashion/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/beauty-salon/dev/index.ts +231 -139
- package/templates/beauty-salon/l10n/ar.json +6 -12
- package/templates/beauty-salon/l10n/cs.json +6 -12
- package/templates/beauty-salon/l10n/da.json +6 -12
- package/templates/beauty-salon/l10n/de.json +6 -12
- package/templates/beauty-salon/l10n/el.json +6 -12
- package/templates/beauty-salon/l10n/en.json +11 -18
- package/templates/beauty-salon/l10n/es.json +6 -12
- package/templates/beauty-salon/l10n/fi.json +6 -12
- package/templates/beauty-salon/l10n/fr.json +6 -12
- package/templates/beauty-salon/l10n/he.json +6 -10
- package/templates/beauty-salon/l10n/hu.json +6 -12
- package/templates/beauty-salon/l10n/id.json +6 -12
- package/templates/beauty-salon/l10n/it.json +6 -12
- package/templates/beauty-salon/l10n/ja.json +6 -12
- package/templates/beauty-salon/l10n/ko.json +6 -12
- package/templates/beauty-salon/l10n/lt.json +6 -12
- package/templates/beauty-salon/l10n/nl.json +6 -12
- package/templates/beauty-salon/l10n/no.json +6 -12
- package/templates/beauty-salon/l10n/pl.json +6 -12
- package/templates/beauty-salon/l10n/pt.json +6 -12
- package/templates/beauty-salon/l10n/ru.json +6 -12
- package/templates/beauty-salon/l10n/sv.json +6 -12
- package/templates/beauty-salon/l10n/th.json +6 -12
- package/templates/beauty-salon/l10n/tr.json +6 -12
- package/templates/beauty-salon/l10n/uk.json +6 -12
- package/templates/beauty-salon/l10n/vi.json +6 -12
- package/templates/beauty-salon/l10n/zh.json +6 -12
- package/templates/beauty-salon/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/branded-lite/dev/index.ts +229 -137
- package/templates/branded-lite/l10n/ar.json +0 -12
- package/templates/branded-lite/l10n/cs.json +0 -12
- package/templates/branded-lite/l10n/da.json +0 -12
- package/templates/branded-lite/l10n/de.json +0 -12
- package/templates/branded-lite/l10n/el.json +0 -12
- package/templates/branded-lite/l10n/en.json +4 -18
- package/templates/branded-lite/l10n/es.json +0 -12
- package/templates/branded-lite/l10n/fi.json +0 -12
- package/templates/branded-lite/l10n/fr.json +0 -12
- package/templates/branded-lite/l10n/he.json +0 -10
- package/templates/branded-lite/l10n/hu.json +0 -12
- package/templates/branded-lite/l10n/id.json +0 -12
- package/templates/branded-lite/l10n/it.json +0 -12
- package/templates/branded-lite/l10n/ja.json +0 -12
- package/templates/branded-lite/l10n/ko.json +0 -12
- package/templates/branded-lite/l10n/lt.json +0 -12
- package/templates/branded-lite/l10n/nl.json +0 -12
- package/templates/branded-lite/l10n/no.json +0 -12
- package/templates/branded-lite/l10n/pl.json +0 -12
- package/templates/branded-lite/l10n/pt.json +0 -12
- package/templates/branded-lite/l10n/ru.json +0 -12
- package/templates/branded-lite/l10n/sv.json +0 -12
- package/templates/branded-lite/l10n/th.json +0 -12
- package/templates/branded-lite/l10n/tr.json +0 -12
- package/templates/branded-lite/l10n/uk.json +0 -12
- package/templates/branded-lite/l10n/vi.json +0 -12
- package/templates/branded-lite/l10n/zh.json +0 -12
- package/templates/branded-lite/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/community-club/dev/index.ts +229 -137
- package/templates/community-club/l10n/ar.json +6 -12
- package/templates/community-club/l10n/cs.json +6 -12
- package/templates/community-club/l10n/da.json +6 -12
- package/templates/community-club/l10n/de.json +6 -12
- package/templates/community-club/l10n/el.json +6 -12
- package/templates/community-club/l10n/en.json +11 -18
- package/templates/community-club/l10n/es.json +6 -12
- package/templates/community-club/l10n/fi.json +6 -12
- package/templates/community-club/l10n/fr.json +6 -12
- package/templates/community-club/l10n/he.json +6 -10
- package/templates/community-club/l10n/hu.json +6 -12
- package/templates/community-club/l10n/id.json +6 -12
- package/templates/community-club/l10n/it.json +6 -12
- package/templates/community-club/l10n/ja.json +6 -12
- package/templates/community-club/l10n/ko.json +6 -12
- package/templates/community-club/l10n/lt.json +6 -12
- package/templates/community-club/l10n/nl.json +6 -12
- package/templates/community-club/l10n/no.json +6 -12
- package/templates/community-club/l10n/pl.json +6 -12
- package/templates/community-club/l10n/pt.json +6 -12
- package/templates/community-club/l10n/ru.json +6 -12
- package/templates/community-club/l10n/sv.json +6 -12
- package/templates/community-club/l10n/th.json +6 -12
- package/templates/community-club/l10n/tr.json +6 -12
- package/templates/community-club/l10n/uk.json +6 -12
- package/templates/community-club/l10n/vi.json +6 -12
- package/templates/community-club/l10n/zh.json +6 -12
- package/templates/community-club/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/events-meetups/dev/index.ts +229 -137
- package/templates/events-meetups/l10n/ar.json +6 -12
- package/templates/events-meetups/l10n/cs.json +6 -12
- package/templates/events-meetups/l10n/da.json +6 -12
- package/templates/events-meetups/l10n/de.json +6 -12
- package/templates/events-meetups/l10n/el.json +6 -12
- package/templates/events-meetups/l10n/en.json +11 -18
- package/templates/events-meetups/l10n/es.json +6 -12
- package/templates/events-meetups/l10n/fi.json +6 -12
- package/templates/events-meetups/l10n/fr.json +6 -12
- package/templates/events-meetups/l10n/he.json +6 -10
- package/templates/events-meetups/l10n/hu.json +6 -12
- package/templates/events-meetups/l10n/id.json +6 -12
- package/templates/events-meetups/l10n/it.json +6 -12
- package/templates/events-meetups/l10n/ja.json +6 -12
- package/templates/events-meetups/l10n/ko.json +6 -12
- package/templates/events-meetups/l10n/lt.json +6 -12
- package/templates/events-meetups/l10n/nl.json +6 -12
- package/templates/events-meetups/l10n/no.json +6 -12
- package/templates/events-meetups/l10n/pl.json +6 -12
- package/templates/events-meetups/l10n/pt.json +6 -12
- package/templates/events-meetups/l10n/ru.json +6 -12
- package/templates/events-meetups/l10n/sv.json +6 -12
- package/templates/events-meetups/l10n/th.json +6 -12
- package/templates/events-meetups/l10n/tr.json +6 -12
- package/templates/events-meetups/l10n/uk.json +6 -12
- package/templates/events-meetups/l10n/vi.json +6 -12
- package/templates/events-meetups/l10n/zh.json +6 -12
- package/templates/events-meetups/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/fitness-gym/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/gym-fitness/dev/index.ts +231 -139
- package/templates/gym-fitness/l10n/ar.json +6 -12
- package/templates/gym-fitness/l10n/cs.json +6 -12
- package/templates/gym-fitness/l10n/da.json +6 -12
- package/templates/gym-fitness/l10n/de.json +6 -12
- package/templates/gym-fitness/l10n/el.json +6 -12
- package/templates/gym-fitness/l10n/en.json +11 -18
- package/templates/gym-fitness/l10n/es.json +6 -12
- package/templates/gym-fitness/l10n/fi.json +6 -12
- package/templates/gym-fitness/l10n/fr.json +6 -12
- package/templates/gym-fitness/l10n/he.json +6 -10
- package/templates/gym-fitness/l10n/hu.json +6 -12
- package/templates/gym-fitness/l10n/id.json +6 -12
- package/templates/gym-fitness/l10n/it.json +6 -12
- package/templates/gym-fitness/l10n/ja.json +6 -12
- package/templates/gym-fitness/l10n/ko.json +6 -12
- package/templates/gym-fitness/l10n/lt.json +6 -12
- package/templates/gym-fitness/l10n/nl.json +6 -12
- package/templates/gym-fitness/l10n/no.json +6 -12
- package/templates/gym-fitness/l10n/pl.json +6 -12
- package/templates/gym-fitness/l10n/pt.json +6 -12
- package/templates/gym-fitness/l10n/ru.json +6 -12
- package/templates/gym-fitness/l10n/sv.json +6 -12
- package/templates/gym-fitness/l10n/th.json +6 -12
- package/templates/gym-fitness/l10n/tr.json +6 -12
- package/templates/gym-fitness/l10n/uk.json +6 -12
- package/templates/gym-fitness/l10n/vi.json +6 -12
- package/templates/gym-fitness/l10n/zh.json +6 -12
- package/templates/gym-fitness/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/medical-services/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/nonprofit-cause/dev/index.ts +229 -137
- package/templates/nonprofit-cause/l10n/ar.json +6 -12
- package/templates/nonprofit-cause/l10n/cs.json +6 -12
- package/templates/nonprofit-cause/l10n/da.json +6 -12
- package/templates/nonprofit-cause/l10n/de.json +6 -12
- package/templates/nonprofit-cause/l10n/el.json +6 -12
- package/templates/nonprofit-cause/l10n/en.json +11 -18
- package/templates/nonprofit-cause/l10n/es.json +6 -12
- package/templates/nonprofit-cause/l10n/fi.json +6 -12
- package/templates/nonprofit-cause/l10n/fr.json +6 -12
- package/templates/nonprofit-cause/l10n/he.json +6 -10
- package/templates/nonprofit-cause/l10n/hu.json +6 -12
- package/templates/nonprofit-cause/l10n/id.json +6 -12
- package/templates/nonprofit-cause/l10n/it.json +6 -12
- package/templates/nonprofit-cause/l10n/ja.json +6 -12
- package/templates/nonprofit-cause/l10n/ko.json +6 -12
- package/templates/nonprofit-cause/l10n/lt.json +6 -12
- package/templates/nonprofit-cause/l10n/nl.json +6 -12
- package/templates/nonprofit-cause/l10n/no.json +6 -12
- package/templates/nonprofit-cause/l10n/pl.json +6 -12
- package/templates/nonprofit-cause/l10n/pt.json +6 -12
- package/templates/nonprofit-cause/l10n/ru.json +6 -12
- package/templates/nonprofit-cause/l10n/sv.json +6 -12
- package/templates/nonprofit-cause/l10n/th.json +6 -12
- package/templates/nonprofit-cause/l10n/tr.json +6 -12
- package/templates/nonprofit-cause/l10n/uk.json +6 -12
- package/templates/nonprofit-cause/l10n/vi.json +6 -12
- package/templates/nonprofit-cause/l10n/zh.json +6 -12
- package/templates/nonprofit-cause/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/personal-fitness-trainer/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/podcast-creator/dev/index.ts +229 -137
- package/templates/podcast-creator/l10n/ar.json +6 -12
- package/templates/podcast-creator/l10n/cs.json +6 -12
- package/templates/podcast-creator/l10n/da.json +6 -12
- package/templates/podcast-creator/l10n/de.json +6 -12
- package/templates/podcast-creator/l10n/el.json +6 -12
- package/templates/podcast-creator/l10n/en.json +11 -18
- package/templates/podcast-creator/l10n/es.json +6 -12
- package/templates/podcast-creator/l10n/fi.json +6 -12
- package/templates/podcast-creator/l10n/fr.json +6 -12
- package/templates/podcast-creator/l10n/he.json +6 -10
- package/templates/podcast-creator/l10n/hu.json +6 -12
- package/templates/podcast-creator/l10n/id.json +6 -12
- package/templates/podcast-creator/l10n/it.json +6 -12
- package/templates/podcast-creator/l10n/ja.json +6 -12
- package/templates/podcast-creator/l10n/ko.json +6 -12
- package/templates/podcast-creator/l10n/lt.json +6 -12
- package/templates/podcast-creator/l10n/nl.json +6 -12
- package/templates/podcast-creator/l10n/no.json +6 -12
- package/templates/podcast-creator/l10n/pl.json +6 -12
- package/templates/podcast-creator/l10n/pt.json +6 -12
- package/templates/podcast-creator/l10n/ru.json +6 -12
- package/templates/podcast-creator/l10n/sv.json +6 -12
- package/templates/podcast-creator/l10n/th.json +6 -12
- package/templates/podcast-creator/l10n/tr.json +6 -12
- package/templates/podcast-creator/l10n/uk.json +6 -12
- package/templates/podcast-creator/l10n/vi.json +6 -12
- package/templates/podcast-creator/l10n/zh.json +6 -12
- package/templates/podcast-creator/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/portfolio-creative/dev/index.ts +231 -139
- package/templates/portfolio-creative/l10n/ar.json +0 -12
- package/templates/portfolio-creative/l10n/cs.json +0 -12
- package/templates/portfolio-creative/l10n/da.json +0 -12
- package/templates/portfolio-creative/l10n/de.json +0 -12
- package/templates/portfolio-creative/l10n/el.json +0 -12
- package/templates/portfolio-creative/l10n/en.json +4 -18
- package/templates/portfolio-creative/l10n/es.json +0 -12
- package/templates/portfolio-creative/l10n/fi.json +0 -12
- package/templates/portfolio-creative/l10n/fr.json +0 -12
- package/templates/portfolio-creative/l10n/he.json +0 -10
- package/templates/portfolio-creative/l10n/hu.json +0 -12
- package/templates/portfolio-creative/l10n/id.json +0 -12
- package/templates/portfolio-creative/l10n/it.json +0 -12
- package/templates/portfolio-creative/l10n/ja.json +0 -12
- package/templates/portfolio-creative/l10n/ko.json +0 -12
- package/templates/portfolio-creative/l10n/lt.json +0 -12
- package/templates/portfolio-creative/l10n/nl.json +0 -12
- package/templates/portfolio-creative/l10n/no.json +0 -12
- package/templates/portfolio-creative/l10n/pl.json +0 -12
- package/templates/portfolio-creative/l10n/pt.json +0 -12
- package/templates/portfolio-creative/l10n/ru.json +0 -12
- package/templates/portfolio-creative/l10n/sv.json +0 -12
- package/templates/portfolio-creative/l10n/th.json +0 -12
- package/templates/portfolio-creative/l10n/tr.json +0 -12
- package/templates/portfolio-creative/l10n/uk.json +0 -12
- package/templates/portfolio-creative/l10n/vi.json +0 -12
- package/templates/portfolio-creative/l10n/zh.json +0 -12
- package/templates/portfolio-creative/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/professional-services/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/restaurant/dev/index.ts +229 -137
- package/templates/restaurant/l10n/ar.json +6 -12
- package/templates/restaurant/l10n/cs.json +6 -12
- package/templates/restaurant/l10n/da.json +6 -12
- package/templates/restaurant/l10n/de.json +6 -12
- package/templates/restaurant/l10n/el.json +6 -12
- package/templates/restaurant/l10n/en.json +11 -18
- package/templates/restaurant/l10n/es.json +6 -12
- package/templates/restaurant/l10n/fi.json +6 -12
- package/templates/restaurant/l10n/fr.json +6 -12
- package/templates/restaurant/l10n/he.json +6 -10
- package/templates/restaurant/l10n/hu.json +6 -12
- package/templates/restaurant/l10n/id.json +6 -12
- package/templates/restaurant/l10n/it.json +6 -12
- package/templates/restaurant/l10n/ja.json +6 -12
- package/templates/restaurant/l10n/ko.json +6 -12
- package/templates/restaurant/l10n/lt.json +6 -12
- package/templates/restaurant/l10n/nl.json +6 -12
- package/templates/restaurant/l10n/no.json +6 -12
- package/templates/restaurant/l10n/pl.json +6 -12
- package/templates/restaurant/l10n/pt.json +6 -12
- package/templates/restaurant/l10n/ru.json +6 -12
- package/templates/restaurant/l10n/sv.json +6 -12
- package/templates/restaurant/l10n/th.json +6 -12
- package/templates/restaurant/l10n/tr.json +6 -12
- package/templates/restaurant/l10n/uk.json +6 -12
- package/templates/restaurant/l10n/vi.json +6 -12
- package/templates/restaurant/l10n/zh.json +6 -12
- package/templates/restaurant/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/retail-store/dev/index.ts +229 -137
- package/templates/retail-store/l10n/ar.json +6 -12
- package/templates/retail-store/l10n/cs.json +6 -12
- package/templates/retail-store/l10n/da.json +6 -12
- package/templates/retail-store/l10n/de.json +6 -12
- package/templates/retail-store/l10n/el.json +6 -12
- package/templates/retail-store/l10n/en.json +11 -18
- package/templates/retail-store/l10n/es.json +6 -12
- package/templates/retail-store/l10n/fi.json +6 -12
- package/templates/retail-store/l10n/fr.json +6 -12
- package/templates/retail-store/l10n/he.json +6 -10
- package/templates/retail-store/l10n/hu.json +6 -12
- package/templates/retail-store/l10n/id.json +6 -12
- package/templates/retail-store/l10n/it.json +6 -12
- package/templates/retail-store/l10n/ja.json +6 -12
- package/templates/retail-store/l10n/ko.json +6 -12
- package/templates/retail-store/l10n/lt.json +6 -12
- package/templates/retail-store/l10n/nl.json +6 -12
- package/templates/retail-store/l10n/no.json +6 -12
- package/templates/retail-store/l10n/pl.json +6 -12
- package/templates/retail-store/l10n/pt.json +6 -12
- package/templates/retail-store/l10n/ru.json +6 -12
- package/templates/retail-store/l10n/sv.json +6 -12
- package/templates/retail-store/l10n/th.json +6 -12
- package/templates/retail-store/l10n/tr.json +6 -12
- package/templates/retail-store/l10n/uk.json +6 -12
- package/templates/retail-store/l10n/vi.json +6 -12
- package/templates/retail-store/l10n/zh.json +6 -12
- package/templates/retail-store/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/salon-spa/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/yoga-studio/dev/index.ts +231 -139
- package/templates/yoga-studio/l10n/ar.json +6 -12
- package/templates/yoga-studio/l10n/cs.json +6 -12
- package/templates/yoga-studio/l10n/da.json +6 -12
- package/templates/yoga-studio/l10n/de.json +6 -12
- package/templates/yoga-studio/l10n/el.json +6 -12
- package/templates/yoga-studio/l10n/en.json +11 -18
- package/templates/yoga-studio/l10n/es.json +6 -12
- package/templates/yoga-studio/l10n/fi.json +6 -12
- package/templates/yoga-studio/l10n/fr.json +6 -12
- package/templates/yoga-studio/l10n/he.json +6 -10
- package/templates/yoga-studio/l10n/hu.json +6 -12
- package/templates/yoga-studio/l10n/id.json +6 -12
- package/templates/yoga-studio/l10n/it.json +6 -12
- package/templates/yoga-studio/l10n/ja.json +6 -12
- package/templates/yoga-studio/l10n/ko.json +6 -12
- package/templates/yoga-studio/l10n/lt.json +6 -12
- package/templates/yoga-studio/l10n/nl.json +6 -12
- package/templates/yoga-studio/l10n/no.json +6 -12
- package/templates/yoga-studio/l10n/pl.json +6 -12
- package/templates/yoga-studio/l10n/pt.json +6 -12
- package/templates/yoga-studio/l10n/ru.json +6 -12
- package/templates/yoga-studio/l10n/sv.json +6 -12
- package/templates/yoga-studio/l10n/th.json +6 -12
- package/templates/yoga-studio/l10n/tr.json +6 -12
- package/templates/yoga-studio/l10n/uk.json +6 -12
- package/templates/yoga-studio/l10n/vi.json +6 -12
- package/templates/yoga-studio/l10n/zh.json +6 -12
- package/templates/yoga-studio/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +30 -19
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorSearch, ExtendedFields, ItemMetadata, PagingMetadataV2, Perk, PricingVariant, PurchaseLimit, SearchDetails, Sorting, StartDateSettings, Tags } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Aggregation, AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BillingTerms, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorSearch, Cursors, CyclesCompletedDetails, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, DateRangeOptions, DayOfMonthOptions, ExtendedFields, Fee, FeeOverride, FeeOverrides, FixedAmountOption, FixedAmountOptions, FixedDateOptions, FixedPriceOptions, FlatRate, GroupByValueResults, IncludeMissingValuesOptions, ItemMetadata, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, PagingMetadataV2, PercentageDiscountOptions, Perk, PriceOverride, PriceOverrides, PricingStrategy, PricingVariant, PurchaseConditions, PurchaseLimit, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, ScalarAggregation, SearchDetails, Sorting, SpecificMembersOptions, StartDateSettings, TagList, Tags, V3Duration, ValueAggregation, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BenefitDistributionSettings {
|
|
6
|
+
customScheduleOptions?: CustomScheduleOptions;
|
|
7
|
+
distributionStrategyType?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BulkPlanResult {
|
|
10
|
+
itemMetadata?: ItemMetadata;
|
|
11
|
+
item?: Plan;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkUpdatePlanTagsByFilterRequest {
|
|
14
|
+
filter?: Record<string, unknown>;
|
|
15
|
+
assignTags?: Tags;
|
|
16
|
+
unassignTags?: Tags;
|
|
17
|
+
}
|
|
18
|
+
export interface BulkUpdatePlanTagsByFilterResponse {
|
|
19
|
+
jobId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface BulkUpdatePlanTagsRequest {
|
|
22
|
+
planIds?: string[];
|
|
23
|
+
assignTags?: Tags;
|
|
24
|
+
unassignTags?: Tags;
|
|
25
|
+
}
|
|
26
|
+
export interface BulkUpdatePlanTagsResponse {
|
|
27
|
+
results?: BulkUpdatePlanTagsResult[];
|
|
28
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
29
|
+
}
|
|
30
|
+
export interface BulkUpdatePlanTagsResult {
|
|
31
|
+
itemMetadata?: ItemMetadata;
|
|
32
|
+
}
|
|
33
|
+
export interface BulkUpdatePlansRequest {
|
|
34
|
+
plans?: MaskedPlan[];
|
|
35
|
+
returnEntity?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface BulkUpdatePlansResponse {
|
|
38
|
+
results?: BulkPlanResult[];
|
|
39
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
40
|
+
}
|
|
41
|
+
export interface CountPlansRequest {
|
|
42
|
+
filter?: Record<string, unknown>;
|
|
43
|
+
search?: SearchDetails;
|
|
44
|
+
}
|
|
45
|
+
export interface CountPlansResponse {
|
|
46
|
+
count?: number;
|
|
47
|
+
}
|
|
48
|
+
export interface CreatePlanRequest {
|
|
49
|
+
plan?: Plan;
|
|
50
|
+
idempotencyKey?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface CreatePlanResponse {
|
|
53
|
+
plan?: Plan;
|
|
54
|
+
}
|
|
55
|
+
export interface CustomScheduleOptions {
|
|
56
|
+
cycleDuration?: Duration;
|
|
57
|
+
}
|
|
58
|
+
export interface DeletePlanRequest {
|
|
59
|
+
planId?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface DeletePlanResponse {
|
|
62
|
+
}
|
|
63
|
+
export interface Duration {
|
|
64
|
+
unit?: string;
|
|
65
|
+
count?: number;
|
|
66
|
+
}
|
|
67
|
+
export interface FixedDatesOptions {
|
|
68
|
+
dates?: string[];
|
|
69
|
+
}
|
|
70
|
+
export interface GetPlanConfigurationConstraintsRequest {
|
|
71
|
+
planId?: string;
|
|
72
|
+
pricingVariantId?: string;
|
|
73
|
+
memberId?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface GetPlanConfigurationConstraintsResponse {
|
|
76
|
+
startDateLimits?: StartDateLimits;
|
|
77
|
+
startDateRules?: StartDateRules;
|
|
78
|
+
}
|
|
79
|
+
export interface GetPlanPreviewRequest {
|
|
80
|
+
planId?: string;
|
|
81
|
+
pricingVariantId?: string;
|
|
82
|
+
memberId?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface GetPlanPreviewResponse {
|
|
85
|
+
plan?: Plan;
|
|
86
|
+
}
|
|
87
|
+
export interface GetPlanRequest {
|
|
88
|
+
planId?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface GetPlanResponse {
|
|
91
|
+
plan?: Plan;
|
|
92
|
+
}
|
|
93
|
+
export interface Image {
|
|
94
|
+
id?: string;
|
|
95
|
+
height?: number;
|
|
96
|
+
width?: number;
|
|
97
|
+
altText?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface ListPlanPreviewsRequest {
|
|
100
|
+
planSelectors?: PlanPreviewSelector[];
|
|
101
|
+
memberId?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface ListPlanPreviewsResponse {
|
|
104
|
+
plans?: Plan[];
|
|
105
|
+
}
|
|
106
|
+
export interface MaskedPlan {
|
|
107
|
+
plan?: Plan;
|
|
108
|
+
}
|
|
109
|
+
export interface MonthlyRecurrence {
|
|
110
|
+
dayOfMonth?: number;
|
|
111
|
+
}
|
|
112
|
+
export interface Plan {
|
|
113
|
+
id?: string;
|
|
114
|
+
revision?: string;
|
|
115
|
+
createdDate?: string;
|
|
116
|
+
updatedDate?: string;
|
|
117
|
+
name?: string;
|
|
118
|
+
description?: string;
|
|
119
|
+
image?: Image;
|
|
120
|
+
slug?: string;
|
|
121
|
+
termsAndConditions?: string;
|
|
122
|
+
maxPurchasesPerBuyer?: number;
|
|
123
|
+
pricingVariants?: PricingVariant[];
|
|
124
|
+
perks?: Perk[];
|
|
125
|
+
visibility?: string;
|
|
126
|
+
buyable?: boolean;
|
|
127
|
+
formId?: string;
|
|
128
|
+
buyerCanCancel?: boolean;
|
|
129
|
+
currency?: string;
|
|
130
|
+
purchaseLimits?: PurchaseLimit[];
|
|
131
|
+
benefitDistributionSettings?: BenefitDistributionSettings;
|
|
132
|
+
startDateSettings?: StartDateSettings;
|
|
133
|
+
tags?: Tags;
|
|
134
|
+
extendedFields?: ExtendedFields;
|
|
135
|
+
}
|
|
136
|
+
export interface PlanPreviewSelector {
|
|
137
|
+
planId?: string;
|
|
138
|
+
variantId?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface QueryPlansRequest {
|
|
141
|
+
query?: QueryV2;
|
|
142
|
+
}
|
|
143
|
+
export interface QueryPlansResponse {
|
|
144
|
+
plans?: Plan[];
|
|
145
|
+
pagingMetadata?: PagingMetadataV2;
|
|
146
|
+
}
|
|
147
|
+
export interface QueryV2 {
|
|
148
|
+
cursorPaging?: CursorPaging;
|
|
149
|
+
filter?: Record<string, unknown>;
|
|
150
|
+
sort?: Sorting[];
|
|
151
|
+
}
|
|
152
|
+
export interface RecurrenceOptions {
|
|
153
|
+
weeklyOptions?: WeeklyRecurrence;
|
|
154
|
+
monthlyOptions?: MonthlyRecurrence;
|
|
155
|
+
startDate?: string;
|
|
156
|
+
endDate?: string;
|
|
157
|
+
interval?: number;
|
|
158
|
+
recurrenceType?: string;
|
|
159
|
+
}
|
|
160
|
+
export interface SearchPlansRequest {
|
|
161
|
+
search?: CursorSearch;
|
|
162
|
+
}
|
|
163
|
+
export interface SearchPlansResponse {
|
|
164
|
+
plans?: Plan[];
|
|
165
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
166
|
+
aggregationData?: AggregationData;
|
|
167
|
+
}
|
|
168
|
+
export interface StartDateLimits {
|
|
169
|
+
earliestDate?: string;
|
|
170
|
+
latestDate?: string;
|
|
171
|
+
errorMessage?: string;
|
|
172
|
+
}
|
|
173
|
+
export interface StartDateRules {
|
|
174
|
+
fixedDatesOptions?: FixedDatesOptions;
|
|
175
|
+
recurrenceOptions?: RecurrenceOptions;
|
|
176
|
+
type?: string;
|
|
177
|
+
errorMessage?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface UpdatePlanRequest {
|
|
180
|
+
plan?: Plan;
|
|
181
|
+
}
|
|
182
|
+
export interface UpdatePlanResponse {
|
|
183
|
+
plan?: Plan;
|
|
184
|
+
}
|
|
185
|
+
export interface WeeklyRecurrence {
|
|
186
|
+
weekday?: string;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Adds or removes tags on multiple plans.
|
|
190
|
+
*
|
|
191
|
+
* POST /pricing-plans/v3/bulk/plans/update-tags
|
|
192
|
+
*/
|
|
193
|
+
export declare function bulkUpdatePlanTags(req?: BulkUpdatePlanTagsRequest, opts?: WixCallOptions): Promise<BulkUpdatePlanTagsResponse>;
|
|
194
|
+
/**
|
|
195
|
+
* Asynchronously updates tags on multiple plans that match the provided filter criteria.
|
|
196
|
+
*
|
|
197
|
+
* POST /pricing-plans/v3/bulk/plans/update-tags-by-filter
|
|
198
|
+
*/
|
|
199
|
+
export declare function bulkUpdatePlanTagsByFilter(req?: BulkUpdatePlanTagsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdatePlanTagsByFilterResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* Updates multiple plans at once.
|
|
202
|
+
*
|
|
203
|
+
* POST /pricing-plans/v3/bulk/plans/update
|
|
204
|
+
*/
|
|
205
|
+
export declare function bulkUpdatePlans(req?: BulkUpdatePlansRequest, opts?: WixCallOptions): Promise<BulkUpdatePlansResponse>;
|
|
206
|
+
/**
|
|
207
|
+
* Counts plans by the provided filter.
|
|
208
|
+
*
|
|
209
|
+
* POST /pricing-plans/v3/plans/count
|
|
210
|
+
*/
|
|
211
|
+
export declare function countPlans(req?: CountPlansRequest, opts?: WixCallOptions): Promise<CountPlansResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* Creates a plan with specified billing terms and a pricing strategy.
|
|
214
|
+
*
|
|
215
|
+
* POST /pricing-plans/v3/plans
|
|
216
|
+
*/
|
|
217
|
+
export declare function createPlan(req?: CreatePlanRequest, opts?: WixCallOptions): Promise<CreatePlanResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* Deletes a plan.
|
|
220
|
+
*
|
|
221
|
+
* DELETE /pricing-plans/v3/plans/{planId}
|
|
222
|
+
*/
|
|
223
|
+
export declare function deletePlan(req: DeletePlanRequest, opts?: WixCallOptions): Promise<DeletePlanResponse>;
|
|
224
|
+
/**
|
|
225
|
+
* Retrieves a plan by ID.
|
|
226
|
+
*
|
|
227
|
+
* GET /pricing-plans/v3/plans/{planId}
|
|
228
|
+
*/
|
|
229
|
+
export declare function getPlan(req: GetPlanRequest, opts?: WixCallOptions): Promise<GetPlanResponse>;
|
|
230
|
+
/**
|
|
231
|
+
* TODO: exposure must go back to PRIVATE. It's PUBLIC only so the storefront can call it directly while the Pricing Plans frontend server isn't serving this call yet.
|
|
232
|
+
*
|
|
233
|
+
* GET /pricing-plans/ecom-integration/v3/plan-configuration-constraints
|
|
234
|
+
*/
|
|
235
|
+
export declare function getPlanConfigurationConstraints(req?: GetPlanConfigurationConstraintsRequest, opts?: WixCallOptions): Promise<GetPlanConfigurationConstraintsResponse>;
|
|
236
|
+
/**
|
|
237
|
+
* Retrieves a plan with the pricing that applies to a specific member.
|
|
238
|
+
*
|
|
239
|
+
* GET /pricing-plans/ecom-integration/v3/plan-preview
|
|
240
|
+
*/
|
|
241
|
+
export declare function getPlanPreview(req?: GetPlanPreviewRequest, opts?: WixCallOptions): Promise<GetPlanPreviewResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* Retrieves several plans at once with the pricing that applies to a specific member.
|
|
244
|
+
*
|
|
245
|
+
* POST /pricing-plans/ecom-integration/v3/plan-preview/previews
|
|
246
|
+
*/
|
|
247
|
+
export declare function listPlanPreviews(req?: ListPlanPreviewsRequest, opts?: WixCallOptions): Promise<ListPlanPreviewsResponse>;
|
|
248
|
+
/**
|
|
249
|
+
*/
|
|
250
|
+
export declare function queryPlans(req?: QueryPlansRequest, opts?: WixCallOptions): Promise<QueryPlansResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* Retrieves a list of plans that match the provided search query and optionally performs aggregations on the data queried.
|
|
253
|
+
*
|
|
254
|
+
* @permissionId PRICING_PLANS.PLAN_READ_PUBLIC
|
|
255
|
+
* @permissionId PRICING_PLANS.PLAN_READ
|
|
256
|
+
* @fqn wix.pricing_plans.plans.v3.PlanService.SearchPlans
|
|
257
|
+
*
|
|
258
|
+
* POST /pricing-plans/v3/plans/search
|
|
259
|
+
*/
|
|
260
|
+
export declare function searchPlans(req?: SearchPlansRequest, opts?: WixCallOptions): Promise<SearchPlansResponse>;
|
|
261
|
+
/**
|
|
262
|
+
* Updates a single plan.
|
|
263
|
+
*
|
|
264
|
+
* PATCH /pricing-plans/v3/plans/{planId}
|
|
265
|
+
*/
|
|
266
|
+
export declare function updatePlan(req: UpdatePlanRequest, opts?: WixCallOptions): Promise<UpdatePlanResponse>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ExtendedFields } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface GetPricingPlansSettingsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetPricingPlansSettingsResponse {
|
|
8
|
+
pricingPlansSettings?: PricingPlansSettings;
|
|
9
|
+
}
|
|
10
|
+
export interface GuestCheckoutSettings {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface InvoiceSettings {
|
|
14
|
+
sendInvoiceOnPayment?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface PricingPlansSettings {
|
|
17
|
+
revision?: string;
|
|
18
|
+
createdDate?: string;
|
|
19
|
+
updatedDate?: string;
|
|
20
|
+
taxableAddress?: string;
|
|
21
|
+
extendedFields?: ExtendedFields;
|
|
22
|
+
guestCheckoutSettings?: GuestCheckoutSettings;
|
|
23
|
+
invoiceSettings?: InvoiceSettings;
|
|
24
|
+
}
|
|
25
|
+
export interface UpdatePricingPlansSettingsRequest {
|
|
26
|
+
pricingPlansSettings?: PricingPlansSettings;
|
|
27
|
+
}
|
|
28
|
+
export interface UpdatePricingPlansSettingsResponse {
|
|
29
|
+
pricingPlansSettings?: PricingPlansSettings;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a site's Pricing Plans settings.
|
|
33
|
+
*
|
|
34
|
+
* @permissionId PRICING_PLANS.PRICING_PLANS_SETTINGS_READ
|
|
35
|
+
* @fqn wix.pricing_plans.settings.v1.PricingPlansSettingsService.GetPricingPlansSettings
|
|
36
|
+
*
|
|
37
|
+
* GET /pricing-plans/settings/v1/pricing-plans-settings
|
|
38
|
+
*/
|
|
39
|
+
export declare function getPricingPlansSettings(req?: GetPricingPlansSettingsRequest, opts?: WixCallOptions): Promise<GetPricingPlansSettingsResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Updates a site's Pricing Plans settings.
|
|
42
|
+
*
|
|
43
|
+
* @permissionId PRICING_PLANS.PRICING_PLANS_SETTINGS_UPDATE
|
|
44
|
+
* @fqn wix.pricing_plans.settings.v1.PricingPlansSettingsService.UpdatePricingPlansSettings
|
|
45
|
+
*
|
|
46
|
+
* PATCH /pricing-plans/settings/v1/pricing-plans-settings
|
|
47
|
+
*/
|
|
48
|
+
export declare function updatePricingPlansSettings(req?: UpdatePricingPlansSettingsRequest, opts?: WixCallOptions): Promise<UpdatePricingPlansSettingsResponse>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery, ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CreatePricingVariantCategoryRequest {
|
|
6
|
+
pricingVariantCategory?: PricingVariantCategory;
|
|
7
|
+
fields?: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface CreatePricingVariantCategoryResponse {
|
|
10
|
+
pricingVariantCategory?: PricingVariantCategory;
|
|
11
|
+
}
|
|
12
|
+
export interface DeletePricingVariantCategoryRequest {
|
|
13
|
+
pricingVariantCategoryId?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface DeletePricingVariantCategoryResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetPricingVariantCategoryRequest {
|
|
18
|
+
pricingVariantCategoryId?: string;
|
|
19
|
+
fields?: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface GetPricingVariantCategoryResponse {
|
|
22
|
+
pricingVariantCategory?: PricingVariantCategory;
|
|
23
|
+
}
|
|
24
|
+
export interface PricingVariantCategory {
|
|
25
|
+
id?: string;
|
|
26
|
+
revision?: string;
|
|
27
|
+
createdDate?: string;
|
|
28
|
+
updatedDate?: string;
|
|
29
|
+
name?: string;
|
|
30
|
+
planCount?: number;
|
|
31
|
+
extendedFields?: ExtendedFields;
|
|
32
|
+
}
|
|
33
|
+
export interface QueryPricingVariantCategoriesRequest {
|
|
34
|
+
query?: CursorQuery;
|
|
35
|
+
fields?: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface QueryPricingVariantCategoriesResponse {
|
|
38
|
+
pricingVariantCategories?: PricingVariantCategory[];
|
|
39
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
40
|
+
}
|
|
41
|
+
export interface UpdatePricingVariantCategoryRequest {
|
|
42
|
+
pricingVariantCategory?: PricingVariantCategory;
|
|
43
|
+
fields?: string[];
|
|
44
|
+
}
|
|
45
|
+
export interface UpdatePricingVariantCategoryResponse {
|
|
46
|
+
pricingVariantCategory?: PricingVariantCategory;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Creates a pricing variant category.
|
|
50
|
+
*
|
|
51
|
+
* @permissionId pricing_plans:v3:pricing_variant_category:create_pricing_variant_category
|
|
52
|
+
* @fqn wix.pricing_plans.v3.PricingVariantCategoryService.CreatePricingVariantCategory
|
|
53
|
+
*
|
|
54
|
+
* POST /_api/pricing-variant-categories/v3/pricing-variant-categories
|
|
55
|
+
*/
|
|
56
|
+
export declare function createPricingVariantCategory(req?: CreatePricingVariantCategoryRequest, opts?: WixCallOptions): Promise<CreatePricingVariantCategoryResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Deletes a pricing variant category.
|
|
59
|
+
*
|
|
60
|
+
* @permissionId pricing_plans:v3:pricing_variant_category:delete_pricing_variant_category
|
|
61
|
+
* @fqn wix.pricing_plans.v3.PricingVariantCategoryService.DeletePricingVariantCategory
|
|
62
|
+
*
|
|
63
|
+
* DELETE /_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}
|
|
64
|
+
*/
|
|
65
|
+
export declare function deletePricingVariantCategory(req: DeletePricingVariantCategoryRequest, opts?: WixCallOptions): Promise<DeletePricingVariantCategoryResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Retrieves a pricing variant category.
|
|
68
|
+
*
|
|
69
|
+
* @permissionId pricing_plans:v3:pricing_variant_category:get_pricing_variant_category
|
|
70
|
+
* @fqn wix.pricing_plans.v3.PricingVariantCategoryService.GetPricingVariantCategory
|
|
71
|
+
*
|
|
72
|
+
* GET /_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}
|
|
73
|
+
*/
|
|
74
|
+
export declare function getPricingVariantCategory(req: GetPricingVariantCategoryRequest, opts?: WixCallOptions): Promise<GetPricingVariantCategoryResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves a list of pricing variant categories, given the provided paging, filtering, and sorting.
|
|
77
|
+
*
|
|
78
|
+
* @permissionId pricing_plans:v3:pricing_variant_category:query_pricing_variant_categories
|
|
79
|
+
* @fqn wix.pricing_plans.v3.PricingVariantCategoryService.QueryPricingVariantCategories
|
|
80
|
+
*
|
|
81
|
+
* POST /_api/pricing-variant-categories/v3/pricing-variant-categories/query
|
|
82
|
+
*/
|
|
83
|
+
export declare function queryPricingVariantCategories(req?: QueryPricingVariantCategoriesRequest, opts?: WixCallOptions): Promise<QueryPricingVariantCategoriesResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Updates a pricing variant category. Each update increments `revision` by 1, the current `revision` must be passed to prevent unintended overwrites.
|
|
86
|
+
*
|
|
87
|
+
* @permissionId pricing_plans:v3:pricing_variant_category:update_pricing_variant_category
|
|
88
|
+
* @fqn wix.pricing_plans.v3.PricingVariantCategoryService.UpdatePricingVariantCategory
|
|
89
|
+
*
|
|
90
|
+
* PATCH /_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}
|
|
91
|
+
*/
|
|
92
|
+
export declare function updatePricingVariantCategory(req: UpdatePricingVariantCategoryRequest, opts?: WixCallOptions): Promise<UpdatePricingVariantCategoryResponse>;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CursorPagingMetadata, CursorQuery, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ItemMetadata, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Brand {
|
|
6
|
+
id?: string;
|
|
7
|
+
revision?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
updatedDate?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
assignedProductsCount?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkBrandsResult {
|
|
14
|
+
itemMetadata?: ItemMetadata;
|
|
15
|
+
item?: Brand;
|
|
16
|
+
}
|
|
17
|
+
export interface BulkCreateBrandsRequest {
|
|
18
|
+
brands?: Brand[];
|
|
19
|
+
returnEntity?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface BulkCreateBrandsResponse {
|
|
22
|
+
results?: BulkBrandsResult[];
|
|
23
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
24
|
+
}
|
|
25
|
+
export interface BulkDeleteBrandsRequest {
|
|
26
|
+
brandIds?: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface BulkDeleteBrandsResponse {
|
|
29
|
+
results?: BulkDeleteBrandsResponseBulkBrandsResult[];
|
|
30
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
31
|
+
}
|
|
32
|
+
export interface BulkDeleteBrandsResponseBulkBrandsResult {
|
|
33
|
+
itemMetadata?: ItemMetadata;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkGetOrCreateBrandsRequest {
|
|
36
|
+
brandNames?: string[];
|
|
37
|
+
fields?: string[];
|
|
38
|
+
}
|
|
39
|
+
export interface BulkGetOrCreateBrandsResponse {
|
|
40
|
+
results?: BulkBrandsResult[];
|
|
41
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
42
|
+
}
|
|
43
|
+
export interface BulkUpdateBrandsRequest {
|
|
44
|
+
brands?: MaskedBrand[];
|
|
45
|
+
returnEntity?: boolean;
|
|
46
|
+
fields?: string[];
|
|
47
|
+
}
|
|
48
|
+
export interface BulkUpdateBrandsResponse {
|
|
49
|
+
results?: BulkBrandsResult[];
|
|
50
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
51
|
+
}
|
|
52
|
+
export interface CountBrandsRequest {
|
|
53
|
+
filter?: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
export interface CountBrandsResponse {
|
|
56
|
+
count?: number;
|
|
57
|
+
}
|
|
58
|
+
export interface CreateBrandRequest {
|
|
59
|
+
brand?: Brand;
|
|
60
|
+
}
|
|
61
|
+
export interface CreateBrandResponse {
|
|
62
|
+
brand?: Brand;
|
|
63
|
+
}
|
|
64
|
+
export interface DeleteBrandRequest {
|
|
65
|
+
brandId?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface DeleteBrandResponse {
|
|
68
|
+
}
|
|
69
|
+
export interface GetBrandRequest {
|
|
70
|
+
brandId?: string;
|
|
71
|
+
fields?: string[];
|
|
72
|
+
}
|
|
73
|
+
export interface GetBrandResponse {
|
|
74
|
+
brand?: Brand;
|
|
75
|
+
}
|
|
76
|
+
export interface GetOrCreateBrandRequest {
|
|
77
|
+
brandName?: string;
|
|
78
|
+
fields?: string[];
|
|
79
|
+
}
|
|
80
|
+
export interface GetOrCreateBrandResponse {
|
|
81
|
+
brand?: Brand;
|
|
82
|
+
}
|
|
83
|
+
export interface MaskedBrand {
|
|
84
|
+
brand?: Brand;
|
|
85
|
+
fieldMask?: string[];
|
|
86
|
+
}
|
|
87
|
+
export interface QueryBrandsRequest {
|
|
88
|
+
query?: CursorQuery;
|
|
89
|
+
fields?: string[];
|
|
90
|
+
}
|
|
91
|
+
export interface QueryBrandsResponse {
|
|
92
|
+
brands?: Brand[];
|
|
93
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
94
|
+
}
|
|
95
|
+
export interface UpdateBrandRequest {
|
|
96
|
+
brand?: Brand;
|
|
97
|
+
fields?: string[];
|
|
98
|
+
}
|
|
99
|
+
export interface UpdateBrandResponse {
|
|
100
|
+
brand?: Brand;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates multiple brands.
|
|
104
|
+
*
|
|
105
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
106
|
+
* @permissionId WIX_STORES.BRAND_CREATE
|
|
107
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.BulkCreateBrands
|
|
108
|
+
*
|
|
109
|
+
* POST /stores/v3/bulk/brands/create
|
|
110
|
+
*/
|
|
111
|
+
export declare function bulkCreateBrands(req?: BulkCreateBrandsRequest, opts?: WixCallOptions): Promise<BulkCreateBrandsResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Deletes multiple brands.
|
|
114
|
+
*
|
|
115
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
116
|
+
* @permissionId WIX_STORES.BRAND_DELETE
|
|
117
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.BulkDeleteBrands
|
|
118
|
+
*
|
|
119
|
+
* POST /stores/v3/bulk/brands/delete
|
|
120
|
+
*/
|
|
121
|
+
export declare function bulkDeleteBrands(req?: BulkDeleteBrandsRequest, opts?: WixCallOptions): Promise<BulkDeleteBrandsResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves multiple brands by name, or creates multiple brands if those with the passed `brandNames` don't exist.
|
|
124
|
+
*
|
|
125
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
126
|
+
* @permissionId WIX_STORES.BRAND_GET_OR_CREATE
|
|
127
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.BulkGetOrCreateBrands
|
|
128
|
+
*
|
|
129
|
+
* POST /stores/v3/bulk/brands/get-or-create
|
|
130
|
+
*/
|
|
131
|
+
export declare function bulkGetOrCreateBrands(req?: BulkGetOrCreateBrandsRequest, opts?: WixCallOptions): Promise<BulkGetOrCreateBrandsResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Updates multiple brands.
|
|
134
|
+
*
|
|
135
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
136
|
+
* @permissionId WIX_STORES.BRAND_UPDATE
|
|
137
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.BulkUpdateBrands
|
|
138
|
+
*
|
|
139
|
+
* POST /stores/v3/bulk/brands/update
|
|
140
|
+
*/
|
|
141
|
+
export declare function bulkUpdateBrands(req?: BulkUpdateBrandsRequest, opts?: WixCallOptions): Promise<BulkUpdateBrandsResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Counts the brands that match the provided filter.
|
|
144
|
+
*
|
|
145
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
146
|
+
* @permissionId WIX_STORES.BRAND_READ
|
|
147
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.CountBrands
|
|
148
|
+
*
|
|
149
|
+
* POST /stores/v3/brands/count
|
|
150
|
+
*/
|
|
151
|
+
export declare function countBrands(req?: CountBrandsRequest, opts?: WixCallOptions): Promise<CountBrandsResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Creates a brand.
|
|
154
|
+
*
|
|
155
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
156
|
+
* @permissionId WIX_STORES.BRAND_CREATE
|
|
157
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.CreateBrand
|
|
158
|
+
*
|
|
159
|
+
* POST /stores/v3/brands
|
|
160
|
+
*/
|
|
161
|
+
export declare function createBrand(req?: CreateBrandRequest, opts?: WixCallOptions): Promise<CreateBrandResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Deletes a brand.
|
|
164
|
+
*
|
|
165
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
166
|
+
* @permissionId WIX_STORES.BRAND_DELETE
|
|
167
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.DeleteBrand
|
|
168
|
+
*
|
|
169
|
+
* DELETE /stores/v3/brands/{brandId}
|
|
170
|
+
*/
|
|
171
|
+
export declare function deleteBrand(req: DeleteBrandRequest, opts?: WixCallOptions): Promise<DeleteBrandResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves a brand.
|
|
174
|
+
*
|
|
175
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
176
|
+
* @permissionId WIX_STORES.BRAND_READ
|
|
177
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.GetBrand
|
|
178
|
+
*
|
|
179
|
+
* GET /stores/v3/brands/{brandId}
|
|
180
|
+
*/
|
|
181
|
+
export declare function getBrand(req: GetBrandRequest, opts?: WixCallOptions): Promise<GetBrandResponse>;
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves a brand by name, or creates a brand if one with the passed `brandName` doesn't exist.
|
|
184
|
+
*
|
|
185
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
186
|
+
* @permissionId WIX_STORES.BRAND_GET_OR_CREATE
|
|
187
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.GetOrCreateBrand
|
|
188
|
+
*
|
|
189
|
+
* POST /stores/v3/brands/get-or-create
|
|
190
|
+
*/
|
|
191
|
+
export declare function getOrCreateBrand(req?: GetOrCreateBrandRequest, opts?: WixCallOptions): Promise<GetOrCreateBrandResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Retrieves a list of up to 100 brands, given the provided filtering, sorting, and cursor paging. Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
194
|
+
*
|
|
195
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
196
|
+
* @permissionId WIX_STORES.BRAND_READ
|
|
197
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.QueryBrands
|
|
198
|
+
*
|
|
199
|
+
* POST /stores/v3/brands/query
|
|
200
|
+
*/
|
|
201
|
+
export declare function queryBrands(req?: QueryBrandsRequest, opts?: WixCallOptions): Promise<QueryBrandsResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* Updates a brand.
|
|
204
|
+
*
|
|
205
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
206
|
+
* @permissionId WIX_STORES.BRAND_UPDATE
|
|
207
|
+
* @fqn com.wix.stores.catalog.brand.v3.BrandService.UpdateBrand
|
|
208
|
+
*
|
|
209
|
+
* PATCH /stores/v3/brands/{brandId}
|
|
210
|
+
*/
|
|
211
|
+
export declare function updateBrand(req: UpdateBrandRequest, opts?: WixCallOptions): Promise<UpdateBrandResponse>;
|