@supernova-studio/client 1.4.3 → 1.4.4
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 +51 -51
- package/dist/index.d.ts +51 -51
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2385,7 +2385,8 @@ var PageBlockItemFigmaComponentValue = z46.object({
|
|
|
2385
2385
|
entityId: z46.string(),
|
|
2386
2386
|
entityType: z46.enum(["FigmaComponent"]),
|
|
2387
2387
|
entityMeta: z46.object({
|
|
2388
|
-
selectedComponentProperties: z46.string().array().optional()
|
|
2388
|
+
selectedComponentProperties: z46.string().array().optional(),
|
|
2389
|
+
selectedComponentVariants: z46.record(z46.string().array()).optional()
|
|
2389
2390
|
}).optional()
|
|
2390
2391
|
})
|
|
2391
2392
|
).default([])
|
|
@@ -8394,6 +8395,20 @@ var DesignSystemsEndpoint = class {
|
|
|
8394
8395
|
}
|
|
8395
8396
|
};
|
|
8396
8397
|
|
|
8398
|
+
// src/api/endpoints/workspaces/integrations.ts
|
|
8399
|
+
import { z as z270 } from "zod";
|
|
8400
|
+
var WorkspaceIntegrationsEndpoint = class {
|
|
8401
|
+
constructor(requestExecutor) {
|
|
8402
|
+
this.requestExecutor = requestExecutor;
|
|
8403
|
+
}
|
|
8404
|
+
list(wsId) {
|
|
8405
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
8406
|
+
}
|
|
8407
|
+
delete(wsId, iId) {
|
|
8408
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z270.unknown(), { method: "DELETE" });
|
|
8409
|
+
}
|
|
8410
|
+
};
|
|
8411
|
+
|
|
8397
8412
|
// src/api/endpoints/workspaces/invites.ts
|
|
8398
8413
|
var WorkspaceInvitationsEndpoint = class {
|
|
8399
8414
|
constructor(requestExecutor) {
|
|
@@ -8422,7 +8437,7 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
8422
8437
|
};
|
|
8423
8438
|
|
|
8424
8439
|
// src/api/endpoints/workspaces/members.ts
|
|
8425
|
-
import { z as
|
|
8440
|
+
import { z as z271 } from "zod";
|
|
8426
8441
|
var WorkspaceMembersEndpoint = class {
|
|
8427
8442
|
constructor(requestExecutor) {
|
|
8428
8443
|
this.requestExecutor = requestExecutor;
|
|
@@ -8439,7 +8454,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
8439
8454
|
});
|
|
8440
8455
|
}
|
|
8441
8456
|
invite(workspaceId, body) {
|
|
8442
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
8457
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z271.any(), { method: "POST", body });
|
|
8443
8458
|
}
|
|
8444
8459
|
delete(workspaceId, userId) {
|
|
8445
8460
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -8450,22 +8465,6 @@ var WorkspaceMembersEndpoint = class {
|
|
|
8450
8465
|
|
|
8451
8466
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
8452
8467
|
import { z as z272 } from "zod";
|
|
8453
|
-
|
|
8454
|
-
// src/api/endpoints/workspaces/integrations.ts
|
|
8455
|
-
import { z as z271 } from "zod";
|
|
8456
|
-
var WorkspaceIntegrationsEndpoint = class {
|
|
8457
|
-
constructor(requestExecutor) {
|
|
8458
|
-
this.requestExecutor = requestExecutor;
|
|
8459
|
-
}
|
|
8460
|
-
list(wsId) {
|
|
8461
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
8462
|
-
}
|
|
8463
|
-
delete(wsId, iId) {
|
|
8464
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z271.unknown(), { method: "DELETE" });
|
|
8465
|
-
}
|
|
8466
|
-
};
|
|
8467
|
-
|
|
8468
|
-
// src/api/endpoints/workspaces/workspaces.ts
|
|
8469
8468
|
var WorkspacesEndpoint = class {
|
|
8470
8469
|
constructor(requestExecutor) {
|
|
8471
8470
|
this.requestExecutor = requestExecutor;
|
|
@@ -14466,6 +14465,7 @@ export {
|
|
|
14466
14465
|
VersionSQSPayload,
|
|
14467
14466
|
VersionStatsEndpoint,
|
|
14468
14467
|
WorkspaceConfigurationPayload,
|
|
14468
|
+
WorkspaceIntegrationsEndpoint,
|
|
14469
14469
|
WorkspaceInvitationsEndpoint,
|
|
14470
14470
|
WorkspaceMembersEndpoint,
|
|
14471
14471
|
WorkspacesEndpoint,
|