Skip to content

Commit

Permalink
add cbp code for users group
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloromolini committed Oct 27, 2023
1 parent 7246525 commit 30c306e
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/codegen/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 79 additions & 0 deletions zendesk/group_users_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions zendesk/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ type UserAPI interface {
GetOrganizationUsersIterator(ctx context.Context, opts *PaginationOptions) *Iterator[User]
GetOrganizationUsersOBP(ctx context.Context, opts *OBPOptions) ([]User, Page, error)
GetOrganizationUsersCBP(ctx context.Context, opts *CBPOptions) ([]User, CursorPaginationMeta, error)
GetGroupUsersOBP(ctx context.Context, opts *OBPOptions) ([]User, Page, error)
GetGroupUsersCBP(ctx context.Context, opts *CBPOptions) ([]User, CursorPaginationMeta, error)
}

// GetUsers fetch user list
Expand Down

0 comments on commit 30c306e

Please sign in to comment.