@heymantle/core-api-client 0.2.2 → 0.2.4

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 CHANGED
@@ -505,7 +505,8 @@ type paths = {
505
505
  content: {
506
506
  "application/json": {
507
507
  affiliates: components["schemas"]["Affiliate"][];
508
- } & components["schemas"]["Pagination"];
508
+ total?: number;
509
+ } & components["schemas"]["CursorPagination"];
509
510
  };
510
511
  };
511
512
  401: components["responses"]["401"];
@@ -4508,7 +4509,7 @@ type paths = {
4508
4509
  /** @description The ID of the resource */
4509
4510
  resourceId: string;
4510
4511
  /** @description The type of resource */
4511
- resourceType: "customer" | "ticket" | "conversation" | "deal";
4512
+ resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4512
4513
  };
4513
4514
  header?: never;
4514
4515
  path?: never;
@@ -4585,7 +4586,7 @@ type paths = {
4585
4586
  * @description The type of resource
4586
4587
  * @enum {string}
4587
4588
  */
4588
- resourceType: "customer" | "ticket" | "conversation" | "deal";
4589
+ resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4589
4590
  /** @description The value to store. For select_single use a string, for select_multiple use an array of strings. */
4590
4591
  value: string | boolean | number | Record<string, never> | string[];
4591
4592
  };
@@ -4612,7 +4613,7 @@ type paths = {
4612
4613
  * @description The type of resource
4613
4614
  * @enum {string}
4614
4615
  */
4615
- resourceType?: "customer" | "ticket" | "conversation" | "deal";
4616
+ resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4616
4617
  /**
4617
4618
  * @description The data type of this custom data field
4618
4619
  * @enum {string}
@@ -12626,6 +12627,13 @@ type paths = {
12626
12627
  };
12627
12628
  content: {
12628
12629
  "application/json": {
12630
+ /** @description The AI bot identity for this organization, if configured. Use this to display the correct name and avatar for system messages. */
12631
+ bot?: {
12632
+ /** @description Avatar image URL for the AI bot agent. */
12633
+ imageUrl?: string | null;
12634
+ /** @description Display name of the AI bot agent. */
12635
+ name?: string;
12636
+ } | null;
12629
12637
  messages: components["schemas"]["TicketMessage"][];
12630
12638
  } & components["schemas"]["Pagination"];
12631
12639
  };
@@ -16555,6 +16563,8 @@ type components = {
16555
16563
  domain?: string;
16556
16564
  email?: string;
16557
16565
  id?: string;
16566
+ /** @description The customer's myshopify.com domain. */
16567
+ myshopifyDomain?: string | null;
16558
16568
  name?: string;
16559
16569
  };
16560
16570
  TicketEvent: {
@@ -17496,10 +17506,11 @@ declare class AffiliatesResource extends BaseResource {
17496
17506
  type?: string | undefined;
17497
17507
  } | null | undefined;
17498
17508
  }[];
17499
- cursor?: string | undefined;
17509
+ total?: number | undefined;
17500
17510
  hasNextPage?: boolean | undefined;
17501
17511
  hasPreviousPage?: boolean | undefined;
17502
- total?: number | undefined;
17512
+ nextCursor?: string | undefined;
17513
+ previousCursor?: string | undefined;
17503
17514
  }>;
17504
17515
  get(affiliateId: string): Promise<{
17505
17516
  affiliate?: {
@@ -18569,7 +18580,7 @@ declare class CustomDataResource extends BaseResource {
18569
18580
  name?: string | undefined;
18570
18581
  options?: string[] | null | undefined;
18571
18582
  resourceId?: string | undefined;
18572
- resourceType?: "customer" | "ticket" | "conversation" | "deal" | undefined;
18583
+ resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity" | undefined;
18573
18584
  type?: "string" | "boolean" | "url" | "date" | "date_time" | "json" | "number_integer" | "number_decimal" | "select_single" | "select_multiple" | undefined;
18574
18585
  value?: string | number | boolean | {} | string[] | undefined;
18575
18586
  } | undefined;
@@ -23779,6 +23790,7 @@ declare class TicketsResource extends BaseResource {
23779
23790
  domain?: string | undefined;
23780
23791
  email?: string | undefined;
23781
23792
  id?: string | undefined;
23793
+ myshopifyDomain?: string | null | undefined;
23782
23794
  name?: string | undefined;
23783
23795
  } | undefined;
23784
23796
  firstResponseAt?: string | null | undefined;
@@ -23864,6 +23876,7 @@ declare class TicketsResource extends BaseResource {
23864
23876
  domain?: string | undefined;
23865
23877
  email?: string | undefined;
23866
23878
  id?: string | undefined;
23879
+ myshopifyDomain?: string | null | undefined;
23867
23880
  name?: string | undefined;
23868
23881
  } | undefined;
23869
23882
  firstResponseAt?: string | null | undefined;
@@ -24091,6 +24104,10 @@ declare class TicketsResource extends BaseResource {
24091
24104
  };
24092
24105
  }>;
24093
24106
  listMessages(ticketId: string, params?: paths['/tickets/{id}/messages']['get']['parameters']['query']): Promise<{
24107
+ bot?: {
24108
+ imageUrl?: string | null | undefined;
24109
+ name?: string | undefined;
24110
+ } | null | undefined;
24094
24111
  messages: {
24095
24112
  actorType: "customer" | "agent" | "system";
24096
24113
  agent?: {
@@ -24234,6 +24251,7 @@ declare class TicketsResource extends BaseResource {
24234
24251
  domain?: string | undefined;
24235
24252
  email?: string | undefined;
24236
24253
  id?: string | undefined;
24254
+ myshopifyDomain?: string | null | undefined;
24237
24255
  name?: string | undefined;
24238
24256
  } | undefined;
24239
24257
  firstResponseAt?: string | null | undefined;
@@ -24315,6 +24333,7 @@ declare class TicketsResource extends BaseResource {
24315
24333
  domain?: string | undefined;
24316
24334
  email?: string | undefined;
24317
24335
  id?: string | undefined;
24336
+ myshopifyDomain?: string | null | undefined;
24318
24337
  name?: string | undefined;
24319
24338
  } | undefined;
24320
24339
  firstResponseAt?: string | null | undefined;
@@ -24727,59 +24746,155 @@ declare class MantleCoreClient {
24727
24746
  }): void;
24728
24747
  }
24729
24748
 
24730
- type Customer = components['schemas']['Customer'];
24731
- type Contact = components['schemas']['Contact'];
24732
- type Company = components['schemas']['Company'];
24733
- type Deal = components['schemas']['Deal'];
24734
- type DealFlow = components['schemas']['DealFlow'];
24735
- type DealStage = components['schemas']['DealStage'];
24736
- type DealActivity = components['schemas']['DealActivity'];
24737
- type DealEvent = components['schemas']['DealEvent'];
24738
- type Task = components['schemas']['Task'];
24739
- type TaskTodoItem = components['schemas']['TaskTodoItem'];
24740
- type App = components['schemas']['App'];
24741
- type Plan = components['schemas']['Plan'];
24742
- type PlanFeature = components['schemas']['PlanFeature'];
24743
- type Feature = components['schemas']['Feature'];
24744
- type Subscription = components['schemas']['Subscription'];
24745
- type Charge = components['schemas']['Charge'];
24746
- type Transaction = components['schemas']['Transaction'];
24747
- type UsageEvent = components['schemas']['UsageEvent'];
24748
- type UsageMetric = components['schemas']['UsageMetric'];
24749
- type AppEvent = components['schemas']['AppEvent'];
24750
- type Review = components['schemas']['Review'];
24751
- type Ticket = components['schemas']['Ticket'];
24752
- type TicketMessage = components['schemas']['TicketMessage'];
24753
- type TicketEvent = components['schemas']['TicketEvent'];
24754
24749
  type AccountOwner = components['schemas']['AccountOwner'];
24755
- type CustomField = components['schemas']['CustomField'];
24756
- type CustomerSegment = components['schemas']['CustomerSegment'];
24757
- type TimelineComment = components['schemas']['TimelineComment'];
24750
+ type AccountOwnerType = components['schemas']['AccountOwnerType'];
24751
+ type Action = components['schemas']['Action'];
24752
+ type ActiveSubscriptionsResponse = components['schemas']['ActiveSubscriptionsResponse'];
24758
24753
  type Affiliate = components['schemas']['Affiliate'];
24759
- type AffiliateProgram = components['schemas']['AffiliateProgram'];
24754
+ type AffiliateAttributionWebhook = components['schemas']['AffiliateAttributionWebhook'];
24760
24755
  type AffiliateCommission = components['schemas']['AffiliateCommission'];
24756
+ type AffiliateMembershipWebhook = components['schemas']['AffiliateMembershipWebhook'];
24761
24757
  type AffiliatePayout = components['schemas']['AffiliatePayout'];
24758
+ type AffiliatePayoutWebhook = components['schemas']['AffiliatePayoutWebhook'];
24759
+ type AffiliateProgram = components['schemas']['AffiliateProgram'];
24760
+ type AffiliateProgramGroup = components['schemas']['AffiliateProgramGroup'];
24761
+ type AffiliateProgramMembership = components['schemas']['AffiliateProgramMembership'];
24762
+ type AffiliateProgramWebhook = components['schemas']['AffiliateProgramWebhook'];
24762
24763
  type AffiliateReferral = components['schemas']['AffiliateReferral'];
24764
+ type AffiliateRules = components['schemas']['AffiliateRules'];
24765
+ type AffiliateRulesWebhook = components['schemas']['AffiliateRulesWebhook'];
24766
+ type AffiliateWebhook = components['schemas']['AffiliateWebhook'];
24767
+ type AgentRun = components['schemas']['AgentRun'];
24768
+ type App = components['schemas']['App'];
24769
+ type AppChargeWebhook = components['schemas']['AppChargeWebhook'];
24770
+ type AppEvent = components['schemas']['AppEvent'];
24771
+ type AppInstallation = components['schemas']['AppInstallation'];
24772
+ type AppInstallationWebhook = components['schemas']['AppInstallationWebhook'];
24773
+ type AppWebhook = components['schemas']['AppWebhook'];
24774
+ type BaseCustomerWebhook = components['schemas']['BaseCustomerWebhook'];
24775
+ type Charge = components['schemas']['Charge'];
24776
+ type Checklist = components['schemas']['Checklist'];
24777
+ type ChecklistStep = components['schemas']['ChecklistStep'];
24778
+ type Company = components['schemas']['Company'];
24779
+ type Contact = components['schemas']['Contact'];
24780
+ type ContactWebhook = components['schemas']['ContactWebhook'];
24781
+ type CursorPagination = components['schemas']['CursorPagination'];
24782
+ type CustomField = components['schemas']['CustomField'];
24783
+ type CustomFieldDefaultValue = components['schemas']['CustomFieldDefaultValue'];
24784
+ type Customer = components['schemas']['Customer'];
24785
+ type CustomerContact = components['schemas']['CustomerContact'];
24786
+ type CustomerContactWebhook = components['schemas']['CustomerContactWebhook'];
24787
+ type CustomerSegment = components['schemas']['CustomerSegment'];
24788
+ type CustomerWebhook = components['schemas']['CustomerWebhook'];
24789
+ type CustomerWithoutSubscriptionWebhook = components['schemas']['CustomerWithoutSubscriptionWebhook'];
24790
+ type Deal = components['schemas']['Deal'];
24791
+ type DealAcquirer = components['schemas']['DealAcquirer'];
24792
+ type DealActivity = components['schemas']['DealActivity'];
24793
+ type DealAffiliate = components['schemas']['DealAffiliate'];
24794
+ type DealApp = components['schemas']['DealApp'];
24795
+ type DealContact = components['schemas']['DealContact'];
24796
+ type DealCustomData = components['schemas']['DealCustomData'];
24797
+ type DealCustomer = components['schemas']['DealCustomer'];
24798
+ type DealEvent = components['schemas']['DealEvent'];
24799
+ type DealFlow = components['schemas']['DealFlow'];
24800
+ type DealFlowAffiliate = components['schemas']['DealFlowAffiliate'];
24801
+ type DealFlowDefaultSource = components['schemas']['DealFlowDefaultSource'];
24802
+ type DealFlowPartnership = components['schemas']['DealFlowPartnership'];
24803
+ type DealFlowStage = components['schemas']['DealFlowStage'];
24804
+ type DealFlowUser = components['schemas']['DealFlowUser'];
24805
+ type DealOwner = components['schemas']['DealOwner'];
24806
+ type DealPartnership = components['schemas']['DealPartnership'];
24807
+ type DealPlan = components['schemas']['DealPlan'];
24808
+ type DealStage = components['schemas']['DealStage'];
24809
+ type DetailedAffiliate = components['schemas']['DetailedAffiliate'];
24810
+ type DetailedFlow = components['schemas']['DetailedFlow'];
24763
24811
  type DocsCollection = components['schemas']['DocsCollection'];
24812
+ type DocsCollectionResponse = components['schemas']['DocsCollectionResponse'];
24764
24813
  type DocsGroup = components['schemas']['DocsGroup'];
24814
+ type DocsGroupResponse = components['schemas']['DocsGroupResponse'];
24765
24815
  type DocsPage = components['schemas']['DocsPage'];
24816
+ type DocsPageResponse = components['schemas']['DocsPageResponse'];
24817
+ type DocsPageSummary = components['schemas']['DocsPageSummary'];
24766
24818
  type DocsRepository = components['schemas']['DocsRepository'];
24819
+ type EmailUnsubscribeGroup = components['schemas']['EmailUnsubscribeGroup'];
24820
+ type EmailUnsubscribeGroupMember = components['schemas']['EmailUnsubscribeGroupMember'];
24821
+ type EventWebhook = components['schemas']['EventWebhook'];
24822
+ type ExtensionUninstallPayload = components['schemas']['ExtensionUninstallPayload'];
24823
+ type ExtensionWebhook = components['schemas']['ExtensionWebhook'];
24824
+ type Feature = components['schemas']['Feature'];
24825
+ type Flow = components['schemas']['Flow'];
24826
+ type FlowActionRun = components['schemas']['FlowActionRun'];
24827
+ type InvalidTokenError = components['schemas']['InvalidTokenError'];
24828
+ type Invoice = components['schemas']['Invoice'];
24829
+ type InvoiceWebhook = components['schemas']['InvoiceWebhook'];
24830
+ type JournalEntry = components['schemas']['JournalEntry'];
24831
+ type JournalEntryApp = components['schemas']['JournalEntryApp'];
24832
+ type JournalEntryFile = components['schemas']['JournalEntryFile'];
24833
+ type List = components['schemas']['List'];
24834
+ type LogoChurnResponse = components['schemas']['LogoChurnResponse'];
24767
24835
  type Meeting = components['schemas']['Meeting'];
24768
24836
  type MeetingAttendee = components['schemas']['MeetingAttendee'];
24837
+ type MeetingAttendeeRef = components['schemas']['MeetingAttendeeRef'];
24838
+ type MeetingContactRef = components['schemas']['MeetingContactRef'];
24839
+ type MeetingCustomer = components['schemas']['MeetingCustomer'];
24840
+ type MeetingDeal = components['schemas']['MeetingDeal'];
24841
+ type MeetingTaskSuggestion = components['schemas']['MeetingTaskSuggestion'];
24769
24842
  type MeetingTranscript = components['schemas']['MeetingTranscript'];
24843
+ type MeetingUser = components['schemas']['MeetingUser'];
24770
24844
  type MeetingUtterance = components['schemas']['MeetingUtterance'];
24771
- type Flow = components['schemas']['Flow'];
24772
- type FlowActionRun = components['schemas']['FlowActionRun'];
24773
- type EmailUnsubscribeGroup = components['schemas']['EmailUnsubscribeGroup'];
24774
- type EmailUnsubscribeGroupMember = components['schemas']['EmailUnsubscribeGroupMember'];
24775
- type List = components['schemas']['List'];
24776
- type JournalEntry = components['schemas']['JournalEntry'];
24845
+ type MissingScopesError = components['schemas']['MissingScopesError'];
24846
+ type MrrResponse = components['schemas']['MrrResponse'];
24847
+ type NetInstallsResponse = components['schemas']['NetInstallsResponse'];
24848
+ type NetRevenueResponse = components['schemas']['NetRevenueResponse'];
24849
+ type NetRevenueRetentionResponse = components['schemas']['NetRevenueRetentionResponse'];
24777
24850
  type Organization = components['schemas']['Organization'];
24851
+ type Pagination = components['schemas']['Pagination'];
24852
+ type PayoutResponse = components['schemas']['PayoutResponse'];
24853
+ type Plan = components['schemas']['Plan'];
24854
+ type PlanFeature = components['schemas']['PlanFeature'];
24855
+ type PlanFeatureWebhook = components['schemas']['PlanFeatureWebhook'];
24856
+ type PlanUsageChargeWebhook = components['schemas']['PlanUsageChargeWebhook'];
24857
+ type PlanWebhook = components['schemas']['PlanWebhook'];
24858
+ type PredictedLtvResponse = components['schemas']['PredictedLtvResponse'];
24859
+ type RevenueRetentionResponse = components['schemas']['RevenueRetentionResponse'];
24860
+ type Review = components['schemas']['Review'];
24861
+ type ReviewWebhook = components['schemas']['ReviewWebhook'];
24862
+ type StandardMetricResponse = components['schemas']['StandardMetricResponse'];
24863
+ type Subscription = components['schemas']['Subscription'];
24864
+ type SubscriptionWebhook = components['schemas']['SubscriptionWebhook'];
24865
+ type SyncedEmail = components['schemas']['SyncedEmail'];
24866
+ type SyncedEmailContact = components['schemas']['SyncedEmailContact'];
24867
+ type SyncedEmailCustomer = components['schemas']['SyncedEmailCustomer'];
24868
+ type SyncedEmailDeal = components['schemas']['SyncedEmailDeal'];
24869
+ type SyncedEmailMessage = components['schemas']['SyncedEmailMessage'];
24870
+ type SyncedEmailUser = components['schemas']['SyncedEmailUser'];
24871
+ type Task = components['schemas']['Task'];
24872
+ type TaskTodoItem = components['schemas']['TaskTodoItem'];
24873
+ type ThreadEventType = components['schemas']['ThreadEventType'];
24874
+ type ThreadMessageWebhook = components['schemas']['ThreadMessageWebhook'];
24875
+ type ThreadWebhook = components['schemas']['ThreadWebhook'];
24876
+ type Ticket = components['schemas']['Ticket'];
24877
+ type TicketAgent = components['schemas']['TicketAgent'];
24878
+ type TicketApp = components['schemas']['TicketApp'];
24879
+ type TicketAttachment = components['schemas']['TicketAttachment'];
24880
+ type TicketChannel = components['schemas']['TicketChannel'];
24881
+ type TicketContact = components['schemas']['TicketContact'];
24882
+ type TicketCustomer = components['schemas']['TicketCustomer'];
24883
+ type TicketEvent = components['schemas']['TicketEvent'];
24884
+ type TicketLoop = components['schemas']['TicketLoop'];
24885
+ type TicketMessage = components['schemas']['TicketMessage'];
24886
+ type TimeSeriesDataPoint = components['schemas']['TimeSeriesDataPoint'];
24887
+ type TimelineComment = components['schemas']['TimelineComment'];
24888
+ type Transaction = components['schemas']['Transaction'];
24889
+ type TransactionWebhook = components['schemas']['TransactionWebhook'];
24890
+ type Trigger = components['schemas']['Trigger'];
24891
+ type UninstallEventWebhook = components['schemas']['UninstallEventWebhook'];
24892
+ type UsageEvent = components['schemas']['UsageEvent'];
24893
+ type UsageEventResponse = components['schemas']['UsageEventResponse'];
24894
+ type UsageMetric = components['schemas']['UsageMetric'];
24895
+ type UsageMetricResponse = components['schemas']['UsageMetricResponse'];
24778
24896
  type User = components['schemas']['User'];
24779
24897
  type Webhook = components['schemas']['Webhook'];
24780
- type AgentRun = components['schemas']['AgentRun'];
24781
- type Pagination = components['schemas']['Pagination'];
24782
- type CursorPagination = components['schemas']['CursorPagination'];
24783
24898
 
24784
24899
  /**
24785
24900
  * Base error class for Mantle API errors
@@ -24905,4 +25020,4 @@ interface RateLimitOptions {
24905
25020
  */
24906
25021
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
24907
25022
 
24908
- export { type AccountOwner, type Affiliate, type AffiliateCommission, AffiliateCommissionsResource, type AffiliatePayout, AffiliatePayoutsResource, type AffiliateProgram, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, AffiliatesResource, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppEvent, AppsResource, type AuthRefreshOptions, BaseResource, ChannelsResource, type Charge, ChargesResource, CompaniesResource, type Company, type Contact, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type Customer, type CustomerSegment, CustomerSegmentsResource, CustomersResource, type Deal, DealActivitiesResource, type DealActivity, type DealEvent, type DealFlow, DealFlowsResource, type DealStage, DealsResource, type DocsCollection, type DocsGroup, type DocsPage, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, JournalEntriesResource, type JournalEntry, type List, ListsResource, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingTranscript, type MeetingUtterance, MeetingsResource, MetricsResource, type Organization, OrganizationResource, type Pagination, type Plan, type PlanFeature, type RateLimitOptions, type Review, type Subscription, SubscriptionsResource, SyncedEmailsResource, type Task, type TaskTodoItem, TasksResource, type Ticket, type TicketEvent, type TicketMessage, TicketsResource, type TimelineComment, TimelineCommentsResource, type Transaction, TransactionsResource, type UsageEvent, UsageEventsResource, type UsageMetric, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };
25023
+ export { type AccountOwner, type AccountOwnerType, type Action, type ActiveSubscriptionsResponse, type Affiliate, type AffiliateAttributionWebhook, type AffiliateCommission, AffiliateCommissionsResource, type AffiliateMembershipWebhook, type AffiliatePayout, type AffiliatePayoutWebhook, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramGroup, type AffiliateProgramMembership, type AffiliateProgramWebhook, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, type AffiliateRules, type AffiliateRulesWebhook, type AffiliateWebhook, AffiliatesResource, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppChargeWebhook, type AppEvent, type AppInstallation, type AppInstallationWebhook, type AppWebhook, AppsResource, type AuthRefreshOptions, type BaseCustomerWebhook, BaseResource, ChannelsResource, type Charge, ChargesResource, type Checklist, type ChecklistStep, CompaniesResource, type Company, type Contact, type ContactWebhook, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type CustomFieldDefaultValue, type Customer, type CustomerContact, type CustomerContactWebhook, type CustomerSegment, CustomerSegmentsResource, type CustomerWebhook, type CustomerWithoutSubscriptionWebhook, CustomersResource, type Deal, type DealAcquirer, DealActivitiesResource, type DealActivity, type DealAffiliate, type DealApp, type DealContact, type DealCustomData, type DealCustomer, type DealEvent, type DealFlow, type DealFlowAffiliate, type DealFlowDefaultSource, type DealFlowPartnership, type DealFlowStage, type DealFlowUser, DealFlowsResource, type DealOwner, type DealPartnership, type DealPlan, type DealStage, DealsResource, type DetailedAffiliate, type DetailedFlow, type DocsCollection, type DocsCollectionResponse, type DocsGroup, type DocsGroupResponse, type DocsPage, type DocsPageResponse, type DocsPageSummary, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type EventWebhook, type ExtensionUninstallPayload, type ExtensionWebhook, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, type InvalidTokenError, type Invoice, type InvoiceWebhook, JournalEntriesResource, type JournalEntry, type JournalEntryApp, type JournalEntryFile, type List, ListsResource, type LogoChurnResponse, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingAttendeeRef, type MeetingContactRef, type MeetingCustomer, type MeetingDeal, type MeetingTaskSuggestion, type MeetingTranscript, type MeetingUser, type MeetingUtterance, MeetingsResource, MetricsResource, type MissingScopesError, type MrrResponse, type NetInstallsResponse, type NetRevenueResponse, type NetRevenueRetentionResponse, type Organization, OrganizationResource, type Pagination, type PayoutResponse, type Plan, type PlanFeature, type PlanFeatureWebhook, type PlanUsageChargeWebhook, type PlanWebhook, type PredictedLtvResponse, type RateLimitOptions, type RevenueRetentionResponse, type Review, type ReviewWebhook, type StandardMetricResponse, type Subscription, type SubscriptionWebhook, SubscriptionsResource, type SyncedEmail, type SyncedEmailContact, type SyncedEmailCustomer, type SyncedEmailDeal, type SyncedEmailMessage, type SyncedEmailUser, SyncedEmailsResource, type Task, type TaskTodoItem, TasksResource, type ThreadEventType, type ThreadMessageWebhook, type ThreadWebhook, type Ticket, type TicketAgent, type TicketApp, type TicketAttachment, type TicketChannel, type TicketContact, type TicketCustomer, type TicketEvent, type TicketLoop, type TicketMessage, TicketsResource, type TimeSeriesDataPoint, type TimelineComment, TimelineCommentsResource, type Transaction, type TransactionWebhook, TransactionsResource, type Trigger, type UninstallEventWebhook, type UsageEvent, type UsageEventResponse, UsageEventsResource, type UsageMetric, type UsageMetricResponse, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };
package/dist/index.d.ts CHANGED
@@ -505,7 +505,8 @@ type paths = {
505
505
  content: {
506
506
  "application/json": {
507
507
  affiliates: components["schemas"]["Affiliate"][];
508
- } & components["schemas"]["Pagination"];
508
+ total?: number;
509
+ } & components["schemas"]["CursorPagination"];
509
510
  };
510
511
  };
511
512
  401: components["responses"]["401"];
@@ -4508,7 +4509,7 @@ type paths = {
4508
4509
  /** @description The ID of the resource */
4509
4510
  resourceId: string;
4510
4511
  /** @description The type of resource */
4511
- resourceType: "customer" | "ticket" | "conversation" | "deal";
4512
+ resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4512
4513
  };
4513
4514
  header?: never;
4514
4515
  path?: never;
@@ -4585,7 +4586,7 @@ type paths = {
4585
4586
  * @description The type of resource
4586
4587
  * @enum {string}
4587
4588
  */
4588
- resourceType: "customer" | "ticket" | "conversation" | "deal";
4589
+ resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4589
4590
  /** @description The value to store. For select_single use a string, for select_multiple use an array of strings. */
4590
4591
  value: string | boolean | number | Record<string, never> | string[];
4591
4592
  };
@@ -4612,7 +4613,7 @@ type paths = {
4612
4613
  * @description The type of resource
4613
4614
  * @enum {string}
4614
4615
  */
4615
- resourceType?: "customer" | "ticket" | "conversation" | "deal";
4616
+ resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
4616
4617
  /**
4617
4618
  * @description The data type of this custom data field
4618
4619
  * @enum {string}
@@ -12626,6 +12627,13 @@ type paths = {
12626
12627
  };
12627
12628
  content: {
12628
12629
  "application/json": {
12630
+ /** @description The AI bot identity for this organization, if configured. Use this to display the correct name and avatar for system messages. */
12631
+ bot?: {
12632
+ /** @description Avatar image URL for the AI bot agent. */
12633
+ imageUrl?: string | null;
12634
+ /** @description Display name of the AI bot agent. */
12635
+ name?: string;
12636
+ } | null;
12629
12637
  messages: components["schemas"]["TicketMessage"][];
12630
12638
  } & components["schemas"]["Pagination"];
12631
12639
  };
@@ -16555,6 +16563,8 @@ type components = {
16555
16563
  domain?: string;
16556
16564
  email?: string;
16557
16565
  id?: string;
16566
+ /** @description The customer's myshopify.com domain. */
16567
+ myshopifyDomain?: string | null;
16558
16568
  name?: string;
16559
16569
  };
16560
16570
  TicketEvent: {
@@ -17496,10 +17506,11 @@ declare class AffiliatesResource extends BaseResource {
17496
17506
  type?: string | undefined;
17497
17507
  } | null | undefined;
17498
17508
  }[];
17499
- cursor?: string | undefined;
17509
+ total?: number | undefined;
17500
17510
  hasNextPage?: boolean | undefined;
17501
17511
  hasPreviousPage?: boolean | undefined;
17502
- total?: number | undefined;
17512
+ nextCursor?: string | undefined;
17513
+ previousCursor?: string | undefined;
17503
17514
  }>;
17504
17515
  get(affiliateId: string): Promise<{
17505
17516
  affiliate?: {
@@ -18569,7 +18580,7 @@ declare class CustomDataResource extends BaseResource {
18569
18580
  name?: string | undefined;
18570
18581
  options?: string[] | null | undefined;
18571
18582
  resourceId?: string | undefined;
18572
- resourceType?: "customer" | "ticket" | "conversation" | "deal" | undefined;
18583
+ resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity" | undefined;
18573
18584
  type?: "string" | "boolean" | "url" | "date" | "date_time" | "json" | "number_integer" | "number_decimal" | "select_single" | "select_multiple" | undefined;
18574
18585
  value?: string | number | boolean | {} | string[] | undefined;
18575
18586
  } | undefined;
@@ -23779,6 +23790,7 @@ declare class TicketsResource extends BaseResource {
23779
23790
  domain?: string | undefined;
23780
23791
  email?: string | undefined;
23781
23792
  id?: string | undefined;
23793
+ myshopifyDomain?: string | null | undefined;
23782
23794
  name?: string | undefined;
23783
23795
  } | undefined;
23784
23796
  firstResponseAt?: string | null | undefined;
@@ -23864,6 +23876,7 @@ declare class TicketsResource extends BaseResource {
23864
23876
  domain?: string | undefined;
23865
23877
  email?: string | undefined;
23866
23878
  id?: string | undefined;
23879
+ myshopifyDomain?: string | null | undefined;
23867
23880
  name?: string | undefined;
23868
23881
  } | undefined;
23869
23882
  firstResponseAt?: string | null | undefined;
@@ -24091,6 +24104,10 @@ declare class TicketsResource extends BaseResource {
24091
24104
  };
24092
24105
  }>;
24093
24106
  listMessages(ticketId: string, params?: paths['/tickets/{id}/messages']['get']['parameters']['query']): Promise<{
24107
+ bot?: {
24108
+ imageUrl?: string | null | undefined;
24109
+ name?: string | undefined;
24110
+ } | null | undefined;
24094
24111
  messages: {
24095
24112
  actorType: "customer" | "agent" | "system";
24096
24113
  agent?: {
@@ -24234,6 +24251,7 @@ declare class TicketsResource extends BaseResource {
24234
24251
  domain?: string | undefined;
24235
24252
  email?: string | undefined;
24236
24253
  id?: string | undefined;
24254
+ myshopifyDomain?: string | null | undefined;
24237
24255
  name?: string | undefined;
24238
24256
  } | undefined;
24239
24257
  firstResponseAt?: string | null | undefined;
@@ -24315,6 +24333,7 @@ declare class TicketsResource extends BaseResource {
24315
24333
  domain?: string | undefined;
24316
24334
  email?: string | undefined;
24317
24335
  id?: string | undefined;
24336
+ myshopifyDomain?: string | null | undefined;
24318
24337
  name?: string | undefined;
24319
24338
  } | undefined;
24320
24339
  firstResponseAt?: string | null | undefined;
@@ -24727,59 +24746,155 @@ declare class MantleCoreClient {
24727
24746
  }): void;
24728
24747
  }
24729
24748
 
24730
- type Customer = components['schemas']['Customer'];
24731
- type Contact = components['schemas']['Contact'];
24732
- type Company = components['schemas']['Company'];
24733
- type Deal = components['schemas']['Deal'];
24734
- type DealFlow = components['schemas']['DealFlow'];
24735
- type DealStage = components['schemas']['DealStage'];
24736
- type DealActivity = components['schemas']['DealActivity'];
24737
- type DealEvent = components['schemas']['DealEvent'];
24738
- type Task = components['schemas']['Task'];
24739
- type TaskTodoItem = components['schemas']['TaskTodoItem'];
24740
- type App = components['schemas']['App'];
24741
- type Plan = components['schemas']['Plan'];
24742
- type PlanFeature = components['schemas']['PlanFeature'];
24743
- type Feature = components['schemas']['Feature'];
24744
- type Subscription = components['schemas']['Subscription'];
24745
- type Charge = components['schemas']['Charge'];
24746
- type Transaction = components['schemas']['Transaction'];
24747
- type UsageEvent = components['schemas']['UsageEvent'];
24748
- type UsageMetric = components['schemas']['UsageMetric'];
24749
- type AppEvent = components['schemas']['AppEvent'];
24750
- type Review = components['schemas']['Review'];
24751
- type Ticket = components['schemas']['Ticket'];
24752
- type TicketMessage = components['schemas']['TicketMessage'];
24753
- type TicketEvent = components['schemas']['TicketEvent'];
24754
24749
  type AccountOwner = components['schemas']['AccountOwner'];
24755
- type CustomField = components['schemas']['CustomField'];
24756
- type CustomerSegment = components['schemas']['CustomerSegment'];
24757
- type TimelineComment = components['schemas']['TimelineComment'];
24750
+ type AccountOwnerType = components['schemas']['AccountOwnerType'];
24751
+ type Action = components['schemas']['Action'];
24752
+ type ActiveSubscriptionsResponse = components['schemas']['ActiveSubscriptionsResponse'];
24758
24753
  type Affiliate = components['schemas']['Affiliate'];
24759
- type AffiliateProgram = components['schemas']['AffiliateProgram'];
24754
+ type AffiliateAttributionWebhook = components['schemas']['AffiliateAttributionWebhook'];
24760
24755
  type AffiliateCommission = components['schemas']['AffiliateCommission'];
24756
+ type AffiliateMembershipWebhook = components['schemas']['AffiliateMembershipWebhook'];
24761
24757
  type AffiliatePayout = components['schemas']['AffiliatePayout'];
24758
+ type AffiliatePayoutWebhook = components['schemas']['AffiliatePayoutWebhook'];
24759
+ type AffiliateProgram = components['schemas']['AffiliateProgram'];
24760
+ type AffiliateProgramGroup = components['schemas']['AffiliateProgramGroup'];
24761
+ type AffiliateProgramMembership = components['schemas']['AffiliateProgramMembership'];
24762
+ type AffiliateProgramWebhook = components['schemas']['AffiliateProgramWebhook'];
24762
24763
  type AffiliateReferral = components['schemas']['AffiliateReferral'];
24764
+ type AffiliateRules = components['schemas']['AffiliateRules'];
24765
+ type AffiliateRulesWebhook = components['schemas']['AffiliateRulesWebhook'];
24766
+ type AffiliateWebhook = components['schemas']['AffiliateWebhook'];
24767
+ type AgentRun = components['schemas']['AgentRun'];
24768
+ type App = components['schemas']['App'];
24769
+ type AppChargeWebhook = components['schemas']['AppChargeWebhook'];
24770
+ type AppEvent = components['schemas']['AppEvent'];
24771
+ type AppInstallation = components['schemas']['AppInstallation'];
24772
+ type AppInstallationWebhook = components['schemas']['AppInstallationWebhook'];
24773
+ type AppWebhook = components['schemas']['AppWebhook'];
24774
+ type BaseCustomerWebhook = components['schemas']['BaseCustomerWebhook'];
24775
+ type Charge = components['schemas']['Charge'];
24776
+ type Checklist = components['schemas']['Checklist'];
24777
+ type ChecklistStep = components['schemas']['ChecklistStep'];
24778
+ type Company = components['schemas']['Company'];
24779
+ type Contact = components['schemas']['Contact'];
24780
+ type ContactWebhook = components['schemas']['ContactWebhook'];
24781
+ type CursorPagination = components['schemas']['CursorPagination'];
24782
+ type CustomField = components['schemas']['CustomField'];
24783
+ type CustomFieldDefaultValue = components['schemas']['CustomFieldDefaultValue'];
24784
+ type Customer = components['schemas']['Customer'];
24785
+ type CustomerContact = components['schemas']['CustomerContact'];
24786
+ type CustomerContactWebhook = components['schemas']['CustomerContactWebhook'];
24787
+ type CustomerSegment = components['schemas']['CustomerSegment'];
24788
+ type CustomerWebhook = components['schemas']['CustomerWebhook'];
24789
+ type CustomerWithoutSubscriptionWebhook = components['schemas']['CustomerWithoutSubscriptionWebhook'];
24790
+ type Deal = components['schemas']['Deal'];
24791
+ type DealAcquirer = components['schemas']['DealAcquirer'];
24792
+ type DealActivity = components['schemas']['DealActivity'];
24793
+ type DealAffiliate = components['schemas']['DealAffiliate'];
24794
+ type DealApp = components['schemas']['DealApp'];
24795
+ type DealContact = components['schemas']['DealContact'];
24796
+ type DealCustomData = components['schemas']['DealCustomData'];
24797
+ type DealCustomer = components['schemas']['DealCustomer'];
24798
+ type DealEvent = components['schemas']['DealEvent'];
24799
+ type DealFlow = components['schemas']['DealFlow'];
24800
+ type DealFlowAffiliate = components['schemas']['DealFlowAffiliate'];
24801
+ type DealFlowDefaultSource = components['schemas']['DealFlowDefaultSource'];
24802
+ type DealFlowPartnership = components['schemas']['DealFlowPartnership'];
24803
+ type DealFlowStage = components['schemas']['DealFlowStage'];
24804
+ type DealFlowUser = components['schemas']['DealFlowUser'];
24805
+ type DealOwner = components['schemas']['DealOwner'];
24806
+ type DealPartnership = components['schemas']['DealPartnership'];
24807
+ type DealPlan = components['schemas']['DealPlan'];
24808
+ type DealStage = components['schemas']['DealStage'];
24809
+ type DetailedAffiliate = components['schemas']['DetailedAffiliate'];
24810
+ type DetailedFlow = components['schemas']['DetailedFlow'];
24763
24811
  type DocsCollection = components['schemas']['DocsCollection'];
24812
+ type DocsCollectionResponse = components['schemas']['DocsCollectionResponse'];
24764
24813
  type DocsGroup = components['schemas']['DocsGroup'];
24814
+ type DocsGroupResponse = components['schemas']['DocsGroupResponse'];
24765
24815
  type DocsPage = components['schemas']['DocsPage'];
24816
+ type DocsPageResponse = components['schemas']['DocsPageResponse'];
24817
+ type DocsPageSummary = components['schemas']['DocsPageSummary'];
24766
24818
  type DocsRepository = components['schemas']['DocsRepository'];
24819
+ type EmailUnsubscribeGroup = components['schemas']['EmailUnsubscribeGroup'];
24820
+ type EmailUnsubscribeGroupMember = components['schemas']['EmailUnsubscribeGroupMember'];
24821
+ type EventWebhook = components['schemas']['EventWebhook'];
24822
+ type ExtensionUninstallPayload = components['schemas']['ExtensionUninstallPayload'];
24823
+ type ExtensionWebhook = components['schemas']['ExtensionWebhook'];
24824
+ type Feature = components['schemas']['Feature'];
24825
+ type Flow = components['schemas']['Flow'];
24826
+ type FlowActionRun = components['schemas']['FlowActionRun'];
24827
+ type InvalidTokenError = components['schemas']['InvalidTokenError'];
24828
+ type Invoice = components['schemas']['Invoice'];
24829
+ type InvoiceWebhook = components['schemas']['InvoiceWebhook'];
24830
+ type JournalEntry = components['schemas']['JournalEntry'];
24831
+ type JournalEntryApp = components['schemas']['JournalEntryApp'];
24832
+ type JournalEntryFile = components['schemas']['JournalEntryFile'];
24833
+ type List = components['schemas']['List'];
24834
+ type LogoChurnResponse = components['schemas']['LogoChurnResponse'];
24767
24835
  type Meeting = components['schemas']['Meeting'];
24768
24836
  type MeetingAttendee = components['schemas']['MeetingAttendee'];
24837
+ type MeetingAttendeeRef = components['schemas']['MeetingAttendeeRef'];
24838
+ type MeetingContactRef = components['schemas']['MeetingContactRef'];
24839
+ type MeetingCustomer = components['schemas']['MeetingCustomer'];
24840
+ type MeetingDeal = components['schemas']['MeetingDeal'];
24841
+ type MeetingTaskSuggestion = components['schemas']['MeetingTaskSuggestion'];
24769
24842
  type MeetingTranscript = components['schemas']['MeetingTranscript'];
24843
+ type MeetingUser = components['schemas']['MeetingUser'];
24770
24844
  type MeetingUtterance = components['schemas']['MeetingUtterance'];
24771
- type Flow = components['schemas']['Flow'];
24772
- type FlowActionRun = components['schemas']['FlowActionRun'];
24773
- type EmailUnsubscribeGroup = components['schemas']['EmailUnsubscribeGroup'];
24774
- type EmailUnsubscribeGroupMember = components['schemas']['EmailUnsubscribeGroupMember'];
24775
- type List = components['schemas']['List'];
24776
- type JournalEntry = components['schemas']['JournalEntry'];
24845
+ type MissingScopesError = components['schemas']['MissingScopesError'];
24846
+ type MrrResponse = components['schemas']['MrrResponse'];
24847
+ type NetInstallsResponse = components['schemas']['NetInstallsResponse'];
24848
+ type NetRevenueResponse = components['schemas']['NetRevenueResponse'];
24849
+ type NetRevenueRetentionResponse = components['schemas']['NetRevenueRetentionResponse'];
24777
24850
  type Organization = components['schemas']['Organization'];
24851
+ type Pagination = components['schemas']['Pagination'];
24852
+ type PayoutResponse = components['schemas']['PayoutResponse'];
24853
+ type Plan = components['schemas']['Plan'];
24854
+ type PlanFeature = components['schemas']['PlanFeature'];
24855
+ type PlanFeatureWebhook = components['schemas']['PlanFeatureWebhook'];
24856
+ type PlanUsageChargeWebhook = components['schemas']['PlanUsageChargeWebhook'];
24857
+ type PlanWebhook = components['schemas']['PlanWebhook'];
24858
+ type PredictedLtvResponse = components['schemas']['PredictedLtvResponse'];
24859
+ type RevenueRetentionResponse = components['schemas']['RevenueRetentionResponse'];
24860
+ type Review = components['schemas']['Review'];
24861
+ type ReviewWebhook = components['schemas']['ReviewWebhook'];
24862
+ type StandardMetricResponse = components['schemas']['StandardMetricResponse'];
24863
+ type Subscription = components['schemas']['Subscription'];
24864
+ type SubscriptionWebhook = components['schemas']['SubscriptionWebhook'];
24865
+ type SyncedEmail = components['schemas']['SyncedEmail'];
24866
+ type SyncedEmailContact = components['schemas']['SyncedEmailContact'];
24867
+ type SyncedEmailCustomer = components['schemas']['SyncedEmailCustomer'];
24868
+ type SyncedEmailDeal = components['schemas']['SyncedEmailDeal'];
24869
+ type SyncedEmailMessage = components['schemas']['SyncedEmailMessage'];
24870
+ type SyncedEmailUser = components['schemas']['SyncedEmailUser'];
24871
+ type Task = components['schemas']['Task'];
24872
+ type TaskTodoItem = components['schemas']['TaskTodoItem'];
24873
+ type ThreadEventType = components['schemas']['ThreadEventType'];
24874
+ type ThreadMessageWebhook = components['schemas']['ThreadMessageWebhook'];
24875
+ type ThreadWebhook = components['schemas']['ThreadWebhook'];
24876
+ type Ticket = components['schemas']['Ticket'];
24877
+ type TicketAgent = components['schemas']['TicketAgent'];
24878
+ type TicketApp = components['schemas']['TicketApp'];
24879
+ type TicketAttachment = components['schemas']['TicketAttachment'];
24880
+ type TicketChannel = components['schemas']['TicketChannel'];
24881
+ type TicketContact = components['schemas']['TicketContact'];
24882
+ type TicketCustomer = components['schemas']['TicketCustomer'];
24883
+ type TicketEvent = components['schemas']['TicketEvent'];
24884
+ type TicketLoop = components['schemas']['TicketLoop'];
24885
+ type TicketMessage = components['schemas']['TicketMessage'];
24886
+ type TimeSeriesDataPoint = components['schemas']['TimeSeriesDataPoint'];
24887
+ type TimelineComment = components['schemas']['TimelineComment'];
24888
+ type Transaction = components['schemas']['Transaction'];
24889
+ type TransactionWebhook = components['schemas']['TransactionWebhook'];
24890
+ type Trigger = components['schemas']['Trigger'];
24891
+ type UninstallEventWebhook = components['schemas']['UninstallEventWebhook'];
24892
+ type UsageEvent = components['schemas']['UsageEvent'];
24893
+ type UsageEventResponse = components['schemas']['UsageEventResponse'];
24894
+ type UsageMetric = components['schemas']['UsageMetric'];
24895
+ type UsageMetricResponse = components['schemas']['UsageMetricResponse'];
24778
24896
  type User = components['schemas']['User'];
24779
24897
  type Webhook = components['schemas']['Webhook'];
24780
- type AgentRun = components['schemas']['AgentRun'];
24781
- type Pagination = components['schemas']['Pagination'];
24782
- type CursorPagination = components['schemas']['CursorPagination'];
24783
24898
 
24784
24899
  /**
24785
24900
  * Base error class for Mantle API errors
@@ -24905,4 +25020,4 @@ interface RateLimitOptions {
24905
25020
  */
24906
25021
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
24907
25022
 
24908
- export { type AccountOwner, type Affiliate, type AffiliateCommission, AffiliateCommissionsResource, type AffiliatePayout, AffiliatePayoutsResource, type AffiliateProgram, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, AffiliatesResource, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppEvent, AppsResource, type AuthRefreshOptions, BaseResource, ChannelsResource, type Charge, ChargesResource, CompaniesResource, type Company, type Contact, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type Customer, type CustomerSegment, CustomerSegmentsResource, CustomersResource, type Deal, DealActivitiesResource, type DealActivity, type DealEvent, type DealFlow, DealFlowsResource, type DealStage, DealsResource, type DocsCollection, type DocsGroup, type DocsPage, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, JournalEntriesResource, type JournalEntry, type List, ListsResource, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingTranscript, type MeetingUtterance, MeetingsResource, MetricsResource, type Organization, OrganizationResource, type Pagination, type Plan, type PlanFeature, type RateLimitOptions, type Review, type Subscription, SubscriptionsResource, SyncedEmailsResource, type Task, type TaskTodoItem, TasksResource, type Ticket, type TicketEvent, type TicketMessage, TicketsResource, type TimelineComment, TimelineCommentsResource, type Transaction, TransactionsResource, type UsageEvent, UsageEventsResource, type UsageMetric, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };
25023
+ export { type AccountOwner, type AccountOwnerType, type Action, type ActiveSubscriptionsResponse, type Affiliate, type AffiliateAttributionWebhook, type AffiliateCommission, AffiliateCommissionsResource, type AffiliateMembershipWebhook, type AffiliatePayout, type AffiliatePayoutWebhook, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramGroup, type AffiliateProgramMembership, type AffiliateProgramWebhook, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, type AffiliateRules, type AffiliateRulesWebhook, type AffiliateWebhook, AffiliatesResource, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppChargeWebhook, type AppEvent, type AppInstallation, type AppInstallationWebhook, type AppWebhook, AppsResource, type AuthRefreshOptions, type BaseCustomerWebhook, BaseResource, ChannelsResource, type Charge, ChargesResource, type Checklist, type ChecklistStep, CompaniesResource, type Company, type Contact, type ContactWebhook, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type CustomFieldDefaultValue, type Customer, type CustomerContact, type CustomerContactWebhook, type CustomerSegment, CustomerSegmentsResource, type CustomerWebhook, type CustomerWithoutSubscriptionWebhook, CustomersResource, type Deal, type DealAcquirer, DealActivitiesResource, type DealActivity, type DealAffiliate, type DealApp, type DealContact, type DealCustomData, type DealCustomer, type DealEvent, type DealFlow, type DealFlowAffiliate, type DealFlowDefaultSource, type DealFlowPartnership, type DealFlowStage, type DealFlowUser, DealFlowsResource, type DealOwner, type DealPartnership, type DealPlan, type DealStage, DealsResource, type DetailedAffiliate, type DetailedFlow, type DocsCollection, type DocsCollectionResponse, type DocsGroup, type DocsGroupResponse, type DocsPage, type DocsPageResponse, type DocsPageSummary, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type EventWebhook, type ExtensionUninstallPayload, type ExtensionWebhook, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, type InvalidTokenError, type Invoice, type InvoiceWebhook, JournalEntriesResource, type JournalEntry, type JournalEntryApp, type JournalEntryFile, type List, ListsResource, type LogoChurnResponse, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingAttendeeRef, type MeetingContactRef, type MeetingCustomer, type MeetingDeal, type MeetingTaskSuggestion, type MeetingTranscript, type MeetingUser, type MeetingUtterance, MeetingsResource, MetricsResource, type MissingScopesError, type MrrResponse, type NetInstallsResponse, type NetRevenueResponse, type NetRevenueRetentionResponse, type Organization, OrganizationResource, type Pagination, type PayoutResponse, type Plan, type PlanFeature, type PlanFeatureWebhook, type PlanUsageChargeWebhook, type PlanWebhook, type PredictedLtvResponse, type RateLimitOptions, type RevenueRetentionResponse, type Review, type ReviewWebhook, type StandardMetricResponse, type Subscription, type SubscriptionWebhook, SubscriptionsResource, type SyncedEmail, type SyncedEmailContact, type SyncedEmailCustomer, type SyncedEmailDeal, type SyncedEmailMessage, type SyncedEmailUser, SyncedEmailsResource, type Task, type TaskTodoItem, TasksResource, type ThreadEventType, type ThreadMessageWebhook, type ThreadWebhook, type Ticket, type TicketAgent, type TicketApp, type TicketAttachment, type TicketChannel, type TicketContact, type TicketCustomer, type TicketEvent, type TicketLoop, type TicketMessage, TicketsResource, type TimeSeriesDataPoint, type TimelineComment, TimelineCommentsResource, type Transaction, type TransactionWebhook, TransactionsResource, type Trigger, type UninstallEventWebhook, type UsageEvent, type UsageEventResponse, UsageEventsResource, type UsageMetric, type UsageMetricResponse, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heymantle/core-api-client",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "TypeScript SDK for the Mantle Core API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",