@dazl/internal-api-client 1.20.0 → 1.21.1

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.
@@ -0,0 +1,239 @@
1
+ /**
2
+ * This file was generated by kysely-codegen.
3
+ * Please do not edit it manually.
4
+ */
5
+
6
+ import type { EncryptedPayload } from "./jsonb.types.ts";
7
+ import type { ColumnType } from "kysely";
8
+
9
+ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
10
+ ? ColumnType<S, I | undefined, U>
11
+ : ColumnType<T, T | undefined, T>;
12
+
13
+ export type Json = JsonValue;
14
+
15
+ export type JsonArray = JsonValue[];
16
+
17
+ export type JsonObject = {
18
+ [x: string]: JsonValue | undefined;
19
+ };
20
+
21
+ export type JsonPrimitive = boolean | number | string | null;
22
+
23
+ export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
24
+
25
+ export type Timestamp = ColumnType<Date, Date | string, Date | string>;
26
+
27
+ export interface _PrismaMigrations {
28
+ applied_steps_count: Generated<number>;
29
+ checksum: string;
30
+ finished_at: Timestamp | null;
31
+ id: string;
32
+ logs: string | null;
33
+ migration_name: string;
34
+ rolled_back_at: Timestamp | null;
35
+ started_at: Generated<Timestamp>;
36
+ }
37
+
38
+ export interface AdminAction {
39
+ action: string;
40
+ adminDazlUserId: string | null;
41
+ adminUserId: number;
42
+ createdAt: Generated<Timestamp>;
43
+ id: Generated<number>;
44
+ message: string;
45
+ reason: string | null;
46
+ targetDazlUserId: string | null;
47
+ targetProjectId: string | null;
48
+ targetUserId: number | null;
49
+ }
50
+
51
+ export interface CreditBalance {
52
+ balance: Generated<number>;
53
+ dazlUserId: string;
54
+ priceId: string | null;
55
+ updatedAt: Timestamp;
56
+ userId: number;
57
+ }
58
+
59
+ export interface CreditTransaction {
60
+ id: string;
61
+ }
62
+
63
+ export interface Deploy {
64
+ createdAt: Generated<Timestamp>;
65
+ customDomain: string | null;
66
+ customDomainStatus: string | null;
67
+ netlifyDeployId: string | null;
68
+ netlifySiteId: string;
69
+ productionURL: string | null;
70
+ projectId: string;
71
+ publishedAt: Timestamp | null;
72
+ }
73
+
74
+ export interface EncryptedValue {
75
+ createdAt: Generated<Timestamp>;
76
+ id: Generated<string>;
77
+ updatedAt: Generated<Timestamp>;
78
+ value: EncryptedPayload;
79
+ }
80
+
81
+ export interface FeatureToggle {
82
+ createdAt: Generated<Timestamp>;
83
+ id: Generated<string>;
84
+ name: string;
85
+ scope: string;
86
+ updatedAt: Generated<Timestamp>;
87
+ }
88
+
89
+ export interface GitHubUser {
90
+ accessToken: string | null;
91
+ createdAt: Generated<Timestamp>;
92
+ refreshToken: string | null;
93
+ updatedAt: Timestamp;
94
+ userDazlId: string;
95
+ username: string;
96
+ }
97
+
98
+ export interface Media {
99
+ createdAt: Generated<Timestamp>;
100
+ dazlUserId: string;
101
+ deletedAt: Timestamp | null;
102
+ descriptor: Json | null;
103
+ gitCommit: string | null;
104
+ id: string;
105
+ metadata: Json | null;
106
+ mimeType: string;
107
+ projectId: string | null;
108
+ updatedAt: Generated<Timestamp>;
109
+ url: string;
110
+ userId: number | null;
111
+ }
112
+
113
+ export interface NetlifyAccount {
114
+ netlifyAccountId: string;
115
+ netlifySlug: string;
116
+ typeId: string | null;
117
+ userId: string;
118
+ }
119
+
120
+ export interface Project {
121
+ archivedAt: Timestamp | null;
122
+ comments: Json | null;
123
+ createdAt: Generated<Timestamp>;
124
+ dazlUserId: string;
125
+ id: string;
126
+ lastOpenedAt: Generated<Timestamp | null>;
127
+ latestScreenshot: string | null;
128
+ members: Json | null;
129
+ name: string;
130
+ originTemplateId: string | null;
131
+ userId: number;
132
+ }
133
+
134
+ export interface ProjectInvitation {
135
+ createdAt: Generated<Timestamp>;
136
+ email: string | null;
137
+ id: string;
138
+ invitedBy: string;
139
+ projectId: string;
140
+ role: string;
141
+ updatedAt: Generated<Timestamp>;
142
+ }
143
+
144
+ export interface ProjectOnGitHub {
145
+ branch: Generated<string>;
146
+ createdAt: Generated<Timestamp>;
147
+ installationId: number;
148
+ projectId: string;
149
+ repoFullName: string;
150
+ updatedAt: Timestamp;
151
+ }
152
+
153
+ export interface StripePrice {
154
+ active: boolean;
155
+ createdAt: Generated<Timestamp>;
156
+ credits: number;
157
+ currency: string;
158
+ id: string;
159
+ lookupKey: string | null;
160
+ productId: string;
161
+ unitAmount: number;
162
+ updatedAt: Timestamp;
163
+ }
164
+
165
+ export interface StripeProduct {
166
+ active: boolean;
167
+ createdAt: Generated<Timestamp>;
168
+ id: string;
169
+ name: string;
170
+ updatedAt: Timestamp;
171
+ }
172
+
173
+ export interface Template {
174
+ createdAt: Generated<Timestamp>;
175
+ dazlUserId: string;
176
+ description: string | null;
177
+ id: string;
178
+ isPublic: Generated<boolean>;
179
+ lastUsedAt: Timestamp | null;
180
+ name: string;
181
+ originProjectId: string;
182
+ preserveChatHistory: Generated<boolean>;
183
+ preserveEnvFile: Generated<boolean>;
184
+ screenshot: string | null;
185
+ sharedWith: Json | null;
186
+ usageCount: Generated<number>;
187
+ userId: number;
188
+ }
189
+
190
+ export interface User {
191
+ authSub: string;
192
+ createdAt: Generated<Timestamp>;
193
+ dazlId: string;
194
+ email: string;
195
+ id: Generated<number>;
196
+ name: string;
197
+ picture: string | null;
198
+ stripeCustomerId: string | null;
199
+ }
200
+
201
+ export interface UserKeyValue {
202
+ category: string;
203
+ createdAt: Generated<Timestamp>;
204
+ dazlUserId: string;
205
+ encryptedValId: string | null;
206
+ id: Generated<string>;
207
+ name: string;
208
+ strVal: string | null;
209
+ updatedAt: Generated<Timestamp>;
210
+ }
211
+
212
+ export interface UserSettings {
213
+ createdAt: Generated<Timestamp>;
214
+ settings: Json;
215
+ updatedAt: Timestamp;
216
+ userId: string;
217
+ }
218
+
219
+ export interface DB {
220
+ _prisma_migrations: _PrismaMigrations;
221
+ AdminAction: AdminAction;
222
+ CreditBalance: CreditBalance;
223
+ CreditTransaction: CreditTransaction;
224
+ Deploy: Deploy;
225
+ EncryptedValue: EncryptedValue;
226
+ FeatureToggle: FeatureToggle;
227
+ GitHubUser: GitHubUser;
228
+ Media: Media;
229
+ NetlifyAccount: NetlifyAccount;
230
+ Project: Project;
231
+ ProjectInvitation: ProjectInvitation;
232
+ ProjectOnGitHub: ProjectOnGitHub;
233
+ StripePrice: StripePrice;
234
+ StripeProduct: StripeProduct;
235
+ Template: Template;
236
+ User: User;
237
+ UserKeyValue: UserKeyValue;
238
+ UserSettings: UserSettings;
239
+ }
@@ -0,0 +1,6 @@
1
+ export interface EncryptedPayload {
2
+ v: 1;
3
+ iv: string;
4
+ tag: string;
5
+ data: string;
6
+ }
package/src/index.ts CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  export { client, type CreateClientConfig } from './client.gen.ts';
4
4
  export { Admin, Billing, Capture, Comments, EnvConfig, GitHub, Media, type Options, Project, Publish, Search, Template, User, UserKeyValue, UserSettings } from './sdk.gen.ts';
5
- export type { AcceptProjectInvitationData, AcceptProjectInvitationError, AcceptProjectInvitationErrors, AcceptProjectInvitationResponse, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainError, AddCustomDomainErrors, AddCustomDomainResponse, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithError, AddTemplateSharedWithErrors, AddTemplateSharedWithResponse, AddTemplateSharedWithResponses, AdminCleanupProjectData, AdminCleanupProjectError, AdminCleanupProjectErrors, AdminCleanupProjectResponse, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateError, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponse, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogError, AdminCloneProjectLogErrors, AdminCloneProjectLogResponse, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectError, AdminDeleteProjectErrors, AdminDeleteProjectResponse, AdminDeleteProjectResponses, 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, CreateCustomerPortalSessionData, CreateCustomerPortalSessionError, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponse, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionError, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponse, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaError, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateRepositoryData, CreateRepositoryError, CreateRepositoryErrors, CreateRepositoryResponse, CreateRepositoryResponses, CreateTemplateData, CreateTemplateError, CreateTemplateErrors, CreateTemplateResponse, CreateTemplateResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CustomerInfo, DeleteCategValuesData, DeleteCategValuesError, DeleteCategValuesErrors, DeleteCategValuesResponse, DeleteCategValuesResponses, DeleteCustomDomainData, DeleteCustomDomainError, DeleteCustomDomainErrors, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectInput, DeleteProjectInvitationData, DeleteProjectInvitationError, DeleteProjectInvitationErrors, DeleteProjectInvitationResponse, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberError, DeleteProjectMemberErrors, DeleteProjectMemberResponse, DeleteProjectMemberResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteSiteData, DeleteSiteError, DeleteSiteErrors, DeleteSiteResponse, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateError, DeleteTemplateErrors, DeleteTemplateResponse, DeleteTemplateResponses, Deployment, DisconnectUserData, DisconnectUserError, DisconnectUserErrors, DisconnectUserResponse, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectError, DuplicateProjectErrors, DuplicateProjectResponse, DuplicateProjectResponses, EnsureSiteIdData, EnsureSiteIdError, EnsureSiteIdErrors, EnsureSiteIdResponse, EnsureSiteIdResponses, ErrorResponse, FeatureToggle, GetAccountScreenshotsData, GetAccountScreenshotsError, GetAccountScreenshotsErrors, GetAccountScreenshotsResponse, GetAccountScreenshotsResponses, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlError, GetAppInstallUrlErrors, GetAppInstallUrlResponse, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdError, GetByDazlIdErrors, GetByDazlIdResponse, GetByDazlIdResponses, 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, GetMaxCreditsForDefaultFreeData, GetMaxCreditsForDefaultFreeError, GetMaxCreditsForDefaultFreeErrors, GetMaxCreditsForDefaultFreeResponse, GetMaxCreditsForDefaultFreeResponses, 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, GetProjectScreenshotsData, GetProjectScreenshotsError, GetProjectScreenshotsErrors, GetProjectScreenshotsResponse, GetProjectScreenshotsResponses, GetPublicTemplatesData, GetPublicTemplatesError, GetPublicTemplatesErrors, GetPublicTemplatesResponse, GetPublicTemplatesResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateResponse, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationError, GetUploadConfigurationErrors, GetUploadConfigurationResponse, GetUploadConfigurationResponses, 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, 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, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, MediaFileList, MediaItem, OpenFeatureToggleData, OpenFeatureToggleError, OpenFeatureToggleErrors, OpenFeatureToggleResponse, OpenFeatureToggleResponses, OwnerDazlId, PageCommentContext, PlanCommentContext, ProjectRaw, ProjectWithScreenshot, PurgeUserAccountData, PurgeUserAccountError, PurgeUserAccountErrors, PurgeUserAccountInput, PurgeUserAccountResponse, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithError, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponse, RemoveTemplateSharedWithResponses, ReplaceCategValuesData, ReplaceCategValuesError, ReplaceCategValuesErrors, ReplaceCategValuesResponse, ReplaceCategValuesResponses, SaveMediaData, SaveMediaError, SaveMediaErrors, SaveMediaResponses, ScheduledUpdate, ScrapePageContentData, ScrapePageContentError, ScrapePageContentErrors, ScrapePageContentResponse, ScrapePageContentResponses, Screenshot, 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, 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';
5
+ export type { AcceptProjectInvitationData, AcceptProjectInvitationError, AcceptProjectInvitationErrors, AcceptProjectInvitationResponse, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainError, AddCustomDomainErrors, AddCustomDomainResponse, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithError, AddTemplateSharedWithErrors, AddTemplateSharedWithResponse, AddTemplateSharedWithResponses, AdminCleanupProjectData, AdminCleanupProjectError, AdminCleanupProjectErrors, AdminCleanupProjectResponse, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateError, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponse, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogError, AdminCloneProjectLogErrors, AdminCloneProjectLogResponse, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectError, AdminDeleteProjectErrors, AdminDeleteProjectResponse, AdminDeleteProjectResponses, 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, CreateCustomerPortalSessionData, CreateCustomerPortalSessionError, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponse, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionError, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponse, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaError, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateRepositoryData, CreateRepositoryError, CreateRepositoryErrors, CreateRepositoryResponse, CreateRepositoryResponses, CreateTemplateData, CreateTemplateError, CreateTemplateErrors, CreateTemplateResponse, CreateTemplateResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CustomerInfo, DeleteCategValuesData, DeleteCategValuesError, DeleteCategValuesErrors, DeleteCategValuesResponse, DeleteCategValuesResponses, DeleteCustomDomainData, DeleteCustomDomainError, DeleteCustomDomainErrors, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectInput, DeleteProjectInvitationData, DeleteProjectInvitationError, DeleteProjectInvitationErrors, DeleteProjectInvitationResponse, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberError, DeleteProjectMemberErrors, DeleteProjectMemberResponse, DeleteProjectMemberResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteSiteData, DeleteSiteError, DeleteSiteErrors, DeleteSiteResponse, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateError, DeleteTemplateErrors, DeleteTemplateResponse, DeleteTemplateResponses, Deployment, DisconnectUserData, DisconnectUserError, DisconnectUserErrors, DisconnectUserResponse, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectError, DuplicateProjectErrors, DuplicateProjectResponse, DuplicateProjectResponses, EnsureSiteIdData, EnsureSiteIdError, EnsureSiteIdErrors, EnsureSiteIdResponse, EnsureSiteIdResponses, ErrorResponse, FeatureToggle, GetAccountScreenshotsData, GetAccountScreenshotsError, GetAccountScreenshotsErrors, GetAccountScreenshotsResponse, GetAccountScreenshotsResponses, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlError, GetAppInstallUrlErrors, GetAppInstallUrlResponse, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdError, GetByDazlIdErrors, GetByDazlIdResponse, GetByDazlIdResponses, 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, GetMaxCreditsForDefaultFreeData, GetMaxCreditsForDefaultFreeError, GetMaxCreditsForDefaultFreeErrors, GetMaxCreditsForDefaultFreeResponse, GetMaxCreditsForDefaultFreeResponses, 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, GetProjectScreenshotsData, GetProjectScreenshotsError, GetProjectScreenshotsErrors, GetProjectScreenshotsResponse, GetProjectScreenshotsResponses, GetPublicTemplatesData, GetPublicTemplatesError, GetPublicTemplatesErrors, GetPublicTemplatesResponse, GetPublicTemplatesResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateResponse, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationError, GetUploadConfigurationErrors, GetUploadConfigurationResponse, GetUploadConfigurationResponses, 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, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, MediaFileList, MediaItem, OpenFeatureToggleData, OpenFeatureToggleError, OpenFeatureToggleErrors, OpenFeatureToggleResponse, OpenFeatureToggleResponses, OwnerDazlId, PageCommentContext, PlanCommentContext, ProjectRaw, ProjectWithScreenshot, PurgeUserAccountData, PurgeUserAccountError, PurgeUserAccountErrors, PurgeUserAccountInput, PurgeUserAccountResponse, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithError, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponse, RemoveTemplateSharedWithResponses, ReplaceCategValuesData, ReplaceCategValuesError, ReplaceCategValuesErrors, ReplaceCategValuesResponse, ReplaceCategValuesResponses, SaveMediaData, SaveMediaError, SaveMediaErrors, SaveMediaResponses, ScheduledUpdate, ScrapePageContentData, ScrapePageContentError, ScrapePageContentErrors, ScrapePageContentResponse, ScrapePageContentResponses, Screenshot, 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, 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';
package/src/sdk.gen.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { client } from './client.gen.ts';
4
4
  import type { Client, Options as Options2, TDataShape } from './client/index.ts';
5
- import type { AcceptProjectInvitationData, AcceptProjectInvitationErrors, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainErrors, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithErrors, AddTemplateSharedWithResponses, AdminCleanupProjectData, AdminCleanupProjectErrors, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogErrors, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectErrors, AdminDeleteProjectResponses, AdminUpdateCreditsData, AdminUpdateCreditsErrors, AdminUpdateCreditsResponses, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponses, CloseFeatureToggleData, CloseFeatureToggleErrors, CloseFeatureToggleResponses, ConnectUserData, ConnectUserErrors, ConnectUserResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateRepositoryData, CreateRepositoryErrors, CreateRepositoryResponses, CreateTemplateData, CreateTemplateErrors, CreateTemplateResponses, CreateUserData, CreateUserErrors, CreateUserResponses, DeleteCategValuesData, DeleteCategValuesErrors, DeleteCategValuesResponses, DeleteCustomDomainData, DeleteCustomDomainErrors, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectInvitationData, DeleteProjectInvitationErrors, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberErrors, DeleteProjectMemberResponses, DeleteProjectResponses, DeleteSiteData, DeleteSiteErrors, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, DisconnectUserData, DisconnectUserErrors, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectErrors, DuplicateProjectResponses, EnsureSiteIdData, EnsureSiteIdErrors, EnsureSiteIdResponses, GetAccountScreenshotsData, GetAccountScreenshotsErrors, GetAccountScreenshotsResponses, GetAllProductsData, GetAllProductsErrors, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlErrors, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdErrors, GetByDazlIdResponses, GetCustomDomainData, GetCustomDomainErrors, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigErrors, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsErrors, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployErrors, GetLatestDeployResponses, GetMaxCreditsForDefaultFreeData, GetMaxCreditsForDefaultFreeErrors, GetMaxCreditsForDefaultFreeResponses, GetOAuthUrlData, GetOAuthUrlErrors, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdErrors, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdErrors, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoErrors, GetProjectInfoResponses, GetProjectScreenshotsData, GetProjectScreenshotsErrors, GetProjectScreenshotsResponses, GetPublicTemplatesData, GetPublicTemplatesErrors, GetPublicTemplatesResponses, GetTemplateData, GetTemplateErrors, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationErrors, GetUploadConfigurationResponses, GetUserByDazlIdData, GetUserByDazlIdErrors, GetUserByDazlIdResponses, GetUserInfoByDazlIdData, GetUserInfoByDazlIdErrors, GetUserInfoByDazlIdResponses, GetUserInfoData, GetUserInfoErrors, GetUserInfoResponses, GetUserProjectsData, GetUserProjectsErrors, GetUserProjectsResponses, GetUsersByDazlIdsData, GetUsersByDazlIdsErrors, GetUsersByDazlIdsResponses, 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, ListFilesData, ListFilesErrors, ListFilesResponses, OpenFeatureToggleData, OpenFeatureToggleErrors, OpenFeatureToggleResponses, PurgeUserAccountData, PurgeUserAccountErrors, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponses, ReplaceCategValuesData, ReplaceCategValuesErrors, ReplaceCategValuesResponses, SaveMediaData, SaveMediaErrors, SaveMediaResponses, ScrapePageContentData, ScrapePageContentErrors, ScrapePageContentResponses, SearchWebData, SearchWebErrors, SearchWebResponses, SetValueData, SetValueErrors, SetValueResponses, TakeScreenshotData, TakeScreenshotErrors, TakeScreenshotResponses, UpdateByDazlIdData, UpdateByDazlIdErrors, UpdateByDazlIdResponses, UpdateEnvVarsData, UpdateEnvVarsErrors, UpdateEnvVarsResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateErrors, UpdateTemplateResponses, UpdateUserData, UpdateUserErrors, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponses, UpsertDeployInDbData, UpsertDeployInDbErrors, UpsertDeployInDbResponses } from './types.gen.ts';
5
+ import type { AcceptProjectInvitationData, AcceptProjectInvitationErrors, AcceptProjectInvitationResponses, AddCustomDomainData, AddCustomDomainErrors, AddCustomDomainResponses, AddTemplateSharedWithData, AddTemplateSharedWithErrors, AddTemplateSharedWithResponses, AdminCleanupProjectData, AdminCleanupProjectErrors, AdminCleanupProjectResponses, AdminCloneProjectCreateData, AdminCloneProjectCreateErrors, AdminCloneProjectCreateResponses, AdminCloneProjectLogData, AdminCloneProjectLogErrors, AdminCloneProjectLogResponses, AdminDeleteProjectData, AdminDeleteProjectErrors, AdminDeleteProjectResponses, AdminUpdateCreditsData, AdminUpdateCreditsErrors, AdminUpdateCreditsResponses, CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponses, CloseFeatureToggleData, CloseFeatureToggleErrors, CloseFeatureToggleResponses, ConnectUserData, ConnectUserErrors, ConnectUserResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponses, CreateMediaData, CreateMediaErrors, CreateMediaResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateRepositoryData, CreateRepositoryErrors, CreateRepositoryResponses, CreateTemplateData, CreateTemplateErrors, CreateTemplateResponses, CreateUserData, CreateUserErrors, CreateUserResponses, DeleteCategValuesData, DeleteCategValuesErrors, DeleteCategValuesResponses, DeleteCustomDomainData, DeleteCustomDomainErrors, DeleteCustomDomainResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectInvitationData, DeleteProjectInvitationErrors, DeleteProjectInvitationResponses, DeleteProjectMemberData, DeleteProjectMemberErrors, DeleteProjectMemberResponses, DeleteProjectResponses, DeleteSiteData, DeleteSiteErrors, DeleteSiteResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, DisconnectUserData, DisconnectUserErrors, DisconnectUserResponses, DuplicateProjectData, DuplicateProjectErrors, DuplicateProjectResponses, EnsureSiteIdData, EnsureSiteIdErrors, EnsureSiteIdResponses, GetAccountScreenshotsData, GetAccountScreenshotsErrors, GetAccountScreenshotsResponses, GetAllProductsData, GetAllProductsErrors, GetAllProductsResponses, GetAppInstallUrlData, GetAppInstallUrlErrors, GetAppInstallUrlResponses, GetByDazlIdData, GetByDazlIdErrors, GetByDazlIdResponses, GetCustomDomainData, GetCustomDomainErrors, GetCustomDomainResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponses, GetEntriConfigData, GetEntriConfigErrors, GetEntriConfigResponses, GetFeatureTogglesData, GetFeatureTogglesErrors, GetFeatureTogglesResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponses, GetInstallationsData, GetInstallationsErrors, GetInstallationsResponses, GetLatestDeployData, GetLatestDeployErrors, GetLatestDeployResponses, GetMaxCreditsForDefaultFreeData, GetMaxCreditsForDefaultFreeErrors, GetMaxCreditsForDefaultFreeResponses, GetOAuthUrlData, GetOAuthUrlErrors, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdErrors, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdErrors, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoErrors, GetProjectInfoResponses, GetProjectScreenshotsData, GetProjectScreenshotsErrors, GetProjectScreenshotsResponses, GetPublicTemplatesData, GetPublicTemplatesErrors, GetPublicTemplatesResponses, GetTemplateData, GetTemplateErrors, GetTemplateResponses, GetUploadConfigurationData, GetUploadConfigurationErrors, GetUploadConfigurationResponses, 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, ListFilesData, ListFilesErrors, ListFilesResponses, OpenFeatureToggleData, OpenFeatureToggleErrors, OpenFeatureToggleResponses, PurgeUserAccountData, PurgeUserAccountErrors, PurgeUserAccountResponses, RemoveTemplateSharedWithData, RemoveTemplateSharedWithErrors, RemoveTemplateSharedWithResponses, ReplaceCategValuesData, ReplaceCategValuesErrors, ReplaceCategValuesResponses, SaveMediaData, SaveMediaErrors, SaveMediaResponses, ScrapePageContentData, ScrapePageContentErrors, ScrapePageContentResponses, SearchWebData, SearchWebErrors, SearchWebResponses, SetValueData, SetValueErrors, SetValueResponses, TakeScreenshotData, TakeScreenshotErrors, TakeScreenshotResponses, UpdateByDazlIdData, UpdateByDazlIdErrors, UpdateByDazlIdResponses, UpdateEnvVarsData, UpdateEnvVarsErrors, UpdateEnvVarsResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectResponses, UpdateTemplateData, UpdateTemplateErrors, UpdateTemplateResponses, UpdateUserData, UpdateUserErrors, UpdateUserResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponses, UpsertDeployInDbData, UpsertDeployInDbErrors, UpsertDeployInDbResponses } from './types.gen.ts';
6
6
 
7
7
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
8
8
  /**
@@ -537,6 +537,17 @@ export class User {
537
537
  });
538
538
  }
539
539
 
540
+ public static getUsersByEmails<ThrowOnError extends boolean = false>(options: Options<GetUsersByEmailsData, ThrowOnError>) {
541
+ return (options.client ?? client).post<GetUsersByEmailsResponses, GetUsersByEmailsErrors, ThrowOnError>({
542
+ url: '/user/list-by-emails',
543
+ ...options,
544
+ headers: {
545
+ 'Content-Type': 'application/json',
546
+ ...options.headers
547
+ }
548
+ });
549
+ }
550
+
540
551
  public static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>) {
541
552
  return (options.client ?? client).post<CreateUserResponses, CreateUserErrors, ThrowOnError>({
542
553
  url: '/user/create',
package/src/types.gen.ts CHANGED
@@ -116,6 +116,13 @@ export type OwnerDazlId = {
116
116
  ownerDazlId: string;
117
117
  };
118
118
 
119
+ export type UserDisplayInfoResponse = {
120
+ dazlId: string;
121
+ name: string;
122
+ email: string;
123
+ picture?: string | null;
124
+ };
125
+
119
126
  export type UserMention = {
120
127
  dazlUserId: string;
121
128
  };
@@ -403,13 +410,6 @@ export type UserRaw = {
403
410
  picture?: string | null;
404
411
  };
405
412
 
406
- export type UserDisplayInfoResponse = {
407
- dazlId: string;
408
- name: string;
409
- email: string;
410
- picture?: string | null;
411
- };
412
-
413
413
  export type DeleteProjectInput = {
414
414
  /**
415
415
  * The name of the project being deleted
@@ -2580,6 +2580,10 @@ export type GetUserProjectsData = {
2580
2580
  * filter by origin template when provided
2581
2581
  */
2582
2582
  originTemplateId?: string;
2583
+ /**
2584
+ * Include associated users metadata in the response
2585
+ */
2586
+ withAssociatedUsers?: boolean | null;
2583
2587
  };
2584
2588
  url: '/project/user/{ownerDazlId}';
2585
2589
  };
@@ -2633,6 +2637,7 @@ export type GetUserProjectsResponses = {
2633
2637
  } | null;
2634
2638
  screenshotUrl: string | null;
2635
2639
  }>;
2640
+ users?: Array<UserDisplayInfoResponse>;
2636
2641
  };
2637
2642
  };
2638
2643
 
@@ -3754,6 +3759,7 @@ export type GetUserTemplatesData = {
3754
3759
  query?: {
3755
3760
  withScreenshot?: boolean | null;
3756
3761
  withOriginProject?: boolean | null;
3762
+ withAssociatedUsers?: boolean | null;
3757
3763
  };
3758
3764
  url: '/template/user/{dazlId}';
3759
3765
  };
@@ -3803,6 +3809,7 @@ export type GetUserTemplatesResponses = {
3803
3809
  screenshotUrl: string | null;
3804
3810
  originProjectName: string | null;
3805
3811
  } & TemplateRaw>;
3812
+ users?: Array<UserDisplayInfoResponse>;
3806
3813
  };
3807
3814
  };
3808
3815
 
@@ -5067,6 +5074,62 @@ export type GetUsersByDazlIdsResponses = {
5067
5074
 
5068
5075
  export type GetUsersByDazlIdsResponse = GetUsersByDazlIdsResponses[keyof GetUsersByDazlIdsResponses];
5069
5076
 
5077
+ export type GetUsersByEmailsData = {
5078
+ body: {
5079
+ emails: Array<string>;
5080
+ };
5081
+ path?: never;
5082
+ query?: never;
5083
+ url: '/user/list-by-emails';
5084
+ };
5085
+
5086
+ export type GetUsersByEmailsErrors = {
5087
+ /**
5088
+ * Bad request - Invalid parameters or malformed JSON
5089
+ */
5090
+ 400: {
5091
+ message: string;
5092
+ issues?: string;
5093
+ };
5094
+ /**
5095
+ * Unauthorized
5096
+ */
5097
+ 401: ErrorResponse;
5098
+ /**
5099
+ * Forbidden
5100
+ */
5101
+ 403: ErrorResponse;
5102
+ /**
5103
+ * Not Found
5104
+ */
5105
+ 404: ErrorResponse;
5106
+ /**
5107
+ * Conflict
5108
+ */
5109
+ 409: ErrorResponse;
5110
+ /**
5111
+ * Internal server error
5112
+ */
5113
+ 500: ErrorResponse;
5114
+ /**
5115
+ * Service Unavailable
5116
+ */
5117
+ 503: ErrorResponse;
5118
+ };
5119
+
5120
+ export type GetUsersByEmailsError = GetUsersByEmailsErrors[keyof GetUsersByEmailsErrors];
5121
+
5122
+ export type GetUsersByEmailsResponses = {
5123
+ /**
5124
+ * Returns the requested users
5125
+ */
5126
+ 200: {
5127
+ users: Array<UserDisplayInfoResponse>;
5128
+ };
5129
+ };
5130
+
5131
+ export type GetUsersByEmailsResponse = GetUsersByEmailsResponses[keyof GetUsersByEmailsResponses];
5132
+
5070
5133
  export type CreateUserData = {
5071
5134
  body: {
5072
5135
  dazlId: string;