mailmeteor 0.0.27 → 0.0.28

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/dist/index.d.ts CHANGED
@@ -447,7 +447,7 @@ type UserIdResponse200 = {
447
447
  discount_percentage?: number | null;
448
448
  name: string | null;
449
449
  billing_period: 'day' | 'week' | 'month' | 'year' | null;
450
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
450
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business' | null;
451
451
  default_payment_method: {
452
452
  type: string;
453
453
  brand?: string | null;
@@ -465,7 +465,7 @@ type UserIdResponse200 = {
465
465
  };
466
466
  };
467
467
  pending_plan_change: {
468
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
468
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
469
469
  billing_period: 'month' | 'year';
470
470
  scheduled_at: number;
471
471
  } | null;
@@ -595,7 +595,7 @@ type SubscriptionResponse200 = {
595
595
  failure_code?: string;
596
596
  };
597
597
  type SubscriptionBody = {
598
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
598
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
599
599
  billing_period: 'month' | 'year';
600
600
  };
601
601
  type PreviewBody = {
@@ -904,11 +904,15 @@ type PricesResponse200 = {
904
904
  month: number;
905
905
  year: number;
906
906
  };
907
+ premium?: {
908
+ month: number;
909
+ year: number;
910
+ };
907
911
  pro?: {
908
912
  month: number;
909
913
  year: number;
910
914
  };
911
- premium?: {
915
+ max?: {
912
916
  month: number;
913
917
  year: number;
914
918
  };
@@ -1060,7 +1064,7 @@ type IntegrationIdResponse200 = {
1060
1064
  object: 'integration';
1061
1065
  accounts: Array<{
1062
1066
  id: string;
1063
- email: string;
1067
+ email?: string;
1064
1068
  permissions: Array<string>;
1065
1069
  }>;
1066
1070
  };
@@ -1206,7 +1210,7 @@ type UsersRetrieveResponses = {
1206
1210
  discount_percentage?: number | null;
1207
1211
  name: string | null;
1208
1212
  billing_period: 'day' | 'week' | 'month' | 'year' | null;
1209
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
1213
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business' | null;
1210
1214
  default_payment_method: {
1211
1215
  type: string;
1212
1216
  brand?: string | null;
@@ -1224,7 +1228,7 @@ type UsersRetrieveResponses = {
1224
1228
  };
1225
1229
  };
1226
1230
  pending_plan_change: {
1227
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1231
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
1228
1232
  billing_period: 'month' | 'year';
1229
1233
  scheduled_at: number;
1230
1234
  } | null;
@@ -1644,7 +1648,7 @@ type BillingSubscriptionGetResponses = {
1644
1648
  discount_percentage?: number | null;
1645
1649
  name: string | null;
1646
1650
  billing_period: 'day' | 'week' | 'month' | 'year' | null;
1647
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
1651
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business' | null;
1648
1652
  default_payment_method: {
1649
1653
  type: string;
1650
1654
  brand?: string | null;
@@ -1662,7 +1666,7 @@ type BillingSubscriptionGetResponses = {
1662
1666
  };
1663
1667
  };
1664
1668
  pending_plan_change: {
1665
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1669
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
1666
1670
  billing_period: 'month' | 'year';
1667
1671
  scheduled_at: number;
1668
1672
  } | null;
@@ -1671,7 +1675,7 @@ type BillingSubscriptionGetResponses = {
1671
1675
  type BillingSubscriptionGetResponse = BillingSubscriptionGetResponses[keyof BillingSubscriptionGetResponses];
1672
1676
  type BillingSubscriptionUpdateData = {
1673
1677
  body: {
1674
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1678
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
1675
1679
  billing_period: 'month' | 'year';
1676
1680
  };
1677
1681
  path?: never;
@@ -1698,7 +1702,7 @@ type BillingSubscriptionUpdateResponses = {
1698
1702
  type BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateResponses[keyof BillingSubscriptionUpdateResponses];
1699
1703
  type BillingSubscriptionPreviewUpdateData = {
1700
1704
  body: {
1701
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1705
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
1702
1706
  billing_period: 'month' | 'year';
1703
1707
  };
1704
1708
  path?: never;
@@ -1728,7 +1732,7 @@ type BillingSubscriptionPreviewUpdateResponses = {
1728
1732
  amount: number;
1729
1733
  billing_period: 'day' | 'week' | 'month' | 'year';
1730
1734
  proration: boolean;
1731
- plan?: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1735
+ plan?: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
1732
1736
  addon?: 'senders' | 'email_warmups';
1733
1737
  }>;
1734
1738
  next_renewal: number;
@@ -2513,11 +2517,15 @@ type BillingGetPricesResponses = {
2513
2517
  month: number;
2514
2518
  year: number;
2515
2519
  };
2520
+ premium?: {
2521
+ month: number;
2522
+ year: number;
2523
+ };
2516
2524
  pro?: {
2517
2525
  month: number;
2518
2526
  year: number;
2519
2527
  };
2520
- premium?: {
2528
+ max?: {
2521
2529
  month: number;
2522
2530
  year: number;
2523
2531
  };
@@ -2741,7 +2749,7 @@ type IntegrationsRetrieveResponses = {
2741
2749
  object: 'integration';
2742
2750
  accounts: Array<{
2743
2751
  id: string;
2744
- email: string;
2752
+ email?: string;
2745
2753
  permissions: Array<string>;
2746
2754
  }>;
2747
2755
  };
@@ -3109,11 +3117,11 @@ declare class Organizations extends HeyApiClient {
3109
3117
  declare class BillingSubscription extends HeyApiClient {
3110
3118
  get<ThrowOnError extends boolean = true>(options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionGetResponses, BillingSubscriptionGetErrors, ThrowOnError, "data">;
3111
3119
  update<ThrowOnError extends boolean = true>(parameters: {
3112
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
3120
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
3113
3121
  billing_period: 'month' | 'year';
3114
3122
  }, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionUpdateResponses, BillingSubscriptionUpdateErrors, ThrowOnError, "data">;
3115
3123
  previewUpdate<ThrowOnError extends boolean = true>(parameters: {
3116
- plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
3124
+ plan: 'free' | 'starter' | 'premium' | 'pro' | 'max' | 'business';
3117
3125
  billing_period: 'month' | 'year';
3118
3126
  }, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionPreviewUpdateResponses, BillingSubscriptionPreviewUpdateErrors, ThrowOnError, "data">;
3119
3127
  }