@wix/ditto-codegen-public 1.0.211 → 1.0.213
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/out.js +23666 -23769
- package/package.json +2 -2
- package/dist/docs-output/api-docs/bookings-bookings-onBookingCanceled-doc.txt +0 -169
- package/dist/docs-output/api-docs/bookings-bookings-onBookingCreated-doc.txt +0 -154
- package/dist/docs-output/api-docs/crm-contacts-onContactCreated-doc.txt +0 -99
- package/dist/docs-output/api-docs/crm-contacts-onContactDeleted-doc.txt +0 -58
- package/dist/docs-output/api-docs/crm-contacts-onContactUpdated-doc.txt +0 -99
- package/dist/docs-output/api-docs/data-items-get-doc.txt +0 -105
- package/dist/docs-output/api-docs/data-items-insert-doc.txt +0 -247
- package/dist/docs-output/api-docs/data-items-onDataItemCreated-doc.txt +0 -61
- package/dist/docs-output/api-docs/data-items-onDataItemDeleted-doc.txt +0 -58
- package/dist/docs-output/api-docs/data-items-onDataItemUpdated-doc.txt +0 -61
- package/dist/docs-output/api-docs/data-items-query-doc.txt +0 -514
- package/dist/docs-output/api-docs/data-items-remove-doc.txt +0 -130
- package/dist/docs-output/api-docs/data-items-update-doc.txt +0 -436
- package/dist/docs-output/api-docs/ecom-cart-addToCart-doc.txt +0 -398
- package/dist/docs-output/api-docs/ecom-cart-createCart-doc.txt +0 -429
- package/dist/docs-output/api-docs/ecom-cart-createCheckout-doc.txt +0 -149
- package/dist/docs-output/api-docs/ecom-cart-deleteCart-doc.txt +0 -92
- package/dist/docs-output/api-docs/ecom-cart-getCart-doc.txt +0 -284
- package/dist/docs-output/api-docs/ecom-cart-onCartCreated-doc.txt +0 -97
- package/dist/docs-output/api-docs/ecom-cart-onCartUpdated-doc.txt +0 -97
- package/dist/docs-output/api-docs/ecom-cart-removeLineItemsFromCart-doc.txt +0 -292
- package/dist/docs-output/api-docs/ecom-cart-updateCart-doc.txt +0 -442
- package/dist/docs-output/api-docs/ecom-checkout-addToCheckout-doc.txt +0 -622
- package/dist/docs-output/api-docs/ecom-checkout-createCheckout-doc.txt +0 -878
- package/dist/docs-output/api-docs/ecom-checkout-getCheckout-doc.txt +0 -494
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCompleted-doc.txt +0 -151
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCreated-doc.txt +0 -150
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutUpdated-doc.txt +0 -150
- package/dist/docs-output/api-docs/ecom-checkout-removeLineItemsFromCheckout-doc.txt +0 -499
- package/dist/docs-output/api-docs/ecom-checkout-updateCheckout-doc.txt +0 -730
- package/dist/docs-output/api-docs/ecom-currentCart-getCurrentCart-doc.txt +0 -249
- package/dist/docs-output/api-docs/ecom-currentCart-updateCurrentCart-doc.txt +0 -413
- package/dist/docs-output/api-docs/ecom-orders-bulkUpdateOrders-doc.txt +0 -988
- package/dist/docs-output/api-docs/ecom-orders-cancelOrder-doc.txt +0 -608
- package/dist/docs-output/api-docs/ecom-orders-getOrder-doc.txt +0 -625
- package/dist/docs-output/api-docs/ecom-orders-onOrderCreated-doc.txt +0 -245
- package/dist/docs-output/api-docs/ecom-orders-onOrderUpdated-doc.txt +0 -244
- package/dist/docs-output/api-docs/ecom-orders-searchOrders-doc.txt +0 -670
- package/dist/docs-output/api-docs/ecom-orders-updateOrder-doc.txt +0 -818
- package/dist/docs-output/api-docs/search-wixSiteSearch-search-doc.txt +0 -162
- package/dist/docs-output/api-docs/stores-collections-addProductsToCollection-doc.txt +0 -86
- package/dist/docs-output/api-docs/stores-collections-createCollection-doc.txt +0 -108
- package/dist/docs-output/api-docs/stores-collections-getCollection-doc.txt +0 -102
- package/dist/docs-output/api-docs/stores-collections-queryCollections-doc.txt +0 -209
- package/dist/docs-output/api-docs/stores-collections-removeProductsFromCollection-doc.txt +0 -86
- package/dist/docs-output/api-docs/stores-collections-updateCollection-doc.txt +0 -110
- package/dist/docs-output/api-docs/stores-inventory-queryInventory-doc.txt +0 -98
- package/dist/docs-output/api-docs/stores-inventory-updateInventoryVariants-doc.txt +0 -249
- package/dist/docs-output/api-docs/stores-inventoryItemsV3-queryInventoryItems-doc.txt +0 -236
- package/dist/docs-output/api-docs/stores-inventoryItemsV3-updateInventoryItem-doc.txt +0 -139
- package/dist/docs-output/api-docs/stores-productsV3-createProduct-doc.txt +0 -1697
- package/dist/docs-output/api-docs/stores-productsV3-deleteProduct-doc.txt +0 -73
- package/dist/docs-output/api-docs/stores-productsV3-getProduct-doc.txt +0 -933
- package/dist/docs-output/api-docs/stores-productsV3-onProductCreated-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-onProductDeleted-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-onProductUpdated-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-queryProducts-doc.txt +0 -1051
- package/dist/docs-output/api-docs/stores-productsV3-searchProducts-doc.txt +0 -1144
- package/dist/docs-output/api-docs/stores-productsV3-updateProduct-doc.txt +0 -1737
- package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-queryVariants-doc.txt +0 -290
- package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-searchVariants-doc.txt +0 -353
- package/dist/docs-output/service-plugins/ecom-additional-fees-doc.txt +0 -411
- package/dist/docs-output/service-plugins/ecom-catalog-doc.txt +0 -460
- package/dist/docs-output/service-plugins/ecom-custom-triggers-doc.txt +0 -149
- package/dist/docs-output/service-plugins/ecom-gift-vouchers-provider-doc.txt +0 -169
- package/dist/docs-output/service-plugins/ecom-payment-settings-doc.txt +0 -2368
- package/dist/docs-output/service-plugins/ecom-recommendations-provider-doc.txt +0 -147
- package/dist/docs-output/service-plugins/ecom-shipping-rates-doc.txt +0 -352
- package/dist/docs-output/service-plugins/ecom-tax-calculation-provider-doc.txt +0 -244
- package/dist/docs-output/service-plugins/ecom-validations-doc.txt +0 -579
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<gift_vouchers_provider_service_plugin>
|
|
3
|
-
<purpose>Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the Get Balance endpoint at `https://my-gift-cards.com/v1/balance`, the base URI you provide here is `https://my-gift-cards.com/`.</purpose>
|
|
4
|
-
<use_cases>
|
|
5
|
-
- Handle appInstanceId: App ID of the Gift Card provider. Deprecated.
|
|
6
|
-
- Handle locationId: Physical location ID. Can be based on the Locations API or an external provider.
|
|
7
|
-
- Handle transactionId: Transaction ID to void.
|
|
8
|
-
- Handle code: Gift card code.
|
|
9
|
-
- Handle locationId: The physical location ID. Can be based on the Locations API or an external provider.
|
|
10
|
-
- Handle pin: Gift card PIN.
|
|
11
|
-
- Handle amount: Amount to redeem from the gift card.
|
|
12
|
-
- Handle currencyCode: Currency code.
|
|
13
|
-
- Handle orderId: Order ID the gift card transaction is applied to. Order details can be collected from eCommerce Search Orders.
|
|
14
|
-
</use_cases>
|
|
15
|
-
<required_handlers>
|
|
16
|
-
- _void() - Handler for ecom_gift-vouchers-provider - _void
|
|
17
|
-
- void() - Handler to process: Physical location ID. Can be based on the Locations API or an external provider.
|
|
18
|
-
- getBalance() - Handler to process: The physical location ID. Can be based on the Locations API or an external provider.
|
|
19
|
-
- redeem() - Handler to process: Order ID the gift card transaction is applied to. Order details can be collected from eCommerce Search Orders.
|
|
20
|
-
</required_handlers>
|
|
21
|
-
<import>import { giftVouchersProvider } from '@wix/ecom/service-plugins'</import>
|
|
22
|
-
<types>
|
|
23
|
-
|
|
24
|
-
**_voidEnvelope**
|
|
25
|
-
Properties:
|
|
26
|
-
- metadata: Context
|
|
27
|
-
- request: VoidRequest
|
|
28
|
-
|
|
29
|
-
**AlreadyRedeemedWixError**
|
|
30
|
-
|
|
31
|
-
**Context**
|
|
32
|
-
Properties:
|
|
33
|
-
- currency: string - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
34
|
-
|
|
35
|
-
format CURRENCY
|
|
36
|
-
- identity: IdentificationData - An object that describes the identity that triggered this request.
|
|
37
|
-
- instanceId: string - The service provider app's instance ID.
|
|
38
|
-
|
|
39
|
-
format GUID
|
|
40
|
-
- languages: string[] - A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`.
|
|
41
|
-
- requestId: string - A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs.
|
|
42
|
-
|
|
43
|
-
**CurrencyNotSupportedWixError**
|
|
44
|
-
|
|
45
|
-
**GetBalanceEnvelope**
|
|
46
|
-
Properties:
|
|
47
|
-
- metadata: Context
|
|
48
|
-
- request: GetBalanceRequest
|
|
49
|
-
|
|
50
|
-
**GetBalanceRequest**
|
|
51
|
-
Properties:
|
|
52
|
-
- appInstanceId: string (deprecated) - App ID of the Gift Card provider. Deprecated.
|
|
53
|
-
|
|
54
|
-
format GUID
|
|
55
|
-
- code: string - Gift card code.
|
|
56
|
-
|
|
57
|
-
minLength 8, maxLength 20
|
|
58
|
-
- locationId: string - The physical location ID. Can be based on the Locations API or an external provider.
|
|
59
|
-
|
|
60
|
-
maxLength 50
|
|
61
|
-
- pin: string - Gift card PIN.
|
|
62
|
-
|
|
63
|
-
maxLength 50
|
|
64
|
-
|
|
65
|
-
**GetBalanceResponse**
|
|
66
|
-
Properties:
|
|
67
|
-
- balance: number - Current balance.
|
|
68
|
-
|
|
69
|
-
max 999999999.99
|
|
70
|
-
- currencyCode: string - Currency code.
|
|
71
|
-
|
|
72
|
-
format CURRENCY
|
|
73
|
-
- externalId: string - External ID in the gift card provider's system.
|
|
74
|
-
Used for integration and tracking across different platforms.
|
|
75
|
-
|
|
76
|
-
minLength 1, maxLength 50
|
|
77
|
-
|
|
78
|
-
**GiftCardDisabledWixError**
|
|
79
|
-
|
|
80
|
-
**GiftCardExpiredWixError**
|
|
81
|
-
|
|
82
|
-
**GiftCardNotFoundWixError**
|
|
83
|
-
|
|
84
|
-
**GiftCardProviderConfig**
|
|
85
|
-
Properties:
|
|
86
|
-
- deploymentUri: string - Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the Get Balance endpoint at `https://my-gift-cards.com/v1/balance`, the base URI you provide here is `https://my-gift-cards.com/`.
|
|
87
|
-
|
|
88
|
-
**IdentificationData**
|
|
89
|
-
Properties:
|
|
90
|
-
- identityType: IdentityType
|
|
91
|
-
One of (id):
|
|
92
|
-
- anonymousVisitorId: string - ID of a site visitor that has not logged in to the site.
|
|
93
|
-
- appId: string - ID of an app.
|
|
94
|
-
- memberId: string - ID of a site visitor that has logged in to the site.
|
|
95
|
-
- wixUserId: string - ID of a Wix user (site owner, contributor, etc.).
|
|
96
|
-
|
|
97
|
-
**IdentityType**
|
|
98
|
-
Enum values:
|
|
99
|
-
- ANONYMOUS_VISITOR
|
|
100
|
-
- APP
|
|
101
|
-
- MEMBER
|
|
102
|
-
- UNKNOWN
|
|
103
|
-
- WIX_USER
|
|
104
|
-
|
|
105
|
-
**InsufficientFundsWixError**
|
|
106
|
-
|
|
107
|
-
**RedeemEnvelope**
|
|
108
|
-
Properties:
|
|
109
|
-
- metadata: Context
|
|
110
|
-
- request: RedeemRequest
|
|
111
|
-
|
|
112
|
-
**RedeemRequest**
|
|
113
|
-
Properties:
|
|
114
|
-
- amount: number - Amount to redeem from the gift card.
|
|
115
|
-
|
|
116
|
-
max 999999999.99
|
|
117
|
-
- appInstanceId: string (deprecated) - App ID of the Gift Card provider. Deprecated.
|
|
118
|
-
|
|
119
|
-
format GUID
|
|
120
|
-
- code: string - Gift card code.
|
|
121
|
-
|
|
122
|
-
minLength 8, maxLength 20
|
|
123
|
-
- currencyCode: string - Currency code.
|
|
124
|
-
|
|
125
|
-
format CURRENCY
|
|
126
|
-
- locationId: string - Physical location ID. Can be based on the Locations API or an external provider.
|
|
127
|
-
|
|
128
|
-
maxLength 50
|
|
129
|
-
- orderId: string - Order ID the gift card transaction is applied to. Order details can be collected from eCommerce Search Orders.
|
|
130
|
-
|
|
131
|
-
format GUID
|
|
132
|
-
- pin: string - Gift card PIN.
|
|
133
|
-
|
|
134
|
-
maxLength 50
|
|
135
|
-
|
|
136
|
-
**RedeemResponse**
|
|
137
|
-
Properties:
|
|
138
|
-
- currencyCode: string - Currency code.
|
|
139
|
-
|
|
140
|
-
format CURRENCY
|
|
141
|
-
- remainingBalance: number - Remaining balance on the Gift Card after the redemption.
|
|
142
|
-
|
|
143
|
-
max 999999999.99
|
|
144
|
-
- transactionId: string - Transaction ID.
|
|
145
|
-
|
|
146
|
-
minLength 1, maxLength 100
|
|
147
|
-
|
|
148
|
-
**VoidRequest**
|
|
149
|
-
Properties:
|
|
150
|
-
- appInstanceId: string (deprecated) - App ID of the Gift Card provider. Deprecated.
|
|
151
|
-
|
|
152
|
-
format GUID
|
|
153
|
-
- locationId: string - Physical location ID. Can be based on the Locations API or an external provider.
|
|
154
|
-
|
|
155
|
-
maxLength 50
|
|
156
|
-
- transactionId: string - Transaction ID to void.
|
|
157
|
-
|
|
158
|
-
minLength 1, maxLength 100
|
|
159
|
-
|
|
160
|
-
**VoidResponse**
|
|
161
|
-
Properties:
|
|
162
|
-
- currencyCode: string - Currency code.
|
|
163
|
-
|
|
164
|
-
format CURRENCY
|
|
165
|
-
- remainingBalance: number - Remaining balance on the Gift Card after voiding the transaction.
|
|
166
|
-
|
|
167
|
-
max 999999999.99
|
|
168
|
-
</types>
|
|
169
|
-
</gift_vouchers_provider_service_plugin>
|