Skip to content

Commit 7d6ff66

Browse files
committed
remove list assembly notifications method
it was already removed in the backend, see #125
1 parent e8c7db4 commit 7d6ff66

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

src/Transloadit.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ import type {
2424
CreateTemplateParams,
2525
EditTemplateParams,
2626
ListAssembliesParams,
27-
AssemblyNotification,
28-
ListAssemblyNotificationsParams,
2927
ListedAssembly,
3028
ListedTemplate,
3129
ListTemplateCredentialsParams,
@@ -411,28 +409,6 @@ export class Transloadit {
411409
})
412410
}
413411

414-
/**
415-
* List all assembly notifications
416-
*
417-
* @param params optional request options
418-
* @returns the list of Assembly notifications
419-
*/
420-
async listAssemblyNotifications(
421-
params: ListAssemblyNotificationsParams
422-
): Promise<PaginationListWithCount<AssemblyNotification>> {
423-
return this._remoteJson({
424-
urlSuffix: '/assembly_notifications',
425-
method: 'get',
426-
params: params || {},
427-
})
428-
}
429-
430-
streamAssemblyNotifications(
431-
params: ListAssemblyNotificationsParams
432-
): PaginationStream<AssemblyNotification> {
433-
return new PaginationStream(async (page) => this.listAssemblyNotifications({ ...params, page }))
434-
}
435-
436412
/**
437413
* List all assemblies
438414
*

src/apiTypes.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@ export interface ReplayAssemblyNotificationResponse {
7979
notification_id: string
8080
}
8181

82-
export type ListAssemblyNotificationsParams = OptionalAuthParams & {
83-
[key: string]: any // todo
84-
}
85-
86-
export type AssemblyNotification = {
87-
[key: string]: any // todo
88-
}
89-
9082
export type TemplateContent = Pick<
9183
CreateAssemblyParams,
9284
'allow_steps_override' | 'steps' | 'auth' | 'notify_url'

0 commit comments

Comments
 (0)