@wix/auto_sdk_app-management_billing 1.0.3 → 1.0.5
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/devcenter-checkout-v1-purchased-item-billing.context.d.ts +1 -1
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +3 -3
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -1
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +4 -4
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -1
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +0 -20
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +6 -21
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +3 -3
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +4 -4
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +0 -20
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +6 -21
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +3 -3
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +5 -5
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +0 -20
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +7 -22
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +3 -3
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +5 -5
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +0 -20
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +7 -22
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -11,4 +11,4 @@ export declare const getPurchaseHistory: MaybeContext<BuildRESTFunction<typeof p
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const onPurchasedItemInvoiceStatusUpdated: ReturnType<typeof createEventModule<typeof publicOnPurchasedItemInvoiceStatusUpdated>>;
|
|
13
13
|
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
14
|
-
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
14
|
+
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, PurchasedItemInvoiceStatusUpdatedEnvelope, GetUrlOptions, GetMeteredBillingChargesOptions, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse
|
|
14
|
-
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse
|
|
15
|
-
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse
|
|
13
|
+
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponse>;
|
|
14
|
+
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponse>;
|
|
15
|
+
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,MAAM;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,MAAM;IAQpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEhE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,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QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,4DA8BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { GetPurchaseHistoryResponse,
|
|
2
|
+
import { GetPurchaseHistoryResponse, GetUrlOptions, GetUrlResponse, PurchasedItemInvoiceStatusUpdatedEnvelope } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -19,7 +19,7 @@ interface GetUrlSignature {
|
|
|
19
19
|
* @param - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
20
20
|
* for a list of your app's supported product IDs.
|
|
21
21
|
*/
|
|
22
|
-
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse
|
|
22
|
+
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse>;
|
|
23
23
|
}
|
|
24
24
|
export declare function getPurchaseHistory(httpClient: HttpClient): GetPurchaseHistorySignature;
|
|
25
25
|
interface GetPurchaseHistorySignature {
|
|
@@ -32,7 +32,7 @@ interface GetPurchaseHistorySignature {
|
|
|
32
32
|
*
|
|
33
33
|
* The response doesn't include any details about cancellations.
|
|
34
34
|
*/
|
|
35
|
-
(): Promise<GetPurchaseHistoryResponse
|
|
35
|
+
(): Promise<GetPurchaseHistoryResponse>;
|
|
36
36
|
}
|
|
37
37
|
export declare const onPurchasedItemInvoiceStatusUpdated: EventDefinition<PurchasedItemInvoiceStatusUpdatedEnvelope, "InvoiceStatusUpdated">;
|
|
38
|
-
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse,
|
|
38
|
+
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetUrlOptions, GetUrlRequest, GetUrlResponse, IdentificationData, IdentificationDataIdOneOf, InvoiceStatus, InvoiceStatusUpdated, MessageEnvelope, PaymentCycle, PurchasedItem, PurchasedItemInvoiceStatusUpdatedEnvelope, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,2IAUqE;AAExD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,SAAiB,EAAE,OAAuB,EAAE,EAAE,CACpD,IAAA,kEAAe,EACb,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAuBD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,8EAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gDAQC;AAeD,gBAAgB;AAChB,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,oFAAiC,EAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4DASC;AAkBY,QAAA,mCAAmC,GAAG,IAAA,2BAAe,EAChE,sBAAsB,EACtB,KAAK,EACL,CAAC,KAAgD,EAAE,EAAE,CACnD,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAA6C,CAAC;AAE/C,yIAuBqE;AAPnE,0JAAA,aAAa,OAAA;AAGb,yJAAA,YAAY,OAAA;AAGZ,gKAAA,mBAAmB,OAAA"}
|
|
@@ -248,23 +248,3 @@ export declare enum WebhookIdentityType {
|
|
|
248
248
|
WIX_USER = "WIX_USER",
|
|
249
249
|
APP = "APP"
|
|
250
250
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface PurchasedItem {
|
|
2
3
|
/** ID of your app's paid plan. */
|
|
3
4
|
productId?: string;
|
|
@@ -248,25 +249,6 @@ export declare enum WebhookIdentityType {
|
|
|
248
249
|
WIX_USER = "WIX_USER",
|
|
249
250
|
APP = "APP"
|
|
250
251
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
252
|
export interface BaseEventMetadata {
|
|
271
253
|
/**
|
|
272
254
|
* App instance ID.
|
|
@@ -300,6 +282,7 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
300
282
|
* @slug invoice_status_updated
|
|
301
283
|
*/
|
|
302
284
|
export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: PurchasedItemInvoiceStatusUpdatedEnvelope) => void | Promise<void>): void;
|
|
285
|
+
type PurchasedItemNonNullablePaths = `productId` | `price` | `currency` | `billingCycle`;
|
|
303
286
|
/**
|
|
304
287
|
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
305
288
|
*
|
|
@@ -323,7 +306,7 @@ export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: Pur
|
|
|
323
306
|
* @applicableIdentity APP
|
|
324
307
|
* @fqn com.wixpress.market.aim.api.Checkout.GetUrl
|
|
325
308
|
*/
|
|
326
|
-
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<GetUrlResponse
|
|
309
|
+
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<NonNullablePaths<GetUrlResponse, `checkoutUrl`>>;
|
|
327
310
|
export interface GetUrlOptions {
|
|
328
311
|
/**
|
|
329
312
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
@@ -374,7 +357,9 @@ export interface GetUrlOptions {
|
|
|
374
357
|
* @applicableIdentity APP
|
|
375
358
|
* @fqn com.wixpress.market.aim.api.Checkout.GetPurchaseHistory
|
|
376
359
|
*/
|
|
377
|
-
export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
360
|
+
export declare function getPurchaseHistory(): Promise<NonNullablePaths<GetPurchaseHistoryResponse, {
|
|
361
|
+
[P in PurchasedItemNonNullablePaths]: `purchases.${number}.${P}`;
|
|
362
|
+
}[PurchasedItemNonNullablePaths]>>;
|
|
378
363
|
export interface GetMeteredBillingChargesOptions {
|
|
379
364
|
/**
|
|
380
365
|
* 3-letter currency code in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAgDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,MAAM,CAC1B,SAAiB,EACjB,OAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,SAAS,EAAE,SAAS;QACpB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,YAAY,EAAE,OAAO,EAAE,YAAY;QACnC,YAAY,EAAE,OAAO,EAAE,YAAY;QACnC,WA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AA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjDD,4DAiDC"}
|
|
@@ -11,4 +11,4 @@ export declare const getPurchaseHistory: MaybeContext<BuildRESTFunction<typeof p
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const onPurchasedItemInvoiceStatusUpdated: ReturnType<typeof createEventModule<typeof publicOnPurchasedItemInvoiceStatusUpdated>>;
|
|
13
13
|
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
14
|
-
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
14
|
+
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, PurchasedItemInvoiceStatusUpdatedEnvelope, GetUrlOptions, GetMeteredBillingChargesOptions, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse
|
|
14
|
-
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse
|
|
15
|
-
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse
|
|
13
|
+
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponse>;
|
|
14
|
+
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponse>;
|
|
15
|
+
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAsBxH,MAAM,UAAU,MAAM;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAsBxH,MAAM,UAAU,MAAM;IAQpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEhE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UA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, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { GetPurchaseHistoryResponse,
|
|
2
|
+
import { GetPurchaseHistoryResponse, GetUrlOptions, GetUrlResponse, PurchasedItemInvoiceStatusUpdatedEnvelope } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -19,7 +19,7 @@ interface GetUrlSignature {
|
|
|
19
19
|
* @param - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
20
20
|
* for a list of your app's supported product IDs.
|
|
21
21
|
*/
|
|
22
|
-
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse
|
|
22
|
+
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse>;
|
|
23
23
|
}
|
|
24
24
|
export declare function getPurchaseHistory(httpClient: HttpClient): GetPurchaseHistorySignature;
|
|
25
25
|
interface GetPurchaseHistorySignature {
|
|
@@ -32,7 +32,7 @@ interface GetPurchaseHistorySignature {
|
|
|
32
32
|
*
|
|
33
33
|
* The response doesn't include any details about cancellations.
|
|
34
34
|
*/
|
|
35
|
-
(): Promise<GetPurchaseHistoryResponse
|
|
35
|
+
(): Promise<GetPurchaseHistoryResponse>;
|
|
36
36
|
}
|
|
37
37
|
export declare const onPurchasedItemInvoiceStatusUpdated: EventDefinition<PurchasedItemInvoiceStatusUpdatedEnvelope, "InvoiceStatusUpdated">;
|
|
38
|
-
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse,
|
|
38
|
+
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetUrlOptions, GetUrlRequest, GetUrlResponse, IdentificationData, IdentificationDataIdOneOf, InvoiceStatus, InvoiceStatusUpdated, MessageEnvelope, PaymentCycle, PurchasedItem, PurchasedItemInvoiceStatusUpdatedEnvelope, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAOL,wBAAwB,IAAI,iCAAiC,EAC7D,kBAAkB,IAAI,2BAA2B,EACjD,MAAM,IAAI,eAAe,GAC1B,MAAM,6DAA6D,CAAC;AAErE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,SAAiB,EAAE,OAAuB,EAAE,EAAE,CACpD,eAAe,CACb,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAuBD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,2BAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,gBAAgB;AAChB,MAAM,UAAU,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,iCAAiC,CAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAkBD,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,CAChE,sBAAsB,EACtB,KAAK,EACL,CAAC,KAAgD,EAAE,EAAE,CACnD,uCAAuC,CAAC,KAAK,CAAC,CACjD,EAA6C,CAAC;AAE/C,OAAO,EAgBL,aAAa,EAGb,YAAY,EAGZ,mBAAmB,GACpB,MAAM,6DAA6D,CAAC"}
|
|
@@ -248,23 +248,3 @@ export declare enum WebhookIdentityType {
|
|
|
248
248
|
WIX_USER = "WIX_USER",
|
|
249
249
|
APP = "APP"
|
|
250
250
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface PurchasedItem {
|
|
2
3
|
/** ID of your app's paid plan. */
|
|
3
4
|
productId?: string;
|
|
@@ -248,25 +249,6 @@ export declare enum WebhookIdentityType {
|
|
|
248
249
|
WIX_USER = "WIX_USER",
|
|
249
250
|
APP = "APP"
|
|
250
251
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
252
|
export interface BaseEventMetadata {
|
|
271
253
|
/**
|
|
272
254
|
* App instance ID.
|
|
@@ -300,6 +282,7 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
300
282
|
* @slug invoice_status_updated
|
|
301
283
|
*/
|
|
302
284
|
export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: PurchasedItemInvoiceStatusUpdatedEnvelope) => void | Promise<void>): void;
|
|
285
|
+
type PurchasedItemNonNullablePaths = `productId` | `price` | `currency` | `billingCycle`;
|
|
303
286
|
/**
|
|
304
287
|
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
305
288
|
*
|
|
@@ -323,7 +306,7 @@ export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: Pur
|
|
|
323
306
|
* @applicableIdentity APP
|
|
324
307
|
* @fqn com.wixpress.market.aim.api.Checkout.GetUrl
|
|
325
308
|
*/
|
|
326
|
-
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<GetUrlResponse
|
|
309
|
+
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<NonNullablePaths<GetUrlResponse, `checkoutUrl`>>;
|
|
327
310
|
export interface GetUrlOptions {
|
|
328
311
|
/**
|
|
329
312
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
@@ -374,7 +357,9 @@ export interface GetUrlOptions {
|
|
|
374
357
|
* @applicableIdentity APP
|
|
375
358
|
* @fqn com.wixpress.market.aim.api.Checkout.GetPurchaseHistory
|
|
376
359
|
*/
|
|
377
|
-
export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
360
|
+
export declare function getPurchaseHistory(): Promise<NonNullablePaths<GetPurchaseHistoryResponse, {
|
|
361
|
+
[P in PurchasedItemNonNullablePaths]: `purchases.${number}.${P}`;
|
|
362
|
+
}[PurchasedItemNonNullablePaths]>>;
|
|
378
363
|
export interface GetMeteredBillingChargesOptions {
|
|
379
364
|
/**
|
|
380
365
|
* 3-letter currency code in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAgDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,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C,CAAC;IAEH,MAAM,OAAO,GACX,6CAA6C,CAAC,wBAAwB,CACpE,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -13,4 +13,4 @@ export declare const getMeteredBillingCharges: MaybeContext<BuildRESTFunction<ty
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const onPurchasedItemInvoiceStatusUpdated: ReturnType<typeof createEventModule<typeof publicOnPurchasedItemInvoiceStatusUpdated>>;
|
|
15
15
|
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
16
|
-
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
16
|
+
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, PurchasedItemInvoiceStatusUpdatedEnvelope, GetUrlOptions, GetMeteredBillingChargesOptions, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse
|
|
14
|
-
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse
|
|
15
|
-
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse
|
|
13
|
+
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponse>;
|
|
14
|
+
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponse>;
|
|
15
|
+
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,MAAM;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,MAAM;IAQpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,MAAM,CAAC,OAAO,CAAC,CAA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;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,6BAA6B;QACnC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,4DA8BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { GetMeteredBillingChargesOptions, GetMeteredBillingChargesResponse,
|
|
2
|
+
import { GetMeteredBillingChargesOptions, GetMeteredBillingChargesResponse, GetPurchaseHistoryResponse, GetUrlOptions, GetUrlResponse, PurchasedItemInvoiceStatusUpdatedEnvelope } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -19,7 +19,7 @@ interface GetUrlSignature {
|
|
|
19
19
|
* @param - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
20
20
|
* for a list of your app's supported product IDs.
|
|
21
21
|
*/
|
|
22
|
-
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse
|
|
22
|
+
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse>;
|
|
23
23
|
}
|
|
24
24
|
export declare function getPurchaseHistory(httpClient: HttpClient): GetPurchaseHistorySignature;
|
|
25
25
|
interface GetPurchaseHistorySignature {
|
|
@@ -32,7 +32,7 @@ interface GetPurchaseHistorySignature {
|
|
|
32
32
|
*
|
|
33
33
|
* The response doesn't include any details about cancellations.
|
|
34
34
|
*/
|
|
35
|
-
(): Promise<GetPurchaseHistoryResponse
|
|
35
|
+
(): Promise<GetPurchaseHistoryResponse>;
|
|
36
36
|
}
|
|
37
37
|
/** @internal */
|
|
38
38
|
export declare function getMeteredBillingCharges(httpClient: HttpClient): GetMeteredBillingChargesSignature;
|
|
@@ -47,7 +47,7 @@ interface GetMeteredBillingChargesSignature {
|
|
|
47
47
|
* allows you confirm that your integration with the Custom Charges SPI is
|
|
48
48
|
* working as intended.
|
|
49
49
|
*/
|
|
50
|
-
(options?: GetMeteredBillingChargesOptions | undefined): Promise<GetMeteredBillingChargesResponse
|
|
50
|
+
(options?: GetMeteredBillingChargesOptions | undefined): Promise<GetMeteredBillingChargesResponse>;
|
|
51
51
|
}
|
|
52
52
|
export declare const onPurchasedItemInvoiceStatusUpdated: EventDefinition<PurchasedItemInvoiceStatusUpdatedEnvelope, "InvoiceStatusUpdated">;
|
|
53
|
-
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse,
|
|
53
|
+
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetUrlOptions, GetUrlRequest, GetUrlResponse, IdentificationData, IdentificationDataIdOneOf, InvoiceStatus, InvoiceStatusUpdated, MessageEnvelope, PaymentCycle, PurchasedItem, PurchasedItemInvoiceStatusUpdatedEnvelope, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,2IAUqE;AAExD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,SAAiB,EAAE,OAAuB,EAAE,EAAE,CACpD,IAAA,kEAAe,EACb,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAuBD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,8EAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gDAQC;AAeD,gBAAgB;AAChB,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,oFAAiC,EAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4DASC;AAkBY,QAAA,mCAAmC,GAAG,IAAA,2BAAe,EAChE,sBAAsB,EACtB,KAAK,EACL,CAAC,KAAgD,EAAE,EAAE,CACnD,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAA6C,CAAC;AAE/C,yIAuBqE;AAPnE,0JAAA,aAAa,OAAA;AAGb,yJAAA,YAAY,OAAA;AAGZ,gKAAA,mBAAmB,OAAA"}
|
|
@@ -248,23 +248,3 @@ export declare enum WebhookIdentityType {
|
|
|
248
248
|
WIX_USER = "WIX_USER",
|
|
249
249
|
APP = "APP"
|
|
250
250
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface PurchasedItem {
|
|
2
3
|
/** ID of your app's paid plan. */
|
|
3
4
|
productId?: string;
|
|
@@ -248,25 +249,6 @@ export declare enum WebhookIdentityType {
|
|
|
248
249
|
WIX_USER = "WIX_USER",
|
|
249
250
|
APP = "APP"
|
|
250
251
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
252
|
export interface BaseEventMetadata {
|
|
271
253
|
/**
|
|
272
254
|
* App instance ID.
|
|
@@ -300,6 +282,7 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
300
282
|
* @slug invoice_status_updated
|
|
301
283
|
*/
|
|
302
284
|
export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: PurchasedItemInvoiceStatusUpdatedEnvelope) => void | Promise<void>): void;
|
|
285
|
+
type PurchasedItemNonNullablePaths = `productId` | `price` | `currency` | `billingCycle`;
|
|
303
286
|
/**
|
|
304
287
|
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
305
288
|
*
|
|
@@ -323,7 +306,7 @@ export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: Pur
|
|
|
323
306
|
* @applicableIdentity APP
|
|
324
307
|
* @fqn com.wixpress.market.aim.api.Checkout.GetUrl
|
|
325
308
|
*/
|
|
326
|
-
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<GetUrlResponse
|
|
309
|
+
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<NonNullablePaths<GetUrlResponse, `checkoutUrl`>>;
|
|
327
310
|
export interface GetUrlOptions {
|
|
328
311
|
/**
|
|
329
312
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
@@ -374,7 +357,9 @@ export interface GetUrlOptions {
|
|
|
374
357
|
* @applicableIdentity APP
|
|
375
358
|
* @fqn com.wixpress.market.aim.api.Checkout.GetPurchaseHistory
|
|
376
359
|
*/
|
|
377
|
-
export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
360
|
+
export declare function getPurchaseHistory(): Promise<NonNullablePaths<GetPurchaseHistoryResponse, {
|
|
361
|
+
[P in PurchasedItemNonNullablePaths]: `purchases.${number}.${P}`;
|
|
362
|
+
}[PurchasedItemNonNullablePaths]>>;
|
|
378
363
|
/**
|
|
379
364
|
* Triggers Wix to call the
|
|
380
365
|
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
@@ -394,7 +379,7 @@ export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
|
394
379
|
* @applicableIdentity APP
|
|
395
380
|
* @fqn com.wixpress.market.aim.api.Checkout.GetMeteredBillingCharges
|
|
396
381
|
*/
|
|
397
|
-
export declare function getMeteredBillingCharges(options?: GetMeteredBillingChargesOptions): Promise<GetMeteredBillingChargesResponse
|
|
382
|
+
export declare function getMeteredBillingCharges(options?: GetMeteredBillingChargesOptions): Promise<NonNullablePaths<GetMeteredBillingChargesResponse, `charges` | `charges.${number}.description` | `charges.${number}.amount`>>;
|
|
398
383
|
export interface GetMeteredBillingChargesOptions {
|
|
399
384
|
/**
|
|
400
385
|
* 3-letter currency code in
|
package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],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G,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjDD,4DAiDC"}
|
|
@@ -13,4 +13,4 @@ export declare const getMeteredBillingCharges: MaybeContext<BuildRESTFunction<ty
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const onPurchasedItemInvoiceStatusUpdated: ReturnType<typeof createEventModule<typeof publicOnPurchasedItemInvoiceStatusUpdated>>;
|
|
15
15
|
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
16
|
-
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
16
|
+
export { PurchasedItem, InvoiceStatusUpdated, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, PurchasedItemInvoiceStatusUpdatedEnvelope, GetUrlOptions, GetMeteredBillingChargesOptions, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse
|
|
14
|
-
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse
|
|
15
|
-
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse
|
|
13
|
+
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponse>;
|
|
14
|
+
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponse>;
|
|
15
|
+
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAsBxH,MAAM,UAAU,MAAM;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAsBxH,MAAM,UAAU,MAAM;IAQpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEhE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB;IAQhC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAE5E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB;IAQtC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,wBAAwB,CACpE,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,6BAA6B;QACnC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { GetMeteredBillingChargesOptions, GetMeteredBillingChargesResponse,
|
|
2
|
+
import { GetMeteredBillingChargesOptions, GetMeteredBillingChargesResponse, GetPurchaseHistoryResponse, GetUrlOptions, GetUrlResponse, PurchasedItemInvoiceStatusUpdatedEnvelope } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -19,7 +19,7 @@ interface GetUrlSignature {
|
|
|
19
19
|
* @param - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
20
20
|
* for a list of your app's supported product IDs.
|
|
21
21
|
*/
|
|
22
|
-
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse
|
|
22
|
+
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse>;
|
|
23
23
|
}
|
|
24
24
|
export declare function getPurchaseHistory(httpClient: HttpClient): GetPurchaseHistorySignature;
|
|
25
25
|
interface GetPurchaseHistorySignature {
|
|
@@ -32,7 +32,7 @@ interface GetPurchaseHistorySignature {
|
|
|
32
32
|
*
|
|
33
33
|
* The response doesn't include any details about cancellations.
|
|
34
34
|
*/
|
|
35
|
-
(): Promise<GetPurchaseHistoryResponse
|
|
35
|
+
(): Promise<GetPurchaseHistoryResponse>;
|
|
36
36
|
}
|
|
37
37
|
/** @internal */
|
|
38
38
|
export declare function getMeteredBillingCharges(httpClient: HttpClient): GetMeteredBillingChargesSignature;
|
|
@@ -47,7 +47,7 @@ interface GetMeteredBillingChargesSignature {
|
|
|
47
47
|
* allows you confirm that your integration with the Custom Charges SPI is
|
|
48
48
|
* working as intended.
|
|
49
49
|
*/
|
|
50
|
-
(options?: GetMeteredBillingChargesOptions | undefined): Promise<GetMeteredBillingChargesResponse
|
|
50
|
+
(options?: GetMeteredBillingChargesOptions | undefined): Promise<GetMeteredBillingChargesResponse>;
|
|
51
51
|
}
|
|
52
52
|
export declare const onPurchasedItemInvoiceStatusUpdated: EventDefinition<PurchasedItemInvoiceStatusUpdatedEnvelope, "InvoiceStatusUpdated">;
|
|
53
|
-
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse,
|
|
53
|
+
export { BaseEventMetadata, Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetUrlOptions, GetUrlRequest, GetUrlResponse, IdentificationData, IdentificationDataIdOneOf, InvoiceStatus, InvoiceStatusUpdated, MessageEnvelope, PaymentCycle, PurchasedItem, PurchasedItemInvoiceStatusUpdatedEnvelope, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAOL,wBAAwB,IAAI,iCAAiC,EAC7D,kBAAkB,IAAI,2BAA2B,EACjD,MAAM,IAAI,eAAe,GAC1B,MAAM,6DAA6D,CAAC;AAErE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,SAAiB,EAAE,OAAuB,EAAE,EAAE,CACpD,eAAe,CACb,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAuBD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,2BAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,gBAAgB;AAChB,MAAM,UAAU,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,iCAAiC,CAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAkBD,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,CAChE,sBAAsB,EACtB,KAAK,EACL,CAAC,KAAgD,EAAE,EAAE,CACnD,uCAAuC,CAAC,KAAK,CAAC,CACjD,EAA6C,CAAC;AAE/C,OAAO,EAgBL,aAAa,EAGb,YAAY,EAGZ,mBAAmB,GACpB,MAAM,6DAA6D,CAAC"}
|
|
@@ -248,23 +248,3 @@ export declare enum WebhookIdentityType {
|
|
|
248
248
|
WIX_USER = "WIX_USER",
|
|
249
249
|
APP = "APP"
|
|
250
250
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface PurchasedItem {
|
|
2
3
|
/** ID of your app's paid plan. */
|
|
3
4
|
productId?: string;
|
|
@@ -248,25 +249,6 @@ export declare enum WebhookIdentityType {
|
|
|
248
249
|
WIX_USER = "WIX_USER",
|
|
249
250
|
APP = "APP"
|
|
250
251
|
}
|
|
251
|
-
export interface GetUrlResponseNonNullableFields {
|
|
252
|
-
checkoutUrl: string;
|
|
253
|
-
}
|
|
254
|
-
interface PurchasedItemNonNullableFields {
|
|
255
|
-
productId: string;
|
|
256
|
-
price: string;
|
|
257
|
-
currency: string;
|
|
258
|
-
billingCycle: PaymentCycle;
|
|
259
|
-
}
|
|
260
|
-
export interface GetPurchaseHistoryResponseNonNullableFields {
|
|
261
|
-
purchases: PurchasedItemNonNullableFields[];
|
|
262
|
-
}
|
|
263
|
-
interface ChargeNonNullableFields {
|
|
264
|
-
description: string;
|
|
265
|
-
amount: string;
|
|
266
|
-
}
|
|
267
|
-
export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
268
|
-
charges: ChargeNonNullableFields[];
|
|
269
|
-
}
|
|
270
252
|
export interface BaseEventMetadata {
|
|
271
253
|
/**
|
|
272
254
|
* App instance ID.
|
|
@@ -300,6 +282,7 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
300
282
|
* @slug invoice_status_updated
|
|
301
283
|
*/
|
|
302
284
|
export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: PurchasedItemInvoiceStatusUpdatedEnvelope) => void | Promise<void>): void;
|
|
285
|
+
type PurchasedItemNonNullablePaths = `productId` | `price` | `currency` | `billingCycle`;
|
|
303
286
|
/**
|
|
304
287
|
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
305
288
|
*
|
|
@@ -323,7 +306,7 @@ export declare function onPurchasedItemInvoiceStatusUpdated(handler: (event: Pur
|
|
|
323
306
|
* @applicableIdentity APP
|
|
324
307
|
* @fqn com.wixpress.market.aim.api.Checkout.GetUrl
|
|
325
308
|
*/
|
|
326
|
-
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<GetUrlResponse
|
|
309
|
+
export declare function getUrl(productId: string, options?: GetUrlOptions): Promise<NonNullablePaths<GetUrlResponse, `checkoutUrl`>>;
|
|
327
310
|
export interface GetUrlOptions {
|
|
328
311
|
/**
|
|
329
312
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
@@ -374,7 +357,9 @@ export interface GetUrlOptions {
|
|
|
374
357
|
* @applicableIdentity APP
|
|
375
358
|
* @fqn com.wixpress.market.aim.api.Checkout.GetPurchaseHistory
|
|
376
359
|
*/
|
|
377
|
-
export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
360
|
+
export declare function getPurchaseHistory(): Promise<NonNullablePaths<GetPurchaseHistoryResponse, {
|
|
361
|
+
[P in PurchasedItemNonNullablePaths]: `purchases.${number}.${P}`;
|
|
362
|
+
}[PurchasedItemNonNullablePaths]>>;
|
|
378
363
|
/**
|
|
379
364
|
* Triggers Wix to call the
|
|
380
365
|
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
@@ -394,7 +379,7 @@ export declare function getPurchaseHistory(): Promise<GetPurchaseHistoryResponse
|
|
|
394
379
|
* @applicableIdentity APP
|
|
395
380
|
* @fqn com.wixpress.market.aim.api.Checkout.GetMeteredBillingCharges
|
|
396
381
|
*/
|
|
397
|
-
export declare function getMeteredBillingCharges(options?: GetMeteredBillingChargesOptions): Promise<GetMeteredBillingChargesResponse
|
|
382
|
+
export declare function getMeteredBillingCharges(options?: GetMeteredBillingChargesOptions): Promise<NonNullablePaths<GetMeteredBillingChargesResponse, `charges` | `charges.${number}.description` | `charges.${number}.amount`>>;
|
|
398
383
|
export interface GetMeteredBillingChargesOptions {
|
|
399
384
|
/**
|
|
400
385
|
* 3-letter currency code in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,y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B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_app-management_billing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.42",
|
|
32
|
+
"@wix/sdk-types": "^1.13.10"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.devcenter.checkout.v1.purchased_item"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "2b40aa39d79c71f6f411124147f5e08e04eb840a206fd20e6a8716fc"
|
|
52
52
|
}
|