@wix/auto_sdk_app-management_app-instances 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-app-instance-v1-app-instance-app-instances.context.d.ts +2 -2
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +3 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +1 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +3 -3
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +3 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +75 -56
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +17 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +105 -56
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +17 -1
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +2 -2
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +3 -3
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +75 -56
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +16 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +105 -56
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +16 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +2 -2
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +3 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +3 -3
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +3 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +75 -56
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +17 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +105 -56
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +17 -1
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +2 -2
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +3 -3
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +75 -56
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +16 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +105 -56
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +16 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -29,5 +29,5 @@ export declare const onAppInstancePaidPlanChanged: ReturnType<typeof createEvent
|
|
|
29
29
|
* Triggered when a Wix user purchases a paid plan for your app.
|
|
30
30
|
*/
|
|
31
31
|
export declare const onAppInstancePaidPlanPurchased: ReturnType<typeof createEventModule<typeof publicOnAppInstancePaidPlanPurchased>>;
|
|
32
|
-
export { PaymentCycle, FreeTrialStatus, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
33
|
-
export { AppInstance, BillingInfo, FreeTrialInfo, AvailablePlan, AppInstalled, AppRemoved, PaidPlanPurchased, PaidPlanChanged, PaidPlanAutoRenewalCancelled, GetAppInstanceRequest, GetAppInstanceResponse, SiteInfo, Multilingual, SupportedLanguage, Locale, OwnerInfo, GetAppInstanceByInstanceIdRequest, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
32
|
+
export { PaymentCycle, FreeTrialStatus, FreeTrialPeriod, ReactivationReason, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
33
|
+
export { AppInstance, BillingInfo, FreeTrialInfo, AvailablePlan, AppInstalled, AppRemoved, PaidPlanPurchased, PaidPlanChanged, PaidPlanAutoRenewalCancelled, PlanTransferred, PlanReactivated, PlanFreeTrialConvertedToPaid, GetAppInstanceRequest, GetAppInstanceResponse, SiteInfo, Multilingual, SupportedLanguage, Locale, OwnerInfo, GetAppInstanceByInstanceIdRequest, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, AppInstanceInstalledEnvelope, AppInstanceRemovedEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.ResolutionMethod = exports.FreeTrialStatus = exports.PaymentCycle = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = void 0;
|
|
4
4
|
const devcenter_app_instance_v1_app_instance_app_instances_public_js_1 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
|
@@ -35,6 +35,8 @@ exports.onAppInstancePaidPlanPurchased = (0, event_definition_modules_1.createEv
|
|
|
35
35
|
var devcenter_app_instance_v1_app_instance_app_instances_universal_js_1 = require("./devcenter-app-instance-v1-app-instance-app-instances.universal.js");
|
|
36
36
|
Object.defineProperty(exports, "PaymentCycle", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.PaymentCycle; } });
|
|
37
37
|
Object.defineProperty(exports, "FreeTrialStatus", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.FreeTrialStatus; } });
|
|
38
|
+
Object.defineProperty(exports, "FreeTrialPeriod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.FreeTrialPeriod; } });
|
|
39
|
+
Object.defineProperty(exports, "ReactivationReason", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.ReactivationReason; } });
|
|
38
40
|
Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.ResolutionMethod; } });
|
|
39
41
|
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.WebhookIdentityType; } });
|
|
40
42
|
//# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.context.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.context.ts"],"names":[],"mappings":";;;AAAA,qJAA0H;AAC1H,gEAAiE;AACjE,wFAA8E;AAE9E,qJAA0I;AAC1I,qJAAsI;AACtI,qJAAgL;AAChL,qJAAsJ;AACtJ,qJAA0J;AAE7I,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,+EAAoB,CAAC,CAAC;AACzD;;GAEG;AACU,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,uFAA4B,CAAC,CAAC;AACpD;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,qFAA0B,CAAC,CAAC;AAClD;;;;GAIG;AACU,QAAA,yCAAyC,GAIlD,IAAA,4CAAiB,EAAC,0GAA+C,CAAC,CAAC;AACvE;;GAEG;AACU,QAAA,4BAA4B,GAErC,IAAA,4CAAiB,EAAC,6FAAkC,CAAC,CAAC;AAC1D;;GAEG;AACU,QAAA,8BAA8B,GAEvC,IAAA,4CAAiB,EAAC,+FAAoC,CAAC,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.context.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.context.ts"],"names":[],"mappings":";;;AAAA,qJAA0H;AAC1H,gEAAiE;AACjE,wFAA8E;AAE9E,qJAA0I;AAC1I,qJAAsI;AACtI,qJAAgL;AAChL,qJAAsJ;AACtJ,qJAA0J;AAE7I,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,+EAAoB,CAAC,CAAC;AACzD;;GAEG;AACU,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,uFAA4B,CAAC,CAAC;AACpD;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,qFAA0B,CAAC,CAAC;AAClD;;;;GAIG;AACU,QAAA,yCAAyC,GAIlD,IAAA,4CAAiB,EAAC,0GAA+C,CAAC,CAAC;AACvE;;GAEG;AACU,QAAA,4BAA4B,GAErC,IAAA,4CAAiB,EAAC,6FAAkC,CAAC,CAAC;AAC1D;;GAEG;AACU,QAAA,8BAA8B,GAEvC,IAAA,4CAAiB,EAAC,+FAAoC,CAAC,CAAC;AAE5D,yJAO6E;AAN3E,iKAAA,YAAY,OAAA;AACZ,oKAAA,eAAe,OAAA;AACf,oKAAA,eAAe,OAAA;AACf,uKAAA,kBAAkB,OAAA;AAClB,qKAAA,gBAAgB,OAAA;AAChB,wKAAA,mBAAmB,OAAA"}
|
|
@@ -10,4 +10,4 @@ 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 getAppInstance(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceResponse
|
|
13
|
+
export declare function getAppInstance(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceResponse, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.meta.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+IAAiI;AAsBjI,SAAgB,cAAc;
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.meta.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+IAAiI;AAsBjI,SAAgB,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,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,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;AA5BD,wCA4BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, GetAppInstanceResponse
|
|
2
|
+
import { AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, GetAppInstanceResponse } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -16,11 +16,11 @@ interface GetAppInstanceSignature {
|
|
|
16
16
|
* have the __READ SITE OWNER EMAIL__ permission scope in addition to
|
|
17
17
|
* __MANAGE YOUR APP__.
|
|
18
18
|
*/
|
|
19
|
-
(): Promise<GetAppInstanceResponse
|
|
19
|
+
(): Promise<GetAppInstanceResponse>;
|
|
20
20
|
}
|
|
21
21
|
export declare const onAppInstanceInstalled: EventDefinition<AppInstanceInstalledEnvelope, "AppInstalled">;
|
|
22
22
|
export declare const onAppInstanceRemoved: EventDefinition<AppInstanceRemovedEnvelope, "AppRemoved">;
|
|
23
23
|
export declare const onAppInstancePaidPlanAutoRenewalCancelled: EventDefinition<AppInstancePaidPlanAutoRenewalCancelledEnvelope, "PaidPlanAutoRenewalCancelled">;
|
|
24
24
|
export declare const onAppInstancePaidPlanChanged: EventDefinition<AppInstancePaidPlanChangedEnvelope, "PaidPlanChanged">;
|
|
25
25
|
export declare const onAppInstancePaidPlanPurchased: EventDefinition<AppInstancePaidPlanPurchasedEnvelope, "PaidPlanPurchased">;
|
|
26
|
-
export { AppInstalled, AppInstance, AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, AppRemoved, AvailablePlan, BaseEventMetadata, BillingInfo, FreeTrialInfo, FreeTrialStatus, GetAppInstanceByInstanceIdRequest, GetAppInstanceRequest, GetAppInstanceResponse,
|
|
26
|
+
export { AppInstalled, AppInstance, AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, AppRemoved, AvailablePlan, BaseEventMetadata, BillingInfo, FreeTrialInfo, FreeTrialPeriod, FreeTrialStatus, GetAppInstanceByInstanceIdRequest, GetAppInstanceRequest, GetAppInstanceResponse, IdentificationData, IdentificationDataIdOneOf, Locale, MessageEnvelope, Multilingual, OwnerInfo, PaidPlanAutoRenewalCancelled, PaidPlanChanged, PaidPlanPurchased, PaymentCycle, PlanFreeTrialConvertedToPaid, PlanReactivated, PlanTransferred, ReactivationReason, ResolutionMethod, SiteInfo, SupportedLanguage, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.ResolutionMethod = exports.PaymentCycle = exports.FreeTrialStatus = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = exports.__metadata = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.PaymentCycle = exports.FreeTrialStatus = exports.FreeTrialPeriod = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = exports.__metadata = void 0;
|
|
4
4
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
5
5
|
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
6
|
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
@@ -37,8 +37,10 @@ exports.onAppInstancePaidPlanPurchased = (0, sdk_types_1.EventDefinition)('PaidP
|
|
|
37
37
|
},
|
|
38
38
|
])))();
|
|
39
39
|
var devcenter_app_instance_v1_app_instance_app_instances_universal_js_2 = require("./devcenter-app-instance-v1-app-instance-app-instances.universal.js");
|
|
40
|
+
Object.defineProperty(exports, "FreeTrialPeriod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.FreeTrialPeriod; } });
|
|
40
41
|
Object.defineProperty(exports, "FreeTrialStatus", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.FreeTrialStatus; } });
|
|
41
42
|
Object.defineProperty(exports, "PaymentCycle", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.PaymentCycle; } });
|
|
43
|
+
Object.defineProperty(exports, "ReactivationReason", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.ReactivationReason; } });
|
|
42
44
|
Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.ResolutionMethod; } });
|
|
43
45
|
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.WebhookIdentityType; } });
|
|
44
46
|
//# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.public.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.public.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,2JAQ6E;AAEhE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,kFAAuB;IACrB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAiBY,QAAA,sBAAsB,GAAG,IAAA,2BAAe,EACnD,cAAc,EACd,KAAK,EACL,CAAC,KAAmC,EAAE,EAAE,CACtC,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAAgC,CAAC;AACrB,QAAA,oBAAoB,GAAG,IAAA,2BAAe,EACjD,YAAY,EACZ,KAAK,EACL,CAAC,KAAiC,EAAE,EAAE,CACpC,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAA8B,CAAC;AACnB,QAAA,yCAAyC,GAAG,IAAA,2BAAe,EACtE,8BAA8B,EAC9B,KAAK,EACL,CAAC,KAAsD,EAAE,EAAE,CACzD,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;KAC7C;CACF,CAAC,CACH,CACJ,EAAmD,CAAC;AACxC,QAAA,4BAA4B,GAAG,IAAA,2BAAe,EACzD,iBAAiB,EACjB,KAAK,EACL,CAAC,KAAyC,EAAE,EAAE,CAC5C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;KAC7C;CACF,CAAC,CACH,CACJ,EAAsC,CAAC;AAC3B,QAAA,8BAA8B,GAAG,IAAA,2BAAe,EAC3D,mBAAmB,EACnB,KAAK,EACL,CAAC,KAA2C,EAAE,EAAE,CAC9C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,yBAAyB,EAAE;YACnC,EAAE,IAAI,EAAE,gBAAgB,EAAE;SAC3B;KACF;CACF,CAAC,CACH,CACJ,EAAwC,CAAC;AAE1C,yJAoC6E;AAvB3E,oKAAA,eAAe,OAAA;AACf,oKAAA,eAAe,OAAA;AAaf,iKAAA,YAAY,OAAA;AAIZ,uKAAA,kBAAkB,OAAA;AAClB,qKAAA,gBAAgB,OAAA;AAGhB,wKAAA,mBAAmB,OAAA"}
|
|
@@ -223,6 +223,81 @@ export interface PaidPlanAutoRenewalCancelled {
|
|
|
223
223
|
* @maxLength 100
|
|
224
224
|
*/
|
|
225
225
|
subscriptionCancellationType?: string | null;
|
|
226
|
+
/** Whether the cancellation occurred during a free trial. */
|
|
227
|
+
cancelledDuringFreeTrial?: FreeTrialPeriod;
|
|
228
|
+
}
|
|
229
|
+
export declare enum FreeTrialPeriod {
|
|
230
|
+
/** Free trial status unknown. */
|
|
231
|
+
FREE_TRIAL_PERIOD_UNKNOWN = "FREE_TRIAL_PERIOD_UNKNOWN",
|
|
232
|
+
/** During a free trial period. */
|
|
233
|
+
DURING_FREE_TRIAL = "DURING_FREE_TRIAL",
|
|
234
|
+
/** Not during a free trial period. */
|
|
235
|
+
NOT_DURING_FREE_TRIAL = "NOT_DURING_FREE_TRIAL"
|
|
236
|
+
}
|
|
237
|
+
export interface PlanTransferred {
|
|
238
|
+
/** Date and time of transfer. */
|
|
239
|
+
operationTimeStamp?: Date | null;
|
|
240
|
+
/**
|
|
241
|
+
* Current app plan.
|
|
242
|
+
* @maxLength 100
|
|
243
|
+
*/
|
|
244
|
+
vendorProductId?: string;
|
|
245
|
+
/** Selected payment cycle. */
|
|
246
|
+
cycle?: PaymentCycle;
|
|
247
|
+
/**
|
|
248
|
+
* Invoice ID.
|
|
249
|
+
* @maxLength 50
|
|
250
|
+
*/
|
|
251
|
+
invoiceId?: string | null;
|
|
252
|
+
/**
|
|
253
|
+
* The instance_id before the transfer.
|
|
254
|
+
* @format GUID
|
|
255
|
+
*/
|
|
256
|
+
originInstanceId?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* The instance_id after the transfer.
|
|
259
|
+
* @format GUID
|
|
260
|
+
*/
|
|
261
|
+
targetInstanceId?: string | null;
|
|
262
|
+
}
|
|
263
|
+
export interface PlanReactivated {
|
|
264
|
+
/** Date and time of reactivation. */
|
|
265
|
+
operationTimeStamp?: Date | null;
|
|
266
|
+
/**
|
|
267
|
+
* Current app plan.
|
|
268
|
+
* @maxLength 100
|
|
269
|
+
*/
|
|
270
|
+
vendorProductId?: string;
|
|
271
|
+
/** Selected payment cycle. */
|
|
272
|
+
cycle?: PaymentCycle;
|
|
273
|
+
/** Plan expiration date. */
|
|
274
|
+
expiresOn?: Date | null;
|
|
275
|
+
/**
|
|
276
|
+
* Invoice ID.
|
|
277
|
+
* @maxLength 50
|
|
278
|
+
*/
|
|
279
|
+
invoiceId?: string | null;
|
|
280
|
+
/** Reason for reactivation. */
|
|
281
|
+
reason?: ReactivationReason;
|
|
282
|
+
}
|
|
283
|
+
export declare enum ReactivationReason {
|
|
284
|
+
/** Reactivation reason unknown. */
|
|
285
|
+
REACTIVATION_REASON_UNKNOWN = "REACTIVATION_REASON_UNKNOWN",
|
|
286
|
+
/** The subscription's auto-renew is turned on. */
|
|
287
|
+
AUTO_RENEW_TURNED_ON = "AUTO_RENEW_TURNED_ON"
|
|
288
|
+
}
|
|
289
|
+
export interface PlanFreeTrialConvertedToPaid {
|
|
290
|
+
/** Date and time of conversion to paid subscription (free-trial ended). */
|
|
291
|
+
operationTimeStamp?: Date | null;
|
|
292
|
+
/**
|
|
293
|
+
* Current app plan.
|
|
294
|
+
* @maxLength 100
|
|
295
|
+
*/
|
|
296
|
+
vendorProductId?: string;
|
|
297
|
+
/** Selected payment cycle. */
|
|
298
|
+
cycle?: PaymentCycle;
|
|
299
|
+
/** Plan expiration date. */
|
|
300
|
+
expiresOn?: Date | null;
|
|
226
301
|
}
|
|
227
302
|
export interface GetAppInstanceRequest {
|
|
228
303
|
}
|
|
@@ -388,59 +463,3 @@ export declare enum WebhookIdentityType {
|
|
|
388
463
|
WIX_USER = "WIX_USER",
|
|
389
464
|
APP = "APP"
|
|
390
465
|
}
|
|
391
|
-
interface FreeTrialInfoNonNullableFields {
|
|
392
|
-
status: FreeTrialStatus;
|
|
393
|
-
}
|
|
394
|
-
interface BillingInfoNonNullableFields {
|
|
395
|
-
packageName: string;
|
|
396
|
-
billingCycle: PaymentCycle;
|
|
397
|
-
timeStamp: string;
|
|
398
|
-
freeTrialInfo?: FreeTrialInfoNonNullableFields;
|
|
399
|
-
}
|
|
400
|
-
interface AvailablePlanNonNullableFields {
|
|
401
|
-
packageName: string;
|
|
402
|
-
source: string;
|
|
403
|
-
}
|
|
404
|
-
interface AppInstanceNonNullableFields {
|
|
405
|
-
instanceId: string;
|
|
406
|
-
appName: string;
|
|
407
|
-
isFree: boolean;
|
|
408
|
-
billing?: BillingInfoNonNullableFields;
|
|
409
|
-
permissions: string[];
|
|
410
|
-
availablePlans: AvailablePlanNonNullableFields[];
|
|
411
|
-
isOriginSiteTemplate: boolean;
|
|
412
|
-
copiedFromTemplate: boolean;
|
|
413
|
-
freeTrialAvailable: boolean;
|
|
414
|
-
}
|
|
415
|
-
interface LocaleNonNullableFields {
|
|
416
|
-
languageCode: string;
|
|
417
|
-
country: string;
|
|
418
|
-
}
|
|
419
|
-
interface SupportedLanguageNonNullableFields {
|
|
420
|
-
languageCode: string;
|
|
421
|
-
locale?: LocaleNonNullableFields;
|
|
422
|
-
isPrimary: boolean;
|
|
423
|
-
countryCode: string;
|
|
424
|
-
resolutionMethod: ResolutionMethod;
|
|
425
|
-
}
|
|
426
|
-
interface MultilingualNonNullableFields {
|
|
427
|
-
isMultiLingual: boolean;
|
|
428
|
-
supportedLanguages: SupportedLanguageNonNullableFields[];
|
|
429
|
-
}
|
|
430
|
-
interface OwnerInfoNonNullableFields {
|
|
431
|
-
email: string;
|
|
432
|
-
emailStatus: string;
|
|
433
|
-
}
|
|
434
|
-
interface SiteInfoNonNullableFields {
|
|
435
|
-
locale: string;
|
|
436
|
-
paymentCurrency: string;
|
|
437
|
-
multilingual?: MultilingualNonNullableFields;
|
|
438
|
-
installedWixApps: string[];
|
|
439
|
-
ownerInfo?: OwnerInfoNonNullableFields;
|
|
440
|
-
siteId: string;
|
|
441
|
-
}
|
|
442
|
-
export interface GetAppInstanceResponseNonNullableFields {
|
|
443
|
-
instance?: AppInstanceNonNullableFields;
|
|
444
|
-
site?: SiteInfoNonNullableFields;
|
|
445
|
-
}
|
|
446
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.ResolutionMethod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
|
|
4
4
|
var PaymentCycle;
|
|
5
5
|
(function (PaymentCycle) {
|
|
6
6
|
PaymentCycle["NO_CYCLE"] = "NO_CYCLE";
|
|
@@ -23,6 +23,22 @@ var FreeTrialStatus;
|
|
|
23
23
|
/** No free trial was applied, as none was available. */
|
|
24
24
|
FreeTrialStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
25
25
|
})(FreeTrialStatus || (exports.FreeTrialStatus = FreeTrialStatus = {}));
|
|
26
|
+
var FreeTrialPeriod;
|
|
27
|
+
(function (FreeTrialPeriod) {
|
|
28
|
+
/** Free trial status unknown. */
|
|
29
|
+
FreeTrialPeriod["FREE_TRIAL_PERIOD_UNKNOWN"] = "FREE_TRIAL_PERIOD_UNKNOWN";
|
|
30
|
+
/** During a free trial period. */
|
|
31
|
+
FreeTrialPeriod["DURING_FREE_TRIAL"] = "DURING_FREE_TRIAL";
|
|
32
|
+
/** Not during a free trial period. */
|
|
33
|
+
FreeTrialPeriod["NOT_DURING_FREE_TRIAL"] = "NOT_DURING_FREE_TRIAL";
|
|
34
|
+
})(FreeTrialPeriod || (exports.FreeTrialPeriod = FreeTrialPeriod = {}));
|
|
35
|
+
var ReactivationReason;
|
|
36
|
+
(function (ReactivationReason) {
|
|
37
|
+
/** Reactivation reason unknown. */
|
|
38
|
+
ReactivationReason["REACTIVATION_REASON_UNKNOWN"] = "REACTIVATION_REASON_UNKNOWN";
|
|
39
|
+
/** The subscription's auto-renew is turned on. */
|
|
40
|
+
ReactivationReason["AUTO_RENEW_TURNED_ON"] = "AUTO_RENEW_TURNED_ON";
|
|
41
|
+
})(ReactivationReason || (exports.ReactivationReason = ReactivationReason = {}));
|
|
26
42
|
var ResolutionMethod;
|
|
27
43
|
(function (ResolutionMethod) {
|
|
28
44
|
ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.types.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.types.ts"],"names":[],"mappings":";;;AA8FA,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;AAeD,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.types.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.types.ts"],"names":[],"mappings":";;;AA8FA,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;AAeD,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAgHD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,iCAAiC;IACjC,0EAAuD,CAAA;IACvD,kCAAkC;IAClC,0DAAuC,CAAA;IACvC,sCAAsC;IACtC,kEAA+C,CAAA;AACjD,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AAkDD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mCAAmC;IACnC,iFAA2D,CAAA;IAC3D,kDAAkD;IAClD,mEAA6C,CAAA;AAC/C,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAwFD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA4FD,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,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
/**
|
|
2
3
|
* An app instance is a specific occurrence of an app on a Wix site.
|
|
3
4
|
* When a Wix user installs an app, a unique instance is generated for that
|
|
@@ -223,6 +224,81 @@ export interface PaidPlanAutoRenewalCancelled {
|
|
|
223
224
|
* @maxLength 100
|
|
224
225
|
*/
|
|
225
226
|
subscriptionCancellationType?: string | null;
|
|
227
|
+
/** Whether the cancellation occurred during a free trial. */
|
|
228
|
+
cancelledDuringFreeTrial?: FreeTrialPeriod;
|
|
229
|
+
}
|
|
230
|
+
export declare enum FreeTrialPeriod {
|
|
231
|
+
/** Free trial status unknown. */
|
|
232
|
+
FREE_TRIAL_PERIOD_UNKNOWN = "FREE_TRIAL_PERIOD_UNKNOWN",
|
|
233
|
+
/** During a free trial period. */
|
|
234
|
+
DURING_FREE_TRIAL = "DURING_FREE_TRIAL",
|
|
235
|
+
/** Not during a free trial period. */
|
|
236
|
+
NOT_DURING_FREE_TRIAL = "NOT_DURING_FREE_TRIAL"
|
|
237
|
+
}
|
|
238
|
+
export interface PlanTransferred {
|
|
239
|
+
/** Date and time of transfer. */
|
|
240
|
+
operationTimeStamp?: Date | null;
|
|
241
|
+
/**
|
|
242
|
+
* Current app plan.
|
|
243
|
+
* @maxLength 100
|
|
244
|
+
*/
|
|
245
|
+
vendorProductId?: string;
|
|
246
|
+
/** Selected payment cycle. */
|
|
247
|
+
cycle?: PaymentCycle;
|
|
248
|
+
/**
|
|
249
|
+
* Invoice ID.
|
|
250
|
+
* @maxLength 50
|
|
251
|
+
*/
|
|
252
|
+
invoiceId?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* The instance_id before the transfer.
|
|
255
|
+
* @format GUID
|
|
256
|
+
*/
|
|
257
|
+
originInstanceId?: string | null;
|
|
258
|
+
/**
|
|
259
|
+
* The instance_id after the transfer.
|
|
260
|
+
* @format GUID
|
|
261
|
+
*/
|
|
262
|
+
targetInstanceId?: string | null;
|
|
263
|
+
}
|
|
264
|
+
export interface PlanReactivated {
|
|
265
|
+
/** Date and time of reactivation. */
|
|
266
|
+
operationTimeStamp?: Date | null;
|
|
267
|
+
/**
|
|
268
|
+
* Current app plan.
|
|
269
|
+
* @maxLength 100
|
|
270
|
+
*/
|
|
271
|
+
vendorProductId?: string;
|
|
272
|
+
/** Selected payment cycle. */
|
|
273
|
+
cycle?: PaymentCycle;
|
|
274
|
+
/** Plan expiration date. */
|
|
275
|
+
expiresOn?: Date | null;
|
|
276
|
+
/**
|
|
277
|
+
* Invoice ID.
|
|
278
|
+
* @maxLength 50
|
|
279
|
+
*/
|
|
280
|
+
invoiceId?: string | null;
|
|
281
|
+
/** Reason for reactivation. */
|
|
282
|
+
reason?: ReactivationReason;
|
|
283
|
+
}
|
|
284
|
+
export declare enum ReactivationReason {
|
|
285
|
+
/** Reactivation reason unknown. */
|
|
286
|
+
REACTIVATION_REASON_UNKNOWN = "REACTIVATION_REASON_UNKNOWN",
|
|
287
|
+
/** The subscription's auto-renew is turned on. */
|
|
288
|
+
AUTO_RENEW_TURNED_ON = "AUTO_RENEW_TURNED_ON"
|
|
289
|
+
}
|
|
290
|
+
export interface PlanFreeTrialConvertedToPaid {
|
|
291
|
+
/** Date and time of conversion to paid subscription (free-trial ended). */
|
|
292
|
+
operationTimeStamp?: Date | null;
|
|
293
|
+
/**
|
|
294
|
+
* Current app plan.
|
|
295
|
+
* @maxLength 100
|
|
296
|
+
*/
|
|
297
|
+
vendorProductId?: string;
|
|
298
|
+
/** Selected payment cycle. */
|
|
299
|
+
cycle?: PaymentCycle;
|
|
300
|
+
/** Plan expiration date. */
|
|
301
|
+
expiresOn?: Date | null;
|
|
226
302
|
}
|
|
227
303
|
export interface GetAppInstanceRequest {
|
|
228
304
|
}
|
|
@@ -388,61 +464,6 @@ export declare enum WebhookIdentityType {
|
|
|
388
464
|
WIX_USER = "WIX_USER",
|
|
389
465
|
APP = "APP"
|
|
390
466
|
}
|
|
391
|
-
interface FreeTrialInfoNonNullableFields {
|
|
392
|
-
status: FreeTrialStatus;
|
|
393
|
-
}
|
|
394
|
-
interface BillingInfoNonNullableFields {
|
|
395
|
-
packageName: string;
|
|
396
|
-
billingCycle: PaymentCycle;
|
|
397
|
-
timeStamp: string;
|
|
398
|
-
freeTrialInfo?: FreeTrialInfoNonNullableFields;
|
|
399
|
-
}
|
|
400
|
-
interface AvailablePlanNonNullableFields {
|
|
401
|
-
packageName: string;
|
|
402
|
-
source: string;
|
|
403
|
-
}
|
|
404
|
-
interface AppInstanceNonNullableFields {
|
|
405
|
-
instanceId: string;
|
|
406
|
-
appName: string;
|
|
407
|
-
isFree: boolean;
|
|
408
|
-
billing?: BillingInfoNonNullableFields;
|
|
409
|
-
permissions: string[];
|
|
410
|
-
availablePlans: AvailablePlanNonNullableFields[];
|
|
411
|
-
isOriginSiteTemplate: boolean;
|
|
412
|
-
copiedFromTemplate: boolean;
|
|
413
|
-
freeTrialAvailable: boolean;
|
|
414
|
-
}
|
|
415
|
-
interface LocaleNonNullableFields {
|
|
416
|
-
languageCode: string;
|
|
417
|
-
country: string;
|
|
418
|
-
}
|
|
419
|
-
interface SupportedLanguageNonNullableFields {
|
|
420
|
-
languageCode: string;
|
|
421
|
-
locale?: LocaleNonNullableFields;
|
|
422
|
-
isPrimary: boolean;
|
|
423
|
-
countryCode: string;
|
|
424
|
-
resolutionMethod: ResolutionMethod;
|
|
425
|
-
}
|
|
426
|
-
interface MultilingualNonNullableFields {
|
|
427
|
-
isMultiLingual: boolean;
|
|
428
|
-
supportedLanguages: SupportedLanguageNonNullableFields[];
|
|
429
|
-
}
|
|
430
|
-
interface OwnerInfoNonNullableFields {
|
|
431
|
-
email: string;
|
|
432
|
-
emailStatus: string;
|
|
433
|
-
}
|
|
434
|
-
interface SiteInfoNonNullableFields {
|
|
435
|
-
locale: string;
|
|
436
|
-
paymentCurrency: string;
|
|
437
|
-
multilingual?: MultilingualNonNullableFields;
|
|
438
|
-
installedWixApps: string[];
|
|
439
|
-
ownerInfo?: OwnerInfoNonNullableFields;
|
|
440
|
-
siteId: string;
|
|
441
|
-
}
|
|
442
|
-
export interface GetAppInstanceResponseNonNullableFields {
|
|
443
|
-
instance?: AppInstanceNonNullableFields;
|
|
444
|
-
site?: SiteInfoNonNullableFields;
|
|
445
|
-
}
|
|
446
467
|
export interface BaseEventMetadata {
|
|
447
468
|
/**
|
|
448
469
|
* App instance ID.
|
|
@@ -463,6 +484,11 @@ export interface AppInstanceInstalledEnvelope {
|
|
|
463
484
|
}
|
|
464
485
|
/**
|
|
465
486
|
* Triggered when an instance of your app is installed on a Wix site.
|
|
487
|
+
* @permissionScope Manage Your App
|
|
488
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
489
|
+
* @permissionScope Read site, business, and email details
|
|
490
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
491
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
466
492
|
* @webhook
|
|
467
493
|
* @eventType AppInstalled
|
|
468
494
|
* @serviceIdentifier com.wixpress.market.aim.api.AppInstanceService
|
|
@@ -475,6 +501,11 @@ export interface AppInstanceRemovedEnvelope {
|
|
|
475
501
|
}
|
|
476
502
|
/**
|
|
477
503
|
* Triggered when an instance of your app is uninstalled from a Wix site.
|
|
504
|
+
* @permissionScope Manage Your App
|
|
505
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
506
|
+
* @permissionScope Read site, business, and email details
|
|
507
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
508
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
478
509
|
* @webhook
|
|
479
510
|
* @eventType AppRemoved
|
|
480
511
|
* @serviceIdentifier com.wixpress.market.aim.api.AppInstanceService
|
|
@@ -489,6 +520,11 @@ export interface AppInstancePaidPlanAutoRenewalCancelledEnvelope {
|
|
|
489
520
|
* Triggered when a Wix user cancels a paid plan for your app. The
|
|
490
521
|
* Wix user can continue to use your app until the end of the current billing
|
|
491
522
|
* cycle.
|
|
523
|
+
* @permissionScope Manage Your App
|
|
524
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
525
|
+
* @permissionScope Read site, business, and email details
|
|
526
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
527
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
492
528
|
* @webhook
|
|
493
529
|
* @eventType PaidPlanAutoRenewalCancelled
|
|
494
530
|
* @serviceIdentifier com.wixpress.market.aim.api.AppInstanceService
|
|
@@ -501,6 +537,11 @@ export interface AppInstancePaidPlanChangedEnvelope {
|
|
|
501
537
|
}
|
|
502
538
|
/**
|
|
503
539
|
* Triggered when a Wix user upgrades or downgrades their plan for your app.
|
|
540
|
+
* @permissionScope Manage Your App
|
|
541
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
542
|
+
* @permissionScope Read site, business, and email details
|
|
543
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
544
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
504
545
|
* @webhook
|
|
505
546
|
* @eventType PaidPlanChanged
|
|
506
547
|
* @serviceIdentifier com.wixpress.market.aim.api.AppInstanceService
|
|
@@ -513,12 +554,18 @@ export interface AppInstancePaidPlanPurchasedEnvelope {
|
|
|
513
554
|
}
|
|
514
555
|
/**
|
|
515
556
|
* Triggered when a Wix user purchases a paid plan for your app.
|
|
557
|
+
* @permissionScope Manage Your App
|
|
558
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
559
|
+
* @permissionScope Read site, business, and email details
|
|
560
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
561
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
516
562
|
* @webhook
|
|
517
563
|
* @eventType PaidPlanPurchased
|
|
518
564
|
* @serviceIdentifier com.wixpress.market.aim.api.AppInstanceService
|
|
519
565
|
* @slug paid_plan_purchased
|
|
520
566
|
*/
|
|
521
567
|
export declare function onAppInstancePaidPlanPurchased(handler: (event: AppInstancePaidPlanPurchasedEnvelope) => void | Promise<void>): void;
|
|
568
|
+
type AppInstanceNonNullablePaths = `instanceId` | `appName` | `isFree` | `billing.packageName` | `billing.billingCycle` | `billing.timeStamp` | `billing.freeTrialInfo.status` | `permissions` | `availablePlans` | `availablePlans.${number}.packageName` | `availablePlans.${number}.source` | `isOriginSiteTemplate` | `copiedFromTemplate` | `freeTrialAvailable`;
|
|
522
569
|
/**
|
|
523
570
|
* Retrieves data about the instance of your app that's installed on a Wix
|
|
524
571
|
* site and data about the site itself. For example, to check whether the Wix user has installed a free or paid version of your app,
|
|
@@ -538,5 +585,7 @@ export declare function onAppInstancePaidPlanPurchased(handler: (event: AppInsta
|
|
|
538
585
|
* @applicableIdentity APP
|
|
539
586
|
* @fqn com.wixpress.market.aim.api.AppInstanceService.GetAppInstance
|
|
540
587
|
*/
|
|
541
|
-
export declare function getAppInstance(): Promise<GetAppInstanceResponse
|
|
588
|
+
export declare function getAppInstance(): Promise<NonNullablePaths<GetAppInstanceResponse, {
|
|
589
|
+
[P in AppInstanceNonNullablePaths]: `instance.${P}`;
|
|
590
|
+
}[AppInstanceNonNullablePaths] | `site.locale` | `site.paymentCurrency` | `site.multilingual.isMultiLingual` | `site.multilingual.supportedLanguages` | `site.multilingual.supportedLanguages.${number}.languageCode` | `site.multilingual.supportedLanguages.${number}.locale.languageCode` | `site.multilingual.supportedLanguages.${number}.locale.country` | `site.multilingual.supportedLanguages.${number}.isPrimary` | `site.multilingual.supportedLanguages.${number}.countryCode` | `site.multilingual.supportedLanguages.${number}.resolutionMethod` | `site.installedWixApps` | `site.ownerInfo.email` | `site.ownerInfo.emailStatus` | `site.siteId`>>;
|
|
542
591
|
export {};
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getAppInstance = exports.WebhookIdentityType = exports.ResolutionMethod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
|
|
26
|
+
exports.getAppInstance = exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
|
|
27
27
|
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
28
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
29
|
const ambassadorWixDevcenterAppInstanceV1AppInstance = __importStar(require("./devcenter-app-instance-v1-app-instance-app-instances.http.js"));
|
|
@@ -49,6 +49,22 @@ var FreeTrialStatus;
|
|
|
49
49
|
/** No free trial was applied, as none was available. */
|
|
50
50
|
FreeTrialStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
51
51
|
})(FreeTrialStatus || (exports.FreeTrialStatus = FreeTrialStatus = {}));
|
|
52
|
+
var FreeTrialPeriod;
|
|
53
|
+
(function (FreeTrialPeriod) {
|
|
54
|
+
/** Free trial status unknown. */
|
|
55
|
+
FreeTrialPeriod["FREE_TRIAL_PERIOD_UNKNOWN"] = "FREE_TRIAL_PERIOD_UNKNOWN";
|
|
56
|
+
/** During a free trial period. */
|
|
57
|
+
FreeTrialPeriod["DURING_FREE_TRIAL"] = "DURING_FREE_TRIAL";
|
|
58
|
+
/** Not during a free trial period. */
|
|
59
|
+
FreeTrialPeriod["NOT_DURING_FREE_TRIAL"] = "NOT_DURING_FREE_TRIAL";
|
|
60
|
+
})(FreeTrialPeriod || (exports.FreeTrialPeriod = FreeTrialPeriod = {}));
|
|
61
|
+
var ReactivationReason;
|
|
62
|
+
(function (ReactivationReason) {
|
|
63
|
+
/** Reactivation reason unknown. */
|
|
64
|
+
ReactivationReason["REACTIVATION_REASON_UNKNOWN"] = "REACTIVATION_REASON_UNKNOWN";
|
|
65
|
+
/** The subscription's auto-renew is turned on. */
|
|
66
|
+
ReactivationReason["AUTO_RENEW_TURNED_ON"] = "AUTO_RENEW_TURNED_ON";
|
|
67
|
+
})(ReactivationReason || (exports.ReactivationReason = ReactivationReason = {}));
|
|
52
68
|
var ResolutionMethod;
|
|
53
69
|
(function (ResolutionMethod) {
|
|
54
70
|
ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.universal.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,+IAAiI;AAgGjI,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;AAeD,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.universal.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,+IAAiI;AAgGjI,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;AAeD,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAgHD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,iCAAiC;IACjC,0EAAuD,CAAA;IACvD,kCAAkC;IAClC,0DAAuC,CAAA;IACvC,sCAAsC;IACtC,kEAA+C,CAAA;AACjD,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AAkDD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mCAAmC;IACnC,iFAA2D,CAAA;IAC3D,kDAAkD;IAClD,mEAA6C,CAAA;AAC/C,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAwFD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA4FD,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;AA8ID;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,cAAc;IAsBlC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GACX,8CAA8C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,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,IAAA,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,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AArDD,wCAqDC"}
|
|
@@ -29,5 +29,5 @@ export declare const onAppInstancePaidPlanChanged: ReturnType<typeof createEvent
|
|
|
29
29
|
* Triggered when a Wix user purchases a paid plan for your app.
|
|
30
30
|
*/
|
|
31
31
|
export declare const onAppInstancePaidPlanPurchased: ReturnType<typeof createEventModule<typeof publicOnAppInstancePaidPlanPurchased>>;
|
|
32
|
-
export { PaymentCycle, FreeTrialStatus, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
33
|
-
export { AppInstance, BillingInfo, FreeTrialInfo, AvailablePlan, AppInstalled, AppRemoved, PaidPlanPurchased, PaidPlanChanged, PaidPlanAutoRenewalCancelled, GetAppInstanceRequest, GetAppInstanceResponse, SiteInfo, Multilingual, SupportedLanguage, Locale, OwnerInfo, GetAppInstanceByInstanceIdRequest, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
32
|
+
export { PaymentCycle, FreeTrialStatus, FreeTrialPeriod, ReactivationReason, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
33
|
+
export { AppInstance, BillingInfo, FreeTrialInfo, AvailablePlan, AppInstalled, AppRemoved, PaidPlanPurchased, PaidPlanChanged, PaidPlanAutoRenewalCancelled, PlanTransferred, PlanReactivated, PlanFreeTrialConvertedToPaid, GetAppInstanceRequest, GetAppInstanceResponse, SiteInfo, Multilingual, SupportedLanguage, Locale, OwnerInfo, GetAppInstanceByInstanceIdRequest, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, AppInstanceInstalledEnvelope, AppInstanceRemovedEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
@@ -29,5 +29,5 @@ export const onAppInstancePaidPlanChanged = createEventModule(publicOnAppInstanc
|
|
|
29
29
|
* Triggered when a Wix user purchases a paid plan for your app.
|
|
30
30
|
*/
|
|
31
31
|
export const onAppInstancePaidPlanPurchased = createEventModule(publicOnAppInstancePaidPlanPurchased);
|
|
32
|
-
export { PaymentCycle, FreeTrialStatus, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
32
|
+
export { PaymentCycle, FreeTrialStatus, FreeTrialPeriod, ReactivationReason, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
33
33
|
//# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.context.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,sBAAsB,IAAI,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAC1I,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,kEAAkE,CAAC;AACtI,OAAO,EAAE,yCAAyC,IAAI,+CAA+C,EAAE,MAAM,kEAAkE,CAAC;AAChL,OAAO,EAAE,4BAA4B,IAAI,kCAAkC,EAAE,MAAM,kEAAkE,CAAC;AACtJ,OAAO,EAAE,8BAA8B,IAAI,oCAAoC,EAAE,MAAM,kEAAkE,CAAC;AAE1J,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAE/B,iBAAiB,CAAC,4BAA4B,CAAC,CAAC;AACpD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAE7B,iBAAiB,CAAC,0BAA0B,CAAC,CAAC;AAClD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAIlD,iBAAiB,CAAC,+CAA+C,CAAC,CAAC;AACvE;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAErC,iBAAiB,CAAC,kCAAkC,CAAC,CAAC;AAC1D;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAEvC,iBAAiB,CAAC,oCAAoC,CAAC,CAAC;AAE5D,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,qEAAqE,CAAC"}
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.context.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,sBAAsB,IAAI,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAC1I,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,kEAAkE,CAAC;AACtI,OAAO,EAAE,yCAAyC,IAAI,+CAA+C,EAAE,MAAM,kEAAkE,CAAC;AAChL,OAAO,EAAE,4BAA4B,IAAI,kCAAkC,EAAE,MAAM,kEAAkE,CAAC;AACtJ,OAAO,EAAE,8BAA8B,IAAI,oCAAoC,EAAE,MAAM,kEAAkE,CAAC;AAE1J,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAE/B,iBAAiB,CAAC,4BAA4B,CAAC,CAAC;AACpD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAE7B,iBAAiB,CAAC,0BAA0B,CAAC,CAAC;AAClD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAIlD,iBAAiB,CAAC,+CAA+C,CAAC,CAAC;AACvE;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAErC,iBAAiB,CAAC,kCAAkC,CAAC,CAAC;AAC1D;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAEvC,iBAAiB,CAAC,oCAAoC,CAAC,CAAC;AAE5D,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,qEAAqE,CAAC"}
|
|
@@ -10,4 +10,4 @@ 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 getAppInstance(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceResponse
|
|
13
|
+
export declare function getAppInstance(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceResponse, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.meta.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,8CAA8C,MAAM,gEAAgE,CAAC;AAsBjI,MAAM,UAAU,cAAc;
|
|
1
|
+
{"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.meta.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,8CAA8C,MAAM,gEAAgE,CAAC;AAsBjI,MAAM,UAAU,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,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,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, GetAppInstanceResponse
|
|
2
|
+
import { AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, GetAppInstanceResponse } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -16,11 +16,11 @@ interface GetAppInstanceSignature {
|
|
|
16
16
|
* have the __READ SITE OWNER EMAIL__ permission scope in addition to
|
|
17
17
|
* __MANAGE YOUR APP__.
|
|
18
18
|
*/
|
|
19
|
-
(): Promise<GetAppInstanceResponse
|
|
19
|
+
(): Promise<GetAppInstanceResponse>;
|
|
20
20
|
}
|
|
21
21
|
export declare const onAppInstanceInstalled: EventDefinition<AppInstanceInstalledEnvelope, "AppInstalled">;
|
|
22
22
|
export declare const onAppInstanceRemoved: EventDefinition<AppInstanceRemovedEnvelope, "AppRemoved">;
|
|
23
23
|
export declare const onAppInstancePaidPlanAutoRenewalCancelled: EventDefinition<AppInstancePaidPlanAutoRenewalCancelledEnvelope, "PaidPlanAutoRenewalCancelled">;
|
|
24
24
|
export declare const onAppInstancePaidPlanChanged: EventDefinition<AppInstancePaidPlanChangedEnvelope, "PaidPlanChanged">;
|
|
25
25
|
export declare const onAppInstancePaidPlanPurchased: EventDefinition<AppInstancePaidPlanPurchasedEnvelope, "PaidPlanPurchased">;
|
|
26
|
-
export { AppInstalled, AppInstance, AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, AppRemoved, AvailablePlan, BaseEventMetadata, BillingInfo, FreeTrialInfo, FreeTrialStatus, GetAppInstanceByInstanceIdRequest, GetAppInstanceRequest, GetAppInstanceResponse,
|
|
26
|
+
export { AppInstalled, AppInstance, AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstanceRemovedEnvelope, AppRemoved, AvailablePlan, BaseEventMetadata, BillingInfo, FreeTrialInfo, FreeTrialPeriod, FreeTrialStatus, GetAppInstanceByInstanceIdRequest, GetAppInstanceRequest, GetAppInstanceResponse, IdentificationData, IdentificationDataIdOneOf, Locale, MessageEnvelope, Multilingual, OwnerInfo, PaidPlanAutoRenewalCancelled, PaidPlanChanged, PaidPlanPurchased, PaymentCycle, PlanFreeTrialConvertedToPaid, PlanReactivated, PlanTransferred, ReactivationReason, ResolutionMethod, SiteInfo, SupportedLanguage, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
@@ -32,5 +32,5 @@ export const onAppInstancePaidPlanPurchased = EventDefinition('PaidPlanPurchased
|
|
|
32
32
|
],
|
|
33
33
|
},
|
|
34
34
|
])))();
|
|
35
|
-
export { FreeTrialStatus, PaymentCycle, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
35
|
+
export { FreeTrialPeriod, FreeTrialStatus, PaymentCycle, ReactivationReason, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
|
|
36
36
|
//# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.public.js.map
|