@dazl/api-client 1.0.3 → 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/internal/index.d.ts +1 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/sdk.gen.d.ts +10 -2
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +22 -3
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +158 -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/internal/index.ts +1 -1
- package/src/internal/sdk.gen.ts +26 -5
- package/src/internal/types.gen.ts +174 -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,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,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,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
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, 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, 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, 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, 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 {
|
|
@@ -789,10 +810,6 @@ export class Admin {
|
|
|
789
810
|
}
|
|
790
811
|
|
|
791
812
|
export class EnvConfig {
|
|
792
|
-
public static getFeatureToggles<ThrowOnError extends boolean = false>(options: Options<GetFeatureTogglesData, ThrowOnError>): RequestResult<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError> {
|
|
793
|
-
return options.client.get<GetFeatureTogglesResponses, GetFeatureTogglesErrors, ThrowOnError>({ url: '/env-config', ...options });
|
|
794
|
-
}
|
|
795
|
-
|
|
796
813
|
public static openFeatureToggle<ThrowOnError extends boolean = false>(options: Options<OpenFeatureToggleData, ThrowOnError>): RequestResult<OpenFeatureToggleResponses, OpenFeatureToggleErrors, ThrowOnError> {
|
|
797
814
|
return options.client.post<OpenFeatureToggleResponses, OpenFeatureToggleErrors, ThrowOnError>({
|
|
798
815
|
url: '/env-config/open',
|
|
@@ -814,6 +831,10 @@ export class EnvConfig {
|
|
|
814
831
|
}
|
|
815
832
|
});
|
|
816
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
|
+
}
|
|
817
838
|
}
|
|
818
839
|
|
|
819
840
|
export class UserKeyValue {
|
|
@@ -451,12 +451,6 @@ export type UpdateCreditsInput = {
|
|
|
451
451
|
targetDazlUserId: string;
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
export type FeatureToggle = {
|
|
455
|
-
name: string;
|
|
456
|
-
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
457
|
-
updatedAt: string;
|
|
458
|
-
};
|
|
459
|
-
|
|
460
454
|
export type PurgeUserAccountInput = {
|
|
461
455
|
/**
|
|
462
456
|
* dazlId of the admin user performing the purge, for audit purposes
|
|
@@ -497,6 +491,12 @@ export type EditReplyInput = {
|
|
|
497
491
|
mentions?: Array<UserMention>;
|
|
498
492
|
};
|
|
499
493
|
|
|
494
|
+
export type FeatureToggle = {
|
|
495
|
+
name: string;
|
|
496
|
+
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
497
|
+
updatedAt: string;
|
|
498
|
+
};
|
|
499
|
+
|
|
500
500
|
export type EnsureMyUserData = {
|
|
501
501
|
body?: {
|
|
502
502
|
name?: string;
|
|
@@ -5633,62 +5633,6 @@ export type AdminLogActionResponses = {
|
|
|
5633
5633
|
|
|
5634
5634
|
export type AdminLogActionResponse = AdminLogActionResponses[keyof AdminLogActionResponses];
|
|
5635
5635
|
|
|
5636
|
-
export type GetFeatureTogglesData = {
|
|
5637
|
-
body?: never;
|
|
5638
|
-
path?: never;
|
|
5639
|
-
query?: {
|
|
5640
|
-
scope?: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
5641
|
-
};
|
|
5642
|
-
url: '/env-config';
|
|
5643
|
-
};
|
|
5644
|
-
|
|
5645
|
-
export type GetFeatureTogglesErrors = {
|
|
5646
|
-
/**
|
|
5647
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
5648
|
-
*/
|
|
5649
|
-
400: {
|
|
5650
|
-
message: string;
|
|
5651
|
-
issues?: string;
|
|
5652
|
-
};
|
|
5653
|
-
/**
|
|
5654
|
-
* Unauthorized
|
|
5655
|
-
*/
|
|
5656
|
-
401: ErrorResponse;
|
|
5657
|
-
/**
|
|
5658
|
-
* Forbidden
|
|
5659
|
-
*/
|
|
5660
|
-
403: ErrorResponse;
|
|
5661
|
-
/**
|
|
5662
|
-
* Not Found
|
|
5663
|
-
*/
|
|
5664
|
-
404: ErrorResponse;
|
|
5665
|
-
/**
|
|
5666
|
-
* Conflict
|
|
5667
|
-
*/
|
|
5668
|
-
409: ErrorResponse;
|
|
5669
|
-
/**
|
|
5670
|
-
* Internal server error
|
|
5671
|
-
*/
|
|
5672
|
-
500: ErrorResponse;
|
|
5673
|
-
/**
|
|
5674
|
-
* Service Unavailable
|
|
5675
|
-
*/
|
|
5676
|
-
503: ErrorResponse;
|
|
5677
|
-
};
|
|
5678
|
-
|
|
5679
|
-
export type GetFeatureTogglesError = GetFeatureTogglesErrors[keyof GetFeatureTogglesErrors];
|
|
5680
|
-
|
|
5681
|
-
export type GetFeatureTogglesResponses = {
|
|
5682
|
-
/**
|
|
5683
|
-
* Returns feature toggles, optionally filtered by scope
|
|
5684
|
-
*/
|
|
5685
|
-
200: {
|
|
5686
|
-
toggles: Array<FeatureToggle>;
|
|
5687
|
-
};
|
|
5688
|
-
};
|
|
5689
|
-
|
|
5690
|
-
export type GetFeatureTogglesResponse = GetFeatureTogglesResponses[keyof GetFeatureTogglesResponses];
|
|
5691
|
-
|
|
5692
5636
|
export type OpenFeatureToggleData = {
|
|
5693
5637
|
body: {
|
|
5694
5638
|
name: string;
|
|
@@ -7079,3 +7023,171 @@ export type EditReplyResponses = {
|
|
|
7079
7023
|
};
|
|
7080
7024
|
|
|
7081
7025
|
export type EditReplyResponse = EditReplyResponses[keyof EditReplyResponses];
|
|
7026
|
+
|
|
7027
|
+
export type GetMyUserData = {
|
|
7028
|
+
body?: never;
|
|
7029
|
+
path?: never;
|
|
7030
|
+
query?: never;
|
|
7031
|
+
url: '/user/me';
|
|
7032
|
+
};
|
|
7033
|
+
|
|
7034
|
+
export type GetMyUserErrors = {
|
|
7035
|
+
/**
|
|
7036
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7037
|
+
*/
|
|
7038
|
+
400: {
|
|
7039
|
+
message: string;
|
|
7040
|
+
issues?: string;
|
|
7041
|
+
};
|
|
7042
|
+
/**
|
|
7043
|
+
* Unauthorized
|
|
7044
|
+
*/
|
|
7045
|
+
401: ErrorResponse;
|
|
7046
|
+
/**
|
|
7047
|
+
* Forbidden
|
|
7048
|
+
*/
|
|
7049
|
+
403: ErrorResponse;
|
|
7050
|
+
/**
|
|
7051
|
+
* Not Found
|
|
7052
|
+
*/
|
|
7053
|
+
404: ErrorResponse;
|
|
7054
|
+
/**
|
|
7055
|
+
* Conflict
|
|
7056
|
+
*/
|
|
7057
|
+
409: ErrorResponse;
|
|
7058
|
+
/**
|
|
7059
|
+
* Internal server error
|
|
7060
|
+
*/
|
|
7061
|
+
500: ErrorResponse;
|
|
7062
|
+
/**
|
|
7063
|
+
* Service Unavailable
|
|
7064
|
+
*/
|
|
7065
|
+
503: ErrorResponse;
|
|
7066
|
+
};
|
|
7067
|
+
|
|
7068
|
+
export type GetMyUserError = GetMyUserErrors[keyof GetMyUserErrors];
|
|
7069
|
+
|
|
7070
|
+
export type GetMyUserResponses = {
|
|
7071
|
+
/**
|
|
7072
|
+
* Returns the requested user
|
|
7073
|
+
*/
|
|
7074
|
+
200: {
|
|
7075
|
+
user: UserRaw;
|
|
7076
|
+
};
|
|
7077
|
+
};
|
|
7078
|
+
|
|
7079
|
+
export type GetMyUserResponse = GetMyUserResponses[keyof GetMyUserResponses];
|
|
7080
|
+
|
|
7081
|
+
export type UpdateMyUserData = {
|
|
7082
|
+
body: {
|
|
7083
|
+
picture?: string | null;
|
|
7084
|
+
name?: string;
|
|
7085
|
+
jobRole?: string | null;
|
|
7086
|
+
};
|
|
7087
|
+
path?: never;
|
|
7088
|
+
query?: never;
|
|
7089
|
+
url: '/user/me';
|
|
7090
|
+
};
|
|
7091
|
+
|
|
7092
|
+
export type UpdateMyUserErrors = {
|
|
7093
|
+
/**
|
|
7094
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7095
|
+
*/
|
|
7096
|
+
400: {
|
|
7097
|
+
message: string;
|
|
7098
|
+
issues?: string;
|
|
7099
|
+
};
|
|
7100
|
+
/**
|
|
7101
|
+
* Unauthorized
|
|
7102
|
+
*/
|
|
7103
|
+
401: ErrorResponse;
|
|
7104
|
+
/**
|
|
7105
|
+
* Forbidden
|
|
7106
|
+
*/
|
|
7107
|
+
403: ErrorResponse;
|
|
7108
|
+
/**
|
|
7109
|
+
* Not Found
|
|
7110
|
+
*/
|
|
7111
|
+
404: ErrorResponse;
|
|
7112
|
+
/**
|
|
7113
|
+
* Conflict
|
|
7114
|
+
*/
|
|
7115
|
+
409: ErrorResponse;
|
|
7116
|
+
/**
|
|
7117
|
+
* Internal server error
|
|
7118
|
+
*/
|
|
7119
|
+
500: ErrorResponse;
|
|
7120
|
+
/**
|
|
7121
|
+
* Service Unavailable
|
|
7122
|
+
*/
|
|
7123
|
+
503: ErrorResponse;
|
|
7124
|
+
};
|
|
7125
|
+
|
|
7126
|
+
export type UpdateMyUserError = UpdateMyUserErrors[keyof UpdateMyUserErrors];
|
|
7127
|
+
|
|
7128
|
+
export type UpdateMyUserResponses = {
|
|
7129
|
+
/**
|
|
7130
|
+
* Updates user information
|
|
7131
|
+
*/
|
|
7132
|
+
200: {
|
|
7133
|
+
user: UserRaw;
|
|
7134
|
+
};
|
|
7135
|
+
};
|
|
7136
|
+
|
|
7137
|
+
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
7138
|
+
|
|
7139
|
+
export type GetFeatureTogglesData = {
|
|
7140
|
+
body?: never;
|
|
7141
|
+
path?: never;
|
|
7142
|
+
query?: {
|
|
7143
|
+
scope?: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
7144
|
+
};
|
|
7145
|
+
url: '/env-config';
|
|
7146
|
+
};
|
|
7147
|
+
|
|
7148
|
+
export type GetFeatureTogglesErrors = {
|
|
7149
|
+
/**
|
|
7150
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7151
|
+
*/
|
|
7152
|
+
400: {
|
|
7153
|
+
message: string;
|
|
7154
|
+
issues?: string;
|
|
7155
|
+
};
|
|
7156
|
+
/**
|
|
7157
|
+
* Unauthorized
|
|
7158
|
+
*/
|
|
7159
|
+
401: ErrorResponse;
|
|
7160
|
+
/**
|
|
7161
|
+
* Forbidden
|
|
7162
|
+
*/
|
|
7163
|
+
403: ErrorResponse;
|
|
7164
|
+
/**
|
|
7165
|
+
* Not Found
|
|
7166
|
+
*/
|
|
7167
|
+
404: ErrorResponse;
|
|
7168
|
+
/**
|
|
7169
|
+
* Conflict
|
|
7170
|
+
*/
|
|
7171
|
+
409: ErrorResponse;
|
|
7172
|
+
/**
|
|
7173
|
+
* Internal server error
|
|
7174
|
+
*/
|
|
7175
|
+
500: ErrorResponse;
|
|
7176
|
+
/**
|
|
7177
|
+
* Service Unavailable
|
|
7178
|
+
*/
|
|
7179
|
+
503: ErrorResponse;
|
|
7180
|
+
};
|
|
7181
|
+
|
|
7182
|
+
export type GetFeatureTogglesError = GetFeatureTogglesErrors[keyof GetFeatureTogglesErrors];
|
|
7183
|
+
|
|
7184
|
+
export type GetFeatureTogglesResponses = {
|
|
7185
|
+
/**
|
|
7186
|
+
* Returns feature toggles, optionally filtered by scope
|
|
7187
|
+
*/
|
|
7188
|
+
200: {
|
|
7189
|
+
toggles: Array<FeatureToggle>;
|
|
7190
|
+
};
|
|
7191
|
+
};
|
|
7192
|
+
|
|
7193
|
+
export type GetFeatureTogglesResponse = GetFeatureTogglesResponses[keyof GetFeatureTogglesResponses];
|