@dazl/api-client 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db/generated-types.d.ts +9 -0
- package/dist/db/generated-types.d.ts.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/sdk.gen.d.ts +12 -2
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +35 -3
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +280 -56
- 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 +9 -1
- package/dist/public/sdk.gen.d.ts.map +1 -1
- package/dist/public/sdk.gen.js +31 -0
- package/dist/public/sdk.gen.js.map +1 -1
- package/dist/public/types.gen.d.ts +227 -0
- package/dist/public/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/db/generated-types.ts +10 -0
- package/src/internal/index.ts +1 -1
- package/src/internal/sdk.gen.ts +41 -5
- package/src/internal/types.gen.ts +306 -62
- package/src/public/index.ts +2 -2
- package/src/public/sdk.gen.ts +36 -1
- package/src/public/types.gen.ts +249 -0
|
@@ -1,9 +1,236 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type UserRaw = {
|
|
5
|
+
id: number;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
picture: string | null;
|
|
8
|
+
jobRole: string | null;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
} & {
|
|
11
|
+
dazlId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
authSub: string;
|
|
15
|
+
stripeCustomerId: string;
|
|
16
|
+
picture?: string | null;
|
|
17
|
+
jobRole?: string | null;
|
|
18
|
+
};
|
|
4
19
|
export type ErrorResponse = {
|
|
5
20
|
message: string;
|
|
6
21
|
};
|
|
22
|
+
export type FeatureToggle = {
|
|
23
|
+
name: string;
|
|
24
|
+
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
};
|
|
27
|
+
export type EnsureMyUserData = {
|
|
28
|
+
body?: {
|
|
29
|
+
name?: string;
|
|
30
|
+
picture?: string | null;
|
|
31
|
+
jobRole?: string | null;
|
|
32
|
+
};
|
|
33
|
+
path?: never;
|
|
34
|
+
query?: never;
|
|
35
|
+
url: '/user-auth/ensure-user';
|
|
36
|
+
};
|
|
37
|
+
export type EnsureMyUserErrors = {
|
|
38
|
+
/**
|
|
39
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
40
|
+
*/
|
|
41
|
+
400: {
|
|
42
|
+
message: string;
|
|
43
|
+
issues?: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Unauthorized
|
|
47
|
+
*/
|
|
48
|
+
401: ErrorResponse;
|
|
49
|
+
/**
|
|
50
|
+
* Forbidden
|
|
51
|
+
*/
|
|
52
|
+
403: ErrorResponse;
|
|
53
|
+
/**
|
|
54
|
+
* Not Found
|
|
55
|
+
*/
|
|
56
|
+
404: ErrorResponse;
|
|
57
|
+
/**
|
|
58
|
+
* Conflict
|
|
59
|
+
*/
|
|
60
|
+
409: ErrorResponse;
|
|
61
|
+
/**
|
|
62
|
+
* Internal server error
|
|
63
|
+
*/
|
|
64
|
+
500: ErrorResponse;
|
|
65
|
+
/**
|
|
66
|
+
* Service Unavailable
|
|
67
|
+
*/
|
|
68
|
+
503: ErrorResponse;
|
|
69
|
+
};
|
|
70
|
+
export type EnsureMyUserError = EnsureMyUserErrors[keyof EnsureMyUserErrors];
|
|
71
|
+
export type EnsureMyUserResponses = {
|
|
72
|
+
/**
|
|
73
|
+
* Returns the requested user
|
|
74
|
+
*/
|
|
75
|
+
200: {
|
|
76
|
+
user: UserRaw;
|
|
77
|
+
created: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export type EnsureMyUserResponse = EnsureMyUserResponses[keyof EnsureMyUserResponses];
|
|
81
|
+
export type GetMyUserData = {
|
|
82
|
+
body?: never;
|
|
83
|
+
path?: never;
|
|
84
|
+
query?: never;
|
|
85
|
+
url: '/user/me';
|
|
86
|
+
};
|
|
87
|
+
export type GetMyUserErrors = {
|
|
88
|
+
/**
|
|
89
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
90
|
+
*/
|
|
91
|
+
400: {
|
|
92
|
+
message: string;
|
|
93
|
+
issues?: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Unauthorized
|
|
97
|
+
*/
|
|
98
|
+
401: ErrorResponse;
|
|
99
|
+
/**
|
|
100
|
+
* Forbidden
|
|
101
|
+
*/
|
|
102
|
+
403: ErrorResponse;
|
|
103
|
+
/**
|
|
104
|
+
* Not Found
|
|
105
|
+
*/
|
|
106
|
+
404: ErrorResponse;
|
|
107
|
+
/**
|
|
108
|
+
* Conflict
|
|
109
|
+
*/
|
|
110
|
+
409: ErrorResponse;
|
|
111
|
+
/**
|
|
112
|
+
* Internal server error
|
|
113
|
+
*/
|
|
114
|
+
500: ErrorResponse;
|
|
115
|
+
/**
|
|
116
|
+
* Service Unavailable
|
|
117
|
+
*/
|
|
118
|
+
503: ErrorResponse;
|
|
119
|
+
};
|
|
120
|
+
export type GetMyUserError = GetMyUserErrors[keyof GetMyUserErrors];
|
|
121
|
+
export type GetMyUserResponses = {
|
|
122
|
+
/**
|
|
123
|
+
* Returns the requested user
|
|
124
|
+
*/
|
|
125
|
+
200: {
|
|
126
|
+
user: UserRaw;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export type GetMyUserResponse = GetMyUserResponses[keyof GetMyUserResponses];
|
|
130
|
+
export type UpdateMyUserData = {
|
|
131
|
+
body: {
|
|
132
|
+
picture?: string | null;
|
|
133
|
+
name?: string;
|
|
134
|
+
jobRole?: string | null;
|
|
135
|
+
};
|
|
136
|
+
path?: never;
|
|
137
|
+
query?: never;
|
|
138
|
+
url: '/user/me';
|
|
139
|
+
};
|
|
140
|
+
export type UpdateMyUserErrors = {
|
|
141
|
+
/**
|
|
142
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
143
|
+
*/
|
|
144
|
+
400: {
|
|
145
|
+
message: string;
|
|
146
|
+
issues?: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Unauthorized
|
|
150
|
+
*/
|
|
151
|
+
401: ErrorResponse;
|
|
152
|
+
/**
|
|
153
|
+
* Forbidden
|
|
154
|
+
*/
|
|
155
|
+
403: ErrorResponse;
|
|
156
|
+
/**
|
|
157
|
+
* Not Found
|
|
158
|
+
*/
|
|
159
|
+
404: ErrorResponse;
|
|
160
|
+
/**
|
|
161
|
+
* Conflict
|
|
162
|
+
*/
|
|
163
|
+
409: ErrorResponse;
|
|
164
|
+
/**
|
|
165
|
+
* Internal server error
|
|
166
|
+
*/
|
|
167
|
+
500: ErrorResponse;
|
|
168
|
+
/**
|
|
169
|
+
* Service Unavailable
|
|
170
|
+
*/
|
|
171
|
+
503: ErrorResponse;
|
|
172
|
+
};
|
|
173
|
+
export type UpdateMyUserError = UpdateMyUserErrors[keyof UpdateMyUserErrors];
|
|
174
|
+
export type UpdateMyUserResponses = {
|
|
175
|
+
/**
|
|
176
|
+
* Updates user information
|
|
177
|
+
*/
|
|
178
|
+
200: {
|
|
179
|
+
user: UserRaw;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
183
|
+
export type GetFeatureTogglesData = {
|
|
184
|
+
body?: never;
|
|
185
|
+
path?: never;
|
|
186
|
+
query?: {
|
|
187
|
+
scope?: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
188
|
+
};
|
|
189
|
+
url: '/env-config';
|
|
190
|
+
};
|
|
191
|
+
export type GetFeatureTogglesErrors = {
|
|
192
|
+
/**
|
|
193
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
194
|
+
*/
|
|
195
|
+
400: {
|
|
196
|
+
message: string;
|
|
197
|
+
issues?: string;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Unauthorized
|
|
201
|
+
*/
|
|
202
|
+
401: ErrorResponse;
|
|
203
|
+
/**
|
|
204
|
+
* Forbidden
|
|
205
|
+
*/
|
|
206
|
+
403: ErrorResponse;
|
|
207
|
+
/**
|
|
208
|
+
* Not Found
|
|
209
|
+
*/
|
|
210
|
+
404: ErrorResponse;
|
|
211
|
+
/**
|
|
212
|
+
* Conflict
|
|
213
|
+
*/
|
|
214
|
+
409: ErrorResponse;
|
|
215
|
+
/**
|
|
216
|
+
* Internal server error
|
|
217
|
+
*/
|
|
218
|
+
500: ErrorResponse;
|
|
219
|
+
/**
|
|
220
|
+
* Service Unavailable
|
|
221
|
+
*/
|
|
222
|
+
503: ErrorResponse;
|
|
223
|
+
};
|
|
224
|
+
export type GetFeatureTogglesError = GetFeatureTogglesErrors[keyof GetFeatureTogglesErrors];
|
|
225
|
+
export type GetFeatureTogglesResponses = {
|
|
226
|
+
/**
|
|
227
|
+
* Returns feature toggles, optionally filtered by scope
|
|
228
|
+
*/
|
|
229
|
+
200: {
|
|
230
|
+
toggles: Array<FeatureToggle>;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
export type GetFeatureTogglesResponse = GetFeatureTogglesResponses[keyof GetFeatureTogglesResponses];
|
|
7
234
|
export type GetPingData = {
|
|
8
235
|
body?: never;
|
|
9
236
|
path?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../src/public/types.gen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,GAAG,MAAM,MAAM,MA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AAE,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
|
@@ -180,6 +180,15 @@ export interface Project {
|
|
|
180
180
|
userId: number;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
export interface ProjectInitData {
|
|
184
|
+
createdAt: Generated<Timestamp>;
|
|
185
|
+
gitBranchToClone: string | null;
|
|
186
|
+
gitBranchToCreate: string | null;
|
|
187
|
+
gitRepoURL: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
updatedAt: Generated<Timestamp>;
|
|
190
|
+
}
|
|
191
|
+
|
|
183
192
|
export interface ProjectInvitation {
|
|
184
193
|
createdAt: Generated<Timestamp>;
|
|
185
194
|
email: string | null;
|
|
@@ -299,6 +308,7 @@ export interface DB {
|
|
|
299
308
|
Project: Project;
|
|
300
309
|
ProjectInvitation: ProjectInvitation;
|
|
301
310
|
ProjectOnGitHub: ProjectOnGitHub;
|
|
311
|
+
ProjectInitData: ProjectInitData;
|
|
302
312
|
StripePrice: StripePrice;
|
|
303
313
|
StripeProduct: StripeProduct;
|
|
304
314
|
Template: Template;
|
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
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, 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, 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, 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, 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';
|
|
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';
|
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, GetOAuthUrlData, GetOAuthUrlErrors, GetOAuthUrlResponses, GetPriceByIdData, GetPriceByIdErrors, GetPriceByIdResponses, GetProjectByIdData, GetProjectByIdErrors, GetProjectByIdResponses, GetProjectCollaboratorsData, GetProjectCollaboratorsErrors, GetProjectCollaboratorsResponses, GetProjectInfoData, GetProjectInfoErrors, GetProjectInfoResponses, 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, 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, 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, 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';
|
|
5
5
|
|
|
6
6
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
7
7
|
/**
|
|
@@ -30,10 +30,16 @@ export class User {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated
|
|
35
|
+
*/
|
|
33
36
|
public static getUserByDazlId<ThrowOnError extends boolean = false>(options: Options<GetUserByDazlIdData, ThrowOnError>): RequestResult<GetUserByDazlIdResponses, GetUserByDazlIdErrors, ThrowOnError> {
|
|
34
37
|
return options.client.get<GetUserByDazlIdResponses, GetUserByDazlIdErrors, ThrowOnError>({ url: '/user/{dazlId}', ...options });
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated
|
|
42
|
+
*/
|
|
37
43
|
public static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): RequestResult<UpdateUserResponses, UpdateUserErrors, ThrowOnError> {
|
|
38
44
|
return options.client.patch<UpdateUserResponses, UpdateUserErrors, ThrowOnError>({
|
|
39
45
|
url: '/user/{dazlId}',
|
|
@@ -77,6 +83,21 @@ export class User {
|
|
|
77
83
|
}
|
|
78
84
|
});
|
|
79
85
|
}
|
|
86
|
+
|
|
87
|
+
public static getMyUser<ThrowOnError extends boolean = false>(options: Options<GetMyUserData, ThrowOnError>): RequestResult<GetMyUserResponses, GetMyUserErrors, ThrowOnError> {
|
|
88
|
+
return options.client.get<GetMyUserResponses, GetMyUserErrors, ThrowOnError>({ url: '/user/me', ...options });
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public static updateMyUser<ThrowOnError extends boolean = false>(options: Options<UpdateMyUserData, ThrowOnError>): RequestResult<UpdateMyUserResponses, UpdateMyUserErrors, ThrowOnError> {
|
|
92
|
+
return options.client.patch<UpdateMyUserResponses, UpdateMyUserErrors, ThrowOnError>({
|
|
93
|
+
url: '/user/me',
|
|
94
|
+
...options,
|
|
95
|
+
headers: {
|
|
96
|
+
'Content-Type': 'application/json',
|
|
97
|
+
...options.headers
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
80
101
|
}
|
|
81
102
|
|
|
82
103
|
export class UserSettings {
|
|
@@ -307,6 +328,21 @@ export class Project {
|
|
|
307
328
|
});
|
|
308
329
|
}
|
|
309
330
|
|
|
331
|
+
public static markProjectAsInitialized<ThrowOnError extends boolean = false>(options: Options<MarkProjectAsInitializedData, ThrowOnError>): RequestResult<MarkProjectAsInitializedResponses, MarkProjectAsInitializedErrors, ThrowOnError> {
|
|
332
|
+
return options.client.delete<MarkProjectAsInitializedResponses, MarkProjectAsInitializedErrors, ThrowOnError>({
|
|
333
|
+
url: '/project/{projectId}/project-init-data',
|
|
334
|
+
...options,
|
|
335
|
+
headers: {
|
|
336
|
+
'Content-Type': 'application/json',
|
|
337
|
+
...options.headers
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
public static getProjectInitData<ThrowOnError extends boolean = false>(options: Options<GetProjectInitDataData, ThrowOnError>): RequestResult<GetProjectInitDataResponses, GetProjectInitDataErrors, ThrowOnError> {
|
|
343
|
+
return options.client.get<GetProjectInitDataResponses, GetProjectInitDataErrors, ThrowOnError>({ url: '/project/{projectId}/project-init-data', ...options });
|
|
344
|
+
}
|
|
345
|
+
|
|
310
346
|
public static createProject<ThrowOnError extends boolean = false>(options: Options<CreateProjectData, ThrowOnError>): RequestResult<CreateProjectResponses, CreateProjectErrors, ThrowOnError> {
|
|
311
347
|
return options.client.post<CreateProjectResponses, CreateProjectErrors, ThrowOnError>({
|
|
312
348
|
url: '/project',
|
|
@@ -774,10 +810,6 @@ export class Admin {
|
|
|
774
810
|
}
|
|
775
811
|
|
|
776
812
|
export class EnvConfig {
|
|
777
|
-
public static getFeatureToggles<ThrowOnError extends boolean = false>(options: Options<GetFeatureTogglesData, ThrowOnError>): RequestResult<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError> {
|
|
778
|
-
return options.client.get<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError>({ url: '/env-config', ...options });
|
|
779
|
-
}
|
|
780
|
-
|
|
781
813
|
public static openFeatureToggle<ThrowOnError extends boolean = false>(options: Options<OpenFeatureToggleData, ThrowOnError>): RequestResult<OpenFeatureToggleResponses, OpenFeatureToggleErrors, ThrowOnError> {
|
|
782
814
|
return options.client.post<OpenFeatureToggleResponses, OpenFeatureToggleErrors, ThrowOnError>({
|
|
783
815
|
url: '/env-config/open',
|
|
@@ -799,6 +831,10 @@ export class EnvConfig {
|
|
|
799
831
|
}
|
|
800
832
|
});
|
|
801
833
|
}
|
|
834
|
+
|
|
835
|
+
public static getFeatureToggles<ThrowOnError extends boolean = false>(options: Options<GetFeatureTogglesData, ThrowOnError>): RequestResult<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError> {
|
|
836
|
+
return options.client.get<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError>({ url: '/env-config', ...options });
|
|
837
|
+
}
|
|
802
838
|
}
|
|
803
839
|
|
|
804
840
|
export class UserKeyValue {
|