@wix/auto_sdk_app-management_app-instances 1.0.1 → 1.0.3

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.
Files changed (17) hide show
  1. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +105 -26
  2. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
  3. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +113 -28
  4. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
  5. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +105 -26
  6. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
  7. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +113 -28
  8. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
  9. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +105 -26
  10. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
  11. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +113 -28
  12. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
  13. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts +105 -26
  14. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +1 -1
  15. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +113 -28
  16. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +1 -1
  17. package/package.json +4 -4
@@ -129,57 +129,99 @@ export interface AvailablePlan {
129
129
  source?: string;
130
130
  }
131
131
  export interface AppInstalled {
132
- /** Unique identifier of the app within the website. */
132
+ /**
133
+ * Unique identifier of the app within the website.
134
+ * @format GUID
135
+ */
133
136
  appId?: string;
134
- /** Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)). */
137
+ /**
138
+ * Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)).
139
+ * @format GUID
140
+ */
135
141
  originInstanceId?: string | null;
136
142
  }
137
143
  export interface AppRemoved {
138
- /** Unique identifier of the app within the website. */
144
+ /**
145
+ * Unique identifier of the app within the website.
146
+ * @format GUID
147
+ */
139
148
  appId?: string;
140
149
  }
141
150
  export interface PaidPlanPurchased {
142
151
  /** Date and time of purchase. */
143
152
  operationTimeStamp?: Date | null;
144
- /** Purchased app plan. */
153
+ /**
154
+ * Purchased app plan.
155
+ * @maxLength 100
156
+ */
145
157
  vendorProductId?: string;
146
158
  /** Selected payment cycle. */
147
159
  cycle?: PaymentCycle;
148
160
  /** Plan expiration date. */
149
161
  expiresOn?: Date | null;
150
- /** Coupon applied to purchase (if relevant). */
162
+ /**
163
+ * Coupon applied to purchase (if relevant).
164
+ * @maxLength 150
165
+ */
151
166
  couponName?: string | null;
152
- /** Invoice ID. */
167
+ /**
168
+ * Invoice ID.
169
+ * @maxLength 50
170
+ */
153
171
  invoiceId?: string | null;
154
172
  }
155
173
  export interface PaidPlanChanged {
156
174
  /** Date and time of change. */
157
175
  operationTimeStamp?: Date | null;
158
- /** Newly purchased app plan. */
176
+ /**
177
+ * Newly purchased app plan.
178
+ * @maxLength 100
179
+ */
159
180
  vendorProductId?: string;
160
181
  /** Newly selected payment cycle. */
161
182
  cycle?: PaymentCycle;
162
- /** Previous app plan. */
183
+ /**
184
+ * Previous app plan.
185
+ * @maxLength 100
186
+ */
163
187
  previousVendorProductId?: string | null;
164
188
  /** Previous payment cycle. */
165
189
  previousCycle?: PaymentCycle;
166
- /** Coupon applied to purchase (if relevant). */
190
+ /**
191
+ * Coupon applied to purchase (if relevant).
192
+ * @maxLength 150
193
+ */
167
194
  couponName?: string | null;
168
- /** Invoice ID. */
195
+ /**
196
+ * Invoice ID.
197
+ * @maxLength 50
198
+ */
169
199
  invoiceId?: string | null;
170
200
  }
171
201
  export interface PaidPlanAutoRenewalCancelled {
172
202
  /** Date and time of auto-renewal cancellation. */
173
203
  operationTimeStamp?: Date | null;
174
- /** Current app plan. */
204
+ /**
205
+ * Current app plan.
206
+ * @maxLength 100
207
+ */
175
208
  vendorProductId?: string;
176
209
  /** Current payment cycle. */
177
210
  cycle?: PaymentCycle;
178
- /** Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant). */
211
+ /**
212
+ * Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant).
213
+ * @maxLength 100
214
+ */
179
215
  cancelReason?: string | null;
180
- /** Reason provided by site owner for cancellation (if relevant). */
216
+ /**
217
+ * Reason provided by site owner for cancellation (if relevant).
218
+ * @maxLength 150
219
+ */
181
220
  userReason?: string | null;
182
- /** Cancellation type. */
221
+ /**
222
+ * Cancellation type.
223
+ * @maxLength 100
224
+ */
183
225
  subscriptionCancellationType?: string | null;
184
226
  }
185
227
  export interface GetAppInstanceRequest {
@@ -213,6 +255,7 @@ export interface SiteInfo {
213
255
  installedWixApps?: string[];
214
256
  /**
215
257
  * > **Deprecation Notice:** This parameter will be removed on June 30, 2022. Use `ownerInfo` instead.
258
+ * @format EMAIL
216
259
  * @deprecated
217
260
  */
218
261
  ownerEmail?: string | null;
@@ -254,7 +297,10 @@ export declare enum ResolutionMethod {
254
297
  SUBDIRECTORY = "SUBDIRECTORY"
255
298
  }
256
299
  export interface OwnerInfo {
257
- /** Wix user's email address. Identical to the their login email. */
300
+ /**
301
+ * Wix user's email address. Identical to the their login email.
302
+ * @format EMAIL
303
+ */
258
304
  email?: string;
259
305
  /**
260
306
  * Supported values: `VERIFIED_OPT_IN`, `VERIFIED_OPT_OUT`,
@@ -266,13 +312,22 @@ export interface OwnerInfo {
266
312
  emailStatus?: string;
267
313
  }
268
314
  export interface GetAppInstanceByInstanceIdRequest {
269
- /** ID of the app instance to retrieve. */
315
+ /**
316
+ * ID of the app instance to retrieve.
317
+ * @format GUID
318
+ */
270
319
  instanceId?: string;
271
320
  }
272
321
  export interface MessageEnvelope {
273
- /** App instance ID. */
322
+ /**
323
+ * App instance ID.
324
+ * @format GUID
325
+ */
274
326
  instanceId?: string | null;
275
- /** Event type. */
327
+ /**
328
+ * Event type.
329
+ * @maxLength 150
330
+ */
276
331
  eventType?: string;
277
332
  /** The identification type and identity data. */
278
333
  identity?: IdentificationData;
@@ -280,26 +335,50 @@ export interface MessageEnvelope {
280
335
  data?: string;
281
336
  }
282
337
  export interface IdentificationData extends IdentificationDataIdOneOf {
283
- /** ID of a site visitor that has not logged in to the site. */
338
+ /**
339
+ * ID of a site visitor that has not logged in to the site.
340
+ * @format GUID
341
+ */
284
342
  anonymousVisitorId?: string;
285
- /** ID of a site visitor that has logged in to the site. */
343
+ /**
344
+ * ID of a site visitor that has logged in to the site.
345
+ * @format GUID
346
+ */
286
347
  memberId?: string;
287
- /** ID of a Wix user (site owner, contributor, etc.). */
348
+ /**
349
+ * ID of a Wix user (site owner, contributor, etc.).
350
+ * @format GUID
351
+ */
288
352
  wixUserId?: string;
289
- /** ID of an app. */
353
+ /**
354
+ * ID of an app.
355
+ * @format GUID
356
+ */
290
357
  appId?: string;
291
358
  /** @readonly */
292
359
  identityType?: WebhookIdentityType;
293
360
  }
294
361
  /** @oneof */
295
362
  export interface IdentificationDataIdOneOf {
296
- /** ID of a site visitor that has not logged in to the site. */
363
+ /**
364
+ * ID of a site visitor that has not logged in to the site.
365
+ * @format GUID
366
+ */
297
367
  anonymousVisitorId?: string;
298
- /** ID of a site visitor that has logged in to the site. */
368
+ /**
369
+ * ID of a site visitor that has logged in to the site.
370
+ * @format GUID
371
+ */
299
372
  memberId?: string;
300
- /** ID of a Wix user (site owner, contributor, etc.). */
373
+ /**
374
+ * ID of a Wix user (site owner, contributor, etc.).
375
+ * @format GUID
376
+ */
301
377
  wixUserId?: string;
302
- /** ID of an app. */
378
+ /**
379
+ * ID of an app.
380
+ * @format GUID
381
+ */
303
382
  appId?: string;
304
383
  }
305
384
  export declare enum WebhookIdentityType {
@@ -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;AA2ID,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAwDD,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-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;AAsLD,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"}
@@ -129,57 +129,99 @@ export interface AvailablePlan {
129
129
  source?: string;
130
130
  }
131
131
  export interface AppInstalled {
132
- /** Unique identifier of the app within the website. */
132
+ /**
133
+ * Unique identifier of the app within the website.
134
+ * @format GUID
135
+ */
133
136
  appId?: string;
134
- /** Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)). */
137
+ /**
138
+ * Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)).
139
+ * @format GUID
140
+ */
135
141
  originInstanceId?: string | null;
136
142
  }
137
143
  export interface AppRemoved {
138
- /** Unique identifier of the app within the website. */
144
+ /**
145
+ * Unique identifier of the app within the website.
146
+ * @format GUID
147
+ */
139
148
  appId?: string;
140
149
  }
141
150
  export interface PaidPlanPurchased {
142
151
  /** Date and time of purchase. */
143
152
  operationTimeStamp?: Date | null;
144
- /** Purchased app plan. */
153
+ /**
154
+ * Purchased app plan.
155
+ * @maxLength 100
156
+ */
145
157
  vendorProductId?: string;
146
158
  /** Selected payment cycle. */
147
159
  cycle?: PaymentCycle;
148
160
  /** Plan expiration date. */
149
161
  expiresOn?: Date | null;
150
- /** Coupon applied to purchase (if relevant). */
162
+ /**
163
+ * Coupon applied to purchase (if relevant).
164
+ * @maxLength 150
165
+ */
151
166
  couponName?: string | null;
152
- /** Invoice ID. */
167
+ /**
168
+ * Invoice ID.
169
+ * @maxLength 50
170
+ */
153
171
  invoiceId?: string | null;
154
172
  }
155
173
  export interface PaidPlanChanged {
156
174
  /** Date and time of change. */
157
175
  operationTimeStamp?: Date | null;
158
- /** Newly purchased app plan. */
176
+ /**
177
+ * Newly purchased app plan.
178
+ * @maxLength 100
179
+ */
159
180
  vendorProductId?: string;
160
181
  /** Newly selected payment cycle. */
161
182
  cycle?: PaymentCycle;
162
- /** Previous app plan. */
183
+ /**
184
+ * Previous app plan.
185
+ * @maxLength 100
186
+ */
163
187
  previousVendorProductId?: string | null;
164
188
  /** Previous payment cycle. */
165
189
  previousCycle?: PaymentCycle;
166
- /** Coupon applied to purchase (if relevant). */
190
+ /**
191
+ * Coupon applied to purchase (if relevant).
192
+ * @maxLength 150
193
+ */
167
194
  couponName?: string | null;
168
- /** Invoice ID. */
195
+ /**
196
+ * Invoice ID.
197
+ * @maxLength 50
198
+ */
169
199
  invoiceId?: string | null;
170
200
  }
171
201
  export interface PaidPlanAutoRenewalCancelled {
172
202
  /** Date and time of auto-renewal cancellation. */
173
203
  operationTimeStamp?: Date | null;
174
- /** Current app plan. */
204
+ /**
205
+ * Current app plan.
206
+ * @maxLength 100
207
+ */
175
208
  vendorProductId?: string;
176
209
  /** Current payment cycle. */
177
210
  cycle?: PaymentCycle;
178
- /** Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant). */
211
+ /**
212
+ * Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant).
213
+ * @maxLength 100
214
+ */
179
215
  cancelReason?: string | null;
180
- /** Reason provided by site owner for cancellation (if relevant). */
216
+ /**
217
+ * Reason provided by site owner for cancellation (if relevant).
218
+ * @maxLength 150
219
+ */
181
220
  userReason?: string | null;
182
- /** Cancellation type. */
221
+ /**
222
+ * Cancellation type.
223
+ * @maxLength 100
224
+ */
183
225
  subscriptionCancellationType?: string | null;
184
226
  }
185
227
  export interface GetAppInstanceRequest {
@@ -213,6 +255,7 @@ export interface SiteInfo {
213
255
  installedWixApps?: string[];
214
256
  /**
215
257
  * > **Deprecation Notice:** This parameter will be removed on June 30, 2022. Use `ownerInfo` instead.
258
+ * @format EMAIL
216
259
  * @deprecated
217
260
  */
218
261
  ownerEmail?: string | null;
@@ -254,7 +297,10 @@ export declare enum ResolutionMethod {
254
297
  SUBDIRECTORY = "SUBDIRECTORY"
255
298
  }
256
299
  export interface OwnerInfo {
257
- /** Wix user's email address. Identical to the their login email. */
300
+ /**
301
+ * Wix user's email address. Identical to the their login email.
302
+ * @format EMAIL
303
+ */
258
304
  email?: string;
259
305
  /**
260
306
  * Supported values: `VERIFIED_OPT_IN`, `VERIFIED_OPT_OUT`,
@@ -266,13 +312,22 @@ export interface OwnerInfo {
266
312
  emailStatus?: string;
267
313
  }
268
314
  export interface GetAppInstanceByInstanceIdRequest {
269
- /** ID of the app instance to retrieve. */
315
+ /**
316
+ * ID of the app instance to retrieve.
317
+ * @format GUID
318
+ */
270
319
  instanceId?: string;
271
320
  }
272
321
  export interface MessageEnvelope {
273
- /** App instance ID. */
322
+ /**
323
+ * App instance ID.
324
+ * @format GUID
325
+ */
274
326
  instanceId?: string | null;
275
- /** Event type. */
327
+ /**
328
+ * Event type.
329
+ * @maxLength 150
330
+ */
276
331
  eventType?: string;
277
332
  /** The identification type and identity data. */
278
333
  identity?: IdentificationData;
@@ -280,26 +335,50 @@ export interface MessageEnvelope {
280
335
  data?: string;
281
336
  }
282
337
  export interface IdentificationData extends IdentificationDataIdOneOf {
283
- /** ID of a site visitor that has not logged in to the site. */
338
+ /**
339
+ * ID of a site visitor that has not logged in to the site.
340
+ * @format GUID
341
+ */
284
342
  anonymousVisitorId?: string;
285
- /** ID of a site visitor that has logged in to the site. */
343
+ /**
344
+ * ID of a site visitor that has logged in to the site.
345
+ * @format GUID
346
+ */
286
347
  memberId?: string;
287
- /** ID of a Wix user (site owner, contributor, etc.). */
348
+ /**
349
+ * ID of a Wix user (site owner, contributor, etc.).
350
+ * @format GUID
351
+ */
288
352
  wixUserId?: string;
289
- /** ID of an app. */
353
+ /**
354
+ * ID of an app.
355
+ * @format GUID
356
+ */
290
357
  appId?: string;
291
358
  /** @readonly */
292
359
  identityType?: WebhookIdentityType;
293
360
  }
294
361
  /** @oneof */
295
362
  export interface IdentificationDataIdOneOf {
296
- /** ID of a site visitor that has not logged in to the site. */
363
+ /**
364
+ * ID of a site visitor that has not logged in to the site.
365
+ * @format GUID
366
+ */
297
367
  anonymousVisitorId?: string;
298
- /** ID of a site visitor that has logged in to the site. */
368
+ /**
369
+ * ID of a site visitor that has logged in to the site.
370
+ * @format GUID
371
+ */
299
372
  memberId?: string;
300
- /** ID of a Wix user (site owner, contributor, etc.). */
373
+ /**
374
+ * ID of a Wix user (site owner, contributor, etc.).
375
+ * @format GUID
376
+ */
301
377
  wixUserId?: string;
302
- /** ID of an app. */
378
+ /**
379
+ * ID of an app.
380
+ * @format GUID
381
+ */
303
382
  appId?: string;
304
383
  }
305
384
  export declare enum WebhookIdentityType {
@@ -365,9 +444,15 @@ export interface GetAppInstanceResponseNonNullableFields {
365
444
  site?: SiteInfoNonNullableFields;
366
445
  }
367
446
  export interface BaseEventMetadata {
368
- /** App instance ID. */
447
+ /**
448
+ * App instance ID.
449
+ * @format GUID
450
+ */
369
451
  instanceId?: string | null;
370
- /** Event type. */
452
+ /**
453
+ * Event type.
454
+ * @maxLength 150
455
+ */
371
456
  eventType?: string;
372
457
  /** The identification type and identity data. */
373
458
  identity?: IdentificationData;
@@ -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;AA2ID,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAwDD,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;AAgKD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,cAAc;IAGlC,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;AAlCD,wCAkCC"}
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;AAsLD,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;AAsKD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,cAAc;IAGlC,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;AAlCD,wCAkCC"}
@@ -129,57 +129,99 @@ export interface AvailablePlan {
129
129
  source?: string;
130
130
  }
131
131
  export interface AppInstalled {
132
- /** Unique identifier of the app within the website. */
132
+ /**
133
+ * Unique identifier of the app within the website.
134
+ * @format GUID
135
+ */
133
136
  appId?: string;
134
- /** Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)). */
137
+ /**
138
+ * Instance ID of the app in the original website (relevant only when this site was [duplicated from another site](https://support.wix.com/en/article/duplicating-your-site-1472847)).
139
+ * @format GUID
140
+ */
135
141
  originInstanceId?: string | null;
136
142
  }
137
143
  export interface AppRemoved {
138
- /** Unique identifier of the app within the website. */
144
+ /**
145
+ * Unique identifier of the app within the website.
146
+ * @format GUID
147
+ */
139
148
  appId?: string;
140
149
  }
141
150
  export interface PaidPlanPurchased {
142
151
  /** Date and time of purchase. */
143
152
  operationTimeStamp?: Date | null;
144
- /** Purchased app plan. */
153
+ /**
154
+ * Purchased app plan.
155
+ * @maxLength 100
156
+ */
145
157
  vendorProductId?: string;
146
158
  /** Selected payment cycle. */
147
159
  cycle?: PaymentCycle;
148
160
  /** Plan expiration date. */
149
161
  expiresOn?: Date | null;
150
- /** Coupon applied to purchase (if relevant). */
162
+ /**
163
+ * Coupon applied to purchase (if relevant).
164
+ * @maxLength 150
165
+ */
151
166
  couponName?: string | null;
152
- /** Invoice ID. */
167
+ /**
168
+ * Invoice ID.
169
+ * @maxLength 50
170
+ */
153
171
  invoiceId?: string | null;
154
172
  }
155
173
  export interface PaidPlanChanged {
156
174
  /** Date and time of change. */
157
175
  operationTimeStamp?: Date | null;
158
- /** Newly purchased app plan. */
176
+ /**
177
+ * Newly purchased app plan.
178
+ * @maxLength 100
179
+ */
159
180
  vendorProductId?: string;
160
181
  /** Newly selected payment cycle. */
161
182
  cycle?: PaymentCycle;
162
- /** Previous app plan. */
183
+ /**
184
+ * Previous app plan.
185
+ * @maxLength 100
186
+ */
163
187
  previousVendorProductId?: string | null;
164
188
  /** Previous payment cycle. */
165
189
  previousCycle?: PaymentCycle;
166
- /** Coupon applied to purchase (if relevant). */
190
+ /**
191
+ * Coupon applied to purchase (if relevant).
192
+ * @maxLength 150
193
+ */
167
194
  couponName?: string | null;
168
- /** Invoice ID. */
195
+ /**
196
+ * Invoice ID.
197
+ * @maxLength 50
198
+ */
169
199
  invoiceId?: string | null;
170
200
  }
171
201
  export interface PaidPlanAutoRenewalCancelled {
172
202
  /** Date and time of auto-renewal cancellation. */
173
203
  operationTimeStamp?: Date | null;
174
- /** Current app plan. */
204
+ /**
205
+ * Current app plan.
206
+ * @maxLength 100
207
+ */
175
208
  vendorProductId?: string;
176
209
  /** Current payment cycle. */
177
210
  cycle?: PaymentCycle;
178
- /** Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant). */
211
+ /**
212
+ * Supported values: `UNKNOWN_CANCELLATION_TYPE_ERROR_STATE`, `USER_CANCEL`, `FAILED_PAYMENT`, `TRANSFER_CANCELLATION_REASON`. Reason provided by app for cancellation (if relevant).
213
+ * @maxLength 100
214
+ */
179
215
  cancelReason?: string | null;
180
- /** Reason provided by site owner for cancellation (if relevant). */
216
+ /**
217
+ * Reason provided by site owner for cancellation (if relevant).
218
+ * @maxLength 150
219
+ */
181
220
  userReason?: string | null;
182
- /** Cancellation type. */
221
+ /**
222
+ * Cancellation type.
223
+ * @maxLength 100
224
+ */
183
225
  subscriptionCancellationType?: string | null;
184
226
  }
185
227
  export interface GetAppInstanceRequest {
@@ -213,6 +255,7 @@ export interface SiteInfo {
213
255
  installedWixApps?: string[];
214
256
  /**
215
257
  * > **Deprecation Notice:** This parameter will be removed on June 30, 2022. Use `ownerInfo` instead.
258
+ * @format EMAIL
216
259
  * @deprecated
217
260
  */
218
261
  ownerEmail?: string | null;
@@ -254,7 +297,10 @@ export declare enum ResolutionMethod {
254
297
  SUBDIRECTORY = "SUBDIRECTORY"
255
298
  }
256
299
  export interface OwnerInfo {
257
- /** Wix user's email address. Identical to the their login email. */
300
+ /**
301
+ * Wix user's email address. Identical to the their login email.
302
+ * @format EMAIL
303
+ */
258
304
  email?: string;
259
305
  /**
260
306
  * Supported values: `VERIFIED_OPT_IN`, `VERIFIED_OPT_OUT`,
@@ -266,13 +312,22 @@ export interface OwnerInfo {
266
312
  emailStatus?: string;
267
313
  }
268
314
  export interface GetAppInstanceByInstanceIdRequest {
269
- /** ID of the app instance to retrieve. */
315
+ /**
316
+ * ID of the app instance to retrieve.
317
+ * @format GUID
318
+ */
270
319
  instanceId?: string;
271
320
  }
272
321
  export interface MessageEnvelope {
273
- /** App instance ID. */
322
+ /**
323
+ * App instance ID.
324
+ * @format GUID
325
+ */
274
326
  instanceId?: string | null;
275
- /** Event type. */
327
+ /**
328
+ * Event type.
329
+ * @maxLength 150
330
+ */
276
331
  eventType?: string;
277
332
  /** The identification type and identity data. */
278
333
  identity?: IdentificationData;
@@ -280,26 +335,50 @@ export interface MessageEnvelope {
280
335
  data?: string;
281
336
  }
282
337
  export interface IdentificationData extends IdentificationDataIdOneOf {
283
- /** ID of a site visitor that has not logged in to the site. */
338
+ /**
339
+ * ID of a site visitor that has not logged in to the site.
340
+ * @format GUID
341
+ */
284
342
  anonymousVisitorId?: string;
285
- /** ID of a site visitor that has logged in to the site. */
343
+ /**
344
+ * ID of a site visitor that has logged in to the site.
345
+ * @format GUID
346
+ */
286
347
  memberId?: string;
287
- /** ID of a Wix user (site owner, contributor, etc.). */
348
+ /**
349
+ * ID of a Wix user (site owner, contributor, etc.).
350
+ * @format GUID
351
+ */
288
352
  wixUserId?: string;
289
- /** ID of an app. */
353
+ /**
354
+ * ID of an app.
355
+ * @format GUID
356
+ */
290
357
  appId?: string;
291
358
  /** @readonly */
292
359
  identityType?: WebhookIdentityType;
293
360
  }
294
361
  /** @oneof */
295
362
  export interface IdentificationDataIdOneOf {
296
- /** ID of a site visitor that has not logged in to the site. */
363
+ /**
364
+ * ID of a site visitor that has not logged in to the site.
365
+ * @format GUID
366
+ */
297
367
  anonymousVisitorId?: string;
298
- /** ID of a site visitor that has logged in to the site. */
368
+ /**
369
+ * ID of a site visitor that has logged in to the site.
370
+ * @format GUID
371
+ */
299
372
  memberId?: string;
300
- /** ID of a Wix user (site owner, contributor, etc.). */
373
+ /**
374
+ * ID of a Wix user (site owner, contributor, etc.).
375
+ * @format GUID
376
+ */
301
377
  wixUserId?: string;
302
- /** ID of an app. */
378
+ /**
379
+ * ID of an app.
380
+ * @format GUID
381
+ */
303
382
  appId?: string;
304
383
  }
305
384
  export declare enum WebhookIdentityType {