@wix/pricing-plans 1.0.29 → 1.0.31
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/build/cjs/src/pricing-plans-v2-order.http.d.ts +8 -8
- package/build/cjs/src/pricing-plans-v2-order.http.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-order.public.d.ts +92 -9
- package/build/cjs/src/pricing-plans-v2-order.public.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-order.types.d.ts +641 -11
- package/build/cjs/src/pricing-plans-v2-order.types.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-order.universal.d.ts +590 -20
- package/build/cjs/src/pricing-plans-v2-order.universal.js +0 -2
- package/build/cjs/src/pricing-plans-v2-order.universal.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-plan.http.d.ts +11 -11
- package/build/cjs/src/pricing-plans-v2-plan.http.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-plan.public.d.ts +76 -10
- package/build/cjs/src/pricing-plans-v2-plan.types.d.ts +293 -2
- package/build/cjs/src/pricing-plans-v2-plan.types.js.map +1 -1
- package/build/cjs/src/pricing-plans-v2-plan.universal.d.ts +239 -11
- package/build/cjs/src/pricing-plans-v2-plan.universal.js.map +1 -1
- package/build/es/src/pricing-plans-v2-order.http.d.ts +8 -8
- package/build/es/src/pricing-plans-v2-order.http.js.map +1 -1
- package/build/es/src/pricing-plans-v2-order.public.d.ts +92 -9
- package/build/es/src/pricing-plans-v2-order.public.js.map +1 -1
- package/build/es/src/pricing-plans-v2-order.types.d.ts +641 -11
- package/build/es/src/pricing-plans-v2-order.types.js.map +1 -1
- package/build/es/src/pricing-plans-v2-order.universal.d.ts +590 -20
- package/build/es/src/pricing-plans-v2-order.universal.js +0 -2
- package/build/es/src/pricing-plans-v2-order.universal.js.map +1 -1
- package/build/es/src/pricing-plans-v2-plan.http.d.ts +11 -11
- package/build/es/src/pricing-plans-v2-plan.http.js.map +1 -1
- package/build/es/src/pricing-plans-v2-plan.public.d.ts +76 -10
- package/build/es/src/pricing-plans-v2-plan.types.d.ts +293 -2
- package/build/es/src/pricing-plans-v2-plan.types.js.map +1 -1
- package/build/es/src/pricing-plans-v2-plan.universal.d.ts +239 -11
- package/build/es/src/pricing-plans-v2-plan.universal.js.map +1 -1
- package/package.json +2 -2
@@ -161,6 +161,11 @@ export interface Order {
|
|
161
161
|
* @readonly
|
162
162
|
*/
|
163
163
|
updatedDate?: Date;
|
164
|
+
/**
|
165
|
+
* Information about the form submitted during the plan's checkout.
|
166
|
+
* @readonly
|
167
|
+
*/
|
168
|
+
formData?: FormData;
|
164
169
|
}
|
165
170
|
export interface Buyer {
|
166
171
|
/**
|
@@ -347,13 +352,7 @@ export interface Fee {
|
|
347
352
|
/** Fee name */
|
348
353
|
name?: string;
|
349
354
|
/** Amount of fee to be charged */
|
350
|
-
amount?:
|
351
|
-
}
|
352
|
-
export interface Money {
|
353
|
-
/** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). */
|
354
|
-
value?: string;
|
355
|
-
/** Currency code. Must be valid ISO 4217 currency code (e.g., USD). */
|
356
|
-
currency?: string;
|
355
|
+
amount?: string;
|
357
356
|
}
|
358
357
|
export declare enum OrderType {
|
359
358
|
UNDEFINED = "UNDEFINED",
|
@@ -496,13 +495,18 @@ export interface OrderCycle {
|
|
496
495
|
endedDate?: Date;
|
497
496
|
}
|
498
497
|
export interface FormData {
|
499
|
-
/**
|
498
|
+
/**
|
499
|
+
* ID of a plan's checkout form.
|
500
|
+
*
|
501
|
+
* Learn more about [forms](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction).
|
502
|
+
*/
|
500
503
|
formId?: string | null;
|
501
|
-
/**
|
504
|
+
/** ID of a submission to the plan's checkout form. Every time a visitor completes the checkout process for a plan, a new submission is created. */
|
502
505
|
submissionId?: string | null;
|
503
506
|
/**
|
504
|
-
* Data submitted to the
|
505
|
-
*
|
507
|
+
* Data submitted to the plan's checkout form.
|
508
|
+
*
|
509
|
+
* This field is returned when a method's `fieldset` is set to `FULL`.
|
506
510
|
* @readonly
|
507
511
|
*/
|
508
512
|
submissionData?: Record<string, any>;
|
@@ -1158,3 +1162,629 @@ export interface BulkResumeOrderResponse {
|
|
1158
1162
|
results?: BulkOrderResult[];
|
1159
1163
|
bulkActionMetadata?: BulkActionMetadata;
|
1160
1164
|
}
|
1165
|
+
export interface MemberGetOrderResponseNonNullableFields {
|
1166
|
+
order?: {
|
1167
|
+
id: string;
|
1168
|
+
planId: string;
|
1169
|
+
subscriptionId: string;
|
1170
|
+
buyer?: {
|
1171
|
+
memberId: string;
|
1172
|
+
contactId: string;
|
1173
|
+
};
|
1174
|
+
priceDetails?: {
|
1175
|
+
subscription?: {
|
1176
|
+
cycleDuration?: {
|
1177
|
+
unit: PeriodUnit;
|
1178
|
+
};
|
1179
|
+
};
|
1180
|
+
singlePaymentForDuration?: {
|
1181
|
+
unit: PeriodUnit;
|
1182
|
+
};
|
1183
|
+
subtotal: string;
|
1184
|
+
discount: string;
|
1185
|
+
tax?: {
|
1186
|
+
name: string;
|
1187
|
+
includedInPrice: boolean;
|
1188
|
+
rate: string;
|
1189
|
+
amount: string;
|
1190
|
+
};
|
1191
|
+
total: string;
|
1192
|
+
planPrice: string;
|
1193
|
+
currency: string;
|
1194
|
+
coupon?: {
|
1195
|
+
code: string;
|
1196
|
+
amount: string;
|
1197
|
+
id: string;
|
1198
|
+
};
|
1199
|
+
};
|
1200
|
+
pricing?: {
|
1201
|
+
subscription?: {
|
1202
|
+
cycleDuration?: {
|
1203
|
+
unit: PeriodUnit;
|
1204
|
+
};
|
1205
|
+
};
|
1206
|
+
singlePaymentForDuration?: {
|
1207
|
+
unit: PeriodUnit;
|
1208
|
+
};
|
1209
|
+
prices: {
|
1210
|
+
duration?: {
|
1211
|
+
cycleFrom: number;
|
1212
|
+
};
|
1213
|
+
price?: {
|
1214
|
+
subtotal: string;
|
1215
|
+
coupon?: {
|
1216
|
+
code: string;
|
1217
|
+
amount: string;
|
1218
|
+
id: string;
|
1219
|
+
};
|
1220
|
+
discount: string;
|
1221
|
+
tax?: {
|
1222
|
+
name: string;
|
1223
|
+
includedInPrice: boolean;
|
1224
|
+
rate: string;
|
1225
|
+
amount: string;
|
1226
|
+
};
|
1227
|
+
total: string;
|
1228
|
+
currency: string;
|
1229
|
+
fees: {
|
1230
|
+
name: string;
|
1231
|
+
amount: string;
|
1232
|
+
}[];
|
1233
|
+
proration: string;
|
1234
|
+
};
|
1235
|
+
}[];
|
1236
|
+
};
|
1237
|
+
type: OrderType;
|
1238
|
+
orderMethod: OrderMethod;
|
1239
|
+
status: OrderStatus;
|
1240
|
+
cancellation?: {
|
1241
|
+
cause: CancellationCause;
|
1242
|
+
effectiveAt: CancellationEffectiveAt;
|
1243
|
+
};
|
1244
|
+
lastPaymentStatus: PaymentStatus;
|
1245
|
+
pausePeriods: {
|
1246
|
+
status: Status;
|
1247
|
+
}[];
|
1248
|
+
currentCycle?: {
|
1249
|
+
index: number;
|
1250
|
+
};
|
1251
|
+
cycles: {
|
1252
|
+
index: number;
|
1253
|
+
}[];
|
1254
|
+
planName: string;
|
1255
|
+
planDescription: string;
|
1256
|
+
planPrice: string;
|
1257
|
+
statusNew: OrderStatus;
|
1258
|
+
};
|
1259
|
+
}
|
1260
|
+
export interface MemberListOrdersResponseNonNullableFields {
|
1261
|
+
orders: {
|
1262
|
+
id: string;
|
1263
|
+
planId: string;
|
1264
|
+
subscriptionId: string;
|
1265
|
+
buyer?: {
|
1266
|
+
memberId: string;
|
1267
|
+
contactId: string;
|
1268
|
+
};
|
1269
|
+
priceDetails?: {
|
1270
|
+
subscription?: {
|
1271
|
+
cycleDuration?: {
|
1272
|
+
unit: PeriodUnit;
|
1273
|
+
};
|
1274
|
+
};
|
1275
|
+
singlePaymentForDuration?: {
|
1276
|
+
unit: PeriodUnit;
|
1277
|
+
};
|
1278
|
+
subtotal: string;
|
1279
|
+
discount: string;
|
1280
|
+
tax?: {
|
1281
|
+
name: string;
|
1282
|
+
includedInPrice: boolean;
|
1283
|
+
rate: string;
|
1284
|
+
amount: string;
|
1285
|
+
};
|
1286
|
+
total: string;
|
1287
|
+
planPrice: string;
|
1288
|
+
currency: string;
|
1289
|
+
coupon?: {
|
1290
|
+
code: string;
|
1291
|
+
amount: string;
|
1292
|
+
id: string;
|
1293
|
+
};
|
1294
|
+
};
|
1295
|
+
pricing?: {
|
1296
|
+
subscription?: {
|
1297
|
+
cycleDuration?: {
|
1298
|
+
unit: PeriodUnit;
|
1299
|
+
};
|
1300
|
+
};
|
1301
|
+
singlePaymentForDuration?: {
|
1302
|
+
unit: PeriodUnit;
|
1303
|
+
};
|
1304
|
+
prices: {
|
1305
|
+
duration?: {
|
1306
|
+
cycleFrom: number;
|
1307
|
+
};
|
1308
|
+
price?: {
|
1309
|
+
subtotal: string;
|
1310
|
+
coupon?: {
|
1311
|
+
code: string;
|
1312
|
+
amount: string;
|
1313
|
+
id: string;
|
1314
|
+
};
|
1315
|
+
discount: string;
|
1316
|
+
tax?: {
|
1317
|
+
name: string;
|
1318
|
+
includedInPrice: boolean;
|
1319
|
+
rate: string;
|
1320
|
+
amount: string;
|
1321
|
+
};
|
1322
|
+
total: string;
|
1323
|
+
currency: string;
|
1324
|
+
fees: {
|
1325
|
+
name: string;
|
1326
|
+
amount: string;
|
1327
|
+
}[];
|
1328
|
+
proration: string;
|
1329
|
+
};
|
1330
|
+
}[];
|
1331
|
+
};
|
1332
|
+
type: OrderType;
|
1333
|
+
orderMethod: OrderMethod;
|
1334
|
+
status: OrderStatus;
|
1335
|
+
cancellation?: {
|
1336
|
+
cause: CancellationCause;
|
1337
|
+
effectiveAt: CancellationEffectiveAt;
|
1338
|
+
};
|
1339
|
+
lastPaymentStatus: PaymentStatus;
|
1340
|
+
pausePeriods: {
|
1341
|
+
status: Status;
|
1342
|
+
}[];
|
1343
|
+
currentCycle?: {
|
1344
|
+
index: number;
|
1345
|
+
};
|
1346
|
+
cycles: {
|
1347
|
+
index: number;
|
1348
|
+
}[];
|
1349
|
+
planName: string;
|
1350
|
+
planDescription: string;
|
1351
|
+
planPrice: string;
|
1352
|
+
statusNew: OrderStatus;
|
1353
|
+
}[];
|
1354
|
+
}
|
1355
|
+
export interface CreateOfflineOrderResponseNonNullableFields {
|
1356
|
+
order?: {
|
1357
|
+
id: string;
|
1358
|
+
planId: string;
|
1359
|
+
subscriptionId: string;
|
1360
|
+
buyer?: {
|
1361
|
+
memberId: string;
|
1362
|
+
contactId: string;
|
1363
|
+
};
|
1364
|
+
priceDetails?: {
|
1365
|
+
subscription?: {
|
1366
|
+
cycleDuration?: {
|
1367
|
+
unit: PeriodUnit;
|
1368
|
+
};
|
1369
|
+
};
|
1370
|
+
singlePaymentForDuration?: {
|
1371
|
+
unit: PeriodUnit;
|
1372
|
+
};
|
1373
|
+
subtotal: string;
|
1374
|
+
discount: string;
|
1375
|
+
tax?: {
|
1376
|
+
name: string;
|
1377
|
+
includedInPrice: boolean;
|
1378
|
+
rate: string;
|
1379
|
+
amount: string;
|
1380
|
+
};
|
1381
|
+
total: string;
|
1382
|
+
planPrice: string;
|
1383
|
+
currency: string;
|
1384
|
+
coupon?: {
|
1385
|
+
code: string;
|
1386
|
+
amount: string;
|
1387
|
+
id: string;
|
1388
|
+
};
|
1389
|
+
};
|
1390
|
+
pricing?: {
|
1391
|
+
subscription?: {
|
1392
|
+
cycleDuration?: {
|
1393
|
+
unit: PeriodUnit;
|
1394
|
+
};
|
1395
|
+
};
|
1396
|
+
singlePaymentForDuration?: {
|
1397
|
+
unit: PeriodUnit;
|
1398
|
+
};
|
1399
|
+
prices: {
|
1400
|
+
duration?: {
|
1401
|
+
cycleFrom: number;
|
1402
|
+
};
|
1403
|
+
price?: {
|
1404
|
+
subtotal: string;
|
1405
|
+
coupon?: {
|
1406
|
+
code: string;
|
1407
|
+
amount: string;
|
1408
|
+
id: string;
|
1409
|
+
};
|
1410
|
+
discount: string;
|
1411
|
+
tax?: {
|
1412
|
+
name: string;
|
1413
|
+
includedInPrice: boolean;
|
1414
|
+
rate: string;
|
1415
|
+
amount: string;
|
1416
|
+
};
|
1417
|
+
total: string;
|
1418
|
+
currency: string;
|
1419
|
+
fees: {
|
1420
|
+
name: string;
|
1421
|
+
amount: string;
|
1422
|
+
}[];
|
1423
|
+
proration: string;
|
1424
|
+
};
|
1425
|
+
}[];
|
1426
|
+
};
|
1427
|
+
type: OrderType;
|
1428
|
+
orderMethod: OrderMethod;
|
1429
|
+
status: OrderStatus;
|
1430
|
+
cancellation?: {
|
1431
|
+
cause: CancellationCause;
|
1432
|
+
effectiveAt: CancellationEffectiveAt;
|
1433
|
+
};
|
1434
|
+
lastPaymentStatus: PaymentStatus;
|
1435
|
+
pausePeriods: {
|
1436
|
+
status: Status;
|
1437
|
+
}[];
|
1438
|
+
currentCycle?: {
|
1439
|
+
index: number;
|
1440
|
+
};
|
1441
|
+
cycles: {
|
1442
|
+
index: number;
|
1443
|
+
}[];
|
1444
|
+
planName: string;
|
1445
|
+
planDescription: string;
|
1446
|
+
planPrice: string;
|
1447
|
+
statusNew: OrderStatus;
|
1448
|
+
};
|
1449
|
+
}
|
1450
|
+
export interface GetOfflineOrderPreviewResponseNonNullableFields {
|
1451
|
+
order?: {
|
1452
|
+
id: string;
|
1453
|
+
planId: string;
|
1454
|
+
subscriptionId: string;
|
1455
|
+
buyer?: {
|
1456
|
+
memberId: string;
|
1457
|
+
contactId: string;
|
1458
|
+
};
|
1459
|
+
priceDetails?: {
|
1460
|
+
subscription?: {
|
1461
|
+
cycleDuration?: {
|
1462
|
+
unit: PeriodUnit;
|
1463
|
+
};
|
1464
|
+
};
|
1465
|
+
singlePaymentForDuration?: {
|
1466
|
+
unit: PeriodUnit;
|
1467
|
+
};
|
1468
|
+
subtotal: string;
|
1469
|
+
discount: string;
|
1470
|
+
tax?: {
|
1471
|
+
name: string;
|
1472
|
+
includedInPrice: boolean;
|
1473
|
+
rate: string;
|
1474
|
+
amount: string;
|
1475
|
+
};
|
1476
|
+
total: string;
|
1477
|
+
planPrice: string;
|
1478
|
+
currency: string;
|
1479
|
+
coupon?: {
|
1480
|
+
code: string;
|
1481
|
+
amount: string;
|
1482
|
+
id: string;
|
1483
|
+
};
|
1484
|
+
};
|
1485
|
+
pricing?: {
|
1486
|
+
subscription?: {
|
1487
|
+
cycleDuration?: {
|
1488
|
+
unit: PeriodUnit;
|
1489
|
+
};
|
1490
|
+
};
|
1491
|
+
singlePaymentForDuration?: {
|
1492
|
+
unit: PeriodUnit;
|
1493
|
+
};
|
1494
|
+
prices: {
|
1495
|
+
duration?: {
|
1496
|
+
cycleFrom: number;
|
1497
|
+
};
|
1498
|
+
price?: {
|
1499
|
+
subtotal: string;
|
1500
|
+
coupon?: {
|
1501
|
+
code: string;
|
1502
|
+
amount: string;
|
1503
|
+
id: string;
|
1504
|
+
};
|
1505
|
+
discount: string;
|
1506
|
+
tax?: {
|
1507
|
+
name: string;
|
1508
|
+
includedInPrice: boolean;
|
1509
|
+
rate: string;
|
1510
|
+
amount: string;
|
1511
|
+
};
|
1512
|
+
total: string;
|
1513
|
+
currency: string;
|
1514
|
+
fees: {
|
1515
|
+
name: string;
|
1516
|
+
amount: string;
|
1517
|
+
}[];
|
1518
|
+
proration: string;
|
1519
|
+
};
|
1520
|
+
}[];
|
1521
|
+
};
|
1522
|
+
type: OrderType;
|
1523
|
+
orderMethod: OrderMethod;
|
1524
|
+
status: OrderStatus;
|
1525
|
+
cancellation?: {
|
1526
|
+
cause: CancellationCause;
|
1527
|
+
effectiveAt: CancellationEffectiveAt;
|
1528
|
+
};
|
1529
|
+
lastPaymentStatus: PaymentStatus;
|
1530
|
+
pausePeriods: {
|
1531
|
+
status: Status;
|
1532
|
+
}[];
|
1533
|
+
currentCycle?: {
|
1534
|
+
index: number;
|
1535
|
+
};
|
1536
|
+
cycles: {
|
1537
|
+
index: number;
|
1538
|
+
}[];
|
1539
|
+
planName: string;
|
1540
|
+
planDescription: string;
|
1541
|
+
planPrice: string;
|
1542
|
+
statusNew: OrderStatus;
|
1543
|
+
};
|
1544
|
+
purchaseLimitExceeded: boolean;
|
1545
|
+
}
|
1546
|
+
export interface GetPricePreviewResponseNonNullableFields {
|
1547
|
+
price?: {
|
1548
|
+
subscription?: {
|
1549
|
+
cycleDuration?: {
|
1550
|
+
unit: PeriodUnit;
|
1551
|
+
};
|
1552
|
+
};
|
1553
|
+
singlePaymentForDuration?: {
|
1554
|
+
unit: PeriodUnit;
|
1555
|
+
};
|
1556
|
+
subtotal: string;
|
1557
|
+
discount: string;
|
1558
|
+
tax?: {
|
1559
|
+
name: string;
|
1560
|
+
includedInPrice: boolean;
|
1561
|
+
rate: string;
|
1562
|
+
amount: string;
|
1563
|
+
};
|
1564
|
+
total: string;
|
1565
|
+
planPrice: string;
|
1566
|
+
currency: string;
|
1567
|
+
coupon?: {
|
1568
|
+
code: string;
|
1569
|
+
amount: string;
|
1570
|
+
id: string;
|
1571
|
+
};
|
1572
|
+
};
|
1573
|
+
prices: {
|
1574
|
+
duration?: {
|
1575
|
+
cycleFrom: number;
|
1576
|
+
};
|
1577
|
+
price?: {
|
1578
|
+
subtotal: string;
|
1579
|
+
coupon?: {
|
1580
|
+
code: string;
|
1581
|
+
amount: string;
|
1582
|
+
id: string;
|
1583
|
+
};
|
1584
|
+
discount: string;
|
1585
|
+
tax?: {
|
1586
|
+
name: string;
|
1587
|
+
includedInPrice: boolean;
|
1588
|
+
rate: string;
|
1589
|
+
amount: string;
|
1590
|
+
};
|
1591
|
+
total: string;
|
1592
|
+
currency: string;
|
1593
|
+
fees: {
|
1594
|
+
name: string;
|
1595
|
+
amount: string;
|
1596
|
+
}[];
|
1597
|
+
proration: string;
|
1598
|
+
};
|
1599
|
+
}[];
|
1600
|
+
}
|
1601
|
+
export interface GetOrderResponseNonNullableFields {
|
1602
|
+
order?: {
|
1603
|
+
id: string;
|
1604
|
+
planId: string;
|
1605
|
+
subscriptionId: string;
|
1606
|
+
buyer?: {
|
1607
|
+
memberId: string;
|
1608
|
+
contactId: string;
|
1609
|
+
};
|
1610
|
+
priceDetails?: {
|
1611
|
+
subscription?: {
|
1612
|
+
cycleDuration?: {
|
1613
|
+
unit: PeriodUnit;
|
1614
|
+
};
|
1615
|
+
};
|
1616
|
+
singlePaymentForDuration?: {
|
1617
|
+
unit: PeriodUnit;
|
1618
|
+
};
|
1619
|
+
subtotal: string;
|
1620
|
+
discount: string;
|
1621
|
+
tax?: {
|
1622
|
+
name: string;
|
1623
|
+
includedInPrice: boolean;
|
1624
|
+
rate: string;
|
1625
|
+
amount: string;
|
1626
|
+
};
|
1627
|
+
total: string;
|
1628
|
+
planPrice: string;
|
1629
|
+
currency: string;
|
1630
|
+
coupon?: {
|
1631
|
+
code: string;
|
1632
|
+
amount: string;
|
1633
|
+
id: string;
|
1634
|
+
};
|
1635
|
+
};
|
1636
|
+
pricing?: {
|
1637
|
+
subscription?: {
|
1638
|
+
cycleDuration?: {
|
1639
|
+
unit: PeriodUnit;
|
1640
|
+
};
|
1641
|
+
};
|
1642
|
+
singlePaymentForDuration?: {
|
1643
|
+
unit: PeriodUnit;
|
1644
|
+
};
|
1645
|
+
prices: {
|
1646
|
+
duration?: {
|
1647
|
+
cycleFrom: number;
|
1648
|
+
};
|
1649
|
+
price?: {
|
1650
|
+
subtotal: string;
|
1651
|
+
coupon?: {
|
1652
|
+
code: string;
|
1653
|
+
amount: string;
|
1654
|
+
id: string;
|
1655
|
+
};
|
1656
|
+
discount: string;
|
1657
|
+
tax?: {
|
1658
|
+
name: string;
|
1659
|
+
includedInPrice: boolean;
|
1660
|
+
rate: string;
|
1661
|
+
amount: string;
|
1662
|
+
};
|
1663
|
+
total: string;
|
1664
|
+
currency: string;
|
1665
|
+
fees: {
|
1666
|
+
name: string;
|
1667
|
+
amount: string;
|
1668
|
+
}[];
|
1669
|
+
proration: string;
|
1670
|
+
};
|
1671
|
+
}[];
|
1672
|
+
};
|
1673
|
+
type: OrderType;
|
1674
|
+
orderMethod: OrderMethod;
|
1675
|
+
status: OrderStatus;
|
1676
|
+
cancellation?: {
|
1677
|
+
cause: CancellationCause;
|
1678
|
+
effectiveAt: CancellationEffectiveAt;
|
1679
|
+
};
|
1680
|
+
lastPaymentStatus: PaymentStatus;
|
1681
|
+
pausePeriods: {
|
1682
|
+
status: Status;
|
1683
|
+
}[];
|
1684
|
+
currentCycle?: {
|
1685
|
+
index: number;
|
1686
|
+
};
|
1687
|
+
cycles: {
|
1688
|
+
index: number;
|
1689
|
+
}[];
|
1690
|
+
planName: string;
|
1691
|
+
planDescription: string;
|
1692
|
+
planPrice: string;
|
1693
|
+
statusNew: OrderStatus;
|
1694
|
+
};
|
1695
|
+
}
|
1696
|
+
export interface ListOrdersResponseNonNullableFields {
|
1697
|
+
orders: {
|
1698
|
+
id: string;
|
1699
|
+
planId: string;
|
1700
|
+
subscriptionId: string;
|
1701
|
+
buyer?: {
|
1702
|
+
memberId: string;
|
1703
|
+
contactId: string;
|
1704
|
+
};
|
1705
|
+
priceDetails?: {
|
1706
|
+
subscription?: {
|
1707
|
+
cycleDuration?: {
|
1708
|
+
unit: PeriodUnit;
|
1709
|
+
};
|
1710
|
+
};
|
1711
|
+
singlePaymentForDuration?: {
|
1712
|
+
unit: PeriodUnit;
|
1713
|
+
};
|
1714
|
+
subtotal: string;
|
1715
|
+
discount: string;
|
1716
|
+
tax?: {
|
1717
|
+
name: string;
|
1718
|
+
includedInPrice: boolean;
|
1719
|
+
rate: string;
|
1720
|
+
amount: string;
|
1721
|
+
};
|
1722
|
+
total: string;
|
1723
|
+
planPrice: string;
|
1724
|
+
currency: string;
|
1725
|
+
coupon?: {
|
1726
|
+
code: string;
|
1727
|
+
amount: string;
|
1728
|
+
id: string;
|
1729
|
+
};
|
1730
|
+
};
|
1731
|
+
pricing?: {
|
1732
|
+
subscription?: {
|
1733
|
+
cycleDuration?: {
|
1734
|
+
unit: PeriodUnit;
|
1735
|
+
};
|
1736
|
+
};
|
1737
|
+
singlePaymentForDuration?: {
|
1738
|
+
unit: PeriodUnit;
|
1739
|
+
};
|
1740
|
+
prices: {
|
1741
|
+
duration?: {
|
1742
|
+
cycleFrom: number;
|
1743
|
+
};
|
1744
|
+
price?: {
|
1745
|
+
subtotal: string;
|
1746
|
+
coupon?: {
|
1747
|
+
code: string;
|
1748
|
+
amount: string;
|
1749
|
+
id: string;
|
1750
|
+
};
|
1751
|
+
discount: string;
|
1752
|
+
tax?: {
|
1753
|
+
name: string;
|
1754
|
+
includedInPrice: boolean;
|
1755
|
+
rate: string;
|
1756
|
+
amount: string;
|
1757
|
+
};
|
1758
|
+
total: string;
|
1759
|
+
currency: string;
|
1760
|
+
fees: {
|
1761
|
+
name: string;
|
1762
|
+
amount: string;
|
1763
|
+
}[];
|
1764
|
+
proration: string;
|
1765
|
+
};
|
1766
|
+
}[];
|
1767
|
+
};
|
1768
|
+
type: OrderType;
|
1769
|
+
orderMethod: OrderMethod;
|
1770
|
+
status: OrderStatus;
|
1771
|
+
cancellation?: {
|
1772
|
+
cause: CancellationCause;
|
1773
|
+
effectiveAt: CancellationEffectiveAt;
|
1774
|
+
};
|
1775
|
+
lastPaymentStatus: PaymentStatus;
|
1776
|
+
pausePeriods: {
|
1777
|
+
status: Status;
|
1778
|
+
}[];
|
1779
|
+
currentCycle?: {
|
1780
|
+
index: number;
|
1781
|
+
};
|
1782
|
+
cycles: {
|
1783
|
+
index: number;
|
1784
|
+
}[];
|
1785
|
+
planName: string;
|
1786
|
+
planDescription: string;
|
1787
|
+
planPrice: string;
|
1788
|
+
statusNew: OrderStatus;
|
1789
|
+
}[];
|
1790
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pricing-plans-v2-order.types.js","sourceRoot":"","sources":["../../../src/pricing-plans-v2-order.types.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"pricing-plans-v2-order.types.js","sourceRoot":"","sources":["../../../src/pricing-plans-v2-order.types.ts"],"names":[],"mappings":";;;AAiQA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,qCAAuB,CAAA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