@open-pencil/cloud 0.17.0-beta.4 → 0.17.0-beta.5
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/README.md +2 -1
- package/dist/bin/server.mjs +1 -1
- package/dist/bin/server.mjs.map +1 -1
- package/dist/bin/services.mjs +1 -1
- package/dist/bin/services.mjs.map +1 -1
- package/dist/client.d.ts +296 -27
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +649 -295
- package/dist/client.js.map +1 -1
- package/dist/contract.d.ts +2 -2
- package/dist/contract.js +2 -2
- package/dist/contract2.js +331 -21
- package/dist/contract2.js.map +1 -1
- package/dist/email.d.ts +1773 -32
- package/dist/email.d.ts.map +1 -1
- package/dist/email.js +3478 -288
- package/dist/email.js.map +1 -1
- package/dist/errors.d.ts +2 -0
- package/dist/errors.js +48 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +466 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index2.d.ts +35 -0
- package/dist/index2.d.ts.map +1 -0
- package/dist/listen.mjs +447 -290
- package/dist/listen.mjs.map +1 -1
- package/dist/runtime-cloudflare.d.ts +89 -0
- package/dist/runtime-cloudflare.d.ts.map +1 -0
- package/dist/runtime-cloudflare.js +15667 -0
- package/dist/runtime-cloudflare.js.map +1 -0
- package/dist/runtime-node.d.mts +2963 -294
- package/dist/runtime-node.d.mts.map +1 -1
- package/dist/server.d.ts +3473 -842
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +12187 -8244
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +7739 -3548
- package/dist/server.mjs.map +1 -1
- package/dist/server2.mjs +5 -5
- package/dist/server2.mjs.map +1 -1
- package/package.json +22 -5
- package/src/admin/audit/service.ts +2 -2
- package/src/admin/documents/service.ts +76 -6
- package/src/admin/reports/service.ts +7 -1
- package/src/client/api.ts +23 -471
- package/src/client/auth/client.ts +22 -3
- package/src/client/billing.ts +80 -0
- package/src/client/community.ts +40 -0
- package/src/client/discovery.ts +35 -9
- package/src/client/documents.ts +160 -0
- package/src/client/index.ts +7 -0
- package/src/client/portal/account.ts +54 -2
- package/src/client/portal/request.ts +2 -0
- package/src/client/response.ts +21 -0
- package/src/client/schema.ts +8 -0
- package/src/client/services.ts +23 -18
- package/src/client/sharing.ts +262 -0
- package/src/client/versions.ts +104 -0
- package/src/contract/account.ts +50 -0
- package/src/contract/billing.ts +166 -0
- package/src/contract/collaboration.ts +5 -0
- package/src/contract/community.ts +60 -0
- package/src/contract/discovery.ts +63 -2
- package/src/contract/entitlements.ts +10 -0
- package/src/contract/index.ts +54 -5
- package/src/contract/links.ts +57 -4
- package/src/contract/locale.ts +27 -0
- package/src/contract/portal.ts +12 -1
- package/src/contract/routes.ts +10 -0
- package/src/contract/services.ts +18 -16
- package/src/email/i18n.ts +174 -0
- package/src/email/index.ts +13 -2
- package/src/email/locales/ar.json +141 -0
- package/src/email/locales/de.json +141 -0
- package/src/email/locales/es.json +141 -0
- package/src/email/locales/fr.json +141 -0
- package/src/email/locales/it.json +141 -0
- package/src/email/locales/ja.json +141 -0
- package/src/email/locales/pl.json +141 -0
- package/src/email/locales/pt-br.json +141 -0
- package/src/email/locales/ru.json +141 -0
- package/src/email/locales/zh-cn.json +141 -0
- package/src/email/messages.ts +200 -0
- package/src/email/render.ts +142 -276
- package/src/email/samples.ts +115 -0
- package/src/email/schema.ts +70 -6
- package/src/email/templates/BrandEmail.vue +54 -0
- package/src/email/templates/DocumentBlocked.vue +45 -0
- package/src/email/templates/DocumentInvitation.vue +24 -0
- package/src/email/templates/DocumentReport.vue +32 -0
- package/src/email/templates/DocumentReportDecided.vue +36 -0
- package/src/email/templates/DocumentReportReceived.vue +18 -0
- package/src/email/templates/DocumentRestored.vue +24 -0
- package/src/email/templates/EmailChangeRequested.vue +24 -0
- package/src/email/templates/EmailRoot.vue +19 -0
- package/src/email/templates/EmailText.vue +9 -0
- package/src/email/templates/EmailVerification.vue +38 -0
- package/src/email/templates/EnrollmentNotification.vue +24 -0
- package/src/email/templates/EnrollmentUpdate.vue +52 -0
- package/src/email/templates/NewSignIn.vue +37 -0
- package/src/email/templates/PasswordChanged.vue +22 -0
- package/src/email/templates/PasswordReset.vue +23 -0
- package/src/email/templates/StorageLimitReached.vue +28 -0
- package/src/email/templates/TwoStepChanged.vue +32 -0
- package/src/email/templates/WaitlistConfirmation.vue +29 -0
- package/src/email/templates/WorkspaceInvitation.vue +28 -0
- package/src/email/templates/brand.ts +9 -61
- package/src/email/templates/localization.ts +17 -0
- package/src/errors/index.ts +6 -0
- package/src/global.d.ts +7 -0
- package/src/runtime/cloudflare/relay/index.ts +7 -1
- package/src/runtime/cloudflare/tsconfig.json +2 -1
- package/src/runtime/cloudflare/worker.ts +8 -1
- package/src/runtime/node/cleanup.ts +5 -1
- package/src/runtime/node/email/transport.ts +13 -10
- package/src/runtime/node/main.ts +1 -1
- package/src/runtime/node/server.ts +12 -2
- package/src/runtime/node/services/main.ts +1 -1
- package/src/runtime/posthog/errors.ts +2 -1
- package/src/runtime/s3/objects.ts +17 -0
- package/src/runtime/site/community.ts +101 -0
- package/src/runtime/site/server.ts +17 -1
- package/src/server/account/deletion.ts +2 -0
- package/src/server/account/routes.ts +271 -240
- package/src/server/account/tokens.ts +57 -0
- package/src/server/api/router.ts +23 -0
- package/src/server/app/checks.ts +84 -0
- package/src/server/app/editors.ts +20 -0
- package/src/server/app/index.ts +128 -0
- package/src/server/app/indexing.ts +40 -0
- package/src/server/app/limiters.ts +53 -0
- package/src/server/app/routes.ts +114 -0
- package/src/server/app/services.ts +185 -0
- package/src/server/auth/access-tokens.ts +62 -0
- package/src/server/auth/adapter.ts +21 -1
- package/src/server/auth/email.ts +4 -1
- package/src/server/auth/enrollment.ts +116 -0
- package/src/server/auth/factory.ts +88 -131
- package/src/server/auth/logger.ts +23 -0
- package/src/server/auth/mfa-assurance.ts +51 -0
- package/src/server/auth/passwords.ts +43 -0
- package/src/server/auth/session.ts +2 -0
- package/src/server/billing/index.ts +6 -0
- package/src/server/billing/routes.ts +27 -0
- package/src/server/billing/tokens.ts +37 -0
- package/src/server/cleanup/configured.ts +16 -3
- package/src/server/cleanup/worker.ts +10 -1
- package/src/server/collaboration/relay/hub.ts +25 -142
- package/src/server/collaboration/relay/room.ts +154 -0
- package/src/server/collaboration/service.ts +21 -2
- package/src/server/community/index.ts +2 -0
- package/src/server/community/routes.ts +93 -0
- package/src/server/community/service.ts +134 -0
- package/src/server/config/deployment.ts +17 -5
- package/src/server/config/index.ts +1 -1
- package/src/server/config/public.ts +7 -1
- package/src/server/config/schema.ts +40 -292
- package/src/server/config/toml/schema.ts +307 -0
- package/src/server/db/index.ts +1 -0
- package/src/server/db/migrate.ts +13 -1
- package/src/server/db/migrations/009_access_tokens.ts +47 -0
- package/src/server/db/migrations/010_storage_limit_notices.ts +50 -0
- package/src/server/db/migrations/011_account_ids.ts +30 -0
- package/src/server/db/migrations/012_email_locales.ts +34 -0
- package/src/server/db/migrations/013_document_block_emails.ts +40 -0
- package/src/server/db/migrations/014_report_replies.ts +28 -0
- package/src/server/db/migrations/schema.ts +26 -1
- package/src/server/db/tables.ts +30 -1
- package/src/server/db/users.ts +22 -0
- package/src/server/documents/index.ts +1 -1
- package/src/server/documents/limits.ts +7 -1
- package/src/server/documents/service.ts +12 -402
- package/src/server/documents/uploads.ts +450 -0
- package/src/server/documents/versions/service.ts +81 -24
- package/src/server/email/invitations.ts +1 -0
- package/src/server/email/service.ts +31 -4
- package/src/server/email/types.ts +12 -0
- package/src/server/errors/index.ts +1 -9
- package/src/server/index.ts +12 -5
- package/src/server/invitations/types.ts +5 -1
- package/src/server/objects/types.ts +5 -0
- package/src/server/policy/configured.ts +9 -3
- package/src/server/policy/database.ts +13 -2
- package/src/server/policy/policy.ts +39 -12
- package/src/server/policy/service.ts +71 -52
- package/src/server/policy/storage.ts +33 -0
- package/src/server/quota/index.ts +6 -0
- package/src/server/quota/notices.ts +121 -0
- package/src/server/quota/storage.ts +5 -0
- package/src/server/rate-limit/middleware.ts +4 -0
- package/src/server/reports/index.ts +1 -0
- package/src/server/reports/replies.ts +55 -0
- package/src/server/reports/routes.ts +3 -1
- package/src/server/reports/service.ts +24 -2
- package/src/server/sharing/capabilities/service.ts +2 -3
- package/src/server/sharing/invitations/service.ts +14 -4
- package/src/server/validation.ts +3 -0
- package/src/server/workspaces/members.ts +7 -19
- package/src/services/app.ts +1 -3
- package/src/services/config.ts +1 -0
- package/src/services/usage.ts +6 -14
- package/src/email/templates/document-invitation.ts +0 -35
- package/src/email/templates/enrollment.ts +0 -27
- package/src/email/templates/layout.ts +0 -18
- package/src/server/app.ts +0 -453
- /package/src/{server/errors → errors}/posthog.ts +0 -0
package/dist/runtime-node.d.mts
CHANGED
|
@@ -7,6 +7,19 @@ import { Account, Session } from "better-auth";
|
|
|
7
7
|
import { Provider } from "@openfeature/server-sdk";
|
|
8
8
|
import Mail from "nodemailer/lib/mailer/index.js";
|
|
9
9
|
//#region src/contract/account.d.ts
|
|
10
|
+
declare const cloudAccessTokenSchema: v.ObjectSchema<{
|
|
11
|
+
readonly id: v.StringSchema<undefined>;
|
|
12
|
+
readonly name: v.StringSchema<undefined>;
|
|
13
|
+
/** The token's first characters, prefix included, to tell tokens apart; never the whole token. */
|
|
14
|
+
readonly start: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
16
|
+
readonly expiresAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly lastUsedAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
declare const cloudAccessTokenCreateSchema: v.ObjectSchema<{
|
|
20
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
21
|
+
readonly expiresInDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 365, undefined>]>;
|
|
22
|
+
}, undefined>;
|
|
10
23
|
/** How a sign-in was made: the method it used, or the desktop app's approved code. */
|
|
11
24
|
declare const cloudSignInMethodSchema: v.PicklistSchema<["password", "google", "apple", "passkey", "two-step", "email-link", "desktop", "other"], undefined>;
|
|
12
25
|
declare const cloudAccountSessionSchema: v.ObjectSchema<{
|
|
@@ -31,6 +44,8 @@ declare const cloudSignInSchema: v.ObjectSchema<{
|
|
|
31
44
|
readonly system: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
32
45
|
readonly createdAt: v.StringSchema<undefined>;
|
|
33
46
|
}, undefined>;
|
|
47
|
+
type CloudAccessToken = v.InferOutput<typeof cloudAccessTokenSchema>;
|
|
48
|
+
type CloudAccessTokenCreate = v.InferOutput<typeof cloudAccessTokenCreateSchema>;
|
|
34
49
|
type CloudSignInMethod = v.InferOutput<typeof cloudSignInMethodSchema>;
|
|
35
50
|
type CloudAccountSession = v.InferOutput<typeof cloudAccountSessionSchema>;
|
|
36
51
|
type CloudSignIn = v.InferOutput<typeof cloudSignInSchema>;
|
|
@@ -55,14 +70,1435 @@ type AdminListQuery<Filter extends string> = {
|
|
|
55
70
|
offset?: number;
|
|
56
71
|
};
|
|
57
72
|
//#endregion
|
|
73
|
+
//#region src/email/i18n.d.ts
|
|
74
|
+
/**
|
|
75
|
+
* Each language's translations of `emailMessageDefaults`, bundled so a Worker reads no files. They
|
|
76
|
+
* are what Cloud writes in: a language is supported once its file is here.
|
|
77
|
+
*/
|
|
78
|
+
declare const TRANSLATIONS: {
|
|
79
|
+
ar: {
|
|
80
|
+
greeting: string;
|
|
81
|
+
greetingWithoutName: string;
|
|
82
|
+
someone: string;
|
|
83
|
+
openCloud: string;
|
|
84
|
+
footer: string;
|
|
85
|
+
invitationExpires: string;
|
|
86
|
+
documentInvitationHeading: string;
|
|
87
|
+
documentInvitationViewSubject: string;
|
|
88
|
+
documentInvitationEditSubject: string;
|
|
89
|
+
documentInvitationView: string;
|
|
90
|
+
documentInvitationEdit: string;
|
|
91
|
+
documentInvitationAction: string;
|
|
92
|
+
workspaceInvitationSubject: string;
|
|
93
|
+
workspaceInvitationHeading: string;
|
|
94
|
+
workspaceInvitationAdmin: string;
|
|
95
|
+
workspaceInvitationEditor: string;
|
|
96
|
+
workspaceInvitationViewer: string;
|
|
97
|
+
workspaceInvitationHome: string;
|
|
98
|
+
workspaceInvitationAction: string;
|
|
99
|
+
enrollmentRequestedSubject: string;
|
|
100
|
+
enrollmentRequestedHeading: string;
|
|
101
|
+
enrollmentRequestedPreview: string;
|
|
102
|
+
enrollmentRequested: string;
|
|
103
|
+
enrollmentApprovedSubject: string;
|
|
104
|
+
enrollmentApprovedHeading: string;
|
|
105
|
+
enrollmentApprovedPreview: string;
|
|
106
|
+
enrollmentApproved: string;
|
|
107
|
+
enrollmentApprovedAction: string;
|
|
108
|
+
enrollmentRejectedSubject: string;
|
|
109
|
+
enrollmentRejectedHeading: string;
|
|
110
|
+
enrollmentRejectedPreview: string;
|
|
111
|
+
enrollmentRejected: string;
|
|
112
|
+
enrollmentRejectedAction: string;
|
|
113
|
+
enrollmentRevokedSubject: string;
|
|
114
|
+
enrollmentRevokedHeading: string;
|
|
115
|
+
enrollmentRevokedPreview: string;
|
|
116
|
+
enrollmentRevoked: string;
|
|
117
|
+
enrollmentRevokedAction: string;
|
|
118
|
+
enrollmentNotificationSubject: string;
|
|
119
|
+
enrollmentNotificationHeading: string;
|
|
120
|
+
enrollmentNotificationPreview: string;
|
|
121
|
+
enrollmentNotification: string;
|
|
122
|
+
enrollmentNotificationAction: string;
|
|
123
|
+
documentReportSubject: string;
|
|
124
|
+
documentReportHeading: string;
|
|
125
|
+
documentReportPreview: string;
|
|
126
|
+
documentReport: string;
|
|
127
|
+
documentReportAction: string;
|
|
128
|
+
reportReasonSpamPhishing: string;
|
|
129
|
+
reportReasonIllegal: string;
|
|
130
|
+
reportReasonCopyright: string;
|
|
131
|
+
reportReasonHarassment: string;
|
|
132
|
+
reportReasonOther: string;
|
|
133
|
+
verifyAccountSubject: string;
|
|
134
|
+
verifyAccountHeading: string;
|
|
135
|
+
verifyAccountPreview: string;
|
|
136
|
+
verifyAccount: string;
|
|
137
|
+
verifyAccountNote: string;
|
|
138
|
+
verifyChangeSubject: string;
|
|
139
|
+
verifyChangeHeading: string;
|
|
140
|
+
verifyChangePreview: string;
|
|
141
|
+
verifyChange: string;
|
|
142
|
+
verifyChangeNote: string;
|
|
143
|
+
verifyAction: string;
|
|
144
|
+
passwordResetSubject: string;
|
|
145
|
+
passwordResetHeading: string;
|
|
146
|
+
passwordResetPreview: string;
|
|
147
|
+
passwordReset: string;
|
|
148
|
+
passwordResetNote: string;
|
|
149
|
+
passwordResetAction: string;
|
|
150
|
+
passwordChangedSubject: string;
|
|
151
|
+
passwordChangedHeading: string;
|
|
152
|
+
passwordChangedPreview: string;
|
|
153
|
+
passwordChanged: string;
|
|
154
|
+
emailChangeSubject: string;
|
|
155
|
+
emailChangeHeading: string;
|
|
156
|
+
emailChangePreview: string;
|
|
157
|
+
emailChange: string;
|
|
158
|
+
emailChangeNotYou: string;
|
|
159
|
+
reviewAccount: string;
|
|
160
|
+
newSignInSubject: string;
|
|
161
|
+
newSignInHeading: string;
|
|
162
|
+
newSignInPreview: string;
|
|
163
|
+
newSignIn: string;
|
|
164
|
+
newSignInFrom: string;
|
|
165
|
+
newSignInNotYou: string;
|
|
166
|
+
newSignInApp: string;
|
|
167
|
+
newSignInBrowser: string;
|
|
168
|
+
newSignInUnknownBrowser: string;
|
|
169
|
+
reviewSessions: string;
|
|
170
|
+
twoStepSubject: string;
|
|
171
|
+
authenticatorOnHeading: string;
|
|
172
|
+
authenticatorOn: string;
|
|
173
|
+
authenticatorOffHeading: string;
|
|
174
|
+
authenticatorOff: string;
|
|
175
|
+
passkeyAddedHeading: string;
|
|
176
|
+
passkeyAdded: string;
|
|
177
|
+
passkeyRemovedHeading: string;
|
|
178
|
+
passkeyRemoved: string;
|
|
179
|
+
twoStepResetHeading: string;
|
|
180
|
+
twoStepReset: string;
|
|
181
|
+
twoStepNotYou: string;
|
|
182
|
+
reviewSecurity: string;
|
|
183
|
+
storageFullSubject: string;
|
|
184
|
+
storageFullHeading: string;
|
|
185
|
+
storageFullPreview: string;
|
|
186
|
+
storageFull: string;
|
|
187
|
+
storageFullUpgrade: string;
|
|
188
|
+
storageFullFreeSpace: string;
|
|
189
|
+
storageFullAction: string;
|
|
190
|
+
documentBlockedSubject: string;
|
|
191
|
+
documentBlockedHeading: string;
|
|
192
|
+
documentBlocked: string;
|
|
193
|
+
documentBlockedReason: string;
|
|
194
|
+
documentBlockedContest: string;
|
|
195
|
+
documentBlockedContestAdministrators: string;
|
|
196
|
+
documentRestoredSubject: string;
|
|
197
|
+
documentRestoredHeading: string;
|
|
198
|
+
documentRestored: string;
|
|
199
|
+
openHome: string;
|
|
200
|
+
reportReceivedSubject: string;
|
|
201
|
+
reportReceivedHeading: string;
|
|
202
|
+
reportReceived: string;
|
|
203
|
+
reportDecidedSubject: string;
|
|
204
|
+
reportBlockedHeading: string;
|
|
205
|
+
reportBlocked: string;
|
|
206
|
+
reportActionedHeading: string;
|
|
207
|
+
reportActioned: string;
|
|
208
|
+
reportDismissedHeading: string;
|
|
209
|
+
reportDismissed: string;
|
|
210
|
+
reportDisagree: string;
|
|
211
|
+
reportDisagreeAdministrators: string;
|
|
212
|
+
waitlistSubject: string;
|
|
213
|
+
waitlistHeading: string;
|
|
214
|
+
waitlistPreview: string;
|
|
215
|
+
waitlist: string;
|
|
216
|
+
waitlistAction: string;
|
|
217
|
+
waitlistNote: string;
|
|
218
|
+
waitlistLeave: string;
|
|
219
|
+
};
|
|
220
|
+
de: {
|
|
221
|
+
greeting: string;
|
|
222
|
+
greetingWithoutName: string;
|
|
223
|
+
someone: string;
|
|
224
|
+
openCloud: string;
|
|
225
|
+
footer: string;
|
|
226
|
+
invitationExpires: string;
|
|
227
|
+
documentInvitationHeading: string;
|
|
228
|
+
documentInvitationViewSubject: string;
|
|
229
|
+
documentInvitationEditSubject: string;
|
|
230
|
+
documentInvitationView: string;
|
|
231
|
+
documentInvitationEdit: string;
|
|
232
|
+
documentInvitationAction: string;
|
|
233
|
+
workspaceInvitationSubject: string;
|
|
234
|
+
workspaceInvitationHeading: string;
|
|
235
|
+
workspaceInvitationAdmin: string;
|
|
236
|
+
workspaceInvitationEditor: string;
|
|
237
|
+
workspaceInvitationViewer: string;
|
|
238
|
+
workspaceInvitationHome: string;
|
|
239
|
+
workspaceInvitationAction: string;
|
|
240
|
+
enrollmentRequestedSubject: string;
|
|
241
|
+
enrollmentRequestedHeading: string;
|
|
242
|
+
enrollmentRequestedPreview: string;
|
|
243
|
+
enrollmentRequested: string;
|
|
244
|
+
enrollmentApprovedSubject: string;
|
|
245
|
+
enrollmentApprovedHeading: string;
|
|
246
|
+
enrollmentApprovedPreview: string;
|
|
247
|
+
enrollmentApproved: string;
|
|
248
|
+
enrollmentApprovedAction: string;
|
|
249
|
+
enrollmentRejectedSubject: string;
|
|
250
|
+
enrollmentRejectedHeading: string;
|
|
251
|
+
enrollmentRejectedPreview: string;
|
|
252
|
+
enrollmentRejected: string;
|
|
253
|
+
enrollmentRejectedAction: string;
|
|
254
|
+
enrollmentRevokedSubject: string;
|
|
255
|
+
enrollmentRevokedHeading: string;
|
|
256
|
+
enrollmentRevokedPreview: string;
|
|
257
|
+
enrollmentRevoked: string;
|
|
258
|
+
enrollmentRevokedAction: string;
|
|
259
|
+
enrollmentNotificationSubject: string;
|
|
260
|
+
enrollmentNotificationHeading: string;
|
|
261
|
+
enrollmentNotificationPreview: string;
|
|
262
|
+
enrollmentNotification: string;
|
|
263
|
+
enrollmentNotificationAction: string;
|
|
264
|
+
documentReportSubject: string;
|
|
265
|
+
documentReportHeading: string;
|
|
266
|
+
documentReportPreview: string;
|
|
267
|
+
documentReport: string;
|
|
268
|
+
documentReportAction: string;
|
|
269
|
+
reportReasonSpamPhishing: string;
|
|
270
|
+
reportReasonIllegal: string;
|
|
271
|
+
reportReasonCopyright: string;
|
|
272
|
+
reportReasonHarassment: string;
|
|
273
|
+
reportReasonOther: string;
|
|
274
|
+
verifyAccountSubject: string;
|
|
275
|
+
verifyAccountHeading: string;
|
|
276
|
+
verifyAccountPreview: string;
|
|
277
|
+
verifyAccount: string;
|
|
278
|
+
verifyAccountNote: string;
|
|
279
|
+
verifyChangeSubject: string;
|
|
280
|
+
verifyChangeHeading: string;
|
|
281
|
+
verifyChangePreview: string;
|
|
282
|
+
verifyChange: string;
|
|
283
|
+
verifyChangeNote: string;
|
|
284
|
+
verifyAction: string;
|
|
285
|
+
passwordResetSubject: string;
|
|
286
|
+
passwordResetHeading: string;
|
|
287
|
+
passwordResetPreview: string;
|
|
288
|
+
passwordReset: string;
|
|
289
|
+
passwordResetNote: string;
|
|
290
|
+
passwordResetAction: string;
|
|
291
|
+
passwordChangedSubject: string;
|
|
292
|
+
passwordChangedHeading: string;
|
|
293
|
+
passwordChangedPreview: string;
|
|
294
|
+
passwordChanged: string;
|
|
295
|
+
emailChangeSubject: string;
|
|
296
|
+
emailChangeHeading: string;
|
|
297
|
+
emailChangePreview: string;
|
|
298
|
+
emailChange: string;
|
|
299
|
+
emailChangeNotYou: string;
|
|
300
|
+
reviewAccount: string;
|
|
301
|
+
newSignInSubject: string;
|
|
302
|
+
newSignInHeading: string;
|
|
303
|
+
newSignInPreview: string;
|
|
304
|
+
newSignIn: string;
|
|
305
|
+
newSignInFrom: string;
|
|
306
|
+
newSignInNotYou: string;
|
|
307
|
+
newSignInApp: string;
|
|
308
|
+
newSignInBrowser: string;
|
|
309
|
+
newSignInUnknownBrowser: string;
|
|
310
|
+
reviewSessions: string;
|
|
311
|
+
twoStepSubject: string;
|
|
312
|
+
authenticatorOnHeading: string;
|
|
313
|
+
authenticatorOn: string;
|
|
314
|
+
authenticatorOffHeading: string;
|
|
315
|
+
authenticatorOff: string;
|
|
316
|
+
passkeyAddedHeading: string;
|
|
317
|
+
passkeyAdded: string;
|
|
318
|
+
passkeyRemovedHeading: string;
|
|
319
|
+
passkeyRemoved: string;
|
|
320
|
+
twoStepResetHeading: string;
|
|
321
|
+
twoStepReset: string;
|
|
322
|
+
twoStepNotYou: string;
|
|
323
|
+
reviewSecurity: string;
|
|
324
|
+
storageFullSubject: string;
|
|
325
|
+
storageFullHeading: string;
|
|
326
|
+
storageFullPreview: string;
|
|
327
|
+
storageFull: string;
|
|
328
|
+
storageFullUpgrade: string;
|
|
329
|
+
storageFullFreeSpace: string;
|
|
330
|
+
storageFullAction: string;
|
|
331
|
+
documentBlockedSubject: string;
|
|
332
|
+
documentBlockedHeading: string;
|
|
333
|
+
documentBlocked: string;
|
|
334
|
+
documentBlockedReason: string;
|
|
335
|
+
documentBlockedContest: string;
|
|
336
|
+
documentBlockedContestAdministrators: string;
|
|
337
|
+
documentRestoredSubject: string;
|
|
338
|
+
documentRestoredHeading: string;
|
|
339
|
+
documentRestored: string;
|
|
340
|
+
openHome: string;
|
|
341
|
+
reportReceivedSubject: string;
|
|
342
|
+
reportReceivedHeading: string;
|
|
343
|
+
reportReceived: string;
|
|
344
|
+
reportDecidedSubject: string;
|
|
345
|
+
reportBlockedHeading: string;
|
|
346
|
+
reportBlocked: string;
|
|
347
|
+
reportActionedHeading: string;
|
|
348
|
+
reportActioned: string;
|
|
349
|
+
reportDismissedHeading: string;
|
|
350
|
+
reportDismissed: string;
|
|
351
|
+
reportDisagree: string;
|
|
352
|
+
reportDisagreeAdministrators: string;
|
|
353
|
+
waitlistSubject: string;
|
|
354
|
+
waitlistHeading: string;
|
|
355
|
+
waitlistPreview: string;
|
|
356
|
+
waitlist: string;
|
|
357
|
+
waitlistAction: string;
|
|
358
|
+
waitlistNote: string;
|
|
359
|
+
waitlistLeave: string;
|
|
360
|
+
};
|
|
361
|
+
es: {
|
|
362
|
+
greeting: string;
|
|
363
|
+
greetingWithoutName: string;
|
|
364
|
+
someone: string;
|
|
365
|
+
openCloud: string;
|
|
366
|
+
footer: string;
|
|
367
|
+
invitationExpires: string;
|
|
368
|
+
documentInvitationHeading: string;
|
|
369
|
+
documentInvitationViewSubject: string;
|
|
370
|
+
documentInvitationEditSubject: string;
|
|
371
|
+
documentInvitationView: string;
|
|
372
|
+
documentInvitationEdit: string;
|
|
373
|
+
documentInvitationAction: string;
|
|
374
|
+
workspaceInvitationSubject: string;
|
|
375
|
+
workspaceInvitationHeading: string;
|
|
376
|
+
workspaceInvitationAdmin: string;
|
|
377
|
+
workspaceInvitationEditor: string;
|
|
378
|
+
workspaceInvitationViewer: string;
|
|
379
|
+
workspaceInvitationHome: string;
|
|
380
|
+
workspaceInvitationAction: string;
|
|
381
|
+
enrollmentRequestedSubject: string;
|
|
382
|
+
enrollmentRequestedHeading: string;
|
|
383
|
+
enrollmentRequestedPreview: string;
|
|
384
|
+
enrollmentRequested: string;
|
|
385
|
+
enrollmentApprovedSubject: string;
|
|
386
|
+
enrollmentApprovedHeading: string;
|
|
387
|
+
enrollmentApprovedPreview: string;
|
|
388
|
+
enrollmentApproved: string;
|
|
389
|
+
enrollmentApprovedAction: string;
|
|
390
|
+
enrollmentRejectedSubject: string;
|
|
391
|
+
enrollmentRejectedHeading: string;
|
|
392
|
+
enrollmentRejectedPreview: string;
|
|
393
|
+
enrollmentRejected: string;
|
|
394
|
+
enrollmentRejectedAction: string;
|
|
395
|
+
enrollmentRevokedSubject: string;
|
|
396
|
+
enrollmentRevokedHeading: string;
|
|
397
|
+
enrollmentRevokedPreview: string;
|
|
398
|
+
enrollmentRevoked: string;
|
|
399
|
+
enrollmentRevokedAction: string;
|
|
400
|
+
enrollmentNotificationSubject: string;
|
|
401
|
+
enrollmentNotificationHeading: string;
|
|
402
|
+
enrollmentNotificationPreview: string;
|
|
403
|
+
enrollmentNotification: string;
|
|
404
|
+
enrollmentNotificationAction: string;
|
|
405
|
+
documentReportSubject: string;
|
|
406
|
+
documentReportHeading: string;
|
|
407
|
+
documentReportPreview: string;
|
|
408
|
+
documentReport: string;
|
|
409
|
+
documentReportAction: string;
|
|
410
|
+
reportReasonSpamPhishing: string;
|
|
411
|
+
reportReasonIllegal: string;
|
|
412
|
+
reportReasonCopyright: string;
|
|
413
|
+
reportReasonHarassment: string;
|
|
414
|
+
reportReasonOther: string;
|
|
415
|
+
verifyAccountSubject: string;
|
|
416
|
+
verifyAccountHeading: string;
|
|
417
|
+
verifyAccountPreview: string;
|
|
418
|
+
verifyAccount: string;
|
|
419
|
+
verifyAccountNote: string;
|
|
420
|
+
verifyChangeSubject: string;
|
|
421
|
+
verifyChangeHeading: string;
|
|
422
|
+
verifyChangePreview: string;
|
|
423
|
+
verifyChange: string;
|
|
424
|
+
verifyChangeNote: string;
|
|
425
|
+
verifyAction: string;
|
|
426
|
+
passwordResetSubject: string;
|
|
427
|
+
passwordResetHeading: string;
|
|
428
|
+
passwordResetPreview: string;
|
|
429
|
+
passwordReset: string;
|
|
430
|
+
passwordResetNote: string;
|
|
431
|
+
passwordResetAction: string;
|
|
432
|
+
passwordChangedSubject: string;
|
|
433
|
+
passwordChangedHeading: string;
|
|
434
|
+
passwordChangedPreview: string;
|
|
435
|
+
passwordChanged: string;
|
|
436
|
+
emailChangeSubject: string;
|
|
437
|
+
emailChangeHeading: string;
|
|
438
|
+
emailChangePreview: string;
|
|
439
|
+
emailChange: string;
|
|
440
|
+
emailChangeNotYou: string;
|
|
441
|
+
reviewAccount: string;
|
|
442
|
+
newSignInSubject: string;
|
|
443
|
+
newSignInHeading: string;
|
|
444
|
+
newSignInPreview: string;
|
|
445
|
+
newSignIn: string;
|
|
446
|
+
newSignInFrom: string;
|
|
447
|
+
newSignInNotYou: string;
|
|
448
|
+
newSignInApp: string;
|
|
449
|
+
newSignInBrowser: string;
|
|
450
|
+
newSignInUnknownBrowser: string;
|
|
451
|
+
reviewSessions: string;
|
|
452
|
+
twoStepSubject: string;
|
|
453
|
+
authenticatorOnHeading: string;
|
|
454
|
+
authenticatorOn: string;
|
|
455
|
+
authenticatorOffHeading: string;
|
|
456
|
+
authenticatorOff: string;
|
|
457
|
+
passkeyAddedHeading: string;
|
|
458
|
+
passkeyAdded: string;
|
|
459
|
+
passkeyRemovedHeading: string;
|
|
460
|
+
passkeyRemoved: string;
|
|
461
|
+
twoStepResetHeading: string;
|
|
462
|
+
twoStepReset: string;
|
|
463
|
+
twoStepNotYou: string;
|
|
464
|
+
reviewSecurity: string;
|
|
465
|
+
storageFullSubject: string;
|
|
466
|
+
storageFullHeading: string;
|
|
467
|
+
storageFullPreview: string;
|
|
468
|
+
storageFull: string;
|
|
469
|
+
storageFullUpgrade: string;
|
|
470
|
+
storageFullFreeSpace: string;
|
|
471
|
+
storageFullAction: string;
|
|
472
|
+
documentBlockedSubject: string;
|
|
473
|
+
documentBlockedHeading: string;
|
|
474
|
+
documentBlocked: string;
|
|
475
|
+
documentBlockedReason: string;
|
|
476
|
+
documentBlockedContest: string;
|
|
477
|
+
documentBlockedContestAdministrators: string;
|
|
478
|
+
documentRestoredSubject: string;
|
|
479
|
+
documentRestoredHeading: string;
|
|
480
|
+
documentRestored: string;
|
|
481
|
+
openHome: string;
|
|
482
|
+
reportReceivedSubject: string;
|
|
483
|
+
reportReceivedHeading: string;
|
|
484
|
+
reportReceived: string;
|
|
485
|
+
reportDecidedSubject: string;
|
|
486
|
+
reportBlockedHeading: string;
|
|
487
|
+
reportBlocked: string;
|
|
488
|
+
reportActionedHeading: string;
|
|
489
|
+
reportActioned: string;
|
|
490
|
+
reportDismissedHeading: string;
|
|
491
|
+
reportDismissed: string;
|
|
492
|
+
reportDisagree: string;
|
|
493
|
+
reportDisagreeAdministrators: string;
|
|
494
|
+
waitlistSubject: string;
|
|
495
|
+
waitlistHeading: string;
|
|
496
|
+
waitlistPreview: string;
|
|
497
|
+
waitlist: string;
|
|
498
|
+
waitlistAction: string;
|
|
499
|
+
waitlistNote: string;
|
|
500
|
+
waitlistLeave: string;
|
|
501
|
+
};
|
|
502
|
+
fr: {
|
|
503
|
+
greeting: string;
|
|
504
|
+
greetingWithoutName: string;
|
|
505
|
+
someone: string;
|
|
506
|
+
openCloud: string;
|
|
507
|
+
footer: string;
|
|
508
|
+
invitationExpires: string;
|
|
509
|
+
documentInvitationHeading: string;
|
|
510
|
+
documentInvitationViewSubject: string;
|
|
511
|
+
documentInvitationEditSubject: string;
|
|
512
|
+
documentInvitationView: string;
|
|
513
|
+
documentInvitationEdit: string;
|
|
514
|
+
documentInvitationAction: string;
|
|
515
|
+
workspaceInvitationSubject: string;
|
|
516
|
+
workspaceInvitationHeading: string;
|
|
517
|
+
workspaceInvitationAdmin: string;
|
|
518
|
+
workspaceInvitationEditor: string;
|
|
519
|
+
workspaceInvitationViewer: string;
|
|
520
|
+
workspaceInvitationHome: string;
|
|
521
|
+
workspaceInvitationAction: string;
|
|
522
|
+
enrollmentRequestedSubject: string;
|
|
523
|
+
enrollmentRequestedHeading: string;
|
|
524
|
+
enrollmentRequestedPreview: string;
|
|
525
|
+
enrollmentRequested: string;
|
|
526
|
+
enrollmentApprovedSubject: string;
|
|
527
|
+
enrollmentApprovedHeading: string;
|
|
528
|
+
enrollmentApprovedPreview: string;
|
|
529
|
+
enrollmentApproved: string;
|
|
530
|
+
enrollmentApprovedAction: string;
|
|
531
|
+
enrollmentRejectedSubject: string;
|
|
532
|
+
enrollmentRejectedHeading: string;
|
|
533
|
+
enrollmentRejectedPreview: string;
|
|
534
|
+
enrollmentRejected: string;
|
|
535
|
+
enrollmentRejectedAction: string;
|
|
536
|
+
enrollmentRevokedSubject: string;
|
|
537
|
+
enrollmentRevokedHeading: string;
|
|
538
|
+
enrollmentRevokedPreview: string;
|
|
539
|
+
enrollmentRevoked: string;
|
|
540
|
+
enrollmentRevokedAction: string;
|
|
541
|
+
enrollmentNotificationSubject: string;
|
|
542
|
+
enrollmentNotificationHeading: string;
|
|
543
|
+
enrollmentNotificationPreview: string;
|
|
544
|
+
enrollmentNotification: string;
|
|
545
|
+
enrollmentNotificationAction: string;
|
|
546
|
+
documentReportSubject: string;
|
|
547
|
+
documentReportHeading: string;
|
|
548
|
+
documentReportPreview: string;
|
|
549
|
+
documentReport: string;
|
|
550
|
+
documentReportAction: string;
|
|
551
|
+
reportReasonSpamPhishing: string;
|
|
552
|
+
reportReasonIllegal: string;
|
|
553
|
+
reportReasonCopyright: string;
|
|
554
|
+
reportReasonHarassment: string;
|
|
555
|
+
reportReasonOther: string;
|
|
556
|
+
verifyAccountSubject: string;
|
|
557
|
+
verifyAccountHeading: string;
|
|
558
|
+
verifyAccountPreview: string;
|
|
559
|
+
verifyAccount: string;
|
|
560
|
+
verifyAccountNote: string;
|
|
561
|
+
verifyChangeSubject: string;
|
|
562
|
+
verifyChangeHeading: string;
|
|
563
|
+
verifyChangePreview: string;
|
|
564
|
+
verifyChange: string;
|
|
565
|
+
verifyChangeNote: string;
|
|
566
|
+
verifyAction: string;
|
|
567
|
+
passwordResetSubject: string;
|
|
568
|
+
passwordResetHeading: string;
|
|
569
|
+
passwordResetPreview: string;
|
|
570
|
+
passwordReset: string;
|
|
571
|
+
passwordResetNote: string;
|
|
572
|
+
passwordResetAction: string;
|
|
573
|
+
passwordChangedSubject: string;
|
|
574
|
+
passwordChangedHeading: string;
|
|
575
|
+
passwordChangedPreview: string;
|
|
576
|
+
passwordChanged: string;
|
|
577
|
+
emailChangeSubject: string;
|
|
578
|
+
emailChangeHeading: string;
|
|
579
|
+
emailChangePreview: string;
|
|
580
|
+
emailChange: string;
|
|
581
|
+
emailChangeNotYou: string;
|
|
582
|
+
reviewAccount: string;
|
|
583
|
+
newSignInSubject: string;
|
|
584
|
+
newSignInHeading: string;
|
|
585
|
+
newSignInPreview: string;
|
|
586
|
+
newSignIn: string;
|
|
587
|
+
newSignInFrom: string;
|
|
588
|
+
newSignInNotYou: string;
|
|
589
|
+
newSignInApp: string;
|
|
590
|
+
newSignInBrowser: string;
|
|
591
|
+
newSignInUnknownBrowser: string;
|
|
592
|
+
reviewSessions: string;
|
|
593
|
+
twoStepSubject: string;
|
|
594
|
+
authenticatorOnHeading: string;
|
|
595
|
+
authenticatorOn: string;
|
|
596
|
+
authenticatorOffHeading: string;
|
|
597
|
+
authenticatorOff: string;
|
|
598
|
+
passkeyAddedHeading: string;
|
|
599
|
+
passkeyAdded: string;
|
|
600
|
+
passkeyRemovedHeading: string;
|
|
601
|
+
passkeyRemoved: string;
|
|
602
|
+
twoStepResetHeading: string;
|
|
603
|
+
twoStepReset: string;
|
|
604
|
+
twoStepNotYou: string;
|
|
605
|
+
reviewSecurity: string;
|
|
606
|
+
storageFullSubject: string;
|
|
607
|
+
storageFullHeading: string;
|
|
608
|
+
storageFullPreview: string;
|
|
609
|
+
storageFull: string;
|
|
610
|
+
storageFullUpgrade: string;
|
|
611
|
+
storageFullFreeSpace: string;
|
|
612
|
+
storageFullAction: string;
|
|
613
|
+
documentBlockedSubject: string;
|
|
614
|
+
documentBlockedHeading: string;
|
|
615
|
+
documentBlocked: string;
|
|
616
|
+
documentBlockedReason: string;
|
|
617
|
+
documentBlockedContest: string;
|
|
618
|
+
documentBlockedContestAdministrators: string;
|
|
619
|
+
documentRestoredSubject: string;
|
|
620
|
+
documentRestoredHeading: string;
|
|
621
|
+
documentRestored: string;
|
|
622
|
+
openHome: string;
|
|
623
|
+
reportReceivedSubject: string;
|
|
624
|
+
reportReceivedHeading: string;
|
|
625
|
+
reportReceived: string;
|
|
626
|
+
reportDecidedSubject: string;
|
|
627
|
+
reportBlockedHeading: string;
|
|
628
|
+
reportBlocked: string;
|
|
629
|
+
reportActionedHeading: string;
|
|
630
|
+
reportActioned: string;
|
|
631
|
+
reportDismissedHeading: string;
|
|
632
|
+
reportDismissed: string;
|
|
633
|
+
reportDisagree: string;
|
|
634
|
+
reportDisagreeAdministrators: string;
|
|
635
|
+
waitlistSubject: string;
|
|
636
|
+
waitlistHeading: string;
|
|
637
|
+
waitlistPreview: string;
|
|
638
|
+
waitlist: string;
|
|
639
|
+
waitlistAction: string;
|
|
640
|
+
waitlistNote: string;
|
|
641
|
+
waitlistLeave: string;
|
|
642
|
+
};
|
|
643
|
+
it: {
|
|
644
|
+
greeting: string;
|
|
645
|
+
greetingWithoutName: string;
|
|
646
|
+
someone: string;
|
|
647
|
+
openCloud: string;
|
|
648
|
+
footer: string;
|
|
649
|
+
invitationExpires: string;
|
|
650
|
+
documentInvitationHeading: string;
|
|
651
|
+
documentInvitationViewSubject: string;
|
|
652
|
+
documentInvitationEditSubject: string;
|
|
653
|
+
documentInvitationView: string;
|
|
654
|
+
documentInvitationEdit: string;
|
|
655
|
+
documentInvitationAction: string;
|
|
656
|
+
workspaceInvitationSubject: string;
|
|
657
|
+
workspaceInvitationHeading: string;
|
|
658
|
+
workspaceInvitationAdmin: string;
|
|
659
|
+
workspaceInvitationEditor: string;
|
|
660
|
+
workspaceInvitationViewer: string;
|
|
661
|
+
workspaceInvitationHome: string;
|
|
662
|
+
workspaceInvitationAction: string;
|
|
663
|
+
enrollmentRequestedSubject: string;
|
|
664
|
+
enrollmentRequestedHeading: string;
|
|
665
|
+
enrollmentRequestedPreview: string;
|
|
666
|
+
enrollmentRequested: string;
|
|
667
|
+
enrollmentApprovedSubject: string;
|
|
668
|
+
enrollmentApprovedHeading: string;
|
|
669
|
+
enrollmentApprovedPreview: string;
|
|
670
|
+
enrollmentApproved: string;
|
|
671
|
+
enrollmentApprovedAction: string;
|
|
672
|
+
enrollmentRejectedSubject: string;
|
|
673
|
+
enrollmentRejectedHeading: string;
|
|
674
|
+
enrollmentRejectedPreview: string;
|
|
675
|
+
enrollmentRejected: string;
|
|
676
|
+
enrollmentRejectedAction: string;
|
|
677
|
+
enrollmentRevokedSubject: string;
|
|
678
|
+
enrollmentRevokedHeading: string;
|
|
679
|
+
enrollmentRevokedPreview: string;
|
|
680
|
+
enrollmentRevoked: string;
|
|
681
|
+
enrollmentRevokedAction: string;
|
|
682
|
+
enrollmentNotificationSubject: string;
|
|
683
|
+
enrollmentNotificationHeading: string;
|
|
684
|
+
enrollmentNotificationPreview: string;
|
|
685
|
+
enrollmentNotification: string;
|
|
686
|
+
enrollmentNotificationAction: string;
|
|
687
|
+
documentReportSubject: string;
|
|
688
|
+
documentReportHeading: string;
|
|
689
|
+
documentReportPreview: string;
|
|
690
|
+
documentReport: string;
|
|
691
|
+
documentReportAction: string;
|
|
692
|
+
reportReasonSpamPhishing: string;
|
|
693
|
+
reportReasonIllegal: string;
|
|
694
|
+
reportReasonCopyright: string;
|
|
695
|
+
reportReasonHarassment: string;
|
|
696
|
+
reportReasonOther: string;
|
|
697
|
+
verifyAccountSubject: string;
|
|
698
|
+
verifyAccountHeading: string;
|
|
699
|
+
verifyAccountPreview: string;
|
|
700
|
+
verifyAccount: string;
|
|
701
|
+
verifyAccountNote: string;
|
|
702
|
+
verifyChangeSubject: string;
|
|
703
|
+
verifyChangeHeading: string;
|
|
704
|
+
verifyChangePreview: string;
|
|
705
|
+
verifyChange: string;
|
|
706
|
+
verifyChangeNote: string;
|
|
707
|
+
verifyAction: string;
|
|
708
|
+
passwordResetSubject: string;
|
|
709
|
+
passwordResetHeading: string;
|
|
710
|
+
passwordResetPreview: string;
|
|
711
|
+
passwordReset: string;
|
|
712
|
+
passwordResetNote: string;
|
|
713
|
+
passwordResetAction: string;
|
|
714
|
+
passwordChangedSubject: string;
|
|
715
|
+
passwordChangedHeading: string;
|
|
716
|
+
passwordChangedPreview: string;
|
|
717
|
+
passwordChanged: string;
|
|
718
|
+
emailChangeSubject: string;
|
|
719
|
+
emailChangeHeading: string;
|
|
720
|
+
emailChangePreview: string;
|
|
721
|
+
emailChange: string;
|
|
722
|
+
emailChangeNotYou: string;
|
|
723
|
+
reviewAccount: string;
|
|
724
|
+
newSignInSubject: string;
|
|
725
|
+
newSignInHeading: string;
|
|
726
|
+
newSignInPreview: string;
|
|
727
|
+
newSignIn: string;
|
|
728
|
+
newSignInFrom: string;
|
|
729
|
+
newSignInNotYou: string;
|
|
730
|
+
newSignInApp: string;
|
|
731
|
+
newSignInBrowser: string;
|
|
732
|
+
newSignInUnknownBrowser: string;
|
|
733
|
+
reviewSessions: string;
|
|
734
|
+
twoStepSubject: string;
|
|
735
|
+
authenticatorOnHeading: string;
|
|
736
|
+
authenticatorOn: string;
|
|
737
|
+
authenticatorOffHeading: string;
|
|
738
|
+
authenticatorOff: string;
|
|
739
|
+
passkeyAddedHeading: string;
|
|
740
|
+
passkeyAdded: string;
|
|
741
|
+
passkeyRemovedHeading: string;
|
|
742
|
+
passkeyRemoved: string;
|
|
743
|
+
twoStepResetHeading: string;
|
|
744
|
+
twoStepReset: string;
|
|
745
|
+
twoStepNotYou: string;
|
|
746
|
+
reviewSecurity: string;
|
|
747
|
+
storageFullSubject: string;
|
|
748
|
+
storageFullHeading: string;
|
|
749
|
+
storageFullPreview: string;
|
|
750
|
+
storageFull: string;
|
|
751
|
+
storageFullUpgrade: string;
|
|
752
|
+
storageFullFreeSpace: string;
|
|
753
|
+
storageFullAction: string;
|
|
754
|
+
documentBlockedSubject: string;
|
|
755
|
+
documentBlockedHeading: string;
|
|
756
|
+
documentBlocked: string;
|
|
757
|
+
documentBlockedReason: string;
|
|
758
|
+
documentBlockedContest: string;
|
|
759
|
+
documentBlockedContestAdministrators: string;
|
|
760
|
+
documentRestoredSubject: string;
|
|
761
|
+
documentRestoredHeading: string;
|
|
762
|
+
documentRestored: string;
|
|
763
|
+
openHome: string;
|
|
764
|
+
reportReceivedSubject: string;
|
|
765
|
+
reportReceivedHeading: string;
|
|
766
|
+
reportReceived: string;
|
|
767
|
+
reportDecidedSubject: string;
|
|
768
|
+
reportBlockedHeading: string;
|
|
769
|
+
reportBlocked: string;
|
|
770
|
+
reportActionedHeading: string;
|
|
771
|
+
reportActioned: string;
|
|
772
|
+
reportDismissedHeading: string;
|
|
773
|
+
reportDismissed: string;
|
|
774
|
+
reportDisagree: string;
|
|
775
|
+
reportDisagreeAdministrators: string;
|
|
776
|
+
waitlistSubject: string;
|
|
777
|
+
waitlistHeading: string;
|
|
778
|
+
waitlistPreview: string;
|
|
779
|
+
waitlist: string;
|
|
780
|
+
waitlistAction: string;
|
|
781
|
+
waitlistNote: string;
|
|
782
|
+
waitlistLeave: string;
|
|
783
|
+
};
|
|
784
|
+
ja: {
|
|
785
|
+
greeting: string;
|
|
786
|
+
greetingWithoutName: string;
|
|
787
|
+
someone: string;
|
|
788
|
+
openCloud: string;
|
|
789
|
+
footer: string;
|
|
790
|
+
invitationExpires: string;
|
|
791
|
+
documentInvitationHeading: string;
|
|
792
|
+
documentInvitationViewSubject: string;
|
|
793
|
+
documentInvitationEditSubject: string;
|
|
794
|
+
documentInvitationView: string;
|
|
795
|
+
documentInvitationEdit: string;
|
|
796
|
+
documentInvitationAction: string;
|
|
797
|
+
workspaceInvitationSubject: string;
|
|
798
|
+
workspaceInvitationHeading: string;
|
|
799
|
+
workspaceInvitationAdmin: string;
|
|
800
|
+
workspaceInvitationEditor: string;
|
|
801
|
+
workspaceInvitationViewer: string;
|
|
802
|
+
workspaceInvitationHome: string;
|
|
803
|
+
workspaceInvitationAction: string;
|
|
804
|
+
enrollmentRequestedSubject: string;
|
|
805
|
+
enrollmentRequestedHeading: string;
|
|
806
|
+
enrollmentRequestedPreview: string;
|
|
807
|
+
enrollmentRequested: string;
|
|
808
|
+
enrollmentApprovedSubject: string;
|
|
809
|
+
enrollmentApprovedHeading: string;
|
|
810
|
+
enrollmentApprovedPreview: string;
|
|
811
|
+
enrollmentApproved: string;
|
|
812
|
+
enrollmentApprovedAction: string;
|
|
813
|
+
enrollmentRejectedSubject: string;
|
|
814
|
+
enrollmentRejectedHeading: string;
|
|
815
|
+
enrollmentRejectedPreview: string;
|
|
816
|
+
enrollmentRejected: string;
|
|
817
|
+
enrollmentRejectedAction: string;
|
|
818
|
+
enrollmentRevokedSubject: string;
|
|
819
|
+
enrollmentRevokedHeading: string;
|
|
820
|
+
enrollmentRevokedPreview: string;
|
|
821
|
+
enrollmentRevoked: string;
|
|
822
|
+
enrollmentRevokedAction: string;
|
|
823
|
+
enrollmentNotificationSubject: string;
|
|
824
|
+
enrollmentNotificationHeading: string;
|
|
825
|
+
enrollmentNotificationPreview: string;
|
|
826
|
+
enrollmentNotification: string;
|
|
827
|
+
enrollmentNotificationAction: string;
|
|
828
|
+
documentReportSubject: string;
|
|
829
|
+
documentReportHeading: string;
|
|
830
|
+
documentReportPreview: string;
|
|
831
|
+
documentReport: string;
|
|
832
|
+
documentReportAction: string;
|
|
833
|
+
reportReasonSpamPhishing: string;
|
|
834
|
+
reportReasonIllegal: string;
|
|
835
|
+
reportReasonCopyright: string;
|
|
836
|
+
reportReasonHarassment: string;
|
|
837
|
+
reportReasonOther: string;
|
|
838
|
+
verifyAccountSubject: string;
|
|
839
|
+
verifyAccountHeading: string;
|
|
840
|
+
verifyAccountPreview: string;
|
|
841
|
+
verifyAccount: string;
|
|
842
|
+
verifyAccountNote: string;
|
|
843
|
+
verifyChangeSubject: string;
|
|
844
|
+
verifyChangeHeading: string;
|
|
845
|
+
verifyChangePreview: string;
|
|
846
|
+
verifyChange: string;
|
|
847
|
+
verifyChangeNote: string;
|
|
848
|
+
verifyAction: string;
|
|
849
|
+
passwordResetSubject: string;
|
|
850
|
+
passwordResetHeading: string;
|
|
851
|
+
passwordResetPreview: string;
|
|
852
|
+
passwordReset: string;
|
|
853
|
+
passwordResetNote: string;
|
|
854
|
+
passwordResetAction: string;
|
|
855
|
+
passwordChangedSubject: string;
|
|
856
|
+
passwordChangedHeading: string;
|
|
857
|
+
passwordChangedPreview: string;
|
|
858
|
+
passwordChanged: string;
|
|
859
|
+
emailChangeSubject: string;
|
|
860
|
+
emailChangeHeading: string;
|
|
861
|
+
emailChangePreview: string;
|
|
862
|
+
emailChange: string;
|
|
863
|
+
emailChangeNotYou: string;
|
|
864
|
+
reviewAccount: string;
|
|
865
|
+
newSignInSubject: string;
|
|
866
|
+
newSignInHeading: string;
|
|
867
|
+
newSignInPreview: string;
|
|
868
|
+
newSignIn: string;
|
|
869
|
+
newSignInFrom: string;
|
|
870
|
+
newSignInNotYou: string;
|
|
871
|
+
newSignInApp: string;
|
|
872
|
+
newSignInBrowser: string;
|
|
873
|
+
newSignInUnknownBrowser: string;
|
|
874
|
+
reviewSessions: string;
|
|
875
|
+
twoStepSubject: string;
|
|
876
|
+
authenticatorOnHeading: string;
|
|
877
|
+
authenticatorOn: string;
|
|
878
|
+
authenticatorOffHeading: string;
|
|
879
|
+
authenticatorOff: string;
|
|
880
|
+
passkeyAddedHeading: string;
|
|
881
|
+
passkeyAdded: string;
|
|
882
|
+
passkeyRemovedHeading: string;
|
|
883
|
+
passkeyRemoved: string;
|
|
884
|
+
twoStepResetHeading: string;
|
|
885
|
+
twoStepReset: string;
|
|
886
|
+
twoStepNotYou: string;
|
|
887
|
+
reviewSecurity: string;
|
|
888
|
+
storageFullSubject: string;
|
|
889
|
+
storageFullHeading: string;
|
|
890
|
+
storageFullPreview: string;
|
|
891
|
+
storageFull: string;
|
|
892
|
+
storageFullUpgrade: string;
|
|
893
|
+
storageFullFreeSpace: string;
|
|
894
|
+
storageFullAction: string;
|
|
895
|
+
documentBlockedSubject: string;
|
|
896
|
+
documentBlockedHeading: string;
|
|
897
|
+
documentBlocked: string;
|
|
898
|
+
documentBlockedReason: string;
|
|
899
|
+
documentBlockedContest: string;
|
|
900
|
+
documentBlockedContestAdministrators: string;
|
|
901
|
+
documentRestoredSubject: string;
|
|
902
|
+
documentRestoredHeading: string;
|
|
903
|
+
documentRestored: string;
|
|
904
|
+
openHome: string;
|
|
905
|
+
reportReceivedSubject: string;
|
|
906
|
+
reportReceivedHeading: string;
|
|
907
|
+
reportReceived: string;
|
|
908
|
+
reportDecidedSubject: string;
|
|
909
|
+
reportBlockedHeading: string;
|
|
910
|
+
reportBlocked: string;
|
|
911
|
+
reportActionedHeading: string;
|
|
912
|
+
reportActioned: string;
|
|
913
|
+
reportDismissedHeading: string;
|
|
914
|
+
reportDismissed: string;
|
|
915
|
+
reportDisagree: string;
|
|
916
|
+
reportDisagreeAdministrators: string;
|
|
917
|
+
waitlistSubject: string;
|
|
918
|
+
waitlistHeading: string;
|
|
919
|
+
waitlistPreview: string;
|
|
920
|
+
waitlist: string;
|
|
921
|
+
waitlistAction: string;
|
|
922
|
+
waitlistNote: string;
|
|
923
|
+
waitlistLeave: string;
|
|
924
|
+
};
|
|
925
|
+
pl: {
|
|
926
|
+
greeting: string;
|
|
927
|
+
greetingWithoutName: string;
|
|
928
|
+
someone: string;
|
|
929
|
+
openCloud: string;
|
|
930
|
+
footer: string;
|
|
931
|
+
invitationExpires: string;
|
|
932
|
+
documentInvitationHeading: string;
|
|
933
|
+
documentInvitationViewSubject: string;
|
|
934
|
+
documentInvitationEditSubject: string;
|
|
935
|
+
documentInvitationView: string;
|
|
936
|
+
documentInvitationEdit: string;
|
|
937
|
+
documentInvitationAction: string;
|
|
938
|
+
workspaceInvitationSubject: string;
|
|
939
|
+
workspaceInvitationHeading: string;
|
|
940
|
+
workspaceInvitationAdmin: string;
|
|
941
|
+
workspaceInvitationEditor: string;
|
|
942
|
+
workspaceInvitationViewer: string;
|
|
943
|
+
workspaceInvitationHome: string;
|
|
944
|
+
workspaceInvitationAction: string;
|
|
945
|
+
enrollmentRequestedSubject: string;
|
|
946
|
+
enrollmentRequestedHeading: string;
|
|
947
|
+
enrollmentRequestedPreview: string;
|
|
948
|
+
enrollmentRequested: string;
|
|
949
|
+
enrollmentApprovedSubject: string;
|
|
950
|
+
enrollmentApprovedHeading: string;
|
|
951
|
+
enrollmentApprovedPreview: string;
|
|
952
|
+
enrollmentApproved: string;
|
|
953
|
+
enrollmentApprovedAction: string;
|
|
954
|
+
enrollmentRejectedSubject: string;
|
|
955
|
+
enrollmentRejectedHeading: string;
|
|
956
|
+
enrollmentRejectedPreview: string;
|
|
957
|
+
enrollmentRejected: string;
|
|
958
|
+
enrollmentRejectedAction: string;
|
|
959
|
+
enrollmentRevokedSubject: string;
|
|
960
|
+
enrollmentRevokedHeading: string;
|
|
961
|
+
enrollmentRevokedPreview: string;
|
|
962
|
+
enrollmentRevoked: string;
|
|
963
|
+
enrollmentRevokedAction: string;
|
|
964
|
+
enrollmentNotificationSubject: string;
|
|
965
|
+
enrollmentNotificationHeading: string;
|
|
966
|
+
enrollmentNotificationPreview: string;
|
|
967
|
+
enrollmentNotification: string;
|
|
968
|
+
enrollmentNotificationAction: string;
|
|
969
|
+
documentReportSubject: string;
|
|
970
|
+
documentReportHeading: string;
|
|
971
|
+
documentReportPreview: string;
|
|
972
|
+
documentReport: string;
|
|
973
|
+
documentReportAction: string;
|
|
974
|
+
reportReasonSpamPhishing: string;
|
|
975
|
+
reportReasonIllegal: string;
|
|
976
|
+
reportReasonCopyright: string;
|
|
977
|
+
reportReasonHarassment: string;
|
|
978
|
+
reportReasonOther: string;
|
|
979
|
+
verifyAccountSubject: string;
|
|
980
|
+
verifyAccountHeading: string;
|
|
981
|
+
verifyAccountPreview: string;
|
|
982
|
+
verifyAccount: string;
|
|
983
|
+
verifyAccountNote: string;
|
|
984
|
+
verifyChangeSubject: string;
|
|
985
|
+
verifyChangeHeading: string;
|
|
986
|
+
verifyChangePreview: string;
|
|
987
|
+
verifyChange: string;
|
|
988
|
+
verifyChangeNote: string;
|
|
989
|
+
verifyAction: string;
|
|
990
|
+
passwordResetSubject: string;
|
|
991
|
+
passwordResetHeading: string;
|
|
992
|
+
passwordResetPreview: string;
|
|
993
|
+
passwordReset: string;
|
|
994
|
+
passwordResetNote: string;
|
|
995
|
+
passwordResetAction: string;
|
|
996
|
+
passwordChangedSubject: string;
|
|
997
|
+
passwordChangedHeading: string;
|
|
998
|
+
passwordChangedPreview: string;
|
|
999
|
+
passwordChanged: string;
|
|
1000
|
+
emailChangeSubject: string;
|
|
1001
|
+
emailChangeHeading: string;
|
|
1002
|
+
emailChangePreview: string;
|
|
1003
|
+
emailChange: string;
|
|
1004
|
+
emailChangeNotYou: string;
|
|
1005
|
+
reviewAccount: string;
|
|
1006
|
+
newSignInSubject: string;
|
|
1007
|
+
newSignInHeading: string;
|
|
1008
|
+
newSignInPreview: string;
|
|
1009
|
+
newSignIn: string;
|
|
1010
|
+
newSignInFrom: string;
|
|
1011
|
+
newSignInNotYou: string;
|
|
1012
|
+
newSignInApp: string;
|
|
1013
|
+
newSignInBrowser: string;
|
|
1014
|
+
newSignInUnknownBrowser: string;
|
|
1015
|
+
reviewSessions: string;
|
|
1016
|
+
twoStepSubject: string;
|
|
1017
|
+
authenticatorOnHeading: string;
|
|
1018
|
+
authenticatorOn: string;
|
|
1019
|
+
authenticatorOffHeading: string;
|
|
1020
|
+
authenticatorOff: string;
|
|
1021
|
+
passkeyAddedHeading: string;
|
|
1022
|
+
passkeyAdded: string;
|
|
1023
|
+
passkeyRemovedHeading: string;
|
|
1024
|
+
passkeyRemoved: string;
|
|
1025
|
+
twoStepResetHeading: string;
|
|
1026
|
+
twoStepReset: string;
|
|
1027
|
+
twoStepNotYou: string;
|
|
1028
|
+
reviewSecurity: string;
|
|
1029
|
+
storageFullSubject: string;
|
|
1030
|
+
storageFullHeading: string;
|
|
1031
|
+
storageFullPreview: string;
|
|
1032
|
+
storageFull: string;
|
|
1033
|
+
storageFullUpgrade: string;
|
|
1034
|
+
storageFullFreeSpace: string;
|
|
1035
|
+
storageFullAction: string;
|
|
1036
|
+
documentBlockedSubject: string;
|
|
1037
|
+
documentBlockedHeading: string;
|
|
1038
|
+
documentBlocked: string;
|
|
1039
|
+
documentBlockedReason: string;
|
|
1040
|
+
documentBlockedContest: string;
|
|
1041
|
+
documentBlockedContestAdministrators: string;
|
|
1042
|
+
documentRestoredSubject: string;
|
|
1043
|
+
documentRestoredHeading: string;
|
|
1044
|
+
documentRestored: string;
|
|
1045
|
+
openHome: string;
|
|
1046
|
+
reportReceivedSubject: string;
|
|
1047
|
+
reportReceivedHeading: string;
|
|
1048
|
+
reportReceived: string;
|
|
1049
|
+
reportDecidedSubject: string;
|
|
1050
|
+
reportBlockedHeading: string;
|
|
1051
|
+
reportBlocked: string;
|
|
1052
|
+
reportActionedHeading: string;
|
|
1053
|
+
reportActioned: string;
|
|
1054
|
+
reportDismissedHeading: string;
|
|
1055
|
+
reportDismissed: string;
|
|
1056
|
+
reportDisagree: string;
|
|
1057
|
+
reportDisagreeAdministrators: string;
|
|
1058
|
+
waitlistSubject: string;
|
|
1059
|
+
waitlistHeading: string;
|
|
1060
|
+
waitlistPreview: string;
|
|
1061
|
+
waitlist: string;
|
|
1062
|
+
waitlistAction: string;
|
|
1063
|
+
waitlistNote: string;
|
|
1064
|
+
waitlistLeave: string;
|
|
1065
|
+
};
|
|
1066
|
+
'pt-BR': {
|
|
1067
|
+
greeting: string;
|
|
1068
|
+
greetingWithoutName: string;
|
|
1069
|
+
someone: string;
|
|
1070
|
+
openCloud: string;
|
|
1071
|
+
footer: string;
|
|
1072
|
+
invitationExpires: string;
|
|
1073
|
+
documentInvitationHeading: string;
|
|
1074
|
+
documentInvitationViewSubject: string;
|
|
1075
|
+
documentInvitationEditSubject: string;
|
|
1076
|
+
documentInvitationView: string;
|
|
1077
|
+
documentInvitationEdit: string;
|
|
1078
|
+
documentInvitationAction: string;
|
|
1079
|
+
workspaceInvitationSubject: string;
|
|
1080
|
+
workspaceInvitationHeading: string;
|
|
1081
|
+
workspaceInvitationAdmin: string;
|
|
1082
|
+
workspaceInvitationEditor: string;
|
|
1083
|
+
workspaceInvitationViewer: string;
|
|
1084
|
+
workspaceInvitationHome: string;
|
|
1085
|
+
workspaceInvitationAction: string;
|
|
1086
|
+
enrollmentRequestedSubject: string;
|
|
1087
|
+
enrollmentRequestedHeading: string;
|
|
1088
|
+
enrollmentRequestedPreview: string;
|
|
1089
|
+
enrollmentRequested: string;
|
|
1090
|
+
enrollmentApprovedSubject: string;
|
|
1091
|
+
enrollmentApprovedHeading: string;
|
|
1092
|
+
enrollmentApprovedPreview: string;
|
|
1093
|
+
enrollmentApproved: string;
|
|
1094
|
+
enrollmentApprovedAction: string;
|
|
1095
|
+
enrollmentRejectedSubject: string;
|
|
1096
|
+
enrollmentRejectedHeading: string;
|
|
1097
|
+
enrollmentRejectedPreview: string;
|
|
1098
|
+
enrollmentRejected: string;
|
|
1099
|
+
enrollmentRejectedAction: string;
|
|
1100
|
+
enrollmentRevokedSubject: string;
|
|
1101
|
+
enrollmentRevokedHeading: string;
|
|
1102
|
+
enrollmentRevokedPreview: string;
|
|
1103
|
+
enrollmentRevoked: string;
|
|
1104
|
+
enrollmentRevokedAction: string;
|
|
1105
|
+
enrollmentNotificationSubject: string;
|
|
1106
|
+
enrollmentNotificationHeading: string;
|
|
1107
|
+
enrollmentNotificationPreview: string;
|
|
1108
|
+
enrollmentNotification: string;
|
|
1109
|
+
enrollmentNotificationAction: string;
|
|
1110
|
+
documentReportSubject: string;
|
|
1111
|
+
documentReportHeading: string;
|
|
1112
|
+
documentReportPreview: string;
|
|
1113
|
+
documentReport: string;
|
|
1114
|
+
documentReportAction: string;
|
|
1115
|
+
reportReasonSpamPhishing: string;
|
|
1116
|
+
reportReasonIllegal: string;
|
|
1117
|
+
reportReasonCopyright: string;
|
|
1118
|
+
reportReasonHarassment: string;
|
|
1119
|
+
reportReasonOther: string;
|
|
1120
|
+
verifyAccountSubject: string;
|
|
1121
|
+
verifyAccountHeading: string;
|
|
1122
|
+
verifyAccountPreview: string;
|
|
1123
|
+
verifyAccount: string;
|
|
1124
|
+
verifyAccountNote: string;
|
|
1125
|
+
verifyChangeSubject: string;
|
|
1126
|
+
verifyChangeHeading: string;
|
|
1127
|
+
verifyChangePreview: string;
|
|
1128
|
+
verifyChange: string;
|
|
1129
|
+
verifyChangeNote: string;
|
|
1130
|
+
verifyAction: string;
|
|
1131
|
+
passwordResetSubject: string;
|
|
1132
|
+
passwordResetHeading: string;
|
|
1133
|
+
passwordResetPreview: string;
|
|
1134
|
+
passwordReset: string;
|
|
1135
|
+
passwordResetNote: string;
|
|
1136
|
+
passwordResetAction: string;
|
|
1137
|
+
passwordChangedSubject: string;
|
|
1138
|
+
passwordChangedHeading: string;
|
|
1139
|
+
passwordChangedPreview: string;
|
|
1140
|
+
passwordChanged: string;
|
|
1141
|
+
emailChangeSubject: string;
|
|
1142
|
+
emailChangeHeading: string;
|
|
1143
|
+
emailChangePreview: string;
|
|
1144
|
+
emailChange: string;
|
|
1145
|
+
emailChangeNotYou: string;
|
|
1146
|
+
reviewAccount: string;
|
|
1147
|
+
newSignInSubject: string;
|
|
1148
|
+
newSignInHeading: string;
|
|
1149
|
+
newSignInPreview: string;
|
|
1150
|
+
newSignIn: string;
|
|
1151
|
+
newSignInFrom: string;
|
|
1152
|
+
newSignInNotYou: string;
|
|
1153
|
+
newSignInApp: string;
|
|
1154
|
+
newSignInBrowser: string;
|
|
1155
|
+
newSignInUnknownBrowser: string;
|
|
1156
|
+
reviewSessions: string;
|
|
1157
|
+
twoStepSubject: string;
|
|
1158
|
+
authenticatorOnHeading: string;
|
|
1159
|
+
authenticatorOn: string;
|
|
1160
|
+
authenticatorOffHeading: string;
|
|
1161
|
+
authenticatorOff: string;
|
|
1162
|
+
passkeyAddedHeading: string;
|
|
1163
|
+
passkeyAdded: string;
|
|
1164
|
+
passkeyRemovedHeading: string;
|
|
1165
|
+
passkeyRemoved: string;
|
|
1166
|
+
twoStepResetHeading: string;
|
|
1167
|
+
twoStepReset: string;
|
|
1168
|
+
twoStepNotYou: string;
|
|
1169
|
+
reviewSecurity: string;
|
|
1170
|
+
storageFullSubject: string;
|
|
1171
|
+
storageFullHeading: string;
|
|
1172
|
+
storageFullPreview: string;
|
|
1173
|
+
storageFull: string;
|
|
1174
|
+
storageFullUpgrade: string;
|
|
1175
|
+
storageFullFreeSpace: string;
|
|
1176
|
+
storageFullAction: string;
|
|
1177
|
+
documentBlockedSubject: string;
|
|
1178
|
+
documentBlockedHeading: string;
|
|
1179
|
+
documentBlocked: string;
|
|
1180
|
+
documentBlockedReason: string;
|
|
1181
|
+
documentBlockedContest: string;
|
|
1182
|
+
documentBlockedContestAdministrators: string;
|
|
1183
|
+
documentRestoredSubject: string;
|
|
1184
|
+
documentRestoredHeading: string;
|
|
1185
|
+
documentRestored: string;
|
|
1186
|
+
openHome: string;
|
|
1187
|
+
reportReceivedSubject: string;
|
|
1188
|
+
reportReceivedHeading: string;
|
|
1189
|
+
reportReceived: string;
|
|
1190
|
+
reportDecidedSubject: string;
|
|
1191
|
+
reportBlockedHeading: string;
|
|
1192
|
+
reportBlocked: string;
|
|
1193
|
+
reportActionedHeading: string;
|
|
1194
|
+
reportActioned: string;
|
|
1195
|
+
reportDismissedHeading: string;
|
|
1196
|
+
reportDismissed: string;
|
|
1197
|
+
reportDisagree: string;
|
|
1198
|
+
reportDisagreeAdministrators: string;
|
|
1199
|
+
waitlistSubject: string;
|
|
1200
|
+
waitlistHeading: string;
|
|
1201
|
+
waitlistPreview: string;
|
|
1202
|
+
waitlist: string;
|
|
1203
|
+
waitlistAction: string;
|
|
1204
|
+
waitlistNote: string;
|
|
1205
|
+
waitlistLeave: string;
|
|
1206
|
+
};
|
|
1207
|
+
ru: {
|
|
1208
|
+
greeting: string;
|
|
1209
|
+
greetingWithoutName: string;
|
|
1210
|
+
someone: string;
|
|
1211
|
+
openCloud: string;
|
|
1212
|
+
footer: string;
|
|
1213
|
+
invitationExpires: string;
|
|
1214
|
+
documentInvitationHeading: string;
|
|
1215
|
+
documentInvitationViewSubject: string;
|
|
1216
|
+
documentInvitationEditSubject: string;
|
|
1217
|
+
documentInvitationView: string;
|
|
1218
|
+
documentInvitationEdit: string;
|
|
1219
|
+
documentInvitationAction: string;
|
|
1220
|
+
workspaceInvitationSubject: string;
|
|
1221
|
+
workspaceInvitationHeading: string;
|
|
1222
|
+
workspaceInvitationAdmin: string;
|
|
1223
|
+
workspaceInvitationEditor: string;
|
|
1224
|
+
workspaceInvitationViewer: string;
|
|
1225
|
+
workspaceInvitationHome: string;
|
|
1226
|
+
workspaceInvitationAction: string;
|
|
1227
|
+
enrollmentRequestedSubject: string;
|
|
1228
|
+
enrollmentRequestedHeading: string;
|
|
1229
|
+
enrollmentRequestedPreview: string;
|
|
1230
|
+
enrollmentRequested: string;
|
|
1231
|
+
enrollmentApprovedSubject: string;
|
|
1232
|
+
enrollmentApprovedHeading: string;
|
|
1233
|
+
enrollmentApprovedPreview: string;
|
|
1234
|
+
enrollmentApproved: string;
|
|
1235
|
+
enrollmentApprovedAction: string;
|
|
1236
|
+
enrollmentRejectedSubject: string;
|
|
1237
|
+
enrollmentRejectedHeading: string;
|
|
1238
|
+
enrollmentRejectedPreview: string;
|
|
1239
|
+
enrollmentRejected: string;
|
|
1240
|
+
enrollmentRejectedAction: string;
|
|
1241
|
+
enrollmentRevokedSubject: string;
|
|
1242
|
+
enrollmentRevokedHeading: string;
|
|
1243
|
+
enrollmentRevokedPreview: string;
|
|
1244
|
+
enrollmentRevoked: string;
|
|
1245
|
+
enrollmentRevokedAction: string;
|
|
1246
|
+
enrollmentNotificationSubject: string;
|
|
1247
|
+
enrollmentNotificationHeading: string;
|
|
1248
|
+
enrollmentNotificationPreview: string;
|
|
1249
|
+
enrollmentNotification: string;
|
|
1250
|
+
enrollmentNotificationAction: string;
|
|
1251
|
+
documentReportSubject: string;
|
|
1252
|
+
documentReportHeading: string;
|
|
1253
|
+
documentReportPreview: string;
|
|
1254
|
+
documentReport: string;
|
|
1255
|
+
documentReportAction: string;
|
|
1256
|
+
reportReasonSpamPhishing: string;
|
|
1257
|
+
reportReasonIllegal: string;
|
|
1258
|
+
reportReasonCopyright: string;
|
|
1259
|
+
reportReasonHarassment: string;
|
|
1260
|
+
reportReasonOther: string;
|
|
1261
|
+
verifyAccountSubject: string;
|
|
1262
|
+
verifyAccountHeading: string;
|
|
1263
|
+
verifyAccountPreview: string;
|
|
1264
|
+
verifyAccount: string;
|
|
1265
|
+
verifyAccountNote: string;
|
|
1266
|
+
verifyChangeSubject: string;
|
|
1267
|
+
verifyChangeHeading: string;
|
|
1268
|
+
verifyChangePreview: string;
|
|
1269
|
+
verifyChange: string;
|
|
1270
|
+
verifyChangeNote: string;
|
|
1271
|
+
verifyAction: string;
|
|
1272
|
+
passwordResetSubject: string;
|
|
1273
|
+
passwordResetHeading: string;
|
|
1274
|
+
passwordResetPreview: string;
|
|
1275
|
+
passwordReset: string;
|
|
1276
|
+
passwordResetNote: string;
|
|
1277
|
+
passwordResetAction: string;
|
|
1278
|
+
passwordChangedSubject: string;
|
|
1279
|
+
passwordChangedHeading: string;
|
|
1280
|
+
passwordChangedPreview: string;
|
|
1281
|
+
passwordChanged: string;
|
|
1282
|
+
emailChangeSubject: string;
|
|
1283
|
+
emailChangeHeading: string;
|
|
1284
|
+
emailChangePreview: string;
|
|
1285
|
+
emailChange: string;
|
|
1286
|
+
emailChangeNotYou: string;
|
|
1287
|
+
reviewAccount: string;
|
|
1288
|
+
newSignInSubject: string;
|
|
1289
|
+
newSignInHeading: string;
|
|
1290
|
+
newSignInPreview: string;
|
|
1291
|
+
newSignIn: string;
|
|
1292
|
+
newSignInFrom: string;
|
|
1293
|
+
newSignInNotYou: string;
|
|
1294
|
+
newSignInApp: string;
|
|
1295
|
+
newSignInBrowser: string;
|
|
1296
|
+
newSignInUnknownBrowser: string;
|
|
1297
|
+
reviewSessions: string;
|
|
1298
|
+
twoStepSubject: string;
|
|
1299
|
+
authenticatorOnHeading: string;
|
|
1300
|
+
authenticatorOn: string;
|
|
1301
|
+
authenticatorOffHeading: string;
|
|
1302
|
+
authenticatorOff: string;
|
|
1303
|
+
passkeyAddedHeading: string;
|
|
1304
|
+
passkeyAdded: string;
|
|
1305
|
+
passkeyRemovedHeading: string;
|
|
1306
|
+
passkeyRemoved: string;
|
|
1307
|
+
twoStepResetHeading: string;
|
|
1308
|
+
twoStepReset: string;
|
|
1309
|
+
twoStepNotYou: string;
|
|
1310
|
+
reviewSecurity: string;
|
|
1311
|
+
storageFullSubject: string;
|
|
1312
|
+
storageFullHeading: string;
|
|
1313
|
+
storageFullPreview: string;
|
|
1314
|
+
storageFull: string;
|
|
1315
|
+
storageFullUpgrade: string;
|
|
1316
|
+
storageFullFreeSpace: string;
|
|
1317
|
+
storageFullAction: string;
|
|
1318
|
+
documentBlockedSubject: string;
|
|
1319
|
+
documentBlockedHeading: string;
|
|
1320
|
+
documentBlocked: string;
|
|
1321
|
+
documentBlockedReason: string;
|
|
1322
|
+
documentBlockedContest: string;
|
|
1323
|
+
documentBlockedContestAdministrators: string;
|
|
1324
|
+
documentRestoredSubject: string;
|
|
1325
|
+
documentRestoredHeading: string;
|
|
1326
|
+
documentRestored: string;
|
|
1327
|
+
openHome: string;
|
|
1328
|
+
reportReceivedSubject: string;
|
|
1329
|
+
reportReceivedHeading: string;
|
|
1330
|
+
reportReceived: string;
|
|
1331
|
+
reportDecidedSubject: string;
|
|
1332
|
+
reportBlockedHeading: string;
|
|
1333
|
+
reportBlocked: string;
|
|
1334
|
+
reportActionedHeading: string;
|
|
1335
|
+
reportActioned: string;
|
|
1336
|
+
reportDismissedHeading: string;
|
|
1337
|
+
reportDismissed: string;
|
|
1338
|
+
reportDisagree: string;
|
|
1339
|
+
reportDisagreeAdministrators: string;
|
|
1340
|
+
waitlistSubject: string;
|
|
1341
|
+
waitlistHeading: string;
|
|
1342
|
+
waitlistPreview: string;
|
|
1343
|
+
waitlist: string;
|
|
1344
|
+
waitlistAction: string;
|
|
1345
|
+
waitlistNote: string;
|
|
1346
|
+
waitlistLeave: string;
|
|
1347
|
+
};
|
|
1348
|
+
'zh-CN': {
|
|
1349
|
+
greeting: string;
|
|
1350
|
+
greetingWithoutName: string;
|
|
1351
|
+
someone: string;
|
|
1352
|
+
openCloud: string;
|
|
1353
|
+
footer: string;
|
|
1354
|
+
invitationExpires: string;
|
|
1355
|
+
documentInvitationHeading: string;
|
|
1356
|
+
documentInvitationViewSubject: string;
|
|
1357
|
+
documentInvitationEditSubject: string;
|
|
1358
|
+
documentInvitationView: string;
|
|
1359
|
+
documentInvitationEdit: string;
|
|
1360
|
+
documentInvitationAction: string;
|
|
1361
|
+
workspaceInvitationSubject: string;
|
|
1362
|
+
workspaceInvitationHeading: string;
|
|
1363
|
+
workspaceInvitationAdmin: string;
|
|
1364
|
+
workspaceInvitationEditor: string;
|
|
1365
|
+
workspaceInvitationViewer: string;
|
|
1366
|
+
workspaceInvitationHome: string;
|
|
1367
|
+
workspaceInvitationAction: string;
|
|
1368
|
+
enrollmentRequestedSubject: string;
|
|
1369
|
+
enrollmentRequestedHeading: string;
|
|
1370
|
+
enrollmentRequestedPreview: string;
|
|
1371
|
+
enrollmentRequested: string;
|
|
1372
|
+
enrollmentApprovedSubject: string;
|
|
1373
|
+
enrollmentApprovedHeading: string;
|
|
1374
|
+
enrollmentApprovedPreview: string;
|
|
1375
|
+
enrollmentApproved: string;
|
|
1376
|
+
enrollmentApprovedAction: string;
|
|
1377
|
+
enrollmentRejectedSubject: string;
|
|
1378
|
+
enrollmentRejectedHeading: string;
|
|
1379
|
+
enrollmentRejectedPreview: string;
|
|
1380
|
+
enrollmentRejected: string;
|
|
1381
|
+
enrollmentRejectedAction: string;
|
|
1382
|
+
enrollmentRevokedSubject: string;
|
|
1383
|
+
enrollmentRevokedHeading: string;
|
|
1384
|
+
enrollmentRevokedPreview: string;
|
|
1385
|
+
enrollmentRevoked: string;
|
|
1386
|
+
enrollmentRevokedAction: string;
|
|
1387
|
+
enrollmentNotificationSubject: string;
|
|
1388
|
+
enrollmentNotificationHeading: string;
|
|
1389
|
+
enrollmentNotificationPreview: string;
|
|
1390
|
+
enrollmentNotification: string;
|
|
1391
|
+
enrollmentNotificationAction: string;
|
|
1392
|
+
documentReportSubject: string;
|
|
1393
|
+
documentReportHeading: string;
|
|
1394
|
+
documentReportPreview: string;
|
|
1395
|
+
documentReport: string;
|
|
1396
|
+
documentReportAction: string;
|
|
1397
|
+
reportReasonSpamPhishing: string;
|
|
1398
|
+
reportReasonIllegal: string;
|
|
1399
|
+
reportReasonCopyright: string;
|
|
1400
|
+
reportReasonHarassment: string;
|
|
1401
|
+
reportReasonOther: string;
|
|
1402
|
+
verifyAccountSubject: string;
|
|
1403
|
+
verifyAccountHeading: string;
|
|
1404
|
+
verifyAccountPreview: string;
|
|
1405
|
+
verifyAccount: string;
|
|
1406
|
+
verifyAccountNote: string;
|
|
1407
|
+
verifyChangeSubject: string;
|
|
1408
|
+
verifyChangeHeading: string;
|
|
1409
|
+
verifyChangePreview: string;
|
|
1410
|
+
verifyChange: string;
|
|
1411
|
+
verifyChangeNote: string;
|
|
1412
|
+
verifyAction: string;
|
|
1413
|
+
passwordResetSubject: string;
|
|
1414
|
+
passwordResetHeading: string;
|
|
1415
|
+
passwordResetPreview: string;
|
|
1416
|
+
passwordReset: string;
|
|
1417
|
+
passwordResetNote: string;
|
|
1418
|
+
passwordResetAction: string;
|
|
1419
|
+
passwordChangedSubject: string;
|
|
1420
|
+
passwordChangedHeading: string;
|
|
1421
|
+
passwordChangedPreview: string;
|
|
1422
|
+
passwordChanged: string;
|
|
1423
|
+
emailChangeSubject: string;
|
|
1424
|
+
emailChangeHeading: string;
|
|
1425
|
+
emailChangePreview: string;
|
|
1426
|
+
emailChange: string;
|
|
1427
|
+
emailChangeNotYou: string;
|
|
1428
|
+
reviewAccount: string;
|
|
1429
|
+
newSignInSubject: string;
|
|
1430
|
+
newSignInHeading: string;
|
|
1431
|
+
newSignInPreview: string;
|
|
1432
|
+
newSignIn: string;
|
|
1433
|
+
newSignInFrom: string;
|
|
1434
|
+
newSignInNotYou: string;
|
|
1435
|
+
newSignInApp: string;
|
|
1436
|
+
newSignInBrowser: string;
|
|
1437
|
+
newSignInUnknownBrowser: string;
|
|
1438
|
+
reviewSessions: string;
|
|
1439
|
+
twoStepSubject: string;
|
|
1440
|
+
authenticatorOnHeading: string;
|
|
1441
|
+
authenticatorOn: string;
|
|
1442
|
+
authenticatorOffHeading: string;
|
|
1443
|
+
authenticatorOff: string;
|
|
1444
|
+
passkeyAddedHeading: string;
|
|
1445
|
+
passkeyAdded: string;
|
|
1446
|
+
passkeyRemovedHeading: string;
|
|
1447
|
+
passkeyRemoved: string;
|
|
1448
|
+
twoStepResetHeading: string;
|
|
1449
|
+
twoStepReset: string;
|
|
1450
|
+
twoStepNotYou: string;
|
|
1451
|
+
reviewSecurity: string;
|
|
1452
|
+
storageFullSubject: string;
|
|
1453
|
+
storageFullHeading: string;
|
|
1454
|
+
storageFullPreview: string;
|
|
1455
|
+
storageFull: string;
|
|
1456
|
+
storageFullUpgrade: string;
|
|
1457
|
+
storageFullFreeSpace: string;
|
|
1458
|
+
storageFullAction: string;
|
|
1459
|
+
documentBlockedSubject: string;
|
|
1460
|
+
documentBlockedHeading: string;
|
|
1461
|
+
documentBlocked: string;
|
|
1462
|
+
documentBlockedReason: string;
|
|
1463
|
+
documentBlockedContest: string;
|
|
1464
|
+
documentBlockedContestAdministrators: string;
|
|
1465
|
+
documentRestoredSubject: string;
|
|
1466
|
+
documentRestoredHeading: string;
|
|
1467
|
+
documentRestored: string;
|
|
1468
|
+
openHome: string;
|
|
1469
|
+
reportReceivedSubject: string;
|
|
1470
|
+
reportReceivedHeading: string;
|
|
1471
|
+
reportReceived: string;
|
|
1472
|
+
reportDecidedSubject: string;
|
|
1473
|
+
reportBlockedHeading: string;
|
|
1474
|
+
reportBlocked: string;
|
|
1475
|
+
reportActionedHeading: string;
|
|
1476
|
+
reportActioned: string;
|
|
1477
|
+
reportDismissedHeading: string;
|
|
1478
|
+
reportDismissed: string;
|
|
1479
|
+
reportDisagree: string;
|
|
1480
|
+
reportDisagreeAdministrators: string;
|
|
1481
|
+
waitlistSubject: string;
|
|
1482
|
+
waitlistHeading: string;
|
|
1483
|
+
waitlistPreview: string;
|
|
1484
|
+
waitlist: string;
|
|
1485
|
+
waitlistAction: string;
|
|
1486
|
+
waitlistNote: string;
|
|
1487
|
+
waitlistLeave: string;
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
/** A language Cloud writes email in: English, or one it has translations for. */
|
|
1491
|
+
type EmailLocale = 'en' | keyof typeof TRANSLATIONS;
|
|
1492
|
+
//#endregion
|
|
58
1493
|
//#region src/email/schema.d.ts
|
|
59
|
-
type TransactionalEmailKind = 'document-invitation' | 'workspace-invitation' | 'enrollment-requested' | 'admin-enrollment-notification' | 'enrollment-approved' | 'enrollment-rejected' | 'enrollment-revoked' | 'email-verification' | 'password-reset' | 'password-changed' | 'email-change-requested' | 'new-sign-in' | 'two-step-changed' | 'document-report';
|
|
1494
|
+
type TransactionalEmailKind = 'document-invitation' | 'workspace-invitation' | 'enrollment-requested' | 'admin-enrollment-notification' | 'enrollment-approved' | 'enrollment-rejected' | 'enrollment-revoked' | 'email-verification' | 'password-reset' | 'password-changed' | 'email-change-requested' | 'new-sign-in' | 'two-step-changed' | 'document-report' | 'storage-limit-reached' | 'document-blocked' | 'document-restored' | 'document-report-received' | 'document-report-decided';
|
|
60
1495
|
/** What changed about how an account proves it is its owner's. */
|
|
61
1496
|
declare const twoStepChangeSchema: v.PicklistSchema<["authenticator-on", "authenticator-off", "passkey-added", "passkey-removed", "reset-by-administrator"], undefined>;
|
|
62
1497
|
declare const transactionalEmailContentSchema: v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
63
1498
|
readonly kind: v.LiteralSchema<"document-invitation", undefined>;
|
|
64
1499
|
readonly payload: v.ObjectSchema<{
|
|
65
|
-
|
|
1500
|
+
/** Null when the inviter's account is gone, so the email says someone invited you. */
|
|
1501
|
+
readonly inviterName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
66
1502
|
readonly documentName: v.StringSchema<undefined>;
|
|
67
1503
|
readonly permission: v.PicklistSchema<["view", "edit"], undefined>;
|
|
68
1504
|
readonly expiresAt: v.StringSchema<undefined>;
|
|
@@ -71,7 +1507,8 @@ declare const transactionalEmailContentSchema: v.VariantSchema<"kind", [v.Object
|
|
|
71
1507
|
}, undefined>, v.ObjectSchema<{
|
|
72
1508
|
readonly kind: v.LiteralSchema<"workspace-invitation", undefined>;
|
|
73
1509
|
readonly payload: v.ObjectSchema<{
|
|
74
|
-
|
|
1510
|
+
/** Null when the inviter's account is gone, so the email says someone invited you. */
|
|
1511
|
+
readonly inviterName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
1512
|
readonly workspaceName: v.StringSchema<undefined>;
|
|
76
1513
|
readonly role: v.PicklistSchema<["viewer", "editor", "admin"], undefined>;
|
|
77
1514
|
readonly expiresAt: v.StringSchema<undefined>;
|
|
@@ -80,7 +1517,8 @@ declare const transactionalEmailContentSchema: v.VariantSchema<"kind", [v.Object
|
|
|
80
1517
|
}, undefined>, v.ObjectSchema<{
|
|
81
1518
|
readonly kind: v.LiteralSchema<"enrollment-requested", undefined>;
|
|
82
1519
|
readonly payload: v.ObjectSchema<{
|
|
83
|
-
|
|
1520
|
+
/** Null when the request named no one, so the email greets no one by name. */
|
|
1521
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
84
1522
|
readonly actionURL: v.StringSchema<undefined>;
|
|
85
1523
|
}, undefined>;
|
|
86
1524
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -94,19 +1532,22 @@ declare const transactionalEmailContentSchema: v.VariantSchema<"kind", [v.Object
|
|
|
94
1532
|
}, undefined>, v.ObjectSchema<{
|
|
95
1533
|
readonly kind: v.LiteralSchema<"enrollment-approved", undefined>;
|
|
96
1534
|
readonly payload: v.ObjectSchema<{
|
|
97
|
-
|
|
1535
|
+
/** Null when the request named no one, so the email greets no one by name. */
|
|
1536
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
1537
|
readonly actionURL: v.StringSchema<undefined>;
|
|
99
1538
|
}, undefined>;
|
|
100
1539
|
}, undefined>, v.ObjectSchema<{
|
|
101
1540
|
readonly kind: v.LiteralSchema<"enrollment-rejected", undefined>;
|
|
102
1541
|
readonly payload: v.ObjectSchema<{
|
|
103
|
-
|
|
1542
|
+
/** Null when the request named no one, so the email greets no one by name. */
|
|
1543
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
104
1544
|
readonly actionURL: v.StringSchema<undefined>;
|
|
105
1545
|
}, undefined>;
|
|
106
1546
|
}, undefined>, v.ObjectSchema<{
|
|
107
1547
|
readonly kind: v.LiteralSchema<"enrollment-revoked", undefined>;
|
|
108
1548
|
readonly payload: v.ObjectSchema<{
|
|
109
|
-
|
|
1549
|
+
/** Null when the request named no one, so the email greets no one by name. */
|
|
1550
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
110
1551
|
readonly actionURL: v.StringSchema<undefined>;
|
|
111
1552
|
}, undefined>;
|
|
112
1553
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -162,10 +1603,53 @@ declare const transactionalEmailContentSchema: v.VariantSchema<"kind", [v.Object
|
|
|
162
1603
|
readonly kind: v.LiteralSchema<"document-report", undefined>;
|
|
163
1604
|
readonly payload: v.ObjectSchema<{
|
|
164
1605
|
readonly documentName: v.StringSchema<undefined>;
|
|
165
|
-
readonly reason: v.
|
|
1606
|
+
readonly reason: v.PicklistSchema<["spam-phishing", "illegal", "copyright", "harassment", "other"], undefined>;
|
|
166
1607
|
readonly description: v.StringSchema<undefined>;
|
|
167
1608
|
readonly actionURL: v.StringSchema<undefined>;
|
|
168
1609
|
}, undefined>;
|
|
1610
|
+
}, undefined>, v.ObjectSchema<{
|
|
1611
|
+
readonly kind: v.LiteralSchema<"storage-limit-reached", undefined>;
|
|
1612
|
+
readonly payload: v.ObjectSchema<{
|
|
1613
|
+
readonly name: v.StringSchema<undefined>;
|
|
1614
|
+
readonly usedBytes: v.NumberSchema<undefined>;
|
|
1615
|
+
readonly limitBytes: v.NumberSchema<undefined>;
|
|
1616
|
+
/** Whether the server sells plans, so the account can get more storage rather than only free it. */
|
|
1617
|
+
readonly upgradable: v.BooleanSchema<undefined>;
|
|
1618
|
+
readonly actionURL: v.StringSchema<undefined>;
|
|
1619
|
+
}, undefined>;
|
|
1620
|
+
}, undefined>, v.ObjectSchema<{
|
|
1621
|
+
readonly kind: v.LiteralSchema<"document-blocked", undefined>;
|
|
1622
|
+
readonly payload: v.ObjectSchema<{
|
|
1623
|
+
/** The owner's name, or null when the account has none. */
|
|
1624
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1625
|
+
readonly documentName: v.StringSchema<undefined>;
|
|
1626
|
+
/** Why, as the administrator wrote it, or null when they gave no reason. */
|
|
1627
|
+
readonly reason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1628
|
+
/** Where to write to contest it: the deployment's abuse address, or null without one. */
|
|
1629
|
+
readonly contactEmail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
1630
|
+
readonly actionURL: v.StringSchema<undefined>;
|
|
1631
|
+
}, undefined>;
|
|
1632
|
+
}, undefined>, v.ObjectSchema<{
|
|
1633
|
+
readonly kind: v.LiteralSchema<"document-restored", undefined>;
|
|
1634
|
+
readonly payload: v.ObjectSchema<{
|
|
1635
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1636
|
+
readonly documentName: v.StringSchema<undefined>;
|
|
1637
|
+
readonly actionURL: v.StringSchema<undefined>;
|
|
1638
|
+
}, undefined>;
|
|
1639
|
+
}, undefined>, v.ObjectSchema<{
|
|
1640
|
+
readonly kind: v.LiteralSchema<"document-report-received", undefined>;
|
|
1641
|
+
readonly payload: v.ObjectSchema<{
|
|
1642
|
+
readonly documentName: v.StringSchema<undefined>;
|
|
1643
|
+
}, undefined>;
|
|
1644
|
+
}, undefined>, v.ObjectSchema<{
|
|
1645
|
+
readonly kind: v.LiteralSchema<"document-report-decided", undefined>;
|
|
1646
|
+
readonly payload: v.ObjectSchema<{
|
|
1647
|
+
readonly documentName: v.StringSchema<undefined>;
|
|
1648
|
+
/** The document blocked, the report acted on some other way, or the document left as it was. */
|
|
1649
|
+
readonly outcome: v.PicklistSchema<["blocked", "actioned", "dismissed"], undefined>;
|
|
1650
|
+
/** Where to write to disagree: the deployment's abuse address, or null without one. */
|
|
1651
|
+
readonly contactEmail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
1652
|
+
}, undefined>;
|
|
169
1653
|
}, undefined>], undefined>;
|
|
170
1654
|
/** A transactional email's kind with the payload that kind renders. */
|
|
171
1655
|
type TransactionalEmailContent = v.InferOutput<typeof transactionalEmailContentSchema>;
|
|
@@ -199,6 +1683,17 @@ type EnqueueTransactionalEmailInput<Kind extends TransactionalEmailKind> = {
|
|
|
199
1683
|
kind: Kind;
|
|
200
1684
|
recipientEmail: string;
|
|
201
1685
|
payload: TransactionalEmailPayloadByKind[Kind];
|
|
1686
|
+
/**
|
|
1687
|
+
* The recipient account's own language, when the sender has the account: the email is then
|
|
1688
|
+
* written in it, or in English when it has none, without looking the account up. Signing up
|
|
1689
|
+
* needs this, since its callbacks run inside its transaction and must not query the database.
|
|
1690
|
+
*/
|
|
1691
|
+
recipientLocale?: EmailLocale | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* The language to write in when the recipient has no account that chose one: the inviter's for
|
|
1694
|
+
* an invitation. English otherwise.
|
|
1695
|
+
*/
|
|
1696
|
+
fallbackLocale?: EmailLocale | null;
|
|
202
1697
|
};
|
|
203
1698
|
type TransactionalEmailDeliveryOptions = {
|
|
204
1699
|
batchSize: number;
|
|
@@ -222,7 +1717,10 @@ type TransactionalEmailService = {
|
|
|
222
1717
|
type DocumentInvitationMessage = {
|
|
223
1718
|
deliveryId: string;
|
|
224
1719
|
recipientEmail: string;
|
|
225
|
-
|
|
1720
|
+
/** The language the invitation is written in. */
|
|
1721
|
+
locale: EmailLocale;
|
|
1722
|
+
/** Null when the inviter's account is gone, so the email says someone invited you. */
|
|
1723
|
+
inviterName: string | null;
|
|
226
1724
|
documentName: string;
|
|
227
1725
|
permission: DocumentPermission;
|
|
228
1726
|
expiresAt: string;
|
|
@@ -294,7 +1792,7 @@ declare function createEnrollmentService(database: Kysely<CloudDatabase>, emailO
|
|
|
294
1792
|
requestRevision: number;
|
|
295
1793
|
}[];
|
|
296
1794
|
total: number;
|
|
297
|
-
counts: Record<"pending" | "
|
|
1795
|
+
counts: Record<"pending" | "approved" | "rejected" | "revoked", number>;
|
|
298
1796
|
}>;
|
|
299
1797
|
review(actorId: string, enrollmentId: string, status: Exclude<EnrollmentStatus, "pending">, input: EnrollmentReviewInput): Promise<EnrollmentRecord>;
|
|
300
1798
|
bindApprovedUser(email: string, userId: string): Promise<void>;
|
|
@@ -411,6 +1909,8 @@ interface DocumentReportTable {
|
|
|
411
1909
|
reporterUserId: string | null;
|
|
412
1910
|
reporterGuestId: string | null;
|
|
413
1911
|
replyEmail: string | null;
|
|
1912
|
+
/** The language to reply in when the reporter has no account that chose one. */
|
|
1913
|
+
replyLocale: Generated<EmailLocale | null>;
|
|
414
1914
|
reason: 'spam-phishing' | 'illegal' | 'copyright' | 'harassment' | 'other';
|
|
415
1915
|
description: string;
|
|
416
1916
|
status: Generated<'open' | 'dismissed' | 'actioned'>;
|
|
@@ -494,9 +1994,21 @@ interface AuthUserTable {
|
|
|
494
1994
|
banExpires: TimestampColumn | null;
|
|
495
1995
|
/** Unset on accounts that never turned two-step sign-in on. */
|
|
496
1996
|
twoFactorEnabled: Generated<boolean | null>;
|
|
1997
|
+
/** The language Cloud writes to the account in; unset is English. */
|
|
1998
|
+
locale: Generated<EmailLocale | null>;
|
|
497
1999
|
createdAt: TimestampColumn;
|
|
498
2000
|
updatedAt: TimestampColumn;
|
|
499
2001
|
}
|
|
2002
|
+
/** Better Auth's API keys, which are Cloud's personal access tokens; the plugin owns the rest. */
|
|
2003
|
+
interface AccessTokenTable {
|
|
2004
|
+
id: string;
|
|
2005
|
+
referenceId: string;
|
|
2006
|
+
name: string | null;
|
|
2007
|
+
start: string | null;
|
|
2008
|
+
expiresAt: TimestampColumn | null;
|
|
2009
|
+
lastRequest: TimestampColumn | null;
|
|
2010
|
+
createdAt: TimestampColumn;
|
|
2011
|
+
}
|
|
500
2012
|
interface TwoFactorTable {
|
|
501
2013
|
id: string;
|
|
502
2014
|
secret: string;
|
|
@@ -588,6 +2100,11 @@ interface AccountEntitlementTable {
|
|
|
588
2100
|
externalVersion: number | null;
|
|
589
2101
|
updatedAt: TimestampColumn;
|
|
590
2102
|
}
|
|
2103
|
+
/** An account told its storage is full; see `createStorageLimitNoticeService`. */
|
|
2104
|
+
interface StorageLimitNoticeTable {
|
|
2105
|
+
userId: string;
|
|
2106
|
+
notifiedAt: TimestampColumn;
|
|
2107
|
+
}
|
|
591
2108
|
interface WorkspaceStorageUsageTable {
|
|
592
2109
|
workspaceId: string;
|
|
593
2110
|
committedBytes: number;
|
|
@@ -610,6 +2127,8 @@ interface TransactionalEmailTable {
|
|
|
610
2127
|
kind: TransactionalEmailKind;
|
|
611
2128
|
recipientEmailNormalized: string;
|
|
612
2129
|
payloadEncrypted: string | null;
|
|
2130
|
+
/** The language the email is written in. */
|
|
2131
|
+
locale: Generated<EmailLocale>;
|
|
613
2132
|
status: TransactionalEmailStatus;
|
|
614
2133
|
attemptCount: Generated<number>;
|
|
615
2134
|
nextAttemptAt: TimestampColumn;
|
|
@@ -671,6 +2190,7 @@ interface CloudDatabase {
|
|
|
671
2190
|
signIn: SignInTable;
|
|
672
2191
|
userPicture: UserPictureTable;
|
|
673
2192
|
user: AuthUserTable;
|
|
2193
|
+
apikey: AccessTokenTable;
|
|
674
2194
|
authSchemaVersion: AuthSchemaVersionTable;
|
|
675
2195
|
enrollment: EnrollmentTable;
|
|
676
2196
|
apiRateLimit: APIRateLimitTable;
|
|
@@ -693,6 +2213,7 @@ interface CloudDatabase {
|
|
|
693
2213
|
accountEntitlement: AccountEntitlementTable;
|
|
694
2214
|
termsAcceptance: TermsAcceptanceTable;
|
|
695
2215
|
workspaceStorageUsage: WorkspaceStorageUsageTable;
|
|
2216
|
+
storageLimitNotice: StorageLimitNoticeTable;
|
|
696
2217
|
transactionalEmail: TransactionalEmailTable;
|
|
697
2218
|
uploadStorageReservation: UploadStorageReservationTable;
|
|
698
2219
|
upload: UploadTable;
|
|
@@ -715,6 +2236,7 @@ declare const rawCloudServerConfigSchema: v.ObjectSchema<{
|
|
|
715
2236
|
readonly deployment: v.PicklistSchema<["official", "self-hosted"], undefined>;
|
|
716
2237
|
readonly publicURL: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use HTTP or HTTPS">]>;
|
|
717
2238
|
readonly listingMinimumEditorVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2239
|
+
readonly minimumEditorVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
718
2240
|
readonly relayURL: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use WS or WSS">]>, undefined>;
|
|
719
2241
|
readonly technicalLimits: v.OptionalSchema<v.ObjectSchema<{
|
|
720
2242
|
readonly maximumUploadBytes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, number>;
|
|
@@ -748,6 +2270,30 @@ declare const rawCloudServerConfigSchema: v.ObjectSchema<{
|
|
|
748
2270
|
readonly monthlyCreditAllowance: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
749
2271
|
}, undefined>, {}>;
|
|
750
2272
|
}, undefined>, undefined>;
|
|
2273
|
+
/** With database entitlements, what an account without stored ones takes, value by value. */
|
|
2274
|
+
readonly defaultEntitlements: v.OptionalSchema<v.ObjectSchema<{
|
|
2275
|
+
readonly documents: v.OptionalSchema<v.ObjectSchema<{
|
|
2276
|
+
readonly maximumFileBytes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2277
|
+
readonly revisionHistory: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2278
|
+
}, undefined>, {}>;
|
|
2279
|
+
readonly storage: v.OptionalSchema<v.ObjectSchema<{
|
|
2280
|
+
readonly maximumBytes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2281
|
+
}, undefined>, {}>;
|
|
2282
|
+
readonly sharing: v.OptionalSchema<v.ObjectSchema<{
|
|
2283
|
+
readonly links: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2284
|
+
readonly guestView: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2285
|
+
readonly guestEdit: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2286
|
+
readonly guestPresence: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2287
|
+
}, undefined>, {}>;
|
|
2288
|
+
readonly collaboration: v.OptionalSchema<v.ObjectSchema<{
|
|
2289
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2290
|
+
readonly maximumParticipants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2291
|
+
}, undefined>, {}>;
|
|
2292
|
+
readonly services: v.OptionalSchema<v.ObjectSchema<{
|
|
2293
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2294
|
+
readonly monthlyCreditAllowance: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2295
|
+
}, undefined>, {}>;
|
|
2296
|
+
}, undefined>, undefined>;
|
|
751
2297
|
readonly databaseURL: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
752
2298
|
readonly authSecret: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 32, undefined>]>;
|
|
753
2299
|
readonly trustedOrigins: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use HTTP or HTTPS">]>, undefined>, readonly []>;
|
|
@@ -820,7 +2366,8 @@ declare const rawCloudServerConfigSchema: v.ObjectSchema<{
|
|
|
820
2366
|
/** The PKCS #8 PEM of the P-256 key that signs service tokens. */
|
|
821
2367
|
readonly servicesSigningKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
822
2368
|
readonly servicesTokenLifetimeSeconds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 60, undefined>, v.MaxValueAction<number, number, undefined>]>, number>;
|
|
823
|
-
|
|
2369
|
+
/** The billing service accounts buy plans and credits from, which discovery advertises. */
|
|
2370
|
+
readonly billingEndpoint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use HTTP or HTTPS">]>, undefined>;
|
|
824
2371
|
/** The bearer token services such as billing present to the internal API. */
|
|
825
2372
|
readonly internalServiceToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 32, undefined>]>, undefined>;
|
|
826
2373
|
/**
|
|
@@ -836,6 +2383,19 @@ declare const rawCloudServerConfigSchema: v.ObjectSchema<{
|
|
|
836
2383
|
readonly abuseEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
837
2384
|
readonly minimumAge: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 13, undefined>, v.MaxValueAction<number, 21, undefined>]>, undefined>;
|
|
838
2385
|
}, undefined>, undefined>;
|
|
2386
|
+
/**
|
|
2387
|
+
* The workspace whose documents anyone may open read-only, without signing in or a link: the
|
|
2388
|
+
* deployment's community gallery. Without it the server has none.
|
|
2389
|
+
*/
|
|
2390
|
+
readonly community: v.OptionalSchema<v.ObjectSchema<{
|
|
2391
|
+
readonly workspaceId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
2392
|
+
}, undefined>, undefined>;
|
|
2393
|
+
/** How a self-hosted server names itself on its public pages. */
|
|
2394
|
+
readonly branding: v.OptionalSchema<v.ObjectSchema<{
|
|
2395
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2396
|
+
readonly logoURL: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use HTTP or HTTPS">]>, undefined>;
|
|
2397
|
+
readonly helpURL: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "URL must use HTTP or HTTPS">]>, undefined>;
|
|
2398
|
+
}, undefined>, undefined>;
|
|
839
2399
|
/** Where server errors are reported; without it the server reports nothing. */
|
|
840
2400
|
readonly errorTracking: v.OptionalSchema<v.ObjectSchema<{
|
|
841
2401
|
readonly provider: v.LiteralSchema<"posthog", undefined>;
|
|
@@ -854,6 +2414,8 @@ type CloudActor = {
|
|
|
854
2414
|
email: string;
|
|
855
2415
|
name: string;
|
|
856
2416
|
deploymentRole?: 'user' | 'admin';
|
|
2417
|
+
/** How the request proved who it is: a signed-in session, or a personal access token. */
|
|
2418
|
+
credential?: 'session' | 'token';
|
|
857
2419
|
};
|
|
858
2420
|
type CloudIdentityResolver = (request: Request) => Promise<CloudIdentity | null>;
|
|
859
2421
|
type CloudSessionResolver = (request: Request) => Promise<CloudActor | null>;
|
|
@@ -897,6 +2459,18 @@ interface CloudAuthAdapter {
|
|
|
897
2459
|
* terms: enough to leave, by downloading its documents and deleting the account.
|
|
898
2460
|
*/
|
|
899
2461
|
resolveAccountSession(headers: Headers): Promise<CloudActor | null>;
|
|
2462
|
+
/**
|
|
2463
|
+
* The account a personal access token stands for, from `Authorization: Bearer`, once it is held
|
|
2464
|
+
* to what a session would be. Only the document API reads tokens.
|
|
2465
|
+
*/
|
|
2466
|
+
resolveAccessToken(headers: Headers): Promise<CloudActor | null>;
|
|
2467
|
+
listAccessTokens(headers: Headers): Promise<CloudAccessToken[] | null>;
|
|
2468
|
+
/** Makes a token for the signed-in account; answers the whole token, shown this once. */
|
|
2469
|
+
createAccessToken(headers: Headers, input: CloudAccessTokenCreate): Promise<{
|
|
2470
|
+
token: string;
|
|
2471
|
+
accessToken: CloudAccessToken;
|
|
2472
|
+
}>;
|
|
2473
|
+
revokeAccessToken(headers: Headers, id: string): Promise<void>;
|
|
900
2474
|
listAuthenticationMethods(headers: Headers): Promise<CloudAuthenticationMethodRecord[]>;
|
|
901
2475
|
changePassword(headers: Headers, input: {
|
|
902
2476
|
currentPassword: string;
|
|
@@ -932,6 +2506,9 @@ interface CloudAuthAdapter {
|
|
|
932
2506
|
updateProfile(headers: Headers, input: {
|
|
933
2507
|
name: string;
|
|
934
2508
|
}): Promise<void>;
|
|
2509
|
+
/** The language Cloud writes to the account in, as the app says it uses. */
|
|
2510
|
+
/** Takes the app's language tag; the server keeps the nearest language it writes in. */
|
|
2511
|
+
setLocale(headers: Headers, locale: string): Promise<void>;
|
|
935
2512
|
/** Sends the confirmation to the new address and tells the old one which address it is. */
|
|
936
2513
|
changeEmail(headers: Headers, input: {
|
|
937
2514
|
newEmail: string;
|
|
@@ -960,6 +2537,8 @@ type AuthenticationEmailService = {
|
|
|
960
2537
|
url: string;
|
|
961
2538
|
token: string;
|
|
962
2539
|
purpose?: 'account' | 'change';
|
|
2540
|
+
/** The account's own language, or null for none; nothing is looked up, as sign-up needs. */
|
|
2541
|
+
locale?: EmailLocale | null;
|
|
963
2542
|
}): Promise<void>;
|
|
964
2543
|
sendPasswordReset(input: {
|
|
965
2544
|
email: string;
|
|
@@ -1003,32 +2582,16 @@ type CloudAuthRuntimeOptions = {
|
|
|
1003
2582
|
email?: AuthenticationEmailService;
|
|
1004
2583
|
runInBackground?: (promise: Promise<unknown>) => void;
|
|
1005
2584
|
/**
|
|
1006
|
-
* Whether Better Auth checks the database schema when it starts
|
|
1007
|
-
*
|
|
2585
|
+
* Whether Better Auth checks the database schema when it starts, off unless asked for. The check
|
|
2586
|
+
* runs in the background and nothing waits for it, so an adapter made briefly, as for one
|
|
2587
|
+
* request, for migrating, or in a test, would leave it querying a database being closed;
|
|
2588
|
+
* `migrateCloudDatabase` has already checked the recorded version. A server's long-lived
|
|
2589
|
+
* adapter turns it on.
|
|
1008
2590
|
*/
|
|
1009
2591
|
validateSchema?: boolean;
|
|
1010
2592
|
};
|
|
1011
2593
|
declare function createBetterAuthAdapter(config: CloudServerConfig, database: Kysely<CloudDatabase>, enrollment?: EnrollmentService, runtime?: CloudAuthRuntimeOptions): CloudAuthAdapter;
|
|
1012
2594
|
//#endregion
|
|
1013
|
-
//#region src/server/api/types.d.ts
|
|
1014
|
-
/** What a rate limiter records on the request about the budget it just counted. */
|
|
1015
|
-
type RateLimitUse = {
|
|
1016
|
-
limit: number;
|
|
1017
|
-
remaining: number;
|
|
1018
|
-
resetTime?: Date;
|
|
1019
|
-
};
|
|
1020
|
-
type CloudAPIEnvironment = {
|
|
1021
|
-
Variables: {
|
|
1022
|
-
actor: CloudActor;
|
|
1023
|
-
/** Set by `cloudRequestId`: what logs and error reports name the request by. */
|
|
1024
|
-
requestId: string;
|
|
1025
|
-
/** Set by `hono-rate-limiter` for the last budget it counted. */
|
|
1026
|
-
rateLimit?: RateLimitUse;
|
|
1027
|
-
/** A resource budget's use, kept before the actor-wide budget records its own. */
|
|
1028
|
-
resourceRateLimit?: RateLimitUse;
|
|
1029
|
-
};
|
|
1030
|
-
};
|
|
1031
|
-
//#endregion
|
|
1032
2595
|
//#region src/server/policy/keys.d.ts
|
|
1033
2596
|
type CloudPolicyContext = {
|
|
1034
2597
|
/** Whose entitlements apply: an account by default for a workspace, its owner's. */
|
|
@@ -1054,36 +2617,17 @@ declare class CloudPolicy {
|
|
|
1054
2617
|
constructor(provider: Provider);
|
|
1055
2618
|
boolean(key: string, defaultValue: boolean, context: CloudPolicyContext): Promise<boolean>;
|
|
1056
2619
|
number(key: string, defaultValue: number, context: CloudPolicyContext): Promise<number>;
|
|
2620
|
+
/**
|
|
2621
|
+
* Like `number`, and says whether the provider failed to answer, for a caller that must not
|
|
2622
|
+
* take the default for an answer, such as one that undoes something when a limit is gone.
|
|
2623
|
+
*/
|
|
2624
|
+
numberResolution(key: string, defaultValue: number, context: CloudPolicyContext): Promise<{
|
|
2625
|
+
value: number;
|
|
2626
|
+
failed: boolean;
|
|
2627
|
+
}>;
|
|
2628
|
+
private evaluateNumber;
|
|
1057
2629
|
}
|
|
1058
2630
|
//#endregion
|
|
1059
|
-
//#region src/server/logging.d.ts
|
|
1060
|
-
/** Reads the ID that what stands in front of the server gave a request, if the runtime trusts it. */
|
|
1061
|
-
type ForwardedRequestId = (headers: Headers) => string | undefined;
|
|
1062
|
-
//#endregion
|
|
1063
|
-
//#region src/server/errors/posthog.d.ts
|
|
1064
|
-
/** Where a server caught an error, and for a request, its method, matched route, and ID. */
|
|
1065
|
-
type ErrorReportContext<Source extends string = string> = {
|
|
1066
|
-
source: Source;
|
|
1067
|
-
method?: string;
|
|
1068
|
-
route?: string;
|
|
1069
|
-
/** The request's ID, as `cloudRequestId` named it; logs carry it too. */
|
|
1070
|
-
requestId?: string;
|
|
1071
|
-
/** What failed, as the server's log says it; not sent to PostHog, whose report has the error. */
|
|
1072
|
-
message?: string;
|
|
1073
|
-
};
|
|
1074
|
-
/** Sends a caught error where it is seen; it never rejects. */
|
|
1075
|
-
type ErrorReporter<Source extends string = string> = (error: unknown, context: ErrorReportContext<Source>) => Promise<void>;
|
|
1076
|
-
//#endregion
|
|
1077
|
-
//#region src/server/errors/index.d.ts
|
|
1078
|
-
/** Where the server caught an error. */
|
|
1079
|
-
declare const CLOUD_ERROR_SOURCES: readonly ["request", "background", "cleanup", "email", "relay", "scheduled", "setup"];
|
|
1080
|
-
type CloudErrorSource = (typeof CLOUD_ERROR_SOURCES)[number];
|
|
1081
|
-
/**
|
|
1082
|
-
* Logs a caught error and, when the deployment configures error tracking, sends it there. Runtimes
|
|
1083
|
-
* create one with `createLoggingErrorReporter`; its promise never rejects.
|
|
1084
|
-
*/
|
|
1085
|
-
type CloudErrorReporter = ErrorReporter<CloudErrorSource>;
|
|
1086
|
-
//#endregion
|
|
1087
2631
|
//#region src/server/objects/types.d.ts
|
|
1088
2632
|
type ObjectDownload = {
|
|
1089
2633
|
url: string;
|
|
@@ -1166,8 +2710,69 @@ interface ObjectStore {
|
|
|
1166
2710
|
write(input: WriteObjectInput): Promise<void>;
|
|
1167
2711
|
/** The bytes stored under `key`, or null when there are none. */
|
|
1168
2712
|
read(key: string): Promise<Uint8Array | null>;
|
|
2713
|
+
/**
|
|
2714
|
+
* Bytes `start` up to `endExclusive` of the object under `key`, or null when there is none:
|
|
2715
|
+
* enough of a large stored file to read one part of it, such as a document's thumbnail.
|
|
2716
|
+
*/
|
|
2717
|
+
readRange(key: string, start: number, endExclusive: number): Promise<Uint8Array | null>;
|
|
1169
2718
|
}
|
|
1170
2719
|
//#endregion
|
|
2720
|
+
//#region src/errors/posthog.d.ts
|
|
2721
|
+
/** Where a server caught an error, and for a request, its method, matched route, and ID. */
|
|
2722
|
+
type ErrorReportContext<Source extends string = string> = {
|
|
2723
|
+
source: Source;
|
|
2724
|
+
method?: string;
|
|
2725
|
+
route?: string;
|
|
2726
|
+
/** The request's ID, as `cloudRequestId` named it; logs carry it too. */
|
|
2727
|
+
requestId?: string;
|
|
2728
|
+
/** What failed, as the server's log says it; not sent to PostHog, whose report has the error. */
|
|
2729
|
+
message?: string;
|
|
2730
|
+
};
|
|
2731
|
+
/** Sends a caught error where it is seen; it never rejects. */
|
|
2732
|
+
type ErrorReporter<Source extends string = string> = (error: unknown, context: ErrorReportContext<Source>) => Promise<void>;
|
|
2733
|
+
//#endregion
|
|
2734
|
+
//#region src/server/logging.d.ts
|
|
2735
|
+
/** Reads the ID that what stands in front of the server gave a request, if the runtime trusts it. */
|
|
2736
|
+
type ForwardedRequestId = (headers: Headers) => string | undefined;
|
|
2737
|
+
//#endregion
|
|
2738
|
+
//#region src/server/errors/index.d.ts
|
|
2739
|
+
/** Where the server caught an error. */
|
|
2740
|
+
declare const CLOUD_ERROR_SOURCES: readonly ["request", "background", "cleanup", "email", "relay", "scheduled", "setup"];
|
|
2741
|
+
type CloudErrorSource = (typeof CLOUD_ERROR_SOURCES)[number];
|
|
2742
|
+
/**
|
|
2743
|
+
* Logs a caught error and, when the deployment configures error tracking, sends it there. Runtimes
|
|
2744
|
+
* create one with `createLoggingErrorReporter`; its promise never rejects.
|
|
2745
|
+
*/
|
|
2746
|
+
type CloudErrorReporter = ErrorReporter<CloudErrorSource>;
|
|
2747
|
+
//#endregion
|
|
2748
|
+
//#region src/server/api/types.d.ts
|
|
2749
|
+
/** What a rate limiter records on the request about the budget it just counted. */
|
|
2750
|
+
type RateLimitUse = {
|
|
2751
|
+
limit: number;
|
|
2752
|
+
remaining: number;
|
|
2753
|
+
resetTime?: Date;
|
|
2754
|
+
};
|
|
2755
|
+
type CloudAPIEnvironment = {
|
|
2756
|
+
Variables: {
|
|
2757
|
+
actor: CloudActor;
|
|
2758
|
+
/** Set by `cloudRequestId`: what logs and error reports name the request by. */
|
|
2759
|
+
requestId: string;
|
|
2760
|
+
/** Set by `hono-rate-limiter` for the last budget it counted. */
|
|
2761
|
+
rateLimit?: RateLimitUse;
|
|
2762
|
+
/** A resource budget's use, kept before the actor-wide budget records its own. */
|
|
2763
|
+
resourceRateLimit?: RateLimitUse;
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
//#endregion
|
|
2767
|
+
//#region src/server/services/keys.d.ts
|
|
2768
|
+
type ServicesSigningKey = {
|
|
2769
|
+
privateKey: CryptoKey;
|
|
2770
|
+
/** The public half, as published in the JWKS. */
|
|
2771
|
+
publicJWK: JWK & {
|
|
2772
|
+
kid: string;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
//#endregion
|
|
1171
2776
|
//#region src/server/collaboration/relay/resume.d.ts
|
|
1172
2777
|
declare const peerStateSchema: v.ObjectSchema<{
|
|
1173
2778
|
readonly peerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
@@ -1330,16 +2935,7 @@ type EntitlementSource = {
|
|
|
1330
2935
|
string(subject: EntitlementSubject, key: string): Promise<string | null>;
|
|
1331
2936
|
};
|
|
1332
2937
|
//#endregion
|
|
1333
|
-
//#region src/server/services
|
|
1334
|
-
type ServicesSigningKey = {
|
|
1335
|
-
privateKey: CryptoKey;
|
|
1336
|
-
/** The public half, as published in the JWKS. */
|
|
1337
|
-
publicJWK: JWK & {
|
|
1338
|
-
kid: string;
|
|
1339
|
-
};
|
|
1340
|
-
};
|
|
1341
|
-
//#endregion
|
|
1342
|
-
//#region src/server/app.d.ts
|
|
2938
|
+
//#region src/server/app/services.d.ts
|
|
1343
2939
|
type CloudServices = {
|
|
1344
2940
|
config: CloudServerConfig;
|
|
1345
2941
|
database: Kysely<CloudDatabase>;
|
|
@@ -1376,6 +2972,13 @@ type CloudServices = {
|
|
|
1376
2972
|
/** The request ID this runtime trusts from what stands in front of it, such as `cf-ray`. */
|
|
1377
2973
|
forwardedRequestId?: ForwardedRequestId;
|
|
1378
2974
|
};
|
|
2975
|
+
//#endregion
|
|
2976
|
+
//#region src/server/app/index.d.ts
|
|
2977
|
+
/**
|
|
2978
|
+
* The Cloud server over a runtime's services. The order the routes and checks are registered in
|
|
2979
|
+
* is what guards them: rate limiters come before the routes they count, the public API before
|
|
2980
|
+
* the checks that require an account, and administration before the general write limiter.
|
|
2981
|
+
*/
|
|
1379
2982
|
declare function createCloudApp(services: CloudServices): import("hono/hono-base").HonoBase<CloudAPIEnvironment & {
|
|
1380
2983
|
Variables: {
|
|
1381
2984
|
requestId: string;
|
|
@@ -1384,7 +2987,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1384
2987
|
"/robots.txt": {
|
|
1385
2988
|
$get: {
|
|
1386
2989
|
input: {};
|
|
1387
|
-
output:
|
|
2990
|
+
output: string;
|
|
1388
2991
|
outputFormat: "body";
|
|
1389
2992
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1390
2993
|
};
|
|
@@ -1461,12 +3064,17 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1461
3064
|
listing?: {
|
|
1462
3065
|
minimumEditorVersion: string;
|
|
1463
3066
|
} | undefined;
|
|
3067
|
+
minimumEditorVersion?: string | undefined;
|
|
1464
3068
|
services?: {
|
|
1465
3069
|
endpoint: string;
|
|
1466
3070
|
contractVersion: "1";
|
|
1467
3071
|
} | undefined;
|
|
1468
3072
|
billing?: {
|
|
1469
|
-
|
|
3073
|
+
endpoint: string;
|
|
3074
|
+
contractVersion: "1";
|
|
3075
|
+
} | undefined;
|
|
3076
|
+
community?: {
|
|
3077
|
+
workspaceId: string;
|
|
1470
3078
|
} | undefined;
|
|
1471
3079
|
legal?: {
|
|
1472
3080
|
termsURL?: string | undefined;
|
|
@@ -1476,6 +3084,11 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1476
3084
|
abuseEmail?: string | undefined;
|
|
1477
3085
|
minimumAge?: number | undefined;
|
|
1478
3086
|
} | undefined;
|
|
3087
|
+
branding?: {
|
|
3088
|
+
name?: string | undefined;
|
|
3089
|
+
logoURL?: string | undefined;
|
|
3090
|
+
helpURL?: string | undefined;
|
|
3091
|
+
} | undefined;
|
|
1479
3092
|
};
|
|
1480
3093
|
outputFormat: "json";
|
|
1481
3094
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -1526,7 +3139,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1526
3139
|
image?: string | null | undefined;
|
|
1527
3140
|
deploymentRole?: "user" | "admin" | undefined;
|
|
1528
3141
|
};
|
|
1529
|
-
state: "
|
|
3142
|
+
state: "pending" | "rejected" | "revoked" | "active" | "terms";
|
|
1530
3143
|
};
|
|
1531
3144
|
outputFormat: "json";
|
|
1532
3145
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -1780,7 +3393,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1780
3393
|
};
|
|
1781
3394
|
output: {
|
|
1782
3395
|
error: {
|
|
1783
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3396
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
1784
3397
|
};
|
|
1785
3398
|
};
|
|
1786
3399
|
outputFormat: "json";
|
|
@@ -1832,7 +3445,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1832
3445
|
};
|
|
1833
3446
|
output: {
|
|
1834
3447
|
error: {
|
|
1835
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3448
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
1836
3449
|
};
|
|
1837
3450
|
};
|
|
1838
3451
|
outputFormat: "json";
|
|
@@ -1900,7 +3513,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1900
3513
|
};
|
|
1901
3514
|
output: {
|
|
1902
3515
|
error: {
|
|
1903
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3516
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
1904
3517
|
};
|
|
1905
3518
|
};
|
|
1906
3519
|
outputFormat: "json";
|
|
@@ -1958,7 +3571,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1958
3571
|
};
|
|
1959
3572
|
output: {
|
|
1960
3573
|
error: {
|
|
1961
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3574
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
1962
3575
|
};
|
|
1963
3576
|
};
|
|
1964
3577
|
outputFormat: "json";
|
|
@@ -1987,7 +3600,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1987
3600
|
};
|
|
1988
3601
|
output: {
|
|
1989
3602
|
error: {
|
|
1990
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3603
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
1991
3604
|
};
|
|
1992
3605
|
};
|
|
1993
3606
|
outputFormat: "json";
|
|
@@ -2055,7 +3668,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2055
3668
|
};
|
|
2056
3669
|
output: {
|
|
2057
3670
|
error: {
|
|
2058
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3671
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2059
3672
|
};
|
|
2060
3673
|
};
|
|
2061
3674
|
outputFormat: "json";
|
|
@@ -2086,6 +3699,47 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2086
3699
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2087
3700
|
};
|
|
2088
3701
|
};
|
|
3702
|
+
} & {
|
|
3703
|
+
"/api/account/locale": {
|
|
3704
|
+
$put: {
|
|
3705
|
+
input: {
|
|
3706
|
+
json: {
|
|
3707
|
+
locale: string;
|
|
3708
|
+
};
|
|
3709
|
+
};
|
|
3710
|
+
output: {
|
|
3711
|
+
error: {
|
|
3712
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
3713
|
+
};
|
|
3714
|
+
};
|
|
3715
|
+
outputFormat: "json";
|
|
3716
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
3717
|
+
} | {
|
|
3718
|
+
input: {
|
|
3719
|
+
json: {
|
|
3720
|
+
locale: string;
|
|
3721
|
+
};
|
|
3722
|
+
};
|
|
3723
|
+
output: {
|
|
3724
|
+
error: {
|
|
3725
|
+
code: "invalid_request";
|
|
3726
|
+
};
|
|
3727
|
+
};
|
|
3728
|
+
outputFormat: "json";
|
|
3729
|
+
status: 400;
|
|
3730
|
+
} | {
|
|
3731
|
+
input: {
|
|
3732
|
+
json: {
|
|
3733
|
+
locale: string;
|
|
3734
|
+
};
|
|
3735
|
+
};
|
|
3736
|
+
output: {
|
|
3737
|
+
ok: true;
|
|
3738
|
+
};
|
|
3739
|
+
outputFormat: "json";
|
|
3740
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3741
|
+
};
|
|
3742
|
+
};
|
|
2089
3743
|
} & {
|
|
2090
3744
|
"/api/account/profile/picture": {
|
|
2091
3745
|
$put: {
|
|
@@ -2149,7 +3803,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2149
3803
|
};
|
|
2150
3804
|
output: {
|
|
2151
3805
|
error: {
|
|
2152
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3806
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2153
3807
|
};
|
|
2154
3808
|
};
|
|
2155
3809
|
outputFormat: "json";
|
|
@@ -2199,7 +3853,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2199
3853
|
sessions: {
|
|
2200
3854
|
id: string;
|
|
2201
3855
|
current: boolean;
|
|
2202
|
-
method: "
|
|
3856
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop" | null;
|
|
2203
3857
|
ipAddress: string | null;
|
|
2204
3858
|
browser: string | null;
|
|
2205
3859
|
system: string | null;
|
|
@@ -2222,7 +3876,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2222
3876
|
};
|
|
2223
3877
|
output: {
|
|
2224
3878
|
error: {
|
|
2225
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3879
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2226
3880
|
};
|
|
2227
3881
|
};
|
|
2228
3882
|
outputFormat: "json";
|
|
@@ -2259,7 +3913,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2259
3913
|
input: {};
|
|
2260
3914
|
output: {
|
|
2261
3915
|
error: {
|
|
2262
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
3916
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2263
3917
|
};
|
|
2264
3918
|
};
|
|
2265
3919
|
outputFormat: "json";
|
|
@@ -2289,7 +3943,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2289
3943
|
output: {
|
|
2290
3944
|
signIns: {
|
|
2291
3945
|
id: string;
|
|
2292
|
-
method: "
|
|
3946
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop";
|
|
2293
3947
|
ipAddress: string | null;
|
|
2294
3948
|
browser: string | null;
|
|
2295
3949
|
system: string | null;
|
|
@@ -2353,7 +4007,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2353
4007
|
};
|
|
2354
4008
|
output: {
|
|
2355
4009
|
error: {
|
|
2356
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
4010
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2357
4011
|
};
|
|
2358
4012
|
};
|
|
2359
4013
|
outputFormat: "json";
|
|
@@ -2377,7 +4031,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2377
4031
|
input: {};
|
|
2378
4032
|
output: {
|
|
2379
4033
|
error: {
|
|
2380
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
4034
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
2381
4035
|
};
|
|
2382
4036
|
};
|
|
2383
4037
|
outputFormat: "json";
|
|
@@ -2398,17 +4052,137 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2398
4052
|
};
|
|
2399
4053
|
};
|
|
2400
4054
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2401
|
-
"/api/
|
|
4055
|
+
"/api/account/tokens": {
|
|
2402
4056
|
$get: {
|
|
2403
|
-
input: {
|
|
2404
|
-
param: {
|
|
2405
|
-
userId: string;
|
|
2406
|
-
version: string;
|
|
2407
|
-
};
|
|
2408
|
-
};
|
|
4057
|
+
input: {};
|
|
2409
4058
|
output: {
|
|
2410
4059
|
error: {
|
|
2411
|
-
code: "
|
|
4060
|
+
code: "unauthorized";
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
outputFormat: "json";
|
|
4064
|
+
status: 401;
|
|
4065
|
+
} | {
|
|
4066
|
+
input: {};
|
|
4067
|
+
output: {
|
|
4068
|
+
tokens: {
|
|
4069
|
+
id: string;
|
|
4070
|
+
name: string;
|
|
4071
|
+
start: string | null;
|
|
4072
|
+
createdAt: string;
|
|
4073
|
+
expiresAt: string | null;
|
|
4074
|
+
lastUsedAt: string | null;
|
|
4075
|
+
}[];
|
|
4076
|
+
};
|
|
4077
|
+
outputFormat: "json";
|
|
4078
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
4081
|
+
} & {
|
|
4082
|
+
"/api/account/tokens/create": {
|
|
4083
|
+
$post: {
|
|
4084
|
+
input: {
|
|
4085
|
+
json: {
|
|
4086
|
+
name: string;
|
|
4087
|
+
expiresInDays: number;
|
|
4088
|
+
};
|
|
4089
|
+
};
|
|
4090
|
+
output: {
|
|
4091
|
+
error: {
|
|
4092
|
+
code: "invalid_request";
|
|
4093
|
+
};
|
|
4094
|
+
};
|
|
4095
|
+
outputFormat: "json";
|
|
4096
|
+
status: 400;
|
|
4097
|
+
} | {
|
|
4098
|
+
input: {
|
|
4099
|
+
json: {
|
|
4100
|
+
name: string;
|
|
4101
|
+
expiresInDays: number;
|
|
4102
|
+
};
|
|
4103
|
+
};
|
|
4104
|
+
output: {
|
|
4105
|
+
error: {
|
|
4106
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
4107
|
+
};
|
|
4108
|
+
};
|
|
4109
|
+
outputFormat: "json";
|
|
4110
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
4111
|
+
} | {
|
|
4112
|
+
input: {
|
|
4113
|
+
json: {
|
|
4114
|
+
name: string;
|
|
4115
|
+
expiresInDays: number;
|
|
4116
|
+
};
|
|
4117
|
+
};
|
|
4118
|
+
output: {
|
|
4119
|
+
token: string;
|
|
4120
|
+
accessToken: {
|
|
4121
|
+
id: string;
|
|
4122
|
+
name: string;
|
|
4123
|
+
start: string | null;
|
|
4124
|
+
createdAt: string;
|
|
4125
|
+
expiresAt: string | null;
|
|
4126
|
+
lastUsedAt: string | null;
|
|
4127
|
+
};
|
|
4128
|
+
};
|
|
4129
|
+
outputFormat: "json";
|
|
4130
|
+
status: 201;
|
|
4131
|
+
};
|
|
4132
|
+
};
|
|
4133
|
+
} & {
|
|
4134
|
+
"/api/account/tokens/revoke": {
|
|
4135
|
+
$post: {
|
|
4136
|
+
input: {
|
|
4137
|
+
json: {
|
|
4138
|
+
id: string;
|
|
4139
|
+
};
|
|
4140
|
+
};
|
|
4141
|
+
output: {
|
|
4142
|
+
error: {
|
|
4143
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
4144
|
+
};
|
|
4145
|
+
};
|
|
4146
|
+
outputFormat: "json";
|
|
4147
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
4148
|
+
} | {
|
|
4149
|
+
input: {
|
|
4150
|
+
json: {
|
|
4151
|
+
id: string;
|
|
4152
|
+
};
|
|
4153
|
+
};
|
|
4154
|
+
output: {
|
|
4155
|
+
error: {
|
|
4156
|
+
code: "invalid_request";
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
4159
|
+
outputFormat: "json";
|
|
4160
|
+
status: 400;
|
|
4161
|
+
} | {
|
|
4162
|
+
input: {
|
|
4163
|
+
json: {
|
|
4164
|
+
id: string;
|
|
4165
|
+
};
|
|
4166
|
+
};
|
|
4167
|
+
output: {
|
|
4168
|
+
ok: true;
|
|
4169
|
+
};
|
|
4170
|
+
outputFormat: "json";
|
|
4171
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4172
|
+
};
|
|
4173
|
+
};
|
|
4174
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4175
|
+
"/api/pictures/:userId/:version": {
|
|
4176
|
+
$get: {
|
|
4177
|
+
input: {
|
|
4178
|
+
param: {
|
|
4179
|
+
userId: string;
|
|
4180
|
+
version: string;
|
|
4181
|
+
};
|
|
4182
|
+
};
|
|
4183
|
+
output: {
|
|
4184
|
+
error: {
|
|
4185
|
+
code: "not_found";
|
|
2412
4186
|
};
|
|
2413
4187
|
};
|
|
2414
4188
|
outputFormat: "json";
|
|
@@ -2439,6 +4213,34 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2439
4213
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2440
4214
|
};
|
|
2441
4215
|
};
|
|
4216
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4217
|
+
"/api/community/thumbnails/:documentId/:revisionId": {
|
|
4218
|
+
$get: {
|
|
4219
|
+
input: {
|
|
4220
|
+
param: {
|
|
4221
|
+
documentId: string;
|
|
4222
|
+
revisionId: string;
|
|
4223
|
+
};
|
|
4224
|
+
};
|
|
4225
|
+
output: {};
|
|
4226
|
+
outputFormat: string;
|
|
4227
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
4228
|
+
} | {
|
|
4229
|
+
input: {
|
|
4230
|
+
param: {
|
|
4231
|
+
documentId: string;
|
|
4232
|
+
revisionId: string;
|
|
4233
|
+
};
|
|
4234
|
+
};
|
|
4235
|
+
output: {
|
|
4236
|
+
error: {
|
|
4237
|
+
code: "not_found";
|
|
4238
|
+
};
|
|
4239
|
+
};
|
|
4240
|
+
outputFormat: "json";
|
|
4241
|
+
status: 404;
|
|
4242
|
+
};
|
|
4243
|
+
};
|
|
2442
4244
|
}, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2443
4245
|
"/shares/:shareId/reports": {
|
|
2444
4246
|
$post: {
|
|
@@ -2450,7 +4252,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2450
4252
|
json: {
|
|
2451
4253
|
secret: string;
|
|
2452
4254
|
guestId?: string | undefined;
|
|
2453
|
-
reason: "
|
|
4255
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
2454
4256
|
description: string;
|
|
2455
4257
|
replyEmail?: string | undefined;
|
|
2456
4258
|
};
|
|
@@ -2467,7 +4269,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2467
4269
|
json: {
|
|
2468
4270
|
secret: string;
|
|
2469
4271
|
guestId?: string | undefined;
|
|
2470
|
-
reason: "
|
|
4272
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
2471
4273
|
description: string;
|
|
2472
4274
|
replyEmail?: string | undefined;
|
|
2473
4275
|
};
|
|
@@ -2488,7 +4290,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2488
4290
|
json: {
|
|
2489
4291
|
secret: string;
|
|
2490
4292
|
guestId?: string | undefined;
|
|
2491
|
-
reason: "
|
|
4293
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
2492
4294
|
description: string;
|
|
2493
4295
|
replyEmail?: string | undefined;
|
|
2494
4296
|
};
|
|
@@ -2653,7 +4455,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
2653
4455
|
recipientHint: string;
|
|
2654
4456
|
kind: "workspace";
|
|
2655
4457
|
workspaceName: string;
|
|
2656
|
-
role: "
|
|
4458
|
+
role: "viewer" | "editor" | "admin";
|
|
2657
4459
|
};
|
|
2658
4460
|
};
|
|
2659
4461
|
outputFormat: "json";
|
|
@@ -3021,6 +4823,142 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3021
4823
|
status: 400;
|
|
3022
4824
|
};
|
|
3023
4825
|
};
|
|
4826
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4827
|
+
"/community": {
|
|
4828
|
+
$get: {
|
|
4829
|
+
input: {};
|
|
4830
|
+
output: {
|
|
4831
|
+
error: {
|
|
4832
|
+
code: "not_found";
|
|
4833
|
+
};
|
|
4834
|
+
};
|
|
4835
|
+
outputFormat: "json";
|
|
4836
|
+
status: 404;
|
|
4837
|
+
} | {
|
|
4838
|
+
input: {};
|
|
4839
|
+
output: {
|
|
4840
|
+
documents: {
|
|
4841
|
+
id: string;
|
|
4842
|
+
name: string;
|
|
4843
|
+
kind: "design" | "board";
|
|
4844
|
+
updatedAt: string;
|
|
4845
|
+
revisionId: string;
|
|
4846
|
+
thumbnailPath: string;
|
|
4847
|
+
versions: {
|
|
4848
|
+
id: string;
|
|
4849
|
+
name: string;
|
|
4850
|
+
description: string | null;
|
|
4851
|
+
createdAt: string;
|
|
4852
|
+
current: boolean;
|
|
4853
|
+
}[];
|
|
4854
|
+
}[];
|
|
4855
|
+
};
|
|
4856
|
+
outputFormat: "json";
|
|
4857
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4858
|
+
};
|
|
4859
|
+
};
|
|
4860
|
+
} & {
|
|
4861
|
+
"/community/:documentId/document": {
|
|
4862
|
+
$get: {
|
|
4863
|
+
input: {
|
|
4864
|
+
param: {
|
|
4865
|
+
documentId: string;
|
|
4866
|
+
};
|
|
4867
|
+
} & {
|
|
4868
|
+
query: {
|
|
4869
|
+
version?: string | undefined;
|
|
4870
|
+
};
|
|
4871
|
+
};
|
|
4872
|
+
output: {};
|
|
4873
|
+
outputFormat: string;
|
|
4874
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
4875
|
+
} | {
|
|
4876
|
+
input: {
|
|
4877
|
+
param: {
|
|
4878
|
+
documentId: string;
|
|
4879
|
+
};
|
|
4880
|
+
} & {
|
|
4881
|
+
query: {
|
|
4882
|
+
version?: string | undefined;
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
output: {
|
|
4886
|
+
error: {
|
|
4887
|
+
code: "not_found";
|
|
4888
|
+
};
|
|
4889
|
+
};
|
|
4890
|
+
outputFormat: "json";
|
|
4891
|
+
status: 404;
|
|
4892
|
+
} | {
|
|
4893
|
+
input: {
|
|
4894
|
+
param: {
|
|
4895
|
+
documentId: string;
|
|
4896
|
+
};
|
|
4897
|
+
} & {
|
|
4898
|
+
query: {
|
|
4899
|
+
version?: string | undefined;
|
|
4900
|
+
};
|
|
4901
|
+
};
|
|
4902
|
+
output: {
|
|
4903
|
+
error: {
|
|
4904
|
+
code: "invalid_request";
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
outputFormat: "json";
|
|
4908
|
+
status: 400;
|
|
4909
|
+
};
|
|
4910
|
+
};
|
|
4911
|
+
} & {
|
|
4912
|
+
"/community/:documentId/images": {
|
|
4913
|
+
$post: {
|
|
4914
|
+
input: {
|
|
4915
|
+
param: {
|
|
4916
|
+
documentId: string;
|
|
4917
|
+
};
|
|
4918
|
+
} & {
|
|
4919
|
+
json: {
|
|
4920
|
+
checksums: string[];
|
|
4921
|
+
};
|
|
4922
|
+
};
|
|
4923
|
+
output: {};
|
|
4924
|
+
outputFormat: string;
|
|
4925
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
4926
|
+
} | {
|
|
4927
|
+
input: {
|
|
4928
|
+
param: {
|
|
4929
|
+
documentId: string;
|
|
4930
|
+
};
|
|
4931
|
+
} & {
|
|
4932
|
+
json: {
|
|
4933
|
+
checksums: string[];
|
|
4934
|
+
};
|
|
4935
|
+
};
|
|
4936
|
+
output: {
|
|
4937
|
+
error: {
|
|
4938
|
+
code: "not_found";
|
|
4939
|
+
};
|
|
4940
|
+
};
|
|
4941
|
+
outputFormat: "json";
|
|
4942
|
+
status: 404;
|
|
4943
|
+
} | {
|
|
4944
|
+
input: {
|
|
4945
|
+
param: {
|
|
4946
|
+
documentId: string;
|
|
4947
|
+
};
|
|
4948
|
+
} & {
|
|
4949
|
+
json: {
|
|
4950
|
+
checksums: string[];
|
|
4951
|
+
};
|
|
4952
|
+
};
|
|
4953
|
+
output: {
|
|
4954
|
+
error: {
|
|
4955
|
+
code: "invalid_request";
|
|
4956
|
+
};
|
|
4957
|
+
};
|
|
4958
|
+
outputFormat: "json";
|
|
4959
|
+
status: 400;
|
|
4960
|
+
};
|
|
4961
|
+
};
|
|
3024
4962
|
}, "/">, "/api"> | import("hono/types").MergeSchemaPath<{
|
|
3025
4963
|
"/accounts/:userId/entitlements": {
|
|
3026
4964
|
$put: {
|
|
@@ -3193,7 +5131,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3193
5131
|
input: {
|
|
3194
5132
|
query: {
|
|
3195
5133
|
search?: string | undefined;
|
|
3196
|
-
filter?: "pending" | "
|
|
5134
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
3197
5135
|
limit?: number | undefined;
|
|
3198
5136
|
offset?: number | undefined;
|
|
3199
5137
|
};
|
|
@@ -3209,7 +5147,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3209
5147
|
input: {
|
|
3210
5148
|
query: {
|
|
3211
5149
|
search?: string | undefined;
|
|
3212
|
-
filter?: "pending" | "
|
|
5150
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
3213
5151
|
limit?: number | undefined;
|
|
3214
5152
|
offset?: number | undefined;
|
|
3215
5153
|
};
|
|
@@ -3232,9 +5170,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3232
5170
|
total: number;
|
|
3233
5171
|
counts: {
|
|
3234
5172
|
pending: number;
|
|
5173
|
+
approved: number;
|
|
3235
5174
|
rejected: number;
|
|
3236
5175
|
revoked: number;
|
|
3237
|
-
approved: number;
|
|
3238
5176
|
};
|
|
3239
5177
|
};
|
|
3240
5178
|
outputFormat: "json";
|
|
@@ -3550,7 +5488,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3550
5488
|
sessions: {
|
|
3551
5489
|
id: string;
|
|
3552
5490
|
current: boolean;
|
|
3553
|
-
method: "
|
|
5491
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop" | null;
|
|
3554
5492
|
ipAddress: string | null;
|
|
3555
5493
|
browser: string | null;
|
|
3556
5494
|
system: string | null;
|
|
@@ -3560,7 +5498,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3560
5498
|
}[];
|
|
3561
5499
|
signIns: {
|
|
3562
5500
|
id: string;
|
|
3563
|
-
method: "
|
|
5501
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop";
|
|
3564
5502
|
ipAddress: string | null;
|
|
3565
5503
|
browser: string | null;
|
|
3566
5504
|
system: string | null;
|
|
@@ -3569,7 +5507,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3569
5507
|
workspaces: {
|
|
3570
5508
|
id: string;
|
|
3571
5509
|
name: string;
|
|
3572
|
-
role: "
|
|
5510
|
+
role: "viewer" | "editor" | "admin";
|
|
3573
5511
|
memberCount: number;
|
|
3574
5512
|
joinedAt: string;
|
|
3575
5513
|
}[];
|
|
@@ -3874,7 +5812,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3874
5812
|
input: {
|
|
3875
5813
|
query: {
|
|
3876
5814
|
search?: string | undefined;
|
|
3877
|
-
filter?: "
|
|
5815
|
+
filter?: "email" | "documents" | "all" | "accounts" | "requests" | undefined;
|
|
3878
5816
|
limit?: number | undefined;
|
|
3879
5817
|
offset?: number | undefined;
|
|
3880
5818
|
};
|
|
@@ -3890,7 +5828,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3890
5828
|
input: {
|
|
3891
5829
|
query: {
|
|
3892
5830
|
search?: string | undefined;
|
|
3893
|
-
filter?: "
|
|
5831
|
+
filter?: "email" | "documents" | "all" | "accounts" | "requests" | undefined;
|
|
3894
5832
|
limit?: number | undefined;
|
|
3895
5833
|
offset?: number | undefined;
|
|
3896
5834
|
};
|
|
@@ -3913,8 +5851,8 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3913
5851
|
}[];
|
|
3914
5852
|
total: number;
|
|
3915
5853
|
counts: {
|
|
3916
|
-
documents: number;
|
|
3917
5854
|
email: number;
|
|
5855
|
+
documents: number;
|
|
3918
5856
|
all: number;
|
|
3919
5857
|
accounts: number;
|
|
3920
5858
|
requests: number;
|
|
@@ -3975,7 +5913,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3975
5913
|
output: {
|
|
3976
5914
|
reports: {
|
|
3977
5915
|
id: string;
|
|
3978
|
-
reason: "
|
|
5916
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
3979
5917
|
description: string;
|
|
3980
5918
|
status: "open" | "dismissed" | "actioned";
|
|
3981
5919
|
reporter: {
|
|
@@ -4275,7 +6213,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4275
6213
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4276
6214
|
};
|
|
4277
6215
|
};
|
|
4278
|
-
}, "/api/admin"> | import("hono/types").MergeSchemaPath<(((import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
6216
|
+
}, "/api/admin"> | import("hono/types").MergeSchemaPath<((((import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
4279
6217
|
"/shares/:shareId/reports": {
|
|
4280
6218
|
$post: {
|
|
4281
6219
|
input: {
|
|
@@ -4286,7 +6224,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4286
6224
|
json: {
|
|
4287
6225
|
secret: string;
|
|
4288
6226
|
guestId?: string | undefined;
|
|
4289
|
-
reason: "
|
|
6227
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
4290
6228
|
description: string;
|
|
4291
6229
|
replyEmail?: string | undefined;
|
|
4292
6230
|
};
|
|
@@ -4303,7 +6241,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4303
6241
|
json: {
|
|
4304
6242
|
secret: string;
|
|
4305
6243
|
guestId?: string | undefined;
|
|
4306
|
-
reason: "
|
|
6244
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
4307
6245
|
description: string;
|
|
4308
6246
|
replyEmail?: string | undefined;
|
|
4309
6247
|
};
|
|
@@ -4324,7 +6262,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4324
6262
|
json: {
|
|
4325
6263
|
secret: string;
|
|
4326
6264
|
guestId?: string | undefined;
|
|
4327
|
-
reason: "
|
|
6265
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
4328
6266
|
description: string;
|
|
4329
6267
|
replyEmail?: string | undefined;
|
|
4330
6268
|
};
|
|
@@ -4489,7 +6427,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4489
6427
|
recipientHint: string;
|
|
4490
6428
|
kind: "workspace";
|
|
4491
6429
|
workspaceName: string;
|
|
4492
|
-
role: "
|
|
6430
|
+
role: "viewer" | "editor" | "admin";
|
|
4493
6431
|
};
|
|
4494
6432
|
};
|
|
4495
6433
|
outputFormat: "json";
|
|
@@ -4797,21 +6735,161 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4797
6735
|
}[];
|
|
4798
6736
|
};
|
|
4799
6737
|
outputFormat: "json";
|
|
4800
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6738
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6739
|
+
};
|
|
6740
|
+
};
|
|
6741
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
6742
|
+
"/shares/:shareId/collaboration-ticket": {
|
|
6743
|
+
$post: {
|
|
6744
|
+
input: {
|
|
6745
|
+
param: {
|
|
6746
|
+
shareId: string;
|
|
6747
|
+
};
|
|
6748
|
+
} & {
|
|
6749
|
+
json: {
|
|
6750
|
+
secret: string;
|
|
6751
|
+
guestName?: string | undefined;
|
|
6752
|
+
guestId?: string | undefined;
|
|
6753
|
+
};
|
|
6754
|
+
};
|
|
6755
|
+
output: {};
|
|
6756
|
+
outputFormat: string;
|
|
6757
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
6758
|
+
} | {
|
|
6759
|
+
input: {
|
|
6760
|
+
param: {
|
|
6761
|
+
shareId: string;
|
|
6762
|
+
};
|
|
6763
|
+
} & {
|
|
6764
|
+
json: {
|
|
6765
|
+
secret: string;
|
|
6766
|
+
guestName?: string | undefined;
|
|
6767
|
+
guestId?: string | undefined;
|
|
6768
|
+
};
|
|
6769
|
+
};
|
|
6770
|
+
output: {
|
|
6771
|
+
error: {
|
|
6772
|
+
code: "not_found";
|
|
6773
|
+
};
|
|
6774
|
+
};
|
|
6775
|
+
outputFormat: "json";
|
|
6776
|
+
status: 404;
|
|
6777
|
+
} | {
|
|
6778
|
+
input: {
|
|
6779
|
+
param: {
|
|
6780
|
+
shareId: string;
|
|
6781
|
+
};
|
|
6782
|
+
} & {
|
|
6783
|
+
json: {
|
|
6784
|
+
secret: string;
|
|
6785
|
+
guestName?: string | undefined;
|
|
6786
|
+
guestId?: string | undefined;
|
|
6787
|
+
};
|
|
6788
|
+
};
|
|
6789
|
+
output: {
|
|
6790
|
+
error: {
|
|
6791
|
+
code: "invalid_request";
|
|
6792
|
+
};
|
|
6793
|
+
};
|
|
6794
|
+
outputFormat: "json";
|
|
6795
|
+
status: 400;
|
|
6796
|
+
};
|
|
6797
|
+
};
|
|
6798
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
6799
|
+
"/community": {
|
|
6800
|
+
$get: {
|
|
6801
|
+
input: {};
|
|
6802
|
+
output: {
|
|
6803
|
+
error: {
|
|
6804
|
+
code: "not_found";
|
|
6805
|
+
};
|
|
6806
|
+
};
|
|
6807
|
+
outputFormat: "json";
|
|
6808
|
+
status: 404;
|
|
6809
|
+
} | {
|
|
6810
|
+
input: {};
|
|
6811
|
+
output: {
|
|
6812
|
+
documents: {
|
|
6813
|
+
id: string;
|
|
6814
|
+
name: string;
|
|
6815
|
+
kind: "design" | "board";
|
|
6816
|
+
updatedAt: string;
|
|
6817
|
+
revisionId: string;
|
|
6818
|
+
thumbnailPath: string;
|
|
6819
|
+
versions: {
|
|
6820
|
+
id: string;
|
|
6821
|
+
name: string;
|
|
6822
|
+
description: string | null;
|
|
6823
|
+
createdAt: string;
|
|
6824
|
+
current: boolean;
|
|
6825
|
+
}[];
|
|
6826
|
+
}[];
|
|
6827
|
+
};
|
|
6828
|
+
outputFormat: "json";
|
|
6829
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6830
|
+
};
|
|
6831
|
+
};
|
|
6832
|
+
} & {
|
|
6833
|
+
"/community/:documentId/document": {
|
|
6834
|
+
$get: {
|
|
6835
|
+
input: {
|
|
6836
|
+
param: {
|
|
6837
|
+
documentId: string;
|
|
6838
|
+
};
|
|
6839
|
+
} & {
|
|
6840
|
+
query: {
|
|
6841
|
+
version?: string | undefined;
|
|
6842
|
+
};
|
|
6843
|
+
};
|
|
6844
|
+
output: {};
|
|
6845
|
+
outputFormat: string;
|
|
6846
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
6847
|
+
} | {
|
|
6848
|
+
input: {
|
|
6849
|
+
param: {
|
|
6850
|
+
documentId: string;
|
|
6851
|
+
};
|
|
6852
|
+
} & {
|
|
6853
|
+
query: {
|
|
6854
|
+
version?: string | undefined;
|
|
6855
|
+
};
|
|
6856
|
+
};
|
|
6857
|
+
output: {
|
|
6858
|
+
error: {
|
|
6859
|
+
code: "not_found";
|
|
6860
|
+
};
|
|
6861
|
+
};
|
|
6862
|
+
outputFormat: "json";
|
|
6863
|
+
status: 404;
|
|
6864
|
+
} | {
|
|
6865
|
+
input: {
|
|
6866
|
+
param: {
|
|
6867
|
+
documentId: string;
|
|
6868
|
+
};
|
|
6869
|
+
} & {
|
|
6870
|
+
query: {
|
|
6871
|
+
version?: string | undefined;
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6874
|
+
output: {
|
|
6875
|
+
error: {
|
|
6876
|
+
code: "invalid_request";
|
|
6877
|
+
};
|
|
6878
|
+
};
|
|
6879
|
+
outputFormat: "json";
|
|
6880
|
+
status: 400;
|
|
4801
6881
|
};
|
|
4802
6882
|
};
|
|
4803
|
-
}
|
|
4804
|
-
"/
|
|
6883
|
+
} & {
|
|
6884
|
+
"/community/:documentId/images": {
|
|
4805
6885
|
$post: {
|
|
4806
6886
|
input: {
|
|
4807
6887
|
param: {
|
|
4808
|
-
|
|
6888
|
+
documentId: string;
|
|
4809
6889
|
};
|
|
4810
6890
|
} & {
|
|
4811
6891
|
json: {
|
|
4812
|
-
|
|
4813
|
-
guestName?: string | undefined;
|
|
4814
|
-
guestId?: string | undefined;
|
|
6892
|
+
checksums: string[];
|
|
4815
6893
|
};
|
|
4816
6894
|
};
|
|
4817
6895
|
output: {};
|
|
@@ -4820,13 +6898,11 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4820
6898
|
} | {
|
|
4821
6899
|
input: {
|
|
4822
6900
|
param: {
|
|
4823
|
-
|
|
6901
|
+
documentId: string;
|
|
4824
6902
|
};
|
|
4825
6903
|
} & {
|
|
4826
6904
|
json: {
|
|
4827
|
-
|
|
4828
|
-
guestName?: string | undefined;
|
|
4829
|
-
guestId?: string | undefined;
|
|
6905
|
+
checksums: string[];
|
|
4830
6906
|
};
|
|
4831
6907
|
};
|
|
4832
6908
|
output: {
|
|
@@ -4839,13 +6915,11 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4839
6915
|
} | {
|
|
4840
6916
|
input: {
|
|
4841
6917
|
param: {
|
|
4842
|
-
|
|
6918
|
+
documentId: string;
|
|
4843
6919
|
};
|
|
4844
6920
|
} & {
|
|
4845
6921
|
json: {
|
|
4846
|
-
|
|
4847
|
-
guestName?: string | undefined;
|
|
4848
|
-
guestId?: string | undefined;
|
|
6922
|
+
checksums: string[];
|
|
4849
6923
|
};
|
|
4850
6924
|
};
|
|
4851
6925
|
output: {
|
|
@@ -4858,6 +6932,46 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4858
6932
|
};
|
|
4859
6933
|
};
|
|
4860
6934
|
}, "/">, "/public">) & {
|
|
6935
|
+
"/account/entitlements": {
|
|
6936
|
+
$get: {
|
|
6937
|
+
input: {};
|
|
6938
|
+
output: {
|
|
6939
|
+
error: {
|
|
6940
|
+
code: "not_found";
|
|
6941
|
+
};
|
|
6942
|
+
};
|
|
6943
|
+
outputFormat: "json";
|
|
6944
|
+
status: 404;
|
|
6945
|
+
} | {
|
|
6946
|
+
input: {};
|
|
6947
|
+
output: {
|
|
6948
|
+
entitlements: {
|
|
6949
|
+
features: {
|
|
6950
|
+
links: boolean;
|
|
6951
|
+
guestView: boolean;
|
|
6952
|
+
guestEdit: boolean;
|
|
6953
|
+
guestPresence: boolean;
|
|
6954
|
+
collaboration: boolean;
|
|
6955
|
+
revisionHistory: boolean;
|
|
6956
|
+
cloudServices: boolean;
|
|
6957
|
+
};
|
|
6958
|
+
limits: {
|
|
6959
|
+
maximumFileBytes: number;
|
|
6960
|
+
maximumStorageBytes: number | null;
|
|
6961
|
+
maximumParticipants: number | null;
|
|
6962
|
+
monthlyCreditAllowance: number | null;
|
|
6963
|
+
};
|
|
6964
|
+
usage: {
|
|
6965
|
+
committedStorageBytes: number;
|
|
6966
|
+
reservedStorageBytes: number;
|
|
6967
|
+
};
|
|
6968
|
+
};
|
|
6969
|
+
};
|
|
6970
|
+
outputFormat: "json";
|
|
6971
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6972
|
+
};
|
|
6973
|
+
};
|
|
6974
|
+
}) & {
|
|
4861
6975
|
"/workspaces/:workspaceId/entitlements": {
|
|
4862
6976
|
$get: {
|
|
4863
6977
|
input: {
|
|
@@ -4928,6 +7042,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4928
7042
|
email: string;
|
|
4929
7043
|
name: string;
|
|
4930
7044
|
deploymentRole?: "user" | "admin" | undefined;
|
|
7045
|
+
credential?: "session" | "token" | undefined;
|
|
4931
7046
|
};
|
|
4932
7047
|
};
|
|
4933
7048
|
outputFormat: "json";
|
|
@@ -4989,6 +7104,27 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
4989
7104
|
status: 403;
|
|
4990
7105
|
};
|
|
4991
7106
|
};
|
|
7107
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
7108
|
+
"/billing/token": {
|
|
7109
|
+
$post: {
|
|
7110
|
+
input: {};
|
|
7111
|
+
output: {
|
|
7112
|
+
error: {
|
|
7113
|
+
code: "not_found";
|
|
7114
|
+
};
|
|
7115
|
+
};
|
|
7116
|
+
outputFormat: "json";
|
|
7117
|
+
status: 404;
|
|
7118
|
+
} | {
|
|
7119
|
+
input: {};
|
|
7120
|
+
output: {
|
|
7121
|
+
token: string;
|
|
7122
|
+
expiresAt: string;
|
|
7123
|
+
};
|
|
7124
|
+
outputFormat: "json";
|
|
7125
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
7126
|
+
};
|
|
7127
|
+
};
|
|
4992
7128
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4993
7129
|
"/documents/:documentId/collaboration-ticket": {
|
|
4994
7130
|
$post: {
|
|
@@ -5637,21 +7773,12 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
5637
7773
|
};
|
|
5638
7774
|
};
|
|
5639
7775
|
output: {
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
download: {
|
|
5644
|
-
url: string;
|
|
5645
|
-
method: "GET";
|
|
5646
|
-
headers: {
|
|
5647
|
-
[x: string]: string;
|
|
5648
|
-
};
|
|
5649
|
-
expiresAt: string;
|
|
5650
|
-
};
|
|
5651
|
-
}[];
|
|
7776
|
+
error: {
|
|
7777
|
+
code: "not_found";
|
|
7778
|
+
};
|
|
5652
7779
|
};
|
|
5653
7780
|
outputFormat: "json";
|
|
5654
|
-
status:
|
|
7781
|
+
status: 404;
|
|
5655
7782
|
} | {
|
|
5656
7783
|
input: {
|
|
5657
7784
|
param: {
|
|
@@ -5664,11 +7791,11 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
5664
7791
|
};
|
|
5665
7792
|
output: {
|
|
5666
7793
|
error: {
|
|
5667
|
-
code: "
|
|
7794
|
+
code: "invalid_request";
|
|
5668
7795
|
};
|
|
5669
7796
|
};
|
|
5670
7797
|
outputFormat: "json";
|
|
5671
|
-
status:
|
|
7798
|
+
status: 400;
|
|
5672
7799
|
} | {
|
|
5673
7800
|
input: {
|
|
5674
7801
|
param: {
|
|
@@ -5680,12 +7807,21 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
5680
7807
|
};
|
|
5681
7808
|
};
|
|
5682
7809
|
output: {
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
7810
|
+
images: {
|
|
7811
|
+
checksum: string;
|
|
7812
|
+
byteSize: number;
|
|
7813
|
+
download: {
|
|
7814
|
+
url: string;
|
|
7815
|
+
method: "GET";
|
|
7816
|
+
headers: {
|
|
7817
|
+
[x: string]: string;
|
|
7818
|
+
};
|
|
7819
|
+
expiresAt: string;
|
|
7820
|
+
};
|
|
7821
|
+
}[];
|
|
5686
7822
|
};
|
|
5687
7823
|
outputFormat: "json";
|
|
5688
|
-
status:
|
|
7824
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5689
7825
|
};
|
|
5690
7826
|
};
|
|
5691
7827
|
} & {
|
|
@@ -6869,7 +9005,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
6869
9005
|
} | {
|
|
6870
9006
|
kind: "workspace";
|
|
6871
9007
|
workspaceId: string;
|
|
6872
|
-
role: "
|
|
9008
|
+
role: "viewer" | "editor" | "admin";
|
|
6873
9009
|
};
|
|
6874
9010
|
};
|
|
6875
9011
|
outputFormat: "json";
|
|
@@ -6923,7 +9059,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
6923
9059
|
id: string;
|
|
6924
9060
|
name: string;
|
|
6925
9061
|
slug: string;
|
|
6926
|
-
role: "
|
|
9062
|
+
role: "viewer" | "editor" | "admin";
|
|
6927
9063
|
createdAt: string;
|
|
6928
9064
|
updatedAt: string;
|
|
6929
9065
|
}[];
|
|
@@ -6960,7 +9096,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
6960
9096
|
id: string;
|
|
6961
9097
|
name: string;
|
|
6962
9098
|
slug: string;
|
|
6963
|
-
role: "
|
|
9099
|
+
role: "viewer" | "editor" | "admin";
|
|
6964
9100
|
createdAt: string;
|
|
6965
9101
|
updatedAt: string;
|
|
6966
9102
|
};
|
|
@@ -7022,7 +9158,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7022
9158
|
id: string;
|
|
7023
9159
|
name: string;
|
|
7024
9160
|
slug: string;
|
|
7025
|
-
role: "
|
|
9161
|
+
role: "viewer" | "editor" | "admin";
|
|
7026
9162
|
createdAt: string;
|
|
7027
9163
|
updatedAt: string;
|
|
7028
9164
|
};
|
|
@@ -7095,7 +9231,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7095
9231
|
id: string;
|
|
7096
9232
|
name: string;
|
|
7097
9233
|
slug: string;
|
|
7098
|
-
role: "
|
|
9234
|
+
role: "viewer" | "editor" | "admin";
|
|
7099
9235
|
createdAt: string;
|
|
7100
9236
|
updatedAt: string;
|
|
7101
9237
|
};
|
|
@@ -7175,13 +9311,13 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7175
9311
|
name: string;
|
|
7176
9312
|
email: string;
|
|
7177
9313
|
image: string | null;
|
|
7178
|
-
role: "
|
|
9314
|
+
role: "viewer" | "editor" | "admin";
|
|
7179
9315
|
joinedAt: string;
|
|
7180
9316
|
}[];
|
|
7181
9317
|
invitations: {
|
|
7182
9318
|
id: string;
|
|
7183
9319
|
email: string;
|
|
7184
|
-
role: "
|
|
9320
|
+
role: "viewer" | "editor" | "admin";
|
|
7185
9321
|
invitedBy: {
|
|
7186
9322
|
id: string;
|
|
7187
9323
|
name: string | null;
|
|
@@ -7204,7 +9340,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7204
9340
|
} & {
|
|
7205
9341
|
json: {
|
|
7206
9342
|
email: string;
|
|
7207
|
-
role: "
|
|
9343
|
+
role: "viewer" | "editor" | "admin";
|
|
7208
9344
|
};
|
|
7209
9345
|
};
|
|
7210
9346
|
output: {};
|
|
@@ -7218,7 +9354,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7218
9354
|
} & {
|
|
7219
9355
|
json: {
|
|
7220
9356
|
email: string;
|
|
7221
|
-
role: "
|
|
9357
|
+
role: "viewer" | "editor" | "admin";
|
|
7222
9358
|
};
|
|
7223
9359
|
};
|
|
7224
9360
|
output: {
|
|
@@ -7236,7 +9372,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7236
9372
|
} & {
|
|
7237
9373
|
json: {
|
|
7238
9374
|
email: string;
|
|
7239
|
-
role: "
|
|
9375
|
+
role: "viewer" | "editor" | "admin";
|
|
7240
9376
|
};
|
|
7241
9377
|
};
|
|
7242
9378
|
output: {
|
|
@@ -7254,14 +9390,14 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7254
9390
|
} & {
|
|
7255
9391
|
json: {
|
|
7256
9392
|
email: string;
|
|
7257
|
-
role: "
|
|
9393
|
+
role: "viewer" | "editor" | "admin";
|
|
7258
9394
|
};
|
|
7259
9395
|
};
|
|
7260
9396
|
output: {
|
|
7261
9397
|
invitation: {
|
|
7262
9398
|
id: string;
|
|
7263
9399
|
email: string;
|
|
7264
|
-
role: "
|
|
9400
|
+
role: "viewer" | "editor" | "admin";
|
|
7265
9401
|
invitedBy: {
|
|
7266
9402
|
id: string;
|
|
7267
9403
|
name: string | null;
|
|
@@ -7312,7 +9448,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7312
9448
|
invitation: {
|
|
7313
9449
|
id: string;
|
|
7314
9450
|
email: string;
|
|
7315
|
-
role: "
|
|
9451
|
+
role: "viewer" | "editor" | "admin";
|
|
7316
9452
|
invitedBy: {
|
|
7317
9453
|
id: string;
|
|
7318
9454
|
name: string | null;
|
|
@@ -7374,7 +9510,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7374
9510
|
};
|
|
7375
9511
|
} & {
|
|
7376
9512
|
json: {
|
|
7377
|
-
role: "
|
|
9513
|
+
role: "viewer" | "editor" | "admin";
|
|
7378
9514
|
};
|
|
7379
9515
|
};
|
|
7380
9516
|
output: {};
|
|
@@ -7388,7 +9524,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7388
9524
|
};
|
|
7389
9525
|
} & {
|
|
7390
9526
|
json: {
|
|
7391
|
-
role: "
|
|
9527
|
+
role: "viewer" | "editor" | "admin";
|
|
7392
9528
|
};
|
|
7393
9529
|
};
|
|
7394
9530
|
output: null;
|
|
@@ -7402,7 +9538,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7402
9538
|
};
|
|
7403
9539
|
} & {
|
|
7404
9540
|
json: {
|
|
7405
|
-
role: "
|
|
9541
|
+
role: "viewer" | "editor" | "admin";
|
|
7406
9542
|
};
|
|
7407
9543
|
};
|
|
7408
9544
|
output: {
|
|
@@ -7420,7 +9556,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
7420
9556
|
};
|
|
7421
9557
|
} & {
|
|
7422
9558
|
json: {
|
|
7423
|
-
role: "
|
|
9559
|
+
role: "viewer" | "editor" | "admin";
|
|
7424
9560
|
};
|
|
7425
9561
|
};
|
|
7426
9562
|
output: {
|
|
@@ -7574,7 +9710,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7574
9710
|
"/robots.txt": {
|
|
7575
9711
|
$get: {
|
|
7576
9712
|
input: {};
|
|
7577
|
-
output:
|
|
9713
|
+
output: string;
|
|
7578
9714
|
outputFormat: "body";
|
|
7579
9715
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
7580
9716
|
};
|
|
@@ -7651,12 +9787,17 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7651
9787
|
listing?: {
|
|
7652
9788
|
minimumEditorVersion: string;
|
|
7653
9789
|
} | undefined;
|
|
9790
|
+
minimumEditorVersion?: string | undefined;
|
|
7654
9791
|
services?: {
|
|
7655
9792
|
endpoint: string;
|
|
7656
9793
|
contractVersion: "1";
|
|
7657
9794
|
} | undefined;
|
|
7658
9795
|
billing?: {
|
|
7659
|
-
|
|
9796
|
+
endpoint: string;
|
|
9797
|
+
contractVersion: "1";
|
|
9798
|
+
} | undefined;
|
|
9799
|
+
community?: {
|
|
9800
|
+
workspaceId: string;
|
|
7660
9801
|
} | undefined;
|
|
7661
9802
|
legal?: {
|
|
7662
9803
|
termsURL?: string | undefined;
|
|
@@ -7666,6 +9807,11 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7666
9807
|
abuseEmail?: string | undefined;
|
|
7667
9808
|
minimumAge?: number | undefined;
|
|
7668
9809
|
} | undefined;
|
|
9810
|
+
branding?: {
|
|
9811
|
+
name?: string | undefined;
|
|
9812
|
+
logoURL?: string | undefined;
|
|
9813
|
+
helpURL?: string | undefined;
|
|
9814
|
+
} | undefined;
|
|
7669
9815
|
};
|
|
7670
9816
|
outputFormat: "json";
|
|
7671
9817
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -7716,7 +9862,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7716
9862
|
image?: string | null | undefined;
|
|
7717
9863
|
deploymentRole?: "user" | "admin" | undefined;
|
|
7718
9864
|
};
|
|
7719
|
-
state: "
|
|
9865
|
+
state: "pending" | "rejected" | "revoked" | "active" | "terms";
|
|
7720
9866
|
};
|
|
7721
9867
|
outputFormat: "json";
|
|
7722
9868
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -7970,7 +10116,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7970
10116
|
};
|
|
7971
10117
|
output: {
|
|
7972
10118
|
error: {
|
|
7973
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10119
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
7974
10120
|
};
|
|
7975
10121
|
};
|
|
7976
10122
|
outputFormat: "json";
|
|
@@ -8022,7 +10168,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8022
10168
|
};
|
|
8023
10169
|
output: {
|
|
8024
10170
|
error: {
|
|
8025
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10171
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8026
10172
|
};
|
|
8027
10173
|
};
|
|
8028
10174
|
outputFormat: "json";
|
|
@@ -8090,7 +10236,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8090
10236
|
};
|
|
8091
10237
|
output: {
|
|
8092
10238
|
error: {
|
|
8093
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10239
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8094
10240
|
};
|
|
8095
10241
|
};
|
|
8096
10242
|
outputFormat: "json";
|
|
@@ -8148,7 +10294,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8148
10294
|
};
|
|
8149
10295
|
output: {
|
|
8150
10296
|
error: {
|
|
8151
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10297
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8152
10298
|
};
|
|
8153
10299
|
};
|
|
8154
10300
|
outputFormat: "json";
|
|
@@ -8177,7 +10323,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8177
10323
|
};
|
|
8178
10324
|
output: {
|
|
8179
10325
|
error: {
|
|
8180
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10326
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8181
10327
|
};
|
|
8182
10328
|
};
|
|
8183
10329
|
outputFormat: "json";
|
|
@@ -8245,7 +10391,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8245
10391
|
};
|
|
8246
10392
|
output: {
|
|
8247
10393
|
error: {
|
|
8248
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10394
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8249
10395
|
};
|
|
8250
10396
|
};
|
|
8251
10397
|
outputFormat: "json";
|
|
@@ -8276,6 +10422,47 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8276
10422
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8277
10423
|
};
|
|
8278
10424
|
};
|
|
10425
|
+
} & {
|
|
10426
|
+
"/api/account/locale": {
|
|
10427
|
+
$put: {
|
|
10428
|
+
input: {
|
|
10429
|
+
json: {
|
|
10430
|
+
locale: string;
|
|
10431
|
+
};
|
|
10432
|
+
};
|
|
10433
|
+
output: {
|
|
10434
|
+
error: {
|
|
10435
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
10436
|
+
};
|
|
10437
|
+
};
|
|
10438
|
+
outputFormat: "json";
|
|
10439
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
10440
|
+
} | {
|
|
10441
|
+
input: {
|
|
10442
|
+
json: {
|
|
10443
|
+
locale: string;
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
output: {
|
|
10447
|
+
error: {
|
|
10448
|
+
code: "invalid_request";
|
|
10449
|
+
};
|
|
10450
|
+
};
|
|
10451
|
+
outputFormat: "json";
|
|
10452
|
+
status: 400;
|
|
10453
|
+
} | {
|
|
10454
|
+
input: {
|
|
10455
|
+
json: {
|
|
10456
|
+
locale: string;
|
|
10457
|
+
};
|
|
10458
|
+
};
|
|
10459
|
+
output: {
|
|
10460
|
+
ok: true;
|
|
10461
|
+
};
|
|
10462
|
+
outputFormat: "json";
|
|
10463
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10464
|
+
};
|
|
10465
|
+
};
|
|
8279
10466
|
} & {
|
|
8280
10467
|
"/api/account/profile/picture": {
|
|
8281
10468
|
$put: {
|
|
@@ -8339,7 +10526,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8339
10526
|
};
|
|
8340
10527
|
output: {
|
|
8341
10528
|
error: {
|
|
8342
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10529
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8343
10530
|
};
|
|
8344
10531
|
};
|
|
8345
10532
|
outputFormat: "json";
|
|
@@ -8389,7 +10576,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8389
10576
|
sessions: {
|
|
8390
10577
|
id: string;
|
|
8391
10578
|
current: boolean;
|
|
8392
|
-
method: "
|
|
10579
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop" | null;
|
|
8393
10580
|
ipAddress: string | null;
|
|
8394
10581
|
browser: string | null;
|
|
8395
10582
|
system: string | null;
|
|
@@ -8412,7 +10599,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8412
10599
|
};
|
|
8413
10600
|
output: {
|
|
8414
10601
|
error: {
|
|
8415
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10602
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8416
10603
|
};
|
|
8417
10604
|
};
|
|
8418
10605
|
outputFormat: "json";
|
|
@@ -8449,7 +10636,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8449
10636
|
input: {};
|
|
8450
10637
|
output: {
|
|
8451
10638
|
error: {
|
|
8452
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10639
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8453
10640
|
};
|
|
8454
10641
|
};
|
|
8455
10642
|
outputFormat: "json";
|
|
@@ -8464,68 +10651,163 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8464
10651
|
};
|
|
8465
10652
|
};
|
|
8466
10653
|
} & {
|
|
8467
|
-
"/api/account/sign-ins": {
|
|
10654
|
+
"/api/account/sign-ins": {
|
|
10655
|
+
$get: {
|
|
10656
|
+
input: {};
|
|
10657
|
+
output: {
|
|
10658
|
+
error: {
|
|
10659
|
+
code: "unauthorized";
|
|
10660
|
+
};
|
|
10661
|
+
};
|
|
10662
|
+
outputFormat: "json";
|
|
10663
|
+
status: 401;
|
|
10664
|
+
} | {
|
|
10665
|
+
input: {};
|
|
10666
|
+
output: {
|
|
10667
|
+
signIns: {
|
|
10668
|
+
id: string;
|
|
10669
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop";
|
|
10670
|
+
ipAddress: string | null;
|
|
10671
|
+
browser: string | null;
|
|
10672
|
+
system: string | null;
|
|
10673
|
+
createdAt: string;
|
|
10674
|
+
}[];
|
|
10675
|
+
};
|
|
10676
|
+
outputFormat: "json";
|
|
10677
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10678
|
+
};
|
|
10679
|
+
};
|
|
10680
|
+
} & {
|
|
10681
|
+
"/api/account/deletion": {
|
|
10682
|
+
$get: {
|
|
10683
|
+
input: {};
|
|
10684
|
+
output: {
|
|
10685
|
+
deletion: {
|
|
10686
|
+
lastAdministrator: boolean;
|
|
10687
|
+
blockedBy: {
|
|
10688
|
+
id: string;
|
|
10689
|
+
name: string;
|
|
10690
|
+
}[];
|
|
10691
|
+
deletes: {
|
|
10692
|
+
id: string;
|
|
10693
|
+
name: string;
|
|
10694
|
+
}[];
|
|
10695
|
+
leaves: {
|
|
10696
|
+
id: string;
|
|
10697
|
+
name: string;
|
|
10698
|
+
}[];
|
|
10699
|
+
documents: {
|
|
10700
|
+
id: string;
|
|
10701
|
+
name: string;
|
|
10702
|
+
workspaceName: string;
|
|
10703
|
+
}[];
|
|
10704
|
+
};
|
|
10705
|
+
};
|
|
10706
|
+
outputFormat: "json";
|
|
10707
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10708
|
+
};
|
|
10709
|
+
};
|
|
10710
|
+
} & {
|
|
10711
|
+
"/api/account/delete": {
|
|
10712
|
+
$post: {
|
|
10713
|
+
input: {
|
|
10714
|
+
json: {
|
|
10715
|
+
password?: string | undefined;
|
|
10716
|
+
};
|
|
10717
|
+
};
|
|
10718
|
+
output: {
|
|
10719
|
+
error: {
|
|
10720
|
+
code: "invalid_request";
|
|
10721
|
+
};
|
|
10722
|
+
};
|
|
10723
|
+
outputFormat: "json";
|
|
10724
|
+
status: 400;
|
|
10725
|
+
} | {
|
|
10726
|
+
input: {
|
|
10727
|
+
json: {
|
|
10728
|
+
password?: string | undefined;
|
|
10729
|
+
};
|
|
10730
|
+
};
|
|
10731
|
+
output: {
|
|
10732
|
+
error: {
|
|
10733
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
10734
|
+
};
|
|
10735
|
+
};
|
|
10736
|
+
outputFormat: "json";
|
|
10737
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
10738
|
+
} | {
|
|
10739
|
+
input: {
|
|
10740
|
+
json: {
|
|
10741
|
+
password?: string | undefined;
|
|
10742
|
+
};
|
|
10743
|
+
};
|
|
10744
|
+
output: {
|
|
10745
|
+
ok: true;
|
|
10746
|
+
};
|
|
10747
|
+
outputFormat: "json";
|
|
10748
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10749
|
+
};
|
|
10750
|
+
};
|
|
10751
|
+
} & {
|
|
10752
|
+
"/api/account/authentication": {
|
|
8468
10753
|
$get: {
|
|
8469
10754
|
input: {};
|
|
8470
10755
|
output: {
|
|
8471
10756
|
error: {
|
|
8472
|
-
code: "
|
|
10757
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8473
10758
|
};
|
|
8474
10759
|
};
|
|
8475
10760
|
outputFormat: "json";
|
|
8476
|
-
status: 401;
|
|
10761
|
+
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
8477
10762
|
} | {
|
|
8478
10763
|
input: {};
|
|
8479
10764
|
output: {
|
|
8480
|
-
|
|
10765
|
+
methods: {
|
|
8481
10766
|
id: string;
|
|
8482
|
-
|
|
8483
|
-
ipAddress: string | null;
|
|
8484
|
-
browser: string | null;
|
|
8485
|
-
system: string | null;
|
|
10767
|
+
provider: "apple" | "google" | "credential";
|
|
8486
10768
|
createdAt: string;
|
|
10769
|
+
canUnlink: boolean;
|
|
8487
10770
|
}[];
|
|
10771
|
+
availableSocialProviders: ("apple" | "google")[];
|
|
8488
10772
|
};
|
|
8489
10773
|
outputFormat: "json";
|
|
8490
10774
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8491
10775
|
};
|
|
8492
10776
|
};
|
|
8493
|
-
}
|
|
8494
|
-
"/api/account/
|
|
10777
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
10778
|
+
"/api/account/tokens": {
|
|
8495
10779
|
$get: {
|
|
8496
10780
|
input: {};
|
|
8497
10781
|
output: {
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
blockedBy: {
|
|
8501
|
-
id: string;
|
|
8502
|
-
name: string;
|
|
8503
|
-
}[];
|
|
8504
|
-
deletes: {
|
|
8505
|
-
id: string;
|
|
8506
|
-
name: string;
|
|
8507
|
-
}[];
|
|
8508
|
-
leaves: {
|
|
8509
|
-
id: string;
|
|
8510
|
-
name: string;
|
|
8511
|
-
}[];
|
|
8512
|
-
documents: {
|
|
8513
|
-
id: string;
|
|
8514
|
-
name: string;
|
|
8515
|
-
workspaceName: string;
|
|
8516
|
-
}[];
|
|
10782
|
+
error: {
|
|
10783
|
+
code: "unauthorized";
|
|
8517
10784
|
};
|
|
8518
10785
|
};
|
|
8519
10786
|
outputFormat: "json";
|
|
10787
|
+
status: 401;
|
|
10788
|
+
} | {
|
|
10789
|
+
input: {};
|
|
10790
|
+
output: {
|
|
10791
|
+
tokens: {
|
|
10792
|
+
id: string;
|
|
10793
|
+
name: string;
|
|
10794
|
+
start: string | null;
|
|
10795
|
+
createdAt: string;
|
|
10796
|
+
expiresAt: string | null;
|
|
10797
|
+
lastUsedAt: string | null;
|
|
10798
|
+
}[];
|
|
10799
|
+
};
|
|
10800
|
+
outputFormat: "json";
|
|
8520
10801
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8521
10802
|
};
|
|
8522
10803
|
};
|
|
8523
10804
|
} & {
|
|
8524
|
-
"/api/account/
|
|
10805
|
+
"/api/account/tokens/create": {
|
|
8525
10806
|
$post: {
|
|
8526
10807
|
input: {
|
|
8527
10808
|
json: {
|
|
8528
|
-
|
|
10809
|
+
name: string;
|
|
10810
|
+
expiresInDays: number;
|
|
8529
10811
|
};
|
|
8530
10812
|
};
|
|
8531
10813
|
output: {
|
|
@@ -8538,12 +10820,13 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8538
10820
|
} | {
|
|
8539
10821
|
input: {
|
|
8540
10822
|
json: {
|
|
8541
|
-
|
|
10823
|
+
name: string;
|
|
10824
|
+
expiresInDays: number;
|
|
8542
10825
|
};
|
|
8543
10826
|
};
|
|
8544
10827
|
output: {
|
|
8545
10828
|
error: {
|
|
8546
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10829
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8547
10830
|
};
|
|
8548
10831
|
};
|
|
8549
10832
|
outputFormat: "json";
|
|
@@ -8551,37 +10834,61 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8551
10834
|
} | {
|
|
8552
10835
|
input: {
|
|
8553
10836
|
json: {
|
|
8554
|
-
|
|
10837
|
+
name: string;
|
|
10838
|
+
expiresInDays: number;
|
|
8555
10839
|
};
|
|
8556
10840
|
};
|
|
8557
10841
|
output: {
|
|
8558
|
-
|
|
10842
|
+
token: string;
|
|
10843
|
+
accessToken: {
|
|
10844
|
+
id: string;
|
|
10845
|
+
name: string;
|
|
10846
|
+
start: string | null;
|
|
10847
|
+
createdAt: string;
|
|
10848
|
+
expiresAt: string | null;
|
|
10849
|
+
lastUsedAt: string | null;
|
|
10850
|
+
};
|
|
8559
10851
|
};
|
|
8560
10852
|
outputFormat: "json";
|
|
8561
|
-
status:
|
|
10853
|
+
status: 201;
|
|
8562
10854
|
};
|
|
8563
10855
|
};
|
|
8564
10856
|
} & {
|
|
8565
|
-
"/api/account/
|
|
8566
|
-
$
|
|
8567
|
-
input: {
|
|
10857
|
+
"/api/account/tokens/revoke": {
|
|
10858
|
+
$post: {
|
|
10859
|
+
input: {
|
|
10860
|
+
json: {
|
|
10861
|
+
id: string;
|
|
10862
|
+
};
|
|
10863
|
+
};
|
|
8568
10864
|
output: {
|
|
8569
10865
|
error: {
|
|
8570
|
-
code: "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin"
|
|
10866
|
+
code: "last_admin_required" | "terms_changed" | "current_password_invalid" | "password_too_short" | "password_too_long" | "last_authentication_method" | "session_not_fresh" | "authentication_method_failed" | "email_unchanged" | "email_change_unavailable" | "current_session" | "picture_invalid" | "account_sole_admin";
|
|
8571
10867
|
};
|
|
8572
10868
|
};
|
|
8573
10869
|
outputFormat: "json";
|
|
8574
10870
|
status: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
|
|
8575
10871
|
} | {
|
|
8576
|
-
input: {
|
|
10872
|
+
input: {
|
|
10873
|
+
json: {
|
|
10874
|
+
id: string;
|
|
10875
|
+
};
|
|
10876
|
+
};
|
|
8577
10877
|
output: {
|
|
8578
|
-
|
|
10878
|
+
error: {
|
|
10879
|
+
code: "invalid_request";
|
|
10880
|
+
};
|
|
10881
|
+
};
|
|
10882
|
+
outputFormat: "json";
|
|
10883
|
+
status: 400;
|
|
10884
|
+
} | {
|
|
10885
|
+
input: {
|
|
10886
|
+
json: {
|
|
8579
10887
|
id: string;
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
availableSocialProviders: ("apple" | "google")[];
|
|
10888
|
+
};
|
|
10889
|
+
};
|
|
10890
|
+
output: {
|
|
10891
|
+
ok: true;
|
|
8585
10892
|
};
|
|
8586
10893
|
outputFormat: "json";
|
|
8587
10894
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -8629,6 +10936,34 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8629
10936
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8630
10937
|
};
|
|
8631
10938
|
};
|
|
10939
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
10940
|
+
"/api/community/thumbnails/:documentId/:revisionId": {
|
|
10941
|
+
$get: {
|
|
10942
|
+
input: {
|
|
10943
|
+
param: {
|
|
10944
|
+
documentId: string;
|
|
10945
|
+
revisionId: string;
|
|
10946
|
+
};
|
|
10947
|
+
};
|
|
10948
|
+
output: {};
|
|
10949
|
+
outputFormat: string;
|
|
10950
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
10951
|
+
} | {
|
|
10952
|
+
input: {
|
|
10953
|
+
param: {
|
|
10954
|
+
documentId: string;
|
|
10955
|
+
revisionId: string;
|
|
10956
|
+
};
|
|
10957
|
+
};
|
|
10958
|
+
output: {
|
|
10959
|
+
error: {
|
|
10960
|
+
code: "not_found";
|
|
10961
|
+
};
|
|
10962
|
+
};
|
|
10963
|
+
outputFormat: "json";
|
|
10964
|
+
status: 404;
|
|
10965
|
+
};
|
|
10966
|
+
};
|
|
8632
10967
|
}, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
8633
10968
|
"/shares/:shareId/reports": {
|
|
8634
10969
|
$post: {
|
|
@@ -8640,7 +10975,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8640
10975
|
json: {
|
|
8641
10976
|
secret: string;
|
|
8642
10977
|
guestId?: string | undefined;
|
|
8643
|
-
reason: "
|
|
10978
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
8644
10979
|
description: string;
|
|
8645
10980
|
replyEmail?: string | undefined;
|
|
8646
10981
|
};
|
|
@@ -8657,7 +10992,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8657
10992
|
json: {
|
|
8658
10993
|
secret: string;
|
|
8659
10994
|
guestId?: string | undefined;
|
|
8660
|
-
reason: "
|
|
10995
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
8661
10996
|
description: string;
|
|
8662
10997
|
replyEmail?: string | undefined;
|
|
8663
10998
|
};
|
|
@@ -8678,7 +11013,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8678
11013
|
json: {
|
|
8679
11014
|
secret: string;
|
|
8680
11015
|
guestId?: string | undefined;
|
|
8681
|
-
reason: "
|
|
11016
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
8682
11017
|
description: string;
|
|
8683
11018
|
replyEmail?: string | undefined;
|
|
8684
11019
|
};
|
|
@@ -8843,7 +11178,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8843
11178
|
recipientHint: string;
|
|
8844
11179
|
kind: "workspace";
|
|
8845
11180
|
workspaceName: string;
|
|
8846
|
-
role: "
|
|
11181
|
+
role: "viewer" | "editor" | "admin";
|
|
8847
11182
|
};
|
|
8848
11183
|
};
|
|
8849
11184
|
outputFormat: "json";
|
|
@@ -9151,21 +11486,161 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9151
11486
|
}[];
|
|
9152
11487
|
};
|
|
9153
11488
|
outputFormat: "json";
|
|
9154
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11489
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11490
|
+
};
|
|
11491
|
+
};
|
|
11492
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
11493
|
+
"/shares/:shareId/collaboration-ticket": {
|
|
11494
|
+
$post: {
|
|
11495
|
+
input: {
|
|
11496
|
+
param: {
|
|
11497
|
+
shareId: string;
|
|
11498
|
+
};
|
|
11499
|
+
} & {
|
|
11500
|
+
json: {
|
|
11501
|
+
secret: string;
|
|
11502
|
+
guestName?: string | undefined;
|
|
11503
|
+
guestId?: string | undefined;
|
|
11504
|
+
};
|
|
11505
|
+
};
|
|
11506
|
+
output: {};
|
|
11507
|
+
outputFormat: string;
|
|
11508
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
11509
|
+
} | {
|
|
11510
|
+
input: {
|
|
11511
|
+
param: {
|
|
11512
|
+
shareId: string;
|
|
11513
|
+
};
|
|
11514
|
+
} & {
|
|
11515
|
+
json: {
|
|
11516
|
+
secret: string;
|
|
11517
|
+
guestName?: string | undefined;
|
|
11518
|
+
guestId?: string | undefined;
|
|
11519
|
+
};
|
|
11520
|
+
};
|
|
11521
|
+
output: {
|
|
11522
|
+
error: {
|
|
11523
|
+
code: "not_found";
|
|
11524
|
+
};
|
|
11525
|
+
};
|
|
11526
|
+
outputFormat: "json";
|
|
11527
|
+
status: 404;
|
|
11528
|
+
} | {
|
|
11529
|
+
input: {
|
|
11530
|
+
param: {
|
|
11531
|
+
shareId: string;
|
|
11532
|
+
};
|
|
11533
|
+
} & {
|
|
11534
|
+
json: {
|
|
11535
|
+
secret: string;
|
|
11536
|
+
guestName?: string | undefined;
|
|
11537
|
+
guestId?: string | undefined;
|
|
11538
|
+
};
|
|
11539
|
+
};
|
|
11540
|
+
output: {
|
|
11541
|
+
error: {
|
|
11542
|
+
code: "invalid_request";
|
|
11543
|
+
};
|
|
11544
|
+
};
|
|
11545
|
+
outputFormat: "json";
|
|
11546
|
+
status: 400;
|
|
11547
|
+
};
|
|
11548
|
+
};
|
|
11549
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
11550
|
+
"/community": {
|
|
11551
|
+
$get: {
|
|
11552
|
+
input: {};
|
|
11553
|
+
output: {
|
|
11554
|
+
error: {
|
|
11555
|
+
code: "not_found";
|
|
11556
|
+
};
|
|
11557
|
+
};
|
|
11558
|
+
outputFormat: "json";
|
|
11559
|
+
status: 404;
|
|
11560
|
+
} | {
|
|
11561
|
+
input: {};
|
|
11562
|
+
output: {
|
|
11563
|
+
documents: {
|
|
11564
|
+
id: string;
|
|
11565
|
+
name: string;
|
|
11566
|
+
kind: "design" | "board";
|
|
11567
|
+
updatedAt: string;
|
|
11568
|
+
revisionId: string;
|
|
11569
|
+
thumbnailPath: string;
|
|
11570
|
+
versions: {
|
|
11571
|
+
id: string;
|
|
11572
|
+
name: string;
|
|
11573
|
+
description: string | null;
|
|
11574
|
+
createdAt: string;
|
|
11575
|
+
current: boolean;
|
|
11576
|
+
}[];
|
|
11577
|
+
}[];
|
|
11578
|
+
};
|
|
11579
|
+
outputFormat: "json";
|
|
11580
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11581
|
+
};
|
|
11582
|
+
};
|
|
11583
|
+
} & {
|
|
11584
|
+
"/community/:documentId/document": {
|
|
11585
|
+
$get: {
|
|
11586
|
+
input: {
|
|
11587
|
+
param: {
|
|
11588
|
+
documentId: string;
|
|
11589
|
+
};
|
|
11590
|
+
} & {
|
|
11591
|
+
query: {
|
|
11592
|
+
version?: string | undefined;
|
|
11593
|
+
};
|
|
11594
|
+
};
|
|
11595
|
+
output: {};
|
|
11596
|
+
outputFormat: string;
|
|
11597
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
11598
|
+
} | {
|
|
11599
|
+
input: {
|
|
11600
|
+
param: {
|
|
11601
|
+
documentId: string;
|
|
11602
|
+
};
|
|
11603
|
+
} & {
|
|
11604
|
+
query: {
|
|
11605
|
+
version?: string | undefined;
|
|
11606
|
+
};
|
|
11607
|
+
};
|
|
11608
|
+
output: {
|
|
11609
|
+
error: {
|
|
11610
|
+
code: "not_found";
|
|
11611
|
+
};
|
|
11612
|
+
};
|
|
11613
|
+
outputFormat: "json";
|
|
11614
|
+
status: 404;
|
|
11615
|
+
} | {
|
|
11616
|
+
input: {
|
|
11617
|
+
param: {
|
|
11618
|
+
documentId: string;
|
|
11619
|
+
};
|
|
11620
|
+
} & {
|
|
11621
|
+
query: {
|
|
11622
|
+
version?: string | undefined;
|
|
11623
|
+
};
|
|
11624
|
+
};
|
|
11625
|
+
output: {
|
|
11626
|
+
error: {
|
|
11627
|
+
code: "invalid_request";
|
|
11628
|
+
};
|
|
11629
|
+
};
|
|
11630
|
+
outputFormat: "json";
|
|
11631
|
+
status: 400;
|
|
9155
11632
|
};
|
|
9156
11633
|
};
|
|
9157
|
-
}
|
|
9158
|
-
"/
|
|
11634
|
+
} & {
|
|
11635
|
+
"/community/:documentId/images": {
|
|
9159
11636
|
$post: {
|
|
9160
11637
|
input: {
|
|
9161
11638
|
param: {
|
|
9162
|
-
|
|
11639
|
+
documentId: string;
|
|
9163
11640
|
};
|
|
9164
11641
|
} & {
|
|
9165
11642
|
json: {
|
|
9166
|
-
|
|
9167
|
-
guestName?: string | undefined;
|
|
9168
|
-
guestId?: string | undefined;
|
|
11643
|
+
checksums: string[];
|
|
9169
11644
|
};
|
|
9170
11645
|
};
|
|
9171
11646
|
output: {};
|
|
@@ -9174,13 +11649,11 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9174
11649
|
} | {
|
|
9175
11650
|
input: {
|
|
9176
11651
|
param: {
|
|
9177
|
-
|
|
11652
|
+
documentId: string;
|
|
9178
11653
|
};
|
|
9179
11654
|
} & {
|
|
9180
11655
|
json: {
|
|
9181
|
-
|
|
9182
|
-
guestName?: string | undefined;
|
|
9183
|
-
guestId?: string | undefined;
|
|
11656
|
+
checksums: string[];
|
|
9184
11657
|
};
|
|
9185
11658
|
};
|
|
9186
11659
|
output: {
|
|
@@ -9193,13 +11666,11 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9193
11666
|
} | {
|
|
9194
11667
|
input: {
|
|
9195
11668
|
param: {
|
|
9196
|
-
|
|
11669
|
+
documentId: string;
|
|
9197
11670
|
};
|
|
9198
11671
|
} & {
|
|
9199
11672
|
json: {
|
|
9200
|
-
|
|
9201
|
-
guestName?: string | undefined;
|
|
9202
|
-
guestId?: string | undefined;
|
|
11673
|
+
checksums: string[];
|
|
9203
11674
|
};
|
|
9204
11675
|
};
|
|
9205
11676
|
output: {
|
|
@@ -9383,7 +11854,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9383
11854
|
input: {
|
|
9384
11855
|
query: {
|
|
9385
11856
|
search?: string | undefined;
|
|
9386
|
-
filter?: "pending" | "
|
|
11857
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
9387
11858
|
limit?: number | undefined;
|
|
9388
11859
|
offset?: number | undefined;
|
|
9389
11860
|
};
|
|
@@ -9399,7 +11870,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9399
11870
|
input: {
|
|
9400
11871
|
query: {
|
|
9401
11872
|
search?: string | undefined;
|
|
9402
|
-
filter?: "pending" | "
|
|
11873
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
9403
11874
|
limit?: number | undefined;
|
|
9404
11875
|
offset?: number | undefined;
|
|
9405
11876
|
};
|
|
@@ -9422,9 +11893,9 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9422
11893
|
total: number;
|
|
9423
11894
|
counts: {
|
|
9424
11895
|
pending: number;
|
|
11896
|
+
approved: number;
|
|
9425
11897
|
rejected: number;
|
|
9426
11898
|
revoked: number;
|
|
9427
|
-
approved: number;
|
|
9428
11899
|
};
|
|
9429
11900
|
};
|
|
9430
11901
|
outputFormat: "json";
|
|
@@ -9740,7 +12211,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9740
12211
|
sessions: {
|
|
9741
12212
|
id: string;
|
|
9742
12213
|
current: boolean;
|
|
9743
|
-
method: "
|
|
12214
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop" | null;
|
|
9744
12215
|
ipAddress: string | null;
|
|
9745
12216
|
browser: string | null;
|
|
9746
12217
|
system: string | null;
|
|
@@ -9750,7 +12221,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9750
12221
|
}[];
|
|
9751
12222
|
signIns: {
|
|
9752
12223
|
id: string;
|
|
9753
|
-
method: "
|
|
12224
|
+
method: "apple" | "google" | "other" | "passkey" | "password" | "two-step" | "email-link" | "desktop";
|
|
9754
12225
|
ipAddress: string | null;
|
|
9755
12226
|
browser: string | null;
|
|
9756
12227
|
system: string | null;
|
|
@@ -9759,7 +12230,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
9759
12230
|
workspaces: {
|
|
9760
12231
|
id: string;
|
|
9761
12232
|
name: string;
|
|
9762
|
-
role: "
|
|
12233
|
+
role: "viewer" | "editor" | "admin";
|
|
9763
12234
|
memberCount: number;
|
|
9764
12235
|
joinedAt: string;
|
|
9765
12236
|
}[];
|
|
@@ -10064,7 +12535,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10064
12535
|
input: {
|
|
10065
12536
|
query: {
|
|
10066
12537
|
search?: string | undefined;
|
|
10067
|
-
filter?: "
|
|
12538
|
+
filter?: "email" | "documents" | "all" | "accounts" | "requests" | undefined;
|
|
10068
12539
|
limit?: number | undefined;
|
|
10069
12540
|
offset?: number | undefined;
|
|
10070
12541
|
};
|
|
@@ -10080,7 +12551,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10080
12551
|
input: {
|
|
10081
12552
|
query: {
|
|
10082
12553
|
search?: string | undefined;
|
|
10083
|
-
filter?: "
|
|
12554
|
+
filter?: "email" | "documents" | "all" | "accounts" | "requests" | undefined;
|
|
10084
12555
|
limit?: number | undefined;
|
|
10085
12556
|
offset?: number | undefined;
|
|
10086
12557
|
};
|
|
@@ -10103,8 +12574,8 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10103
12574
|
}[];
|
|
10104
12575
|
total: number;
|
|
10105
12576
|
counts: {
|
|
10106
|
-
documents: number;
|
|
10107
12577
|
email: number;
|
|
12578
|
+
documents: number;
|
|
10108
12579
|
all: number;
|
|
10109
12580
|
accounts: number;
|
|
10110
12581
|
requests: number;
|
|
@@ -10165,7 +12636,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10165
12636
|
output: {
|
|
10166
12637
|
reports: {
|
|
10167
12638
|
id: string;
|
|
10168
|
-
reason: "
|
|
12639
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10169
12640
|
description: string;
|
|
10170
12641
|
status: "open" | "dismissed" | "actioned";
|
|
10171
12642
|
reporter: {
|
|
@@ -10465,7 +12936,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10465
12936
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10466
12937
|
};
|
|
10467
12938
|
};
|
|
10468
|
-
}, "/api/admin"> | import("hono/types").MergeSchemaPath<(((import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
12939
|
+
}, "/api/admin"> | import("hono/types").MergeSchemaPath<((((import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
10469
12940
|
"/shares/:shareId/reports": {
|
|
10470
12941
|
$post: {
|
|
10471
12942
|
input: {
|
|
@@ -10476,7 +12947,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10476
12947
|
json: {
|
|
10477
12948
|
secret: string;
|
|
10478
12949
|
guestId?: string | undefined;
|
|
10479
|
-
reason: "
|
|
12950
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10480
12951
|
description: string;
|
|
10481
12952
|
replyEmail?: string | undefined;
|
|
10482
12953
|
};
|
|
@@ -10493,7 +12964,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10493
12964
|
json: {
|
|
10494
12965
|
secret: string;
|
|
10495
12966
|
guestId?: string | undefined;
|
|
10496
|
-
reason: "
|
|
12967
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10497
12968
|
description: string;
|
|
10498
12969
|
replyEmail?: string | undefined;
|
|
10499
12970
|
};
|
|
@@ -10514,7 +12985,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10514
12985
|
json: {
|
|
10515
12986
|
secret: string;
|
|
10516
12987
|
guestId?: string | undefined;
|
|
10517
|
-
reason: "
|
|
12988
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10518
12989
|
description: string;
|
|
10519
12990
|
replyEmail?: string | undefined;
|
|
10520
12991
|
};
|
|
@@ -10679,7 +13150,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
10679
13150
|
recipientHint: string;
|
|
10680
13151
|
kind: "workspace";
|
|
10681
13152
|
workspaceName: string;
|
|
10682
|
-
role: "
|
|
13153
|
+
role: "viewer" | "editor" | "admin";
|
|
10683
13154
|
};
|
|
10684
13155
|
};
|
|
10685
13156
|
outputFormat: "json";
|
|
@@ -11047,7 +13518,183 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11047
13518
|
status: 400;
|
|
11048
13519
|
};
|
|
11049
13520
|
};
|
|
13521
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
13522
|
+
"/community": {
|
|
13523
|
+
$get: {
|
|
13524
|
+
input: {};
|
|
13525
|
+
output: {
|
|
13526
|
+
error: {
|
|
13527
|
+
code: "not_found";
|
|
13528
|
+
};
|
|
13529
|
+
};
|
|
13530
|
+
outputFormat: "json";
|
|
13531
|
+
status: 404;
|
|
13532
|
+
} | {
|
|
13533
|
+
input: {};
|
|
13534
|
+
output: {
|
|
13535
|
+
documents: {
|
|
13536
|
+
id: string;
|
|
13537
|
+
name: string;
|
|
13538
|
+
kind: "design" | "board";
|
|
13539
|
+
updatedAt: string;
|
|
13540
|
+
revisionId: string;
|
|
13541
|
+
thumbnailPath: string;
|
|
13542
|
+
versions: {
|
|
13543
|
+
id: string;
|
|
13544
|
+
name: string;
|
|
13545
|
+
description: string | null;
|
|
13546
|
+
createdAt: string;
|
|
13547
|
+
current: boolean;
|
|
13548
|
+
}[];
|
|
13549
|
+
}[];
|
|
13550
|
+
};
|
|
13551
|
+
outputFormat: "json";
|
|
13552
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13553
|
+
};
|
|
13554
|
+
};
|
|
13555
|
+
} & {
|
|
13556
|
+
"/community/:documentId/document": {
|
|
13557
|
+
$get: {
|
|
13558
|
+
input: {
|
|
13559
|
+
param: {
|
|
13560
|
+
documentId: string;
|
|
13561
|
+
};
|
|
13562
|
+
} & {
|
|
13563
|
+
query: {
|
|
13564
|
+
version?: string | undefined;
|
|
13565
|
+
};
|
|
13566
|
+
};
|
|
13567
|
+
output: {};
|
|
13568
|
+
outputFormat: string;
|
|
13569
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
13570
|
+
} | {
|
|
13571
|
+
input: {
|
|
13572
|
+
param: {
|
|
13573
|
+
documentId: string;
|
|
13574
|
+
};
|
|
13575
|
+
} & {
|
|
13576
|
+
query: {
|
|
13577
|
+
version?: string | undefined;
|
|
13578
|
+
};
|
|
13579
|
+
};
|
|
13580
|
+
output: {
|
|
13581
|
+
error: {
|
|
13582
|
+
code: "not_found";
|
|
13583
|
+
};
|
|
13584
|
+
};
|
|
13585
|
+
outputFormat: "json";
|
|
13586
|
+
status: 404;
|
|
13587
|
+
} | {
|
|
13588
|
+
input: {
|
|
13589
|
+
param: {
|
|
13590
|
+
documentId: string;
|
|
13591
|
+
};
|
|
13592
|
+
} & {
|
|
13593
|
+
query: {
|
|
13594
|
+
version?: string | undefined;
|
|
13595
|
+
};
|
|
13596
|
+
};
|
|
13597
|
+
output: {
|
|
13598
|
+
error: {
|
|
13599
|
+
code: "invalid_request";
|
|
13600
|
+
};
|
|
13601
|
+
};
|
|
13602
|
+
outputFormat: "json";
|
|
13603
|
+
status: 400;
|
|
13604
|
+
};
|
|
13605
|
+
};
|
|
13606
|
+
} & {
|
|
13607
|
+
"/community/:documentId/images": {
|
|
13608
|
+
$post: {
|
|
13609
|
+
input: {
|
|
13610
|
+
param: {
|
|
13611
|
+
documentId: string;
|
|
13612
|
+
};
|
|
13613
|
+
} & {
|
|
13614
|
+
json: {
|
|
13615
|
+
checksums: string[];
|
|
13616
|
+
};
|
|
13617
|
+
};
|
|
13618
|
+
output: {};
|
|
13619
|
+
outputFormat: string;
|
|
13620
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
13621
|
+
} | {
|
|
13622
|
+
input: {
|
|
13623
|
+
param: {
|
|
13624
|
+
documentId: string;
|
|
13625
|
+
};
|
|
13626
|
+
} & {
|
|
13627
|
+
json: {
|
|
13628
|
+
checksums: string[];
|
|
13629
|
+
};
|
|
13630
|
+
};
|
|
13631
|
+
output: {
|
|
13632
|
+
error: {
|
|
13633
|
+
code: "not_found";
|
|
13634
|
+
};
|
|
13635
|
+
};
|
|
13636
|
+
outputFormat: "json";
|
|
13637
|
+
status: 404;
|
|
13638
|
+
} | {
|
|
13639
|
+
input: {
|
|
13640
|
+
param: {
|
|
13641
|
+
documentId: string;
|
|
13642
|
+
};
|
|
13643
|
+
} & {
|
|
13644
|
+
json: {
|
|
13645
|
+
checksums: string[];
|
|
13646
|
+
};
|
|
13647
|
+
};
|
|
13648
|
+
output: {
|
|
13649
|
+
error: {
|
|
13650
|
+
code: "invalid_request";
|
|
13651
|
+
};
|
|
13652
|
+
};
|
|
13653
|
+
outputFormat: "json";
|
|
13654
|
+
status: 400;
|
|
13655
|
+
};
|
|
13656
|
+
};
|
|
11050
13657
|
}, "/">, "/public">) & {
|
|
13658
|
+
"/account/entitlements": {
|
|
13659
|
+
$get: {
|
|
13660
|
+
input: {};
|
|
13661
|
+
output: {
|
|
13662
|
+
error: {
|
|
13663
|
+
code: "not_found";
|
|
13664
|
+
};
|
|
13665
|
+
};
|
|
13666
|
+
outputFormat: "json";
|
|
13667
|
+
status: 404;
|
|
13668
|
+
} | {
|
|
13669
|
+
input: {};
|
|
13670
|
+
output: {
|
|
13671
|
+
entitlements: {
|
|
13672
|
+
features: {
|
|
13673
|
+
links: boolean;
|
|
13674
|
+
guestView: boolean;
|
|
13675
|
+
guestEdit: boolean;
|
|
13676
|
+
guestPresence: boolean;
|
|
13677
|
+
collaboration: boolean;
|
|
13678
|
+
revisionHistory: boolean;
|
|
13679
|
+
cloudServices: boolean;
|
|
13680
|
+
};
|
|
13681
|
+
limits: {
|
|
13682
|
+
maximumFileBytes: number;
|
|
13683
|
+
maximumStorageBytes: number | null;
|
|
13684
|
+
maximumParticipants: number | null;
|
|
13685
|
+
monthlyCreditAllowance: number | null;
|
|
13686
|
+
};
|
|
13687
|
+
usage: {
|
|
13688
|
+
committedStorageBytes: number;
|
|
13689
|
+
reservedStorageBytes: number;
|
|
13690
|
+
};
|
|
13691
|
+
};
|
|
13692
|
+
};
|
|
13693
|
+
outputFormat: "json";
|
|
13694
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13695
|
+
};
|
|
13696
|
+
};
|
|
13697
|
+
}) & {
|
|
11051
13698
|
"/workspaces/:workspaceId/entitlements": {
|
|
11052
13699
|
$get: {
|
|
11053
13700
|
input: {
|
|
@@ -11118,6 +13765,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11118
13765
|
email: string;
|
|
11119
13766
|
name: string;
|
|
11120
13767
|
deploymentRole?: "user" | "admin" | undefined;
|
|
13768
|
+
credential?: "session" | "token" | undefined;
|
|
11121
13769
|
};
|
|
11122
13770
|
};
|
|
11123
13771
|
outputFormat: "json";
|
|
@@ -11179,6 +13827,27 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11179
13827
|
status: 403;
|
|
11180
13828
|
};
|
|
11181
13829
|
};
|
|
13830
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
13831
|
+
"/billing/token": {
|
|
13832
|
+
$post: {
|
|
13833
|
+
input: {};
|
|
13834
|
+
output: {
|
|
13835
|
+
error: {
|
|
13836
|
+
code: "not_found";
|
|
13837
|
+
};
|
|
13838
|
+
};
|
|
13839
|
+
outputFormat: "json";
|
|
13840
|
+
status: 404;
|
|
13841
|
+
} | {
|
|
13842
|
+
input: {};
|
|
13843
|
+
output: {
|
|
13844
|
+
token: string;
|
|
13845
|
+
expiresAt: string;
|
|
13846
|
+
};
|
|
13847
|
+
outputFormat: "json";
|
|
13848
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13849
|
+
};
|
|
13850
|
+
};
|
|
11182
13851
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
11183
13852
|
"/documents/:documentId/collaboration-ticket": {
|
|
11184
13853
|
$post: {
|
|
@@ -11827,21 +14496,12 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11827
14496
|
};
|
|
11828
14497
|
};
|
|
11829
14498
|
output: {
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
download: {
|
|
11834
|
-
url: string;
|
|
11835
|
-
method: "GET";
|
|
11836
|
-
headers: {
|
|
11837
|
-
[x: string]: string;
|
|
11838
|
-
};
|
|
11839
|
-
expiresAt: string;
|
|
11840
|
-
};
|
|
11841
|
-
}[];
|
|
14499
|
+
error: {
|
|
14500
|
+
code: "not_found";
|
|
14501
|
+
};
|
|
11842
14502
|
};
|
|
11843
14503
|
outputFormat: "json";
|
|
11844
|
-
status:
|
|
14504
|
+
status: 404;
|
|
11845
14505
|
} | {
|
|
11846
14506
|
input: {
|
|
11847
14507
|
param: {
|
|
@@ -11854,11 +14514,11 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11854
14514
|
};
|
|
11855
14515
|
output: {
|
|
11856
14516
|
error: {
|
|
11857
|
-
code: "
|
|
14517
|
+
code: "invalid_request";
|
|
11858
14518
|
};
|
|
11859
14519
|
};
|
|
11860
14520
|
outputFormat: "json";
|
|
11861
|
-
status:
|
|
14521
|
+
status: 400;
|
|
11862
14522
|
} | {
|
|
11863
14523
|
input: {
|
|
11864
14524
|
param: {
|
|
@@ -11870,12 +14530,21 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
11870
14530
|
};
|
|
11871
14531
|
};
|
|
11872
14532
|
output: {
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
14533
|
+
images: {
|
|
14534
|
+
checksum: string;
|
|
14535
|
+
byteSize: number;
|
|
14536
|
+
download: {
|
|
14537
|
+
url: string;
|
|
14538
|
+
method: "GET";
|
|
14539
|
+
headers: {
|
|
14540
|
+
[x: string]: string;
|
|
14541
|
+
};
|
|
14542
|
+
expiresAt: string;
|
|
14543
|
+
};
|
|
14544
|
+
}[];
|
|
11876
14545
|
};
|
|
11877
14546
|
outputFormat: "json";
|
|
11878
|
-
status:
|
|
14547
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11879
14548
|
};
|
|
11880
14549
|
};
|
|
11881
14550
|
} & {
|
|
@@ -13059,7 +15728,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13059
15728
|
} | {
|
|
13060
15729
|
kind: "workspace";
|
|
13061
15730
|
workspaceId: string;
|
|
13062
|
-
role: "
|
|
15731
|
+
role: "viewer" | "editor" | "admin";
|
|
13063
15732
|
};
|
|
13064
15733
|
};
|
|
13065
15734
|
outputFormat: "json";
|
|
@@ -13113,7 +15782,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13113
15782
|
id: string;
|
|
13114
15783
|
name: string;
|
|
13115
15784
|
slug: string;
|
|
13116
|
-
role: "
|
|
15785
|
+
role: "viewer" | "editor" | "admin";
|
|
13117
15786
|
createdAt: string;
|
|
13118
15787
|
updatedAt: string;
|
|
13119
15788
|
}[];
|
|
@@ -13150,7 +15819,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13150
15819
|
id: string;
|
|
13151
15820
|
name: string;
|
|
13152
15821
|
slug: string;
|
|
13153
|
-
role: "
|
|
15822
|
+
role: "viewer" | "editor" | "admin";
|
|
13154
15823
|
createdAt: string;
|
|
13155
15824
|
updatedAt: string;
|
|
13156
15825
|
};
|
|
@@ -13212,7 +15881,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13212
15881
|
id: string;
|
|
13213
15882
|
name: string;
|
|
13214
15883
|
slug: string;
|
|
13215
|
-
role: "
|
|
15884
|
+
role: "viewer" | "editor" | "admin";
|
|
13216
15885
|
createdAt: string;
|
|
13217
15886
|
updatedAt: string;
|
|
13218
15887
|
};
|
|
@@ -13285,7 +15954,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13285
15954
|
id: string;
|
|
13286
15955
|
name: string;
|
|
13287
15956
|
slug: string;
|
|
13288
|
-
role: "
|
|
15957
|
+
role: "viewer" | "editor" | "admin";
|
|
13289
15958
|
createdAt: string;
|
|
13290
15959
|
updatedAt: string;
|
|
13291
15960
|
};
|
|
@@ -13365,13 +16034,13 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13365
16034
|
name: string;
|
|
13366
16035
|
email: string;
|
|
13367
16036
|
image: string | null;
|
|
13368
|
-
role: "
|
|
16037
|
+
role: "viewer" | "editor" | "admin";
|
|
13369
16038
|
joinedAt: string;
|
|
13370
16039
|
}[];
|
|
13371
16040
|
invitations: {
|
|
13372
16041
|
id: string;
|
|
13373
16042
|
email: string;
|
|
13374
|
-
role: "
|
|
16043
|
+
role: "viewer" | "editor" | "admin";
|
|
13375
16044
|
invitedBy: {
|
|
13376
16045
|
id: string;
|
|
13377
16046
|
name: string | null;
|
|
@@ -13394,7 +16063,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13394
16063
|
} & {
|
|
13395
16064
|
json: {
|
|
13396
16065
|
email: string;
|
|
13397
|
-
role: "
|
|
16066
|
+
role: "viewer" | "editor" | "admin";
|
|
13398
16067
|
};
|
|
13399
16068
|
};
|
|
13400
16069
|
output: {};
|
|
@@ -13408,7 +16077,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13408
16077
|
} & {
|
|
13409
16078
|
json: {
|
|
13410
16079
|
email: string;
|
|
13411
|
-
role: "
|
|
16080
|
+
role: "viewer" | "editor" | "admin";
|
|
13412
16081
|
};
|
|
13413
16082
|
};
|
|
13414
16083
|
output: {
|
|
@@ -13426,7 +16095,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13426
16095
|
} & {
|
|
13427
16096
|
json: {
|
|
13428
16097
|
email: string;
|
|
13429
|
-
role: "
|
|
16098
|
+
role: "viewer" | "editor" | "admin";
|
|
13430
16099
|
};
|
|
13431
16100
|
};
|
|
13432
16101
|
output: {
|
|
@@ -13444,14 +16113,14 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13444
16113
|
} & {
|
|
13445
16114
|
json: {
|
|
13446
16115
|
email: string;
|
|
13447
|
-
role: "
|
|
16116
|
+
role: "viewer" | "editor" | "admin";
|
|
13448
16117
|
};
|
|
13449
16118
|
};
|
|
13450
16119
|
output: {
|
|
13451
16120
|
invitation: {
|
|
13452
16121
|
id: string;
|
|
13453
16122
|
email: string;
|
|
13454
|
-
role: "
|
|
16123
|
+
role: "viewer" | "editor" | "admin";
|
|
13455
16124
|
invitedBy: {
|
|
13456
16125
|
id: string;
|
|
13457
16126
|
name: string | null;
|
|
@@ -13502,7 +16171,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13502
16171
|
invitation: {
|
|
13503
16172
|
id: string;
|
|
13504
16173
|
email: string;
|
|
13505
|
-
role: "
|
|
16174
|
+
role: "viewer" | "editor" | "admin";
|
|
13506
16175
|
invitedBy: {
|
|
13507
16176
|
id: string;
|
|
13508
16177
|
name: string | null;
|
|
@@ -13564,7 +16233,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13564
16233
|
};
|
|
13565
16234
|
} & {
|
|
13566
16235
|
json: {
|
|
13567
|
-
role: "
|
|
16236
|
+
role: "viewer" | "editor" | "admin";
|
|
13568
16237
|
};
|
|
13569
16238
|
};
|
|
13570
16239
|
output: {};
|
|
@@ -13578,7 +16247,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13578
16247
|
};
|
|
13579
16248
|
} & {
|
|
13580
16249
|
json: {
|
|
13581
|
-
role: "
|
|
16250
|
+
role: "viewer" | "editor" | "admin";
|
|
13582
16251
|
};
|
|
13583
16252
|
};
|
|
13584
16253
|
output: null;
|
|
@@ -13592,7 +16261,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13592
16261
|
};
|
|
13593
16262
|
} & {
|
|
13594
16263
|
json: {
|
|
13595
|
-
role: "
|
|
16264
|
+
role: "viewer" | "editor" | "admin";
|
|
13596
16265
|
};
|
|
13597
16266
|
};
|
|
13598
16267
|
output: {
|
|
@@ -13610,7 +16279,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
13610
16279
|
};
|
|
13611
16280
|
} & {
|
|
13612
16281
|
json: {
|
|
13613
|
-
role: "
|
|
16282
|
+
role: "viewer" | "editor" | "admin";
|
|
13614
16283
|
};
|
|
13615
16284
|
};
|
|
13616
16285
|
output: {
|