Skip to content

Commit

Permalink
[DEV-12883] Add contactTags client to the grand API client
Browse files Browse the repository at this point in the history
  • Loading branch information
e1himself committed Apr 25, 2024
1 parent d9d0ae4 commit 3a9ad1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Client.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import type { DeferredJobsApiClient } from './api';
import { createApiClient, createDeferredJobsApiClient, type Fetch } from './api';
import { Contacts } from './endpoints';
import {
Accounts,
Billing,
NewsroomSubscriptions,
Campaigns,
CampaignRecipients,
Contacts,
ContactTags,
ContactsExports,
Coverage,
Jobs,
Expand Down Expand Up @@ -47,6 +48,7 @@ export interface Client {
campaigns: Campaigns.Client;
campaignRecipients: CampaignRecipients.Client;
contacts: Contacts.Client;
contactTags: ContactTags.Client;
contactsExports: ContactsExports.Client;
coverage: Coverage.Client;
jobs: Jobs.Client;
Expand Down Expand Up @@ -93,6 +95,7 @@ export function createClient({
campaigns: Campaigns.createClient(api),
campaignRecipients: CampaignRecipients.createClient(api),
contacts: Contacts.createClient(api),
contactTags: ContactTags.createClient(api),
contactsExports: ContactsExports.createClient(api),
coverage: Coverage.createClient(api),
jobs: Jobs.createClient(api),
Expand Down
1 change: 1 addition & 0 deletions src/endpoints/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * as Accounts from './Accounts';
export * as Billing from './Billing';
export * as CampaignRecipients from './CampaignRecipients';
export * as Campaigns from './Campaigns';
export * as ContactTags from './ContactTags';
export * as Contacts from './Contacts';
export * as ContactsExports from './ContactsExports';
export * as Coverage from './Coverage';
Expand Down

0 comments on commit 3a9ad1b

Please sign in to comment.