@wix/himalaya-cli 0.2004.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.
- 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 +8 -8
- 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
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, ItemMetadata } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkCreateFulfillmentRequest {
|
|
6
|
+
ordersWithFulfillments?: BulkCreateOrderWithFulfillments[];
|
|
7
|
+
}
|
|
8
|
+
export interface BulkCreateFulfillmentResponse {
|
|
9
|
+
results?: BulkOrderFulfillmentsResult[];
|
|
10
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
11
|
+
}
|
|
12
|
+
export interface BulkCreateOrderWithFulfillments {
|
|
13
|
+
orderId?: string;
|
|
14
|
+
fulfillments?: Fulfillment[];
|
|
15
|
+
}
|
|
16
|
+
export interface BulkOrderFulfillmentsResult {
|
|
17
|
+
itemMetadata?: ItemMetadata;
|
|
18
|
+
ordersWithFulfillments?: OrderWithFulfillments;
|
|
19
|
+
}
|
|
20
|
+
export interface CreateFulfillmentRequest {
|
|
21
|
+
orderId?: string;
|
|
22
|
+
fulfillment?: Fulfillment;
|
|
23
|
+
}
|
|
24
|
+
export interface CreateFulfillmentResponse {
|
|
25
|
+
orderWithFulfillments?: OrderWithFulfillments;
|
|
26
|
+
fulfillmentId?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CustomFulfillmentInfo {
|
|
29
|
+
fieldsData?: Record<string, unknown>;
|
|
30
|
+
}
|
|
31
|
+
export interface DeleteFulfillmentRequest {
|
|
32
|
+
orderId?: string;
|
|
33
|
+
fulfillmentId?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface DeleteFulfillmentResponse {
|
|
36
|
+
orderWithFulfillments?: OrderWithFulfillments;
|
|
37
|
+
}
|
|
38
|
+
export interface Fulfillment {
|
|
39
|
+
trackingInfo?: FulfillmentTrackingInfo;
|
|
40
|
+
customInfo?: CustomFulfillmentInfo;
|
|
41
|
+
id?: string;
|
|
42
|
+
createdDate?: string;
|
|
43
|
+
lineItems?: FulfillmentLineItem[];
|
|
44
|
+
status?: string;
|
|
45
|
+
completed?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface FulfillmentLineItem {
|
|
48
|
+
id?: string;
|
|
49
|
+
quantity?: number;
|
|
50
|
+
}
|
|
51
|
+
export interface FulfillmentTrackingInfo {
|
|
52
|
+
trackingNumber?: string;
|
|
53
|
+
shippingProvider?: string;
|
|
54
|
+
trackingLink?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ListFulfillmentsForMultipleOrdersRequest {
|
|
57
|
+
orderIds?: string[];
|
|
58
|
+
}
|
|
59
|
+
export interface ListFulfillmentsForMultipleOrdersResponse {
|
|
60
|
+
ordersWithFulfillments?: OrderWithFulfillments[];
|
|
61
|
+
}
|
|
62
|
+
export interface ListFulfillmentsForSingleOrderRequest {
|
|
63
|
+
orderId?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ListFulfillmentsForSingleOrderResponse {
|
|
66
|
+
orderWithFulfillments?: OrderWithFulfillments;
|
|
67
|
+
}
|
|
68
|
+
export interface OrderWithFulfillments {
|
|
69
|
+
orderId?: string;
|
|
70
|
+
fulfillments?: Fulfillment[];
|
|
71
|
+
}
|
|
72
|
+
export interface UpdateFulfillmentRequest {
|
|
73
|
+
orderId?: string;
|
|
74
|
+
fulfillment?: Fulfillment;
|
|
75
|
+
}
|
|
76
|
+
export interface UpdateFulfillmentResponse {
|
|
77
|
+
orderWithFulfillments?: OrderWithFulfillments;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Creates multiple fulfillments for one or more orders.
|
|
81
|
+
*
|
|
82
|
+
* @permissionId ECOM.MODIFY_FULFILLMENTS
|
|
83
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.BulkCreateFulfillment
|
|
84
|
+
*
|
|
85
|
+
* POST /ecom/v1/fulfillments/orders/bulk/create-fulfillments
|
|
86
|
+
*/
|
|
87
|
+
export declare function bulkCreateFulfillments(req?: BulkCreateFulfillmentRequest, opts?: WixCallOptions): Promise<BulkCreateFulfillmentResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates an order fulfillment.
|
|
90
|
+
*
|
|
91
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
92
|
+
* @permissionId ECOM.MODIFY_FULFILLMENTS
|
|
93
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.CreateFulfillment
|
|
94
|
+
*
|
|
95
|
+
* POST /ecom/v1/fulfillments/orders/{orderId}/create-fulfillment
|
|
96
|
+
*/
|
|
97
|
+
export declare function createFulfillment(req: CreateFulfillmentRequest, opts?: WixCallOptions): Promise<CreateFulfillmentResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Deletes an existing order fulfillment.
|
|
100
|
+
*
|
|
101
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
102
|
+
* @permissionId ECOM.MODIFY_FULFILLMENTS
|
|
103
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.DeleteFulfillment
|
|
104
|
+
*
|
|
105
|
+
* DELETE /ecom/v1/fulfillments/{fulfillmentId}/orders/{orderId}
|
|
106
|
+
*/
|
|
107
|
+
export declare function deleteFulfillment(req: DeleteFulfillmentRequest, opts?: WixCallOptions): Promise<DeleteFulfillmentResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Retrieves fulfillments associated with multiple specified orders.
|
|
110
|
+
*
|
|
111
|
+
* @scope member — requires a signed-in site member.
|
|
112
|
+
* @permissionId ECOM.READ_FULFILLMENTS
|
|
113
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.ListFulfillmentsForMultipleOrders
|
|
114
|
+
*
|
|
115
|
+
* POST /ecom/v1/fulfillments/list-by-ids
|
|
116
|
+
*/
|
|
117
|
+
export declare function listFulfillmentsForMultipleOrders(req?: ListFulfillmentsForMultipleOrdersRequest, opts?: WixCallOptions): Promise<ListFulfillmentsForMultipleOrdersResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Retrieves fulfillments associated with a specified order.
|
|
120
|
+
*
|
|
121
|
+
* @scope member — requires a signed-in site member.
|
|
122
|
+
* @permissionId ECOM.READ_FULFILLMENTS
|
|
123
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.ListFulfillmentsForSingleOrder
|
|
124
|
+
*
|
|
125
|
+
* GET /ecom/v1/fulfillments/orders/{orderId}
|
|
126
|
+
*/
|
|
127
|
+
export declare function listFulfillmentsForSingleOrder(req: ListFulfillmentsForSingleOrderRequest, opts?: WixCallOptions): Promise<ListFulfillmentsForSingleOrderResponse>;
|
|
128
|
+
/**
|
|
129
|
+
* Updates a fulfillment's properties. To update a field's value, include the new value in the `fulfillment` field in the body params. To remove a field's value, pass `null`.
|
|
130
|
+
*
|
|
131
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
132
|
+
* @permissionId ECOM.MODIFY_FULFILLMENTS
|
|
133
|
+
* @fqn com.wix.ecom.orders.fulfillments.v1.Fulfillments.UpdateFulfillment
|
|
134
|
+
*
|
|
135
|
+
* PATCH /ecom/v1/fulfillments/{fulfillmentId}/orders/{orderId}
|
|
136
|
+
*/
|
|
137
|
+
export declare function updateFulfillment(req: UpdateFulfillmentRequest, opts?: WixCallOptions): Promise<UpdateFulfillmentResponse>;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, ItemMetadata } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddInvoiceToOrderRequest {
|
|
6
|
+
orderId?: string;
|
|
7
|
+
invoiceInfo?: Invoice;
|
|
8
|
+
}
|
|
9
|
+
export interface AddInvoiceToOrderResponse {
|
|
10
|
+
orderInvoices?: Invoice[];
|
|
11
|
+
}
|
|
12
|
+
export interface BulkGenerateInvoicesRequest {
|
|
13
|
+
orderIds?: string[];
|
|
14
|
+
}
|
|
15
|
+
export interface BulkGenerateInvoicesResponse {
|
|
16
|
+
results?: BulkInvoiceResult[];
|
|
17
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
18
|
+
}
|
|
19
|
+
export interface BulkInvoiceResult {
|
|
20
|
+
itemMetadata?: ItemMetadata;
|
|
21
|
+
item?: InvoiceForOrder;
|
|
22
|
+
}
|
|
23
|
+
export interface GenerateInvoiceRequest {
|
|
24
|
+
orderId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface GenerateInvoiceResponse {
|
|
27
|
+
invoiceId?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface Invoice {
|
|
30
|
+
id?: string;
|
|
31
|
+
appId?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface InvoiceForOrder {
|
|
34
|
+
orderId?: string;
|
|
35
|
+
invoiceId?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface InvoicesForOrder {
|
|
38
|
+
orderId?: string;
|
|
39
|
+
invoicesInfo?: Invoice[];
|
|
40
|
+
}
|
|
41
|
+
export interface ListInvoicesForMultipleOrdersRequest {
|
|
42
|
+
orderIds?: string[];
|
|
43
|
+
}
|
|
44
|
+
export interface ListInvoicesForMultipleOrdersResponse {
|
|
45
|
+
invoicesForOrder?: InvoicesForOrder[];
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/invoices/orders/{orderId}/add-invoice answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
49
|
+
*
|
|
50
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
51
|
+
*
|
|
52
|
+
* POST /ecom/v1/invoices/orders/{orderId}/add-invoice
|
|
53
|
+
*/
|
|
54
|
+
export declare function addInvoiceToOrder(req: AddInvoiceToOrderRequest, opts?: WixCallOptions): Promise<AddInvoiceToOrderResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/bulk/invoices/generate answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
57
|
+
*
|
|
58
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
59
|
+
*
|
|
60
|
+
* POST /ecom/v1/bulk/invoices/generate
|
|
61
|
+
*/
|
|
62
|
+
export declare function bulkGenerateInvoices(req?: BulkGenerateInvoicesRequest, opts?: WixCallOptions): Promise<BulkGenerateInvoicesResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/invoices/orders/{orderId} answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
65
|
+
*
|
|
66
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
67
|
+
*
|
|
68
|
+
* POST /ecom/v1/invoices/orders/{orderId}
|
|
69
|
+
*/
|
|
70
|
+
export declare function generateInvoice(req: GenerateInvoiceRequest, opts?: WixCallOptions): Promise<GenerateInvoiceResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves the IDs of invoices associated with all specified orders.
|
|
73
|
+
*
|
|
74
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
75
|
+
* @permissionId ECOM.READ_INVOICES
|
|
76
|
+
* @fqn com.wix.ecom.orders.invoices.v1.Invoices.ListInvoicesForMultipleOrders
|
|
77
|
+
*
|
|
78
|
+
* POST /ecom/v1/invoices/list-by-ids
|
|
79
|
+
*/
|
|
80
|
+
export declare function listInvoicesForMultipleOrders(req?: ListInvoicesForMultipleOrdersRequest, opts?: WixCallOptions): Promise<ListInvoicesForMultipleOrdersResponse>;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery, ExtendedFields, Price, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Price, Sorting, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface ChargeOrderPaymentRequestRequest {
|
|
6
|
+
orderPaymentRequestId?: string;
|
|
7
|
+
paymentToken?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ChargeOrderPaymentRequestResponse {
|
|
10
|
+
paymentResponseToken?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateOrderPaymentRequestRequest {
|
|
13
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
14
|
+
}
|
|
15
|
+
export interface CreateOrderPaymentRequestResponse {
|
|
16
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
17
|
+
orderPaymentRequestUrl?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DeleteOrderPaymentRequestRequest {
|
|
20
|
+
orderPaymentRequestId?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface DeleteOrderPaymentRequestResponse {
|
|
23
|
+
}
|
|
24
|
+
export interface GetOrderPaymentRequestRequest {
|
|
25
|
+
orderPaymentRequestId?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface GetOrderPaymentRequestResponse {
|
|
28
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
29
|
+
}
|
|
30
|
+
export interface GetOrderPaymentRequestURLRequest {
|
|
31
|
+
orderPaymentRequestId?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface GetOrderPaymentRequestURLResponse {
|
|
34
|
+
orderPaymentRequestUrl?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface Image {
|
|
37
|
+
id?: string;
|
|
38
|
+
height?: number;
|
|
39
|
+
width?: number;
|
|
40
|
+
altText?: string;
|
|
41
|
+
filename?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface OrderPaymentRequest {
|
|
44
|
+
id?: string;
|
|
45
|
+
source?: Source;
|
|
46
|
+
status?: string;
|
|
47
|
+
orderId?: string;
|
|
48
|
+
orderNumber?: string;
|
|
49
|
+
amount?: Price;
|
|
50
|
+
currency?: string;
|
|
51
|
+
paymentGatewayOrderId?: string;
|
|
52
|
+
title?: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
expirationDate?: string;
|
|
55
|
+
extendedFields?: ExtendedFields;
|
|
56
|
+
createdDate?: string;
|
|
57
|
+
updatedDate?: string;
|
|
58
|
+
image?: Image;
|
|
59
|
+
blockedPaymentMethods?: string[];
|
|
60
|
+
}
|
|
61
|
+
export interface QueryOrderPaymentRequestsRequest {
|
|
62
|
+
query?: CursorQuery;
|
|
63
|
+
}
|
|
64
|
+
export interface QueryOrderPaymentRequestsResponse {
|
|
65
|
+
orderPaymentRequests?: OrderPaymentRequest[];
|
|
66
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
67
|
+
}
|
|
68
|
+
export interface Source {
|
|
69
|
+
appId?: string;
|
|
70
|
+
externalId?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface UpdateExtendedFieldsResponse {
|
|
73
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
74
|
+
}
|
|
75
|
+
export interface UpdateOrderPaymentRequestRequest {
|
|
76
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
77
|
+
}
|
|
78
|
+
export interface UpdateOrderPaymentRequestResponse {
|
|
79
|
+
orderPaymentRequest?: OrderPaymentRequest;
|
|
80
|
+
}
|
|
81
|
+
export interface VoidOrderPaymentRequestRequest {
|
|
82
|
+
orderPaymentRequestId?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface VoidOrderPaymentRequestResponse {
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/order-payment-requests/charge answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
88
|
+
*
|
|
89
|
+
* POST /ecom/v1/order-payment-requests/charge
|
|
90
|
+
*/
|
|
91
|
+
export declare function chargeOrderPaymentRequest(req?: ChargeOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<ChargeOrderPaymentRequestResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Creates an order payment request.
|
|
94
|
+
*
|
|
95
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
96
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_CREATE
|
|
97
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.CreateOrderPaymentRequest
|
|
98
|
+
*
|
|
99
|
+
* POST /ecom/v1/order-payment-requests
|
|
100
|
+
*/
|
|
101
|
+
export declare function createOrderPaymentRequest(req?: CreateOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<CreateOrderPaymentRequestResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* Deletes an order payment request.
|
|
104
|
+
*
|
|
105
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
106
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_DELETE
|
|
107
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.DeleteOrderPaymentRequest
|
|
108
|
+
*
|
|
109
|
+
* DELETE /ecom/v1/order-payment-requests/{orderPaymentRequestId}
|
|
110
|
+
*/
|
|
111
|
+
export declare function deleteOrderPaymentRequest(req: DeleteOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<DeleteOrderPaymentRequestResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Retrieves an order payment request.
|
|
114
|
+
*
|
|
115
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
116
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_READ
|
|
117
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequest
|
|
118
|
+
*
|
|
119
|
+
* GET /ecom/v1/order-payment-requests/{orderPaymentRequestId}
|
|
120
|
+
*/
|
|
121
|
+
export declare function getOrderPaymentRequest(req: GetOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<GetOrderPaymentRequestResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves the payment page URL for an order payment request.
|
|
124
|
+
*
|
|
125
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
126
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_READ
|
|
127
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequestURL
|
|
128
|
+
*
|
|
129
|
+
* POST /ecom/v1/order-payment-requests/url
|
|
130
|
+
*/
|
|
131
|
+
export declare function getOrderPaymentRequestUrl(req?: GetOrderPaymentRequestURLRequest, opts?: WixCallOptions): Promise<GetOrderPaymentRequestURLResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Retrieves a list of up to 1,000 order payment requests, given the provided [paging, filtering, and sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
|
|
134
|
+
*
|
|
135
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
136
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_READ
|
|
137
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.QueryOrderPaymentRequests
|
|
138
|
+
*
|
|
139
|
+
* POST /ecom/v1/order-payment-requests/query
|
|
140
|
+
*/
|
|
141
|
+
export declare function queryOrderPaymentRequests(req?: QueryOrderPaymentRequestsRequest, opts?: WixCallOptions): Promise<QueryOrderPaymentRequestsResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Updates the extended fields of an order payment request.
|
|
144
|
+
*
|
|
145
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
146
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_UPDATE
|
|
147
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateExtendedFields
|
|
148
|
+
*
|
|
149
|
+
* POST /ecom/v1/order-payment-requests/{id}/update-extended-fields
|
|
150
|
+
*/
|
|
151
|
+
export declare function updateExtendedFields(req: UpdateExtendedFieldsRequest, opts?: WixCallOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Updates an order payment request.
|
|
154
|
+
*
|
|
155
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
156
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_UPDATE
|
|
157
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateOrderPaymentRequest
|
|
158
|
+
*
|
|
159
|
+
* PATCH /ecom/v1/order-payment-requests/{orderPaymentRequestId}
|
|
160
|
+
*/
|
|
161
|
+
export declare function updateOrderPaymentRequest(req: UpdateOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<UpdateOrderPaymentRequestResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Voids the given order payment request.
|
|
164
|
+
*
|
|
165
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
166
|
+
* @permissionId ECOM.ORDER_PAYMENT_REQUEST_UPDATE
|
|
167
|
+
* @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.VoidOrderPaymentRequest
|
|
168
|
+
*
|
|
169
|
+
* POST /ecom/v1/order-payment-requests/void
|
|
170
|
+
*/
|
|
171
|
+
export declare function voidOrderPaymentRequest(req?: VoidOrderPaymentRequestRequest, opts?: WixCallOptions): Promise<VoidOrderPaymentRequestResponse>;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AuthorizationCapture, AuthorizationVoid, BulkActionMetadata, CashRoundingDetails, Chargeback, CreditCardPaymentMethodDetails, GiftCardPaymentDetails, ItemMetadata, MembershipPaymentDetails, PaymentMethodName, Price, Refund } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AdditionalFeeRefund, AggregatedRefundSummary, ApplicationError, AuthorizationActionFailureDetails, AuthorizationCapture, AuthorizationVoid, BulkActionMetadata, CashRounding, CashRoundingDetails, Chargeback, CreditCardPaymentMethodDetails, FutureMembershipDetails, GiftCardPaymentDetails, ItemMetadata, LineItemRefund, LineItemRefundSummary, MembershipName, MembershipPaymentDetails, PaymentMethodName, Price, Refund, RefundDetails, RefundItem, RefundItemsBreakdown, RefundStatusInfo, RefundTransaction, ShippingRefund, UserDefinedPaymentMethodName } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddPaymentsRequest {
|
|
6
|
+
orderId?: string;
|
|
7
|
+
payments?: Payment[];
|
|
8
|
+
}
|
|
9
|
+
export interface AddPaymentsResponse {
|
|
10
|
+
orderTransactions?: OrderTransactions;
|
|
11
|
+
paymentsIds?: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface AuthorizationDetails {
|
|
14
|
+
delayedCapture?: boolean;
|
|
15
|
+
authorizedDate?: string;
|
|
16
|
+
captures?: AuthorizationCapture[];
|
|
17
|
+
void?: AuthorizationVoid;
|
|
18
|
+
scheduledAction?: ScheduledAction;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkPaymentResult {
|
|
21
|
+
itemMetadata?: ItemMetadata;
|
|
22
|
+
item?: Payment;
|
|
23
|
+
}
|
|
24
|
+
export interface BulkUpdatePaymentStatusesRequest {
|
|
25
|
+
paymentAndOrderIds?: PaymentAndOrderId[];
|
|
26
|
+
returnFullEntity?: boolean;
|
|
27
|
+
status?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface BulkUpdatePaymentStatusesResponse {
|
|
30
|
+
results?: BulkPaymentResult[];
|
|
31
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
32
|
+
}
|
|
33
|
+
export interface ListTransactionsForMultipleOrdersRequest {
|
|
34
|
+
orderIds?: string[];
|
|
35
|
+
}
|
|
36
|
+
export interface ListTransactionsForMultipleOrdersResponse {
|
|
37
|
+
orderTransactions?: OrderTransactions[];
|
|
38
|
+
}
|
|
39
|
+
export interface ListTransactionsForSingleOrderRequest {
|
|
40
|
+
orderId?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ListTransactionsForSingleOrderResponse {
|
|
43
|
+
orderTransactions?: OrderTransactions;
|
|
44
|
+
}
|
|
45
|
+
export interface OrderTransactions {
|
|
46
|
+
orderId?: string;
|
|
47
|
+
payments?: Payment[];
|
|
48
|
+
refunds?: Refund[];
|
|
49
|
+
}
|
|
50
|
+
export interface Payment {
|
|
51
|
+
regularPaymentDetails?: RegularPaymentDetails;
|
|
52
|
+
giftcardPaymentDetails?: GiftCardPaymentDetails;
|
|
53
|
+
membershipPaymentDetails?: MembershipPaymentDetails;
|
|
54
|
+
id?: string;
|
|
55
|
+
createdDate?: string;
|
|
56
|
+
updatedDate?: string;
|
|
57
|
+
amount?: Price;
|
|
58
|
+
refundDisabled?: boolean;
|
|
59
|
+
supportReceiptGeneration?: boolean;
|
|
60
|
+
cashRounding?: CashRoundingDetails;
|
|
61
|
+
status?: string;
|
|
62
|
+
chargeCorrelationId?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface PaymentAndOrderId {
|
|
65
|
+
orderId?: string;
|
|
66
|
+
paymentId?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface RegularPaymentDetails {
|
|
69
|
+
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
70
|
+
paymentOrderId?: string;
|
|
71
|
+
gatewayTransactionId?: string;
|
|
72
|
+
paymentMethod?: string;
|
|
73
|
+
providerTransactionId?: string;
|
|
74
|
+
offlinePayment?: boolean;
|
|
75
|
+
status?: string;
|
|
76
|
+
savedPaymentMethod?: boolean;
|
|
77
|
+
authorizationDetails?: AuthorizationDetails;
|
|
78
|
+
chargebacks?: Chargeback[];
|
|
79
|
+
platformFee?: Price;
|
|
80
|
+
paymentMethodName?: PaymentMethodName;
|
|
81
|
+
}
|
|
82
|
+
export interface ScheduledAction {
|
|
83
|
+
actionType?: string;
|
|
84
|
+
executionDate?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface UpdatePaymentStatusRequest {
|
|
87
|
+
orderId?: string;
|
|
88
|
+
paymentId?: string;
|
|
89
|
+
status?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface UpdatePaymentStatusResponse {
|
|
92
|
+
orderTransactions?: OrderTransactions;
|
|
93
|
+
}
|
|
94
|
+
export interface UpdatePaymentsRequest {
|
|
95
|
+
}
|
|
96
|
+
export interface UpdatePaymentsResponse {
|
|
97
|
+
}
|
|
98
|
+
export interface UpdateRefundTransactionRequest {
|
|
99
|
+
}
|
|
100
|
+
export interface UpdateRefundTransactionResponse {
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Adds up to 50 payment records to an order.
|
|
104
|
+
*
|
|
105
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
106
|
+
* @permissionId ECOM.MODIFY_TRANSACTIONS
|
|
107
|
+
* @fqn com.wix.ecom.orders.payments.v1.Payments.AddPayments
|
|
108
|
+
*
|
|
109
|
+
* POST /ecom/v1/payments/orders/{orderId}/add-payment
|
|
110
|
+
*/
|
|
111
|
+
export declare function addPayments(req: AddPaymentsRequest, opts?: WixCallOptions): Promise<AddPaymentsResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Updates multiple order payments with a specified status.
|
|
114
|
+
*
|
|
115
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
116
|
+
* @permissionId ECOM.MODIFY_TRANSACTIONS
|
|
117
|
+
* @fqn com.wix.ecom.orders.payments.v1.Payments.BulkUpdatePaymentStatuses
|
|
118
|
+
*
|
|
119
|
+
* POST /ecom/v1/bulk/payments/update-payment-transaction-status
|
|
120
|
+
*/
|
|
121
|
+
export declare function bulkUpdatePaymentStatuses(req?: BulkUpdatePaymentStatusesRequest, opts?: WixCallOptions): Promise<BulkUpdatePaymentStatusesResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves information about payments and refunds associated with all specified orders.
|
|
124
|
+
*
|
|
125
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
126
|
+
* @permissionId ECOM.READ_TRANSACTIONS
|
|
127
|
+
* @fqn com.wix.ecom.orders.payments.v1.Payments.ListTransactionsForMultipleOrders
|
|
128
|
+
*
|
|
129
|
+
* POST /ecom/v1/payments/list-by-ids
|
|
130
|
+
*/
|
|
131
|
+
export declare function listTransactionsForMultipleOrders(req?: ListTransactionsForMultipleOrdersRequest, opts?: WixCallOptions): Promise<ListTransactionsForMultipleOrdersResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Retrieves information about payments and refunds associated with a specified order.
|
|
134
|
+
*
|
|
135
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
136
|
+
* @permissionId ECOM.READ_TRANSACTIONS
|
|
137
|
+
* @fqn com.wix.ecom.orders.payments.v1.Payments.ListTransactionsForSingleOrder
|
|
138
|
+
*
|
|
139
|
+
* GET /ecom/v1/payments/orders/{orderId}
|
|
140
|
+
*/
|
|
141
|
+
export declare function listTransactionsForSingleOrder(req: ListTransactionsForSingleOrderRequest, opts?: WixCallOptions): Promise<ListTransactionsForSingleOrderResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Updates the status of an order's payment.
|
|
144
|
+
*
|
|
145
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
146
|
+
* @permissionId ECOM.MODIFY_TRANSACTIONS
|
|
147
|
+
* @fqn com.wix.ecom.orders.payments.v1.Payments.UpdatePaymentStatus
|
|
148
|
+
*
|
|
149
|
+
* POST /ecom/v1/payments/{paymentId}/orders/{orderId}/update-payment-transaction-status
|
|
150
|
+
*/
|
|
151
|
+
export declare function updatePaymentStatus(req: UpdatePaymentStatusRequest, opts?: WixCallOptions): Promise<UpdatePaymentStatusResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/payments/orders/{orderId}/update-payments answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
154
|
+
*
|
|
155
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
156
|
+
*
|
|
157
|
+
* POST /ecom/v1/payments/orders/{orderId}/update-payments
|
|
158
|
+
*/
|
|
159
|
+
export declare function updatePayments(req: UpdatePaymentsRequest, opts?: WixCallOptions): Promise<UpdatePaymentsResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/payments/orders/{orderId}/update-refund-transaction answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
162
|
+
*
|
|
163
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
164
|
+
*
|
|
165
|
+
* POST /ecom/v1/payments/orders/{orderId}/update-refund-transaction
|
|
166
|
+
*/
|
|
167
|
+
export declare function updateRefundTransaction(req: UpdateRefundTransactionRequest, opts?: WixCallOptions): Promise<UpdateRefundTransactionResponse>;
|