@coast/coast-api-client 2.0.247 → 2.0.248

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.
@@ -1,5 +1,5 @@
1
1
  import type { AbilityCheck } from '@coast/core-api-types/auth/AbilityCheck';
2
- import type { ChannelMembership } from '@coast/core-api-types/auth/ChannelMembership';
2
+ import type { ChannelMembershipGql } from '@coast/core-api-types/auth/ChannelMembershipGql';
3
3
  import type { CheckAbility } from '@coast/core-api-types/auth/CheckAbility';
4
4
  import type { CreateChannelMembership } from '@coast/core-api-types/auth/CreateChannelMembership';
5
5
  import type { ListChannelMemberships } from '@coast/core-api-types/auth/ListChannelMemberships';
@@ -183,10 +183,10 @@ export declare class CoastApiClient {
183
183
  getWorkflowTemplate(coastCallOptions: CoastCallOptions, workflowTemplateId: string): Promise<WorkflowTemplateGql>;
184
184
  listWorkflowTemplateRefs(coastCallOptions: CoastCallOptions, workflowTemplateIds: string[]): Promise<WorkflowTemplateRef[]>;
185
185
  call<T, Y>(coastCallOptions: CoastCallOptions, query: GqlRequestBody<T, Y>): Promise<GqlResponse<Y>['body']['data']>;
186
- createChannelMemberships(coastCallOptions: CoastCallOptions, input: CreateChannelMembership[]): Promise<ChannelMembership[] | undefined>;
186
+ createChannelMemberships(coastCallOptions: CoastCallOptions, input: CreateChannelMembership[]): Promise<ChannelMembershipGql[] | undefined>;
187
187
  getUser(coastCallOptions: CoastCallOptions, id: number): Promise<User>;
188
- updateChannelMembership(coastCallOptions: CoastCallOptions, input: UpdateChannelMembership): Promise<ChannelMembership>;
189
- listChannelMemberships(coastCallOptions: CoastCallOptions, input: ListChannelMemberships): Promise<ChannelMembership[]>;
188
+ updateChannelMembership(coastCallOptions: CoastCallOptions, input: UpdateChannelMembership): Promise<ChannelMembershipGql>;
189
+ listChannelMemberships(coastCallOptions: CoastCallOptions, input: ListChannelMemberships): Promise<ChannelMembershipGql[]>;
190
190
  listUsers(coastCallOptions: CoastCallOptions, input: ListUsers): Promise<ListUsersResult>;
191
191
  listChannels(coastCallOptions: CoastCallOptions, input: ListChannels): Promise<Channel[]>;
192
192
  listBusinesses(coastCallOptions: CoastCallOptions, input: ListBusinesses): Promise<ListBusinessesResult>;
@@ -1,5 +1,5 @@
1
1
  import type { AbilityCheck } from '@coast/core-api-types/auth/AbilityCheck';
2
- import type { ChannelMembership } from '@coast/core-api-types/auth/ChannelMembership';
2
+ import type { ChannelMembershipGql } from '@coast/core-api-types/auth/ChannelMembershipGql';
3
3
  import type { CheckAbility } from '@coast/core-api-types/auth/CheckAbility';
4
4
  import type { ListChannelMemberships } from '@coast/core-api-types/auth/ListChannelMemberships';
5
5
  import { ListActivityFeedItems } from '@coast/core-api-types/activity-feed/ListActivityFeedItems';
@@ -278,16 +278,16 @@ export declare class CoastApiRequests {
278
278
  getBusiness: Business;
279
279
  }>;
280
280
  static createChannelMemberships(input: CreateChannelMembership[]): GqlRequestBody<CreateChannelMembership[], {
281
- createChannelMemberships: ChannelMembership[];
281
+ createChannelMemberships: ChannelMembershipGql[];
282
282
  }>;
283
283
  static updateChannelMembership(input: UpdateChannelMembership): GqlRequestBody<UpdateChannelMembership, {
284
- updateChannelMembership: ChannelMembership;
284
+ updateChannelMembership: ChannelMembershipGql;
285
285
  }>;
286
286
  static getUser(id: number): GqlRequestBody<number, {
287
287
  getUser: User;
288
288
  }>;
289
289
  static listChannelMemberships(input: ListChannelMemberships): GqlRequestBody<ListChannelMemberships, {
290
- listChannelMemberships: ChannelMembership[];
290
+ listChannelMemberships: ChannelMembershipGql[];
291
291
  }>;
292
292
  static listUsers(input: ListUsers): GqlRequestBody<ListUsers, {
293
293
  listUsers: ListUsersResult;