@mestra-dev/contract 0.0.13 → 0.0.15
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 +10 -1
- package/dist/index.d.ts +860 -48
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ApplyGlobalResponse } from 'hono/client';
|
|
2
|
+
import type { JwtVariables } from 'hono/jwt';
|
|
2
3
|
|
|
3
4
|
type Variables = JwtVariables;
|
|
5
|
+
/** Shared error body for middleware / HTTPException responses (typed into AppType). */
|
|
6
|
+
export type ApiError = {
|
|
7
|
+
success: false;
|
|
8
|
+
error: string;
|
|
9
|
+
};
|
|
4
10
|
declare const routes: import("hono/hono-base").HonoBase<{
|
|
5
11
|
Variables: Variables;
|
|
6
12
|
}, ({
|
|
@@ -20,8 +26,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20
26
|
readonly openapi: "3.0.3";
|
|
21
27
|
readonly info: {
|
|
22
28
|
readonly title: "Auth Service API";
|
|
23
|
-
readonly version: "1.5.
|
|
24
|
-
readonly description: "OpenAPI specification for the Auth, Integrations, Workspace, Tasks, Templates, Tags, Comments, Assignees, Chat, Events, Billings, Files, and Notifications endpoints exposed by the k3-core platform.";
|
|
29
|
+
readonly version: "1.5.4";
|
|
30
|
+
readonly description: "OpenAPI specification for the Auth, Integrations, Workspace, Tasks, Templates, Tags, Comments, Assignees, Chat, Events, Billings, Files, and Notifications endpoints exposed by the k3-core platform. Unhandled HTTPException and unexpected errors are normalized by the global error handler to `{ success: false, error: string }` (status preserved for HTTPException; 500 otherwise).";
|
|
25
31
|
};
|
|
26
32
|
readonly servers: readonly [
|
|
27
33
|
{
|
|
@@ -239,7 +245,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
239
245
|
readonly required: readonly [
|
|
240
246
|
"id",
|
|
241
247
|
"userId",
|
|
242
|
-
"workspaceId",
|
|
243
248
|
"title",
|
|
244
249
|
"message",
|
|
245
250
|
"type",
|
|
@@ -259,6 +264,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
259
264
|
readonly workspaceId: {
|
|
260
265
|
readonly type: "string";
|
|
261
266
|
readonly format: "uuid";
|
|
267
|
+
readonly nullable: true;
|
|
268
|
+
readonly description: "Workspace this notification belongs to. Null for account-level notices (e.g. first registration).";
|
|
262
269
|
};
|
|
263
270
|
readonly title: {
|
|
264
271
|
readonly type: "string";
|
|
@@ -360,21 +367,17 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
360
367
|
readonly ErrorResponse: {
|
|
361
368
|
readonly type: "object";
|
|
362
369
|
readonly required: readonly [
|
|
363
|
-
"success"
|
|
370
|
+
"success",
|
|
371
|
+
"error"
|
|
364
372
|
];
|
|
373
|
+
readonly description: "Standard API error body. Route handlers and the global HTTPException handler return this shape. Validation failures may put Zod details in `error` instead of a string.";
|
|
365
374
|
readonly properties: {
|
|
366
375
|
readonly success: {
|
|
367
376
|
readonly type: "boolean";
|
|
368
377
|
readonly const: false;
|
|
369
378
|
};
|
|
370
|
-
readonly message: {
|
|
371
|
-
readonly type: "string";
|
|
372
|
-
readonly nullable: true;
|
|
373
|
-
readonly description: "Human readable error message.";
|
|
374
|
-
};
|
|
375
379
|
readonly error: {
|
|
376
|
-
readonly
|
|
377
|
-
readonly description: "String message or Zod validation details, depending on the failure.";
|
|
380
|
+
readonly description: "Human-readable message, or Zod validation details for invalid payloads.";
|
|
378
381
|
readonly oneOf: readonly [
|
|
379
382
|
{
|
|
380
383
|
readonly type: "string";
|
|
@@ -385,6 +388,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
385
388
|
}
|
|
386
389
|
];
|
|
387
390
|
};
|
|
391
|
+
readonly link: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly format: "uri";
|
|
394
|
+
readonly nullable: true;
|
|
395
|
+
readonly description: "Optional documentation link (used by the global 404 handler).";
|
|
396
|
+
readonly example: "https://api.mestra.chat/docs";
|
|
397
|
+
};
|
|
388
398
|
};
|
|
389
399
|
};
|
|
390
400
|
readonly NotificationIdRequest: {
|
|
@@ -430,7 +440,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
430
440
|
};
|
|
431
441
|
readonly status: {
|
|
432
442
|
readonly type: "string";
|
|
433
|
-
readonly description: "Integration status
|
|
443
|
+
readonly description: "Integration status. `pending` while background calendar/watch setup is running after the OAuth callback, `active` once setup completed, `error` if setup failed.";
|
|
444
|
+
readonly enum: readonly [
|
|
445
|
+
"pending",
|
|
446
|
+
"active",
|
|
447
|
+
"error"
|
|
448
|
+
];
|
|
434
449
|
readonly example: "active";
|
|
435
450
|
};
|
|
436
451
|
};
|
|
@@ -3156,9 +3171,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3156
3171
|
};
|
|
3157
3172
|
readonly 401: {
|
|
3158
3173
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3174
|
+
readonly content: {
|
|
3175
|
+
readonly "application/json": {
|
|
3176
|
+
readonly schema: {
|
|
3177
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3159
3181
|
};
|
|
3160
3182
|
readonly 403: {
|
|
3161
3183
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
3184
|
+
readonly content: {
|
|
3185
|
+
readonly "application/json": {
|
|
3186
|
+
readonly schema: {
|
|
3187
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3188
|
+
};
|
|
3189
|
+
};
|
|
3190
|
+
};
|
|
3162
3191
|
};
|
|
3163
3192
|
readonly 429: {
|
|
3164
3193
|
readonly description: "Too Many Requests - Rate limit exceeded.";
|
|
@@ -3179,7 +3208,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3179
3208
|
"Integrations"
|
|
3180
3209
|
];
|
|
3181
3210
|
readonly summary: "Google Calendar integration OAuth callback";
|
|
3182
|
-
readonly description: "Exchanges Google code for tokens (including userinfo scopes from connect)
|
|
3211
|
+
readonly description: "Exchanges Google code for tokens (including userinfo scopes from connect) and stores the integration with status `pending`, replacing any previous integration for the user. The remaining setup \u2014 creating the dedicated secondary calendar (\"Mestra App Calendar\") and registering a push channel on it \u2014 completes asynchronously after the response; the integration status then becomes `active` (or `error` if setup fails). Poll `/integrations/list` to observe the final status. Requires a matching state cookie from the connect endpoint.";
|
|
3183
3212
|
readonly security: readonly [
|
|
3184
3213
|
never
|
|
3185
3214
|
];
|
|
@@ -3205,7 +3234,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3205
3234
|
];
|
|
3206
3235
|
readonly responses: {
|
|
3207
3236
|
readonly 200: {
|
|
3208
|
-
readonly description: "
|
|
3237
|
+
readonly description: "Tokens exchanged and integration stored with status `pending`; calendar creation and watch registration continue in the background.";
|
|
3209
3238
|
readonly content: {
|
|
3210
3239
|
readonly "application/json": {
|
|
3211
3240
|
readonly schema: {
|
|
@@ -3226,9 +3255,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3226
3255
|
};
|
|
3227
3256
|
readonly 401: {
|
|
3228
3257
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3258
|
+
readonly content: {
|
|
3259
|
+
readonly "application/json": {
|
|
3260
|
+
readonly schema: {
|
|
3261
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
};
|
|
3229
3265
|
};
|
|
3230
3266
|
readonly 403: {
|
|
3231
3267
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
3268
|
+
readonly content: {
|
|
3269
|
+
readonly "application/json": {
|
|
3270
|
+
readonly schema: {
|
|
3271
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3272
|
+
};
|
|
3273
|
+
};
|
|
3274
|
+
};
|
|
3232
3275
|
};
|
|
3233
3276
|
readonly 429: {
|
|
3234
3277
|
readonly description: "Too Many Requests - Rate limit exceeded.";
|
|
@@ -3241,7 +3284,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3241
3284
|
};
|
|
3242
3285
|
};
|
|
3243
3286
|
readonly 500: {
|
|
3244
|
-
readonly description: "`GOOGLE_CLIENT_SECRET is not configured`, or
|
|
3287
|
+
readonly description: "`GOOGLE_CLIENT_SECRET is not configured`, or persisting the pending integration failed. Calendar creation / watch registration failures no longer surface here; they mark the integration status `error` instead.";
|
|
3245
3288
|
readonly content: {
|
|
3246
3289
|
readonly "application/json": {
|
|
3247
3290
|
readonly schema: {
|
|
@@ -3276,9 +3319,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3276
3319
|
};
|
|
3277
3320
|
readonly 401: {
|
|
3278
3321
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3322
|
+
readonly content: {
|
|
3323
|
+
readonly "application/json": {
|
|
3324
|
+
readonly schema: {
|
|
3325
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3279
3329
|
};
|
|
3280
3330
|
readonly 403: {
|
|
3281
3331
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
3332
|
+
readonly content: {
|
|
3333
|
+
readonly "application/json": {
|
|
3334
|
+
readonly schema: {
|
|
3335
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3336
|
+
};
|
|
3337
|
+
};
|
|
3338
|
+
};
|
|
3282
3339
|
};
|
|
3283
3340
|
readonly 404: {
|
|
3284
3341
|
readonly description: "Integration list empty or not found (when applicable).";
|
|
@@ -3316,9 +3373,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3316
3373
|
};
|
|
3317
3374
|
readonly 401: {
|
|
3318
3375
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3376
|
+
readonly content: {
|
|
3377
|
+
readonly "application/json": {
|
|
3378
|
+
readonly schema: {
|
|
3379
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3382
|
+
};
|
|
3319
3383
|
};
|
|
3320
3384
|
readonly 403: {
|
|
3321
3385
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
3386
|
+
readonly content: {
|
|
3387
|
+
readonly "application/json": {
|
|
3388
|
+
readonly schema: {
|
|
3389
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3322
3393
|
};
|
|
3323
3394
|
readonly 404: {
|
|
3324
3395
|
readonly description: "Integration not found.";
|
|
@@ -3376,6 +3447,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3376
3447
|
};
|
|
3377
3448
|
readonly 401: {
|
|
3378
3449
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3450
|
+
readonly content: {
|
|
3451
|
+
readonly "application/json": {
|
|
3452
|
+
readonly schema: {
|
|
3453
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3454
|
+
};
|
|
3455
|
+
};
|
|
3456
|
+
};
|
|
3379
3457
|
};
|
|
3380
3458
|
readonly 404: {
|
|
3381
3459
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3444,6 +3522,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3444
3522
|
};
|
|
3445
3523
|
readonly 401: {
|
|
3446
3524
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3525
|
+
readonly content: {
|
|
3526
|
+
readonly "application/json": {
|
|
3527
|
+
readonly schema: {
|
|
3528
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3529
|
+
};
|
|
3530
|
+
};
|
|
3531
|
+
};
|
|
3447
3532
|
};
|
|
3448
3533
|
readonly 404: {
|
|
3449
3534
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3501,6 +3586,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3501
3586
|
};
|
|
3502
3587
|
readonly 401: {
|
|
3503
3588
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3589
|
+
readonly content: {
|
|
3590
|
+
readonly "application/json": {
|
|
3591
|
+
readonly schema: {
|
|
3592
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3593
|
+
};
|
|
3594
|
+
};
|
|
3595
|
+
};
|
|
3504
3596
|
};
|
|
3505
3597
|
readonly 404: {
|
|
3506
3598
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3558,6 +3650,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3558
3650
|
};
|
|
3559
3651
|
readonly 401: {
|
|
3560
3652
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3653
|
+
readonly content: {
|
|
3654
|
+
readonly "application/json": {
|
|
3655
|
+
readonly schema: {
|
|
3656
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3659
|
+
};
|
|
3561
3660
|
};
|
|
3562
3661
|
readonly 404: {
|
|
3563
3662
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3615,6 +3714,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3615
3714
|
};
|
|
3616
3715
|
readonly 401: {
|
|
3617
3716
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3717
|
+
readonly content: {
|
|
3718
|
+
readonly "application/json": {
|
|
3719
|
+
readonly schema: {
|
|
3720
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3721
|
+
};
|
|
3722
|
+
};
|
|
3723
|
+
};
|
|
3618
3724
|
};
|
|
3619
3725
|
readonly 404: {
|
|
3620
3726
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3686,6 +3792,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3686
3792
|
};
|
|
3687
3793
|
readonly 401: {
|
|
3688
3794
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3795
|
+
readonly content: {
|
|
3796
|
+
readonly "application/json": {
|
|
3797
|
+
readonly schema: {
|
|
3798
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3799
|
+
};
|
|
3800
|
+
};
|
|
3801
|
+
};
|
|
3689
3802
|
};
|
|
3690
3803
|
readonly 404: {
|
|
3691
3804
|
readonly description: "No Google Calendar integration linked to the account.";
|
|
@@ -3745,6 +3858,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3745
3858
|
};
|
|
3746
3859
|
readonly 401: {
|
|
3747
3860
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
3861
|
+
readonly content: {
|
|
3862
|
+
readonly "application/json": {
|
|
3863
|
+
readonly schema: {
|
|
3864
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
3865
|
+
};
|
|
3866
|
+
};
|
|
3867
|
+
};
|
|
3748
3868
|
};
|
|
3749
3869
|
readonly 403: {
|
|
3750
3870
|
readonly description: "Token issuer is not 'access', collaborator invite not accepted, user lacks crm::calendar resource access, or user lacks write permission for calendar.";
|
|
@@ -3925,9 +4045,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3925
4045
|
};
|
|
3926
4046
|
readonly 401: {
|
|
3927
4047
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4048
|
+
readonly content: {
|
|
4049
|
+
readonly "application/json": {
|
|
4050
|
+
readonly schema: {
|
|
4051
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4052
|
+
};
|
|
4053
|
+
};
|
|
4054
|
+
};
|
|
3928
4055
|
};
|
|
3929
4056
|
readonly 403: {
|
|
3930
4057
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
4058
|
+
readonly content: {
|
|
4059
|
+
readonly "application/json": {
|
|
4060
|
+
readonly schema: {
|
|
4061
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4062
|
+
};
|
|
4063
|
+
};
|
|
4064
|
+
};
|
|
3931
4065
|
};
|
|
3932
4066
|
};
|
|
3933
4067
|
};
|
|
@@ -3990,9 +4124,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3990
4124
|
};
|
|
3991
4125
|
readonly 401: {
|
|
3992
4126
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4127
|
+
readonly content: {
|
|
4128
|
+
readonly "application/json": {
|
|
4129
|
+
readonly schema: {
|
|
4130
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4131
|
+
};
|
|
4132
|
+
};
|
|
4133
|
+
};
|
|
3993
4134
|
};
|
|
3994
4135
|
readonly 403: {
|
|
3995
4136
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
4137
|
+
readonly content: {
|
|
4138
|
+
readonly "application/json": {
|
|
4139
|
+
readonly schema: {
|
|
4140
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4141
|
+
};
|
|
4142
|
+
};
|
|
4143
|
+
};
|
|
3996
4144
|
};
|
|
3997
4145
|
};
|
|
3998
4146
|
};
|
|
@@ -4033,9 +4181,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4033
4181
|
};
|
|
4034
4182
|
readonly 401: {
|
|
4035
4183
|
readonly description: "Unauthorized - Missing or invalid refresh token.";
|
|
4184
|
+
readonly content: {
|
|
4185
|
+
readonly "application/json": {
|
|
4186
|
+
readonly schema: {
|
|
4187
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4188
|
+
};
|
|
4189
|
+
};
|
|
4190
|
+
};
|
|
4036
4191
|
};
|
|
4037
4192
|
readonly 403: {
|
|
4038
4193
|
readonly description: "Forbidden - Token issuer is not 'refresh' or jti is blocked.";
|
|
4194
|
+
readonly content: {
|
|
4195
|
+
readonly "application/json": {
|
|
4196
|
+
readonly schema: {
|
|
4197
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4198
|
+
};
|
|
4199
|
+
};
|
|
4200
|
+
};
|
|
4039
4201
|
};
|
|
4040
4202
|
};
|
|
4041
4203
|
};
|
|
@@ -4101,9 +4263,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4101
4263
|
};
|
|
4102
4264
|
readonly 401: {
|
|
4103
4265
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4266
|
+
readonly content: {
|
|
4267
|
+
readonly "application/json": {
|
|
4268
|
+
readonly schema: {
|
|
4269
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4270
|
+
};
|
|
4271
|
+
};
|
|
4272
|
+
};
|
|
4104
4273
|
};
|
|
4105
4274
|
readonly 403: {
|
|
4106
4275
|
readonly description: "Forbidden - Token issuer is not 'access' or token expired.";
|
|
4276
|
+
readonly content: {
|
|
4277
|
+
readonly "application/json": {
|
|
4278
|
+
readonly schema: {
|
|
4279
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4107
4283
|
};
|
|
4108
4284
|
};
|
|
4109
4285
|
};
|
|
@@ -4169,9 +4345,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4169
4345
|
};
|
|
4170
4346
|
readonly 401: {
|
|
4171
4347
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4348
|
+
readonly content: {
|
|
4349
|
+
readonly "application/json": {
|
|
4350
|
+
readonly schema: {
|
|
4351
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4352
|
+
};
|
|
4353
|
+
};
|
|
4354
|
+
};
|
|
4172
4355
|
};
|
|
4173
4356
|
readonly 403: {
|
|
4174
4357
|
readonly description: "Forbidden - Token issuer is not 'access' or token expired.";
|
|
4358
|
+
readonly content: {
|
|
4359
|
+
readonly "application/json": {
|
|
4360
|
+
readonly schema: {
|
|
4361
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4364
|
+
};
|
|
4175
4365
|
};
|
|
4176
4366
|
};
|
|
4177
4367
|
};
|
|
@@ -4240,9 +4430,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4240
4430
|
};
|
|
4241
4431
|
readonly 401: {
|
|
4242
4432
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4433
|
+
readonly content: {
|
|
4434
|
+
readonly "application/json": {
|
|
4435
|
+
readonly schema: {
|
|
4436
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4437
|
+
};
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4243
4440
|
};
|
|
4244
4441
|
readonly 403: {
|
|
4245
4442
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
4443
|
+
readonly content: {
|
|
4444
|
+
readonly "application/json": {
|
|
4445
|
+
readonly schema: {
|
|
4446
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4447
|
+
};
|
|
4448
|
+
};
|
|
4449
|
+
};
|
|
4246
4450
|
};
|
|
4247
4451
|
};
|
|
4248
4452
|
};
|
|
@@ -4290,9 +4494,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4290
4494
|
};
|
|
4291
4495
|
readonly 401: {
|
|
4292
4496
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4497
|
+
readonly content: {
|
|
4498
|
+
readonly "application/json": {
|
|
4499
|
+
readonly schema: {
|
|
4500
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4501
|
+
};
|
|
4502
|
+
};
|
|
4503
|
+
};
|
|
4293
4504
|
};
|
|
4294
4505
|
readonly 403: {
|
|
4295
4506
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
4507
|
+
readonly content: {
|
|
4508
|
+
readonly "application/json": {
|
|
4509
|
+
readonly schema: {
|
|
4510
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4511
|
+
};
|
|
4512
|
+
};
|
|
4513
|
+
};
|
|
4296
4514
|
};
|
|
4297
4515
|
};
|
|
4298
4516
|
};
|
|
@@ -4480,6 +4698,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4480
4698
|
};
|
|
4481
4699
|
readonly 401: {
|
|
4482
4700
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4701
|
+
readonly content: {
|
|
4702
|
+
readonly "application/json": {
|
|
4703
|
+
readonly schema: {
|
|
4704
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4705
|
+
};
|
|
4706
|
+
};
|
|
4707
|
+
};
|
|
4483
4708
|
};
|
|
4484
4709
|
readonly 403: {
|
|
4485
4710
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -4573,6 +4798,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4573
4798
|
};
|
|
4574
4799
|
readonly 401: {
|
|
4575
4800
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4801
|
+
readonly content: {
|
|
4802
|
+
readonly "application/json": {
|
|
4803
|
+
readonly schema: {
|
|
4804
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4576
4808
|
};
|
|
4577
4809
|
readonly 403: {
|
|
4578
4810
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
|
|
@@ -4686,6 +4918,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4686
4918
|
};
|
|
4687
4919
|
readonly 401: {
|
|
4688
4920
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4921
|
+
readonly content: {
|
|
4922
|
+
readonly "application/json": {
|
|
4923
|
+
readonly schema: {
|
|
4924
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
4925
|
+
};
|
|
4926
|
+
};
|
|
4927
|
+
};
|
|
4689
4928
|
};
|
|
4690
4929
|
readonly 403: {
|
|
4691
4930
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -4776,6 +5015,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4776
5015
|
};
|
|
4777
5016
|
readonly 401: {
|
|
4778
5017
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5018
|
+
readonly content: {
|
|
5019
|
+
readonly "application/json": {
|
|
5020
|
+
readonly schema: {
|
|
5021
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5022
|
+
};
|
|
5023
|
+
};
|
|
5024
|
+
};
|
|
4779
5025
|
};
|
|
4780
5026
|
readonly 403: {
|
|
4781
5027
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -4864,6 +5110,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4864
5110
|
};
|
|
4865
5111
|
readonly 401: {
|
|
4866
5112
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5113
|
+
readonly content: {
|
|
5114
|
+
readonly "application/json": {
|
|
5115
|
+
readonly schema: {
|
|
5116
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5117
|
+
};
|
|
5118
|
+
};
|
|
5119
|
+
};
|
|
4867
5120
|
};
|
|
4868
5121
|
readonly 403: {
|
|
4869
5122
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -4984,8 +5237,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4984
5237
|
};
|
|
4985
5238
|
readonly 401: {
|
|
4986
5239
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
4987
|
-
|
|
4988
|
-
|
|
5240
|
+
readonly content: {
|
|
5241
|
+
readonly "application/json": {
|
|
5242
|
+
readonly schema: {
|
|
5243
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
};
|
|
5247
|
+
};
|
|
5248
|
+
readonly 403: {
|
|
4989
5249
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
4990
5250
|
readonly content: {
|
|
4991
5251
|
readonly "application/json": {
|
|
@@ -5067,6 +5327,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5067
5327
|
};
|
|
5068
5328
|
readonly 401: {
|
|
5069
5329
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5330
|
+
readonly content: {
|
|
5331
|
+
readonly "application/json": {
|
|
5332
|
+
readonly schema: {
|
|
5333
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5334
|
+
};
|
|
5335
|
+
};
|
|
5336
|
+
};
|
|
5070
5337
|
};
|
|
5071
5338
|
readonly 403: {
|
|
5072
5339
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -5149,6 +5416,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5149
5416
|
};
|
|
5150
5417
|
readonly 401: {
|
|
5151
5418
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5419
|
+
readonly content: {
|
|
5420
|
+
readonly "application/json": {
|
|
5421
|
+
readonly schema: {
|
|
5422
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5423
|
+
};
|
|
5424
|
+
};
|
|
5425
|
+
};
|
|
5152
5426
|
};
|
|
5153
5427
|
readonly 403: {
|
|
5154
5428
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -5218,6 +5492,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5218
5492
|
};
|
|
5219
5493
|
readonly 401: {
|
|
5220
5494
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5495
|
+
readonly content: {
|
|
5496
|
+
readonly "application/json": {
|
|
5497
|
+
readonly schema: {
|
|
5498
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5499
|
+
};
|
|
5500
|
+
};
|
|
5501
|
+
};
|
|
5221
5502
|
};
|
|
5222
5503
|
readonly 403: {
|
|
5223
5504
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -5248,7 +5529,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5248
5529
|
"Tasks"
|
|
5249
5530
|
];
|
|
5250
5531
|
readonly summary: "Create a new task";
|
|
5251
|
-
readonly description: "Creates a task in the specified workspace. Requires workspace access and write access to crm::tasks resource.";
|
|
5532
|
+
readonly description: "Creates a task in the specified workspace. When `assignees` is provided, each listed collaborator is assigned to the task and the assigned user receives an in-app \"New task assigned\" notification; collaborator IDs that don't belong to the workspace are skipped. Requires workspace access and write access to crm::tasks resource.";
|
|
5252
5533
|
readonly security: readonly [
|
|
5253
5534
|
never
|
|
5254
5535
|
];
|
|
@@ -5310,7 +5591,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5310
5591
|
readonly format: "uuid";
|
|
5311
5592
|
};
|
|
5312
5593
|
readonly nullable: true;
|
|
5313
|
-
readonly description: "
|
|
5594
|
+
readonly description: "Collaborator IDs to assign to the task. Each assigned user gets an in-app \"New task assigned\" notification. IDs outside the workspace are skipped.";
|
|
5314
5595
|
};
|
|
5315
5596
|
readonly comments: {
|
|
5316
5597
|
readonly type: "array";
|
|
@@ -5365,6 +5646,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5365
5646
|
};
|
|
5366
5647
|
readonly 401: {
|
|
5367
5648
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5649
|
+
readonly content: {
|
|
5650
|
+
readonly "application/json": {
|
|
5651
|
+
readonly schema: {
|
|
5652
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5653
|
+
};
|
|
5654
|
+
};
|
|
5655
|
+
};
|
|
5368
5656
|
};
|
|
5369
5657
|
readonly 403: {
|
|
5370
5658
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -5424,6 +5712,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5424
5712
|
};
|
|
5425
5713
|
readonly 401: {
|
|
5426
5714
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5715
|
+
readonly content: {
|
|
5716
|
+
readonly "application/json": {
|
|
5717
|
+
readonly schema: {
|
|
5718
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5719
|
+
};
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
5427
5722
|
};
|
|
5428
5723
|
readonly 403: {
|
|
5429
5724
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -5493,6 +5788,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5493
5788
|
};
|
|
5494
5789
|
readonly 401: {
|
|
5495
5790
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5791
|
+
readonly content: {
|
|
5792
|
+
readonly "application/json": {
|
|
5793
|
+
readonly schema: {
|
|
5794
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5795
|
+
};
|
|
5796
|
+
};
|
|
5797
|
+
};
|
|
5496
5798
|
};
|
|
5497
5799
|
readonly 403: {
|
|
5498
5800
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -5523,7 +5825,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5523
5825
|
"Tasks"
|
|
5524
5826
|
];
|
|
5525
5827
|
readonly summary: "Update a task";
|
|
5526
|
-
readonly description: "Updates a task in the specified workspace. Only the task creator can update the task. Requires workspace access and write access to crm::tasks resource.";
|
|
5828
|
+
readonly description: "Updates a task in the specified workspace. When `assignees` is provided it is treated as the full desired set of assigned collaborators: collaborators missing from the list are unassigned (their user gets a \"Removed from task\" notification) and newly listed collaborators are assigned (their user gets a \"New task assigned\" notification). Omit the field to leave assignments untouched. Only the task creator can update the task. Requires workspace access and write access to crm::tasks resource.";
|
|
5527
5829
|
readonly security: readonly [
|
|
5528
5830
|
never
|
|
5529
5831
|
];
|
|
@@ -5585,7 +5887,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5585
5887
|
readonly format: "uuid";
|
|
5586
5888
|
};
|
|
5587
5889
|
readonly nullable: true;
|
|
5588
|
-
readonly description: "
|
|
5890
|
+
readonly description: "Full desired set of assigned collaborator IDs. Missing collaborators are unassigned, new ones assigned (both with in-app notifications). Omit to leave assignments unchanged. IDs outside the workspace are skipped.";
|
|
5589
5891
|
};
|
|
5590
5892
|
readonly visibility: {
|
|
5591
5893
|
readonly type: "string";
|
|
@@ -5624,6 +5926,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5624
5926
|
};
|
|
5625
5927
|
readonly 401: {
|
|
5626
5928
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
5929
|
+
readonly content: {
|
|
5930
|
+
readonly "application/json": {
|
|
5931
|
+
readonly schema: {
|
|
5932
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
5933
|
+
};
|
|
5934
|
+
};
|
|
5935
|
+
};
|
|
5627
5936
|
};
|
|
5628
5937
|
readonly 403: {
|
|
5629
5938
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, user lacks write access to crm::tasks resource, or user is not the creator of the task.";
|
|
@@ -5717,6 +6026,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5717
6026
|
};
|
|
5718
6027
|
readonly 401: {
|
|
5719
6028
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6029
|
+
readonly content: {
|
|
6030
|
+
readonly "application/json": {
|
|
6031
|
+
readonly schema: {
|
|
6032
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6033
|
+
};
|
|
6034
|
+
};
|
|
6035
|
+
};
|
|
5720
6036
|
};
|
|
5721
6037
|
readonly 403: {
|
|
5722
6038
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -5796,6 +6112,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5796
6112
|
};
|
|
5797
6113
|
readonly 401: {
|
|
5798
6114
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6115
|
+
readonly content: {
|
|
6116
|
+
readonly "application/json": {
|
|
6117
|
+
readonly schema: {
|
|
6118
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6119
|
+
};
|
|
6120
|
+
};
|
|
6121
|
+
};
|
|
5799
6122
|
};
|
|
5800
6123
|
readonly 403: {
|
|
5801
6124
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -5885,6 +6208,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5885
6208
|
};
|
|
5886
6209
|
readonly 401: {
|
|
5887
6210
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6211
|
+
readonly content: {
|
|
6212
|
+
readonly "application/json": {
|
|
6213
|
+
readonly schema: {
|
|
6214
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6215
|
+
};
|
|
6216
|
+
};
|
|
6217
|
+
};
|
|
5888
6218
|
};
|
|
5889
6219
|
readonly 403: {
|
|
5890
6220
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -5972,6 +6302,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5972
6302
|
};
|
|
5973
6303
|
readonly 401: {
|
|
5974
6304
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6305
|
+
readonly content: {
|
|
6306
|
+
readonly "application/json": {
|
|
6307
|
+
readonly schema: {
|
|
6308
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6309
|
+
};
|
|
6310
|
+
};
|
|
6311
|
+
};
|
|
5975
6312
|
};
|
|
5976
6313
|
readonly 403: {
|
|
5977
6314
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -6041,6 +6378,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6041
6378
|
};
|
|
6042
6379
|
readonly 401: {
|
|
6043
6380
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6381
|
+
readonly content: {
|
|
6382
|
+
readonly "application/json": {
|
|
6383
|
+
readonly schema: {
|
|
6384
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6385
|
+
};
|
|
6386
|
+
};
|
|
6387
|
+
};
|
|
6044
6388
|
};
|
|
6045
6389
|
readonly 403: {
|
|
6046
6390
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -6134,6 +6478,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6134
6478
|
};
|
|
6135
6479
|
readonly 401: {
|
|
6136
6480
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6481
|
+
readonly content: {
|
|
6482
|
+
readonly "application/json": {
|
|
6483
|
+
readonly schema: {
|
|
6484
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6485
|
+
};
|
|
6486
|
+
};
|
|
6487
|
+
};
|
|
6137
6488
|
};
|
|
6138
6489
|
readonly 403: {
|
|
6139
6490
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -6219,6 +6570,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6219
6570
|
};
|
|
6220
6571
|
readonly 401: {
|
|
6221
6572
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6573
|
+
readonly content: {
|
|
6574
|
+
readonly "application/json": {
|
|
6575
|
+
readonly schema: {
|
|
6576
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6577
|
+
};
|
|
6578
|
+
};
|
|
6579
|
+
};
|
|
6222
6580
|
};
|
|
6223
6581
|
readonly 403: {
|
|
6224
6582
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -6298,6 +6656,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6298
6656
|
};
|
|
6299
6657
|
readonly 401: {
|
|
6300
6658
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6659
|
+
readonly content: {
|
|
6660
|
+
readonly "application/json": {
|
|
6661
|
+
readonly schema: {
|
|
6662
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6663
|
+
};
|
|
6664
|
+
};
|
|
6665
|
+
};
|
|
6301
6666
|
};
|
|
6302
6667
|
readonly 403: {
|
|
6303
6668
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -6387,6 +6752,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6387
6752
|
};
|
|
6388
6753
|
readonly 401: {
|
|
6389
6754
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6755
|
+
readonly content: {
|
|
6756
|
+
readonly "application/json": {
|
|
6757
|
+
readonly schema: {
|
|
6758
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6759
|
+
};
|
|
6760
|
+
};
|
|
6761
|
+
};
|
|
6390
6762
|
};
|
|
6391
6763
|
readonly 403: {
|
|
6392
6764
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -6481,6 +6853,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6481
6853
|
};
|
|
6482
6854
|
readonly 401: {
|
|
6483
6855
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6856
|
+
readonly content: {
|
|
6857
|
+
readonly "application/json": {
|
|
6858
|
+
readonly schema: {
|
|
6859
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6860
|
+
};
|
|
6861
|
+
};
|
|
6862
|
+
};
|
|
6484
6863
|
};
|
|
6485
6864
|
readonly 403: {
|
|
6486
6865
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -6511,7 +6890,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6511
6890
|
"Events"
|
|
6512
6891
|
];
|
|
6513
6892
|
readonly summary: "Subscribe to Server-Sent Events stream";
|
|
6514
|
-
readonly description: "Establishes
|
|
6893
|
+
readonly description: "Establishes an authenticated Server-Sent Events (SSE) connection for real-time event streaming. The connection sends a connected event immediately, keepalive events every 30 seconds, and stream events published through NATS. Stream events are filtered by the authenticated user's userId.";
|
|
6515
6894
|
readonly security: readonly [
|
|
6516
6895
|
never
|
|
6517
6896
|
];
|
|
@@ -6522,7 +6901,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6522
6901
|
readonly "text/event-stream": {
|
|
6523
6902
|
readonly schema: {
|
|
6524
6903
|
readonly type: "string";
|
|
6525
|
-
readonly description: "Server-Sent Events stream. Events include 'connected'
|
|
6904
|
+
readonly description: "Server-Sent Events stream. Events include 'connected', 'keepalive', and 'stream' event types.";
|
|
6526
6905
|
readonly example: "event: connected\ndata: {\"message\":\"Connected\",\"time\":1234567890}\n\n";
|
|
6527
6906
|
};
|
|
6528
6907
|
};
|
|
@@ -6553,6 +6932,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6553
6932
|
};
|
|
6554
6933
|
readonly 401: {
|
|
6555
6934
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
6935
|
+
readonly content: {
|
|
6936
|
+
readonly "application/json": {
|
|
6937
|
+
readonly schema: {
|
|
6938
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6939
|
+
};
|
|
6940
|
+
};
|
|
6941
|
+
};
|
|
6556
6942
|
};
|
|
6557
6943
|
readonly 403: {
|
|
6558
6944
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
@@ -6672,6 +7058,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6672
7058
|
};
|
|
6673
7059
|
readonly 401: {
|
|
6674
7060
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7061
|
+
readonly content: {
|
|
7062
|
+
readonly "application/json": {
|
|
7063
|
+
readonly schema: {
|
|
7064
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7065
|
+
};
|
|
7066
|
+
};
|
|
7067
|
+
};
|
|
6675
7068
|
};
|
|
6676
7069
|
readonly 403: {
|
|
6677
7070
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
|
|
@@ -6731,6 +7124,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6731
7124
|
};
|
|
6732
7125
|
readonly 401: {
|
|
6733
7126
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7127
|
+
readonly content: {
|
|
7128
|
+
readonly "application/json": {
|
|
7129
|
+
readonly schema: {
|
|
7130
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7131
|
+
};
|
|
7132
|
+
};
|
|
7133
|
+
};
|
|
6734
7134
|
};
|
|
6735
7135
|
readonly 403: {
|
|
6736
7136
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::customers resource.";
|
|
@@ -6800,6 +7200,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6800
7200
|
};
|
|
6801
7201
|
readonly 401: {
|
|
6802
7202
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7203
|
+
readonly content: {
|
|
7204
|
+
readonly "application/json": {
|
|
7205
|
+
readonly schema: {
|
|
7206
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7207
|
+
};
|
|
7208
|
+
};
|
|
7209
|
+
};
|
|
6803
7210
|
};
|
|
6804
7211
|
readonly 403: {
|
|
6805
7212
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::customers resource.";
|
|
@@ -6883,6 +7290,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6883
7290
|
};
|
|
6884
7291
|
readonly 401: {
|
|
6885
7292
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7293
|
+
readonly content: {
|
|
7294
|
+
readonly "application/json": {
|
|
7295
|
+
readonly schema: {
|
|
7296
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7297
|
+
};
|
|
7298
|
+
};
|
|
7299
|
+
};
|
|
6886
7300
|
};
|
|
6887
7301
|
readonly 403: {
|
|
6888
7302
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
|
|
@@ -7015,6 +7429,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7015
7429
|
};
|
|
7016
7430
|
readonly 401: {
|
|
7017
7431
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7432
|
+
readonly content: {
|
|
7433
|
+
readonly "application/json": {
|
|
7434
|
+
readonly schema: {
|
|
7435
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7436
|
+
};
|
|
7437
|
+
};
|
|
7438
|
+
};
|
|
7018
7439
|
};
|
|
7019
7440
|
readonly 403: {
|
|
7020
7441
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
|
|
@@ -7098,6 +7519,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7098
7519
|
};
|
|
7099
7520
|
readonly 401: {
|
|
7100
7521
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7522
|
+
readonly content: {
|
|
7523
|
+
readonly "application/json": {
|
|
7524
|
+
readonly schema: {
|
|
7525
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7526
|
+
};
|
|
7527
|
+
};
|
|
7528
|
+
};
|
|
7101
7529
|
};
|
|
7102
7530
|
readonly 403: {
|
|
7103
7531
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -7213,6 +7641,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7213
7641
|
};
|
|
7214
7642
|
readonly 401: {
|
|
7215
7643
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7644
|
+
readonly content: {
|
|
7645
|
+
readonly "application/json": {
|
|
7646
|
+
readonly schema: {
|
|
7647
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7648
|
+
};
|
|
7649
|
+
};
|
|
7650
|
+
};
|
|
7216
7651
|
};
|
|
7217
7652
|
readonly 403: {
|
|
7218
7653
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
|
|
@@ -7282,6 +7717,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7282
7717
|
};
|
|
7283
7718
|
readonly 401: {
|
|
7284
7719
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7720
|
+
readonly content: {
|
|
7721
|
+
readonly "application/json": {
|
|
7722
|
+
readonly schema: {
|
|
7723
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7724
|
+
};
|
|
7725
|
+
};
|
|
7726
|
+
};
|
|
7285
7727
|
};
|
|
7286
7728
|
readonly 403: {
|
|
7287
7729
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::services resource.";
|
|
@@ -7331,6 +7773,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7331
7773
|
};
|
|
7332
7774
|
readonly 401: {
|
|
7333
7775
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7776
|
+
readonly content: {
|
|
7777
|
+
readonly "application/json": {
|
|
7778
|
+
readonly schema: {
|
|
7779
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7780
|
+
};
|
|
7781
|
+
};
|
|
7782
|
+
};
|
|
7334
7783
|
};
|
|
7335
7784
|
readonly 403: {
|
|
7336
7785
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::services resource.";
|
|
@@ -7437,6 +7886,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7437
7886
|
};
|
|
7438
7887
|
readonly 401: {
|
|
7439
7888
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7889
|
+
readonly content: {
|
|
7890
|
+
readonly "application/json": {
|
|
7891
|
+
readonly schema: {
|
|
7892
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7893
|
+
};
|
|
7894
|
+
};
|
|
7895
|
+
};
|
|
7440
7896
|
};
|
|
7441
7897
|
readonly 403: {
|
|
7442
7898
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
|
|
@@ -7530,6 +7986,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7530
7986
|
};
|
|
7531
7987
|
readonly 401: {
|
|
7532
7988
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
7989
|
+
readonly content: {
|
|
7990
|
+
readonly "application/json": {
|
|
7991
|
+
readonly schema: {
|
|
7992
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7993
|
+
};
|
|
7994
|
+
};
|
|
7995
|
+
};
|
|
7533
7996
|
};
|
|
7534
7997
|
readonly 403: {
|
|
7535
7998
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
|
|
@@ -7623,6 +8086,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7623
8086
|
};
|
|
7624
8087
|
readonly 401: {
|
|
7625
8088
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8089
|
+
readonly content: {
|
|
8090
|
+
readonly "application/json": {
|
|
8091
|
+
readonly schema: {
|
|
8092
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8093
|
+
};
|
|
8094
|
+
};
|
|
8095
|
+
};
|
|
7626
8096
|
};
|
|
7627
8097
|
readonly 403: {
|
|
7628
8098
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -7682,6 +8152,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7682
8152
|
};
|
|
7683
8153
|
readonly 401: {
|
|
7684
8154
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8155
|
+
readonly content: {
|
|
8156
|
+
readonly "application/json": {
|
|
8157
|
+
readonly schema: {
|
|
8158
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8159
|
+
};
|
|
8160
|
+
};
|
|
8161
|
+
};
|
|
7685
8162
|
};
|
|
7686
8163
|
readonly 403: {
|
|
7687
8164
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -7741,6 +8218,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7741
8218
|
};
|
|
7742
8219
|
readonly 401: {
|
|
7743
8220
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8221
|
+
readonly content: {
|
|
8222
|
+
readonly "application/json": {
|
|
8223
|
+
readonly schema: {
|
|
8224
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8225
|
+
};
|
|
8226
|
+
};
|
|
8227
|
+
};
|
|
7744
8228
|
};
|
|
7745
8229
|
readonly 403: {
|
|
7746
8230
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
|
|
@@ -7820,6 +8304,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7820
8304
|
};
|
|
7821
8305
|
readonly 401: {
|
|
7822
8306
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8307
|
+
readonly content: {
|
|
8308
|
+
readonly "application/json": {
|
|
8309
|
+
readonly schema: {
|
|
8310
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8311
|
+
};
|
|
8312
|
+
};
|
|
8313
|
+
};
|
|
7823
8314
|
};
|
|
7824
8315
|
readonly 403: {
|
|
7825
8316
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -7923,6 +8414,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7923
8414
|
};
|
|
7924
8415
|
readonly 401: {
|
|
7925
8416
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8417
|
+
readonly content: {
|
|
8418
|
+
readonly "application/json": {
|
|
8419
|
+
readonly schema: {
|
|
8420
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8421
|
+
};
|
|
8422
|
+
};
|
|
8423
|
+
};
|
|
7926
8424
|
};
|
|
7927
8425
|
readonly 403: {
|
|
7928
8426
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -8055,6 +8553,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8055
8553
|
};
|
|
8056
8554
|
readonly 401: {
|
|
8057
8555
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8556
|
+
readonly content: {
|
|
8557
|
+
readonly "application/json": {
|
|
8558
|
+
readonly schema: {
|
|
8559
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8560
|
+
};
|
|
8561
|
+
};
|
|
8562
|
+
};
|
|
8058
8563
|
};
|
|
8059
8564
|
readonly 403: {
|
|
8060
8565
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -8114,6 +8619,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8114
8619
|
};
|
|
8115
8620
|
readonly 401: {
|
|
8116
8621
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8622
|
+
readonly content: {
|
|
8623
|
+
readonly "application/json": {
|
|
8624
|
+
readonly schema: {
|
|
8625
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8626
|
+
};
|
|
8627
|
+
};
|
|
8628
|
+
};
|
|
8117
8629
|
};
|
|
8118
8630
|
readonly 403: {
|
|
8119
8631
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
|
|
@@ -8183,6 +8695,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8183
8695
|
};
|
|
8184
8696
|
readonly 401: {
|
|
8185
8697
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8698
|
+
readonly content: {
|
|
8699
|
+
readonly "application/json": {
|
|
8700
|
+
readonly schema: {
|
|
8701
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8702
|
+
};
|
|
8703
|
+
};
|
|
8704
|
+
};
|
|
8186
8705
|
};
|
|
8187
8706
|
readonly 403: {
|
|
8188
8707
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
|
|
@@ -8313,6 +8832,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8313
8832
|
};
|
|
8314
8833
|
readonly 401: {
|
|
8315
8834
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8835
|
+
readonly content: {
|
|
8836
|
+
readonly "application/json": {
|
|
8837
|
+
readonly schema: {
|
|
8838
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8839
|
+
};
|
|
8840
|
+
};
|
|
8841
|
+
};
|
|
8316
8842
|
};
|
|
8317
8843
|
readonly 403: {
|
|
8318
8844
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -8396,6 +8922,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8396
8922
|
};
|
|
8397
8923
|
readonly 401: {
|
|
8398
8924
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8925
|
+
readonly content: {
|
|
8926
|
+
readonly "application/json": {
|
|
8927
|
+
readonly schema: {
|
|
8928
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8929
|
+
};
|
|
8930
|
+
};
|
|
8931
|
+
};
|
|
8399
8932
|
};
|
|
8400
8933
|
readonly 403: {
|
|
8401
8934
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
|
|
@@ -8455,6 +8988,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8455
8988
|
};
|
|
8456
8989
|
readonly 401: {
|
|
8457
8990
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8991
|
+
readonly content: {
|
|
8992
|
+
readonly "application/json": {
|
|
8993
|
+
readonly schema: {
|
|
8994
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
8995
|
+
};
|
|
8996
|
+
};
|
|
8997
|
+
};
|
|
8458
8998
|
};
|
|
8459
8999
|
readonly 403: {
|
|
8460
9000
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to both crm::tasks and crm::customers.";
|
|
@@ -8531,6 +9071,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8531
9071
|
};
|
|
8532
9072
|
readonly 401: {
|
|
8533
9073
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9074
|
+
readonly content: {
|
|
9075
|
+
readonly "application/json": {
|
|
9076
|
+
readonly schema: {
|
|
9077
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9078
|
+
};
|
|
9079
|
+
};
|
|
9080
|
+
};
|
|
8534
9081
|
};
|
|
8535
9082
|
readonly 403: {
|
|
8536
9083
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to both crm::tasks and crm::customers.";
|
|
@@ -8612,6 +9159,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8612
9159
|
};
|
|
8613
9160
|
readonly 401: {
|
|
8614
9161
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9162
|
+
readonly content: {
|
|
9163
|
+
readonly "application/json": {
|
|
9164
|
+
readonly schema: {
|
|
9165
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9166
|
+
};
|
|
9167
|
+
};
|
|
9168
|
+
};
|
|
8615
9169
|
};
|
|
8616
9170
|
readonly 403: {
|
|
8617
9171
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
|
|
@@ -8685,6 +9239,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8685
9239
|
};
|
|
8686
9240
|
readonly 401: {
|
|
8687
9241
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9242
|
+
readonly content: {
|
|
9243
|
+
readonly "application/json": {
|
|
9244
|
+
readonly schema: {
|
|
9245
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9246
|
+
};
|
|
9247
|
+
};
|
|
9248
|
+
};
|
|
8688
9249
|
};
|
|
8689
9250
|
readonly 403: {
|
|
8690
9251
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
|
|
@@ -8774,6 +9335,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8774
9335
|
};
|
|
8775
9336
|
readonly 401: {
|
|
8776
9337
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9338
|
+
readonly content: {
|
|
9339
|
+
readonly "application/json": {
|
|
9340
|
+
readonly schema: {
|
|
9341
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9342
|
+
};
|
|
9343
|
+
};
|
|
9344
|
+
};
|
|
8777
9345
|
};
|
|
8778
9346
|
readonly 403: {
|
|
8779
9347
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -8861,9 +9429,16 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8861
9429
|
};
|
|
8862
9430
|
};
|
|
8863
9431
|
};
|
|
8864
|
-
readonly 401: {
|
|
8865
|
-
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
8866
|
-
|
|
9432
|
+
readonly 401: {
|
|
9433
|
+
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9434
|
+
readonly content: {
|
|
9435
|
+
readonly "application/json": {
|
|
9436
|
+
readonly schema: {
|
|
9437
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9438
|
+
};
|
|
9439
|
+
};
|
|
9440
|
+
};
|
|
9441
|
+
};
|
|
8867
9442
|
readonly 403: {
|
|
8868
9443
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
|
|
8869
9444
|
readonly content: {
|
|
@@ -8952,6 +9527,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
8952
9527
|
};
|
|
8953
9528
|
readonly 401: {
|
|
8954
9529
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9530
|
+
readonly content: {
|
|
9531
|
+
readonly "application/json": {
|
|
9532
|
+
readonly schema: {
|
|
9533
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9534
|
+
};
|
|
9535
|
+
};
|
|
9536
|
+
};
|
|
8955
9537
|
};
|
|
8956
9538
|
readonly 403: {
|
|
8957
9539
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
|
|
@@ -9041,6 +9623,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9041
9623
|
};
|
|
9042
9624
|
readonly 401: {
|
|
9043
9625
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9626
|
+
readonly content: {
|
|
9627
|
+
readonly "application/json": {
|
|
9628
|
+
readonly schema: {
|
|
9629
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9630
|
+
};
|
|
9631
|
+
};
|
|
9632
|
+
};
|
|
9044
9633
|
};
|
|
9045
9634
|
readonly 403: {
|
|
9046
9635
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
|
|
@@ -9108,6 +9697,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9108
9697
|
};
|
|
9109
9698
|
readonly 401: {
|
|
9110
9699
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9700
|
+
readonly content: {
|
|
9701
|
+
readonly "application/json": {
|
|
9702
|
+
readonly schema: {
|
|
9703
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9704
|
+
};
|
|
9705
|
+
};
|
|
9706
|
+
};
|
|
9111
9707
|
};
|
|
9112
9708
|
readonly 403: {
|
|
9113
9709
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9175,6 +9771,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9175
9771
|
};
|
|
9176
9772
|
readonly 401: {
|
|
9177
9773
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9774
|
+
readonly content: {
|
|
9775
|
+
readonly "application/json": {
|
|
9776
|
+
readonly schema: {
|
|
9777
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9778
|
+
};
|
|
9779
|
+
};
|
|
9780
|
+
};
|
|
9178
9781
|
};
|
|
9179
9782
|
readonly 403: {
|
|
9180
9783
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9242,6 +9845,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9242
9845
|
};
|
|
9243
9846
|
readonly 401: {
|
|
9244
9847
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9848
|
+
readonly content: {
|
|
9849
|
+
readonly "application/json": {
|
|
9850
|
+
readonly schema: {
|
|
9851
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9852
|
+
};
|
|
9853
|
+
};
|
|
9854
|
+
};
|
|
9245
9855
|
};
|
|
9246
9856
|
readonly 403: {
|
|
9247
9857
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9311,6 +9921,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9311
9921
|
};
|
|
9312
9922
|
readonly 401: {
|
|
9313
9923
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9924
|
+
readonly content: {
|
|
9925
|
+
readonly "application/json": {
|
|
9926
|
+
readonly schema: {
|
|
9927
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9928
|
+
};
|
|
9929
|
+
};
|
|
9930
|
+
};
|
|
9314
9931
|
};
|
|
9315
9932
|
readonly 403: {
|
|
9316
9933
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9389,6 +10006,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9389
10006
|
};
|
|
9390
10007
|
readonly 401: {
|
|
9391
10008
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10009
|
+
readonly content: {
|
|
10010
|
+
readonly "application/json": {
|
|
10011
|
+
readonly schema: {
|
|
10012
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10013
|
+
};
|
|
10014
|
+
};
|
|
10015
|
+
};
|
|
9392
10016
|
};
|
|
9393
10017
|
readonly 403: {
|
|
9394
10018
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9456,6 +10080,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9456
10080
|
};
|
|
9457
10081
|
readonly 401: {
|
|
9458
10082
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10083
|
+
readonly content: {
|
|
10084
|
+
readonly "application/json": {
|
|
10085
|
+
readonly schema: {
|
|
10086
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10087
|
+
};
|
|
10088
|
+
};
|
|
10089
|
+
};
|
|
9459
10090
|
};
|
|
9460
10091
|
readonly 403: {
|
|
9461
10092
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9523,6 +10154,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9523
10154
|
};
|
|
9524
10155
|
readonly 401: {
|
|
9525
10156
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10157
|
+
readonly content: {
|
|
10158
|
+
readonly "application/json": {
|
|
10159
|
+
readonly schema: {
|
|
10160
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10161
|
+
};
|
|
10162
|
+
};
|
|
10163
|
+
};
|
|
9526
10164
|
};
|
|
9527
10165
|
readonly 403: {
|
|
9528
10166
|
readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
|
|
@@ -9600,6 +10238,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9600
10238
|
};
|
|
9601
10239
|
readonly 401: {
|
|
9602
10240
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10241
|
+
readonly content: {
|
|
10242
|
+
readonly "application/json": {
|
|
10243
|
+
readonly schema: {
|
|
10244
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10245
|
+
};
|
|
10246
|
+
};
|
|
10247
|
+
};
|
|
9603
10248
|
};
|
|
9604
10249
|
readonly 403: {
|
|
9605
10250
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks.";
|
|
@@ -9679,6 +10324,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9679
10324
|
};
|
|
9680
10325
|
readonly 401: {
|
|
9681
10326
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10327
|
+
readonly content: {
|
|
10328
|
+
readonly "application/json": {
|
|
10329
|
+
readonly schema: {
|
|
10330
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10331
|
+
};
|
|
10332
|
+
};
|
|
10333
|
+
};
|
|
9682
10334
|
};
|
|
9683
10335
|
readonly 403: {
|
|
9684
10336
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks.";
|
|
@@ -9751,9 +10403,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9751
10403
|
};
|
|
9752
10404
|
readonly 401: {
|
|
9753
10405
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10406
|
+
readonly content: {
|
|
10407
|
+
readonly "application/json": {
|
|
10408
|
+
readonly schema: {
|
|
10409
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10410
|
+
};
|
|
10411
|
+
};
|
|
10412
|
+
};
|
|
9754
10413
|
};
|
|
9755
10414
|
readonly 403: {
|
|
9756
10415
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10416
|
+
readonly content: {
|
|
10417
|
+
readonly "application/json": {
|
|
10418
|
+
readonly schema: {
|
|
10419
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10420
|
+
};
|
|
10421
|
+
};
|
|
10422
|
+
};
|
|
9757
10423
|
};
|
|
9758
10424
|
};
|
|
9759
10425
|
};
|
|
@@ -9791,9 +10457,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9791
10457
|
};
|
|
9792
10458
|
readonly 401: {
|
|
9793
10459
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10460
|
+
readonly content: {
|
|
10461
|
+
readonly "application/json": {
|
|
10462
|
+
readonly schema: {
|
|
10463
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10464
|
+
};
|
|
10465
|
+
};
|
|
10466
|
+
};
|
|
9794
10467
|
};
|
|
9795
10468
|
readonly 403: {
|
|
9796
10469
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10470
|
+
readonly content: {
|
|
10471
|
+
readonly "application/json": {
|
|
10472
|
+
readonly schema: {
|
|
10473
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10474
|
+
};
|
|
10475
|
+
};
|
|
10476
|
+
};
|
|
9797
10477
|
};
|
|
9798
10478
|
};
|
|
9799
10479
|
};
|
|
@@ -9821,9 +10501,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9821
10501
|
};
|
|
9822
10502
|
readonly 401: {
|
|
9823
10503
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10504
|
+
readonly content: {
|
|
10505
|
+
readonly "application/json": {
|
|
10506
|
+
readonly schema: {
|
|
10507
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10508
|
+
};
|
|
10509
|
+
};
|
|
10510
|
+
};
|
|
9824
10511
|
};
|
|
9825
10512
|
readonly 403: {
|
|
9826
10513
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10514
|
+
readonly content: {
|
|
10515
|
+
readonly "application/json": {
|
|
10516
|
+
readonly schema: {
|
|
10517
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10518
|
+
};
|
|
10519
|
+
};
|
|
10520
|
+
};
|
|
9827
10521
|
};
|
|
9828
10522
|
readonly 500: {
|
|
9829
10523
|
readonly description: "Failed to delete the profile picture object.";
|
|
@@ -9886,6 +10580,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9886
10580
|
};
|
|
9887
10581
|
readonly 401: {
|
|
9888
10582
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10583
|
+
readonly content: {
|
|
10584
|
+
readonly "application/json": {
|
|
10585
|
+
readonly schema: {
|
|
10586
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10587
|
+
};
|
|
10588
|
+
};
|
|
10589
|
+
};
|
|
9889
10590
|
};
|
|
9890
10591
|
readonly 403: {
|
|
9891
10592
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
|
|
@@ -9953,6 +10654,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9953
10654
|
};
|
|
9954
10655
|
readonly 401: {
|
|
9955
10656
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10657
|
+
readonly content: {
|
|
10658
|
+
readonly "application/json": {
|
|
10659
|
+
readonly schema: {
|
|
10660
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10661
|
+
};
|
|
10662
|
+
};
|
|
10663
|
+
};
|
|
9956
10664
|
};
|
|
9957
10665
|
readonly 403: {
|
|
9958
10666
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
|
|
@@ -10020,6 +10728,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10020
10728
|
};
|
|
10021
10729
|
readonly 401: {
|
|
10022
10730
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10731
|
+
readonly content: {
|
|
10732
|
+
readonly "application/json": {
|
|
10733
|
+
readonly schema: {
|
|
10734
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10735
|
+
};
|
|
10736
|
+
};
|
|
10737
|
+
};
|
|
10023
10738
|
};
|
|
10024
10739
|
readonly 403: {
|
|
10025
10740
|
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
|
|
@@ -10111,9 +10826,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10111
10826
|
};
|
|
10112
10827
|
readonly 401: {
|
|
10113
10828
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10829
|
+
readonly content: {
|
|
10830
|
+
readonly "application/json": {
|
|
10831
|
+
readonly schema: {
|
|
10832
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10833
|
+
};
|
|
10834
|
+
};
|
|
10835
|
+
};
|
|
10114
10836
|
};
|
|
10115
10837
|
readonly 403: {
|
|
10116
10838
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10839
|
+
readonly content: {
|
|
10840
|
+
readonly "application/json": {
|
|
10841
|
+
readonly schema: {
|
|
10842
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10843
|
+
};
|
|
10844
|
+
};
|
|
10845
|
+
};
|
|
10117
10846
|
};
|
|
10118
10847
|
};
|
|
10119
10848
|
};
|
|
@@ -10161,9 +10890,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10161
10890
|
};
|
|
10162
10891
|
readonly 401: {
|
|
10163
10892
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10893
|
+
readonly content: {
|
|
10894
|
+
readonly "application/json": {
|
|
10895
|
+
readonly schema: {
|
|
10896
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10897
|
+
};
|
|
10898
|
+
};
|
|
10899
|
+
};
|
|
10164
10900
|
};
|
|
10165
10901
|
readonly 403: {
|
|
10166
10902
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10903
|
+
readonly content: {
|
|
10904
|
+
readonly "application/json": {
|
|
10905
|
+
readonly schema: {
|
|
10906
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10907
|
+
};
|
|
10908
|
+
};
|
|
10909
|
+
};
|
|
10167
10910
|
};
|
|
10168
10911
|
readonly 404: {
|
|
10169
10912
|
readonly description: "Notification not found for this user.";
|
|
@@ -10201,9 +10944,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10201
10944
|
};
|
|
10202
10945
|
readonly 401: {
|
|
10203
10946
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
10947
|
+
readonly content: {
|
|
10948
|
+
readonly "application/json": {
|
|
10949
|
+
readonly schema: {
|
|
10950
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10951
|
+
};
|
|
10952
|
+
};
|
|
10953
|
+
};
|
|
10204
10954
|
};
|
|
10205
10955
|
readonly 403: {
|
|
10206
10956
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
10957
|
+
readonly content: {
|
|
10958
|
+
readonly "application/json": {
|
|
10959
|
+
readonly schema: {
|
|
10960
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
10961
|
+
};
|
|
10962
|
+
};
|
|
10963
|
+
};
|
|
10207
10964
|
};
|
|
10208
10965
|
};
|
|
10209
10966
|
};
|
|
@@ -10251,9 +11008,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10251
11008
|
};
|
|
10252
11009
|
readonly 401: {
|
|
10253
11010
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
11011
|
+
readonly content: {
|
|
11012
|
+
readonly "application/json": {
|
|
11013
|
+
readonly schema: {
|
|
11014
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11015
|
+
};
|
|
11016
|
+
};
|
|
11017
|
+
};
|
|
10254
11018
|
};
|
|
10255
11019
|
readonly 403: {
|
|
10256
11020
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
11021
|
+
readonly content: {
|
|
11022
|
+
readonly "application/json": {
|
|
11023
|
+
readonly schema: {
|
|
11024
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11025
|
+
};
|
|
11026
|
+
};
|
|
11027
|
+
};
|
|
10257
11028
|
};
|
|
10258
11029
|
readonly 404: {
|
|
10259
11030
|
readonly description: "Notification not found for this user.";
|
|
@@ -10291,9 +11062,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10291
11062
|
};
|
|
10292
11063
|
readonly 401: {
|
|
10293
11064
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
11065
|
+
readonly content: {
|
|
11066
|
+
readonly "application/json": {
|
|
11067
|
+
readonly schema: {
|
|
11068
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11069
|
+
};
|
|
11070
|
+
};
|
|
11071
|
+
};
|
|
10294
11072
|
};
|
|
10295
11073
|
readonly 403: {
|
|
10296
11074
|
readonly description: "Forbidden - Token issuer is not 'access'.";
|
|
11075
|
+
readonly content: {
|
|
11076
|
+
readonly "application/json": {
|
|
11077
|
+
readonly schema: {
|
|
11078
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11079
|
+
};
|
|
11080
|
+
};
|
|
11081
|
+
};
|
|
10297
11082
|
};
|
|
10298
11083
|
};
|
|
10299
11084
|
};
|
|
@@ -10351,6 +11136,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10351
11136
|
};
|
|
10352
11137
|
readonly 401: {
|
|
10353
11138
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
11139
|
+
readonly content: {
|
|
11140
|
+
readonly "application/json": {
|
|
11141
|
+
readonly schema: {
|
|
11142
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11143
|
+
};
|
|
11144
|
+
};
|
|
11145
|
+
};
|
|
10354
11146
|
};
|
|
10355
11147
|
readonly 403: {
|
|
10356
11148
|
readonly description: "Forbidden - Token issuer is not 'access', collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
|
|
@@ -10430,6 +11222,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10430
11222
|
};
|
|
10431
11223
|
readonly 401: {
|
|
10432
11224
|
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
11225
|
+
readonly content: {
|
|
11226
|
+
readonly "application/json": {
|
|
11227
|
+
readonly schema: {
|
|
11228
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
11229
|
+
};
|
|
11230
|
+
};
|
|
11231
|
+
};
|
|
10433
11232
|
};
|
|
10434
11233
|
readonly 403: {
|
|
10435
11234
|
readonly description: "Forbidden - Token issuer is not 'access', collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
|
|
@@ -11201,9 +12000,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11201
12000
|
success: true;
|
|
11202
12001
|
task: {
|
|
11203
12002
|
id: string;
|
|
11204
|
-
workspaceId: string;
|
|
11205
12003
|
created_at: string;
|
|
11206
12004
|
status: string | null;
|
|
12005
|
+
workspaceId: string;
|
|
11207
12006
|
description: string | null;
|
|
11208
12007
|
subject: string;
|
|
11209
12008
|
created_by: string;
|
|
@@ -11462,9 +12261,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11462
12261
|
success: true;
|
|
11463
12262
|
template: {
|
|
11464
12263
|
id: string;
|
|
11465
|
-
workspaceId: string;
|
|
11466
12264
|
title: string;
|
|
11467
12265
|
created_at: string;
|
|
12266
|
+
workspaceId: string;
|
|
11468
12267
|
created_by: string;
|
|
11469
12268
|
content: string;
|
|
11470
12269
|
updated_at: string | null;
|
|
@@ -11520,11 +12319,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11520
12319
|
success: true;
|
|
11521
12320
|
service: {
|
|
11522
12321
|
id: string;
|
|
11523
|
-
workspaceId: string;
|
|
11524
12322
|
type: string | null;
|
|
11525
12323
|
created_at: string;
|
|
11526
12324
|
name: string;
|
|
11527
12325
|
active: boolean | null;
|
|
12326
|
+
workspaceId: string;
|
|
11528
12327
|
description: string | null;
|
|
11529
12328
|
price: number | null;
|
|
11530
12329
|
stock: number | null;
|
|
@@ -11690,12 +12489,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11690
12489
|
success: true;
|
|
11691
12490
|
customer: {
|
|
11692
12491
|
id: string;
|
|
11693
|
-
workspaceId: string;
|
|
11694
12492
|
type: string | null;
|
|
11695
12493
|
created_at: string;
|
|
11696
12494
|
name: string;
|
|
11697
12495
|
active: boolean | null;
|
|
11698
12496
|
email: string | null;
|
|
12497
|
+
workspaceId: string;
|
|
11699
12498
|
description: string | null;
|
|
11700
12499
|
phone: string | null;
|
|
11701
12500
|
updated_at: string | null;
|
|
@@ -11922,9 +12721,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11922
12721
|
success: true;
|
|
11923
12722
|
billing: {
|
|
11924
12723
|
id: string;
|
|
11925
|
-
workspaceId: string;
|
|
11926
12724
|
created_at: string;
|
|
11927
12725
|
active: boolean | null;
|
|
12726
|
+
workspaceId: string;
|
|
11928
12727
|
country: string;
|
|
11929
12728
|
companyName: string;
|
|
11930
12729
|
inn: string;
|
|
@@ -12160,11 +12959,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12160
12959
|
success: true;
|
|
12161
12960
|
assignee: {
|
|
12162
12961
|
id: string;
|
|
12163
|
-
workspaceId: string;
|
|
12164
12962
|
created_at: string;
|
|
12165
12963
|
startDate: string | null;
|
|
12166
12964
|
endDate: string | null;
|
|
12167
12965
|
collaboratorId: string;
|
|
12966
|
+
workspaceId: string;
|
|
12168
12967
|
description: string | null;
|
|
12169
12968
|
created_by: string;
|
|
12170
12969
|
taskId: string;
|
|
@@ -12282,9 +13081,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12282
13081
|
success: true;
|
|
12283
13082
|
tag: {
|
|
12284
13083
|
id: string;
|
|
12285
|
-
workspaceId: string;
|
|
12286
13084
|
created_at: string;
|
|
12287
13085
|
name: string;
|
|
13086
|
+
workspaceId: string;
|
|
12288
13087
|
description: string | null;
|
|
12289
13088
|
updated_at: string | null;
|
|
12290
13089
|
deleted_at: string | null;
|
|
@@ -13488,14 +14287,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13488
14287
|
removeListener: never;
|
|
13489
14288
|
pipe: never;
|
|
13490
14289
|
setMaxListeners: never;
|
|
14290
|
+
} | {
|
|
14291
|
+
type: "Buffer";
|
|
14292
|
+
data: number[];
|
|
13491
14293
|
} | {
|
|
13492
14294
|
readonly locked: boolean;
|
|
13493
14295
|
pipeThrough: never;
|
|
13494
14296
|
pipeTo: never;
|
|
13495
14297
|
values: never;
|
|
13496
|
-
} | {
|
|
13497
|
-
type: "Buffer";
|
|
13498
|
-
data: number[];
|
|
13499
14298
|
} | {
|
|
13500
14299
|
[x: string]: string;
|
|
13501
14300
|
} | {
|
|
@@ -16040,15 +16839,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16040
16839
|
output: {
|
|
16041
16840
|
success: false;
|
|
16042
16841
|
error: {
|
|
16043
|
-
|
|
16044
|
-
limit?: {
|
|
16045
|
-
[x: string]: any;
|
|
16046
|
-
_errors: string[];
|
|
16047
|
-
} | undefined;
|
|
16048
|
-
cursor?: {
|
|
16049
|
-
[x: string]: any;
|
|
16050
|
-
_errors: string[];
|
|
16051
|
-
} | undefined;
|
|
16842
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
16052
16843
|
};
|
|
16053
16844
|
};
|
|
16054
16845
|
outputFormat: "json";
|
|
@@ -16065,7 +16856,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16065
16856
|
created_at: string;
|
|
16066
16857
|
id: string;
|
|
16067
16858
|
userId: string;
|
|
16068
|
-
workspaceId: string;
|
|
16859
|
+
workspaceId: string | null;
|
|
16069
16860
|
title: string;
|
|
16070
16861
|
message: string;
|
|
16071
16862
|
type: "success" | "info" | "warning" | "failure";
|
|
@@ -16156,4 +16947,25 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16156
16947
|
};
|
|
16157
16948
|
};
|
|
16158
16949
|
}, "/notifications">, "/", "/">;
|
|
16159
|
-
|
|
16950
|
+
type GlobalErrorResponses = {
|
|
16951
|
+
400: {
|
|
16952
|
+
json: ApiError;
|
|
16953
|
+
};
|
|
16954
|
+
401: {
|
|
16955
|
+
json: ApiError;
|
|
16956
|
+
};
|
|
16957
|
+
403: {
|
|
16958
|
+
json: ApiError;
|
|
16959
|
+
};
|
|
16960
|
+
404: {
|
|
16961
|
+
json: ApiError;
|
|
16962
|
+
};
|
|
16963
|
+
429: {
|
|
16964
|
+
json: ApiError;
|
|
16965
|
+
};
|
|
16966
|
+
500: {
|
|
16967
|
+
json: ApiError;
|
|
16968
|
+
};
|
|
16969
|
+
};
|
|
16970
|
+
/** AppType for `hc` — includes route responses plus global auth/middleware error statuses. */
|
|
16971
|
+
export type AppType = ApplyGlobalResponse<typeof routes, GlobalErrorResponses>;
|