Skip to content

Commit cba7933

Browse files
committed
Actually expose templates endpoint in the SDK
1 parent a316f00 commit cba7933

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Client.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import {
3030
Snippets,
3131
Stories,
3232
Subscriptions,
33+
Templates,
3334
} from './endpoints';
3435
import type { HeadersMap } from './http';
3536
import { createHttpClient } from './http';
@@ -68,12 +69,13 @@ export interface Client {
6869
newsroomGalleries: NewsroomGalleries.Client;
6970
newsroomHub: NewsroomHub.Client;
7071
newsroomSubscriptions: NewsroomSubscriptions.Client;
72+
notificationSubscriptions: NotificationSubscriptions.Client;
7173
pricingTables: PricingTables.Client;
7274
senderAddresses: SenderAddresses.Client;
7375
stories: Stories.Client;
7476
snippets: Snippets.Client;
7577
subscriptions: Subscriptions.Client;
76-
notificationSubscriptions: NotificationSubscriptions.Client;
78+
templates: Templates.Client;
7779
}
7880

7981
export function createClient({
@@ -114,11 +116,12 @@ export function createClient({
114116
newsroomGalleries: NewsroomGalleries.createClient(api),
115117
newsroomHub: NewsroomHub.createClient(api),
116118
newsroomSubscriptions: NewsroomSubscriptions.createClient(api),
119+
notificationSubscriptions: NotificationSubscriptions.createClient(api),
117120
pricingTables: PricingTables.createClient(api),
118121
senderAddresses: SenderAddresses.createClient(api),
119122
stories: Stories.createClient(api),
120123
snippets: Snippets.createClient(api),
121124
subscriptions: Subscriptions.createClient(api),
122-
notificationSubscriptions: NotificationSubscriptions.createClient(api),
125+
templates: Templates.createClient(api),
123126
};
124127
}

0 commit comments

Comments
 (0)