@heymantle/core-api-client 0.1.4 → 0.1.5
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.mts +61 -1
- package/dist/index.d.ts +61 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -822,6 +822,54 @@ interface DealListParams extends ListParams {
|
|
|
822
822
|
interface DealListResponse extends PaginatedResponse {
|
|
823
823
|
deals: Deal[];
|
|
824
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* Inline customer data for deal creation/update.
|
|
827
|
+
* Matches existing customers by domain or shopifyDomain.
|
|
828
|
+
* If no match found, creates a new customer.
|
|
829
|
+
*/
|
|
830
|
+
interface DealCustomerInput {
|
|
831
|
+
/** The name of the customer */
|
|
832
|
+
name?: string;
|
|
833
|
+
/** The email of the customer */
|
|
834
|
+
email?: string;
|
|
835
|
+
/** The domain of the customer (used for matching existing customers) */
|
|
836
|
+
domain?: string;
|
|
837
|
+
/** The Shopify domain of the customer (used for matching existing customers) */
|
|
838
|
+
shopifyDomain?: string;
|
|
839
|
+
/** The Shopify shop ID */
|
|
840
|
+
shopifyShopId?: string;
|
|
841
|
+
/** Tags to associate with the customer */
|
|
842
|
+
tags?: string[];
|
|
843
|
+
/** Custom fields for the customer */
|
|
844
|
+
customFields?: Record<string, unknown>;
|
|
845
|
+
/** The country code of the customer */
|
|
846
|
+
countryCode?: string;
|
|
847
|
+
/** The preferred currency of the customer */
|
|
848
|
+
preferredCurrency?: string;
|
|
849
|
+
/** Description of the customer */
|
|
850
|
+
description?: string;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Inline contact data for deal creation/update.
|
|
854
|
+
* Matches existing contacts by email.
|
|
855
|
+
* Contacts are linked to both the customer and the deal.
|
|
856
|
+
*/
|
|
857
|
+
interface DealContactInput {
|
|
858
|
+
/** The email of the contact (required, used for matching existing contacts) */
|
|
859
|
+
email: string;
|
|
860
|
+
/** The name of the contact */
|
|
861
|
+
name?: string;
|
|
862
|
+
/** The phone number of the contact */
|
|
863
|
+
phone?: string;
|
|
864
|
+
/** The job title of the contact */
|
|
865
|
+
jobTitle?: string;
|
|
866
|
+
/** The label for the contact relationship (e.g., "primary", "technical") */
|
|
867
|
+
label?: string;
|
|
868
|
+
/** Notes about the contact */
|
|
869
|
+
notes?: string;
|
|
870
|
+
/** Tags for the contact */
|
|
871
|
+
tags?: string[];
|
|
872
|
+
}
|
|
825
873
|
/**
|
|
826
874
|
* Parameters for creating a deal
|
|
827
875
|
*/
|
|
@@ -836,14 +884,26 @@ interface DealCreateParams {
|
|
|
836
884
|
closedAt?: string;
|
|
837
885
|
dealFlowId?: string;
|
|
838
886
|
dealStageId?: string;
|
|
887
|
+
/** The ID of an existing customer (alternative to customer object) */
|
|
839
888
|
customerId?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Create or update a customer inline (alternative to customerId).
|
|
891
|
+
* Matches existing customers by domain or shopifyDomain.
|
|
892
|
+
*/
|
|
893
|
+
customer?: DealCustomerInput;
|
|
840
894
|
domain?: string;
|
|
841
895
|
shopifyDomain?: string;
|
|
842
896
|
companyId?: string;
|
|
843
897
|
appId?: string;
|
|
844
898
|
planId?: string;
|
|
845
899
|
ownerIds?: string[];
|
|
900
|
+
/** Array of existing contact IDs (alternative to contacts array) */
|
|
846
901
|
contactIds?: string[];
|
|
902
|
+
/**
|
|
903
|
+
* Create or update contacts inline (alternative to contactIds).
|
|
904
|
+
* Matches existing contacts by email. Contacts are linked to both the customer and the deal.
|
|
905
|
+
*/
|
|
906
|
+
contacts?: DealContactInput[];
|
|
847
907
|
notes?: string;
|
|
848
908
|
affiliateId?: string;
|
|
849
909
|
partnershipId?: string;
|
|
@@ -3176,4 +3236,4 @@ interface AuthRefreshOptions {
|
|
|
3176
3236
|
*/
|
|
3177
3237
|
declare function createAuthRefreshMiddleware(options: AuthRefreshOptions): Middleware;
|
|
3178
3238
|
|
|
3179
|
-
export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentListResponse, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealCreateParams, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocTreeNode, type DocTreeResponse, DocsResource, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowCreateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type ListParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware };
|
|
3239
|
+
export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentListResponse, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocTreeNode, type DocTreeResponse, DocsResource, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowCreateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type ListParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware };
|
package/dist/index.d.ts
CHANGED
|
@@ -822,6 +822,54 @@ interface DealListParams extends ListParams {
|
|
|
822
822
|
interface DealListResponse extends PaginatedResponse {
|
|
823
823
|
deals: Deal[];
|
|
824
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* Inline customer data for deal creation/update.
|
|
827
|
+
* Matches existing customers by domain or shopifyDomain.
|
|
828
|
+
* If no match found, creates a new customer.
|
|
829
|
+
*/
|
|
830
|
+
interface DealCustomerInput {
|
|
831
|
+
/** The name of the customer */
|
|
832
|
+
name?: string;
|
|
833
|
+
/** The email of the customer */
|
|
834
|
+
email?: string;
|
|
835
|
+
/** The domain of the customer (used for matching existing customers) */
|
|
836
|
+
domain?: string;
|
|
837
|
+
/** The Shopify domain of the customer (used for matching existing customers) */
|
|
838
|
+
shopifyDomain?: string;
|
|
839
|
+
/** The Shopify shop ID */
|
|
840
|
+
shopifyShopId?: string;
|
|
841
|
+
/** Tags to associate with the customer */
|
|
842
|
+
tags?: string[];
|
|
843
|
+
/** Custom fields for the customer */
|
|
844
|
+
customFields?: Record<string, unknown>;
|
|
845
|
+
/** The country code of the customer */
|
|
846
|
+
countryCode?: string;
|
|
847
|
+
/** The preferred currency of the customer */
|
|
848
|
+
preferredCurrency?: string;
|
|
849
|
+
/** Description of the customer */
|
|
850
|
+
description?: string;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Inline contact data for deal creation/update.
|
|
854
|
+
* Matches existing contacts by email.
|
|
855
|
+
* Contacts are linked to both the customer and the deal.
|
|
856
|
+
*/
|
|
857
|
+
interface DealContactInput {
|
|
858
|
+
/** The email of the contact (required, used for matching existing contacts) */
|
|
859
|
+
email: string;
|
|
860
|
+
/** The name of the contact */
|
|
861
|
+
name?: string;
|
|
862
|
+
/** The phone number of the contact */
|
|
863
|
+
phone?: string;
|
|
864
|
+
/** The job title of the contact */
|
|
865
|
+
jobTitle?: string;
|
|
866
|
+
/** The label for the contact relationship (e.g., "primary", "technical") */
|
|
867
|
+
label?: string;
|
|
868
|
+
/** Notes about the contact */
|
|
869
|
+
notes?: string;
|
|
870
|
+
/** Tags for the contact */
|
|
871
|
+
tags?: string[];
|
|
872
|
+
}
|
|
825
873
|
/**
|
|
826
874
|
* Parameters for creating a deal
|
|
827
875
|
*/
|
|
@@ -836,14 +884,26 @@ interface DealCreateParams {
|
|
|
836
884
|
closedAt?: string;
|
|
837
885
|
dealFlowId?: string;
|
|
838
886
|
dealStageId?: string;
|
|
887
|
+
/** The ID of an existing customer (alternative to customer object) */
|
|
839
888
|
customerId?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Create or update a customer inline (alternative to customerId).
|
|
891
|
+
* Matches existing customers by domain or shopifyDomain.
|
|
892
|
+
*/
|
|
893
|
+
customer?: DealCustomerInput;
|
|
840
894
|
domain?: string;
|
|
841
895
|
shopifyDomain?: string;
|
|
842
896
|
companyId?: string;
|
|
843
897
|
appId?: string;
|
|
844
898
|
planId?: string;
|
|
845
899
|
ownerIds?: string[];
|
|
900
|
+
/** Array of existing contact IDs (alternative to contacts array) */
|
|
846
901
|
contactIds?: string[];
|
|
902
|
+
/**
|
|
903
|
+
* Create or update contacts inline (alternative to contactIds).
|
|
904
|
+
* Matches existing contacts by email. Contacts are linked to both the customer and the deal.
|
|
905
|
+
*/
|
|
906
|
+
contacts?: DealContactInput[];
|
|
847
907
|
notes?: string;
|
|
848
908
|
affiliateId?: string;
|
|
849
909
|
partnershipId?: string;
|
|
@@ -3176,4 +3236,4 @@ interface AuthRefreshOptions {
|
|
|
3176
3236
|
*/
|
|
3177
3237
|
declare function createAuthRefreshMiddleware(options: AuthRefreshOptions): Middleware;
|
|
3178
3238
|
|
|
3179
|
-
export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentListResponse, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealCreateParams, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocTreeNode, type DocTreeResponse, DocsResource, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowCreateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type ListParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware };
|
|
3239
|
+
export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentListResponse, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocTreeNode, type DocTreeResponse, DocsResource, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowCreateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type ListParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware };
|