@wix/auto_sdk_app-management_app-instances 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +33 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +42 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +13 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +112 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +1 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +13 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +47 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +26 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +46 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -0
- package/build/{devcenter-app-instance-v1-app-instance-app-instances.universal-B6ZXBoac.d.mts → cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts} +29 -65
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +56 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +593 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +123 -0
- package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +33 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +33 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +13 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +108 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +1 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +13 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +20 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +26 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +36 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -0
- package/build/{devcenter-app-instance-v1-app-instance-app-instances.universal-B6ZXBoac.d.ts → es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts} +29 -65
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +53 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +593 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +96 -0
- package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +33 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +42 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +13 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +112 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +1 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +13 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +47 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +26 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +46 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -0
- package/build/internal/{devcenter-app-instance-v1-app-instance-app-instances.universal-B6ZXBoac.d.ts → cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts} +29 -65
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +56 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +593 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +123 -0
- package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +33 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +33 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +1 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +13 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +108 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +1 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +13 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +20 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +1 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +26 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +36 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +1 -0
- package/build/internal/{devcenter-app-instance-v1-app-instance-app-instances.universal-B6ZXBoac.d.mts → es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts} +29 -65
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +53 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +593 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +96 -0
- package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.d.mts +0 -46
- package/build/index.d.ts +0 -46
- package/build/index.js +0 -295
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -260
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -46
- package/build/internal/index.d.ts +0 -46
- package/build/internal/index.js +0 -295
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -260
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -235
- package/build/internal/meta.d.ts +0 -235
- package/build/internal/meta.js +0 -148
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -121
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -235
- package/build/meta.d.ts +0 -235
- package/build/meta.js +0 -148
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -121
- package/build/meta.mjs.map +0 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* specific site. Use the `instanceId` to keep track of the individual data
|
|
5
5
|
* associated with each app instance.
|
|
6
6
|
*/
|
|
7
|
-
interface AppInstance {
|
|
7
|
+
export interface AppInstance {
|
|
8
8
|
/**
|
|
9
9
|
* App instance ID. Useful to keep track of the
|
|
10
10
|
* data that's associated with the specific instance of your app
|
|
@@ -52,7 +52,7 @@ interface AppInstance {
|
|
|
52
52
|
/** Whether this app instance includes a free trial that hasn't started yet. */
|
|
53
53
|
freeTrialAvailable?: boolean;
|
|
54
54
|
}
|
|
55
|
-
interface BillingInfo {
|
|
55
|
+
export interface BillingInfo {
|
|
56
56
|
/** Name of the package that the site owner has paid for. */
|
|
57
57
|
packageName?: string;
|
|
58
58
|
/**
|
|
@@ -92,7 +92,7 @@ interface BillingInfo {
|
|
|
92
92
|
/** Information about the free trial applied, if relevant. */
|
|
93
93
|
freeTrialInfo?: FreeTrialInfo;
|
|
94
94
|
}
|
|
95
|
-
declare enum PaymentCycle {
|
|
95
|
+
export declare enum PaymentCycle {
|
|
96
96
|
NO_CYCLE = "NO_CYCLE",
|
|
97
97
|
MONTHLY = "MONTHLY",
|
|
98
98
|
YEARLY = "YEARLY",
|
|
@@ -102,7 +102,7 @@ declare enum PaymentCycle {
|
|
|
102
102
|
FOUR_YEARS = "FOUR_YEARS",
|
|
103
103
|
FIVE_YEARS = "FIVE_YEARS"
|
|
104
104
|
}
|
|
105
|
-
interface FreeTrialInfo {
|
|
105
|
+
export interface FreeTrialInfo {
|
|
106
106
|
/**
|
|
107
107
|
* Current free trial status.
|
|
108
108
|
* @readonly
|
|
@@ -114,7 +114,7 @@ interface FreeTrialInfo {
|
|
|
114
114
|
*/
|
|
115
115
|
endDate?: Date | null;
|
|
116
116
|
}
|
|
117
|
-
declare enum FreeTrialStatus {
|
|
117
|
+
export declare enum FreeTrialStatus {
|
|
118
118
|
/** Unknown trial status. */
|
|
119
119
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
120
120
|
/** The free trial is currently in progress. */
|
|
@@ -124,13 +124,13 @@ declare enum FreeTrialStatus {
|
|
|
124
124
|
/** No free trial was applied, as none was available. */
|
|
125
125
|
NOT_AVAILABLE = "NOT_AVAILABLE"
|
|
126
126
|
}
|
|
127
|
-
interface AvailablePlan {
|
|
127
|
+
export interface AvailablePlan {
|
|
128
128
|
/** Package name of the available plan. */
|
|
129
129
|
packageName?: string;
|
|
130
130
|
/** Source of the available plan. Can be a bundle or 3rd-party app. */
|
|
131
131
|
source?: string;
|
|
132
132
|
}
|
|
133
|
-
interface AppInstalled {
|
|
133
|
+
export interface AppInstalled {
|
|
134
134
|
/**
|
|
135
135
|
* Unique identifier of the app within the website.
|
|
136
136
|
* @format GUID
|
|
@@ -142,14 +142,14 @@ interface AppInstalled {
|
|
|
142
142
|
*/
|
|
143
143
|
originInstanceId?: string | null;
|
|
144
144
|
}
|
|
145
|
-
interface AppRemoved {
|
|
145
|
+
export interface AppRemoved {
|
|
146
146
|
/**
|
|
147
147
|
* Unique identifier of the app within the website.
|
|
148
148
|
* @format GUID
|
|
149
149
|
*/
|
|
150
150
|
appId?: string;
|
|
151
151
|
}
|
|
152
|
-
interface PaidPlanPurchased {
|
|
152
|
+
export interface PaidPlanPurchased {
|
|
153
153
|
/** Date and time of purchase. */
|
|
154
154
|
operationTimeStamp?: Date | null;
|
|
155
155
|
/**
|
|
@@ -172,7 +172,7 @@ interface PaidPlanPurchased {
|
|
|
172
172
|
*/
|
|
173
173
|
invoiceId?: string | null;
|
|
174
174
|
}
|
|
175
|
-
interface PaidPlanChanged {
|
|
175
|
+
export interface PaidPlanChanged {
|
|
176
176
|
/** Date and time of change. */
|
|
177
177
|
operationTimeStamp?: Date | null;
|
|
178
178
|
/**
|
|
@@ -200,7 +200,7 @@ interface PaidPlanChanged {
|
|
|
200
200
|
*/
|
|
201
201
|
invoiceId?: string | null;
|
|
202
202
|
}
|
|
203
|
-
interface PaidPlanAutoRenewalCancelled {
|
|
203
|
+
export interface PaidPlanAutoRenewalCancelled {
|
|
204
204
|
/** Date and time of auto-renewal cancellation. */
|
|
205
205
|
operationTimeStamp?: Date | null;
|
|
206
206
|
/**
|
|
@@ -228,7 +228,7 @@ interface PaidPlanAutoRenewalCancelled {
|
|
|
228
228
|
/** Whether the cancellation occurred during a free trial. */
|
|
229
229
|
cancelledDuringFreeTrial?: FreeTrialPeriod;
|
|
230
230
|
}
|
|
231
|
-
declare enum FreeTrialPeriod {
|
|
231
|
+
export declare enum FreeTrialPeriod {
|
|
232
232
|
/** Free trial status unknown. */
|
|
233
233
|
FREE_TRIAL_PERIOD_UNKNOWN = "FREE_TRIAL_PERIOD_UNKNOWN",
|
|
234
234
|
/** During a free trial period. */
|
|
@@ -236,7 +236,7 @@ declare enum FreeTrialPeriod {
|
|
|
236
236
|
/** Not during a free trial period. */
|
|
237
237
|
NOT_DURING_FREE_TRIAL = "NOT_DURING_FREE_TRIAL"
|
|
238
238
|
}
|
|
239
|
-
interface PlanTransferred {
|
|
239
|
+
export interface PlanTransferred {
|
|
240
240
|
/** Date and time of transfer. */
|
|
241
241
|
operationTimeStamp?: Date | null;
|
|
242
242
|
/**
|
|
@@ -262,7 +262,7 @@ interface PlanTransferred {
|
|
|
262
262
|
*/
|
|
263
263
|
targetInstanceId?: string | null;
|
|
264
264
|
}
|
|
265
|
-
interface PlanReactivated {
|
|
265
|
+
export interface PlanReactivated {
|
|
266
266
|
/** Date and time of reactivation. */
|
|
267
267
|
operationTimeStamp?: Date | null;
|
|
268
268
|
/**
|
|
@@ -282,13 +282,13 @@ interface PlanReactivated {
|
|
|
282
282
|
/** Reason for reactivation. */
|
|
283
283
|
reason?: ReactivationReason;
|
|
284
284
|
}
|
|
285
|
-
declare enum ReactivationReason {
|
|
285
|
+
export declare enum ReactivationReason {
|
|
286
286
|
/** Reactivation reason unknown. */
|
|
287
287
|
REACTIVATION_REASON_UNKNOWN = "REACTIVATION_REASON_UNKNOWN",
|
|
288
288
|
/** The subscription's auto-renew is turned on. */
|
|
289
289
|
AUTO_RENEW_TURNED_ON = "AUTO_RENEW_TURNED_ON"
|
|
290
290
|
}
|
|
291
|
-
interface PlanFreeTrialConvertedToPaid {
|
|
291
|
+
export interface PlanFreeTrialConvertedToPaid {
|
|
292
292
|
/** Date and time of conversion to paid subscription (free-trial ended). */
|
|
293
293
|
operationTimeStamp?: Date | null;
|
|
294
294
|
/**
|
|
@@ -301,15 +301,15 @@ interface PlanFreeTrialConvertedToPaid {
|
|
|
301
301
|
/** Plan expiration date. */
|
|
302
302
|
expiresOn?: Date | null;
|
|
303
303
|
}
|
|
304
|
-
interface GetAppInstanceRequest {
|
|
304
|
+
export interface GetAppInstanceRequest {
|
|
305
305
|
}
|
|
306
|
-
interface GetAppInstanceResponse {
|
|
306
|
+
export interface GetAppInstanceResponse {
|
|
307
307
|
/** Retrieved app instance. */
|
|
308
308
|
instance?: AppInstance;
|
|
309
309
|
/** Information about the site. */
|
|
310
310
|
site?: SiteInfo;
|
|
311
311
|
}
|
|
312
|
-
interface SiteInfo {
|
|
312
|
+
export interface SiteInfo {
|
|
313
313
|
/** Display name of the site. */
|
|
314
314
|
siteDisplayName?: string | null;
|
|
315
315
|
/**
|
|
@@ -344,13 +344,13 @@ interface SiteInfo {
|
|
|
344
344
|
/** Site ID. */
|
|
345
345
|
siteId?: string;
|
|
346
346
|
}
|
|
347
|
-
interface Multilingual {
|
|
347
|
+
export interface Multilingual {
|
|
348
348
|
/** Whether the site supports more than a single language. */
|
|
349
349
|
isMultiLingual?: boolean;
|
|
350
350
|
/** List of supported languages. Returned only when `{"isMultiLingual": true}`. */
|
|
351
351
|
supportedLanguages?: SupportedLanguage[];
|
|
352
352
|
}
|
|
353
|
-
interface SupportedLanguage {
|
|
353
|
+
export interface SupportedLanguage {
|
|
354
354
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
355
355
|
languageCode?: string;
|
|
356
356
|
/** Locale. */
|
|
@@ -362,18 +362,18 @@ interface SupportedLanguage {
|
|
|
362
362
|
/** How the language will be resolved. For internal use. */
|
|
363
363
|
resolutionMethod?: ResolutionMethod;
|
|
364
364
|
}
|
|
365
|
-
interface Locale {
|
|
365
|
+
export interface Locale {
|
|
366
366
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
367
367
|
languageCode?: string;
|
|
368
368
|
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
369
369
|
country?: string;
|
|
370
370
|
}
|
|
371
|
-
declare enum ResolutionMethod {
|
|
371
|
+
export declare enum ResolutionMethod {
|
|
372
372
|
QUERY_PARAM = "QUERY_PARAM",
|
|
373
373
|
SUBDOMAIN = "SUBDOMAIN",
|
|
374
374
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
375
375
|
}
|
|
376
|
-
interface OwnerInfo {
|
|
376
|
+
export interface OwnerInfo {
|
|
377
377
|
/**
|
|
378
378
|
* Wix user's email address. Identical to the their login email.
|
|
379
379
|
* @format EMAIL
|
|
@@ -388,14 +388,14 @@ interface OwnerInfo {
|
|
|
388
388
|
*/
|
|
389
389
|
emailStatus?: string;
|
|
390
390
|
}
|
|
391
|
-
interface GetAppInstanceByInstanceIdRequest {
|
|
391
|
+
export interface GetAppInstanceByInstanceIdRequest {
|
|
392
392
|
/**
|
|
393
393
|
* ID of the app instance to retrieve.
|
|
394
394
|
* @format GUID
|
|
395
395
|
*/
|
|
396
396
|
instanceId?: string;
|
|
397
397
|
}
|
|
398
|
-
interface MessageEnvelope {
|
|
398
|
+
export interface MessageEnvelope {
|
|
399
399
|
/**
|
|
400
400
|
* App instance ID.
|
|
401
401
|
* @format GUID
|
|
@@ -411,7 +411,7 @@ interface MessageEnvelope {
|
|
|
411
411
|
/** Stringify payload. */
|
|
412
412
|
data?: string;
|
|
413
413
|
}
|
|
414
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
414
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
415
415
|
/**
|
|
416
416
|
* ID of a site visitor that has not logged in to the site.
|
|
417
417
|
* @format GUID
|
|
@@ -436,7 +436,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
436
436
|
identityType?: WebhookIdentityType;
|
|
437
437
|
}
|
|
438
438
|
/** @oneof */
|
|
439
|
-
interface IdentificationDataIdOneOf {
|
|
439
|
+
export interface IdentificationDataIdOneOf {
|
|
440
440
|
/**
|
|
441
441
|
* ID of a site visitor that has not logged in to the site.
|
|
442
442
|
* @format GUID
|
|
@@ -458,46 +458,10 @@ interface IdentificationDataIdOneOf {
|
|
|
458
458
|
*/
|
|
459
459
|
appId?: string;
|
|
460
460
|
}
|
|
461
|
-
declare enum WebhookIdentityType {
|
|
461
|
+
export declare enum WebhookIdentityType {
|
|
462
462
|
UNKNOWN = "UNKNOWN",
|
|
463
463
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
464
464
|
MEMBER = "MEMBER",
|
|
465
465
|
WIX_USER = "WIX_USER",
|
|
466
466
|
APP = "APP"
|
|
467
467
|
}
|
|
468
|
-
interface BaseEventMetadata {
|
|
469
|
-
/**
|
|
470
|
-
* App instance ID.
|
|
471
|
-
* @format GUID
|
|
472
|
-
*/
|
|
473
|
-
instanceId?: string | null;
|
|
474
|
-
/**
|
|
475
|
-
* Event type.
|
|
476
|
-
* @maxLength 150
|
|
477
|
-
*/
|
|
478
|
-
eventType?: string;
|
|
479
|
-
/** The identification type and identity data. */
|
|
480
|
-
identity?: IdentificationData;
|
|
481
|
-
}
|
|
482
|
-
interface AppInstanceInstalledEnvelope {
|
|
483
|
-
data: AppInstalled;
|
|
484
|
-
metadata: BaseEventMetadata;
|
|
485
|
-
}
|
|
486
|
-
interface AppInstanceRemovedEnvelope {
|
|
487
|
-
data: AppRemoved;
|
|
488
|
-
metadata: BaseEventMetadata;
|
|
489
|
-
}
|
|
490
|
-
interface AppInstancePaidPlanAutoRenewalCancelledEnvelope {
|
|
491
|
-
data: PaidPlanAutoRenewalCancelled;
|
|
492
|
-
metadata: BaseEventMetadata;
|
|
493
|
-
}
|
|
494
|
-
interface AppInstancePaidPlanChangedEnvelope {
|
|
495
|
-
data: PaidPlanChanged;
|
|
496
|
-
metadata: BaseEventMetadata;
|
|
497
|
-
}
|
|
498
|
-
interface AppInstancePaidPlanPurchasedEnvelope {
|
|
499
|
-
data: PaidPlanPurchased;
|
|
500
|
-
metadata: BaseEventMetadata;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
export { type AppInstance as A, type BillingInfo as B, FreeTrialStatus as F, type GetAppInstanceResponse as G, type IdentificationData as I, type Locale as L, type Multilingual as M, type OwnerInfo as O, PaymentCycle as P, ReactivationReason as R, type SiteInfo as S, WebhookIdentityType as W, FreeTrialPeriod as a, ResolutionMethod as b, type FreeTrialInfo as c, type AvailablePlan as d, type AppInstalled as e, type AppRemoved as f, type PaidPlanPurchased as g, type PaidPlanChanged as h, type PaidPlanAutoRenewalCancelled as i, type PlanTransferred as j, type PlanReactivated as k, type PlanFreeTrialConvertedToPaid as l, type GetAppInstanceRequest as m, type SupportedLanguage as n, type GetAppInstanceByInstanceIdRequest as o, type MessageEnvelope as p, type IdentificationDataIdOneOf as q, type BaseEventMetadata as r, type AppInstanceInstalledEnvelope as s, type AppInstanceRemovedEnvelope as t, type AppInstancePaidPlanAutoRenewalCancelledEnvelope as u, type AppInstancePaidPlanChangedEnvelope as v, type AppInstancePaidPlanPurchasedEnvelope as w };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
|
|
4
|
+
var PaymentCycle;
|
|
5
|
+
(function (PaymentCycle) {
|
|
6
|
+
PaymentCycle["NO_CYCLE"] = "NO_CYCLE";
|
|
7
|
+
PaymentCycle["MONTHLY"] = "MONTHLY";
|
|
8
|
+
PaymentCycle["YEARLY"] = "YEARLY";
|
|
9
|
+
PaymentCycle["ONE_TIME"] = "ONE_TIME";
|
|
10
|
+
PaymentCycle["TWO_YEARS"] = "TWO_YEARS";
|
|
11
|
+
PaymentCycle["THREE_YEARS"] = "THREE_YEARS";
|
|
12
|
+
PaymentCycle["FOUR_YEARS"] = "FOUR_YEARS";
|
|
13
|
+
PaymentCycle["FIVE_YEARS"] = "FIVE_YEARS";
|
|
14
|
+
})(PaymentCycle || (exports.PaymentCycle = PaymentCycle = {}));
|
|
15
|
+
var FreeTrialStatus;
|
|
16
|
+
(function (FreeTrialStatus) {
|
|
17
|
+
/** Unknown trial status. */
|
|
18
|
+
FreeTrialStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
19
|
+
/** The free trial is currently in progress. */
|
|
20
|
+
FreeTrialStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
21
|
+
/** The free trial has ended. */
|
|
22
|
+
FreeTrialStatus["ENDED"] = "ENDED";
|
|
23
|
+
/** No free trial was applied, as none was available. */
|
|
24
|
+
FreeTrialStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
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 = {}));
|
|
42
|
+
var ResolutionMethod;
|
|
43
|
+
(function (ResolutionMethod) {
|
|
44
|
+
ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
|
|
45
|
+
ResolutionMethod["SUBDOMAIN"] = "SUBDOMAIN";
|
|
46
|
+
ResolutionMethod["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
47
|
+
})(ResolutionMethod || (exports.ResolutionMethod = ResolutionMethod = {}));
|
|
48
|
+
var WebhookIdentityType;
|
|
49
|
+
(function (WebhookIdentityType) {
|
|
50
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
51
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
52
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
53
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
54
|
+
WebhookIdentityType["APP"] = "APP";
|
|
55
|
+
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
56
|
+
//# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.types.js.map
|
|
@@ -0,0 +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":";;;AAgGA,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"}
|