@wix/auto_sdk_ecom_subscription-contracts 1.0.37 → 1.0.39
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/index.d.ts +5 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal-BwexlKIz.d.ts → index.typings.d.ts} +79 -1
- package/build/cjs/index.typings.js +491 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +5 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/{ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal-BwexlKIz.d.mts → index.typings.d.mts} +79 -1
- package/build/es/index.typings.mjs +450 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +5 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/{ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal-DaM0yN7N.d.ts → index.typings.d.ts} +79 -1
- package/build/internal/cjs/index.typings.js +491 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2 -1
- package/build/internal/es/index.d.mts +5 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/{ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal-DaM0yN7N.d.mts → index.typings.d.mts} +79 -1
- package/build/internal/es/index.typings.mjs +450 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* A SubscriptionContract is a ...
|
|
3
5
|
* You can ...
|
|
@@ -450,6 +452,8 @@ declare enum DescriptionLineType {
|
|
|
450
452
|
/** Color type. */
|
|
451
453
|
COLOR = "COLOR"
|
|
452
454
|
}
|
|
455
|
+
/** @enumType */
|
|
456
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
453
457
|
interface FocalPoint {
|
|
454
458
|
/** X-coordinate of the focal point. */
|
|
455
459
|
x?: number;
|
|
@@ -1859,13 +1863,87 @@ interface SubscriptionContractCreatedEnvelope {
|
|
|
1859
1863
|
entity: SubscriptionContract;
|
|
1860
1864
|
metadata: EventMetadata;
|
|
1861
1865
|
}
|
|
1866
|
+
/** @permissionScope Manage Stores - all permissions
|
|
1867
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1868
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
1869
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1870
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1871
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1872
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
1873
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1874
|
+
* @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
|
|
1875
|
+
* @webhook
|
|
1876
|
+
* @eventType wix.ecom.subscription_contracts.v1.subscription_contract_created
|
|
1877
|
+
* @slug created
|
|
1878
|
+
* @documentationMaturity preview
|
|
1879
|
+
*/
|
|
1880
|
+
declare function onSubscriptionContractCreated(handler: (event: SubscriptionContractCreatedEnvelope) => void | Promise<void>): void;
|
|
1862
1881
|
interface SubscriptionContractDeletedEnvelope {
|
|
1863
1882
|
metadata: EventMetadata;
|
|
1864
1883
|
}
|
|
1884
|
+
/** @permissionScope Manage Stores - all permissions
|
|
1885
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1886
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
1887
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1888
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1889
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1890
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
1891
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1892
|
+
* @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
|
|
1893
|
+
* @webhook
|
|
1894
|
+
* @eventType wix.ecom.subscription_contracts.v1.subscription_contract_deleted
|
|
1895
|
+
* @slug deleted
|
|
1896
|
+
* @documentationMaturity preview
|
|
1897
|
+
*/
|
|
1898
|
+
declare function onSubscriptionContractDeleted(handler: (event: SubscriptionContractDeletedEnvelope) => void | Promise<void>): void;
|
|
1865
1899
|
interface SubscriptionContractUpdatedEnvelope {
|
|
1866
1900
|
entity: SubscriptionContract;
|
|
1867
1901
|
metadata: EventMetadata;
|
|
1868
1902
|
}
|
|
1903
|
+
/** @permissionScope Manage Stores - all permissions
|
|
1904
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1905
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
1906
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1907
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1908
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1909
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
1910
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1911
|
+
* @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
|
|
1912
|
+
* @webhook
|
|
1913
|
+
* @eventType wix.ecom.subscription_contracts.v1.subscription_contract_updated
|
|
1914
|
+
* @slug updated
|
|
1915
|
+
* @documentationMaturity preview
|
|
1916
|
+
*/
|
|
1917
|
+
declare function onSubscriptionContractUpdated(handler: (event: SubscriptionContractUpdatedEnvelope) => void | Promise<void>): void;
|
|
1918
|
+
type SubscriptionContractNonNullablePaths = `subscriptionSettings.frequency` | `subscriptionSettings.autoRenewal` | `subscriptionSettings.enableCustomerCancellation` | `subscriptionSettings.freeTrialPeriod.frequency` | `subscriptionSettings.freeTrialPeriod.interval` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.freeTrialPeriod.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.freeTrialPeriod.interval` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `weightUnit` | `taxIncludedInPrices` | `priceSummary.subtotal.amount` | `priceSummary.subtotal.formattedAmount` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.shippingDestination.address.streetAddress.number` | `shippingInfo.logistics.shippingDestination.address.streetAddress.name` | `shippingInfo.logistics.shippingDestination.contactDetails.vatId._id` | `shippingInfo.logistics.shippingDestination.contactDetails.vatId.type` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `shippingInfo.cost.price.amount` | `shippingInfo.cost.price.formattedAmount` | `shippingInfo.cost.taxDetails.taxRate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.coupon.amount.amount` | `appliedDiscounts.${number}.coupon.amount.formattedAmount` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `recipientInfo.address.streetAddress.number` | `recipientInfo.address.streetAddress.name` | `recipientInfo.contactDetails.vatId._id` | `recipientInfo.contactDetails.vatId.type` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.price.amount` | `additionalFees.${number}.price.formattedAmount` | `additionalFees.${number}.taxDetails.taxRate` | `additionalFees.${number}._id`;
|
|
1919
|
+
/**
|
|
1920
|
+
* Retrieves a SubscriptionContract.
|
|
1921
|
+
* @param subscriptionContractId - ID of the SubscriptionContract to retrieve.
|
|
1922
|
+
* @public
|
|
1923
|
+
* @documentationMaturity preview
|
|
1924
|
+
* @requiredField subscriptionContractId
|
|
1925
|
+
* @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
|
|
1926
|
+
* @applicableIdentity APP
|
|
1927
|
+
* @returns The requested SubscriptionContract.
|
|
1928
|
+
* @fqn wix.ecom.subscription_contracts.v1.SubscriptionContracts.GetSubscriptionContract
|
|
1929
|
+
*/
|
|
1930
|
+
declare function getSubscriptionContract(subscriptionContractId: string): Promise<NonNullablePaths<SubscriptionContract, SubscriptionContractNonNullablePaths>>;
|
|
1931
|
+
/**
|
|
1932
|
+
* Retrieves a list of SubscriptionContracts, given the provided [paging, filtering, and sorting][1].
|
|
1933
|
+
*
|
|
1934
|
+
* Up to 300 SubscriptionContracts can be returned per request.
|
|
1935
|
+
*
|
|
1936
|
+
* To learn how to query SubscriptionContracts, see [API Query Language][2].
|
|
1937
|
+
*
|
|
1938
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
1939
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
1940
|
+
* @public
|
|
1941
|
+
* @documentationMaturity preview
|
|
1942
|
+
* @permissionId ECOM.SUBSCRIPTION_CONTRACT_READ
|
|
1943
|
+
* @applicableIdentity APP
|
|
1944
|
+
* @fqn wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts
|
|
1945
|
+
*/
|
|
1946
|
+
declare function querySubscriptionContracts(): SubscriptionContractsQueryBuilder;
|
|
1869
1947
|
interface QueryCursorResult {
|
|
1870
1948
|
cursors: Cursors;
|
|
1871
1949
|
hasNext: () => boolean;
|
|
@@ -1944,4 +2022,4 @@ interface SubscriptionContractsQueryBuilder {
|
|
|
1944
2022
|
find: () => Promise<SubscriptionContractsQueryResult>;
|
|
1945
2023
|
}
|
|
1946
2024
|
|
|
1947
|
-
export { type
|
|
2025
|
+
export { type ActionEvent, type AdditionalFee, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type Color, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DigitalFile, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemDiscount, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, type RestoreInfo, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type SubscriptionContract, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TranslatableString, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts };
|
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// index.typings.ts
|
|
21
|
+
var index_typings_exports = {};
|
|
22
|
+
__export(index_typings_exports, {
|
|
23
|
+
AdjustmentType: () => AdjustmentType,
|
|
24
|
+
ChannelType: () => ChannelType,
|
|
25
|
+
DescriptionLineType: () => DescriptionLineType,
|
|
26
|
+
DiscountReason: () => DiscountReason,
|
|
27
|
+
DiscountType: () => DiscountType,
|
|
28
|
+
ItemTypeItemType: () => ItemTypeItemType,
|
|
29
|
+
JurisdictionType: () => JurisdictionType,
|
|
30
|
+
PaymentOptionType: () => PaymentOptionType,
|
|
31
|
+
PickupMethod: () => PickupMethod,
|
|
32
|
+
SortOrder: () => SortOrder,
|
|
33
|
+
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
34
|
+
TaxableAddressType: () => TaxableAddressType,
|
|
35
|
+
V2SubscriptionFrequency: () => V2SubscriptionFrequency,
|
|
36
|
+
VatType: () => VatType,
|
|
37
|
+
WebhookIdentityType: () => WebhookIdentityType,
|
|
38
|
+
WeightUnit: () => WeightUnit,
|
|
39
|
+
getSubscriptionContract: () => getSubscriptionContract2,
|
|
40
|
+
querySubscriptionContracts: () => querySubscriptionContracts2
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(index_typings_exports);
|
|
43
|
+
|
|
44
|
+
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts
|
|
45
|
+
var import_transform_error = require("@wix/sdk-runtime/transform-error");
|
|
46
|
+
var import_query_builder = require("@wix/sdk-runtime/query-builder");
|
|
47
|
+
var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
48
|
+
|
|
49
|
+
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.http.ts
|
|
50
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
51
|
+
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
52
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
53
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
54
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
55
|
+
function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
56
|
+
const domainToMappings = {};
|
|
57
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
58
|
+
}
|
|
59
|
+
var PACKAGE_NAME = "@wix/auto_sdk_ecom_subscription-contracts";
|
|
60
|
+
function getSubscriptionContract(payload) {
|
|
61
|
+
function __getSubscriptionContract({ host }) {
|
|
62
|
+
const metadata = {
|
|
63
|
+
entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
|
|
64
|
+
method: "GET",
|
|
65
|
+
methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.GetSubscriptionContract",
|
|
66
|
+
packageName: PACKAGE_NAME,
|
|
67
|
+
url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
|
|
68
|
+
protoPath: "/v1/subscription-contracts/{subscriptionContractId}",
|
|
69
|
+
data: payload,
|
|
70
|
+
host
|
|
71
|
+
}),
|
|
72
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
73
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
74
|
+
{
|
|
75
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
76
|
+
paths: [
|
|
77
|
+
{ path: "subscriptionContract.createdDate" },
|
|
78
|
+
{ path: "subscriptionContract.updatedDate" },
|
|
79
|
+
{ path: "subscriptionContract.subscriptionSettings.startDate" },
|
|
80
|
+
{
|
|
81
|
+
path: "subscriptionContract.lineItems.image.urlExpirationDate"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
path: "subscriptionContract.lineItems.digitalFile.expirationDate"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
path: "subscriptionContract.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
path: "subscriptionContract.shippingInfo.logistics.deliverByDate"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
102
|
+
paths: [
|
|
103
|
+
{ path: "subscriptionContract.lineItems.image.focalPoint.x" },
|
|
104
|
+
{ path: "subscriptionContract.lineItems.image.focalPoint.y" },
|
|
105
|
+
{
|
|
106
|
+
path: "subscriptionContract.lineItems.physicalProperties.weight"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
path: "subscriptionContract.billingInfo.address.geocode.latitude"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
path: "subscriptionContract.billingInfo.address.geocode.longitude"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
path: "subscriptionContract.recipientInfo.address.geocode.latitude"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
path: "subscriptionContract.recipientInfo.address.geocode.longitude"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
])
|
|
135
|
+
};
|
|
136
|
+
return metadata;
|
|
137
|
+
}
|
|
138
|
+
return __getSubscriptionContract;
|
|
139
|
+
}
|
|
140
|
+
function querySubscriptionContracts(payload) {
|
|
141
|
+
function __querySubscriptionContracts({ host }) {
|
|
142
|
+
const metadata = {
|
|
143
|
+
entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
|
|
144
|
+
method: "POST",
|
|
145
|
+
methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts",
|
|
146
|
+
packageName: PACKAGE_NAME,
|
|
147
|
+
url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
|
|
148
|
+
protoPath: "/v1/subscription-contracts/query",
|
|
149
|
+
data: payload,
|
|
150
|
+
host
|
|
151
|
+
}),
|
|
152
|
+
data: payload,
|
|
153
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
154
|
+
{
|
|
155
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
156
|
+
paths: [
|
|
157
|
+
{ path: "subscriptionContracts.createdDate" },
|
|
158
|
+
{ path: "subscriptionContracts.updatedDate" },
|
|
159
|
+
{ path: "subscriptionContracts.subscriptionSettings.startDate" },
|
|
160
|
+
{
|
|
161
|
+
path: "subscriptionContracts.lineItems.image.urlExpirationDate"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
path: "subscriptionContracts.lineItems.digitalFile.expirationDate"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
path: "subscriptionContracts.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
path: "subscriptionContracts.shippingInfo.logistics.deliverByDate"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
182
|
+
paths: [
|
|
183
|
+
{ path: "subscriptionContracts.lineItems.image.focalPoint.x" },
|
|
184
|
+
{ path: "subscriptionContracts.lineItems.image.focalPoint.y" },
|
|
185
|
+
{
|
|
186
|
+
path: "subscriptionContracts.lineItems.physicalProperties.weight"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
path: "subscriptionContracts.billingInfo.address.geocode.latitude"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
path: "subscriptionContracts.billingInfo.address.geocode.longitude"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
path: "subscriptionContracts.recipientInfo.address.geocode.latitude"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
path: "subscriptionContracts.recipientInfo.address.geocode.longitude"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
]),
|
|
215
|
+
fallback: [
|
|
216
|
+
{
|
|
217
|
+
method: "POST",
|
|
218
|
+
url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
|
|
219
|
+
protoPath: "/v1/subscription-contracts/query",
|
|
220
|
+
data: payload,
|
|
221
|
+
host
|
|
222
|
+
}),
|
|
223
|
+
data: payload
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
};
|
|
227
|
+
return metadata;
|
|
228
|
+
}
|
|
229
|
+
return __querySubscriptionContracts;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts
|
|
233
|
+
var import_address = require("@wix/sdk-runtime/transformations/address");
|
|
234
|
+
var import_image = require("@wix/sdk-runtime/transformations/image");
|
|
235
|
+
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
236
|
+
var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
237
|
+
SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
|
|
238
|
+
SubscriptionFrequency2["DAY"] = "DAY";
|
|
239
|
+
SubscriptionFrequency2["WEEK"] = "WEEK";
|
|
240
|
+
SubscriptionFrequency2["MONTH"] = "MONTH";
|
|
241
|
+
SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
242
|
+
return SubscriptionFrequency2;
|
|
243
|
+
})(SubscriptionFrequency || {});
|
|
244
|
+
var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
|
|
245
|
+
DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
246
|
+
DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
|
|
247
|
+
DescriptionLineType2["COLOR"] = "COLOR";
|
|
248
|
+
return DescriptionLineType2;
|
|
249
|
+
})(DescriptionLineType || {});
|
|
250
|
+
var ItemTypeItemType = /* @__PURE__ */ ((ItemTypeItemType2) => {
|
|
251
|
+
ItemTypeItemType2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
252
|
+
ItemTypeItemType2["PHYSICAL"] = "PHYSICAL";
|
|
253
|
+
ItemTypeItemType2["DIGITAL"] = "DIGITAL";
|
|
254
|
+
ItemTypeItemType2["GIFT_CARD"] = "GIFT_CARD";
|
|
255
|
+
ItemTypeItemType2["SERVICE"] = "SERVICE";
|
|
256
|
+
return ItemTypeItemType2;
|
|
257
|
+
})(ItemTypeItemType || {});
|
|
258
|
+
var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
259
|
+
PaymentOptionType2["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
|
|
260
|
+
PaymentOptionType2["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
|
|
261
|
+
PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
|
|
262
|
+
PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
|
|
263
|
+
PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
264
|
+
return PaymentOptionType2;
|
|
265
|
+
})(PaymentOptionType || {});
|
|
266
|
+
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
267
|
+
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
268
|
+
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
269
|
+
JurisdictionType2["STATE"] = "STATE";
|
|
270
|
+
JurisdictionType2["COUNTY"] = "COUNTY";
|
|
271
|
+
JurisdictionType2["CITY"] = "CITY";
|
|
272
|
+
JurisdictionType2["SPECIAL"] = "SPECIAL";
|
|
273
|
+
return JurisdictionType2;
|
|
274
|
+
})(JurisdictionType || {});
|
|
275
|
+
var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
276
|
+
V2SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
|
|
277
|
+
V2SubscriptionFrequency2["DAY"] = "DAY";
|
|
278
|
+
V2SubscriptionFrequency2["WEEK"] = "WEEK";
|
|
279
|
+
V2SubscriptionFrequency2["MONTH"] = "MONTH";
|
|
280
|
+
V2SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
281
|
+
return V2SubscriptionFrequency2;
|
|
282
|
+
})(V2SubscriptionFrequency || {});
|
|
283
|
+
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
284
|
+
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
285
|
+
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
286
|
+
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
287
|
+
return AdjustmentType2;
|
|
288
|
+
})(AdjustmentType || {});
|
|
289
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
290
|
+
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
291
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
292
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
293
|
+
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
294
|
+
return TaxableAddressType2;
|
|
295
|
+
})(TaxableAddressType || {});
|
|
296
|
+
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
297
|
+
WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
298
|
+
WeightUnit2["KG"] = "KG";
|
|
299
|
+
WeightUnit2["LB"] = "LB";
|
|
300
|
+
return WeightUnit2;
|
|
301
|
+
})(WeightUnit || {});
|
|
302
|
+
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
303
|
+
VatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
304
|
+
VatType2["CPF"] = "CPF";
|
|
305
|
+
VatType2["CNPJ"] = "CNPJ";
|
|
306
|
+
return VatType2;
|
|
307
|
+
})(VatType || {});
|
|
308
|
+
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
309
|
+
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
310
|
+
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
311
|
+
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
312
|
+
return PickupMethod2;
|
|
313
|
+
})(PickupMethod || {});
|
|
314
|
+
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
315
|
+
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
316
|
+
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
317
|
+
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
318
|
+
return DiscountType2;
|
|
319
|
+
})(DiscountType || {});
|
|
320
|
+
var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
|
|
321
|
+
DiscountReason2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
322
|
+
DiscountReason2["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
|
|
323
|
+
DiscountReason2["BILLING_ADJUSTMENT"] = "BILLING_ADJUSTMENT";
|
|
324
|
+
return DiscountReason2;
|
|
325
|
+
})(DiscountReason || {});
|
|
326
|
+
var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
327
|
+
ChannelType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
328
|
+
ChannelType2["WEB"] = "WEB";
|
|
329
|
+
ChannelType2["POS"] = "POS";
|
|
330
|
+
ChannelType2["EBAY"] = "EBAY";
|
|
331
|
+
ChannelType2["AMAZON"] = "AMAZON";
|
|
332
|
+
ChannelType2["OTHER_PLATFORM"] = "OTHER_PLATFORM";
|
|
333
|
+
ChannelType2["WIX_APP_STORE"] = "WIX_APP_STORE";
|
|
334
|
+
ChannelType2["WIX_INVOICES"] = "WIX_INVOICES";
|
|
335
|
+
ChannelType2["BACKOFFICE_MERCHANT"] = "BACKOFFICE_MERCHANT";
|
|
336
|
+
ChannelType2["WISH"] = "WISH";
|
|
337
|
+
ChannelType2["CLASS_PASS"] = "CLASS_PASS";
|
|
338
|
+
ChannelType2["GLOBAL_E"] = "GLOBAL_E";
|
|
339
|
+
ChannelType2["FACEBOOK"] = "FACEBOOK";
|
|
340
|
+
ChannelType2["ETSY"] = "ETSY";
|
|
341
|
+
ChannelType2["TIKTOK"] = "TIKTOK";
|
|
342
|
+
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
343
|
+
return ChannelType2;
|
|
344
|
+
})(ChannelType || {});
|
|
345
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
346
|
+
SortOrder2["ASC"] = "ASC";
|
|
347
|
+
SortOrder2["DESC"] = "DESC";
|
|
348
|
+
return SortOrder2;
|
|
349
|
+
})(SortOrder || {});
|
|
350
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
351
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
352
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
353
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
354
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
355
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
356
|
+
return WebhookIdentityType2;
|
|
357
|
+
})(WebhookIdentityType || {});
|
|
358
|
+
async function getSubscriptionContract2(subscriptionContractId) {
|
|
359
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
360
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
361
|
+
subscriptionContractId
|
|
362
|
+
});
|
|
363
|
+
const reqOpts = getSubscriptionContract(
|
|
364
|
+
payload
|
|
365
|
+
);
|
|
366
|
+
sideEffects?.onSiteCall?.();
|
|
367
|
+
try {
|
|
368
|
+
const result = await httpClient.request(reqOpts);
|
|
369
|
+
sideEffects?.onSuccess?.(result);
|
|
370
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
371
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
372
|
+
{
|
|
373
|
+
transformFn: import_image.transformRESTImageToSDKImage,
|
|
374
|
+
paths: [{ path: "subscriptionContract.lineItems.image" }]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
transformFn: import_address.transformRESTAddressToSDKAddress,
|
|
378
|
+
paths: [
|
|
379
|
+
{ path: "subscriptionContract.billingInfo.address" },
|
|
380
|
+
{
|
|
381
|
+
path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address"
|
|
385
|
+
},
|
|
386
|
+
{ path: "subscriptionContract.recipientInfo.address" }
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
])
|
|
390
|
+
)?.subscriptionContract;
|
|
391
|
+
} catch (err) {
|
|
392
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
393
|
+
err,
|
|
394
|
+
{
|
|
395
|
+
spreadPathsToArguments: {},
|
|
396
|
+
explicitPathsToArguments: { subscriptionContractId: "$[0]" },
|
|
397
|
+
singleArgumentUnchanged: false
|
|
398
|
+
},
|
|
399
|
+
["subscriptionContractId"]
|
|
400
|
+
);
|
|
401
|
+
sideEffects?.onError?.(err);
|
|
402
|
+
throw transformedError;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
function querySubscriptionContracts2() {
|
|
406
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
407
|
+
return (0, import_query_builder.queryBuilder)({
|
|
408
|
+
func: async (payload) => {
|
|
409
|
+
const reqOpts = querySubscriptionContracts(
|
|
410
|
+
payload
|
|
411
|
+
);
|
|
412
|
+
sideEffects?.onSiteCall?.();
|
|
413
|
+
try {
|
|
414
|
+
const result = await httpClient.request(reqOpts);
|
|
415
|
+
sideEffects?.onSuccess?.(result);
|
|
416
|
+
return result;
|
|
417
|
+
} catch (err) {
|
|
418
|
+
sideEffects?.onError?.(err);
|
|
419
|
+
throw err;
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
requestTransformer: (query) => {
|
|
423
|
+
const args = [query, {}];
|
|
424
|
+
return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
425
|
+
...args?.[1],
|
|
426
|
+
query: args?.[0]
|
|
427
|
+
});
|
|
428
|
+
},
|
|
429
|
+
responseTransformer: ({
|
|
430
|
+
data
|
|
431
|
+
}) => {
|
|
432
|
+
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
433
|
+
(0, import_transform_paths2.transformPaths)(data, [
|
|
434
|
+
{
|
|
435
|
+
transformFn: import_image.transformRESTImageToSDKImage,
|
|
436
|
+
paths: [{ path: "subscriptionContracts.lineItems.image" }]
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
transformFn: import_address.transformRESTAddressToSDKAddress,
|
|
440
|
+
paths: [
|
|
441
|
+
{ path: "subscriptionContracts.billingInfo.address" },
|
|
442
|
+
{
|
|
443
|
+
path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address"
|
|
447
|
+
},
|
|
448
|
+
{ path: "subscriptionContracts.recipientInfo.address" }
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
])
|
|
452
|
+
);
|
|
453
|
+
return {
|
|
454
|
+
items: transformedData?.subscriptionContracts,
|
|
455
|
+
pagingMetadata: transformedData?.pagingMetadata
|
|
456
|
+
};
|
|
457
|
+
},
|
|
458
|
+
errorTransformer: (err) => {
|
|
459
|
+
const transformedError = (0, import_transform_error.transformError)(err, {
|
|
460
|
+
spreadPathsToArguments: {},
|
|
461
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
462
|
+
singleArgumentUnchanged: false
|
|
463
|
+
});
|
|
464
|
+
throw transformedError;
|
|
465
|
+
},
|
|
466
|
+
pagingMethod: "CURSOR",
|
|
467
|
+
transformationPaths: {}
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
471
|
+
0 && (module.exports = {
|
|
472
|
+
AdjustmentType,
|
|
473
|
+
ChannelType,
|
|
474
|
+
DescriptionLineType,
|
|
475
|
+
DiscountReason,
|
|
476
|
+
DiscountType,
|
|
477
|
+
ItemTypeItemType,
|
|
478
|
+
JurisdictionType,
|
|
479
|
+
PaymentOptionType,
|
|
480
|
+
PickupMethod,
|
|
481
|
+
SortOrder,
|
|
482
|
+
SubscriptionFrequency,
|
|
483
|
+
TaxableAddressType,
|
|
484
|
+
V2SubscriptionFrequency,
|
|
485
|
+
VatType,
|
|
486
|
+
WebhookIdentityType,
|
|
487
|
+
WeightUnit,
|
|
488
|
+
getSubscriptionContract,
|
|
489
|
+
querySubscriptionContracts
|
|
490
|
+
});
|
|
491
|
+
//# sourceMappingURL=index.typings.js.map
|