mailmeteor 0.0.25 → 0.0.27

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
@@ -311,7 +311,7 @@ type ClientOptions = {
311
311
  type ErrorResponse = {
312
312
  error: {
313
313
  status: number;
314
- code?: 'url_invalid' | 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'admin_role_required' | 'TEST_ERROR';
314
+ code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
315
315
  message: string;
316
316
  type?: string;
317
317
  details?: {
@@ -319,7 +319,7 @@ type ErrorResponse = {
319
319
  };
320
320
  };
321
321
  message: string;
322
- code?: 'url_invalid' | 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'admin_role_required' | 'TEST_ERROR';
322
+ code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
323
323
  };
324
324
  type UserIdQuery = {
325
325
  expand?: Array<'billing' | 'billing.subscription'>;
@@ -355,6 +355,8 @@ type UserIdResponse200 = {
355
355
  update_date?: number;
356
356
  scope?: string;
357
357
  api_domain?: string;
358
+ email?: string;
359
+ service?: string;
358
360
  };
359
361
  microsoft?: {
360
362
  access_token?: string;
@@ -364,6 +366,8 @@ type UserIdResponse200 = {
364
366
  update_date?: number;
365
367
  scope?: string;
366
368
  api_domain?: string;
369
+ email?: string;
370
+ service?: string;
367
371
  };
368
372
  zoho?: {
369
373
  access_token?: string;
@@ -373,10 +377,57 @@ type UserIdResponse200 = {
373
377
  update_date?: number;
374
378
  scope?: string;
375
379
  api_domain?: string;
380
+ email?: string;
381
+ service?: string;
376
382
  };
377
383
  sendgrid?: {
378
- api_key?: string;
384
+ api_key: string;
379
385
  };
386
+ [key: string]: {
387
+ access_token?: string;
388
+ refresh_token?: string;
389
+ expiry_date?: number;
390
+ expires_in?: number;
391
+ update_date?: number;
392
+ scope?: string;
393
+ api_domain?: string;
394
+ email?: string;
395
+ service?: string;
396
+ } | {
397
+ api_key: string;
398
+ } | {
399
+ access_token?: string;
400
+ refresh_token?: string;
401
+ expiry_date?: number;
402
+ expires_in?: number;
403
+ update_date?: number;
404
+ scope?: string;
405
+ api_domain?: string;
406
+ email?: string;
407
+ service?: string;
408
+ } | {
409
+ access_token?: string;
410
+ refresh_token?: string;
411
+ expiry_date?: number;
412
+ expires_in?: number;
413
+ update_date?: number;
414
+ scope?: string;
415
+ api_domain?: string;
416
+ email?: string;
417
+ service?: string;
418
+ } | {
419
+ access_token?: string;
420
+ refresh_token?: string;
421
+ expiry_date?: number;
422
+ expires_in?: number;
423
+ update_date?: number;
424
+ scope?: string;
425
+ api_domain?: string;
426
+ email?: string;
427
+ service?: string;
428
+ } | {
429
+ api_key: string;
430
+ } | undefined;
380
431
  };
381
432
  billing?: {
382
433
  customer?: string | null;
@@ -413,6 +464,11 @@ type UserIdResponse200 = {
413
464
  quantity: number;
414
465
  };
415
466
  };
467
+ pending_plan_change: {
468
+ plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
469
+ billing_period: 'month' | 'year';
470
+ scheduled_at: number;
471
+ } | null;
416
472
  } | null;
417
473
  };
418
474
  };
@@ -554,14 +610,6 @@ type PreviewResponse200 = {
554
610
  consumed_balance: number;
555
611
  credited_to_balance: number;
556
612
  };
557
- type CheckoutBody = {
558
- price_id: string;
559
- coupon?: string;
560
- currency?: 'usd' | 'eur' | 'inr';
561
- };
562
- type CheckoutResponse200 = {
563
- url: string;
564
- };
565
613
  type ContactListsBody = {
566
614
  owner: string;
567
615
  name: string;
@@ -1003,6 +1051,19 @@ type UpdateResponse200 = {
1003
1051
  client_secret?: string;
1004
1052
  failure_code?: string;
1005
1053
  };
1054
+ type IntegrationIdParams = {
1055
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
1056
+ };
1057
+ type IntegrationIdResponse200 = {
1058
+ id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
1059
+ service: 'google' | 'microsoft' | 'zoho';
1060
+ object: 'integration';
1061
+ accounts: Array<{
1062
+ id: string;
1063
+ email: string;
1064
+ permissions: Array<string>;
1065
+ }>;
1066
+ };
1006
1067
  type OpenapiJsonResponse200 = unknown;
1007
1068
  type UsersRetrieveData = {
1008
1069
  body?: never;
@@ -1053,6 +1114,8 @@ type UsersRetrieveResponses = {
1053
1114
  update_date?: number;
1054
1115
  scope?: string;
1055
1116
  api_domain?: string;
1117
+ email?: string;
1118
+ service?: string;
1056
1119
  };
1057
1120
  microsoft?: {
1058
1121
  access_token?: string;
@@ -1062,6 +1125,8 @@ type UsersRetrieveResponses = {
1062
1125
  update_date?: number;
1063
1126
  scope?: string;
1064
1127
  api_domain?: string;
1128
+ email?: string;
1129
+ service?: string;
1065
1130
  };
1066
1131
  zoho?: {
1067
1132
  access_token?: string;
@@ -1071,10 +1136,57 @@ type UsersRetrieveResponses = {
1071
1136
  update_date?: number;
1072
1137
  scope?: string;
1073
1138
  api_domain?: string;
1139
+ email?: string;
1140
+ service?: string;
1074
1141
  };
1075
1142
  sendgrid?: {
1076
- api_key?: string;
1143
+ api_key: string;
1077
1144
  };
1145
+ [key: string]: {
1146
+ access_token?: string;
1147
+ refresh_token?: string;
1148
+ expiry_date?: number;
1149
+ expires_in?: number;
1150
+ update_date?: number;
1151
+ scope?: string;
1152
+ api_domain?: string;
1153
+ email?: string;
1154
+ service?: string;
1155
+ } | {
1156
+ api_key: string;
1157
+ } | {
1158
+ access_token?: string;
1159
+ refresh_token?: string;
1160
+ expiry_date?: number;
1161
+ expires_in?: number;
1162
+ update_date?: number;
1163
+ scope?: string;
1164
+ api_domain?: string;
1165
+ email?: string;
1166
+ service?: string;
1167
+ } | {
1168
+ access_token?: string;
1169
+ refresh_token?: string;
1170
+ expiry_date?: number;
1171
+ expires_in?: number;
1172
+ update_date?: number;
1173
+ scope?: string;
1174
+ api_domain?: string;
1175
+ email?: string;
1176
+ service?: string;
1177
+ } | {
1178
+ access_token?: string;
1179
+ refresh_token?: string;
1180
+ expiry_date?: number;
1181
+ expires_in?: number;
1182
+ update_date?: number;
1183
+ scope?: string;
1184
+ api_domain?: string;
1185
+ email?: string;
1186
+ service?: string;
1187
+ } | {
1188
+ api_key: string;
1189
+ } | undefined;
1078
1190
  };
1079
1191
  billing?: {
1080
1192
  customer?: string | null;
@@ -1111,6 +1223,11 @@ type UsersRetrieveResponses = {
1111
1223
  quantity: number;
1112
1224
  };
1113
1225
  };
1226
+ pending_plan_change: {
1227
+ plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1228
+ billing_period: 'month' | 'year';
1229
+ scheduled_at: number;
1230
+ } | null;
1114
1231
  } | null;
1115
1232
  };
1116
1233
  };
@@ -1544,6 +1661,11 @@ type BillingSubscriptionGetResponses = {
1544
1661
  quantity: number;
1545
1662
  };
1546
1663
  };
1664
+ pending_plan_change: {
1665
+ plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
1666
+ billing_period: 'month' | 'year';
1667
+ scheduled_at: number;
1668
+ } | null;
1547
1669
  } | null;
1548
1670
  };
1549
1671
  type BillingSubscriptionGetResponse = BillingSubscriptionGetResponses[keyof BillingSubscriptionGetResponses];
@@ -1616,32 +1738,6 @@ type BillingSubscriptionPreviewUpdateResponses = {
1616
1738
  };
1617
1739
  };
1618
1740
  type BillingSubscriptionPreviewUpdateResponse = BillingSubscriptionPreviewUpdateResponses[keyof BillingSubscriptionPreviewUpdateResponses];
1619
- type BillingSubscriptionCheckoutData = {
1620
- body: {
1621
- price_id: string;
1622
- coupon?: string;
1623
- currency?: 'usd' | 'eur' | 'inr';
1624
- };
1625
- path?: never;
1626
- query?: never;
1627
- url: '/billing/subscription/checkout';
1628
- };
1629
- type BillingSubscriptionCheckoutErrors = {
1630
- /**
1631
- * Error response
1632
- */
1633
- default: ErrorResponse;
1634
- };
1635
- type BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutErrors[keyof BillingSubscriptionCheckoutErrors];
1636
- type BillingSubscriptionCheckoutResponses = {
1637
- /**
1638
- * Response
1639
- */
1640
- 200: {
1641
- url: string;
1642
- };
1643
- };
1644
- type BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponses[keyof BillingSubscriptionCheckoutResponses];
1645
1741
  type ContactListsCreateData = {
1646
1742
  body: {
1647
1743
  owner: string;
@@ -2620,6 +2716,37 @@ type BillingProductsUpdateResponses = {
2620
2716
  };
2621
2717
  };
2622
2718
  type BillingProductsUpdateResponse = BillingProductsUpdateResponses[keyof BillingProductsUpdateResponses];
2719
+ type IntegrationsRetrieveData = {
2720
+ body?: never;
2721
+ path: {
2722
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
2723
+ };
2724
+ query?: never;
2725
+ url: '/integrations/{integration_id}';
2726
+ };
2727
+ type IntegrationsRetrieveErrors = {
2728
+ /**
2729
+ * Error response
2730
+ */
2731
+ default: ErrorResponse;
2732
+ };
2733
+ type IntegrationsRetrieveError = IntegrationsRetrieveErrors[keyof IntegrationsRetrieveErrors];
2734
+ type IntegrationsRetrieveResponses = {
2735
+ /**
2736
+ * Response
2737
+ */
2738
+ 200: {
2739
+ id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
2740
+ service: 'google' | 'microsoft' | 'zoho';
2741
+ object: 'integration';
2742
+ accounts: Array<{
2743
+ id: string;
2744
+ email: string;
2745
+ permissions: Array<string>;
2746
+ }>;
2747
+ };
2748
+ };
2749
+ type IntegrationsRetrieveResponse = IntegrationsRetrieveResponses[keyof IntegrationsRetrieveResponses];
2623
2750
  type GetOpenapiJsonData = {
2624
2751
  body?: never;
2625
2752
  path?: never;
@@ -2690,11 +2817,6 @@ type types_gen_d_BillingProductsUpdateError = BillingProductsUpdateError;
2690
2817
  type types_gen_d_BillingProductsUpdateErrors = BillingProductsUpdateErrors;
2691
2818
  type types_gen_d_BillingProductsUpdateResponse = BillingProductsUpdateResponse;
2692
2819
  type types_gen_d_BillingProductsUpdateResponses = BillingProductsUpdateResponses;
2693
- type types_gen_d_BillingSubscriptionCheckoutData = BillingSubscriptionCheckoutData;
2694
- type types_gen_d_BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutError;
2695
- type types_gen_d_BillingSubscriptionCheckoutErrors = BillingSubscriptionCheckoutErrors;
2696
- type types_gen_d_BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponse;
2697
- type types_gen_d_BillingSubscriptionCheckoutResponses = BillingSubscriptionCheckoutResponses;
2698
2820
  type types_gen_d_BillingSubscriptionGetData = BillingSubscriptionGetData;
2699
2821
  type types_gen_d_BillingSubscriptionGetError = BillingSubscriptionGetError;
2700
2822
  type types_gen_d_BillingSubscriptionGetErrors = BillingSubscriptionGetErrors;
@@ -2712,8 +2834,6 @@ type types_gen_d_BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateRe
2712
2834
  type types_gen_d_BillingSubscriptionUpdateResponses = BillingSubscriptionUpdateResponses;
2713
2835
  type types_gen_d_BlockParams = BlockParams;
2714
2836
  type types_gen_d_BlockResponse200 = BlockResponse200;
2715
- type types_gen_d_CheckoutBody = CheckoutBody;
2716
- type types_gen_d_CheckoutResponse200 = CheckoutResponse200;
2717
2837
  type types_gen_d_ClientOptions = ClientOptions;
2718
2838
  type types_gen_d_ContactIdBody = ContactIdBody;
2719
2839
  type types_gen_d_ContactIdParams = ContactIdParams;
@@ -2809,6 +2929,13 @@ type types_gen_d_GetOpenapiJsonData = GetOpenapiJsonData;
2809
2929
  type types_gen_d_GetOpenapiJsonError = GetOpenapiJsonError;
2810
2930
  type types_gen_d_GetOpenapiJsonErrors = GetOpenapiJsonErrors;
2811
2931
  type types_gen_d_GetOpenapiJsonResponses = GetOpenapiJsonResponses;
2932
+ type types_gen_d_IntegrationIdParams = IntegrationIdParams;
2933
+ type types_gen_d_IntegrationIdResponse200 = IntegrationIdResponse200;
2934
+ type types_gen_d_IntegrationsRetrieveData = IntegrationsRetrieveData;
2935
+ type types_gen_d_IntegrationsRetrieveError = IntegrationsRetrieveError;
2936
+ type types_gen_d_IntegrationsRetrieveErrors = IntegrationsRetrieveErrors;
2937
+ type types_gen_d_IntegrationsRetrieveResponse = IntegrationsRetrieveResponse;
2938
+ type types_gen_d_IntegrationsRetrieveResponses = IntegrationsRetrieveResponses;
2812
2939
  type types_gen_d_MemberIdBody = MemberIdBody;
2813
2940
  type types_gen_d_MemberIdParams = MemberIdParams;
2814
2941
  type types_gen_d_MemberIdResponse200 = MemberIdResponse200;
@@ -2917,7 +3044,7 @@ type types_gen_d_UsersWatchMailboxResponses = UsersWatchMailboxResponses;
2917
3044
  type types_gen_d_WatchMailboxBody = WatchMailboxBody;
2918
3045
  type types_gen_d_WatchMailboxParams = WatchMailboxParams;
2919
3046
  declare namespace types_gen_d {
2920
- export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BatchBody as BatchBody, types_gen_d_BatchLegacyBody as BatchLegacyBody, types_gen_d_BatchLegacyResponse201 as BatchLegacyResponse201, types_gen_d_BatchResponse201 as BatchResponse201, types_gen_d_BatchResponse202 as BatchResponse202, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingProductsListData as BillingProductsListData, types_gen_d_BillingProductsListError as BillingProductsListError, types_gen_d_BillingProductsListErrors as BillingProductsListErrors, types_gen_d_BillingProductsListResponse as BillingProductsListResponse, types_gen_d_BillingProductsListResponses as BillingProductsListResponses, types_gen_d_BillingProductsRetrieveData as BillingProductsRetrieveData, types_gen_d_BillingProductsRetrieveError as BillingProductsRetrieveError, types_gen_d_BillingProductsRetrieveErrors as BillingProductsRetrieveErrors, types_gen_d_BillingProductsRetrieveResponse as BillingProductsRetrieveResponse, types_gen_d_BillingProductsRetrieveResponses as BillingProductsRetrieveResponses, types_gen_d_BillingProductsUpdateData as BillingProductsUpdateData, types_gen_d_BillingProductsUpdateError as BillingProductsUpdateError, types_gen_d_BillingProductsUpdateErrors as BillingProductsUpdateErrors, types_gen_d_BillingProductsUpdateResponse as BillingProductsUpdateResponse, types_gen_d_BillingProductsUpdateResponses as BillingProductsUpdateResponses, types_gen_d_BillingSubscriptionCheckoutData as BillingSubscriptionCheckoutData, types_gen_d_BillingSubscriptionCheckoutError as BillingSubscriptionCheckoutError, types_gen_d_BillingSubscriptionCheckoutErrors as BillingSubscriptionCheckoutErrors, types_gen_d_BillingSubscriptionCheckoutResponse as BillingSubscriptionCheckoutResponse, types_gen_d_BillingSubscriptionCheckoutResponses as BillingSubscriptionCheckoutResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_BlockParams as BlockParams, types_gen_d_BlockResponse200 as BlockResponse200, types_gen_d_CheckoutBody as CheckoutBody, types_gen_d_CheckoutResponse200 as CheckoutResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactIdBody as ContactIdBody, types_gen_d_ContactIdParams as ContactIdParams, types_gen_d_ContactIdResponse200 as ContactIdResponse200, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_ContactsBatchCreate2Data as ContactsBatchCreate2Data, types_gen_d_ContactsBatchCreate2Error as ContactsBatchCreate2Error, types_gen_d_ContactsBatchCreate2Errors as ContactsBatchCreate2Errors, types_gen_d_ContactsBatchCreate2Responses as ContactsBatchCreate2Responses, types_gen_d_ContactsBatchCreateData as ContactsBatchCreateData, types_gen_d_ContactsBatchCreateError as ContactsBatchCreateError, types_gen_d_ContactsBatchCreateErrors as ContactsBatchCreateErrors, types_gen_d_ContactsBatchCreateResponse as ContactsBatchCreateResponse, types_gen_d_ContactsBatchCreateResponses as ContactsBatchCreateResponses, types_gen_d_ContactsBlockData as ContactsBlockData, types_gen_d_ContactsBlockError as ContactsBlockError, types_gen_d_ContactsBlockErrors as ContactsBlockErrors, types_gen_d_ContactsBlockResponse as ContactsBlockResponse, types_gen_d_ContactsBlockResponses as ContactsBlockResponses, types_gen_d_ContactsBody as ContactsBody, types_gen_d_ContactsCreateData as ContactsCreateData, types_gen_d_ContactsCreateError as ContactsCreateError, types_gen_d_ContactsCreateErrors as ContactsCreateErrors, types_gen_d_ContactsCreateResponse as ContactsCreateResponse, types_gen_d_ContactsCreateResponses as ContactsCreateResponses, types_gen_d_ContactsDelAllData as ContactsDelAllData, types_gen_d_ContactsDelAllError as ContactsDelAllError, types_gen_d_ContactsDelAllErrors as ContactsDelAllErrors, types_gen_d_ContactsDelAllResponse as ContactsDelAllResponse, types_gen_d_ContactsDelAllResponses as ContactsDelAllResponses, types_gen_d_ContactsDelData as ContactsDelData, types_gen_d_ContactsDelError as ContactsDelError, types_gen_d_ContactsDelErrors as ContactsDelErrors, types_gen_d_ContactsDelResponse as ContactsDelResponse, types_gen_d_ContactsDelResponses as ContactsDelResponses, types_gen_d_ContactsListData as ContactsListData, types_gen_d_ContactsListError as ContactsListError, types_gen_d_ContactsListErrors as ContactsListErrors, types_gen_d_ContactsListResponse as ContactsListResponse, types_gen_d_ContactsListResponses as ContactsListResponses, types_gen_d_ContactsQuery as ContactsQuery, types_gen_d_ContactsResponse200 as ContactsResponse200, types_gen_d_ContactsResponse201 as ContactsResponse201, types_gen_d_ContactsResubscribeData as ContactsResubscribeData, types_gen_d_ContactsResubscribeError as ContactsResubscribeError, types_gen_d_ContactsResubscribeErrors as ContactsResubscribeErrors, types_gen_d_ContactsResubscribeResponse as ContactsResubscribeResponse, types_gen_d_ContactsResubscribeResponses as ContactsResubscribeResponses, types_gen_d_ContactsRetrieveData as ContactsRetrieveData, types_gen_d_ContactsRetrieveError as ContactsRetrieveError, types_gen_d_ContactsRetrieveErrors as ContactsRetrieveErrors, types_gen_d_ContactsRetrieveResponse as ContactsRetrieveResponse, types_gen_d_ContactsRetrieveResponses as ContactsRetrieveResponses, types_gen_d_ContactsUnblockData as ContactsUnblockData, types_gen_d_ContactsUnblockError as ContactsUnblockError, types_gen_d_ContactsUnblockErrors as ContactsUnblockErrors, types_gen_d_ContactsUnblockResponse as ContactsUnblockResponse, types_gen_d_ContactsUnblockResponses as ContactsUnblockResponses, types_gen_d_ContactsUpdateData as ContactsUpdateData, types_gen_d_ContactsUpdateError as ContactsUpdateError, types_gen_d_ContactsUpdateErrors as ContactsUpdateErrors, types_gen_d_ContactsUpdateResponse as ContactsUpdateResponse, types_gen_d_ContactsUpdateResponses as ContactsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationMembersCreateData as OrganizationMembersCreateData, types_gen_d_OrganizationMembersCreateError as OrganizationMembersCreateError, types_gen_d_OrganizationMembersCreateErrors as OrganizationMembersCreateErrors, types_gen_d_OrganizationMembersCreateResponse as OrganizationMembersCreateResponse, types_gen_d_OrganizationMembersCreateResponses as OrganizationMembersCreateResponses, types_gen_d_OrganizationMembersDeleteData as OrganizationMembersDeleteData, types_gen_d_OrganizationMembersDeleteError as OrganizationMembersDeleteError, types_gen_d_OrganizationMembersDeleteErrors as OrganizationMembersDeleteErrors, types_gen_d_OrganizationMembersDeleteResponse as OrganizationMembersDeleteResponse, types_gen_d_OrganizationMembersDeleteResponses as OrganizationMembersDeleteResponses, types_gen_d_OrganizationMembersListData as OrganizationMembersListData, types_gen_d_OrganizationMembersListError as OrganizationMembersListError, types_gen_d_OrganizationMembersListErrors as OrganizationMembersListErrors, types_gen_d_OrganizationMembersListResponse as OrganizationMembersListResponse, types_gen_d_OrganizationMembersListResponses as OrganizationMembersListResponses, types_gen_d_OrganizationMembersUpdateData as OrganizationMembersUpdateData, types_gen_d_OrganizationMembersUpdateError as OrganizationMembersUpdateError, types_gen_d_OrganizationMembersUpdateErrors as OrganizationMembersUpdateErrors, types_gen_d_OrganizationMembersUpdateResponse as OrganizationMembersUpdateResponse, types_gen_d_OrganizationMembersUpdateResponses as OrganizationMembersUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsCreateData as OrganizationsCreateData, types_gen_d_OrganizationsCreateError as OrganizationsCreateError, types_gen_d_OrganizationsCreateErrors as OrganizationsCreateErrors, types_gen_d_OrganizationsCreateResponse as OrganizationsCreateResponse, types_gen_d_OrganizationsCreateResponses as OrganizationsCreateResponses, types_gen_d_OrganizationsDeleteData as OrganizationsDeleteData, types_gen_d_OrganizationsDeleteError as OrganizationsDeleteError, types_gen_d_OrganizationsDeleteErrors as OrganizationsDeleteErrors, types_gen_d_OrganizationsDeleteResponse as OrganizationsDeleteResponse, types_gen_d_OrganizationsDeleteResponses as OrganizationsDeleteResponses, types_gen_d_OrganizationsListData as OrganizationsListData, types_gen_d_OrganizationsListError as OrganizationsListError, types_gen_d_OrganizationsListErrors as OrganizationsListErrors, types_gen_d_OrganizationsListResponse as OrganizationsListResponse, types_gen_d_OrganizationsListResponses as OrganizationsListResponses, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_OrganizationsRetrieveData as OrganizationsRetrieveData, types_gen_d_OrganizationsRetrieveError as OrganizationsRetrieveError, types_gen_d_OrganizationsRetrieveErrors as OrganizationsRetrieveErrors, types_gen_d_OrganizationsRetrieveResponse as OrganizationsRetrieveResponse, types_gen_d_OrganizationsRetrieveResponses as OrganizationsRetrieveResponses, types_gen_d_OrganizationsUpdateData as OrganizationsUpdateData, types_gen_d_OrganizationsUpdateError as OrganizationsUpdateError, types_gen_d_OrganizationsUpdateErrors as OrganizationsUpdateErrors, types_gen_d_OrganizationsUpdateResponse as OrganizationsUpdateResponse, types_gen_d_OrganizationsUpdateResponses as OrganizationsUpdateResponses, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_ProductParams as ProductParams, types_gen_d_ProductResponse200 as ProductResponse200, types_gen_d_ProductsResponse200 as ProductsResponse200, types_gen_d_ResubscribeParams as ResubscribeParams, types_gen_d_ResubscribeResponse200 as ResubscribeResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UnblockParams as UnblockParams, types_gen_d_UnblockResponse200 as UnblockResponse200, types_gen_d_UpdateBody as UpdateBody, types_gen_d_UpdateParams as UpdateParams, types_gen_d_UpdateResponse200 as UpdateResponse200, types_gen_d_UserIdParams as UserIdParams, types_gen_d_UserIdQuery as UserIdQuery, types_gen_d_UserIdResponse200 as UserIdResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersRetrieveData as UsersRetrieveData, types_gen_d_UsersRetrieveError as UsersRetrieveError, types_gen_d_UsersRetrieveErrors as UsersRetrieveErrors, types_gen_d_UsersRetrieveResponse as UsersRetrieveResponse, types_gen_d_UsersRetrieveResponses as UsersRetrieveResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
3047
+ export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BatchBody as BatchBody, types_gen_d_BatchLegacyBody as BatchLegacyBody, types_gen_d_BatchLegacyResponse201 as BatchLegacyResponse201, types_gen_d_BatchResponse201 as BatchResponse201, types_gen_d_BatchResponse202 as BatchResponse202, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingProductsListData as BillingProductsListData, types_gen_d_BillingProductsListError as BillingProductsListError, types_gen_d_BillingProductsListErrors as BillingProductsListErrors, types_gen_d_BillingProductsListResponse as BillingProductsListResponse, types_gen_d_BillingProductsListResponses as BillingProductsListResponses, types_gen_d_BillingProductsRetrieveData as BillingProductsRetrieveData, types_gen_d_BillingProductsRetrieveError as BillingProductsRetrieveError, types_gen_d_BillingProductsRetrieveErrors as BillingProductsRetrieveErrors, types_gen_d_BillingProductsRetrieveResponse as BillingProductsRetrieveResponse, types_gen_d_BillingProductsRetrieveResponses as BillingProductsRetrieveResponses, types_gen_d_BillingProductsUpdateData as BillingProductsUpdateData, types_gen_d_BillingProductsUpdateError as BillingProductsUpdateError, types_gen_d_BillingProductsUpdateErrors as BillingProductsUpdateErrors, types_gen_d_BillingProductsUpdateResponse as BillingProductsUpdateResponse, types_gen_d_BillingProductsUpdateResponses as BillingProductsUpdateResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_BlockParams as BlockParams, types_gen_d_BlockResponse200 as BlockResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactIdBody as ContactIdBody, types_gen_d_ContactIdParams as ContactIdParams, types_gen_d_ContactIdResponse200 as ContactIdResponse200, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_ContactsBatchCreate2Data as ContactsBatchCreate2Data, types_gen_d_ContactsBatchCreate2Error as ContactsBatchCreate2Error, types_gen_d_ContactsBatchCreate2Errors as ContactsBatchCreate2Errors, types_gen_d_ContactsBatchCreate2Responses as ContactsBatchCreate2Responses, types_gen_d_ContactsBatchCreateData as ContactsBatchCreateData, types_gen_d_ContactsBatchCreateError as ContactsBatchCreateError, types_gen_d_ContactsBatchCreateErrors as ContactsBatchCreateErrors, types_gen_d_ContactsBatchCreateResponse as ContactsBatchCreateResponse, types_gen_d_ContactsBatchCreateResponses as ContactsBatchCreateResponses, types_gen_d_ContactsBlockData as ContactsBlockData, types_gen_d_ContactsBlockError as ContactsBlockError, types_gen_d_ContactsBlockErrors as ContactsBlockErrors, types_gen_d_ContactsBlockResponse as ContactsBlockResponse, types_gen_d_ContactsBlockResponses as ContactsBlockResponses, types_gen_d_ContactsBody as ContactsBody, types_gen_d_ContactsCreateData as ContactsCreateData, types_gen_d_ContactsCreateError as ContactsCreateError, types_gen_d_ContactsCreateErrors as ContactsCreateErrors, types_gen_d_ContactsCreateResponse as ContactsCreateResponse, types_gen_d_ContactsCreateResponses as ContactsCreateResponses, types_gen_d_ContactsDelAllData as ContactsDelAllData, types_gen_d_ContactsDelAllError as ContactsDelAllError, types_gen_d_ContactsDelAllErrors as ContactsDelAllErrors, types_gen_d_ContactsDelAllResponse as ContactsDelAllResponse, types_gen_d_ContactsDelAllResponses as ContactsDelAllResponses, types_gen_d_ContactsDelData as ContactsDelData, types_gen_d_ContactsDelError as ContactsDelError, types_gen_d_ContactsDelErrors as ContactsDelErrors, types_gen_d_ContactsDelResponse as ContactsDelResponse, types_gen_d_ContactsDelResponses as ContactsDelResponses, types_gen_d_ContactsListData as ContactsListData, types_gen_d_ContactsListError as ContactsListError, types_gen_d_ContactsListErrors as ContactsListErrors, types_gen_d_ContactsListResponse as ContactsListResponse, types_gen_d_ContactsListResponses as ContactsListResponses, types_gen_d_ContactsQuery as ContactsQuery, types_gen_d_ContactsResponse200 as ContactsResponse200, types_gen_d_ContactsResponse201 as ContactsResponse201, types_gen_d_ContactsResubscribeData as ContactsResubscribeData, types_gen_d_ContactsResubscribeError as ContactsResubscribeError, types_gen_d_ContactsResubscribeErrors as ContactsResubscribeErrors, types_gen_d_ContactsResubscribeResponse as ContactsResubscribeResponse, types_gen_d_ContactsResubscribeResponses as ContactsResubscribeResponses, types_gen_d_ContactsRetrieveData as ContactsRetrieveData, types_gen_d_ContactsRetrieveError as ContactsRetrieveError, types_gen_d_ContactsRetrieveErrors as ContactsRetrieveErrors, types_gen_d_ContactsRetrieveResponse as ContactsRetrieveResponse, types_gen_d_ContactsRetrieveResponses as ContactsRetrieveResponses, types_gen_d_ContactsUnblockData as ContactsUnblockData, types_gen_d_ContactsUnblockError as ContactsUnblockError, types_gen_d_ContactsUnblockErrors as ContactsUnblockErrors, types_gen_d_ContactsUnblockResponse as ContactsUnblockResponse, types_gen_d_ContactsUnblockResponses as ContactsUnblockResponses, types_gen_d_ContactsUpdateData as ContactsUpdateData, types_gen_d_ContactsUpdateError as ContactsUpdateError, types_gen_d_ContactsUpdateErrors as ContactsUpdateErrors, types_gen_d_ContactsUpdateResponse as ContactsUpdateResponse, types_gen_d_ContactsUpdateResponses as ContactsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_IntegrationIdParams as IntegrationIdParams, types_gen_d_IntegrationIdResponse200 as IntegrationIdResponse200, types_gen_d_IntegrationsRetrieveData as IntegrationsRetrieveData, types_gen_d_IntegrationsRetrieveError as IntegrationsRetrieveError, types_gen_d_IntegrationsRetrieveErrors as IntegrationsRetrieveErrors, types_gen_d_IntegrationsRetrieveResponse as IntegrationsRetrieveResponse, types_gen_d_IntegrationsRetrieveResponses as IntegrationsRetrieveResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationMembersCreateData as OrganizationMembersCreateData, types_gen_d_OrganizationMembersCreateError as OrganizationMembersCreateError, types_gen_d_OrganizationMembersCreateErrors as OrganizationMembersCreateErrors, types_gen_d_OrganizationMembersCreateResponse as OrganizationMembersCreateResponse, types_gen_d_OrganizationMembersCreateResponses as OrganizationMembersCreateResponses, types_gen_d_OrganizationMembersDeleteData as OrganizationMembersDeleteData, types_gen_d_OrganizationMembersDeleteError as OrganizationMembersDeleteError, types_gen_d_OrganizationMembersDeleteErrors as OrganizationMembersDeleteErrors, types_gen_d_OrganizationMembersDeleteResponse as OrganizationMembersDeleteResponse, types_gen_d_OrganizationMembersDeleteResponses as OrganizationMembersDeleteResponses, types_gen_d_OrganizationMembersListData as OrganizationMembersListData, types_gen_d_OrganizationMembersListError as OrganizationMembersListError, types_gen_d_OrganizationMembersListErrors as OrganizationMembersListErrors, types_gen_d_OrganizationMembersListResponse as OrganizationMembersListResponse, types_gen_d_OrganizationMembersListResponses as OrganizationMembersListResponses, types_gen_d_OrganizationMembersUpdateData as OrganizationMembersUpdateData, types_gen_d_OrganizationMembersUpdateError as OrganizationMembersUpdateError, types_gen_d_OrganizationMembersUpdateErrors as OrganizationMembersUpdateErrors, types_gen_d_OrganizationMembersUpdateResponse as OrganizationMembersUpdateResponse, types_gen_d_OrganizationMembersUpdateResponses as OrganizationMembersUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsCreateData as OrganizationsCreateData, types_gen_d_OrganizationsCreateError as OrganizationsCreateError, types_gen_d_OrganizationsCreateErrors as OrganizationsCreateErrors, types_gen_d_OrganizationsCreateResponse as OrganizationsCreateResponse, types_gen_d_OrganizationsCreateResponses as OrganizationsCreateResponses, types_gen_d_OrganizationsDeleteData as OrganizationsDeleteData, types_gen_d_OrganizationsDeleteError as OrganizationsDeleteError, types_gen_d_OrganizationsDeleteErrors as OrganizationsDeleteErrors, types_gen_d_OrganizationsDeleteResponse as OrganizationsDeleteResponse, types_gen_d_OrganizationsDeleteResponses as OrganizationsDeleteResponses, types_gen_d_OrganizationsListData as OrganizationsListData, types_gen_d_OrganizationsListError as OrganizationsListError, types_gen_d_OrganizationsListErrors as OrganizationsListErrors, types_gen_d_OrganizationsListResponse as OrganizationsListResponse, types_gen_d_OrganizationsListResponses as OrganizationsListResponses, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_OrganizationsRetrieveData as OrganizationsRetrieveData, types_gen_d_OrganizationsRetrieveError as OrganizationsRetrieveError, types_gen_d_OrganizationsRetrieveErrors as OrganizationsRetrieveErrors, types_gen_d_OrganizationsRetrieveResponse as OrganizationsRetrieveResponse, types_gen_d_OrganizationsRetrieveResponses as OrganizationsRetrieveResponses, types_gen_d_OrganizationsUpdateData as OrganizationsUpdateData, types_gen_d_OrganizationsUpdateError as OrganizationsUpdateError, types_gen_d_OrganizationsUpdateErrors as OrganizationsUpdateErrors, types_gen_d_OrganizationsUpdateResponse as OrganizationsUpdateResponse, types_gen_d_OrganizationsUpdateResponses as OrganizationsUpdateResponses, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_ProductParams as ProductParams, types_gen_d_ProductResponse200 as ProductResponse200, types_gen_d_ProductsResponse200 as ProductsResponse200, types_gen_d_ResubscribeParams as ResubscribeParams, types_gen_d_ResubscribeResponse200 as ResubscribeResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UnblockParams as UnblockParams, types_gen_d_UnblockResponse200 as UnblockResponse200, types_gen_d_UpdateBody as UpdateBody, types_gen_d_UpdateParams as UpdateParams, types_gen_d_UpdateResponse200 as UpdateResponse200, types_gen_d_UserIdParams as UserIdParams, types_gen_d_UserIdQuery as UserIdQuery, types_gen_d_UserIdResponse200 as UserIdResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersRetrieveData as UsersRetrieveData, types_gen_d_UsersRetrieveError as UsersRetrieveError, types_gen_d_UsersRetrieveErrors as UsersRetrieveErrors, types_gen_d_UsersRetrieveResponse as UsersRetrieveResponse, types_gen_d_UsersRetrieveResponses as UsersRetrieveResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
2921
3048
  }
2922
3049
 
2923
3050
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -2989,11 +3116,6 @@ declare class BillingSubscription extends HeyApiClient {
2989
3116
  plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
2990
3117
  billing_period: 'month' | 'year';
2991
3118
  }, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionPreviewUpdateResponses, BillingSubscriptionPreviewUpdateErrors, ThrowOnError, "data">;
2992
- checkout<ThrowOnError extends boolean = true>(parameters: {
2993
- price_id: string;
2994
- coupon?: string;
2995
- currency?: 'usd' | 'eur' | 'inr';
2996
- }, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionCheckoutResponses, BillingSubscriptionCheckoutErrors, ThrowOnError, "data">;
2997
3119
  }
2998
3120
  declare class ContactLists extends HeyApiClient {
2999
3121
  create<ThrowOnError extends boolean = true>(parameters: {
@@ -3101,6 +3223,9 @@ declare class Billing extends HeyApiClient {
3101
3223
  private _products?;
3102
3224
  get products(): Products;
3103
3225
  }
3226
+ declare class Integrations extends HeyApiClient {
3227
+ retrieve<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', options?: Options<never, ThrowOnError>): RequestResult<IntegrationsRetrieveResponses, IntegrationsRetrieveErrors, ThrowOnError, "data">;
3228
+ }
3104
3229
 
3105
3230
  interface MailmeteorConfig {
3106
3231
  /**
@@ -3122,6 +3247,7 @@ declare class Mailmeteor {
3122
3247
  readonly organizationMembers: OrganizationMembers;
3123
3248
  readonly users: Users;
3124
3249
  readonly contacts: Contacts;
3250
+ readonly integrations: Integrations;
3125
3251
  constructor(key: string, config?: MailmeteorConfig);
3126
3252
  /**
3127
3253
  * Update the API key for authentication
package/dist/index.mjs CHANGED
@@ -1008,6 +1008,22 @@ class HeyApiRegistry8 {
1008
1008
  }
1009
1009
  }
1010
1010
  class HeyApiRegistry9 {
1011
+ constructor() {
1012
+ this.defaultKey = 'default';
1013
+ this.instances = new Map();
1014
+ }
1015
+ get(key) {
1016
+ const instance = this.instances.get(key ?? this.defaultKey);
1017
+ if (!instance) {
1018
+ throw new Error(`No SDK client found. Create one with "new Integrations2()" to fix this error.`);
1019
+ }
1020
+ return instance;
1021
+ }
1022
+ set(value, key) {
1023
+ this.instances.set(key ?? this.defaultKey, value);
1024
+ }
1025
+ }
1026
+ class HeyApiRegistry10 {
1011
1027
  constructor() {
1012
1028
  this.defaultKey = 'default';
1013
1029
  this.instances = new Map();
@@ -1261,24 +1277,6 @@ class BillingSubscription extends HeyApiClient {
1261
1277
  }
1262
1278
  });
1263
1279
  }
1264
- checkout(parameters, options) {
1265
- const params = buildClientParams([parameters], [{ args: [
1266
- { in: 'body', key: 'price_id' },
1267
- { in: 'body', key: 'coupon' },
1268
- { in: 'body', key: 'currency' }
1269
- ] }]);
1270
- return (options?.client ?? this.client).post({
1271
- responseStyle: 'data',
1272
- url: '/billing/subscription/checkout',
1273
- ...options,
1274
- ...params,
1275
- headers: {
1276
- 'Content-Type': 'application/json',
1277
- ...options?.headers,
1278
- ...params.headers
1279
- }
1280
- });
1281
- }
1282
1280
  }
1283
1281
  class BillingSubscription2 extends HeyApiClient {
1284
1282
  constructor(args) {
@@ -1627,6 +1625,27 @@ class Billing2 extends HeyApiClient {
1627
1625
  }
1628
1626
  }
1629
1627
  Billing2.__registry = new HeyApiRegistry8();
1628
+ class Integrations extends HeyApiClient {
1629
+ retrieve(integration_id, options) {
1630
+ const params = buildClientParams([integration_id], [{ in: 'path', key: 'integration_id' }]);
1631
+ return (options?.client ?? this.client).get({
1632
+ responseStyle: 'data',
1633
+ url: '/integrations/{integration_id}',
1634
+ ...options,
1635
+ ...params
1636
+ });
1637
+ }
1638
+ }
1639
+ class Integrations2 extends HeyApiClient {
1640
+ constructor(args) {
1641
+ super(args);
1642
+ Integrations2.__registry.set(this, args?.key);
1643
+ }
1644
+ get integrations() {
1645
+ return this._integrations ?? (this._integrations = new Integrations({ client: this.client }));
1646
+ }
1647
+ }
1648
+ Integrations2.__registry = new HeyApiRegistry9();
1630
1649
  class Default extends HeyApiClient {
1631
1650
  constructor(args) {
1632
1651
  super(args);
@@ -1640,7 +1659,7 @@ class Default extends HeyApiClient {
1640
1659
  });
1641
1660
  }
1642
1661
  }
1643
- Default.__registry = new HeyApiRegistry9();
1662
+ Default.__registry = new HeyApiRegistry10();
1644
1663
 
1645
1664
  var types_gen = /*#__PURE__*/Object.freeze({
1646
1665
  __proto__: null
@@ -1681,6 +1700,7 @@ class Mailmeteor {
1681
1700
  this.organizationMembers = new OrganizationMembers({ client: this.client });
1682
1701
  this.users = new Users({ client: this.client });
1683
1702
  this.contacts = new Contacts({ client: this.client });
1703
+ this.integrations = new Integrations({ client: this.client });
1684
1704
  }
1685
1705
  setApiKey(key) {
1686
1706
  const currentConfig = this.client.getConfig();