@wix/auto_sdk_pricing-plans_orders 1.0.57 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/build/index.d.mts +343 -0
  2. package/build/index.d.ts +343 -0
  3. package/build/index.js +1870 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1807 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +343 -0
  8. package/build/internal/index.d.ts +343 -0
  9. package/build/internal/index.js +1870 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1807 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +982 -0
  14. package/build/internal/meta.d.ts +982 -0
  15. package/build/internal/meta.js +1057 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +1016 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{es/src/pricing-plans-v2-order-orders.types.d.ts → internal/pricing-plans-v2-order-orders.universal-CxIXSY94.d.mts} +424 -157
  20. package/build/{cjs/src/pricing-plans-v2-order-orders.types.d.ts → internal/pricing-plans-v2-order-orders.universal-CxIXSY94.d.ts} +424 -157
  21. package/build/meta.d.mts +982 -0
  22. package/build/meta.d.ts +982 -0
  23. package/build/meta.js +1057 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +1016 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{internal/cjs/src/pricing-plans-v2-order-orders.types.d.ts → pricing-plans-v2-order-orders.universal-Bwx6oqbS.d.mts} +420 -170
  28. package/build/{internal/es/src/pricing-plans-v2-order-orders.types.d.ts → pricing-plans-v2-order-orders.universal-Bwx6oqbS.d.ts} +420 -170
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  40. package/build/cjs/src/pricing-plans-v2-order-orders.context.js +0 -126
  41. package/build/cjs/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  42. package/build/cjs/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  43. package/build/cjs/src/pricing-plans-v2-order-orders.http.js +0 -877
  44. package/build/cjs/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  45. package/build/cjs/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  46. package/build/cjs/src/pricing-plans-v2-order-orders.meta.js +0 -313
  47. package/build/cjs/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  48. package/build/cjs/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  49. package/build/cjs/src/pricing-plans-v2-order-orders.public.js +0 -373
  50. package/build/cjs/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  51. package/build/cjs/src/pricing-plans-v2-order-orders.types.js +0 -145
  52. package/build/cjs/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  53. package/build/cjs/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2317
  54. package/build/cjs/src/pricing-plans-v2-order-orders.universal.js +0 -930
  55. package/build/cjs/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  67. package/build/es/src/pricing-plans-v2-order-orders.context.js +0 -111
  68. package/build/es/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  69. package/build/es/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  70. package/build/es/src/pricing-plans-v2-order-orders.http.js +0 -859
  71. package/build/es/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  72. package/build/es/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  73. package/build/es/src/pricing-plans-v2-order-orders.meta.js +0 -272
  74. package/build/es/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  75. package/build/es/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  76. package/build/es/src/pricing-plans-v2-order-orders.public.js +0 -343
  77. package/build/es/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  78. package/build/es/src/pricing-plans-v2-order-orders.types.js +0 -142
  79. package/build/es/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  80. package/build/es/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2317
  81. package/build/es/src/pricing-plans-v2-order-orders.universal.js +0 -889
  82. package/build/es/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  93. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.js +0 -126
  94. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  95. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  96. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.js +0 -877
  97. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  98. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  99. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.js +0 -313
  100. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  101. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  102. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.js +0 -373
  103. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  104. package/build/internal/cjs/src/pricing-plans-v2-order-orders.types.js +0 -145
  105. package/build/internal/cjs/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  106. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2334
  107. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.js +0 -930
  108. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  119. package/build/internal/es/src/pricing-plans-v2-order-orders.context.js +0 -111
  120. package/build/internal/es/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  121. package/build/internal/es/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  122. package/build/internal/es/src/pricing-plans-v2-order-orders.http.js +0 -859
  123. package/build/internal/es/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  124. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  125. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.js +0 -272
  126. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  127. package/build/internal/es/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  128. package/build/internal/es/src/pricing-plans-v2-order-orders.public.js +0 -343
  129. package/build/internal/es/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  130. package/build/internal/es/src/pricing-plans-v2-order-orders.types.js +0 -142
  131. package/build/internal/es/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  132. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2334
  133. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.js +0 -889
  134. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
@@ -0,0 +1,982 @@
1
+ import { al as GetOrderRequest$1, G as GetOrderResponse$1, am as ListOrdersRequest$1, L as ListOrdersResponse$1, aA as PostponeEndDateRequest$1, aB as PostponeEndDateResponse$1, aD as CancelOrderRequest$1, aE as CancelOrderResponse$1, aG as MarkAsPaidRequest$1, aH as MarkAsPaidResponse$1, aJ as PauseOrderRequest$1, aK as PauseOrderResponse$1, aS as ResumeOrderRequest$1, aT as ResumeOrderResponse$1, a_ as MemberGetOrderRequest$1, a$ as MemberGetOrderResponse$1, b0 as MemberListOrdersRequest$1, d as MemberListOrdersResponse$1, b3 as RequestCancellationRequest$1, b4 as RequestCancellationResponse$1, b5 as CreateOnlineOrderRequest$1, f as CreateOnlineOrderResponse$1, bc as CreateOfflineOrderRequest$1, h as CreateOfflineOrderResponse$1, bf as GetOnlineOrderPreviewRequest$1, j as GetOnlineOrderPreviewResponse$1, bi as GetOfflineOrderPreviewRequest$1, l as GetOfflineOrderPreviewResponse$1, bj as GetPricePreviewRequest$1, n as GetPricePreviewResponse$1 } from './pricing-plans-v2-order-orders.universal-Bwx6oqbS.js';
2
+
3
+ /**
4
+ * An order object includes all of the details related to the purchase of a Pricing Plan.
5
+ * You can manage existing orders, create offline orders, and preview orders not yet purchased.
6
+ *
7
+ * Orders are based on pricing models based on the payment and duration cycles for each plan.
8
+ * Learn more about pricing models ([REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models)|[SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction#pricing-models)).
9
+ */
10
+ interface Order {
11
+ /**
12
+ * Order ID.
13
+ * @format GUID
14
+ * @readonly
15
+ */
16
+ id?: string;
17
+ /**
18
+ * ID of the plan purchased with the order, from the Plans API.
19
+ * @format GUID
20
+ * @readonly
21
+ */
22
+ planId?: string;
23
+ /**
24
+ * ID of the related Wix subscription.
25
+ *
26
+ * Every pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in
27
+ * a [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).
28
+ * @format GUID
29
+ * @readonly
30
+ */
31
+ subscriptionId?: string;
32
+ /**
33
+ * Wix Pay order ID.
34
+ *
35
+ * Provided by Wix whether the order is created online or offline. The field is omitted when the order is free.
36
+ * @format GUID
37
+ * @readonly
38
+ */
39
+ wixPayOrderId?: string | null;
40
+ /**
41
+ * The buyer's IDs. Includes `memberId` and `contactId`.
42
+ *
43
+ * Currently, Pricing Plan purchases are limited to members only. `contactId` is returned,
44
+ * but a buyer will not be able to purchase a plan without a `memberId`.
45
+ * @readonly
46
+ */
47
+ buyer?: Buyer;
48
+ /**
49
+ * __Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.
50
+ * @readonly
51
+ * @deprecated __Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.
52
+ * @replacedBy pricing
53
+ * @targetRemovalDate 2022-10-01
54
+ */
55
+ priceDetails?: PriceDetails;
56
+ /**
57
+ * Order pricing model, price, and payment schedule.
58
+ *
59
+ * Learn more about pricing models ([REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction#pricing-models)).
60
+ * @readonly
61
+ */
62
+ pricing?: PricingDetails;
63
+ /**
64
+ * How the order was processed.
65
+ * @readonly
66
+ */
67
+ type?: OrderTypeWithLiterals;
68
+ /**
69
+ * Status of the order.
70
+ * @readonly
71
+ */
72
+ status?: OrderStatusWithLiterals;
73
+ /**
74
+ * Whether the order will be canceled at the next payment date.
75
+ *
76
+ * If `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.
77
+ * @readonly
78
+ */
79
+ autoRenewCanceled?: boolean | null;
80
+ /**
81
+ * Details about the cancellation of an order.
82
+ *
83
+ * Only present if the status is `CANCELED`.
84
+ * @readonly
85
+ */
86
+ cancellation?: Cancellation;
87
+ /**
88
+ * Status of the last payment for the order.
89
+ * Updated automatically for online orders. Updated manually by the Wix user for offline orders.
90
+ * @readonly
91
+ */
92
+ lastPaymentStatus?: PaymentStatusWithLiterals;
93
+ /**
94
+ * Start date and time for the ordered plan.
95
+ * @readonly
96
+ */
97
+ startDate?: Date | null;
98
+ /**
99
+ * Current end date and time for the ordered plan.
100
+ *
101
+ * `endDate` may be updated over the course of an order.
102
+ * If the order is paused, it will have a later `endDate` once it is resumed.
103
+ * `endDate` may also be postponed.
104
+ *
105
+ * Omitted if the order is valid until canceled and still `ACTIVE`.
106
+ * @readonly
107
+ */
108
+ endDate?: Date | null;
109
+ /**
110
+ * List of periods during which the order is paused.
111
+ * @readonly
112
+ */
113
+ pausePeriods?: PausePeriod[];
114
+ /**
115
+ * Free trial period for the order, in days.
116
+ *
117
+ * Only available for recurring plans.
118
+ * @readonly
119
+ * @min 1
120
+ * @max 999
121
+ */
122
+ freeTrialDays?: number | null;
123
+ /**
124
+ * Earliest end date and time that the plan for the order can expire.
125
+ *
126
+ * Calculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.
127
+ * @readonly
128
+ */
129
+ earliestEndDate?: Date | null;
130
+ /**
131
+ * Current payment cycle for the order.
132
+ *
133
+ * `currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.
134
+ * @readonly
135
+ */
136
+ currentCycle?: CurrentCycle;
137
+ /**
138
+ * Plan name at the time of purchase.
139
+ * @readonly
140
+ */
141
+ planName?: string;
142
+ /**
143
+ * Plan description at the time of purchase
144
+ * @readonly
145
+ */
146
+ planDescription?: string;
147
+ /**
148
+ * Plan price as it was at the moment of order creation.
149
+ * @format DECIMAL_VALUE
150
+ * @readonly
151
+ */
152
+ planPrice?: string;
153
+ /**
154
+ * Date and time the order was created.
155
+ * @readonly
156
+ */
157
+ createdDate?: Date | null;
158
+ /**
159
+ * Date and time the order was updated.
160
+ * @readonly
161
+ */
162
+ updatedDate?: Date | null;
163
+ /**
164
+ * Information about the form submitted during the plan's checkout.
165
+ * @readonly
166
+ */
167
+ formData?: FormData;
168
+ }
169
+ interface Buyer {
170
+ /**
171
+ * Member ID for a Wix site member, from the Members API.
172
+ * @format GUID
173
+ * @readonly
174
+ */
175
+ memberId?: string;
176
+ /**
177
+ * Contact ID for a Wix site contact, from the Contacts API.
178
+ * @format GUID
179
+ * @readonly
180
+ */
181
+ contactId?: string;
182
+ }
183
+ interface PriceDetails extends PriceDetailsPricingModelOneOf {
184
+ /** Order has recurring payments. */
185
+ subscription?: Recurrence;
186
+ /** One-time payment. Order is valid for a specified duration. */
187
+ singlePaymentForDuration?: Duration;
188
+ /** One-time payment. Order is valid until it is canceled. */
189
+ singlePaymentUnlimited?: boolean | null;
190
+ /**
191
+ * Price of the order excluding tax, specified as a monetary amount. for example, `"9.99"`.
192
+ * @format DECIMAL_VALUE
193
+ */
194
+ subtotal?: string;
195
+ /**
196
+ * Total discount applied.
197
+ * @format DECIMAL_VALUE
198
+ */
199
+ discount?: string;
200
+ /** Tax applied. */
201
+ tax?: Tax;
202
+ /**
203
+ * Price after tax and discount is applied, specified as a monetary amount. For example, `"13.98"`.
204
+ *
205
+ * If no tax is applied, the amount is the same as `subtotal`.
206
+ * @format DECIMAL_VALUE
207
+ */
208
+ total?: string;
209
+ /**
210
+ * Plan price as it was at the moment of order creation.
211
+ * @format DECIMAL_VALUE
212
+ */
213
+ planPrice?: string;
214
+ /**
215
+ * Currency code. Must be valid ISO 4217 currency code (e.g., USD).
216
+ * @format CURRENCY
217
+ */
218
+ currency?: string;
219
+ /**
220
+ * Free trial period for the order in days. Only available for recurring plans.
221
+ * @min 1
222
+ * @max 999
223
+ */
224
+ freeTrialDays?: number | null;
225
+ /** Coupon applied to the order. Empty means no coupon was applied. */
226
+ coupon?: Coupon;
227
+ }
228
+ /** @oneof */
229
+ interface PriceDetailsPricingModelOneOf {
230
+ /** Order has recurring payments. */
231
+ subscription?: Recurrence;
232
+ /** One-time payment. Order is valid for a specified duration. */
233
+ singlePaymentForDuration?: Duration;
234
+ /** One-time payment. Order is valid until it is canceled. */
235
+ singlePaymentUnlimited?: boolean | null;
236
+ }
237
+ interface Tax {
238
+ /** Name of the tax. For example, VAT. */
239
+ name?: string;
240
+ /** Whether tax is included in the original price. When `false`, tax is added at checkout. */
241
+ includedInPrice?: boolean;
242
+ /**
243
+ * Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `"7.00"`.
244
+ * @format DECIMAL_VALUE
245
+ */
246
+ rate?: string;
247
+ /**
248
+ * Total tax, specified as a monetary amount. For example, `"3.99"`.
249
+ * @format DECIMAL_VALUE
250
+ */
251
+ amount?: string;
252
+ }
253
+ /** An object specifying how often and for how long payments recur (may be forever). */
254
+ interface Recurrence {
255
+ /**
256
+ * Number of payment cycles the subscription is valid for.
257
+ * `0` for unlimited plans or for plans that are valid until canceled.
258
+ */
259
+ cycleDuration?: Duration;
260
+ /**
261
+ * Length of a payment cycle. For example, 1 month to have monthly payments.
262
+ * Multiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.
263
+ * Currently, only a value of `1` is supported.
264
+ * @max 2000
265
+ */
266
+ cycleCount?: number | null;
267
+ }
268
+ /** A duration expressed in number of time units. */
269
+ interface Duration {
270
+ /**
271
+ * Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.
272
+ * @min 1
273
+ */
274
+ count?: number | null;
275
+ /** Unit of time for the cycle duration. */
276
+ unit?: PeriodUnitWithLiterals;
277
+ }
278
+ declare enum PeriodUnit {
279
+ /** Not defined. */
280
+ UNDEFINED = "UNDEFINED",
281
+ /** Time unit is a day. */
282
+ DAY = "DAY",
283
+ /** Time unit is a week. */
284
+ WEEK = "WEEK",
285
+ /** Time unit is a month. */
286
+ MONTH = "MONTH",
287
+ /** Time unit is a year. */
288
+ YEAR = "YEAR"
289
+ }
290
+ /** @enumType */
291
+ type PeriodUnitWithLiterals = PeriodUnit | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
292
+ interface Coupon {
293
+ /**
294
+ * Code of the applied coupon.
295
+ * @minLength 1
296
+ * @maxLength 20
297
+ */
298
+ code?: string;
299
+ /**
300
+ * Total discount of the coupon, as a monetary amount.
301
+ * @format DECIMAL_VALUE
302
+ */
303
+ amount?: string;
304
+ /**
305
+ * Coupon ID.
306
+ * @format GUID
307
+ * @readonly
308
+ */
309
+ id?: string;
310
+ }
311
+ interface PricingDetails extends PricingDetailsPricingModelOneOf {
312
+ /** Pricing model for an order with recurring payment cycles. */
313
+ subscription?: Recurrence;
314
+ /** Pricing model for an order with a one-time payment and the order is valid for a specific amount of time. */
315
+ singlePaymentForDuration?: Duration;
316
+ /** Pricing model for an order with a one-time payment and the order is valid until canceled. */
317
+ singlePaymentUnlimited?: boolean | null;
318
+ /**
319
+ * Pricing details for all pricing models.
320
+ * @readonly
321
+ */
322
+ prices?: SpannedPrice[];
323
+ }
324
+ /** @oneof */
325
+ interface PricingDetailsPricingModelOneOf {
326
+ /** Pricing model for an order with recurring payment cycles. */
327
+ subscription?: Recurrence;
328
+ /** Pricing model for an order with a one-time payment and the order is valid for a specific amount of time. */
329
+ singlePaymentForDuration?: Duration;
330
+ /** Pricing model for an order with a one-time payment and the order is valid until canceled. */
331
+ singlePaymentUnlimited?: boolean | null;
332
+ }
333
+ interface SpannedPrice {
334
+ /**
335
+ * Cycle duration to apply `price` for.
336
+ *
337
+ * Use with all pricing models.
338
+ * Can apply the same price to multiple payment cycles.
339
+ */
340
+ duration?: PriceDuration;
341
+ /** Order price. */
342
+ price?: Price;
343
+ }
344
+ interface PriceDuration {
345
+ /**
346
+ * Price starts to apply with this cycle.
347
+ *
348
+ * `1` is the first payment cycle for all pricing models.
349
+ */
350
+ cycleFrom?: number;
351
+ /**
352
+ * Amount of cycles to apply price for.
353
+ *
354
+ * For `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.
355
+ *
356
+ * For `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.
357
+ *
358
+ * For `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.
359
+ */
360
+ numberOfCycles?: number | null;
361
+ }
362
+ interface Price {
363
+ /**
364
+ * Price of the order excluding tax, specified as a monetary amount. For example, `"9.99"`.
365
+ * @format DECIMAL_VALUE
366
+ */
367
+ subtotal?: string;
368
+ /** Coupon applied to the order, from the Coupons API. */
369
+ coupon?: Coupon;
370
+ /**
371
+ * Total discount applied to the order.
372
+ * @format DECIMAL_VALUE
373
+ */
374
+ discount?: string;
375
+ /**
376
+ * Tax applied to the order.
377
+ *
378
+ * Tax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).
379
+ */
380
+ tax?: Tax;
381
+ /**
382
+ * Price after tax and discount is applied. Specified as a monetary amount, for example, `"13.98"`.
383
+ *
384
+ * If no tax is applied, the amount is the same as `subtotal`.
385
+ * @format DECIMAL_VALUE
386
+ */
387
+ total?: string;
388
+ /**
389
+ * Three-letter currency code in
390
+ * [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
391
+ * @format CURRENCY
392
+ */
393
+ currency?: string;
394
+ /**
395
+ * Price change after billing date was change and price was adjusted. Could be positive and negative values.
396
+ * @format DECIMAL_VALUE
397
+ */
398
+ proration?: string;
399
+ }
400
+ declare enum OrderType {
401
+ /** Undefined order type. */
402
+ UNDEFINED = "UNDEFINED",
403
+ /** The buyer purchased the plan using the site. */
404
+ ONLINE = "ONLINE",
405
+ /** The buyer made a manual, offline purchase without using the site. */
406
+ OFFLINE = "OFFLINE",
407
+ /** The buyer made a purchase through an external payment provider. */
408
+ EXTERNAL = "EXTERNAL"
409
+ }
410
+ /** @enumType */
411
+ type OrderTypeWithLiterals = OrderType | 'UNDEFINED' | 'ONLINE' | 'OFFLINE' | 'EXTERNAL';
412
+ declare enum OrderMethod {
413
+ /** Unknown order method. */
414
+ UNKNOWN = "UNKNOWN",
415
+ /** Mail Order / Telephone Order transaction. */
416
+ MOTO = "MOTO",
417
+ /** Point of Sale transaction. */
418
+ POS = "POS"
419
+ }
420
+ /** @enumType */
421
+ type OrderMethodWithLiterals = OrderMethod | 'UNKNOWN' | 'MOTO' | 'POS';
422
+ declare enum OrderStatus {
423
+ /** Undefined order status. */
424
+ UNDEFINED = "UNDEFINED",
425
+ /** Order has been initiated but payment hasn't been processed yet. The plan isn't yet available for use to the buyer. */
426
+ DRAFT = "DRAFT",
427
+ /** Order has been purchased and its start date is set in the future. */
428
+ PENDING = "PENDING",
429
+ /** Order has been processed. The plan is available for use. */
430
+ ACTIVE = "ACTIVE",
431
+ /** Order, and use of the plan, is paused. The order, and use of the plan, can be resumed. */
432
+ PAUSED = "PAUSED",
433
+ /** Order has completed its duration and is no longer available for use. */
434
+ ENDED = "ENDED",
435
+ /** Order has been canceled. */
436
+ CANCELED = "CANCELED"
437
+ }
438
+ /** @enumType */
439
+ type OrderStatusWithLiterals = OrderStatus | 'UNDEFINED' | 'DRAFT' | 'PENDING' | 'ACTIVE' | 'PAUSED' | 'ENDED' | 'CANCELED';
440
+ interface Cancellation {
441
+ /** Date and time the cancellation was requested. */
442
+ requestedDate?: Date | null;
443
+ /** Reason for the cancellation. */
444
+ cause?: CancellationCauseWithLiterals;
445
+ /** When the cancellation takes effect. Set when cancelling the order. */
446
+ effectiveAt?: CancellationEffectiveAtWithLiterals;
447
+ }
448
+ declare enum CancellationCause {
449
+ /** Undefined cancellation cause. */
450
+ UNDEFINED = "UNDEFINED",
451
+ /** Wix user canceled the order. */
452
+ OWNER_ACTION = "OWNER_ACTION",
453
+ /** Buyer initiated the cancellation. */
454
+ MEMBER_ACTION = "MEMBER_ACTION",
455
+ /** Payment transaction failed. */
456
+ PAYMENT_FAILURE = "PAYMENT_FAILURE",
457
+ /** Buyer's payment details weren't set up correctly. */
458
+ PAYMENT_SETUP_FAILURE = "PAYMENT_SETUP_FAILURE",
459
+ /** Reason for the cancellation is unknown. */
460
+ UNKNOWN = "UNKNOWN"
461
+ }
462
+ /** @enumType */
463
+ type CancellationCauseWithLiterals = CancellationCause | 'UNDEFINED' | 'OWNER_ACTION' | 'MEMBER_ACTION' | 'PAYMENT_FAILURE' | 'PAYMENT_SETUP_FAILURE' | 'UNKNOWN';
464
+ declare enum CancellationEffectiveAt {
465
+ /** Undefined cancellation time. */
466
+ UNDEFINED = "UNDEFINED",
467
+ /** Cancellation occurs immediately and the buyer can no longer use the plan. */
468
+ IMMEDIATELY = "IMMEDIATELY",
469
+ /** Cancellation occurs at the next payment date and time. Buyer can continue to use the plan until that date and time. */
470
+ NEXT_PAYMENT_DATE = "NEXT_PAYMENT_DATE"
471
+ }
472
+ /** @enumType */
473
+ type CancellationEffectiveAtWithLiterals = CancellationEffectiveAt | 'UNDEFINED' | 'IMMEDIATELY' | 'NEXT_PAYMENT_DATE';
474
+ declare enum PaymentStatus {
475
+ /** Undefined payment status. */
476
+ UNDEFINED = "UNDEFINED",
477
+ /** Payment has been paid. */
478
+ PAID = "PAID",
479
+ /** Payment has been refunded. */
480
+ REFUNDED = "REFUNDED",
481
+ /** Payment transaction didn't complete. */
482
+ FAILED = "FAILED",
483
+ /** Payment has not been paid. */
484
+ UNPAID = "UNPAID",
485
+ /** Billing has been initialized, but actual charge is yet to be made. This can happen for free trials and payments made with PayPal. */
486
+ PENDING = "PENDING",
487
+ /** No payment was necessary. For example, for free plans or free trials. */
488
+ NOT_APPLICABLE = "NOT_APPLICABLE"
489
+ }
490
+ /** @enumType */
491
+ type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'PAID' | 'REFUNDED' | 'FAILED' | 'UNPAID' | 'PENDING' | 'NOT_APPLICABLE';
492
+ interface PausePeriod {
493
+ /** Status of the pause period. */
494
+ status?: StatusWithLiterals;
495
+ /** Start date and time of the pause period. */
496
+ pauseDate?: Date | null;
497
+ /**
498
+ * End date and time of the pause period.
499
+ *
500
+ * Omitted while the pause period remains `ACTIVE`.
501
+ */
502
+ resumeDate?: Date | null;
503
+ }
504
+ declare enum Status {
505
+ /** Undefined status. */
506
+ UNDEFINED = "UNDEFINED",
507
+ /** Status while the order is paused. */
508
+ ACTIVE = "ACTIVE",
509
+ /** Status when the order is resumed. */
510
+ ENDED = "ENDED"
511
+ }
512
+ /** @enumType */
513
+ type StatusWithLiterals = Status | 'UNDEFINED' | 'ACTIVE' | 'ENDED';
514
+ /**
515
+ * Current cycle will be empty when order is cancelled, expired or order start date is in the future
516
+ * Current cycle start and end dates take into account free trial days and suspensions
517
+ */
518
+ interface CurrentCycle {
519
+ /**
520
+ * Index of the current payment cycle in the order.
521
+ *
522
+ * `0` when order is in a free trial period. In all other cases, the index starts with `1`.
523
+ */
524
+ index?: number;
525
+ /** Start date and time for the current payment cycle. */
526
+ startedDate?: Date | null;
527
+ /** End date and time for the current payment cycle. */
528
+ endedDate?: Date | null;
529
+ }
530
+ interface FormData {
531
+ /**
532
+ * ID of the order form ([REST](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction)|[SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction)) associated with the plan at checkout.
533
+ * @format GUID
534
+ */
535
+ formId?: string | null;
536
+ /**
537
+ * ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.
538
+ * @format GUID
539
+ */
540
+ submissionId?: string | null;
541
+ /**
542
+ * Data submitted to the plan's order form at checkout.
543
+ * @readonly
544
+ */
545
+ submissionData?: Record<string, any>;
546
+ }
547
+ interface GetOrderRequest {
548
+ /**
549
+ * Order ID.
550
+ * @format GUID
551
+ */
552
+ id: string;
553
+ /**
554
+ * Predefined set of fields to return.
555
+ *
556
+ * Default: If `fieldSet` is omitted, no order form submission data is returned.
557
+ */
558
+ fieldSet?: SetWithLiterals;
559
+ }
560
+ declare enum Set {
561
+ /** Same behavior as `BASIC`.` */
562
+ UNKNOWN_SET = "UNKNOWN_SET",
563
+ /** Doesn't return any order form submission data. */
564
+ BASIC = "BASIC",
565
+ /** Returns all order form submission data. */
566
+ FULL = "FULL"
567
+ }
568
+ /** @enumType */
569
+ type SetWithLiterals = Set | 'UNKNOWN_SET' | 'BASIC' | 'FULL';
570
+ interface GetOrderResponse {
571
+ /** Order. */
572
+ order?: Order;
573
+ }
574
+ interface ListOrdersRequest {
575
+ /**
576
+ * Filter by a buyer's member ID, from the Members API.
577
+ * @format GUID
578
+ */
579
+ buyerIds?: string[];
580
+ /**
581
+ * Filter by plan IDs, from the Plans API.
582
+ * @format GUID
583
+ */
584
+ planIds?: string[];
585
+ /** Filter by whether or not the auto-renewal of recurring orders was canceled. */
586
+ autoRenewCanceled?: boolean | null;
587
+ /** Filter by order status. */
588
+ orderStatuses?: OrderStatusWithLiterals[];
589
+ /** Filter by payment status. */
590
+ paymentStatuses?: PaymentStatusWithLiterals[];
591
+ /**
592
+ * Number of orders to return. See Sorting and Paging for more information.
593
+ *
594
+ * Max: `50`
595
+ * @min 1
596
+ * @max 50
597
+ */
598
+ limit?: number | null;
599
+ /** Number of orders to skip in the current sort order. */
600
+ offset?: number | null;
601
+ /**
602
+ * Sort order.
603
+ *
604
+ * Use `ASC` for ascending order or `DESC` for descending order.
605
+ *
606
+ * Default: `DESC`.
607
+ */
608
+ sorting?: Sorting;
609
+ /**
610
+ * Predefined set of fields to return.
611
+ *
612
+ * Default: If `fieldSet` is omitted, no order form submission data is returned.
613
+ */
614
+ fieldSet?: SetWithLiterals;
615
+ }
616
+ interface Sorting {
617
+ /**
618
+ * Name of the field to sort by.
619
+ * @maxLength 512
620
+ */
621
+ fieldName?: string;
622
+ /** Sort order. */
623
+ order?: SortOrderWithLiterals;
624
+ }
625
+ declare enum SortOrder {
626
+ ASC = "ASC",
627
+ DESC = "DESC"
628
+ }
629
+ /** @enumType */
630
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
631
+ interface ListOrdersResponse {
632
+ /** List of orders. */
633
+ orders?: Order[];
634
+ /** Object containing paging-related data (number of orders returned, offset). */
635
+ pagingMetadata?: PagingMetadataV2;
636
+ }
637
+ interface PagingMetadataV2 {
638
+ /** Number of items returned in the response. */
639
+ count?: number | null;
640
+ /** Offset that was requested. */
641
+ offset?: number | null;
642
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
643
+ total?: number | null;
644
+ /** Flag that indicates the server failed to calculate the `total` field. */
645
+ tooManyToCount?: boolean | null;
646
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
647
+ cursors?: Cursors;
648
+ }
649
+ interface Cursors {
650
+ /**
651
+ * Cursor string pointing to the next page in the list of results.
652
+ * @maxLength 16000
653
+ */
654
+ next?: string | null;
655
+ /**
656
+ * Cursor pointing to the previous page in the list of results.
657
+ * @maxLength 16000
658
+ */
659
+ prev?: string | null;
660
+ }
661
+ interface PostponeEndDateRequest {
662
+ /**
663
+ * Order ID.
664
+ * @format GUID
665
+ */
666
+ id: string;
667
+ /**
668
+ * New end date and time.
669
+ *
670
+ * Must be later than the current end date and time.
671
+ */
672
+ endDate: Date | null;
673
+ }
674
+ interface PostponeEndDateResponse {
675
+ }
676
+ interface CancelOrderRequest {
677
+ /**
678
+ * Order ID.
679
+ * @format GUID
680
+ */
681
+ id: string;
682
+ /** __Required.__ When the order will be canceled. One-time orders can only be canceled `IMMEDIATELY`. */
683
+ effectiveAt: CancellationEffectiveAtWithLiterals;
684
+ }
685
+ interface CancelOrderResponse {
686
+ }
687
+ interface MarkAsPaidRequest {
688
+ /**
689
+ * Order ID.
690
+ * @format GUID
691
+ */
692
+ id: string;
693
+ }
694
+ interface MarkAsPaidResponse {
695
+ }
696
+ interface PauseOrderRequest {
697
+ /**
698
+ * Order ID.
699
+ * @format GUID
700
+ */
701
+ id: string;
702
+ }
703
+ interface PauseOrderResponse {
704
+ }
705
+ interface ResumeOrderRequest {
706
+ /**
707
+ * Order ID.
708
+ * @format GUID
709
+ */
710
+ id: string;
711
+ }
712
+ interface ResumeOrderResponse {
713
+ }
714
+ interface MemberGetOrderRequest {
715
+ /**
716
+ * Order ID.
717
+ * @format GUID
718
+ */
719
+ id: string;
720
+ /**
721
+ * Predefined set of fields to return.
722
+ *
723
+ * Default: If `fieldSet` is omitted, no order form submission data is returned.
724
+ */
725
+ fieldSet?: SetWithLiterals;
726
+ }
727
+ interface MemberGetOrderResponse {
728
+ /** Requested order. */
729
+ order?: Order;
730
+ }
731
+ interface MemberListOrdersRequest {
732
+ /**
733
+ * Filter by plan IDs.
734
+ * @format GUID
735
+ */
736
+ planIds?: string[];
737
+ /** Filter for orders where auto renewal was canceled. */
738
+ autoRenewCanceled?: boolean | null;
739
+ /** Filter by order status. */
740
+ orderStatuses?: OrderStatusWithLiterals[];
741
+ /** Filter by payment status. */
742
+ paymentStatuses?: PaymentStatusWithLiterals[];
743
+ /**
744
+ * Limit the number of pricing plans returned. Default limit is 50.
745
+ * @min 1
746
+ * @max 50
747
+ */
748
+ limit?: number | null;
749
+ /** Number of entries to offset. */
750
+ offset?: number | null;
751
+ /** Sorting direction (defaults to ASC) and field to sort by. */
752
+ sorting?: Sorting;
753
+ /**
754
+ * Predefined set of fields to return.
755
+ *
756
+ * Default: If `fieldSet` is omitted, no order form submission data is returned.
757
+ */
758
+ fieldSet?: SetWithLiterals;
759
+ }
760
+ interface MemberListOrdersResponse {
761
+ /** Requested orders. */
762
+ orders?: Order[];
763
+ /** Object containing paging-related data (number of orders returned, offset). */
764
+ pagingMetadata?: PagingMetadataV2;
765
+ }
766
+ interface RequestCancellationRequest {
767
+ /**
768
+ * Order ID.
769
+ * @format GUID
770
+ */
771
+ id: string;
772
+ /** Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately. */
773
+ effectiveAt: CancellationEffectiveAtWithLiterals;
774
+ }
775
+ interface RequestCancellationResponse {
776
+ }
777
+ interface CreateOnlineOrderRequest {
778
+ /**
779
+ * Plan ID.
780
+ * @format GUID
781
+ */
782
+ planId: string;
783
+ /**
784
+ * Start date and time for the plan of the online order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
785
+ *
786
+ * Default: Current date and time.
787
+ */
788
+ startDate?: Date | null;
789
+ /**
790
+ * Coupon code to apply.
791
+ * @minLength 1
792
+ * @maxLength 20
793
+ */
794
+ couponCode?: string | null;
795
+ /** Provided if checkout is initiated on buyer's behalf. */
796
+ onBehalf?: OnBehalf;
797
+ /**
798
+ * Submission ID of the form submitted with this order.
799
+ * @format GUID
800
+ */
801
+ submissionId?: string | null;
802
+ }
803
+ interface OnBehalf {
804
+ /**
805
+ * Member ID.
806
+ * @format GUID
807
+ */
808
+ memberId?: string;
809
+ /** Method by which checkout is initiated. */
810
+ orderMethod?: OrderMethodWithLiterals;
811
+ }
812
+ interface CreateOnlineOrderResponse {
813
+ /** Created online order. */
814
+ order?: Order;
815
+ }
816
+ interface CreateOfflineOrderRequest {
817
+ /**
818
+ * ID of the plan being ordered, from the Plans API.
819
+ * @format GUID
820
+ */
821
+ planId: string;
822
+ /**
823
+ * ID of the member ordering the plan, from the Members API.
824
+ * @format GUID
825
+ */
826
+ memberId: string;
827
+ /**
828
+ * Start date and time for the ordered plan in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
829
+ *
830
+ * Default: Current date and time.
831
+ */
832
+ startDate?: Date | null;
833
+ /**
834
+ * Whether the order is paid.
835
+ *
836
+ * Default: `false`
837
+ */
838
+ paid?: boolean | null;
839
+ /**
840
+ * Coupon code to apply, from the Coupons API.
841
+ * @minLength 1
842
+ * @maxLength 20
843
+ */
844
+ couponCode?: string | null;
845
+ /**
846
+ * Form submission ID that was submitted with the order.
847
+ * @format GUID
848
+ */
849
+ submissionId?: string | null;
850
+ }
851
+ interface CreateOfflineOrderResponse {
852
+ /** Order. */
853
+ order?: Order;
854
+ }
855
+ interface GetOnlineOrderPreviewRequest {
856
+ /**
857
+ * Plan ID.
858
+ * @format GUID
859
+ */
860
+ planId: string;
861
+ /**
862
+ * Start date and time for the plan of the order preview in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
863
+ *
864
+ * Default: Current date and time.
865
+ */
866
+ startDate?: Date | null;
867
+ /**
868
+ * Coupon code to apply.
869
+ * @minLength 1
870
+ * @maxLength 20
871
+ */
872
+ couponCode?: string | null;
873
+ }
874
+ interface GetOnlineOrderPreviewResponse {
875
+ /** Order preview. This field is undefined if the member has already reached the purchase limit for the order's plan. */
876
+ order?: Order;
877
+ /** Whether the member has already reached purchase limit for the order's plan. */
878
+ purchaseLimitExceeded?: boolean;
879
+ }
880
+ interface GetOfflineOrderPreviewRequest {
881
+ /**
882
+ * ID of the plan of the previewed order, from the Plans API.
883
+ * @format GUID
884
+ */
885
+ planId: string;
886
+ /**
887
+ * Member ID of the buyer the previewed order is for, from the Members API.
888
+ * @format GUID
889
+ */
890
+ memberId: string;
891
+ /**
892
+ * Start date and time for plan of the previewed order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
893
+ *
894
+ * Default: Current date and time.
895
+ */
896
+ startDate?: Date | null;
897
+ /**
898
+ * Coupon code to apply, from the Coupons API.
899
+ * @minLength 1
900
+ * @maxLength 20
901
+ */
902
+ couponCode?: string | null;
903
+ }
904
+ interface GetOfflineOrderPreviewResponse {
905
+ /** The previewed order, as if the plan had been ordered. */
906
+ order?: Order;
907
+ /**
908
+ * Whether this previewed order would exceed the permitted amount of purchases available
909
+ * for this plan for this buyer.
910
+ *
911
+ * Always `false` for plans that do not have purchase limits.
912
+ */
913
+ purchaseLimitExceeded?: boolean;
914
+ }
915
+ interface GetPricePreviewRequest {
916
+ /**
917
+ * ID of plan to preview.
918
+ * @format GUID
919
+ */
920
+ planId: string;
921
+ /**
922
+ * Coupon code to apply, from the Coupons API.
923
+ * @minLength 1
924
+ * @maxLength 20
925
+ */
926
+ couponCode?: string | null;
927
+ }
928
+ interface GetPricePreviewResponse {
929
+ /**
930
+ * __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
931
+ * @deprecated __Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.
932
+ * @replacedBy prices
933
+ * @targetRemovalDate 2022-10-01
934
+ */
935
+ price?: PriceDetails;
936
+ /** Pricing details. */
937
+ prices?: SpannedPrice[];
938
+ }
939
+
940
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
941
+ getUrl: (context: any) => string;
942
+ httpMethod: K;
943
+ path: string;
944
+ pathParams: M;
945
+ __requestType: T;
946
+ __originalRequestType: S;
947
+ __responseType: Q;
948
+ __originalResponseType: R;
949
+ };
950
+ declare function managementGetOrder(): __PublicMethodMetaInfo<'GET', {
951
+ id: string;
952
+ }, GetOrderRequest$1, GetOrderRequest, GetOrderResponse$1, GetOrderResponse>;
953
+ declare function managementListOrders(): __PublicMethodMetaInfo<'GET', {}, ListOrdersRequest$1, ListOrdersRequest, ListOrdersResponse$1, ListOrdersResponse>;
954
+ declare function postponeEndDate(): __PublicMethodMetaInfo<'PATCH', {
955
+ id: string;
956
+ }, PostponeEndDateRequest$1, PostponeEndDateRequest, PostponeEndDateResponse$1, PostponeEndDateResponse>;
957
+ declare function cancelOrder(): __PublicMethodMetaInfo<'POST', {
958
+ id: string;
959
+ }, CancelOrderRequest$1, CancelOrderRequest, CancelOrderResponse$1, CancelOrderResponse>;
960
+ declare function markAsPaid(): __PublicMethodMetaInfo<'POST', {
961
+ id: string;
962
+ }, MarkAsPaidRequest$1, MarkAsPaidRequest, MarkAsPaidResponse$1, MarkAsPaidResponse>;
963
+ declare function pauseOrder(): __PublicMethodMetaInfo<'POST', {
964
+ id: string;
965
+ }, PauseOrderRequest$1, PauseOrderRequest, PauseOrderResponse$1, PauseOrderResponse>;
966
+ declare function resumeOrder(): __PublicMethodMetaInfo<'POST', {
967
+ id: string;
968
+ }, ResumeOrderRequest$1, ResumeOrderRequest, ResumeOrderResponse$1, ResumeOrderResponse>;
969
+ declare function memberGetOrder(): __PublicMethodMetaInfo<'GET', {
970
+ id: string;
971
+ }, MemberGetOrderRequest$1, MemberGetOrderRequest, MemberGetOrderResponse$1, MemberGetOrderResponse>;
972
+ declare function memberListOrders(): __PublicMethodMetaInfo<'GET', {}, MemberListOrdersRequest$1, MemberListOrdersRequest, MemberListOrdersResponse$1, MemberListOrdersResponse>;
973
+ declare function requestCancellation(): __PublicMethodMetaInfo<'POST', {
974
+ id: string;
975
+ }, RequestCancellationRequest$1, RequestCancellationRequest, RequestCancellationResponse$1, RequestCancellationResponse>;
976
+ declare function createOnlineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOnlineOrderRequest$1, CreateOnlineOrderRequest, CreateOnlineOrderResponse$1, CreateOnlineOrderResponse>;
977
+ declare function createOfflineOrder(): __PublicMethodMetaInfo<'POST', {}, CreateOfflineOrderRequest$1, CreateOfflineOrderRequest, CreateOfflineOrderResponse$1, CreateOfflineOrderResponse>;
978
+ declare function getOnlineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOnlineOrderPreviewRequest$1, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse$1, GetOnlineOrderPreviewResponse>;
979
+ declare function getOfflineOrderPreview(): __PublicMethodMetaInfo<'POST', {}, GetOfflineOrderPreviewRequest$1, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse$1, GetOfflineOrderPreviewResponse>;
980
+ declare function getPricePreview(): __PublicMethodMetaInfo<'POST', {}, GetPricePreviewRequest$1, GetPricePreviewRequest, GetPricePreviewResponse$1, GetPricePreviewResponse>;
981
+
982
+ export { type __PublicMethodMetaInfo, cancelOrder, createOfflineOrder, createOnlineOrder, getOfflineOrderPreview, getOnlineOrderPreview, getPricePreview, managementGetOrder, managementListOrders, markAsPaid, memberGetOrder, memberListOrders, pauseOrder, postponeEndDate, requestCancellation, resumeOrder };