mailmeteor 0.0.46 → 0.0.48

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
@@ -908,6 +908,7 @@ type PipelineConversationsResponse200 = {
908
908
  data: Array<{
909
909
  object: 'pipeline_conversation';
910
910
  id: string;
911
+ owner: string;
911
912
  provider: 'gmail' | 'outlook' | 'zohomail';
912
913
  thread_id: string;
913
914
  subject: string;
@@ -924,6 +925,7 @@ type PipelineConversationsResponse200 = {
924
925
  clicks_count: number;
925
926
  unsubscribed: boolean;
926
927
  bounced: boolean;
928
+ is_read: boolean;
927
929
  }>;
928
930
  };
929
931
  type CountQuery = {
@@ -943,6 +945,7 @@ type PipelineConversationIdParams = {
943
945
  type PipelineConversationIdResponse200 = {
944
946
  object: 'pipeline_conversation';
945
947
  id: string;
948
+ owner: string;
946
949
  provider: 'gmail' | 'outlook' | 'zohomail';
947
950
  thread_id: string;
948
951
  subject: string;
@@ -959,6 +962,7 @@ type PipelineConversationIdResponse200 = {
959
962
  clicks_count: number;
960
963
  unsubscribed: boolean;
961
964
  bounced: boolean;
965
+ is_read: boolean;
962
966
  };
963
967
  type MessagesQuery = {
964
968
  owner?: string;
@@ -1009,6 +1013,7 @@ type MessagesResponse200 = {
1009
1013
  type PipelineConversationIdBody = {
1010
1014
  owner?: string;
1011
1015
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
1016
+ is_read?: boolean;
1012
1017
  };
1013
1018
  type PricesQuery = {
1014
1019
  currency: string;
@@ -1197,6 +1202,14 @@ type CheckParams = {
1197
1202
  type CheckResponse200 = {
1198
1203
  status: 'active' | 'action_required';
1199
1204
  };
1205
+ type ConnectParams = {
1206
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
1207
+ account_id: string;
1208
+ };
1209
+ type DisconnectParams = {
1210
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
1211
+ account_id: string;
1212
+ };
1200
1213
  type OpenapiJsonResponse200 = unknown;
1201
1214
  type UsersRetrieveData = {
1202
1215
  body?: never;
@@ -2650,6 +2663,7 @@ type PipelineConversationsListResponses = {
2650
2663
  data: Array<{
2651
2664
  object: 'pipeline_conversation';
2652
2665
  id: string;
2666
+ owner: string;
2653
2667
  provider: 'gmail' | 'outlook' | 'zohomail';
2654
2668
  thread_id: string;
2655
2669
  subject: string;
@@ -2666,6 +2680,7 @@ type PipelineConversationsListResponses = {
2666
2680
  clicks_count: number;
2667
2681
  unsubscribed: boolean;
2668
2682
  bounced: boolean;
2683
+ is_read: boolean;
2669
2684
  }>;
2670
2685
  };
2671
2686
  };
@@ -2721,6 +2736,7 @@ type PipelineConversationsRetrieveResponses = {
2721
2736
  200: {
2722
2737
  object: 'pipeline_conversation';
2723
2738
  id: string;
2739
+ owner: string;
2724
2740
  provider: 'gmail' | 'outlook' | 'zohomail';
2725
2741
  thread_id: string;
2726
2742
  subject: string;
@@ -2737,6 +2753,7 @@ type PipelineConversationsRetrieveResponses = {
2737
2753
  clicks_count: number;
2738
2754
  unsubscribed: boolean;
2739
2755
  bounced: boolean;
2756
+ is_read: boolean;
2740
2757
  };
2741
2758
  };
2742
2759
  type PipelineConversationsRetrieveResponse = PipelineConversationsRetrieveResponses[keyof PipelineConversationsRetrieveResponses];
@@ -2744,6 +2761,7 @@ type PipelineConversationsUpdateData = {
2744
2761
  body: {
2745
2762
  owner?: string;
2746
2763
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
2764
+ is_read?: boolean;
2747
2765
  };
2748
2766
  path: {
2749
2767
  pipeline_conversation_id: string;
@@ -2767,6 +2785,7 @@ type PipelineConversationsUpdateResponses = {
2767
2785
  200: {
2768
2786
  object: 'pipeline_conversation';
2769
2787
  id: string;
2788
+ owner: string;
2770
2789
  provider: 'gmail' | 'outlook' | 'zohomail';
2771
2790
  thread_id: string;
2772
2791
  subject: string;
@@ -2783,6 +2802,7 @@ type PipelineConversationsUpdateResponses = {
2783
2802
  clicks_count: number;
2784
2803
  unsubscribed: boolean;
2785
2804
  bounced: boolean;
2805
+ is_read: boolean;
2786
2806
  };
2787
2807
  };
2788
2808
  type PipelineConversationsUpdateResponse = PipelineConversationsUpdateResponses[keyof PipelineConversationsUpdateResponses];
@@ -3163,6 +3183,52 @@ type IntegrationsCheckAccountResponses = {
3163
3183
  };
3164
3184
  };
3165
3185
  type IntegrationsCheckAccountResponse = IntegrationsCheckAccountResponses[keyof IntegrationsCheckAccountResponses];
3186
+ type IntegrationsConnectAccountData = {
3187
+ body?: never;
3188
+ path: {
3189
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
3190
+ account_id: string;
3191
+ };
3192
+ query?: never;
3193
+ url: '/integrations/{integration_id}/accounts/{account_id}/connect';
3194
+ };
3195
+ type IntegrationsConnectAccountErrors = {
3196
+ /**
3197
+ * Error response
3198
+ */
3199
+ default: ErrorResponse;
3200
+ };
3201
+ type IntegrationsConnectAccountError = IntegrationsConnectAccountErrors[keyof IntegrationsConnectAccountErrors];
3202
+ type IntegrationsConnectAccountResponses = {
3203
+ /**
3204
+ * Response
3205
+ */
3206
+ 204: void;
3207
+ };
3208
+ type IntegrationsConnectAccountResponse = IntegrationsConnectAccountResponses[keyof IntegrationsConnectAccountResponses];
3209
+ type IntegrationsDisconnectAccountData = {
3210
+ body?: never;
3211
+ path: {
3212
+ integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail';
3213
+ account_id: string;
3214
+ };
3215
+ query?: never;
3216
+ url: '/integrations/{integration_id}/accounts/{account_id}/disconnect';
3217
+ };
3218
+ type IntegrationsDisconnectAccountErrors = {
3219
+ /**
3220
+ * Error response
3221
+ */
3222
+ default: ErrorResponse;
3223
+ };
3224
+ type IntegrationsDisconnectAccountError = IntegrationsDisconnectAccountErrors[keyof IntegrationsDisconnectAccountErrors];
3225
+ type IntegrationsDisconnectAccountResponses = {
3226
+ /**
3227
+ * Response
3228
+ */
3229
+ 204: void;
3230
+ };
3231
+ type IntegrationsDisconnectAccountResponse = IntegrationsDisconnectAccountResponses[keyof IntegrationsDisconnectAccountResponses];
3166
3232
  type GetOpenapiJsonData = {
3167
3233
  body?: never;
3168
3234
  path?: never;
@@ -3254,6 +3320,7 @@ type types_gen_d_BlockResponse200 = BlockResponse200;
3254
3320
  type types_gen_d_CheckParams = CheckParams;
3255
3321
  type types_gen_d_CheckResponse200 = CheckResponse200;
3256
3322
  type types_gen_d_ClientOptions = ClientOptions;
3323
+ type types_gen_d_ConnectParams = ConnectParams;
3257
3324
  type types_gen_d_ContactIdBody = ContactIdBody;
3258
3325
  type types_gen_d_ContactIdParams = ContactIdParams;
3259
3326
  type types_gen_d_ContactIdResponse200 = ContactIdResponse200;
@@ -3345,6 +3412,7 @@ type types_gen_d_CountResponse200 = CountResponse200;
3345
3412
  type types_gen_d_CurrentOrganizationBody = CurrentOrganizationBody;
3346
3413
  type types_gen_d_CurrentOrganizationParams = CurrentOrganizationParams;
3347
3414
  type types_gen_d_CurrentOrganizationResponse200 = CurrentOrganizationResponse200;
3415
+ type types_gen_d_DisconnectParams = DisconnectParams;
3348
3416
  type types_gen_d_ErrorResponse = ErrorResponse;
3349
3417
  type types_gen_d_GetOpenapiJsonData = GetOpenapiJsonData;
3350
3418
  type types_gen_d_GetOpenapiJsonError = GetOpenapiJsonError;
@@ -3357,11 +3425,21 @@ type types_gen_d_IntegrationsCheckAccountError = IntegrationsCheckAccountError;
3357
3425
  type types_gen_d_IntegrationsCheckAccountErrors = IntegrationsCheckAccountErrors;
3358
3426
  type types_gen_d_IntegrationsCheckAccountResponse = IntegrationsCheckAccountResponse;
3359
3427
  type types_gen_d_IntegrationsCheckAccountResponses = IntegrationsCheckAccountResponses;
3428
+ type types_gen_d_IntegrationsConnectAccountData = IntegrationsConnectAccountData;
3429
+ type types_gen_d_IntegrationsConnectAccountError = IntegrationsConnectAccountError;
3430
+ type types_gen_d_IntegrationsConnectAccountErrors = IntegrationsConnectAccountErrors;
3431
+ type types_gen_d_IntegrationsConnectAccountResponse = IntegrationsConnectAccountResponse;
3432
+ type types_gen_d_IntegrationsConnectAccountResponses = IntegrationsConnectAccountResponses;
3360
3433
  type types_gen_d_IntegrationsDeleteAccountData = IntegrationsDeleteAccountData;
3361
3434
  type types_gen_d_IntegrationsDeleteAccountError = IntegrationsDeleteAccountError;
3362
3435
  type types_gen_d_IntegrationsDeleteAccountErrors = IntegrationsDeleteAccountErrors;
3363
3436
  type types_gen_d_IntegrationsDeleteAccountResponse = IntegrationsDeleteAccountResponse;
3364
3437
  type types_gen_d_IntegrationsDeleteAccountResponses = IntegrationsDeleteAccountResponses;
3438
+ type types_gen_d_IntegrationsDisconnectAccountData = IntegrationsDisconnectAccountData;
3439
+ type types_gen_d_IntegrationsDisconnectAccountError = IntegrationsDisconnectAccountError;
3440
+ type types_gen_d_IntegrationsDisconnectAccountErrors = IntegrationsDisconnectAccountErrors;
3441
+ type types_gen_d_IntegrationsDisconnectAccountResponse = IntegrationsDisconnectAccountResponse;
3442
+ type types_gen_d_IntegrationsDisconnectAccountResponses = IntegrationsDisconnectAccountResponses;
3365
3443
  type types_gen_d_IntegrationsRetrieveData = IntegrationsRetrieveData;
3366
3444
  type types_gen_d_IntegrationsRetrieveError = IntegrationsRetrieveError;
3367
3445
  type types_gen_d_IntegrationsRetrieveErrors = IntegrationsRetrieveErrors;
@@ -3509,7 +3587,7 @@ type types_gen_d_UsersWatchMailboxResponses = UsersWatchMailboxResponses;
3509
3587
  type types_gen_d_WatchMailboxBody = WatchMailboxBody;
3510
3588
  type types_gen_d_WatchMailboxParams = WatchMailboxParams;
3511
3589
  declare namespace types_gen_d {
3512
- export type { types_gen_d_AccountIdParams as AccountIdParams, 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_CheckParams as CheckParams, types_gen_d_CheckResponse200 as CheckResponse200, 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_CountQuery as CountQuery, types_gen_d_CountResponse200 as CountResponse200, 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_IntegrationsCheckAccountData as IntegrationsCheckAccountData, types_gen_d_IntegrationsCheckAccountError as IntegrationsCheckAccountError, types_gen_d_IntegrationsCheckAccountErrors as IntegrationsCheckAccountErrors, types_gen_d_IntegrationsCheckAccountResponse as IntegrationsCheckAccountResponse, types_gen_d_IntegrationsCheckAccountResponses as IntegrationsCheckAccountResponses, types_gen_d_IntegrationsDeleteAccountData as IntegrationsDeleteAccountData, types_gen_d_IntegrationsDeleteAccountError as IntegrationsDeleteAccountError, types_gen_d_IntegrationsDeleteAccountErrors as IntegrationsDeleteAccountErrors, types_gen_d_IntegrationsDeleteAccountResponse as IntegrationsDeleteAccountResponse, types_gen_d_IntegrationsDeleteAccountResponses as IntegrationsDeleteAccountResponses, 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_MessagesParams as MessagesParams, types_gen_d_MessagesQuery as MessagesQuery, types_gen_d_MessagesResponse200 as MessagesResponse200, 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_PipelineConversationIdBody as PipelineConversationIdBody, types_gen_d_PipelineConversationIdParams as PipelineConversationIdParams, types_gen_d_PipelineConversationIdQuery as PipelineConversationIdQuery, types_gen_d_PipelineConversationIdResponse200 as PipelineConversationIdResponse200, types_gen_d_PipelineConversationsCountData as PipelineConversationsCountData, types_gen_d_PipelineConversationsCountError as PipelineConversationsCountError, types_gen_d_PipelineConversationsCountErrors as PipelineConversationsCountErrors, types_gen_d_PipelineConversationsCountResponse as PipelineConversationsCountResponse, types_gen_d_PipelineConversationsCountResponses as PipelineConversationsCountResponses, types_gen_d_PipelineConversationsListData as PipelineConversationsListData, types_gen_d_PipelineConversationsListError as PipelineConversationsListError, types_gen_d_PipelineConversationsListErrors as PipelineConversationsListErrors, types_gen_d_PipelineConversationsListMessagesData as PipelineConversationsListMessagesData, types_gen_d_PipelineConversationsListMessagesError as PipelineConversationsListMessagesError, types_gen_d_PipelineConversationsListMessagesErrors as PipelineConversationsListMessagesErrors, types_gen_d_PipelineConversationsListMessagesResponse as PipelineConversationsListMessagesResponse, types_gen_d_PipelineConversationsListMessagesResponses as PipelineConversationsListMessagesResponses, types_gen_d_PipelineConversationsListResponse as PipelineConversationsListResponse, types_gen_d_PipelineConversationsListResponses as PipelineConversationsListResponses, types_gen_d_PipelineConversationsQuery as PipelineConversationsQuery, types_gen_d_PipelineConversationsResponse200 as PipelineConversationsResponse200, types_gen_d_PipelineConversationsRetrieveData as PipelineConversationsRetrieveData, types_gen_d_PipelineConversationsRetrieveError as PipelineConversationsRetrieveError, types_gen_d_PipelineConversationsRetrieveErrors as PipelineConversationsRetrieveErrors, types_gen_d_PipelineConversationsRetrieveResponse as PipelineConversationsRetrieveResponse, types_gen_d_PipelineConversationsRetrieveResponses as PipelineConversationsRetrieveResponses, types_gen_d_PipelineConversationsUpdateData as PipelineConversationsUpdateData, types_gen_d_PipelineConversationsUpdateError as PipelineConversationsUpdateError, types_gen_d_PipelineConversationsUpdateErrors as PipelineConversationsUpdateErrors, types_gen_d_PipelineConversationsUpdateResponse as PipelineConversationsUpdateResponse, types_gen_d_PipelineConversationsUpdateResponses as PipelineConversationsUpdateResponses, 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 };
3590
+ export type { types_gen_d_AccountIdParams as AccountIdParams, 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_CheckParams as CheckParams, types_gen_d_CheckResponse200 as CheckResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ConnectParams as ConnectParams, 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_CountQuery as CountQuery, types_gen_d_CountResponse200 as CountResponse200, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_DisconnectParams as DisconnectParams, 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_IntegrationsCheckAccountData as IntegrationsCheckAccountData, types_gen_d_IntegrationsCheckAccountError as IntegrationsCheckAccountError, types_gen_d_IntegrationsCheckAccountErrors as IntegrationsCheckAccountErrors, types_gen_d_IntegrationsCheckAccountResponse as IntegrationsCheckAccountResponse, types_gen_d_IntegrationsCheckAccountResponses as IntegrationsCheckAccountResponses, types_gen_d_IntegrationsConnectAccountData as IntegrationsConnectAccountData, types_gen_d_IntegrationsConnectAccountError as IntegrationsConnectAccountError, types_gen_d_IntegrationsConnectAccountErrors as IntegrationsConnectAccountErrors, types_gen_d_IntegrationsConnectAccountResponse as IntegrationsConnectAccountResponse, types_gen_d_IntegrationsConnectAccountResponses as IntegrationsConnectAccountResponses, types_gen_d_IntegrationsDeleteAccountData as IntegrationsDeleteAccountData, types_gen_d_IntegrationsDeleteAccountError as IntegrationsDeleteAccountError, types_gen_d_IntegrationsDeleteAccountErrors as IntegrationsDeleteAccountErrors, types_gen_d_IntegrationsDeleteAccountResponse as IntegrationsDeleteAccountResponse, types_gen_d_IntegrationsDeleteAccountResponses as IntegrationsDeleteAccountResponses, types_gen_d_IntegrationsDisconnectAccountData as IntegrationsDisconnectAccountData, types_gen_d_IntegrationsDisconnectAccountError as IntegrationsDisconnectAccountError, types_gen_d_IntegrationsDisconnectAccountErrors as IntegrationsDisconnectAccountErrors, types_gen_d_IntegrationsDisconnectAccountResponse as IntegrationsDisconnectAccountResponse, types_gen_d_IntegrationsDisconnectAccountResponses as IntegrationsDisconnectAccountResponses, 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_MessagesParams as MessagesParams, types_gen_d_MessagesQuery as MessagesQuery, types_gen_d_MessagesResponse200 as MessagesResponse200, 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_PipelineConversationIdBody as PipelineConversationIdBody, types_gen_d_PipelineConversationIdParams as PipelineConversationIdParams, types_gen_d_PipelineConversationIdQuery as PipelineConversationIdQuery, types_gen_d_PipelineConversationIdResponse200 as PipelineConversationIdResponse200, types_gen_d_PipelineConversationsCountData as PipelineConversationsCountData, types_gen_d_PipelineConversationsCountError as PipelineConversationsCountError, types_gen_d_PipelineConversationsCountErrors as PipelineConversationsCountErrors, types_gen_d_PipelineConversationsCountResponse as PipelineConversationsCountResponse, types_gen_d_PipelineConversationsCountResponses as PipelineConversationsCountResponses, types_gen_d_PipelineConversationsListData as PipelineConversationsListData, types_gen_d_PipelineConversationsListError as PipelineConversationsListError, types_gen_d_PipelineConversationsListErrors as PipelineConversationsListErrors, types_gen_d_PipelineConversationsListMessagesData as PipelineConversationsListMessagesData, types_gen_d_PipelineConversationsListMessagesError as PipelineConversationsListMessagesError, types_gen_d_PipelineConversationsListMessagesErrors as PipelineConversationsListMessagesErrors, types_gen_d_PipelineConversationsListMessagesResponse as PipelineConversationsListMessagesResponse, types_gen_d_PipelineConversationsListMessagesResponses as PipelineConversationsListMessagesResponses, types_gen_d_PipelineConversationsListResponse as PipelineConversationsListResponse, types_gen_d_PipelineConversationsListResponses as PipelineConversationsListResponses, types_gen_d_PipelineConversationsQuery as PipelineConversationsQuery, types_gen_d_PipelineConversationsResponse200 as PipelineConversationsResponse200, types_gen_d_PipelineConversationsRetrieveData as PipelineConversationsRetrieveData, types_gen_d_PipelineConversationsRetrieveError as PipelineConversationsRetrieveError, types_gen_d_PipelineConversationsRetrieveErrors as PipelineConversationsRetrieveErrors, types_gen_d_PipelineConversationsRetrieveResponse as PipelineConversationsRetrieveResponse, types_gen_d_PipelineConversationsRetrieveResponses as PipelineConversationsRetrieveResponses, types_gen_d_PipelineConversationsUpdateData as PipelineConversationsUpdateData, types_gen_d_PipelineConversationsUpdateError as PipelineConversationsUpdateError, types_gen_d_PipelineConversationsUpdateErrors as PipelineConversationsUpdateErrors, types_gen_d_PipelineConversationsUpdateResponse as PipelineConversationsUpdateResponse, types_gen_d_PipelineConversationsUpdateResponses as PipelineConversationsUpdateResponses, 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 };
3513
3591
  }
3514
3592
 
3515
3593
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -3698,6 +3776,7 @@ declare class PipelineConversations extends HeyApiClient {
3698
3776
  include_metrics?: string;
3699
3777
  owner?: string;
3700
3778
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
3779
+ is_read?: boolean;
3701
3780
  }, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsUpdateResponses, PipelineConversationsUpdateErrors, ThrowOnError, "data">;
3702
3781
  listMessages<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
3703
3782
  owner?: string;
@@ -3722,6 +3801,8 @@ declare class Integrations extends HeyApiClient {
3722
3801
  retrieve<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', options?: Options<never, ThrowOnError>): RequestResult<IntegrationsRetrieveResponses, IntegrationsRetrieveErrors, ThrowOnError, "data">;
3723
3802
  deleteAccount<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', account_id: string, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsDeleteAccountResponses, IntegrationsDeleteAccountErrors, ThrowOnError, "data">;
3724
3803
  checkAccount<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', account_id: string, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsCheckAccountResponses, IntegrationsCheckAccountErrors, ThrowOnError, "data">;
3804
+ connectAccount<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', account_id: string, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsConnectAccountResponses, IntegrationsConnectAccountErrors, ThrowOnError, "data">;
3805
+ disconnectAccount<ThrowOnError extends boolean = true>(integration_id: 'gmail' | 'outlook' | 'googlesheets' | 'zohomail', account_id: string, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsDisconnectAccountResponses, IntegrationsDisconnectAccountErrors, ThrowOnError, "data">;
3725
3806
  }
3726
3807
 
3727
3808
  interface MailmeteorConfig {
package/dist/index.mjs CHANGED
@@ -1631,7 +1631,8 @@ class PipelineConversations extends HeyApiClient {
1631
1631
  const params = buildClientParams([pipeline_conversation_id, parameters], [{ in: 'path', key: 'pipeline_conversation_id' }, { args: [
1632
1632
  { in: 'query', key: 'include_metrics' },
1633
1633
  { in: 'body', key: 'owner' },
1634
- { in: 'body', key: 'status' }
1634
+ { in: 'body', key: 'status' },
1635
+ { in: 'body', key: 'is_read' }
1635
1636
  ] }]);
1636
1637
  return (options?.client ?? this.client).patch({
1637
1638
  responseStyle: 'data',
@@ -1749,6 +1750,24 @@ class Integrations extends HeyApiClient {
1749
1750
  ...params
1750
1751
  });
1751
1752
  }
1753
+ connectAccount(integration_id, account_id, options) {
1754
+ const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
1755
+ return (options?.client ?? this.client).post({
1756
+ responseStyle: 'data',
1757
+ url: '/integrations/{integration_id}/accounts/{account_id}/connect',
1758
+ ...options,
1759
+ ...params
1760
+ });
1761
+ }
1762
+ disconnectAccount(integration_id, account_id, options) {
1763
+ const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
1764
+ return (options?.client ?? this.client).post({
1765
+ responseStyle: 'data',
1766
+ url: '/integrations/{integration_id}/accounts/{account_id}/disconnect',
1767
+ ...options,
1768
+ ...params
1769
+ });
1770
+ }
1752
1771
  }
1753
1772
  class Integrations2 extends HeyApiClient {
1754
1773
  constructor(args) {
@@ -1795,6 +1814,12 @@ function querySerializer(query) {
1795
1814
  }
1796
1815
  return parts.join('&');
1797
1816
  }
1817
+ function getAuthorizationHeader(apiKey) {
1818
+ if (apiKey.startsWith('sk_')) {
1819
+ return `Basic ${Buffer.from(String(apiKey) + ':').toString('base64')}`;
1820
+ }
1821
+ return `Bearer ${apiKey}`;
1822
+ }
1798
1823
  class Mailmeteor {
1799
1824
  constructor(key, config) {
1800
1825
  const baseUrl = config?.baseUrl || 'https://api.mailmeteor.com/v1';
@@ -1803,7 +1828,7 @@ class Mailmeteor {
1803
1828
  throwOnError: true,
1804
1829
  querySerializer,
1805
1830
  headers: {
1806
- 'Authorization': `Bearer ${key}`,
1831
+ 'Authorization': getAuthorizationHeader(key),
1807
1832
  },
1808
1833
  }));
1809
1834
  this.billingAddons = new BillingAddons({ client: this.client });
@@ -1824,7 +1849,7 @@ class Mailmeteor {
1824
1849
  ...currentConfig,
1825
1850
  headers: {
1826
1851
  ...currentHeaders,
1827
- 'Authorization': `Bearer ${key}`,
1852
+ 'Authorization': getAuthorizationHeader(key),
1828
1853
  },
1829
1854
  });
1830
1855
  }