@wix/app-management 1.0.21 → 1.0.23

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.
@@ -199,33 +199,39 @@ declare enum TaxType$1 {
199
199
  VAT = "VAT",
200
200
  GST = "GST"
201
201
  }
202
+ interface TaxSettingsNonNullableFields$1 {
203
+ showPriceWithTax: boolean;
204
+ taxType: TaxType$1;
205
+ }
206
+ interface DurationNonNullableFields$1 {
207
+ unit: DurationUnit$1;
208
+ count: number;
209
+ }
210
+ interface CycleNonNullableFields$1 {
211
+ cycleType: CycleType$1;
212
+ cycleDuration?: DurationNonNullableFields$1;
213
+ }
214
+ interface PriceNonNullableFields$1 {
215
+ priceBeforeTax: string;
216
+ totalPrice: string;
217
+ billingCycle?: CycleNonNullableFields$1;
218
+ }
219
+ interface PlanNonNullableFields$1 {
220
+ id: string;
221
+ vendorId: string;
222
+ name: string;
223
+ benefits: string[];
224
+ prices: PriceNonNullableFields$1[];
225
+ }
226
+ interface AppPlansNonNullableFields$1 {
227
+ id: string;
228
+ plans: PlanNonNullableFields$1[];
229
+ }
202
230
  interface ListAppPlansByAppIdResponseNonNullableFields$1 {
203
- taxSettings?: {
204
- showPriceWithTax: boolean;
205
- taxType: TaxType$1;
206
- };
231
+ taxSettings?: TaxSettingsNonNullableFields$1;
207
232
  currency: string;
208
233
  currencySymbol: string;
209
- appPlans: {
210
- id: string;
211
- plans: {
212
- id: string;
213
- vendorId: string;
214
- name: string;
215
- benefits: string[];
216
- prices: {
217
- priceBeforeTax: string;
218
- totalPrice: string;
219
- billingCycle?: {
220
- cycleType: CycleType$1;
221
- cycleDuration?: {
222
- unit: DurationUnit$1;
223
- count: number;
224
- };
225
- };
226
- }[];
227
- }[];
228
- }[];
234
+ appPlans: AppPlansNonNullableFields$1[];
229
235
  }
230
236
 
231
237
  /**
@@ -429,33 +435,39 @@ declare enum TaxType {
429
435
  VAT = "VAT",
430
436
  GST = "GST"
431
437
  }
438
+ interface TaxSettingsNonNullableFields {
439
+ showPriceWithTax: boolean;
440
+ taxType: TaxType;
441
+ }
442
+ interface DurationNonNullableFields {
443
+ unit: DurationUnit;
444
+ count: number;
445
+ }
446
+ interface CycleNonNullableFields {
447
+ cycleType: CycleType;
448
+ cycleDuration?: DurationNonNullableFields;
449
+ }
450
+ interface PriceNonNullableFields {
451
+ priceBeforeTax: string;
452
+ totalPrice: string;
453
+ billingCycle?: CycleNonNullableFields;
454
+ }
455
+ interface PlanNonNullableFields {
456
+ _id: string;
457
+ vendorId: string;
458
+ name: string;
459
+ benefits: string[];
460
+ prices: PriceNonNullableFields[];
461
+ }
462
+ interface AppPlansNonNullableFields {
463
+ _id: string;
464
+ plans: PlanNonNullableFields[];
465
+ }
432
466
  interface ListAppPlansByAppIdResponseNonNullableFields {
433
- taxSettings?: {
434
- showPriceWithTax: boolean;
435
- taxType: TaxType;
436
- };
467
+ taxSettings?: TaxSettingsNonNullableFields;
437
468
  currency: string;
438
469
  currencySymbol: string;
439
- appPlans: {
440
- _id: string;
441
- plans: {
442
- _id: string;
443
- vendorId: string;
444
- name: string;
445
- benefits: string[];
446
- prices: {
447
- priceBeforeTax: string;
448
- totalPrice: string;
449
- billingCycle?: {
450
- cycleType: CycleType;
451
- cycleDuration?: {
452
- unit: DurationUnit;
453
- count: number;
454
- };
455
- };
456
- }[];
457
- }[];
458
- }[];
470
+ appPlans: AppPlansNonNullableFields[];
459
471
  }
460
472
 
461
473
  type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -699,51 +711,60 @@ interface OwnerInfo$1 {
699
711
  */
700
712
  emailStatus?: string;
701
713
  }
714
+ interface FreeTrialInfoNonNullableFields$1 {
715
+ status: FreeTrialStatus$1;
716
+ }
717
+ interface BillingInfoNonNullableFields$1 {
718
+ packageName: string;
719
+ billingCycle: PaymentCycle$3;
720
+ timeStamp: string;
721
+ freeTrialInfo?: FreeTrialInfoNonNullableFields$1;
722
+ }
723
+ interface AvailablePlanNonNullableFields$1 {
724
+ packageName: string;
725
+ source: string;
726
+ }
727
+ interface AppInstanceNonNullableFields$1 {
728
+ instanceId: string;
729
+ appName: string;
730
+ isFree: boolean;
731
+ billing?: BillingInfoNonNullableFields$1;
732
+ permissions: string[];
733
+ availablePlans: AvailablePlanNonNullableFields$1[];
734
+ isOriginSiteTemplate: boolean;
735
+ copiedFromTemplate: boolean;
736
+ freeTrialAvailable: boolean;
737
+ }
738
+ interface LocaleNonNullableFields$1 {
739
+ languageCode: string;
740
+ country: string;
741
+ }
742
+ interface SupportedLanguageNonNullableFields$1 {
743
+ languageCode: string;
744
+ locale?: LocaleNonNullableFields$1;
745
+ isPrimary: boolean;
746
+ countryCode: string;
747
+ resolutionMethod: ResolutionMethod$1;
748
+ }
749
+ interface MultilingualNonNullableFields$1 {
750
+ isMultiLingual: boolean;
751
+ supportedLanguages: SupportedLanguageNonNullableFields$1[];
752
+ }
753
+ interface OwnerInfoNonNullableFields$1 {
754
+ email: string;
755
+ emailStatus: string;
756
+ }
757
+ interface SiteInfoNonNullableFields$1 {
758
+ locale: string;
759
+ paymentCurrency: string;
760
+ multilingual?: MultilingualNonNullableFields$1;
761
+ installedWixApps: string[];
762
+ ownerInfo?: OwnerInfoNonNullableFields$1;
763
+ siteId: string;
764
+ }
702
765
  interface GetAppInstanceResponseNonNullableFields$1 {
703
- instance?: {
704
- instanceId: string;
705
- appName: string;
706
- isFree: boolean;
707
- billing?: {
708
- packageName: string;
709
- billingCycle: PaymentCycle$3;
710
- timeStamp: string;
711
- freeTrialInfo?: {
712
- status: FreeTrialStatus$1;
713
- };
714
- };
715
- permissions: string[];
716
- availablePlans: {
717
- packageName: string;
718
- source: string;
719
- }[];
720
- isOriginSiteTemplate: boolean;
721
- copiedFromTemplate: boolean;
722
- freeTrialAvailable: boolean;
723
- };
724
- site?: {
725
- locale: string;
726
- paymentCurrency: string;
727
- multilingual?: {
728
- isMultiLingual: boolean;
729
- supportedLanguages: {
730
- languageCode: string;
731
- locale?: {
732
- languageCode: string;
733
- country: string;
734
- };
735
- isPrimary: boolean;
736
- countryCode: string;
737
- resolutionMethod: ResolutionMethod$1;
738
- }[];
739
- };
740
- installedWixApps: string[];
741
- ownerInfo?: {
742
- email: string;
743
- emailStatus: string;
744
- };
745
- siteId: string;
746
- };
766
+ instance?: AppInstanceNonNullableFields$1;
767
+ site?: SiteInfoNonNullableFields$1;
747
768
  }
748
769
 
749
770
  /**
@@ -968,51 +989,60 @@ interface OwnerInfo {
968
989
  */
969
990
  emailStatus?: string;
970
991
  }
992
+ interface FreeTrialInfoNonNullableFields {
993
+ status: FreeTrialStatus;
994
+ }
995
+ interface BillingInfoNonNullableFields {
996
+ packageName: string;
997
+ billingCycle: PaymentCycle$2;
998
+ timeStamp: string;
999
+ freeTrialInfo?: FreeTrialInfoNonNullableFields;
1000
+ }
1001
+ interface AvailablePlanNonNullableFields {
1002
+ packageName: string;
1003
+ source: string;
1004
+ }
1005
+ interface AppInstanceNonNullableFields {
1006
+ instanceId: string;
1007
+ appName: string;
1008
+ isFree: boolean;
1009
+ billing?: BillingInfoNonNullableFields;
1010
+ permissions: string[];
1011
+ availablePlans: AvailablePlanNonNullableFields[];
1012
+ isOriginSiteTemplate: boolean;
1013
+ copiedFromTemplate: boolean;
1014
+ freeTrialAvailable: boolean;
1015
+ }
1016
+ interface LocaleNonNullableFields {
1017
+ languageCode: string;
1018
+ country: string;
1019
+ }
1020
+ interface SupportedLanguageNonNullableFields {
1021
+ languageCode: string;
1022
+ locale?: LocaleNonNullableFields;
1023
+ isPrimary: boolean;
1024
+ countryCode: string;
1025
+ resolutionMethod: ResolutionMethod;
1026
+ }
1027
+ interface MultilingualNonNullableFields {
1028
+ isMultiLingual: boolean;
1029
+ supportedLanguages: SupportedLanguageNonNullableFields[];
1030
+ }
1031
+ interface OwnerInfoNonNullableFields {
1032
+ email: string;
1033
+ emailStatus: string;
1034
+ }
1035
+ interface SiteInfoNonNullableFields {
1036
+ locale: string;
1037
+ paymentCurrency: string;
1038
+ multilingual?: MultilingualNonNullableFields;
1039
+ installedWixApps: string[];
1040
+ ownerInfo?: OwnerInfoNonNullableFields;
1041
+ siteId: string;
1042
+ }
971
1043
  interface GetAppInstanceResponseNonNullableFields {
972
- instance?: {
973
- instanceId: string;
974
- appName: string;
975
- isFree: boolean;
976
- billing?: {
977
- packageName: string;
978
- billingCycle: PaymentCycle$2;
979
- timeStamp: string;
980
- freeTrialInfo?: {
981
- status: FreeTrialStatus;
982
- };
983
- };
984
- permissions: string[];
985
- availablePlans: {
986
- packageName: string;
987
- source: string;
988
- }[];
989
- isOriginSiteTemplate: boolean;
990
- copiedFromTemplate: boolean;
991
- freeTrialAvailable: boolean;
992
- };
993
- site?: {
994
- locale: string;
995
- paymentCurrency: string;
996
- multilingual?: {
997
- isMultiLingual: boolean;
998
- supportedLanguages: {
999
- languageCode: string;
1000
- locale?: {
1001
- languageCode: string;
1002
- country: string;
1003
- };
1004
- isPrimary: boolean;
1005
- countryCode: string;
1006
- resolutionMethod: ResolutionMethod;
1007
- }[];
1008
- };
1009
- installedWixApps: string[];
1010
- ownerInfo?: {
1011
- email: string;
1012
- emailStatus: string;
1013
- };
1014
- siteId: string;
1015
- };
1044
+ instance?: AppInstanceNonNullableFields;
1045
+ site?: SiteInfoNonNullableFields;
1016
1046
  }
1017
1047
 
1018
1048
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1237,13 +1267,14 @@ interface GetPurchaseHistoryResponse$1 {
1237
1267
  interface GetUrlResponseNonNullableFields$1 {
1238
1268
  checkoutUrl: string;
1239
1269
  }
1270
+ interface PurchasedItemNonNullableFields$1 {
1271
+ productId: string;
1272
+ price: string;
1273
+ currency: string;
1274
+ billingCycle: PaymentCycle$1;
1275
+ }
1240
1276
  interface GetPurchaseHistoryResponseNonNullableFields$1 {
1241
- purchases: {
1242
- productId: string;
1243
- price: string;
1244
- currency: string;
1245
- billingCycle: PaymentCycle$1;
1246
- }[];
1277
+ purchases: PurchasedItemNonNullableFields$1[];
1247
1278
  }
1248
1279
 
1249
1280
  interface PurchasedItem {
@@ -1330,13 +1361,14 @@ interface GetPurchaseHistoryResponse {
1330
1361
  interface GetUrlResponseNonNullableFields {
1331
1362
  checkoutUrl: string;
1332
1363
  }
1364
+ interface PurchasedItemNonNullableFields {
1365
+ productId: string;
1366
+ price: string;
1367
+ currency: string;
1368
+ billingCycle: PaymentCycle;
1369
+ }
1333
1370
  interface GetPurchaseHistoryResponseNonNullableFields {
1334
- purchases: {
1335
- productId: string;
1336
- price: string;
1337
- currency: string;
1338
- billingCycle: PaymentCycle;
1339
- }[];
1371
+ purchases: PurchasedItemNonNullableFields[];
1340
1372
  }
1341
1373
 
1342
1374
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1383,15 +1415,14 @@ interface GetEmbeddedScriptResponse$1 {
1383
1415
  /** Details of the retrieved embedded script. */
1384
1416
  properties?: ScriptProperties$1;
1385
1417
  }
1418
+ interface ScriptPropertiesNonNullableFields$1 {
1419
+ disabled: boolean;
1420
+ }
1386
1421
  interface EmbedScriptResponseNonNullableFields$1 {
1387
- properties?: {
1388
- disabled: boolean;
1389
- };
1422
+ properties?: ScriptPropertiesNonNullableFields$1;
1390
1423
  }
1391
1424
  interface GetEmbeddedScriptResponseNonNullableFields$1 {
1392
- properties?: {
1393
- disabled: boolean;
1394
- };
1425
+ properties?: ScriptPropertiesNonNullableFields$1;
1395
1426
  }
1396
1427
 
1397
1428
  /** Embedded script data */
@@ -1419,15 +1450,14 @@ interface GetEmbeddedScriptResponse {
1419
1450
  /** Details of the retrieved embedded script. */
1420
1451
  properties?: ScriptProperties;
1421
1452
  }
1453
+ interface ScriptPropertiesNonNullableFields {
1454
+ disabled: boolean;
1455
+ }
1422
1456
  interface EmbedScriptResponseNonNullableFields {
1423
- properties?: {
1424
- disabled: boolean;
1425
- };
1457
+ properties?: ScriptPropertiesNonNullableFields;
1426
1458
  }
1427
1459
  interface GetEmbeddedScriptResponseNonNullableFields {
1428
- properties?: {
1429
- disabled: boolean;
1430
- };
1460
+ properties?: ScriptPropertiesNonNullableFields;
1431
1461
  }
1432
1462
 
1433
1463
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {