@supernova-studio/client 0.47.5 → 0.47.7
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 +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/payloads/workspaces/workspace-integrations.ts +10 -0
package/dist/index.mjs
CHANGED
|
@@ -3209,6 +3209,9 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
3209
3209
|
static wrongFormat(message) {
|
|
3210
3210
|
return new _SupernovaException("WrongFormat", message);
|
|
3211
3211
|
}
|
|
3212
|
+
static validationError(message) {
|
|
3213
|
+
return new _SupernovaException("ValidationError", message);
|
|
3214
|
+
}
|
|
3212
3215
|
static accessDenied(message) {
|
|
3213
3216
|
return new _SupernovaException("AccessDenied", message);
|
|
3214
3217
|
}
|
|
@@ -4459,6 +4462,18 @@ var DTOWorkspaceIntegrationPATInput = z165.object({
|
|
|
4459
4462
|
type: IntegrationType,
|
|
4460
4463
|
token: IntegrationToken
|
|
4461
4464
|
});
|
|
4465
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z165.object({
|
|
4466
|
+
organization: z165.string().optional(),
|
|
4467
|
+
// Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
|
|
4468
|
+
project: z165.string().optional(),
|
|
4469
|
+
// Only for Bitbucket and Azure
|
|
4470
|
+
repository: z165.string().optional(),
|
|
4471
|
+
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
4472
|
+
branch: z165.string().optional(),
|
|
4473
|
+
// For all providers.
|
|
4474
|
+
user: z165.string().optional()
|
|
4475
|
+
// Only for Gitlab
|
|
4476
|
+
});
|
|
4462
4477
|
|
|
4463
4478
|
// src/api/dto/design-systems/version.ts
|
|
4464
4479
|
var DTODesignSystemVersion = z166.object({
|
|
@@ -9047,6 +9062,7 @@ export {
|
|
|
9047
9062
|
DTOUserWorkspaceMembership,
|
|
9048
9063
|
DTOUserWorkspaceMembershipsResponse,
|
|
9049
9064
|
DTOWorkspace,
|
|
9065
|
+
DTOWorkspaceIntegrationGetGitObjectsInput,
|
|
9050
9066
|
DTOWorkspaceIntegrationOauthInput,
|
|
9051
9067
|
DTOWorkspaceIntegrationPATInput,
|
|
9052
9068
|
DTOWorkspaceRole,
|