@supernova-studio/client 0.55.31 → 0.55.32
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/index.d.mts +1 -68
- package/dist/index.d.ts +1 -68
- package/dist/index.js +3 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/workspaces/invitations.ts +0 -10
- package/src/api/endpoints/workspaces/workspace-invites.ts +1 -17
package/dist/index.mjs
CHANGED
|
@@ -3817,16 +3817,14 @@ var DesignSystemInvitation = z132.object({
|
|
|
3817
3817
|
id: z132.string(),
|
|
3818
3818
|
designSystemId: z132.string(),
|
|
3819
3819
|
workspaceInvitationId: z132.string(),
|
|
3820
|
-
designSystemRole: DesignSystemRole.optional()
|
|
3821
|
-
workspaceRole: WorkspaceRoleSchema.optional()
|
|
3820
|
+
designSystemRole: DesignSystemRole.optional()
|
|
3822
3821
|
});
|
|
3823
3822
|
var DesignSystemMembership = z133.object({
|
|
3824
3823
|
id: z133.string(),
|
|
3825
3824
|
userId: z133.string(),
|
|
3826
3825
|
designSystemId: z133.string(),
|
|
3827
3826
|
designSystemRole: DesignSystemRole.optional(),
|
|
3828
|
-
workspaceMembershipId: z133.string()
|
|
3829
|
-
workspaceRole: WorkspaceRoleSchema.optional()
|
|
3827
|
+
workspaceMembershipId: z133.string()
|
|
3830
3828
|
});
|
|
3831
3829
|
var DesignSystemMembers = z133.object({
|
|
3832
3830
|
members: DesignSystemMembership.array(),
|
|
@@ -5635,12 +5633,6 @@ var DTOWorkspaceInvitationsListInput = z199.object({
|
|
|
5635
5633
|
var DTOWorkspaceInvitationsResponse = z199.object({
|
|
5636
5634
|
invitations: WorkspaceInvitation.array()
|
|
5637
5635
|
});
|
|
5638
|
-
var DTOWorkspaceInviteUpdate = z199.object({
|
|
5639
|
-
role: WorkspaceRoleSchema
|
|
5640
|
-
});
|
|
5641
|
-
var DTOWorkspaceInvitationUpdateResponse = z199.object({
|
|
5642
|
-
invitation: WorkspaceInvitation
|
|
5643
|
-
});
|
|
5644
5636
|
|
|
5645
5637
|
// src/api/dto/workspaces/membership.ts
|
|
5646
5638
|
import { z as z202 } from "zod";
|
|
@@ -6797,16 +6789,6 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
6797
6789
|
constructor(requestExecutor) {
|
|
6798
6790
|
this.requestExecutor = requestExecutor;
|
|
6799
6791
|
}
|
|
6800
|
-
update(workspaceId, invitationId, body) {
|
|
6801
|
-
return this.requestExecutor.json(
|
|
6802
|
-
`/workspaces/${workspaceId}/invitations/${invitationId}/role`,
|
|
6803
|
-
DTOWorkspaceInvitationUpdateResponse,
|
|
6804
|
-
{
|
|
6805
|
-
method: "PUT",
|
|
6806
|
-
body
|
|
6807
|
-
}
|
|
6808
|
-
);
|
|
6809
|
-
}
|
|
6810
6792
|
list(workspaceId) {
|
|
6811
6793
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/invitations`, DTOWorkspaceInvitationsResponse, {
|
|
6812
6794
|
method: "GET"
|
|
@@ -12162,10 +12144,8 @@ export {
|
|
|
12162
12144
|
DTOWorkspaceIntegrationOauthInput,
|
|
12163
12145
|
DTOWorkspaceIntegrationPATInput,
|
|
12164
12146
|
DTOWorkspaceInvitationInput,
|
|
12165
|
-
DTOWorkspaceInvitationUpdateResponse,
|
|
12166
12147
|
DTOWorkspaceInvitationsListInput,
|
|
12167
12148
|
DTOWorkspaceInvitationsResponse,
|
|
12168
|
-
DTOWorkspaceInviteUpdate,
|
|
12169
12149
|
DTOWorkspaceMember,
|
|
12170
12150
|
DTOWorkspaceMembersListResponse,
|
|
12171
12151
|
DTOWorkspaceResponse,
|