@flashbacktech/flashbackclient 0.2.30 → 0.2.31
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.
- package/dist/api/client.d.ts +1 -0
- package/dist/api/client.js +3 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
204
204
|
removeUserFromWorkspace: (workspaceId: string, userId: string) => Promise<WorkspaceTypes.RemoveUserFromWorkspaceResponse>;
|
|
205
205
|
getOrganizationUsers: () => Promise<ListOrgUsersResponse>;
|
|
206
206
|
createOrganizationUser: (request: CreateOrgUserRequest) => Promise<CreateOrgUserResponse>;
|
|
207
|
+
resendTeamUserInvitation: (userId: string) => Promise<ActionResponse>;
|
|
207
208
|
getOrganizationUser: (userId: string) => Promise<OrgUserResponse | {
|
|
208
209
|
success: false;
|
|
209
210
|
message: string;
|
package/dist/api/client.js
CHANGED
|
@@ -494,6 +494,9 @@ class ApiClient {
|
|
|
494
494
|
this.createOrganizationUser = async (request) => {
|
|
495
495
|
return this.makeRequest('organization/users', 'POST', request);
|
|
496
496
|
};
|
|
497
|
+
this.resendTeamUserInvitation = async (userId) => {
|
|
498
|
+
return this.makeRequest(`organization/users/${userId}/resend-invitation`, 'POST', null);
|
|
499
|
+
};
|
|
497
500
|
this.getOrganizationUser = async (userId) => {
|
|
498
501
|
return this.makeRequest(`organization/users/${userId}`, 'GET', null);
|
|
499
502
|
};
|