@pome-sh/cli 0.21.15 → 0.21.16

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.
@@ -2,7 +2,7 @@ export { LINEAR_CHECKS } from './chunk-XBT6ZLBG.js';
2
2
  import { MCP_PAGE_MAX, defaultSeedState, linearSeedSchema, notFound, badUserInput, MCP_PAGE_DEFAULT, DEFAULT_LINEAR_EMAIL, RELAY_PAGE_MAX, RELAY_PAGE_DEFAULT, STATE_EXPORT_CAP, parseSeed, DEFAULT_LINEAR_CLOCK, LINEAR_PROVIDER_TOKEN_PREFIX, DEFAULT_LINEAR_SID, DEFAULT_SCOPES, linearErrorEnvelope, unauthorizedEnvelope, unsupportedEnvelope, assertWebhookUrl, ACCESS_TOKEN_TTL_SECONDS, OAUTH_CODE_TTL_SECONDS, TITLE_MAX_BYTES, BODY_MAX_BYTES, LinearTwinError, GRAPHQL_QUERY_MAX_BYTES, GRAPHQL_SELECTION_DEPTH_MAX } from './chunk-ZKID2HS3.js';
3
3
  export { DEFAULT_LINEAR_CLOCK, DEFAULT_LINEAR_EMAIL, DEFAULT_LINEAR_PORT, DEFAULT_LINEAR_SID, DEFAULT_LINEAR_TOKEN, LINEAR_PROVIDER_TOKEN_PREFIX, LinearTwinError, STATE_EXPORT_CAP, assertWebhookUrl, defaultSeedState, linearErrorEnvelope, linearSeedSchema, loadSeedFromEnv, parseSeed, unauthorizedEnvelope, unsupportedEnvelope, webhookUrlError } from './chunk-ZKID2HS3.js';
4
4
  import './chunk-JWJYNAWI.js';
5
- import { declareRouteInputs, mountDeclaredRoute, UndeclaredInputError } from './chunk-4MQULI7E.js';
5
+ import { routeInputDeclarer, mountDeclaredRoute, UndeclaredInputError } from './chunk-2Q3P45LK.js';
6
6
  import { loadMcpToolFixture, deriveMcpToolTable, openTwinDatabase, defineTwin, createApp } from './chunk-TV5S6WQV.js';
7
7
  import './chunk-VBATFCWR.js';
8
8
  import './chunk-SG6ZTIMT.js';
@@ -3359,6 +3359,7 @@ function shouldRedact(key) {
3359
3359
  return true;
3360
3360
  return false;
3361
3361
  }
3362
+ var declareInputs = routeInputDeclarer("ignore");
3362
3363
  var VARIABLES_STRING = z.string().optional();
3363
3364
  var VARIABLES_OBJECT = z.union([z.record(z.string(), z.unknown()), z.string()]).optional();
3364
3365
  var AUTHORIZE_PARAMS = {
@@ -3371,7 +3372,7 @@ var AUTHORIZE_PARAMS = {
3371
3372
  code_challenge_method: z.string().optional()
3372
3373
  };
3373
3374
  var LINEAR_ROUTES = {
3374
- graphqlGet: declareRouteInputs({
3375
+ graphqlGet: declareInputs({
3375
3376
  method: "GET",
3376
3377
  path: "/graphql",
3377
3378
  query: {
@@ -3380,7 +3381,7 @@ var LINEAR_ROUTES = {
3380
3381
  operationName: z.string().optional()
3381
3382
  }
3382
3383
  }),
3383
- graphqlPost: declareRouteInputs({
3384
+ graphqlPost: declareInputs({
3384
3385
  method: "POST",
3385
3386
  path: "/graphql",
3386
3387
  bodyEncoding: "form",
@@ -3390,12 +3391,12 @@ var LINEAR_ROUTES = {
3390
3391
  operationName: z.string().optional()
3391
3392
  }
3392
3393
  }),
3393
- oauthAuthorize: declareRouteInputs({
3394
+ oauthAuthorize: declareInputs({
3394
3395
  method: "GET",
3395
3396
  path: "/oauth/authorize",
3396
3397
  query: { ...AUTHORIZE_PARAMS, response_type: z.string().optional() }
3397
3398
  }),
3398
- oauthAuthorizeCallback: declareRouteInputs({
3399
+ oauthAuthorizeCallback: declareInputs({
3399
3400
  method: "POST",
3400
3401
  path: "/oauth/authorize/callback",
3401
3402
  bodyEncoding: "form",
@@ -3404,7 +3405,7 @@ var LINEAR_ROUTES = {
3404
3405
  // equivalent, and declaring it says so out loud.
3405
3406
  body: { ...AUTHORIZE_PARAMS, user_ref: z.string().optional() }
3406
3407
  }),
3407
- oauthToken: declareRouteInputs({
3408
+ oauthToken: declareInputs({
3408
3409
  method: "POST",
3409
3410
  path: "/oauth/token",
3410
3411
  bodyEncoding: "form",
@@ -3422,7 +3423,7 @@ var LINEAR_ROUTES = {
3422
3423
  scope: z.string().optional()
3423
3424
  }
3424
3425
  }),
3425
- oauthRevoke: declareRouteInputs({
3426
+ oauthRevoke: declareInputs({
3426
3427
  method: "POST",
3427
3428
  path: "/oauth/revoke",
3428
3429
  bodyEncoding: "form",
@@ -2,7 +2,7 @@ export { GMAIL_CHECKS } from './chunk-SE44FKWH.js';
2
2
  import { gmailErrorEnvelope, gmailSeedSchema, parseSeed, defaultSeedState, notFound, invalidArgument, checkFault, unsupported, validateSearchQuery, SEARCH_MAILBOX_MESSAGE_BUDGET, GmailError, parseSearchQuery, CATEGORY_LABELS, parseDate, parseSize, KNOWN_FIELDS, parseDuration, assertHasOperator } from './chunk-NJ246QPJ.js';
3
3
  export { DEFAULT_GMAIL_AGENT_EMAIL, GmailError, SEARCH_MAILBOX_MESSAGE_BUDGET, agentPathInboxMailbox, defaultSeedState, gmailErrorEnvelope, gmailSeedSchema, loadSeedFromEnv, parseSearchQuery, parseSeed, validateSearchQuery } from './chunk-NJ246QPJ.js';
4
4
  import './chunk-JWJYNAWI.js';
5
- import { integerInput, booleanInput, repeatedInput, declareRouteInputs, mountDeclaredRoute, UndeclaredInputError, MalformedBodyError } from './chunk-4MQULI7E.js';
5
+ import { routeInputDeclarer, integerInput, booleanInput, repeatedInput, mountDeclaredRoute, UndeclaredInputError, MalformedBodyError } from './chunk-2Q3P45LK.js';
6
6
  import { loadMcpToolFixture, deriveMcpToolTable, defineTwin, openTwinDatabase, createApp } from './chunk-TV5S6WQV.js';
7
7
  import './chunk-VBATFCWR.js';
8
8
  import './chunk-SG6ZTIMT.js';
@@ -2834,6 +2834,7 @@ function asInputError(fn) {
2834
2834
  invalidArgument(error instanceof Error ? error.message : "Invalid request");
2835
2835
  }
2836
2836
  }
2837
+ var declareInputs = routeInputDeclarer("refuse");
2837
2838
  var USERS = "/gmail/v1/users/:userId";
2838
2839
  var MESSAGES = `${USERS}/messages`;
2839
2840
  var MESSAGES_UPLOAD = "/upload/gmail/v1/users/:userId/messages";
@@ -2965,13 +2966,13 @@ var REFUSED_ITEM = { method: "POST", pathParams: USER_ITEM };
2965
2966
  var REFUSED_ITEM_PUT = { method: "PUT", pathParams: USER_ITEM };
2966
2967
  var GMAIL_ROUTES = {
2967
2968
  // messages
2968
- listMessages: declareRouteInputs({
2969
+ listMessages: declareInputs({
2969
2970
  method: "GET",
2970
2971
  path: MESSAGES,
2971
2972
  pathParams: USER,
2972
2973
  query: { ...SEARCH_QUERY, ...LIST_QUERY, labelIds: repeatedInput() }
2973
2974
  }),
2974
- batchModifyMessages: declareRouteInputs({
2975
+ batchModifyMessages: declareInputs({
2975
2976
  method: "POST",
2976
2977
  path: `${MESSAGES}/batchModify`,
2977
2978
  pathParams: USER,
@@ -2982,173 +2983,173 @@ var GMAIL_ROUTES = {
2982
2983
  ...CLASSIFICATION_BODY
2983
2984
  }
2984
2985
  }),
2985
- batchDeleteMessages: declareRouteInputs({
2986
+ batchDeleteMessages: declareInputs({
2986
2987
  method: "POST",
2987
2988
  path: `${MESSAGES}/batchDelete`,
2988
2989
  pathParams: USER,
2989
2990
  bodyEncoding: "json",
2990
2991
  body: { ids: stringListInput(1e3) }
2991
2992
  }),
2992
- sendMessage: declareRouteInputs({ ...MESSAGE_SEND_SHAPE, path: `${MESSAGES}/send` }),
2993
- sendMessageUpload: declareRouteInputs({
2993
+ sendMessage: declareInputs({ ...MESSAGE_SEND_SHAPE, path: `${MESSAGES}/send` }),
2994
+ sendMessageUpload: declareInputs({
2994
2995
  ...MESSAGE_SEND_SHAPE,
2995
2996
  path: `${MESSAGES_UPLOAD}/send`
2996
2997
  }),
2997
- importMessage: declareRouteInputs({ ...MESSAGE_IMPORT_SHAPE, path: `${MESSAGES}/import` }),
2998
- importMessageUpload: declareRouteInputs({
2998
+ importMessage: declareInputs({ ...MESSAGE_IMPORT_SHAPE, path: `${MESSAGES}/import` }),
2999
+ importMessageUpload: declareInputs({
2999
3000
  ...MESSAGE_IMPORT_SHAPE,
3000
3001
  path: `${MESSAGES_UPLOAD}/import`
3001
3002
  }),
3002
- insertMessage: declareRouteInputs({ ...MESSAGE_INSERT_SHAPE, path: MESSAGES }),
3003
- insertMessageUpload: declareRouteInputs({ ...MESSAGE_INSERT_SHAPE, path: MESSAGES_UPLOAD }),
3004
- getMessage: declareRouteInputs({
3003
+ insertMessage: declareInputs({ ...MESSAGE_INSERT_SHAPE, path: MESSAGES }),
3004
+ insertMessageUpload: declareInputs({ ...MESSAGE_INSERT_SHAPE, path: MESSAGES_UPLOAD }),
3005
+ getMessage: declareInputs({
3005
3006
  method: "GET",
3006
3007
  path: `${MESSAGES}/:id`,
3007
3008
  pathParams: USER_ITEM,
3008
3009
  query: MESSAGE_FORMAT_QUERY
3009
3010
  }),
3010
- modifyMessage: declareRouteInputs({
3011
+ modifyMessage: declareInputs({
3011
3012
  method: "POST",
3012
3013
  path: `${MESSAGES}/:id/modify`,
3013
3014
  pathParams: USER_ITEM,
3014
3015
  bodyEncoding: "json",
3015
3016
  body: { ...LABEL_MODIFY_BODY, ...CLASSIFICATION_BODY }
3016
3017
  }),
3017
- trashMessage: declareRouteInputs({
3018
+ trashMessage: declareInputs({
3018
3019
  method: "POST",
3019
3020
  path: `${MESSAGES}/:id/trash`,
3020
3021
  pathParams: USER_ITEM
3021
3022
  }),
3022
- untrashMessage: declareRouteInputs({
3023
+ untrashMessage: declareInputs({
3023
3024
  method: "POST",
3024
3025
  path: `${MESSAGES}/:id/untrash`,
3025
3026
  pathParams: USER_ITEM
3026
3027
  }),
3027
- deleteMessage: declareRouteInputs({
3028
+ deleteMessage: declareInputs({
3028
3029
  method: "DELETE",
3029
3030
  path: `${MESSAGES}/:id`,
3030
3031
  pathParams: USER_ITEM
3031
3032
  }),
3032
- getAttachment: declareRouteInputs({
3033
+ getAttachment: declareInputs({
3033
3034
  method: "GET",
3034
3035
  path: `${MESSAGES}/:messageId/attachments/:id`,
3035
3036
  pathParams: { ...USER_ITEM, messageId: z.string().min(1) }
3036
3037
  }),
3037
- resumableInsertMessage: declareRouteInputs({ ...REFUSED, path: `${RESUMABLE}/messages` }),
3038
- resumableInsertMessagePut: declareRouteInputs({
3038
+ resumableInsertMessage: declareInputs({ ...REFUSED, path: `${RESUMABLE}/messages` }),
3039
+ resumableInsertMessagePut: declareInputs({
3039
3040
  ...REFUSED_PUT,
3040
3041
  path: `${RESUMABLE}/messages`
3041
3042
  }),
3042
- resumableSendMessage: declareRouteInputs({ ...REFUSED, path: `${RESUMABLE}/messages/send` }),
3043
- resumableSendMessagePut: declareRouteInputs({
3043
+ resumableSendMessage: declareInputs({ ...REFUSED, path: `${RESUMABLE}/messages/send` }),
3044
+ resumableSendMessagePut: declareInputs({
3044
3045
  ...REFUSED_PUT,
3045
3046
  path: `${RESUMABLE}/messages/send`
3046
3047
  }),
3047
- resumableImportMessage: declareRouteInputs({
3048
+ resumableImportMessage: declareInputs({
3048
3049
  ...REFUSED,
3049
3050
  path: `${RESUMABLE}/messages/import`
3050
3051
  }),
3051
- resumableImportMessagePut: declareRouteInputs({
3052
+ resumableImportMessagePut: declareInputs({
3052
3053
  ...REFUSED_PUT,
3053
3054
  path: `${RESUMABLE}/messages/import`
3054
3055
  }),
3055
3056
  // drafts
3056
- listDrafts: declareRouteInputs({
3057
+ listDrafts: declareInputs({
3057
3058
  method: "GET",
3058
3059
  path: DRAFTS,
3059
3060
  pathParams: USER,
3060
3061
  query: { ...SEARCH_QUERY, ...LIST_QUERY }
3061
3062
  }),
3062
- createDraft: declareRouteInputs({ ...DRAFT_CREATE_SHAPE, path: DRAFTS }),
3063
- createDraftUpload: declareRouteInputs({ ...DRAFT_CREATE_SHAPE, path: DRAFTS_UPLOAD }),
3064
- sendDraft: declareRouteInputs({ ...DRAFT_SEND_SHAPE, path: `${DRAFTS}/send` }),
3065
- sendDraftUpload: declareRouteInputs({ ...DRAFT_SEND_SHAPE, path: `${DRAFTS_UPLOAD}/send` }),
3066
- getDraft: declareRouteInputs({
3063
+ createDraft: declareInputs({ ...DRAFT_CREATE_SHAPE, path: DRAFTS }),
3064
+ createDraftUpload: declareInputs({ ...DRAFT_CREATE_SHAPE, path: DRAFTS_UPLOAD }),
3065
+ sendDraft: declareInputs({ ...DRAFT_SEND_SHAPE, path: `${DRAFTS}/send` }),
3066
+ sendDraftUpload: declareInputs({ ...DRAFT_SEND_SHAPE, path: `${DRAFTS_UPLOAD}/send` }),
3067
+ getDraft: declareInputs({
3067
3068
  method: "GET",
3068
3069
  path: `${DRAFTS}/:id`,
3069
3070
  pathParams: USER_ITEM,
3070
3071
  query: { format: MESSAGE_FORMAT_QUERY.format }
3071
3072
  }),
3072
- updateDraft: declareRouteInputs({ ...DRAFT_UPDATE_SHAPE, path: `${DRAFTS}/:id` }),
3073
- updateDraftUpload: declareRouteInputs({
3073
+ updateDraft: declareInputs({ ...DRAFT_UPDATE_SHAPE, path: `${DRAFTS}/:id` }),
3074
+ updateDraftUpload: declareInputs({
3074
3075
  ...DRAFT_UPDATE_SHAPE,
3075
3076
  path: `${DRAFTS_UPLOAD}/:id`
3076
3077
  }),
3077
- deleteDraft: declareRouteInputs({
3078
+ deleteDraft: declareInputs({
3078
3079
  method: "DELETE",
3079
3080
  path: `${DRAFTS}/:id`,
3080
3081
  pathParams: USER_ITEM
3081
3082
  }),
3082
- resumableCreateDraft: declareRouteInputs({ ...REFUSED, path: `${RESUMABLE}/drafts` }),
3083
- resumableCreateDraftPut: declareRouteInputs({ ...REFUSED_PUT, path: `${RESUMABLE}/drafts` }),
3084
- resumableSendDraft: declareRouteInputs({ ...REFUSED, path: `${RESUMABLE}/drafts/send` }),
3085
- resumableSendDraftPut: declareRouteInputs({
3083
+ resumableCreateDraft: declareInputs({ ...REFUSED, path: `${RESUMABLE}/drafts` }),
3084
+ resumableCreateDraftPut: declareInputs({ ...REFUSED_PUT, path: `${RESUMABLE}/drafts` }),
3085
+ resumableSendDraft: declareInputs({ ...REFUSED, path: `${RESUMABLE}/drafts/send` }),
3086
+ resumableSendDraftPut: declareInputs({
3086
3087
  ...REFUSED_PUT,
3087
3088
  path: `${RESUMABLE}/drafts/send`
3088
3089
  }),
3089
- resumableUpdateDraft: declareRouteInputs({ ...REFUSED_ITEM, path: `${RESUMABLE}/drafts/:id` }),
3090
- resumableUpdateDraftPut: declareRouteInputs({
3090
+ resumableUpdateDraft: declareInputs({ ...REFUSED_ITEM, path: `${RESUMABLE}/drafts/:id` }),
3091
+ resumableUpdateDraftPut: declareInputs({
3091
3092
  ...REFUSED_ITEM_PUT,
3092
3093
  path: `${RESUMABLE}/drafts/:id`
3093
3094
  }),
3094
3095
  // profile, threads
3095
- getProfile: declareRouteInputs({ method: "GET", path: `${USERS}/profile`, pathParams: USER }),
3096
- listThreads: declareRouteInputs({
3096
+ getProfile: declareInputs({ method: "GET", path: `${USERS}/profile`, pathParams: USER }),
3097
+ listThreads: declareInputs({
3097
3098
  method: "GET",
3098
3099
  path: `${USERS}/threads`,
3099
3100
  pathParams: USER,
3100
3101
  query: { ...SEARCH_QUERY, ...LIST_QUERY, labelIds: repeatedInput() }
3101
3102
  }),
3102
- getThread: declareRouteInputs({
3103
+ getThread: declareInputs({
3103
3104
  method: "GET",
3104
3105
  path: `${USERS}/threads/:id`,
3105
3106
  pathParams: USER_ITEM,
3106
3107
  query: THREAD_FORMAT_QUERY
3107
3108
  }),
3108
- modifyThread: declareRouteInputs({
3109
+ modifyThread: declareInputs({
3109
3110
  method: "POST",
3110
3111
  path: `${USERS}/threads/:id/modify`,
3111
3112
  pathParams: USER_ITEM,
3112
3113
  bodyEncoding: "json",
3113
3114
  body: LABEL_MODIFY_BODY
3114
3115
  }),
3115
- trashThread: declareRouteInputs({
3116
+ trashThread: declareInputs({
3116
3117
  method: "POST",
3117
3118
  path: `${USERS}/threads/:id/trash`,
3118
3119
  pathParams: USER_ITEM
3119
3120
  }),
3120
- untrashThread: declareRouteInputs({
3121
+ untrashThread: declareInputs({
3121
3122
  method: "POST",
3122
3123
  path: `${USERS}/threads/:id/untrash`,
3123
3124
  pathParams: USER_ITEM
3124
3125
  }),
3125
- deleteThread: declareRouteInputs({
3126
+ deleteThread: declareInputs({
3126
3127
  method: "DELETE",
3127
3128
  path: `${USERS}/threads/:id`,
3128
3129
  pathParams: USER_ITEM
3129
3130
  }),
3130
3131
  // labels
3131
- listLabels: declareRouteInputs({ method: "GET", path: `${USERS}/labels`, pathParams: USER }),
3132
- getLabel: declareRouteInputs({
3132
+ listLabels: declareInputs({ method: "GET", path: `${USERS}/labels`, pathParams: USER }),
3133
+ getLabel: declareInputs({
3133
3134
  method: "GET",
3134
3135
  path: `${USERS}/labels/:id`,
3135
3136
  pathParams: USER_ITEM
3136
3137
  }),
3137
- createLabel: declareRouteInputs({
3138
+ createLabel: declareInputs({
3138
3139
  method: "POST",
3139
3140
  path: `${USERS}/labels`,
3140
3141
  pathParams: USER,
3141
3142
  bodyEncoding: "json",
3142
3143
  body: { name: z.string().min(1), ...LABEL_BODY }
3143
3144
  }),
3144
- updateLabel: declareRouteInputs({
3145
+ updateLabel: declareInputs({
3145
3146
  method: "PUT",
3146
3147
  path: `${USERS}/labels/:id`,
3147
3148
  pathParams: USER_ITEM,
3148
3149
  bodyEncoding: "json",
3149
3150
  body: { name: z.string().min(1), ...LABEL_BODY }
3150
3151
  }),
3151
- patchLabel: declareRouteInputs({
3152
+ patchLabel: declareInputs({
3152
3153
  method: "PATCH",
3153
3154
  path: `${USERS}/labels/:id`,
3154
3155
  pathParams: USER_ITEM,
@@ -3157,13 +3158,13 @@ var GMAIL_ROUTES = {
3157
3158
  // "Label name is required"; `.min(1)` here would move that error.
3158
3159
  body: { name: z.string().optional(), ...LABEL_BODY }
3159
3160
  }),
3160
- deleteLabel: declareRouteInputs({
3161
+ deleteLabel: declareInputs({
3161
3162
  method: "DELETE",
3162
3163
  path: `${USERS}/labels/:id`,
3163
3164
  pathParams: USER_ITEM
3164
3165
  }),
3165
3166
  // history
3166
- listHistory: declareRouteInputs({
3167
+ listHistory: declareInputs({
3167
3168
  method: "GET",
3168
3169
  path: `${USERS}/history`,
3169
3170
  pathParams: USER,
@@ -3175,51 +3176,51 @@ var GMAIL_ROUTES = {
3175
3176
  }
3176
3177
  }),
3177
3178
  // settings
3178
- listFilters: declareRouteInputs({
3179
+ listFilters: declareInputs({
3179
3180
  method: "GET",
3180
3181
  path: `${USERS}/settings/filters`,
3181
3182
  pathParams: USER
3182
3183
  }),
3183
- getFilter: declareRouteInputs({
3184
+ getFilter: declareInputs({
3184
3185
  method: "GET",
3185
3186
  path: `${USERS}/settings/filters/:id`,
3186
3187
  pathParams: USER_ITEM
3187
3188
  }),
3188
- createFilter: declareRouteInputs({
3189
+ createFilter: declareInputs({
3189
3190
  method: "POST",
3190
3191
  path: `${USERS}/settings/filters`,
3191
3192
  pathParams: USER,
3192
3193
  bodyEncoding: "json",
3193
3194
  body: { criteria: jsonObjectInput.optional(), action: jsonObjectInput.optional() }
3194
3195
  }),
3195
- deleteFilter: declareRouteInputs({
3196
+ deleteFilter: declareInputs({
3196
3197
  method: "DELETE",
3197
3198
  path: `${USERS}/settings/filters/:id`,
3198
3199
  pathParams: USER_ITEM
3199
3200
  }),
3200
- listForwardingAddresses: declareRouteInputs({
3201
+ listForwardingAddresses: declareInputs({
3201
3202
  method: "GET",
3202
3203
  path: `${USERS}/settings/forwardingAddresses`,
3203
3204
  pathParams: USER
3204
3205
  }),
3205
- getForwardingAddress: declareRouteInputs({
3206
+ getForwardingAddress: declareInputs({
3206
3207
  method: "GET",
3207
3208
  path: `${USERS}/settings/forwardingAddresses/:forwardingEmail`,
3208
3209
  pathParams: { ...USER, forwardingEmail: z.string().min(1) }
3209
3210
  }),
3210
- listSendAs: declareRouteInputs({
3211
+ listSendAs: declareInputs({
3211
3212
  method: "GET",
3212
3213
  path: `${USERS}/settings/sendAs`,
3213
3214
  pathParams: USER
3214
3215
  }),
3215
- getSendAs: declareRouteInputs({
3216
+ getSendAs: declareInputs({
3216
3217
  method: "GET",
3217
3218
  path: `${USERS}/settings/sendAs/:sendAsEmail`,
3218
3219
  pathParams: { ...USER, sendAsEmail: z.string().min(1) }
3219
3220
  }),
3220
3221
  // Pub/Sub
3221
- watch: declareRouteInputs({ ...REFUSED, path: `${USERS}/watch` }),
3222
- stop: declareRouteInputs({ ...REFUSED, path: `${USERS}/stop` })
3222
+ watch: declareInputs({ ...REFUSED, path: `${USERS}/watch` }),
3223
+ stop: declareInputs({ ...REFUSED, path: `${USERS}/stop` })
3223
3224
  };
3224
3225
 
3225
3226
  // ../packages/twin-gmail/dist/src/rest-routes-drafts.js