@wix/auto_sdk_ecom_subscription-contracts 1.0.59 → 1.0.61
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/meta.d.ts +416 -1
- package/build/cjs/meta.js +158 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +416 -1
- package/build/es/meta.mjs +142 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +416 -1
- package/build/internal/cjs/meta.js +158 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +416 -1
- package/build/internal/es/meta.mjs +142 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -119,6 +119,18 @@ interface SubscriptionContract {
|
|
|
119
119
|
*/
|
|
120
120
|
additionalFees?: AdditionalFee[];
|
|
121
121
|
}
|
|
122
|
+
interface V1SubscriptionDescription {
|
|
123
|
+
/**
|
|
124
|
+
* Subscription option description.
|
|
125
|
+
* @maxLength 500
|
|
126
|
+
*/
|
|
127
|
+
original?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Translated subscription option description.
|
|
130
|
+
* @maxLength 500
|
|
131
|
+
*/
|
|
132
|
+
translated?: string | null;
|
|
133
|
+
}
|
|
122
134
|
interface V1SubscriptionSettings {
|
|
123
135
|
/** Frequency of recurring payment. */
|
|
124
136
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
@@ -406,6 +418,16 @@ interface Color {
|
|
|
406
418
|
/** HEX or RGB color code for display. */
|
|
407
419
|
code?: string | null;
|
|
408
420
|
}
|
|
421
|
+
declare enum DescriptionLineType {
|
|
422
|
+
/** Unrecognized type. */
|
|
423
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
424
|
+
/** Plain text type. */
|
|
425
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
426
|
+
/** Color type. */
|
|
427
|
+
COLOR = "COLOR"
|
|
428
|
+
}
|
|
429
|
+
/** @enumType */
|
|
430
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
409
431
|
interface Image {
|
|
410
432
|
/** WixMedia image ID. */
|
|
411
433
|
id?: string;
|
|
@@ -429,6 +451,16 @@ interface Image {
|
|
|
429
451
|
*/
|
|
430
452
|
filename?: string | null;
|
|
431
453
|
}
|
|
454
|
+
interface FocalPoint {
|
|
455
|
+
/** X-coordinate of the focal point. */
|
|
456
|
+
x?: number;
|
|
457
|
+
/** Y-coordinate of the focal point. */
|
|
458
|
+
y?: number;
|
|
459
|
+
/** crop by height */
|
|
460
|
+
height?: number | null;
|
|
461
|
+
/** crop by width */
|
|
462
|
+
width?: number | null;
|
|
463
|
+
}
|
|
432
464
|
interface PhysicalProperties {
|
|
433
465
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
434
466
|
weight?: number | null;
|
|
@@ -619,6 +651,34 @@ interface SubscriptionInfo {
|
|
|
619
651
|
*/
|
|
620
652
|
chargesDescription?: string | null;
|
|
621
653
|
}
|
|
654
|
+
interface SubscriptionTitle {
|
|
655
|
+
/**
|
|
656
|
+
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
657
|
+
* @minLength 1
|
|
658
|
+
* @maxLength 150
|
|
659
|
+
*/
|
|
660
|
+
original?: string;
|
|
661
|
+
/**
|
|
662
|
+
* Subscription option name translated into the buyer's language.
|
|
663
|
+
*
|
|
664
|
+
* Default: Same as `original`.
|
|
665
|
+
* @minLength 1
|
|
666
|
+
* @maxLength 150
|
|
667
|
+
*/
|
|
668
|
+
translated?: string | null;
|
|
669
|
+
}
|
|
670
|
+
interface SubscriptionDescription {
|
|
671
|
+
/**
|
|
672
|
+
* Subscription option description.
|
|
673
|
+
* @maxLength 500
|
|
674
|
+
*/
|
|
675
|
+
original?: string;
|
|
676
|
+
/**
|
|
677
|
+
* Translated subscription option description.
|
|
678
|
+
* @maxLength 500
|
|
679
|
+
*/
|
|
680
|
+
translated?: string | null;
|
|
681
|
+
}
|
|
622
682
|
interface SubscriptionSettings {
|
|
623
683
|
/** Frequency of recurring payment. */
|
|
624
684
|
frequency?: V2SubscriptionFrequencyWithLiterals;
|
|
@@ -660,6 +720,29 @@ interface FreeTrialPeriod {
|
|
|
660
720
|
*/
|
|
661
721
|
interval?: number;
|
|
662
722
|
}
|
|
723
|
+
interface BillingAdjustment {
|
|
724
|
+
/** The type of adjustment. */
|
|
725
|
+
type?: AdjustmentTypeWithLiterals;
|
|
726
|
+
/** Summary of the prorated adjustment amount. */
|
|
727
|
+
priceSummary?: BillingAdjustmentPriceSummary;
|
|
728
|
+
}
|
|
729
|
+
declare enum AdjustmentType {
|
|
730
|
+
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
731
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
732
|
+
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
733
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
734
|
+
CREDIT = "CREDIT"
|
|
735
|
+
}
|
|
736
|
+
/** @enumType */
|
|
737
|
+
type AdjustmentTypeWithLiterals = AdjustmentType | 'UNKNOWN_ADJUSTMENT_TYPE' | 'EXTRA_CHARGE' | 'CREDIT';
|
|
738
|
+
interface BillingAdjustmentPriceSummary {
|
|
739
|
+
/** Subtotal of adjustment, before tax. */
|
|
740
|
+
subtotal?: Price;
|
|
741
|
+
/** Tax on adjustment. */
|
|
742
|
+
tax?: Price;
|
|
743
|
+
/** Total price after tax. */
|
|
744
|
+
total?: Price;
|
|
745
|
+
}
|
|
663
746
|
interface PriceDescription {
|
|
664
747
|
/**
|
|
665
748
|
* __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -1126,6 +1209,53 @@ interface ShippingRegion {
|
|
|
1126
1209
|
*/
|
|
1127
1210
|
name?: string | null;
|
|
1128
1211
|
}
|
|
1212
|
+
interface OrderTaxInfo {
|
|
1213
|
+
/** Calculated tax, added from line items. */
|
|
1214
|
+
totalTax?: Price;
|
|
1215
|
+
/**
|
|
1216
|
+
* The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
|
|
1217
|
+
* @maxSize 50
|
|
1218
|
+
*/
|
|
1219
|
+
taxBreakdown?: OrderTaxBreakdown[];
|
|
1220
|
+
/**
|
|
1221
|
+
* Whether the order is exempt from tax calculations.
|
|
1222
|
+
*
|
|
1223
|
+
* Default: `false`
|
|
1224
|
+
* @readonly
|
|
1225
|
+
*/
|
|
1226
|
+
taxExempt?: boolean | null;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
|
|
1230
|
+
* Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
|
|
1231
|
+
*/
|
|
1232
|
+
interface OrderTaxBreakdown {
|
|
1233
|
+
/**
|
|
1234
|
+
* The name of the tax against which this tax amount was calculated.
|
|
1235
|
+
* @maxLength 200
|
|
1236
|
+
*/
|
|
1237
|
+
taxName?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
|
|
1240
|
+
* @maxLength 200
|
|
1241
|
+
*/
|
|
1242
|
+
taxType?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* The name of the jurisdiction in which this tax detail applies.
|
|
1245
|
+
* @maxLength 200
|
|
1246
|
+
*/
|
|
1247
|
+
jurisdiction?: string;
|
|
1248
|
+
/** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
1249
|
+
jurisdictionType?: JurisdictionTypeWithLiterals;
|
|
1250
|
+
/**
|
|
1251
|
+
* The rate at which this tax detail was calculated.
|
|
1252
|
+
* @format DECIMAL_VALUE
|
|
1253
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1254
|
+
*/
|
|
1255
|
+
rate?: string;
|
|
1256
|
+
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1257
|
+
aggregatedTaxAmount?: Price;
|
|
1258
|
+
}
|
|
1129
1259
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
1130
1260
|
/** Applied coupon info. */
|
|
1131
1261
|
coupon?: Coupon;
|
|
@@ -1244,6 +1374,15 @@ interface DiscountRuleName {
|
|
|
1244
1374
|
*/
|
|
1245
1375
|
translated?: string | null;
|
|
1246
1376
|
}
|
|
1377
|
+
interface LineItemDiscount {
|
|
1378
|
+
/**
|
|
1379
|
+
* ID of line item the discount applies to.
|
|
1380
|
+
* @format GUID
|
|
1381
|
+
*/
|
|
1382
|
+
id?: string;
|
|
1383
|
+
/** Total discount for this line item. */
|
|
1384
|
+
totalDiscount?: Price;
|
|
1385
|
+
}
|
|
1247
1386
|
interface ChannelInfo {
|
|
1248
1387
|
/** Sales channel that submitted the order. */
|
|
1249
1388
|
type?: ChannelTypeWithLiterals;
|
|
@@ -1312,6 +1451,22 @@ interface CustomField {
|
|
|
1312
1451
|
*/
|
|
1313
1452
|
translatedTitle?: string | null;
|
|
1314
1453
|
}
|
|
1454
|
+
interface V1SubscriptionTitle {
|
|
1455
|
+
/**
|
|
1456
|
+
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
1457
|
+
* @minLength 1
|
|
1458
|
+
* @maxLength 150
|
|
1459
|
+
*/
|
|
1460
|
+
original?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* Subscription option name translated into the buyer's language.
|
|
1463
|
+
*
|
|
1464
|
+
* Default: Same as `original`.
|
|
1465
|
+
* @minLength 1
|
|
1466
|
+
* @maxLength 150
|
|
1467
|
+
*/
|
|
1468
|
+
translated?: string | null;
|
|
1469
|
+
}
|
|
1315
1470
|
interface AdditionalFee {
|
|
1316
1471
|
/**
|
|
1317
1472
|
* Additional fee's unique code for future processing.
|
|
@@ -1351,6 +1506,29 @@ interface AdditionalFee {
|
|
|
1351
1506
|
*/
|
|
1352
1507
|
lineItemIds?: string[];
|
|
1353
1508
|
}
|
|
1509
|
+
interface Location {
|
|
1510
|
+
/**
|
|
1511
|
+
* Location ID.
|
|
1512
|
+
* Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
1513
|
+
* @format GUID
|
|
1514
|
+
*/
|
|
1515
|
+
id?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* Location name.
|
|
1518
|
+
* @minLength 1
|
|
1519
|
+
* @maxLength 500
|
|
1520
|
+
* @readonly
|
|
1521
|
+
*/
|
|
1522
|
+
name?: string;
|
|
1523
|
+
}
|
|
1524
|
+
interface CreateSubscriptionContractRequest {
|
|
1525
|
+
/** SubscriptionContract to be created. */
|
|
1526
|
+
subscriptionContract?: SubscriptionContract;
|
|
1527
|
+
}
|
|
1528
|
+
interface CreateSubscriptionContractResponse {
|
|
1529
|
+
/** The created SubscriptionContract. */
|
|
1530
|
+
subscriptionContract?: SubscriptionContract;
|
|
1531
|
+
}
|
|
1354
1532
|
interface GetSubscriptionContractRequest {
|
|
1355
1533
|
/**
|
|
1356
1534
|
* ID of the SubscriptionContract to retrieve.
|
|
@@ -1362,6 +1540,14 @@ interface GetSubscriptionContractResponse {
|
|
|
1362
1540
|
/** The requested SubscriptionContract. */
|
|
1363
1541
|
subscriptionContract?: SubscriptionContract;
|
|
1364
1542
|
}
|
|
1543
|
+
interface UpdateSubscriptionContractRequest {
|
|
1544
|
+
/** SubscriptionContract to be updated, may be partial. */
|
|
1545
|
+
subscriptionContract?: SubscriptionContract;
|
|
1546
|
+
}
|
|
1547
|
+
interface UpdateSubscriptionContractResponse {
|
|
1548
|
+
/** Updated SubscriptionContract. */
|
|
1549
|
+
subscriptionContract?: SubscriptionContract;
|
|
1550
|
+
}
|
|
1365
1551
|
interface QuerySubscriptionContractsRequest {
|
|
1366
1552
|
/** WQL expression. */
|
|
1367
1553
|
query?: CursorQuery;
|
|
@@ -1453,6 +1639,235 @@ interface Cursors {
|
|
|
1453
1639
|
*/
|
|
1454
1640
|
prev?: string | null;
|
|
1455
1641
|
}
|
|
1642
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1643
|
+
createdEvent?: EntityCreatedEvent;
|
|
1644
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1645
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1646
|
+
actionEvent?: ActionEvent;
|
|
1647
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1648
|
+
id?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1651
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1652
|
+
*/
|
|
1653
|
+
entityFqdn?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1656
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1657
|
+
*/
|
|
1658
|
+
slug?: string;
|
|
1659
|
+
/** ID of the entity associated with the event. */
|
|
1660
|
+
entityId?: string;
|
|
1661
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1662
|
+
eventTime?: Date | null;
|
|
1663
|
+
/**
|
|
1664
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
1665
|
+
* (for example, GDPR).
|
|
1666
|
+
*/
|
|
1667
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1668
|
+
/** If present, indicates the action that triggered the event. */
|
|
1669
|
+
originatedFrom?: string | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
1672
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1673
|
+
*/
|
|
1674
|
+
entityEventSequence?: string | null;
|
|
1675
|
+
}
|
|
1676
|
+
/** @oneof */
|
|
1677
|
+
interface DomainEventBodyOneOf {
|
|
1678
|
+
createdEvent?: EntityCreatedEvent;
|
|
1679
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1680
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1681
|
+
actionEvent?: ActionEvent;
|
|
1682
|
+
}
|
|
1683
|
+
interface EntityCreatedEvent {
|
|
1684
|
+
entityAsJson?: string;
|
|
1685
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
1686
|
+
restoreInfo?: RestoreInfo;
|
|
1687
|
+
}
|
|
1688
|
+
interface RestoreInfo {
|
|
1689
|
+
deletedDate?: Date | null;
|
|
1690
|
+
}
|
|
1691
|
+
interface EntityUpdatedEvent {
|
|
1692
|
+
/**
|
|
1693
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1694
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1695
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1696
|
+
*/
|
|
1697
|
+
currentEntityAsJson?: string;
|
|
1698
|
+
}
|
|
1699
|
+
interface EntityDeletedEvent {
|
|
1700
|
+
/** Entity that was deleted. */
|
|
1701
|
+
deletedEntityAsJson?: string | null;
|
|
1702
|
+
}
|
|
1703
|
+
interface ActionEvent {
|
|
1704
|
+
bodyAsJson?: string;
|
|
1705
|
+
}
|
|
1706
|
+
interface Empty {
|
|
1707
|
+
}
|
|
1708
|
+
interface BulkCreateSubscriptionContractsRequest {
|
|
1709
|
+
/**
|
|
1710
|
+
* List of SubscriptionContracts to create.
|
|
1711
|
+
* @minSize 1
|
|
1712
|
+
* @maxSize 100
|
|
1713
|
+
*/
|
|
1714
|
+
subscriptionContracts?: SubscriptionContract[];
|
|
1715
|
+
/**
|
|
1716
|
+
* Whether to return the full subscription contract entities in the response.
|
|
1717
|
+
*
|
|
1718
|
+
* Default: `false`
|
|
1719
|
+
*/
|
|
1720
|
+
returnEntity?: boolean;
|
|
1721
|
+
}
|
|
1722
|
+
interface BulkCreateSubscriptionContractsResponse {
|
|
1723
|
+
/**
|
|
1724
|
+
* Results of the contract created operation.
|
|
1725
|
+
* @minSize 1
|
|
1726
|
+
* @maxSize 100
|
|
1727
|
+
*/
|
|
1728
|
+
results?: BulkSubscriptionContractResult[];
|
|
1729
|
+
/** Bulk action metadata. */
|
|
1730
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
1731
|
+
}
|
|
1732
|
+
interface BulkSubscriptionContractResult {
|
|
1733
|
+
/** Metadata about a single update operation. */
|
|
1734
|
+
itemMetadata?: ItemMetadata;
|
|
1735
|
+
/**
|
|
1736
|
+
* Created subscription contract.
|
|
1737
|
+
*
|
|
1738
|
+
* Only present if `returnEntity` was `true`.
|
|
1739
|
+
*/
|
|
1740
|
+
item?: SubscriptionContract;
|
|
1741
|
+
}
|
|
1742
|
+
interface ItemMetadata {
|
|
1743
|
+
/**
|
|
1744
|
+
* Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.
|
|
1745
|
+
* @format GUID
|
|
1746
|
+
*/
|
|
1747
|
+
id?: string | null;
|
|
1748
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1749
|
+
originalIndex?: number;
|
|
1750
|
+
/** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */
|
|
1751
|
+
success?: boolean;
|
|
1752
|
+
/** Details about the error in case of failure. */
|
|
1753
|
+
error?: ApplicationError;
|
|
1754
|
+
}
|
|
1755
|
+
interface ApplicationError {
|
|
1756
|
+
/** Error code. */
|
|
1757
|
+
code?: string;
|
|
1758
|
+
/** Description of the error. */
|
|
1759
|
+
description?: string;
|
|
1760
|
+
/** Data related to the error. */
|
|
1761
|
+
data?: Record<string, any> | null;
|
|
1762
|
+
}
|
|
1763
|
+
interface BulkActionMetadata {
|
|
1764
|
+
/** Number of items that were successfully processed. */
|
|
1765
|
+
totalSuccesses?: number;
|
|
1766
|
+
/** Number of items that couldn't be processed. */
|
|
1767
|
+
totalFailures?: number;
|
|
1768
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1769
|
+
undetailedFailures?: number;
|
|
1770
|
+
}
|
|
1771
|
+
interface BulkUpdateSubscriptionContractsRequest {
|
|
1772
|
+
/**
|
|
1773
|
+
* List of SubscriptionContracts to update.
|
|
1774
|
+
* @minSize 1
|
|
1775
|
+
* @maxSize 100
|
|
1776
|
+
*/
|
|
1777
|
+
subscriptionContracts?: MaskedSubscriptionContract[];
|
|
1778
|
+
/**
|
|
1779
|
+
* Whether to return the full subscription contract entities in the response.
|
|
1780
|
+
*
|
|
1781
|
+
* Default: `false`
|
|
1782
|
+
*/
|
|
1783
|
+
returnEntity?: boolean;
|
|
1784
|
+
}
|
|
1785
|
+
interface MaskedSubscriptionContract {
|
|
1786
|
+
/** Subscription contract to be updated. */
|
|
1787
|
+
subscriptionContract?: SubscriptionContract;
|
|
1788
|
+
}
|
|
1789
|
+
interface BulkUpdateSubscriptionContractsResponse {
|
|
1790
|
+
/**
|
|
1791
|
+
* Results of the contract updated operation.
|
|
1792
|
+
* @minSize 1
|
|
1793
|
+
* @maxSize 100
|
|
1794
|
+
*/
|
|
1795
|
+
results?: BulkSubscriptionContractResult[];
|
|
1796
|
+
/** Metadata about the bulk operation. */
|
|
1797
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
1798
|
+
}
|
|
1799
|
+
interface MessageEnvelope {
|
|
1800
|
+
/**
|
|
1801
|
+
* App instance ID.
|
|
1802
|
+
* @format GUID
|
|
1803
|
+
*/
|
|
1804
|
+
instanceId?: string | null;
|
|
1805
|
+
/**
|
|
1806
|
+
* Event type.
|
|
1807
|
+
* @maxLength 150
|
|
1808
|
+
*/
|
|
1809
|
+
eventType?: string;
|
|
1810
|
+
/** The identification type and identity data. */
|
|
1811
|
+
identity?: IdentificationData;
|
|
1812
|
+
/** Stringify payload. */
|
|
1813
|
+
data?: string;
|
|
1814
|
+
}
|
|
1815
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1816
|
+
/**
|
|
1817
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1818
|
+
* @format GUID
|
|
1819
|
+
*/
|
|
1820
|
+
anonymousVisitorId?: string;
|
|
1821
|
+
/**
|
|
1822
|
+
* ID of a site visitor that has logged in to the site.
|
|
1823
|
+
* @format GUID
|
|
1824
|
+
*/
|
|
1825
|
+
memberId?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1828
|
+
* @format GUID
|
|
1829
|
+
*/
|
|
1830
|
+
wixUserId?: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* ID of an app.
|
|
1833
|
+
* @format GUID
|
|
1834
|
+
*/
|
|
1835
|
+
appId?: string;
|
|
1836
|
+
/** @readonly */
|
|
1837
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1838
|
+
}
|
|
1839
|
+
/** @oneof */
|
|
1840
|
+
interface IdentificationDataIdOneOf {
|
|
1841
|
+
/**
|
|
1842
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1843
|
+
* @format GUID
|
|
1844
|
+
*/
|
|
1845
|
+
anonymousVisitorId?: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* ID of a site visitor that has logged in to the site.
|
|
1848
|
+
* @format GUID
|
|
1849
|
+
*/
|
|
1850
|
+
memberId?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1853
|
+
* @format GUID
|
|
1854
|
+
*/
|
|
1855
|
+
wixUserId?: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* ID of an app.
|
|
1858
|
+
* @format GUID
|
|
1859
|
+
*/
|
|
1860
|
+
appId?: string;
|
|
1861
|
+
}
|
|
1862
|
+
declare enum WebhookIdentityType {
|
|
1863
|
+
UNKNOWN = "UNKNOWN",
|
|
1864
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1865
|
+
MEMBER = "MEMBER",
|
|
1866
|
+
WIX_USER = "WIX_USER",
|
|
1867
|
+
APP = "APP"
|
|
1868
|
+
}
|
|
1869
|
+
/** @enumType */
|
|
1870
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1456
1871
|
|
|
1457
1872
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1458
1873
|
getUrl: (context: any) => string;
|
|
@@ -1469,4 +1884,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
|
|
|
1469
1884
|
}, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
|
|
1470
1885
|
declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
|
|
1471
1886
|
|
|
1472
|
-
export { type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
|
|
1887
|
+
export { type ActionEvent as ActionEventOriginal, type AdditionalFee as AdditionalFeeOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReference as CatalogReferenceOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Color as ColorOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DigitalFile as DigitalFileOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, ItemTypeItemType as ItemTypeItemTypeOriginal, type ItemTypeItemTypeWithLiterals as ItemTypeItemTypeWithLiteralsOriginal, type ItemType as ItemTypeOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
|
|
@@ -20,6 +20,22 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
AdjustmentTypeOriginal: () => AdjustmentType,
|
|
24
|
+
ChannelTypeOriginal: () => ChannelType,
|
|
25
|
+
DescriptionLineTypeOriginal: () => DescriptionLineType,
|
|
26
|
+
DiscountReasonOriginal: () => DiscountReason,
|
|
27
|
+
DiscountTypeOriginal: () => DiscountType,
|
|
28
|
+
ItemTypeItemTypeOriginal: () => ItemTypeItemType,
|
|
29
|
+
JurisdictionTypeOriginal: () => JurisdictionType,
|
|
30
|
+
PaymentOptionTypeOriginal: () => PaymentOptionType,
|
|
31
|
+
PickupMethodOriginal: () => PickupMethod,
|
|
32
|
+
SortOrderOriginal: () => SortOrder,
|
|
33
|
+
SubscriptionFrequencyOriginal: () => SubscriptionFrequency,
|
|
34
|
+
TaxableAddressTypeOriginal: () => TaxableAddressType,
|
|
35
|
+
V2SubscriptionFrequencyOriginal: () => V2SubscriptionFrequency,
|
|
36
|
+
VatTypeOriginal: () => VatType,
|
|
37
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
38
|
+
WeightUnitOriginal: () => WeightUnit,
|
|
23
39
|
getSubscriptionContract: () => getSubscriptionContract2,
|
|
24
40
|
querySubscriptionContracts: () => querySubscriptionContracts2
|
|
25
41
|
});
|
|
@@ -233,6 +249,132 @@ function querySubscriptionContracts(payload) {
|
|
|
233
249
|
return __querySubscriptionContracts;
|
|
234
250
|
}
|
|
235
251
|
|
|
252
|
+
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts
|
|
253
|
+
var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
254
|
+
SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
|
|
255
|
+
SubscriptionFrequency2["DAY"] = "DAY";
|
|
256
|
+
SubscriptionFrequency2["WEEK"] = "WEEK";
|
|
257
|
+
SubscriptionFrequency2["MONTH"] = "MONTH";
|
|
258
|
+
SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
259
|
+
return SubscriptionFrequency2;
|
|
260
|
+
})(SubscriptionFrequency || {});
|
|
261
|
+
var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
|
|
262
|
+
DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
263
|
+
DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
|
|
264
|
+
DescriptionLineType2["COLOR"] = "COLOR";
|
|
265
|
+
return DescriptionLineType2;
|
|
266
|
+
})(DescriptionLineType || {});
|
|
267
|
+
var ItemTypeItemType = /* @__PURE__ */ ((ItemTypeItemType2) => {
|
|
268
|
+
ItemTypeItemType2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
269
|
+
ItemTypeItemType2["PHYSICAL"] = "PHYSICAL";
|
|
270
|
+
ItemTypeItemType2["DIGITAL"] = "DIGITAL";
|
|
271
|
+
ItemTypeItemType2["GIFT_CARD"] = "GIFT_CARD";
|
|
272
|
+
ItemTypeItemType2["SERVICE"] = "SERVICE";
|
|
273
|
+
return ItemTypeItemType2;
|
|
274
|
+
})(ItemTypeItemType || {});
|
|
275
|
+
var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
276
|
+
PaymentOptionType2["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
|
|
277
|
+
PaymentOptionType2["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
|
|
278
|
+
PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
|
|
279
|
+
PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
|
|
280
|
+
PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
281
|
+
PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
|
|
282
|
+
return PaymentOptionType2;
|
|
283
|
+
})(PaymentOptionType || {});
|
|
284
|
+
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
285
|
+
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
286
|
+
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
287
|
+
JurisdictionType2["STATE"] = "STATE";
|
|
288
|
+
JurisdictionType2["COUNTY"] = "COUNTY";
|
|
289
|
+
JurisdictionType2["CITY"] = "CITY";
|
|
290
|
+
JurisdictionType2["SPECIAL"] = "SPECIAL";
|
|
291
|
+
return JurisdictionType2;
|
|
292
|
+
})(JurisdictionType || {});
|
|
293
|
+
var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
294
|
+
V2SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
|
|
295
|
+
V2SubscriptionFrequency2["DAY"] = "DAY";
|
|
296
|
+
V2SubscriptionFrequency2["WEEK"] = "WEEK";
|
|
297
|
+
V2SubscriptionFrequency2["MONTH"] = "MONTH";
|
|
298
|
+
V2SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
299
|
+
return V2SubscriptionFrequency2;
|
|
300
|
+
})(V2SubscriptionFrequency || {});
|
|
301
|
+
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
302
|
+
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
303
|
+
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
304
|
+
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
305
|
+
return AdjustmentType2;
|
|
306
|
+
})(AdjustmentType || {});
|
|
307
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
308
|
+
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
309
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
310
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
311
|
+
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
312
|
+
return TaxableAddressType2;
|
|
313
|
+
})(TaxableAddressType || {});
|
|
314
|
+
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
315
|
+
WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
316
|
+
WeightUnit2["KG"] = "KG";
|
|
317
|
+
WeightUnit2["LB"] = "LB";
|
|
318
|
+
return WeightUnit2;
|
|
319
|
+
})(WeightUnit || {});
|
|
320
|
+
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
321
|
+
VatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
322
|
+
VatType2["CPF"] = "CPF";
|
|
323
|
+
VatType2["CNPJ"] = "CNPJ";
|
|
324
|
+
return VatType2;
|
|
325
|
+
})(VatType || {});
|
|
326
|
+
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
327
|
+
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
328
|
+
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
329
|
+
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
330
|
+
return PickupMethod2;
|
|
331
|
+
})(PickupMethod || {});
|
|
332
|
+
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
333
|
+
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
334
|
+
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
335
|
+
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
336
|
+
return DiscountType2;
|
|
337
|
+
})(DiscountType || {});
|
|
338
|
+
var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
|
|
339
|
+
DiscountReason2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
340
|
+
DiscountReason2["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
|
|
341
|
+
DiscountReason2["BILLING_ADJUSTMENT"] = "BILLING_ADJUSTMENT";
|
|
342
|
+
return DiscountReason2;
|
|
343
|
+
})(DiscountReason || {});
|
|
344
|
+
var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
345
|
+
ChannelType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
346
|
+
ChannelType2["WEB"] = "WEB";
|
|
347
|
+
ChannelType2["POS"] = "POS";
|
|
348
|
+
ChannelType2["EBAY"] = "EBAY";
|
|
349
|
+
ChannelType2["AMAZON"] = "AMAZON";
|
|
350
|
+
ChannelType2["OTHER_PLATFORM"] = "OTHER_PLATFORM";
|
|
351
|
+
ChannelType2["WIX_APP_STORE"] = "WIX_APP_STORE";
|
|
352
|
+
ChannelType2["WIX_INVOICES"] = "WIX_INVOICES";
|
|
353
|
+
ChannelType2["BACKOFFICE_MERCHANT"] = "BACKOFFICE_MERCHANT";
|
|
354
|
+
ChannelType2["WISH"] = "WISH";
|
|
355
|
+
ChannelType2["CLASS_PASS"] = "CLASS_PASS";
|
|
356
|
+
ChannelType2["GLOBAL_E"] = "GLOBAL_E";
|
|
357
|
+
ChannelType2["FACEBOOK"] = "FACEBOOK";
|
|
358
|
+
ChannelType2["ETSY"] = "ETSY";
|
|
359
|
+
ChannelType2["TIKTOK"] = "TIKTOK";
|
|
360
|
+
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
361
|
+
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
362
|
+
return ChannelType2;
|
|
363
|
+
})(ChannelType || {});
|
|
364
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
365
|
+
SortOrder2["ASC"] = "ASC";
|
|
366
|
+
SortOrder2["DESC"] = "DESC";
|
|
367
|
+
return SortOrder2;
|
|
368
|
+
})(SortOrder || {});
|
|
369
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
370
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
371
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
372
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
373
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
374
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
375
|
+
return WebhookIdentityType2;
|
|
376
|
+
})(WebhookIdentityType || {});
|
|
377
|
+
|
|
236
378
|
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.meta.ts
|
|
237
379
|
function getSubscriptionContract2() {
|
|
238
380
|
const payload = { subscriptionContractId: ":subscriptionContractId" };
|
|
@@ -276,6 +418,22 @@ function querySubscriptionContracts2() {
|
|
|
276
418
|
}
|
|
277
419
|
// Annotate the CommonJS export names for ESM import in node:
|
|
278
420
|
0 && (module.exports = {
|
|
421
|
+
AdjustmentTypeOriginal,
|
|
422
|
+
ChannelTypeOriginal,
|
|
423
|
+
DescriptionLineTypeOriginal,
|
|
424
|
+
DiscountReasonOriginal,
|
|
425
|
+
DiscountTypeOriginal,
|
|
426
|
+
ItemTypeItemTypeOriginal,
|
|
427
|
+
JurisdictionTypeOriginal,
|
|
428
|
+
PaymentOptionTypeOriginal,
|
|
429
|
+
PickupMethodOriginal,
|
|
430
|
+
SortOrderOriginal,
|
|
431
|
+
SubscriptionFrequencyOriginal,
|
|
432
|
+
TaxableAddressTypeOriginal,
|
|
433
|
+
V2SubscriptionFrequencyOriginal,
|
|
434
|
+
VatTypeOriginal,
|
|
435
|
+
WebhookIdentityTypeOriginal,
|
|
436
|
+
WeightUnitOriginal,
|
|
279
437
|
getSubscriptionContract,
|
|
280
438
|
querySubscriptionContracts
|
|
281
439
|
});
|