@dazl/api-client 1.0.5 → 1.0.6
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/db/generated-types.d.ts +11 -1
- package/dist/db/generated-types.d.ts.map +1 -1
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/sdk.gen.d.ts +5 -1
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +15 -0
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +106 -0
- package/dist/internal/types.gen.d.ts.map +1 -1
- package/dist/public/index.d.ts +2 -2
- package/dist/public/index.d.ts.map +1 -1
- package/dist/public/index.js +1 -1
- package/dist/public/index.js.map +1 -1
- package/dist/public/sdk.gen.d.ts +5 -1
- package/dist/public/sdk.gen.d.ts.map +1 -1
- package/dist/public/sdk.gen.js +15 -0
- package/dist/public/sdk.gen.js.map +1 -1
- package/dist/public/types.gen.d.ts +106 -0
- package/dist/public/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/db/generated-types.ts +12 -1
- package/src/internal/index.ts +2 -2
- package/src/internal/sdk.gen.ts +18 -1
- package/src/internal/types.gen.ts +117 -0
- package/src/public/index.ts +2 -2
- package/src/public/sdk.gen.ts +18 -1
- package/src/public/types.gen.ts +117 -0
|
@@ -24,6 +24,12 @@ export type FeatureToggle = {
|
|
|
24
24
|
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
25
25
|
updatedAt: string;
|
|
26
26
|
};
|
|
27
|
+
export type Workspace = {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
dazlUserId: string;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
};
|
|
27
33
|
export type EnsureMyUserData = {
|
|
28
34
|
body?: {
|
|
29
35
|
name?: string;
|
|
@@ -231,6 +237,106 @@ export type UpdateMyUserResponses = {
|
|
|
231
237
|
};
|
|
232
238
|
};
|
|
233
239
|
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
240
|
+
export type CreateWorkspaceData = {
|
|
241
|
+
body: {
|
|
242
|
+
name: string;
|
|
243
|
+
};
|
|
244
|
+
path?: never;
|
|
245
|
+
query?: never;
|
|
246
|
+
url: '/workspace/create';
|
|
247
|
+
};
|
|
248
|
+
export type CreateWorkspaceErrors = {
|
|
249
|
+
/**
|
|
250
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
251
|
+
*/
|
|
252
|
+
400: {
|
|
253
|
+
message: string;
|
|
254
|
+
issues?: string;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Unauthorized
|
|
258
|
+
*/
|
|
259
|
+
401: ErrorResponse;
|
|
260
|
+
/**
|
|
261
|
+
* Forbidden
|
|
262
|
+
*/
|
|
263
|
+
403: ErrorResponse;
|
|
264
|
+
/**
|
|
265
|
+
* Not Found
|
|
266
|
+
*/
|
|
267
|
+
404: ErrorResponse;
|
|
268
|
+
/**
|
|
269
|
+
* Conflict
|
|
270
|
+
*/
|
|
271
|
+
409: ErrorResponse;
|
|
272
|
+
/**
|
|
273
|
+
* Internal server error
|
|
274
|
+
*/
|
|
275
|
+
500: ErrorResponse;
|
|
276
|
+
/**
|
|
277
|
+
* Service Unavailable
|
|
278
|
+
*/
|
|
279
|
+
503: ErrorResponse;
|
|
280
|
+
};
|
|
281
|
+
export type CreateWorkspaceError = CreateWorkspaceErrors[keyof CreateWorkspaceErrors];
|
|
282
|
+
export type CreateWorkspaceResponses = {
|
|
283
|
+
/**
|
|
284
|
+
* Returns the created workspace
|
|
285
|
+
*/
|
|
286
|
+
200: {
|
|
287
|
+
workspace: Workspace;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
|
|
291
|
+
export type GetAllWorkspacesData = {
|
|
292
|
+
body?: never;
|
|
293
|
+
path?: never;
|
|
294
|
+
query?: never;
|
|
295
|
+
url: '/workspace/list';
|
|
296
|
+
};
|
|
297
|
+
export type GetAllWorkspacesErrors = {
|
|
298
|
+
/**
|
|
299
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
300
|
+
*/
|
|
301
|
+
400: {
|
|
302
|
+
message: string;
|
|
303
|
+
issues?: string;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Unauthorized
|
|
307
|
+
*/
|
|
308
|
+
401: ErrorResponse;
|
|
309
|
+
/**
|
|
310
|
+
* Forbidden
|
|
311
|
+
*/
|
|
312
|
+
403: ErrorResponse;
|
|
313
|
+
/**
|
|
314
|
+
* Not Found
|
|
315
|
+
*/
|
|
316
|
+
404: ErrorResponse;
|
|
317
|
+
/**
|
|
318
|
+
* Conflict
|
|
319
|
+
*/
|
|
320
|
+
409: ErrorResponse;
|
|
321
|
+
/**
|
|
322
|
+
* Internal server error
|
|
323
|
+
*/
|
|
324
|
+
500: ErrorResponse;
|
|
325
|
+
/**
|
|
326
|
+
* Service Unavailable
|
|
327
|
+
*/
|
|
328
|
+
503: ErrorResponse;
|
|
329
|
+
};
|
|
330
|
+
export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
|
|
331
|
+
export type GetAllWorkspacesResponses = {
|
|
332
|
+
/**
|
|
333
|
+
* Returns the list of workspaces for the current user
|
|
334
|
+
*/
|
|
335
|
+
200: {
|
|
336
|
+
workspaces: Array<Workspace>;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
|
234
340
|
export type GetPingData = {
|
|
235
341
|
body?: never;
|
|
236
342
|
path?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../src/public/types.gen.ts"],"names":[],"mappings":"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aAAa,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,aAAa,CAAC,CAAC;AAE9D,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,GAAG,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,MAAM,gBAAgB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -178,6 +178,7 @@ export interface Project {
|
|
|
178
178
|
productId: string | null;
|
|
179
179
|
updatedAt: Generated<Timestamp>;
|
|
180
180
|
userId: number;
|
|
181
|
+
workspaceId: string | null;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
export interface ProjectInitData {
|
|
@@ -290,6 +291,15 @@ export interface UserSettings {
|
|
|
290
291
|
userId: string;
|
|
291
292
|
}
|
|
292
293
|
|
|
294
|
+
export interface Workspace {
|
|
295
|
+
comments: Json | null;
|
|
296
|
+
createdAt: Generated<Timestamp>;
|
|
297
|
+
dazlUserId: string;
|
|
298
|
+
id: string;
|
|
299
|
+
name: string;
|
|
300
|
+
updatedAt: Generated<Timestamp>;
|
|
301
|
+
}
|
|
302
|
+
|
|
293
303
|
export interface DB {
|
|
294
304
|
_prisma_migrations: _PrismaMigrations;
|
|
295
305
|
AdminAction: AdminAction;
|
|
@@ -306,9 +316,9 @@ export interface DB {
|
|
|
306
316
|
NetlifyAccount: NetlifyAccount;
|
|
307
317
|
Product: Product;
|
|
308
318
|
Project: Project;
|
|
319
|
+
ProjectInitData: ProjectInitData;
|
|
309
320
|
ProjectInvitation: ProjectInvitation;
|
|
310
321
|
ProjectOnGitHub: ProjectOnGitHub;
|
|
311
|
-
ProjectInitData: ProjectInitData;
|
|
312
322
|
StripePrice: StripePrice;
|
|
313
323
|
StripeProduct: StripeProduct;
|
|
314
324
|
Template: Template;
|
|
@@ -316,4 +326,5 @@ export interface DB {
|
|
|
316
326
|
UserKeyValue: UserKeyValue;
|
|
317
327
|
UserPromotion: UserPromotion;
|
|
318
328
|
UserSettings: UserSettings;
|
|
329
|
+
Workspace: Workspace;
|
|
319
330
|
}
|
package/src/internal/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { Admin, Billing, Capture, Comments, EnvConfig, GitHub, Media, type Options, Project, Promotions, Publish, Search, Template, User, UserKeyValue, UserSettings } from './sdk.gen.ts';
|
|
4
|
-
export type { AcceptProjectInvitationData, AcceptProjectInvitationError, AcceptProjectInvitationErrors, AcceptProjectInvitationResponse, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainError, AddCustomDomainErrors, AddCustomDomainResponse, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithError, AddTemplateSharedWithErrors, AddTemplateSharedWithResponse, AddTemplateSharedWithResponses, AddUserToPromotionData, AddUserToPromotionError, AddUserToPromotionErrors, AddUserToPromotionResponse, AddUserToPromotionResponses, AdminCleanupProjectData, AdminCleanupProjectError, AdminCleanupProjectErrors, AdminCleanupProjectResponse, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateError, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponse, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogError, AdminCloneProjectLogErrors, AdminCloneProjectLogResponse, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectError, AdminDeleteProjectErrors, AdminDeleteProjectResponse, AdminDeleteProjectResponses, AdminLogActionData, AdminLogActionError, AdminLogActionErrors, AdminLogActionResponse, AdminLogActionResponses, AdminUpdateCreditsData, AdminUpdateCreditsError, AdminUpdateCreditsErrors, AdminUpdateCreditsResponse, AdminUpdateCreditsResponses, BillingPrice, BillingProduct, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdError, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponse, CancelScheduledUpdateByDazlIdResponses, CleanupProjectInput, ClientOptions, CloneProjectCreateInput, CloneProjectLogInput, CloseFeatureToggleData, CloseFeatureToggleError, CloseFeatureToggleErrors, CloseFeatureToggleResponse, CloseFeatureToggleResponses, CommentContext, CommentResolved, ConnectUserData, ConnectUserError, ConnectUserErrors, ConnectUserResponse, ConnectUserResponses, CreateCommentData, CreateCommentError, CreateCommentErrors, CreateCommentInput, CreateCommentResponse, CreateCommentResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionError, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponse, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionError, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponse, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaError, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateReplyData, CreateReplyError, CreateReplyErrors, CreateReplyInput, CreateReplyResponse, CreateReplyResponses, CreateRepositoryData, CreateRepositoryError, CreateRepositoryErrors, CreateRepositoryResponse, CreateRepositoryResponses, CreateTemplateData, CreateTemplateError, CreateTemplateErrors, CreateTemplateResponse, CreateTemplateResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CreditBucketCategories, CustomerInfo, DeactivateUserPromotionData, DeactivateUserPromotionError, DeactivateUserPromotionErrors, DeactivateUserPromotionResponse, DeactivateUserPromotionResponses, DeleteCategValuesData, DeleteCategValuesError, DeleteCategValuesErrors, DeleteCategValuesResponse, DeleteCategValuesResponses, DeleteCommentData, DeleteCommentError, DeleteCommentErrors, DeleteCommentResponse, DeleteCommentResponses, DeleteCustomDomainData, DeleteCustomDomainError, DeleteCustomDomainErrors, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectInput, DeleteProjectInvitationData, DeleteProjectInvitationError, DeleteProjectInvitationErrors, DeleteProjectInvitationResponse, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberError, DeleteProjectMemberErrors, DeleteProjectMemberResponse, DeleteProjectMemberResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteReplyData, DeleteReplyError, DeleteReplyErrors, DeleteReplyResponse, DeleteReplyResponses, DeleteSiteData, DeleteSiteError, DeleteSiteErrors, DeleteSiteResponse, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateError, DeleteTemplateErrors, DeleteTemplateResponse, DeleteTemplateResponses, Deployment, DisconnectUserData, DisconnectUserError, DisconnectUserErrors, DisconnectUserResponse, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectError, DuplicateProjectErrors, DuplicateProjectResponse, DuplicateProjectResponses, EditCommentData, EditCommentError, EditCommentErrors, EditCommentInput, EditCommentResponse, EditCommentResponses, EditReplyData, EditReplyError, EditReplyErrors, EditReplyInput, EditReplyResponse, EditReplyResponses, EnsureMyUserData, EnsureMyUserError, EnsureMyUserErrors, EnsureMyUserResponse, EnsureMyUserResponses, EnsureSiteIdData, EnsureSiteIdError, EnsureSiteIdErrors, EnsureSiteIdResponse, EnsureSiteIdResponses, ErrorResponse, FeatureToggle, FileCommentContext, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlError, GetAppInstallUrlErrors, GetAppInstallUrlResponse, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdError, GetByDazlIdErrors, GetByDazlIdResponse, GetByDazlIdResponses, GetCommentData, GetCommentError, GetCommentErrors, GetCommentResponse, GetCommentResponses, GetCustomDomainData, GetCustomDomainError, GetCustomDomainErrors, GetCustomDomainResponse, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdError, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponse, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigError, GetEntriConfigErrors, GetEntriConfigResponse, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesError, GetFeatureTogglesErrors, GetFeatureTogglesResponse, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdError, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponse, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsError, GetInstallationsErrors, GetInstallationsResponse, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployError, GetLatestDeployErrors, GetLatestDeployResponse, GetLatestDeployResponses, GetMyUserData, GetMyUserError, GetMyUserErrors, GetMyUserResponse, GetMyUserResponses, GetOAuthUrlData, GetOAuthUrlError, GetOAuthUrlErrors, GetOAuthUrlResponse, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdError, GetPriceByIdErrors, GetPriceByIdResponse, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdError, GetProjectByIdErrors, GetProjectByIdResponse, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsError, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponse, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoError, GetProjectInfoErrors, GetProjectInfoResponse, GetProjectInfoResponses, GetProjectInitDataData, GetProjectInitDataError, GetProjectInitDataErrors, GetProjectInitDataResponse, GetProjectInitDataResponses, GetPublicTemplatesData, GetPublicTemplatesError, GetPublicTemplatesErrors, GetPublicTemplatesResponse, GetPublicTemplatesResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateResponse, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationError, GetUploadConfigurationErrors, GetUploadConfigurationResponse, GetUploadConfigurationResponses, GetUserActivePromotionsData, GetUserActivePromotionsError, GetUserActivePromotionsErrors, GetUserActivePromotionsResponse, GetUserActivePromotionsResponses, GetUserByDazlIdData, GetUserByDazlIdError, GetUserByDazlIdErrors, GetUserByDazlIdResponse, GetUserByDazlIdResponses, GetUserInfoByDazlIdData, GetUserInfoByDazlIdError, GetUserInfoByDazlIdErrors, GetUserInfoByDazlIdResponse, GetUserInfoByDazlIdResponses, GetUserInfoData, GetUserInfoError, GetUserInfoErrors, GetUserInfoResponse, GetUserInfoResponses, GetUserProjectsData, GetUserProjectsError, GetUserProjectsErrors, GetUserProjectsResponse, GetUserProjectsResponses, GetUsersByDazlIdsData, GetUsersByDazlIdsError, GetUsersByDazlIdsErrors, GetUsersByDazlIdsResponse, GetUsersByDazlIdsResponses, GetUsersByEmailsData, GetUsersByEmailsError, GetUsersByEmailsErrors, GetUsersByEmailsResponse, GetUsersByEmailsResponses, GetUserTemplatesData, GetUserTemplatesError, GetUserTemplatesErrors, GetUserTemplatesResponse, GetUserTemplatesResponses, GetValuesData, GetValuesError, GetValuesErrors, GetValuesResponse, GetValuesResponses, InternalCreateCommentData, InternalCreateCommentError, InternalCreateCommentErrors, InternalCreateCommentInput, InternalCreateCommentResponse, InternalCreateCommentResponses, InternalCreateReplyData, InternalCreateReplyError, InternalCreateReplyErrors, InternalCreateReplyInput, InternalCreateReplyResponse, InternalCreateReplyResponses, InternalDeleteCommentData, InternalDeleteCommentError, InternalDeleteCommentErrors, InternalDeleteCommentResponse, InternalDeleteCommentResponses, InternalDeleteReplyData, InternalDeleteReplyError, InternalDeleteReplyErrors, InternalDeleteReplyResponse, InternalDeleteReplyResponses, InternalEditCommentData, InternalEditCommentError, InternalEditCommentErrors, InternalEditCommentInput, InternalEditCommentResponse, InternalEditCommentResponses, InternalEditReplyData, InternalEditReplyError, InternalEditReplyErrors, InternalEditReplyInput, InternalEditReplyResponse, InternalEditReplyResponses, InternalGetProjectCommentData, InternalGetProjectCommentError, InternalGetProjectCommentErrors, InternalGetProjectCommentResponse, InternalGetProjectCommentResponses, InternalListProjectCommentsData, InternalListProjectCommentsError, InternalListProjectCommentsErrors, InternalListProjectCommentsResponse, InternalListProjectCommentsResponses, InternalReopenCommentData, InternalReopenCommentError, InternalReopenCommentErrors, InternalReopenCommentResponse, InternalReopenCommentResponses, InternalResolveCommentData, InternalResolveCommentError, InternalResolveCommentErrors, InternalResolveCommentResponse, InternalResolveCommentResponses, InviteProjectMemberData, InviteProjectMemberError, InviteProjectMemberErrors, InviteProjectMemberResponse, InviteProjectMemberResponses, IsPromotionOpenData, IsPromotionOpenError, IsPromotionOpenErrors, IsPromotionOpenResponse, IsPromotionOpenResponses, ListCommentsData, ListCommentsError, ListCommentsErrors, ListCommentsResponse, ListCommentsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ManualSubtractCreditsEvent, MarkProjectAsInitializedData, MarkProjectAsInitializedError, MarkProjectAsInitializedErrors, MarkProjectAsInitializedResponse, MarkProjectAsInitializedResponses, MediaFileList, MediaItem, OpenFeatureToggleData, OpenFeatureToggleError, OpenFeatureToggleErrors, OpenFeatureToggleResponse, OpenFeatureToggleResponses, OwnerDazlId, PageCommentContext, PlanCommentContext, ProjectRaw, PromotionNames, PurgeUserAccountData, PurgeUserAccountError, PurgeUserAccountErrors, PurgeUserAccountInput, PurgeUserAccountResponse, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithError, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponse, RemoveTemplateSharedWithResponses, ReopenCommentData, ReopenCommentError, ReopenCommentErrors, ReopenCommentResponse, ReopenCommentResponses, ReplaceCategValuesData, ReplaceCategValuesError, ReplaceCategValuesErrors, ReplaceCategValuesResponse, ReplaceCategValuesResponses, ResolveCommentData, ResolveCommentError, ResolveCommentErrors, ResolveCommentResponse, ResolveCommentResponses, SaveMediaData, SaveMediaError, SaveMediaErrors, SaveMediaResponses, ScheduledUpdate, ScrapePageContentData, ScrapePageContentError, ScrapePageContentErrors, ScrapePageContentResponse, ScrapePageContentResponses, SearchWebData, SearchWebError, SearchWebErrors, SearchWebResponse, SearchWebResponses, SetValueData, SetValueError, SetValueErrors, SetValueResponse, SetValueResponses, StageCommentContext, StripeProduct, TakeScreenshotData, TakeScreenshotError, TakeScreenshotErrors, TakeScreenshotResponse, TakeScreenshotResponses, TemplateRaw, UpdateByDazlIdData, UpdateByDazlIdError, UpdateByDazlIdErrors, UpdateByDazlIdResponse, UpdateByDazlIdResponses, UpdateCreditsInput, UpdateEnvVarsData, UpdateEnvVarsError, UpdateEnvVarsErrors, UpdateEnvVarsResponse, UpdateEnvVarsResponses, UpdateMyUserData, UpdateMyUserError, UpdateMyUserErrors, UpdateMyUserResponse, UpdateMyUserResponses, UpdateProjectData, UpdateProjectError, UpdateProjectErrors, UpdateProjectResponse, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateError, UpdateTemplateErrors, UpdateTemplateResponse, UpdateTemplateResponses, UpdateUserData, UpdateUserError, UpdateUserErrors, UpdateUserResponse, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionError, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponse, UpdateUserSubscriptionResponses, UploadConfiguration, UpsertDeployInDbData, UpsertDeployInDbError, UpsertDeployInDbErrors, UpsertDeployInDbResponse, UpsertDeployInDbResponses, UserDisplayInfoResponse, UserMention, UserRaw } from './types.gen.ts';
|
|
3
|
+
export { Admin, Billing, Capture, Comments, EnvConfig, GitHub, Media, type Options, Project, Promotions, Publish, Search, Template, User, UserKeyValue, UserSettings, Workspace as Workspace2 } from './sdk.gen.ts';
|
|
4
|
+
export type { AcceptProjectInvitationData, AcceptProjectInvitationError, AcceptProjectInvitationErrors, AcceptProjectInvitationResponse, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainError, AddCustomDomainErrors, AddCustomDomainResponse, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithError, AddTemplateSharedWithErrors, AddTemplateSharedWithResponse, AddTemplateSharedWithResponses, AddUserToPromotionData, AddUserToPromotionError, AddUserToPromotionErrors, AddUserToPromotionResponse, AddUserToPromotionResponses, AdminCleanupProjectData, AdminCleanupProjectError, AdminCleanupProjectErrors, AdminCleanupProjectResponse, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateError, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponse, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogError, AdminCloneProjectLogErrors, AdminCloneProjectLogResponse, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectError, AdminDeleteProjectErrors, AdminDeleteProjectResponse, AdminDeleteProjectResponses, AdminLogActionData, AdminLogActionError, AdminLogActionErrors, AdminLogActionResponse, AdminLogActionResponses, AdminUpdateCreditsData, AdminUpdateCreditsError, AdminUpdateCreditsErrors, AdminUpdateCreditsResponse, AdminUpdateCreditsResponses, BillingPrice, BillingProduct, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdError, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponse, CancelScheduledUpdateByDazlIdResponses, CleanupProjectInput, ClientOptions, CloneProjectCreateInput, CloneProjectLogInput, CloseFeatureToggleData, CloseFeatureToggleError, CloseFeatureToggleErrors, CloseFeatureToggleResponse, CloseFeatureToggleResponses, CommentContext, CommentResolved, ConnectUserData, ConnectUserError, ConnectUserErrors, ConnectUserResponse, ConnectUserResponses, CreateCommentData, CreateCommentError, CreateCommentErrors, CreateCommentInput, CreateCommentResponse, CreateCommentResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionError, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponse, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionError, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponse, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaError, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateReplyData, CreateReplyError, CreateReplyErrors, CreateReplyInput, CreateReplyResponse, CreateReplyResponses, CreateRepositoryData, CreateRepositoryError, CreateRepositoryErrors, CreateRepositoryResponse, CreateRepositoryResponses, CreateTemplateData, CreateTemplateError, CreateTemplateErrors, CreateTemplateResponse, CreateTemplateResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CreateWorkspaceData, CreateWorkspaceError, CreateWorkspaceErrors, CreateWorkspaceResponse, CreateWorkspaceResponses, CreditBucketCategories, CustomerInfo, DeactivateUserPromotionData, DeactivateUserPromotionError, DeactivateUserPromotionErrors, DeactivateUserPromotionResponse, DeactivateUserPromotionResponses, DeleteCategValuesData, DeleteCategValuesError, DeleteCategValuesErrors, DeleteCategValuesResponse, DeleteCategValuesResponses, DeleteCommentData, DeleteCommentError, DeleteCommentErrors, DeleteCommentResponse, DeleteCommentResponses, DeleteCustomDomainData, DeleteCustomDomainError, DeleteCustomDomainErrors, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectInput, DeleteProjectInvitationData, DeleteProjectInvitationError, DeleteProjectInvitationErrors, DeleteProjectInvitationResponse, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberError, DeleteProjectMemberErrors, DeleteProjectMemberResponse, DeleteProjectMemberResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteReplyData, DeleteReplyError, DeleteReplyErrors, DeleteReplyResponse, DeleteReplyResponses, DeleteSiteData, DeleteSiteError, DeleteSiteErrors, DeleteSiteResponse, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateError, DeleteTemplateErrors, DeleteTemplateResponse, DeleteTemplateResponses, Deployment, DisconnectUserData, DisconnectUserError, DisconnectUserErrors, DisconnectUserResponse, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectError, DuplicateProjectErrors, DuplicateProjectResponse, DuplicateProjectResponses, EditCommentData, EditCommentError, EditCommentErrors, EditCommentInput, EditCommentResponse, EditCommentResponses, EditReplyData, EditReplyError, EditReplyErrors, EditReplyInput, EditReplyResponse, EditReplyResponses, EnsureMyUserData, EnsureMyUserError, EnsureMyUserErrors, EnsureMyUserResponse, EnsureMyUserResponses, EnsureSiteIdData, EnsureSiteIdError, EnsureSiteIdErrors, EnsureSiteIdResponse, EnsureSiteIdResponses, ErrorResponse, FeatureToggle, FileCommentContext, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAllWorkspacesData, GetAllWorkspacesError, GetAllWorkspacesErrors, GetAllWorkspacesResponse, GetAllWorkspacesResponses, GetAppInstallUrlData, GetAppInstallUrlError, GetAppInstallUrlErrors, GetAppInstallUrlResponse, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdError, GetByDazlIdErrors, GetByDazlIdResponse, GetByDazlIdResponses, GetCommentData, GetCommentError, GetCommentErrors, GetCommentResponse, GetCommentResponses, GetCustomDomainData, GetCustomDomainError, GetCustomDomainErrors, GetCustomDomainResponse, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdError, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponse, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigError, GetEntriConfigErrors, GetEntriConfigResponse, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesError, GetFeatureTogglesErrors, GetFeatureTogglesResponse, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdError, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponse, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsError, GetInstallationsErrors, GetInstallationsResponse, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployError, GetLatestDeployErrors, GetLatestDeployResponse, GetLatestDeployResponses, GetMyUserData, GetMyUserError, GetMyUserErrors, GetMyUserResponse, GetMyUserResponses, GetOAuthUrlData, GetOAuthUrlError, GetOAuthUrlErrors, GetOAuthUrlResponse, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdError, GetPriceByIdErrors, GetPriceByIdResponse, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdError, GetProjectByIdErrors, GetProjectByIdResponse, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsError, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponse, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoError, GetProjectInfoErrors, GetProjectInfoResponse, GetProjectInfoResponses, GetProjectInitDataData, GetProjectInitDataError, GetProjectInitDataErrors, GetProjectInitDataResponse, GetProjectInitDataResponses, GetPublicTemplatesData, GetPublicTemplatesError, GetPublicTemplatesErrors, GetPublicTemplatesResponse, GetPublicTemplatesResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateResponse, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationError, GetUploadConfigurationErrors, GetUploadConfigurationResponse, GetUploadConfigurationResponses, GetUserActivePromotionsData, GetUserActivePromotionsError, GetUserActivePromotionsErrors, GetUserActivePromotionsResponse, GetUserActivePromotionsResponses, GetUserByDazlIdData, GetUserByDazlIdError, GetUserByDazlIdErrors, GetUserByDazlIdResponse, GetUserByDazlIdResponses, GetUserInfoByDazlIdData, GetUserInfoByDazlIdError, GetUserInfoByDazlIdErrors, GetUserInfoByDazlIdResponse, GetUserInfoByDazlIdResponses, GetUserInfoData, GetUserInfoError, GetUserInfoErrors, GetUserInfoResponse, GetUserInfoResponses, GetUserProjectsData, GetUserProjectsError, GetUserProjectsErrors, GetUserProjectsResponse, GetUserProjectsResponses, GetUsersByDazlIdsData, GetUsersByDazlIdsError, GetUsersByDazlIdsErrors, GetUsersByDazlIdsResponse, GetUsersByDazlIdsResponses, GetUsersByEmailsData, GetUsersByEmailsError, GetUsersByEmailsErrors, GetUsersByEmailsResponse, GetUsersByEmailsResponses, GetUserTemplatesData, GetUserTemplatesError, GetUserTemplatesErrors, GetUserTemplatesResponse, GetUserTemplatesResponses, GetValuesData, GetValuesError, GetValuesErrors, GetValuesResponse, GetValuesResponses, InternalCreateCommentData, InternalCreateCommentError, InternalCreateCommentErrors, InternalCreateCommentInput, InternalCreateCommentResponse, InternalCreateCommentResponses, InternalCreateReplyData, InternalCreateReplyError, InternalCreateReplyErrors, InternalCreateReplyInput, InternalCreateReplyResponse, InternalCreateReplyResponses, InternalDeleteCommentData, InternalDeleteCommentError, InternalDeleteCommentErrors, InternalDeleteCommentResponse, InternalDeleteCommentResponses, InternalDeleteReplyData, InternalDeleteReplyError, InternalDeleteReplyErrors, InternalDeleteReplyResponse, InternalDeleteReplyResponses, InternalEditCommentData, InternalEditCommentError, InternalEditCommentErrors, InternalEditCommentInput, InternalEditCommentResponse, InternalEditCommentResponses, InternalEditReplyData, InternalEditReplyError, InternalEditReplyErrors, InternalEditReplyInput, InternalEditReplyResponse, InternalEditReplyResponses, InternalGetProjectCommentData, InternalGetProjectCommentError, InternalGetProjectCommentErrors, InternalGetProjectCommentResponse, InternalGetProjectCommentResponses, InternalListProjectCommentsData, InternalListProjectCommentsError, InternalListProjectCommentsErrors, InternalListProjectCommentsResponse, InternalListProjectCommentsResponses, InternalReopenCommentData, InternalReopenCommentError, InternalReopenCommentErrors, InternalReopenCommentResponse, InternalReopenCommentResponses, InternalResolveCommentData, InternalResolveCommentError, InternalResolveCommentErrors, InternalResolveCommentResponse, InternalResolveCommentResponses, InviteProjectMemberData, InviteProjectMemberError, InviteProjectMemberErrors, InviteProjectMemberResponse, InviteProjectMemberResponses, IsPromotionOpenData, IsPromotionOpenError, IsPromotionOpenErrors, IsPromotionOpenResponse, IsPromotionOpenResponses, ListCommentsData, ListCommentsError, ListCommentsErrors, ListCommentsResponse, ListCommentsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ManualSubtractCreditsEvent, MarkProjectAsInitializedData, MarkProjectAsInitializedError, MarkProjectAsInitializedErrors, MarkProjectAsInitializedResponse, MarkProjectAsInitializedResponses, MediaFileList, MediaItem, OpenFeatureToggleData, OpenFeatureToggleError, OpenFeatureToggleErrors, OpenFeatureToggleResponse, OpenFeatureToggleResponses, OwnerDazlId, PageCommentContext, PlanCommentContext, ProjectRaw, PromotionNames, PurgeUserAccountData, PurgeUserAccountError, PurgeUserAccountErrors, PurgeUserAccountInput, PurgeUserAccountResponse, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithError, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponse, RemoveTemplateSharedWithResponses, ReopenCommentData, ReopenCommentError, ReopenCommentErrors, ReopenCommentResponse, ReopenCommentResponses, ReplaceCategValuesData, ReplaceCategValuesError, ReplaceCategValuesErrors, ReplaceCategValuesResponse, ReplaceCategValuesResponses, ResolveCommentData, ResolveCommentError, ResolveCommentErrors, ResolveCommentResponse, ResolveCommentResponses, SaveMediaData, SaveMediaError, SaveMediaErrors, SaveMediaResponses, ScheduledUpdate, ScrapePageContentData, ScrapePageContentError, ScrapePageContentErrors, ScrapePageContentResponse, ScrapePageContentResponses, SearchWebData, SearchWebError, SearchWebErrors, SearchWebResponse, SearchWebResponses, SetValueData, SetValueError, SetValueErrors, SetValueResponse, SetValueResponses, StageCommentContext, StripeProduct, TakeScreenshotData, TakeScreenshotError, TakeScreenshotErrors, TakeScreenshotResponse, TakeScreenshotResponses, TemplateRaw, UpdateByDazlIdData, UpdateByDazlIdError, UpdateByDazlIdErrors, UpdateByDazlIdResponse, UpdateByDazlIdResponses, UpdateCreditsInput, UpdateEnvVarsData, UpdateEnvVarsError, UpdateEnvVarsErrors, UpdateEnvVarsResponse, UpdateEnvVarsResponses, UpdateMyUserData, UpdateMyUserError, UpdateMyUserErrors, UpdateMyUserResponse, UpdateMyUserResponses, UpdateProjectData, UpdateProjectError, UpdateProjectErrors, UpdateProjectResponse, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateError, UpdateTemplateErrors, UpdateTemplateResponse, UpdateTemplateResponses, UpdateUserData, UpdateUserError, UpdateUserErrors, UpdateUserResponse, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionError, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponse, UpdateUserSubscriptionResponses, UploadConfiguration, UpsertDeployInDbData, UpsertDeployInDbError, UpsertDeployInDbErrors, UpsertDeployInDbResponse, UpsertDeployInDbResponses, UserDisplayInfoResponse, UserMention, UserRaw, Workspace } from './types.gen.ts';
|
package/src/internal/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.ts';
|
|
4
|
-
import type { AcceptProjectInvitationData, AcceptProjectInvitationErrors, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainErrors, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithErrors, AddTemplateSharedWithResponses, AddUserToPromotionData, AddUserToPromotionErrors, AddUserToPromotionResponses, AdminCleanupProjectData, AdminCleanupProjectErrors, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogErrors, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectErrors, AdminDeleteProjectResponses, AdminLogActionData, AdminLogActionErrors, AdminLogActionResponses, AdminUpdateCreditsData, AdminUpdateCreditsErrors, AdminUpdateCreditsResponses, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponses, CloseFeatureToggleData, CloseFeatureToggleErrors, CloseFeatureToggleResponses, ConnectUserData, ConnectUserErrors, ConnectUserResponses, CreateCommentData, CreateCommentErrors, CreateCommentResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateReplyData, CreateReplyErrors, CreateReplyResponses, CreateRepositoryData, CreateRepositoryErrors, CreateRepositoryResponses, CreateTemplateData, CreateTemplateErrors, CreateTemplateResponses, CreateUserData, CreateUserErrors, CreateUserResponses, DeactivateUserPromotionData, DeactivateUserPromotionErrors, DeactivateUserPromotionResponses, DeleteCategValuesData, DeleteCategValuesErrors, DeleteCategValuesResponses, DeleteCommentData, DeleteCommentErrors, DeleteCommentResponses, DeleteCustomDomainData, DeleteCustomDomainErrors, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectInvitationData, DeleteProjectInvitationErrors, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberErrors, DeleteProjectMemberResponses, DeleteProjectResponses, DeleteReplyData, DeleteReplyErrors, DeleteReplyResponses, DeleteSiteData, DeleteSiteErrors, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, DisconnectUserData, DisconnectUserErrors, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectErrors, DuplicateProjectResponses, EditCommentData, EditCommentErrors, EditCommentResponses, EditReplyData, EditReplyErrors, EditReplyResponses, EnsureMyUserData, EnsureMyUserErrors, EnsureMyUserResponses, EnsureSiteIdData, EnsureSiteIdErrors, EnsureSiteIdResponses, GetAllProductsData, GetAllProductsErrors, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlErrors, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdErrors, GetByDazlIdResponses, GetCommentData, GetCommentErrors, GetCommentResponses, GetCustomDomainData, GetCustomDomainErrors, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigErrors, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsErrors, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployErrors, GetLatestDeployResponses, GetMyUserData, GetMyUserErrors, GetMyUserResponses, GetOAuthUrlData, GetOAuthUrlErrors, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdErrors, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdErrors, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoErrors, GetProjectInfoResponses, GetProjectInitDataData, GetProjectInitDataErrors, GetProjectInitDataResponses, GetPublicTemplatesData, GetPublicTemplatesErrors, GetPublicTemplatesResponses, GetTemplateData, GetTemplateErrors, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationErrors, GetUploadConfigurationResponses, GetUserActivePromotionsData, GetUserActivePromotionsErrors, GetUserActivePromotionsResponses, GetUserByDazlIdData, GetUserByDazlIdErrors, GetUserByDazlIdResponses, GetUserInfoByDazlIdData, GetUserInfoByDazlIdErrors, GetUserInfoByDazlIdResponses, GetUserInfoData, GetUserInfoErrors, GetUserInfoResponses, GetUserProjectsData, GetUserProjectsErrors, GetUserProjectsResponses, GetUsersByDazlIdsData, GetUsersByDazlIdsErrors, GetUsersByDazlIdsResponses, GetUsersByEmailsData, GetUsersByEmailsErrors, GetUsersByEmailsResponses, GetUserTemplatesData, GetUserTemplatesErrors, GetUserTemplatesResponses, GetValuesData, GetValuesErrors, GetValuesResponses, InternalCreateCommentData, InternalCreateCommentErrors, InternalCreateCommentResponses, InternalCreateReplyData, InternalCreateReplyErrors, InternalCreateReplyResponses, InternalDeleteCommentData, InternalDeleteCommentErrors, InternalDeleteCommentResponses, InternalDeleteReplyData, InternalDeleteReplyErrors, InternalDeleteReplyResponses, InternalEditCommentData, InternalEditCommentErrors, InternalEditCommentResponses, InternalEditReplyData, InternalEditReplyErrors, InternalEditReplyResponses, InternalGetProjectCommentData, InternalGetProjectCommentErrors, InternalGetProjectCommentResponses, InternalListProjectCommentsData, InternalListProjectCommentsErrors, InternalListProjectCommentsResponses, InternalReopenCommentData, InternalReopenCommentErrors, InternalReopenCommentResponses, InternalResolveCommentData, InternalResolveCommentErrors, InternalResolveCommentResponses, InviteProjectMemberData, InviteProjectMemberErrors, InviteProjectMemberResponses, IsPromotionOpenData, IsPromotionOpenErrors, IsPromotionOpenResponses, ListCommentsData, ListCommentsErrors, ListCommentsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, MarkProjectAsInitializedData, MarkProjectAsInitializedErrors, MarkProjectAsInitializedResponses, OpenFeatureToggleData, OpenFeatureToggleErrors, OpenFeatureToggleResponses, PurgeUserAccountData, PurgeUserAccountErrors, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponses, ReopenCommentData, ReopenCommentErrors, ReopenCommentResponses, ReplaceCategValuesData, ReplaceCategValuesErrors, ReplaceCategValuesResponses, ResolveCommentData, ResolveCommentErrors, ResolveCommentResponses, SaveMediaData, SaveMediaErrors, SaveMediaResponses, ScrapePageContentData, ScrapePageContentErrors, ScrapePageContentResponses, SearchWebData, SearchWebErrors, SearchWebResponses, SetValueData, SetValueErrors, SetValueResponses, TakeScreenshotData, TakeScreenshotErrors, TakeScreenshotResponses, UpdateByDazlIdData, UpdateByDazlIdErrors, UpdateByDazlIdResponses, UpdateEnvVarsData, UpdateEnvVarsErrors, UpdateEnvVarsResponses, UpdateMyUserData, UpdateMyUserErrors, UpdateMyUserResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateErrors, UpdateTemplateResponses, UpdateUserData, UpdateUserErrors, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponses, UpsertDeployInDbData, UpsertDeployInDbErrors, UpsertDeployInDbResponses } from './types.gen.ts';
|
|
4
|
+
import type { AcceptProjectInvitationData, AcceptProjectInvitationErrors, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainErrors, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithErrors, AddTemplateSharedWithResponses, AddUserToPromotionData, AddUserToPromotionErrors, AddUserToPromotionResponses, AdminCleanupProjectData, AdminCleanupProjectErrors, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogErrors, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectErrors, AdminDeleteProjectResponses, AdminLogActionData, AdminLogActionErrors, AdminLogActionResponses, AdminUpdateCreditsData, AdminUpdateCreditsErrors, AdminUpdateCreditsResponses, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponses, CloseFeatureToggleData, CloseFeatureToggleErrors, CloseFeatureToggleResponses, ConnectUserData, ConnectUserErrors, ConnectUserResponses, CreateCommentData, CreateCommentErrors, CreateCommentResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateReplyData, CreateReplyErrors, CreateReplyResponses, CreateRepositoryData, CreateRepositoryErrors, CreateRepositoryResponses, CreateTemplateData, CreateTemplateErrors, CreateTemplateResponses, CreateUserData, CreateUserErrors, CreateUserResponses, CreateWorkspaceData, CreateWorkspaceErrors, CreateWorkspaceResponses, DeactivateUserPromotionData, DeactivateUserPromotionErrors, DeactivateUserPromotionResponses, DeleteCategValuesData, DeleteCategValuesErrors, DeleteCategValuesResponses, DeleteCommentData, DeleteCommentErrors, DeleteCommentResponses, DeleteCustomDomainData, DeleteCustomDomainErrors, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectInvitationData, DeleteProjectInvitationErrors, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberErrors, DeleteProjectMemberResponses, DeleteProjectResponses, DeleteReplyData, DeleteReplyErrors, DeleteReplyResponses, DeleteSiteData, DeleteSiteErrors, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, DisconnectUserData, DisconnectUserErrors, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectErrors, DuplicateProjectResponses, EditCommentData, EditCommentErrors, EditCommentResponses, EditReplyData, EditReplyErrors, EditReplyResponses, EnsureMyUserData, EnsureMyUserErrors, EnsureMyUserResponses, EnsureSiteIdData, EnsureSiteIdErrors, EnsureSiteIdResponses, GetAllProductsData, GetAllProductsErrors, GetAllProductsResponses, GetAllWorkspacesData, GetAllWorkspacesErrors, GetAllWorkspacesResponses, GetAppInstallUrlData, GetAppInstallUrlErrors, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdErrors, GetByDazlIdResponses, GetCommentData, GetCommentErrors, GetCommentResponses, GetCustomDomainData, GetCustomDomainErrors, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigErrors, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsErrors, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployErrors, GetLatestDeployResponses, GetMyUserData, GetMyUserErrors, GetMyUserResponses, GetOAuthUrlData, GetOAuthUrlErrors, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdErrors, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdErrors, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoErrors, GetProjectInfoResponses, GetProjectInitDataData, GetProjectInitDataErrors, GetProjectInitDataResponses, GetPublicTemplatesData, GetPublicTemplatesErrors, GetPublicTemplatesResponses, GetTemplateData, GetTemplateErrors, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationErrors, GetUploadConfigurationResponses, GetUserActivePromotionsData, GetUserActivePromotionsErrors, GetUserActivePromotionsResponses, GetUserByDazlIdData, GetUserByDazlIdErrors, GetUserByDazlIdResponses, GetUserInfoByDazlIdData, GetUserInfoByDazlIdErrors, GetUserInfoByDazlIdResponses, GetUserInfoData, GetUserInfoErrors, GetUserInfoResponses, GetUserProjectsData, GetUserProjectsErrors, GetUserProjectsResponses, GetUsersByDazlIdsData, GetUsersByDazlIdsErrors, GetUsersByDazlIdsResponses, GetUsersByEmailsData, GetUsersByEmailsErrors, GetUsersByEmailsResponses, GetUserTemplatesData, GetUserTemplatesErrors, GetUserTemplatesResponses, GetValuesData, GetValuesErrors, GetValuesResponses, InternalCreateCommentData, InternalCreateCommentErrors, InternalCreateCommentResponses, InternalCreateReplyData, InternalCreateReplyErrors, InternalCreateReplyResponses, InternalDeleteCommentData, InternalDeleteCommentErrors, InternalDeleteCommentResponses, InternalDeleteReplyData, InternalDeleteReplyErrors, InternalDeleteReplyResponses, InternalEditCommentData, InternalEditCommentErrors, InternalEditCommentResponses, InternalEditReplyData, InternalEditReplyErrors, InternalEditReplyResponses, InternalGetProjectCommentData, InternalGetProjectCommentErrors, InternalGetProjectCommentResponses, InternalListProjectCommentsData, InternalListProjectCommentsErrors, InternalListProjectCommentsResponses, InternalReopenCommentData, InternalReopenCommentErrors, InternalReopenCommentResponses, InternalResolveCommentData, InternalResolveCommentErrors, InternalResolveCommentResponses, InviteProjectMemberData, InviteProjectMemberErrors, InviteProjectMemberResponses, IsPromotionOpenData, IsPromotionOpenErrors, IsPromotionOpenResponses, ListCommentsData, ListCommentsErrors, ListCommentsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, MarkProjectAsInitializedData, MarkProjectAsInitializedErrors, MarkProjectAsInitializedResponses, OpenFeatureToggleData, OpenFeatureToggleErrors, OpenFeatureToggleResponses, PurgeUserAccountData, PurgeUserAccountErrors, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponses, ReopenCommentData, ReopenCommentErrors, ReopenCommentResponses, ReplaceCategValuesData, ReplaceCategValuesErrors, ReplaceCategValuesResponses, ResolveCommentData, ResolveCommentErrors, ResolveCommentResponses, SaveMediaData, SaveMediaErrors, SaveMediaResponses, ScrapePageContentData, ScrapePageContentErrors, ScrapePageContentResponses, SearchWebData, SearchWebErrors, SearchWebResponses, SetValueData, SetValueErrors, SetValueResponses, TakeScreenshotData, TakeScreenshotErrors, TakeScreenshotResponses, UpdateByDazlIdData, UpdateByDazlIdErrors, UpdateByDazlIdResponses, UpdateEnvVarsData, UpdateEnvVarsErrors, UpdateEnvVarsResponses, UpdateMyUserData, UpdateMyUserErrors, UpdateMyUserResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateErrors, UpdateTemplateResponses, UpdateUserData, UpdateUserErrors, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponses, UpsertDeployInDbData, UpsertDeployInDbErrors, UpsertDeployInDbResponses } from './types.gen.ts';
|
|
5
5
|
|
|
6
6
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
7
7
|
/**
|
|
@@ -886,3 +886,20 @@ export class Promotions {
|
|
|
886
886
|
return options.client.get<GetUserActivePromotionsResponses, GetUserActivePromotionsErrors, ThrowOnError>({ url: '/promotions/{dazlUserId}/active', ...options });
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
|
+
|
|
890
|
+
export class Workspace {
|
|
891
|
+
public static createWorkspace<ThrowOnError extends boolean = false>(options: Options<CreateWorkspaceData, ThrowOnError>): RequestResult<CreateWorkspaceResponses, CreateWorkspaceErrors, ThrowOnError> {
|
|
892
|
+
return options.client.post<CreateWorkspaceResponses, CreateWorkspaceErrors, ThrowOnError>({
|
|
893
|
+
url: '/workspace/create',
|
|
894
|
+
...options,
|
|
895
|
+
headers: {
|
|
896
|
+
'Content-Type': 'application/json',
|
|
897
|
+
...options.headers
|
|
898
|
+
}
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
public static getAllWorkspaces<ThrowOnError extends boolean = false>(options: Options<GetAllWorkspacesData, ThrowOnError>): RequestResult<GetAllWorkspacesResponses, GetAllWorkspacesErrors, ThrowOnError> {
|
|
903
|
+
return options.client.get<GetAllWorkspacesResponses, GetAllWorkspacesErrors, ThrowOnError>({ url: '/workspace/list', ...options });
|
|
904
|
+
}
|
|
905
|
+
}
|
|
@@ -497,6 +497,13 @@ export type FeatureToggle = {
|
|
|
497
497
|
updatedAt: string;
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
+
export type Workspace = {
|
|
501
|
+
id: string;
|
|
502
|
+
name: string;
|
|
503
|
+
dazlUserId: string;
|
|
504
|
+
createdAt: string;
|
|
505
|
+
};
|
|
506
|
+
|
|
500
507
|
export type EnsureMyUserData = {
|
|
501
508
|
body?: {
|
|
502
509
|
name?: string;
|
|
@@ -7191,3 +7198,113 @@ export type UpdateMyUserResponses = {
|
|
|
7191
7198
|
};
|
|
7192
7199
|
|
|
7193
7200
|
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
7201
|
+
|
|
7202
|
+
export type CreateWorkspaceData = {
|
|
7203
|
+
body: {
|
|
7204
|
+
name: string;
|
|
7205
|
+
};
|
|
7206
|
+
path?: never;
|
|
7207
|
+
query?: never;
|
|
7208
|
+
url: '/workspace/create';
|
|
7209
|
+
};
|
|
7210
|
+
|
|
7211
|
+
export type CreateWorkspaceErrors = {
|
|
7212
|
+
/**
|
|
7213
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7214
|
+
*/
|
|
7215
|
+
400: {
|
|
7216
|
+
message: string;
|
|
7217
|
+
issues?: string;
|
|
7218
|
+
};
|
|
7219
|
+
/**
|
|
7220
|
+
* Unauthorized
|
|
7221
|
+
*/
|
|
7222
|
+
401: ErrorResponse;
|
|
7223
|
+
/**
|
|
7224
|
+
* Forbidden
|
|
7225
|
+
*/
|
|
7226
|
+
403: ErrorResponse;
|
|
7227
|
+
/**
|
|
7228
|
+
* Not Found
|
|
7229
|
+
*/
|
|
7230
|
+
404: ErrorResponse;
|
|
7231
|
+
/**
|
|
7232
|
+
* Conflict
|
|
7233
|
+
*/
|
|
7234
|
+
409: ErrorResponse;
|
|
7235
|
+
/**
|
|
7236
|
+
* Internal server error
|
|
7237
|
+
*/
|
|
7238
|
+
500: ErrorResponse;
|
|
7239
|
+
/**
|
|
7240
|
+
* Service Unavailable
|
|
7241
|
+
*/
|
|
7242
|
+
503: ErrorResponse;
|
|
7243
|
+
};
|
|
7244
|
+
|
|
7245
|
+
export type CreateWorkspaceError = CreateWorkspaceErrors[keyof CreateWorkspaceErrors];
|
|
7246
|
+
|
|
7247
|
+
export type CreateWorkspaceResponses = {
|
|
7248
|
+
/**
|
|
7249
|
+
* Returns the created workspace
|
|
7250
|
+
*/
|
|
7251
|
+
200: {
|
|
7252
|
+
workspace: Workspace;
|
|
7253
|
+
};
|
|
7254
|
+
};
|
|
7255
|
+
|
|
7256
|
+
export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
|
|
7257
|
+
|
|
7258
|
+
export type GetAllWorkspacesData = {
|
|
7259
|
+
body?: never;
|
|
7260
|
+
path?: never;
|
|
7261
|
+
query?: never;
|
|
7262
|
+
url: '/workspace/list';
|
|
7263
|
+
};
|
|
7264
|
+
|
|
7265
|
+
export type GetAllWorkspacesErrors = {
|
|
7266
|
+
/**
|
|
7267
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7268
|
+
*/
|
|
7269
|
+
400: {
|
|
7270
|
+
message: string;
|
|
7271
|
+
issues?: string;
|
|
7272
|
+
};
|
|
7273
|
+
/**
|
|
7274
|
+
* Unauthorized
|
|
7275
|
+
*/
|
|
7276
|
+
401: ErrorResponse;
|
|
7277
|
+
/**
|
|
7278
|
+
* Forbidden
|
|
7279
|
+
*/
|
|
7280
|
+
403: ErrorResponse;
|
|
7281
|
+
/**
|
|
7282
|
+
* Not Found
|
|
7283
|
+
*/
|
|
7284
|
+
404: ErrorResponse;
|
|
7285
|
+
/**
|
|
7286
|
+
* Conflict
|
|
7287
|
+
*/
|
|
7288
|
+
409: ErrorResponse;
|
|
7289
|
+
/**
|
|
7290
|
+
* Internal server error
|
|
7291
|
+
*/
|
|
7292
|
+
500: ErrorResponse;
|
|
7293
|
+
/**
|
|
7294
|
+
* Service Unavailable
|
|
7295
|
+
*/
|
|
7296
|
+
503: ErrorResponse;
|
|
7297
|
+
};
|
|
7298
|
+
|
|
7299
|
+
export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
|
|
7300
|
+
|
|
7301
|
+
export type GetAllWorkspacesResponses = {
|
|
7302
|
+
/**
|
|
7303
|
+
* Returns the list of workspaces for the current user
|
|
7304
|
+
*/
|
|
7305
|
+
200: {
|
|
7306
|
+
workspaces: Array<Workspace>;
|
|
7307
|
+
};
|
|
7308
|
+
};
|
|
7309
|
+
|
|
7310
|
+
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
package/src/public/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { EnvConfig, type Options, Ping, User } from './sdk.gen.ts';
|
|
4
|
-
export type { ClientOptions, EnsureMyUserData, EnsureMyUserError, EnsureMyUserErrors, EnsureMyUserResponse, EnsureMyUserResponses, ErrorResponse, FeatureToggle, GetFeatureTogglesData, GetFeatureTogglesError, GetFeatureTogglesErrors, GetFeatureTogglesResponse, GetFeatureTogglesResponses, GetMyUserData, GetMyUserError, GetMyUserErrors, GetMyUserResponse, GetMyUserResponses, GetPingData, GetPingError, GetPingErrors, GetPingResponse, GetPingResponses, UpdateMyUserData, UpdateMyUserError, UpdateMyUserErrors, UpdateMyUserResponse, UpdateMyUserResponses, UserRaw } from './types.gen.ts';
|
|
3
|
+
export { EnvConfig, type Options, Ping, User, Workspace as Workspace2 } from './sdk.gen.ts';
|
|
4
|
+
export type { ClientOptions, CreateWorkspaceData, CreateWorkspaceError, CreateWorkspaceErrors, CreateWorkspaceResponse, CreateWorkspaceResponses, EnsureMyUserData, EnsureMyUserError, EnsureMyUserErrors, EnsureMyUserResponse, EnsureMyUserResponses, ErrorResponse, FeatureToggle, GetAllWorkspacesData, GetAllWorkspacesError, GetAllWorkspacesErrors, GetAllWorkspacesResponse, GetAllWorkspacesResponses, GetFeatureTogglesData, GetFeatureTogglesError, GetFeatureTogglesErrors, GetFeatureTogglesResponse, GetFeatureTogglesResponses, GetMyUserData, GetMyUserError, GetMyUserErrors, GetMyUserResponse, GetMyUserResponses, GetPingData, GetPingError, GetPingErrors, GetPingResponse, GetPingResponses, UpdateMyUserData, UpdateMyUserError, UpdateMyUserErrors, UpdateMyUserResponse, UpdateMyUserResponses, UserRaw, Workspace } from './types.gen.ts';
|
package/src/public/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.ts';
|
|
4
|
-
import type { EnsureMyUserData, EnsureMyUserErrors, EnsureMyUserResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetMyUserData, GetMyUserErrors, GetMyUserResponses, GetPingData, GetPingErrors, GetPingResponses, UpdateMyUserData, UpdateMyUserErrors, UpdateMyUserResponses } from './types.gen.ts';
|
|
4
|
+
import type { CreateWorkspaceData, CreateWorkspaceErrors, CreateWorkspaceResponses, EnsureMyUserData, EnsureMyUserErrors, EnsureMyUserResponses, GetAllWorkspacesData, GetAllWorkspacesErrors, GetAllWorkspacesResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetMyUserData, GetMyUserErrors, GetMyUserResponses, GetPingData, GetPingErrors, GetPingResponses, UpdateMyUserData, UpdateMyUserErrors, UpdateMyUserResponses } from './types.gen.ts';
|
|
5
5
|
|
|
6
6
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
7
7
|
/**
|
|
@@ -52,6 +52,23 @@ export class EnvConfig {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
export class Workspace {
|
|
56
|
+
public static createWorkspace<ThrowOnError extends boolean = false>(options: Options<CreateWorkspaceData, ThrowOnError>): RequestResult<CreateWorkspaceResponses, CreateWorkspaceErrors, ThrowOnError> {
|
|
57
|
+
return options.client.post<CreateWorkspaceResponses, CreateWorkspaceErrors, ThrowOnError>({
|
|
58
|
+
url: '/workspace/create',
|
|
59
|
+
...options,
|
|
60
|
+
headers: {
|
|
61
|
+
'Content-Type': 'application/json',
|
|
62
|
+
...options.headers
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public static getAllWorkspaces<ThrowOnError extends boolean = false>(options: Options<GetAllWorkspacesData, ThrowOnError>): RequestResult<GetAllWorkspacesResponses, GetAllWorkspacesErrors, ThrowOnError> {
|
|
68
|
+
return options.client.get<GetAllWorkspacesResponses, GetAllWorkspacesErrors, ThrowOnError>({ url: '/workspace/list', ...options });
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
55
72
|
export class Ping {
|
|
56
73
|
/**
|
|
57
74
|
* Ping endpoint for test
|
package/src/public/types.gen.ts
CHANGED
|
@@ -30,6 +30,13 @@ export type FeatureToggle = {
|
|
|
30
30
|
updatedAt: string;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
export type Workspace = {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
dazlUserId: string;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
33
40
|
export type EnsureMyUserData = {
|
|
34
41
|
body?: {
|
|
35
42
|
name?: string;
|
|
@@ -257,6 +264,116 @@ export type UpdateMyUserResponses = {
|
|
|
257
264
|
|
|
258
265
|
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
259
266
|
|
|
267
|
+
export type CreateWorkspaceData = {
|
|
268
|
+
body: {
|
|
269
|
+
name: string;
|
|
270
|
+
};
|
|
271
|
+
path?: never;
|
|
272
|
+
query?: never;
|
|
273
|
+
url: '/workspace/create';
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type CreateWorkspaceErrors = {
|
|
277
|
+
/**
|
|
278
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
279
|
+
*/
|
|
280
|
+
400: {
|
|
281
|
+
message: string;
|
|
282
|
+
issues?: string;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Unauthorized
|
|
286
|
+
*/
|
|
287
|
+
401: ErrorResponse;
|
|
288
|
+
/**
|
|
289
|
+
* Forbidden
|
|
290
|
+
*/
|
|
291
|
+
403: ErrorResponse;
|
|
292
|
+
/**
|
|
293
|
+
* Not Found
|
|
294
|
+
*/
|
|
295
|
+
404: ErrorResponse;
|
|
296
|
+
/**
|
|
297
|
+
* Conflict
|
|
298
|
+
*/
|
|
299
|
+
409: ErrorResponse;
|
|
300
|
+
/**
|
|
301
|
+
* Internal server error
|
|
302
|
+
*/
|
|
303
|
+
500: ErrorResponse;
|
|
304
|
+
/**
|
|
305
|
+
* Service Unavailable
|
|
306
|
+
*/
|
|
307
|
+
503: ErrorResponse;
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
export type CreateWorkspaceError = CreateWorkspaceErrors[keyof CreateWorkspaceErrors];
|
|
311
|
+
|
|
312
|
+
export type CreateWorkspaceResponses = {
|
|
313
|
+
/**
|
|
314
|
+
* Returns the created workspace
|
|
315
|
+
*/
|
|
316
|
+
200: {
|
|
317
|
+
workspace: Workspace;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
|
|
322
|
+
|
|
323
|
+
export type GetAllWorkspacesData = {
|
|
324
|
+
body?: never;
|
|
325
|
+
path?: never;
|
|
326
|
+
query?: never;
|
|
327
|
+
url: '/workspace/list';
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
export type GetAllWorkspacesErrors = {
|
|
331
|
+
/**
|
|
332
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
333
|
+
*/
|
|
334
|
+
400: {
|
|
335
|
+
message: string;
|
|
336
|
+
issues?: string;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Unauthorized
|
|
340
|
+
*/
|
|
341
|
+
401: ErrorResponse;
|
|
342
|
+
/**
|
|
343
|
+
* Forbidden
|
|
344
|
+
*/
|
|
345
|
+
403: ErrorResponse;
|
|
346
|
+
/**
|
|
347
|
+
* Not Found
|
|
348
|
+
*/
|
|
349
|
+
404: ErrorResponse;
|
|
350
|
+
/**
|
|
351
|
+
* Conflict
|
|
352
|
+
*/
|
|
353
|
+
409: ErrorResponse;
|
|
354
|
+
/**
|
|
355
|
+
* Internal server error
|
|
356
|
+
*/
|
|
357
|
+
500: ErrorResponse;
|
|
358
|
+
/**
|
|
359
|
+
* Service Unavailable
|
|
360
|
+
*/
|
|
361
|
+
503: ErrorResponse;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
|
|
365
|
+
|
|
366
|
+
export type GetAllWorkspacesResponses = {
|
|
367
|
+
/**
|
|
368
|
+
* Returns the list of workspaces for the current user
|
|
369
|
+
*/
|
|
370
|
+
200: {
|
|
371
|
+
workspaces: Array<Workspace>;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
|
376
|
+
|
|
260
377
|
export type GetPingData = {
|
|
261
378
|
body?: never;
|
|
262
379
|
path?: never;
|