@layervai/qurl-mcp 0.4.0 → 0.5.0

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.
Files changed (173) hide show
  1. package/README.md +742 -46
  2. package/assets/fonts/NotoSansSC-Regular.ttf +0 -0
  3. package/assets/fonts/OFL.txt +93 -0
  4. package/assets/fonts/README.md +18 -0
  5. package/dist/auth/request-context.d.ts +13 -0
  6. package/dist/auth/request-context.d.ts.map +1 -0
  7. package/dist/auth/request-context.js +21 -0
  8. package/dist/auth/request-context.js.map +1 -0
  9. package/dist/auth/static-bearer.d.ts +12 -0
  10. package/dist/auth/static-bearer.d.ts.map +1 -0
  11. package/dist/auth/static-bearer.js +47 -0
  12. package/dist/auth/static-bearer.js.map +1 -0
  13. package/dist/client.d.ts +112 -23
  14. package/dist/client.d.ts.map +1 -1
  15. package/dist/client.js +173 -78
  16. package/dist/client.js.map +1 -1
  17. package/dist/config.d.ts +98 -0
  18. package/dist/config.d.ts.map +1 -0
  19. package/dist/config.js +543 -0
  20. package/dist/config.js.map +1 -0
  21. package/dist/credential-rate-limit-store.d.ts +38 -0
  22. package/dist/credential-rate-limit-store.d.ts.map +1 -0
  23. package/dist/credential-rate-limit-store.js +135 -0
  24. package/dist/credential-rate-limit-store.js.map +1 -0
  25. package/dist/email-addresses.d.ts +7 -0
  26. package/dist/email-addresses.d.ts.map +1 -0
  27. package/dist/email-addresses.js +36 -0
  28. package/dist/email-addresses.js.map +1 -0
  29. package/dist/email-types.d.ts +33 -0
  30. package/dist/email-types.d.ts.map +1 -0
  31. package/dist/email-types.js +28 -0
  32. package/dist/email-types.js.map +1 -0
  33. package/dist/emf-metrics.d.ts +25 -0
  34. package/dist/emf-metrics.d.ts.map +1 -0
  35. package/dist/emf-metrics.js +87 -0
  36. package/dist/emf-metrics.js.map +1 -0
  37. package/dist/http-config.d.ts +38 -0
  38. package/dist/http-config.d.ts.map +1 -0
  39. package/dist/http-config.js +243 -0
  40. package/dist/http-config.js.map +1 -0
  41. package/dist/http-routes.d.ts +5 -0
  42. package/dist/http-routes.d.ts.map +1 -0
  43. package/dist/http-routes.js +12 -0
  44. package/dist/http-routes.js.map +1 -0
  45. package/dist/http.d.ts +33 -0
  46. package/dist/http.d.ts.map +1 -0
  47. package/dist/http.js +1116 -0
  48. package/dist/http.js.map +1 -0
  49. package/dist/index.d.ts +1 -1
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +42 -25
  52. package/dist/index.js.map +1 -1
  53. package/dist/logging.d.ts +7 -0
  54. package/dist/logging.d.ts.map +1 -0
  55. package/dist/logging.js +110 -0
  56. package/dist/logging.js.map +1 -0
  57. package/dist/prompts/secure-a-service.d.ts +16 -4
  58. package/dist/prompts/secure-a-service.d.ts.map +1 -1
  59. package/dist/prompts/secure-a-service.js +7 -15
  60. package/dist/prompts/secure-a-service.js.map +1 -1
  61. package/dist/server.d.ts +18 -6
  62. package/dist/server.d.ts.map +1 -1
  63. package/dist/server.js +41 -8
  64. package/dist/server.js.map +1 -1
  65. package/dist/services/email.d.ts +17 -0
  66. package/dist/services/email.d.ts.map +1 -0
  67. package/dist/services/email.js +351 -0
  68. package/dist/services/email.js.map +1 -0
  69. package/dist/services/html.d.ts +5 -0
  70. package/dist/services/html.d.ts.map +1 -0
  71. package/dist/services/html.js +28 -0
  72. package/dist/services/html.js.map +1 -0
  73. package/dist/services/legal-pages.d.ts +12 -0
  74. package/dist/services/legal-pages.d.ts.map +1 -0
  75. package/dist/services/legal-pages.js +588 -0
  76. package/dist/services/legal-pages.js.map +1 -0
  77. package/dist/services/text-pdf.d.ts +16 -0
  78. package/dist/services/text-pdf.d.ts.map +1 -0
  79. package/dist/services/text-pdf.js +141 -0
  80. package/dist/services/text-pdf.js.map +1 -0
  81. package/dist/services/video-page.d.ts +4 -0
  82. package/dist/services/video-page.d.ts.map +1 -0
  83. package/dist/services/video-page.js +311 -0
  84. package/dist/services/video-page.js.map +1 -0
  85. package/dist/text.d.ts +4 -0
  86. package/dist/text.d.ts.map +1 -0
  87. package/dist/text.js +16 -0
  88. package/dist/text.js.map +1 -0
  89. package/dist/tools/_shared.d.ts +13 -3
  90. package/dist/tools/_shared.d.ts.map +1 -1
  91. package/dist/tools/_shared.js +31 -7
  92. package/dist/tools/_shared.js.map +1 -1
  93. package/dist/tools/batch-create.d.ts +36 -343
  94. package/dist/tools/batch-create.d.ts.map +1 -1
  95. package/dist/tools/batch-create.js +7 -4
  96. package/dist/tools/batch-create.js.map +1 -1
  97. package/dist/tools/create-qurl.d.ts +79 -237
  98. package/dist/tools/create-qurl.d.ts.map +1 -1
  99. package/dist/tools/create-qurl.js +77 -47
  100. package/dist/tools/create-qurl.js.map +1 -1
  101. package/dist/tools/delete-qurl.d.ts +5 -22
  102. package/dist/tools/delete-qurl.d.ts.map +1 -1
  103. package/dist/tools/delete-qurl.js +19 -13
  104. package/dist/tools/delete-qurl.js.map +1 -1
  105. package/dist/tools/email-delivery.d.ts +37 -0
  106. package/dist/tools/email-delivery.d.ts.map +1 -0
  107. package/dist/tools/email-delivery.js +115 -0
  108. package/dist/tools/email-delivery.js.map +1 -0
  109. package/dist/tools/extend-qurl.d.ts +36 -189
  110. package/dist/tools/extend-qurl.d.ts.map +1 -1
  111. package/dist/tools/extend-qurl.js +3 -3
  112. package/dist/tools/extend-qurl.js.map +1 -1
  113. package/dist/tools/get-qurl.d.ts +36 -185
  114. package/dist/tools/get-qurl.d.ts.map +1 -1
  115. package/dist/tools/get-qurl.js +8 -5
  116. package/dist/tools/get-qurl.js.map +1 -1
  117. package/dist/tools/list-qurl-sessions.d.ts +45 -0
  118. package/dist/tools/list-qurl-sessions.d.ts.map +1 -0
  119. package/dist/tools/list-qurl-sessions.js +33 -0
  120. package/dist/tools/list-qurl-sessions.js.map +1 -0
  121. package/dist/tools/list-qurls.d.ts +38 -319
  122. package/dist/tools/list-qurls.d.ts.map +1 -1
  123. package/dist/tools/list-qurls.js +45 -20
  124. package/dist/tools/list-qurls.js.map +1 -1
  125. package/dist/tools/mint-link.d.ts +72 -303
  126. package/dist/tools/mint-link.d.ts.map +1 -1
  127. package/dist/tools/mint-link.js +35 -21
  128. package/dist/tools/mint-link.js.map +1 -1
  129. package/dist/tools/output-schemas.d.ts +326 -1112
  130. package/dist/tools/output-schemas.d.ts.map +1 -1
  131. package/dist/tools/output-schemas.js +141 -40
  132. package/dist/tools/output-schemas.js.map +1 -1
  133. package/dist/tools/resolve-qurl.d.ts +6 -37
  134. package/dist/tools/resolve-qurl.d.ts.map +1 -1
  135. package/dist/tools/resolve-qurl.js +5 -5
  136. package/dist/tools/resolve-qurl.js.map +1 -1
  137. package/dist/tools/revoke-qurl-token.d.ts +41 -0
  138. package/dist/tools/revoke-qurl-token.d.ts.map +1 -0
  139. package/dist/tools/revoke-qurl-token.js +40 -0
  140. package/dist/tools/revoke-qurl-token.js.map +1 -0
  141. package/dist/tools/terminate-qurl-sessions.d.ts +41 -0
  142. package/dist/tools/terminate-qurl-sessions.d.ts.map +1 -0
  143. package/dist/tools/terminate-qurl-sessions.js +68 -0
  144. package/dist/tools/terminate-qurl-sessions.js.map +1 -0
  145. package/dist/tools/update-qurl-token.d.ts +142 -0
  146. package/dist/tools/update-qurl-token.d.ts.map +1 -0
  147. package/dist/tools/update-qurl-token.js +75 -0
  148. package/dist/tools/update-qurl-token.js.map +1 -0
  149. package/dist/tools/update-qurl.d.ts +43 -264
  150. package/dist/tools/update-qurl.d.ts.map +1 -1
  151. package/dist/tools/update-qurl.js +57 -8
  152. package/dist/tools/update-qurl.js.map +1 -1
  153. package/dist/tools/upload-file-data-qurl.d.ts +182 -0
  154. package/dist/tools/upload-file-data-qurl.d.ts.map +1 -0
  155. package/dist/tools/upload-file-data-qurl.js +200 -0
  156. package/dist/tools/upload-file-data-qurl.js.map +1 -0
  157. package/dist/tools/upload-file-qurl.d.ts +162 -0
  158. package/dist/tools/upload-file-qurl.d.ts.map +1 -0
  159. package/dist/tools/upload-file-qurl.js +167 -0
  160. package/dist/tools/upload-file-qurl.js.map +1 -0
  161. package/dist/tools/upload-file-shared.d.ts +36 -0
  162. package/dist/tools/upload-file-shared.d.ts.map +1 -0
  163. package/dist/tools/upload-file-shared.js +347 -0
  164. package/dist/tools/upload-file-shared.js.map +1 -0
  165. package/dist/tools/upload-mint-options.d.ts +22 -0
  166. package/dist/tools/upload-mint-options.d.ts.map +1 -0
  167. package/dist/tools/upload-mint-options.js +29 -0
  168. package/dist/tools/upload-mint-options.js.map +1 -0
  169. package/dist/tools/upload-text-qurl.d.ts +144 -0
  170. package/dist/tools/upload-text-qurl.d.ts.map +1 -0
  171. package/dist/tools/upload-text-qurl.js +102 -0
  172. package/dist/tools/upload-text-qurl.js.map +1 -0
  173. package/package.json +27 -8
@@ -1,796 +1,262 @@
1
1
  import { z } from "zod";
2
+ export declare const accessTokenOutputSchema: z.ZodObject<{
3
+ qurl_id: z.ZodString;
4
+ label: z.ZodOptional<z.ZodString>;
5
+ status: z.ZodCatch<z.ZodEnum<{
6
+ active: "active";
7
+ consumed: "consumed";
8
+ expired: "expired";
9
+ revoked: "revoked";
10
+ unknown: "unknown";
11
+ }>>;
12
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
13
+ max_sessions: z.ZodOptional<z.ZodNumber>;
14
+ session_duration: z.ZodOptional<z.ZodNumber>;
15
+ use_count: z.ZodOptional<z.ZodNumber>;
16
+ qurl_site: z.ZodOptional<z.ZodString>;
17
+ access_policy: z.ZodOptional<z.ZodObject<{
18
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ user_agent_allow_regex: z.ZodOptional<z.ZodString>;
23
+ user_agent_deny_regex: z.ZodOptional<z.ZodString>;
24
+ ai_agent_policy: z.ZodOptional<z.ZodObject<{
25
+ block_all: z.ZodOptional<z.ZodBoolean>;
26
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>>;
30
+ created_at: z.ZodOptional<z.ZodString>;
31
+ expires_at: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$loose>;
2
33
  /** Stable QURL resource shape returned by get/list/update/extend. */
3
34
  export declare const qurlSchema: z.ZodObject<{
4
35
  resource_id: z.ZodString;
5
36
  qurl_site: z.ZodOptional<z.ZodString>;
6
- target_url: z.ZodString;
37
+ target_url: z.ZodOptional<z.ZodString>;
7
38
  description: z.ZodOptional<z.ZodString>;
8
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
40
  expires_at: z.ZodString;
10
41
  created_at: z.ZodString;
11
- status: z.ZodEnum<["active", "revoked"]>;
42
+ status: z.ZodCatch<z.ZodEnum<{
43
+ active: "active";
44
+ expired: "expired";
45
+ revoked: "revoked";
46
+ unknown: "unknown";
47
+ }>>;
12
48
  custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ slug: z.ZodOptional<z.ZodString>;
13
50
  preserve_host: z.ZodOptional<z.ZodBoolean>;
14
51
  qurl_count: z.ZodOptional<z.ZodNumber>;
15
52
  qurls: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
53
  qurl_id: z.ZodString;
17
54
  label: z.ZodOptional<z.ZodString>;
18
- status: z.ZodEnum<["active", "consumed", "expired", "revoked"]>;
19
- one_time_use: z.ZodBoolean;
20
- max_sessions: z.ZodNumber;
21
- session_duration: z.ZodNumber;
22
- use_count: z.ZodNumber;
55
+ status: z.ZodCatch<z.ZodEnum<{
56
+ active: "active";
57
+ consumed: "consumed";
58
+ expired: "expired";
59
+ revoked: "revoked";
60
+ unknown: "unknown";
61
+ }>>;
62
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
63
+ max_sessions: z.ZodOptional<z.ZodNumber>;
64
+ session_duration: z.ZodOptional<z.ZodNumber>;
65
+ use_count: z.ZodOptional<z.ZodNumber>;
23
66
  qurl_site: z.ZodOptional<z.ZodString>;
24
67
  access_policy: z.ZodOptional<z.ZodObject<{
25
- ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
- ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
- geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
- geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
72
  user_agent_allow_regex: z.ZodOptional<z.ZodString>;
30
73
  user_agent_deny_regex: z.ZodOptional<z.ZodString>;
31
74
  ai_agent_policy: z.ZodOptional<z.ZodObject<{
32
75
  block_all: z.ZodOptional<z.ZodBoolean>;
33
- deny_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
- allow_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
- }, "strip", z.ZodTypeAny, {
36
- block_all?: boolean | undefined;
37
- deny_categories?: string[] | undefined;
38
- allow_categories?: string[] | undefined;
39
- }, {
40
- block_all?: boolean | undefined;
41
- deny_categories?: string[] | undefined;
42
- allow_categories?: string[] | undefined;
43
- }>>;
44
- }, "strip", z.ZodTypeAny, {
45
- ip_allowlist?: string[] | undefined;
46
- ip_denylist?: string[] | undefined;
47
- geo_allowlist?: string[] | undefined;
48
- geo_denylist?: string[] | undefined;
49
- user_agent_allow_regex?: string | undefined;
50
- user_agent_deny_regex?: string | undefined;
51
- ai_agent_policy?: {
52
- block_all?: boolean | undefined;
53
- deny_categories?: string[] | undefined;
54
- allow_categories?: string[] | undefined;
55
- } | undefined;
56
- }, {
57
- ip_allowlist?: string[] | undefined;
58
- ip_denylist?: string[] | undefined;
59
- geo_allowlist?: string[] | undefined;
60
- geo_denylist?: string[] | undefined;
61
- user_agent_allow_regex?: string | undefined;
62
- user_agent_deny_regex?: string | undefined;
63
- ai_agent_policy?: {
64
- block_all?: boolean | undefined;
65
- deny_categories?: string[] | undefined;
66
- allow_categories?: string[] | undefined;
67
- } | undefined;
68
- }>>;
69
- created_at: z.ZodString;
70
- expires_at: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- status: "active" | "consumed" | "expired" | "revoked";
73
- qurl_id: string;
74
- one_time_use: boolean;
75
- max_sessions: number;
76
- session_duration: number;
77
- use_count: number;
78
- created_at: string;
79
- expires_at: string;
80
- label?: string | undefined;
81
- qurl_site?: string | undefined;
82
- access_policy?: {
83
- ip_allowlist?: string[] | undefined;
84
- ip_denylist?: string[] | undefined;
85
- geo_allowlist?: string[] | undefined;
86
- geo_denylist?: string[] | undefined;
87
- user_agent_allow_regex?: string | undefined;
88
- user_agent_deny_regex?: string | undefined;
89
- ai_agent_policy?: {
90
- block_all?: boolean | undefined;
91
- deny_categories?: string[] | undefined;
92
- allow_categories?: string[] | undefined;
93
- } | undefined;
94
- } | undefined;
95
- }, {
96
- status: "active" | "consumed" | "expired" | "revoked";
97
- qurl_id: string;
98
- one_time_use: boolean;
99
- max_sessions: number;
100
- session_duration: number;
101
- use_count: number;
102
- created_at: string;
103
- expires_at: string;
104
- label?: string | undefined;
105
- qurl_site?: string | undefined;
106
- access_policy?: {
107
- ip_allowlist?: string[] | undefined;
108
- ip_denylist?: string[] | undefined;
109
- geo_allowlist?: string[] | undefined;
110
- geo_denylist?: string[] | undefined;
111
- user_agent_allow_regex?: string | undefined;
112
- user_agent_deny_regex?: string | undefined;
113
- ai_agent_policy?: {
114
- block_all?: boolean | undefined;
115
- deny_categories?: string[] | undefined;
116
- allow_categories?: string[] | undefined;
117
- } | undefined;
118
- } | undefined;
119
- }>, "many">>;
120
- }, "strip", z.ZodTypeAny, {
121
- status: "active" | "revoked";
122
- created_at: string;
123
- expires_at: string;
124
- resource_id: string;
125
- target_url: string;
126
- qurl_site?: string | undefined;
127
- description?: string | undefined;
128
- tags?: string[] | undefined;
129
- custom_domain?: string | null | undefined;
130
- preserve_host?: boolean | undefined;
131
- qurl_count?: number | undefined;
132
- qurls?: {
133
- status: "active" | "consumed" | "expired" | "revoked";
134
- qurl_id: string;
135
- one_time_use: boolean;
136
- max_sessions: number;
137
- session_duration: number;
138
- use_count: number;
139
- created_at: string;
140
- expires_at: string;
141
- label?: string | undefined;
142
- qurl_site?: string | undefined;
143
- access_policy?: {
144
- ip_allowlist?: string[] | undefined;
145
- ip_denylist?: string[] | undefined;
146
- geo_allowlist?: string[] | undefined;
147
- geo_denylist?: string[] | undefined;
148
- user_agent_allow_regex?: string | undefined;
149
- user_agent_deny_regex?: string | undefined;
150
- ai_agent_policy?: {
151
- block_all?: boolean | undefined;
152
- deny_categories?: string[] | undefined;
153
- allow_categories?: string[] | undefined;
154
- } | undefined;
155
- } | undefined;
156
- }[] | undefined;
157
- }, {
158
- status: "active" | "revoked";
159
- created_at: string;
160
- expires_at: string;
161
- resource_id: string;
162
- target_url: string;
163
- qurl_site?: string | undefined;
164
- description?: string | undefined;
165
- tags?: string[] | undefined;
166
- custom_domain?: string | null | undefined;
167
- preserve_host?: boolean | undefined;
168
- qurl_count?: number | undefined;
169
- qurls?: {
170
- status: "active" | "consumed" | "expired" | "revoked";
171
- qurl_id: string;
172
- one_time_use: boolean;
173
- max_sessions: number;
174
- session_duration: number;
175
- use_count: number;
176
- created_at: string;
177
- expires_at: string;
178
- label?: string | undefined;
179
- qurl_site?: string | undefined;
180
- access_policy?: {
181
- ip_allowlist?: string[] | undefined;
182
- ip_denylist?: string[] | undefined;
183
- geo_allowlist?: string[] | undefined;
184
- geo_denylist?: string[] | undefined;
185
- user_agent_allow_regex?: string | undefined;
186
- user_agent_deny_regex?: string | undefined;
187
- ai_agent_policy?: {
188
- block_all?: boolean | undefined;
189
- deny_categories?: string[] | undefined;
190
- allow_categories?: string[] | undefined;
191
- } | undefined;
192
- } | undefined;
193
- }[] | undefined;
194
- }>;
76
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
+ }, z.core.$loose>>;
79
+ }, z.core.$loose>>;
80
+ created_at: z.ZodOptional<z.ZodString>;
81
+ expires_at: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$loose>>>;
83
+ }, z.core.$loose>;
195
84
  /** Ephemeral create-time payload — note `qurl_link` is one-shot. */
196
85
  export declare const createQurlOutputSchema: z.ZodObject<{
197
86
  qurl_id: z.ZodString;
198
87
  resource_id: z.ZodString;
199
88
  qurl_link: z.ZodString;
200
- qurl_site: z.ZodString;
201
- expires_at: z.ZodString;
89
+ branded_domain: z.ZodOptional<z.ZodString>;
90
+ qurl_site: z.ZodOptional<z.ZodString>;
91
+ expires_at: z.ZodOptional<z.ZodString>;
202
92
  label: z.ZodOptional<z.ZodString>;
203
- }, "strip", z.ZodTypeAny, {
204
- qurl_id: string;
205
- qurl_site: string;
206
- expires_at: string;
207
- resource_id: string;
208
- qurl_link: string;
209
- label?: string | undefined;
210
- }, {
211
- qurl_id: string;
212
- qurl_site: string;
213
- expires_at: string;
214
- resource_id: string;
215
- qurl_link: string;
216
- label?: string | undefined;
217
- }>;
93
+ type: z.ZodOptional<z.ZodString>;
94
+ email_delivery: z.ZodOptional<z.ZodObject<{
95
+ attempted: z.ZodBoolean;
96
+ enabled: z.ZodBoolean;
97
+ recipients: z.ZodArray<z.ZodString>;
98
+ sent: z.ZodNumber;
99
+ failed: z.ZodNumber;
100
+ skipped_reason: z.ZodOptional<z.ZodString>;
101
+ results: z.ZodArray<z.ZodObject<{
102
+ email: z.ZodString;
103
+ success: z.ZodBoolean;
104
+ skipped: z.ZodBoolean;
105
+ error: z.ZodOptional<z.ZodString>;
106
+ message_id: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$loose>;
218
110
  export declare const getQurlOutputSchema: z.ZodObject<{
219
111
  resource_id: z.ZodString;
220
112
  qurl_site: z.ZodOptional<z.ZodString>;
221
- target_url: z.ZodString;
113
+ target_url: z.ZodOptional<z.ZodString>;
222
114
  description: z.ZodOptional<z.ZodString>;
223
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
115
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
224
116
  expires_at: z.ZodString;
225
117
  created_at: z.ZodString;
226
- status: z.ZodEnum<["active", "revoked"]>;
118
+ status: z.ZodCatch<z.ZodEnum<{
119
+ active: "active";
120
+ expired: "expired";
121
+ revoked: "revoked";
122
+ unknown: "unknown";
123
+ }>>;
227
124
  custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ slug: z.ZodOptional<z.ZodString>;
228
126
  preserve_host: z.ZodOptional<z.ZodBoolean>;
229
127
  qurl_count: z.ZodOptional<z.ZodNumber>;
230
128
  qurls: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
129
  qurl_id: z.ZodString;
232
130
  label: z.ZodOptional<z.ZodString>;
233
- status: z.ZodEnum<["active", "consumed", "expired", "revoked"]>;
234
- one_time_use: z.ZodBoolean;
235
- max_sessions: z.ZodNumber;
236
- session_duration: z.ZodNumber;
237
- use_count: z.ZodNumber;
131
+ status: z.ZodCatch<z.ZodEnum<{
132
+ active: "active";
133
+ consumed: "consumed";
134
+ expired: "expired";
135
+ revoked: "revoked";
136
+ unknown: "unknown";
137
+ }>>;
138
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
139
+ max_sessions: z.ZodOptional<z.ZodNumber>;
140
+ session_duration: z.ZodOptional<z.ZodNumber>;
141
+ use_count: z.ZodOptional<z.ZodNumber>;
238
142
  qurl_site: z.ZodOptional<z.ZodString>;
239
143
  access_policy: z.ZodOptional<z.ZodObject<{
240
- ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
- ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
- geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
243
- geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
145
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
244
148
  user_agent_allow_regex: z.ZodOptional<z.ZodString>;
245
149
  user_agent_deny_regex: z.ZodOptional<z.ZodString>;
246
150
  ai_agent_policy: z.ZodOptional<z.ZodObject<{
247
151
  block_all: z.ZodOptional<z.ZodBoolean>;
248
- deny_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
249
- allow_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
- }, "strip", z.ZodTypeAny, {
251
- block_all?: boolean | undefined;
252
- deny_categories?: string[] | undefined;
253
- allow_categories?: string[] | undefined;
254
- }, {
255
- block_all?: boolean | undefined;
256
- deny_categories?: string[] | undefined;
257
- allow_categories?: string[] | undefined;
258
- }>>;
259
- }, "strip", z.ZodTypeAny, {
260
- ip_allowlist?: string[] | undefined;
261
- ip_denylist?: string[] | undefined;
262
- geo_allowlist?: string[] | undefined;
263
- geo_denylist?: string[] | undefined;
264
- user_agent_allow_regex?: string | undefined;
265
- user_agent_deny_regex?: string | undefined;
266
- ai_agent_policy?: {
267
- block_all?: boolean | undefined;
268
- deny_categories?: string[] | undefined;
269
- allow_categories?: string[] | undefined;
270
- } | undefined;
271
- }, {
272
- ip_allowlist?: string[] | undefined;
273
- ip_denylist?: string[] | undefined;
274
- geo_allowlist?: string[] | undefined;
275
- geo_denylist?: string[] | undefined;
276
- user_agent_allow_regex?: string | undefined;
277
- user_agent_deny_regex?: string | undefined;
278
- ai_agent_policy?: {
279
- block_all?: boolean | undefined;
280
- deny_categories?: string[] | undefined;
281
- allow_categories?: string[] | undefined;
282
- } | undefined;
283
- }>>;
284
- created_at: z.ZodString;
285
- expires_at: z.ZodString;
286
- }, "strip", z.ZodTypeAny, {
287
- status: "active" | "consumed" | "expired" | "revoked";
288
- qurl_id: string;
289
- one_time_use: boolean;
290
- max_sessions: number;
291
- session_duration: number;
292
- use_count: number;
293
- created_at: string;
294
- expires_at: string;
295
- label?: string | undefined;
296
- qurl_site?: string | undefined;
297
- access_policy?: {
298
- ip_allowlist?: string[] | undefined;
299
- ip_denylist?: string[] | undefined;
300
- geo_allowlist?: string[] | undefined;
301
- geo_denylist?: string[] | undefined;
302
- user_agent_allow_regex?: string | undefined;
303
- user_agent_deny_regex?: string | undefined;
304
- ai_agent_policy?: {
305
- block_all?: boolean | undefined;
306
- deny_categories?: string[] | undefined;
307
- allow_categories?: string[] | undefined;
308
- } | undefined;
309
- } | undefined;
310
- }, {
311
- status: "active" | "consumed" | "expired" | "revoked";
312
- qurl_id: string;
313
- one_time_use: boolean;
314
- max_sessions: number;
315
- session_duration: number;
316
- use_count: number;
317
- created_at: string;
318
- expires_at: string;
319
- label?: string | undefined;
320
- qurl_site?: string | undefined;
321
- access_policy?: {
322
- ip_allowlist?: string[] | undefined;
323
- ip_denylist?: string[] | undefined;
324
- geo_allowlist?: string[] | undefined;
325
- geo_denylist?: string[] | undefined;
326
- user_agent_allow_regex?: string | undefined;
327
- user_agent_deny_regex?: string | undefined;
328
- ai_agent_policy?: {
329
- block_all?: boolean | undefined;
330
- deny_categories?: string[] | undefined;
331
- allow_categories?: string[] | undefined;
332
- } | undefined;
333
- } | undefined;
334
- }>, "many">>;
335
- }, "strip", z.ZodTypeAny, {
336
- status: "active" | "revoked";
337
- created_at: string;
338
- expires_at: string;
339
- resource_id: string;
340
- target_url: string;
341
- qurl_site?: string | undefined;
342
- description?: string | undefined;
343
- tags?: string[] | undefined;
344
- custom_domain?: string | null | undefined;
345
- preserve_host?: boolean | undefined;
346
- qurl_count?: number | undefined;
347
- qurls?: {
348
- status: "active" | "consumed" | "expired" | "revoked";
349
- qurl_id: string;
350
- one_time_use: boolean;
351
- max_sessions: number;
352
- session_duration: number;
353
- use_count: number;
354
- created_at: string;
355
- expires_at: string;
356
- label?: string | undefined;
357
- qurl_site?: string | undefined;
358
- access_policy?: {
359
- ip_allowlist?: string[] | undefined;
360
- ip_denylist?: string[] | undefined;
361
- geo_allowlist?: string[] | undefined;
362
- geo_denylist?: string[] | undefined;
363
- user_agent_allow_regex?: string | undefined;
364
- user_agent_deny_regex?: string | undefined;
365
- ai_agent_policy?: {
366
- block_all?: boolean | undefined;
367
- deny_categories?: string[] | undefined;
368
- allow_categories?: string[] | undefined;
369
- } | undefined;
370
- } | undefined;
371
- }[] | undefined;
372
- }, {
373
- status: "active" | "revoked";
374
- created_at: string;
375
- expires_at: string;
376
- resource_id: string;
377
- target_url: string;
378
- qurl_site?: string | undefined;
379
- description?: string | undefined;
380
- tags?: string[] | undefined;
381
- custom_domain?: string | null | undefined;
382
- preserve_host?: boolean | undefined;
383
- qurl_count?: number | undefined;
384
- qurls?: {
385
- status: "active" | "consumed" | "expired" | "revoked";
386
- qurl_id: string;
387
- one_time_use: boolean;
388
- max_sessions: number;
389
- session_duration: number;
390
- use_count: number;
391
- created_at: string;
392
- expires_at: string;
393
- label?: string | undefined;
394
- qurl_site?: string | undefined;
395
- access_policy?: {
396
- ip_allowlist?: string[] | undefined;
397
- ip_denylist?: string[] | undefined;
398
- geo_allowlist?: string[] | undefined;
399
- geo_denylist?: string[] | undefined;
400
- user_agent_allow_regex?: string | undefined;
401
- user_agent_deny_regex?: string | undefined;
402
- ai_agent_policy?: {
403
- block_all?: boolean | undefined;
404
- deny_categories?: string[] | undefined;
405
- allow_categories?: string[] | undefined;
406
- } | undefined;
407
- } | undefined;
408
- }[] | undefined;
409
- }>;
152
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
153
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ }, z.core.$loose>>;
155
+ }, z.core.$loose>>;
156
+ created_at: z.ZodOptional<z.ZodString>;
157
+ expires_at: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$loose>>>;
159
+ }, z.core.$loose>;
410
160
  export declare const updateQurlOutputSchema: z.ZodObject<{
411
161
  resource_id: z.ZodString;
412
162
  qurl_site: z.ZodOptional<z.ZodString>;
413
- target_url: z.ZodString;
163
+ target_url: z.ZodOptional<z.ZodString>;
414
164
  description: z.ZodOptional<z.ZodString>;
415
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
166
  expires_at: z.ZodString;
417
167
  created_at: z.ZodString;
418
- status: z.ZodEnum<["active", "revoked"]>;
168
+ status: z.ZodCatch<z.ZodEnum<{
169
+ active: "active";
170
+ expired: "expired";
171
+ revoked: "revoked";
172
+ unknown: "unknown";
173
+ }>>;
419
174
  custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
+ slug: z.ZodOptional<z.ZodString>;
420
176
  preserve_host: z.ZodOptional<z.ZodBoolean>;
421
177
  qurl_count: z.ZodOptional<z.ZodNumber>;
422
178
  qurls: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
179
  qurl_id: z.ZodString;
424
180
  label: z.ZodOptional<z.ZodString>;
425
- status: z.ZodEnum<["active", "consumed", "expired", "revoked"]>;
426
- one_time_use: z.ZodBoolean;
427
- max_sessions: z.ZodNumber;
428
- session_duration: z.ZodNumber;
429
- use_count: z.ZodNumber;
181
+ status: z.ZodCatch<z.ZodEnum<{
182
+ active: "active";
183
+ consumed: "consumed";
184
+ expired: "expired";
185
+ revoked: "revoked";
186
+ unknown: "unknown";
187
+ }>>;
188
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
189
+ max_sessions: z.ZodOptional<z.ZodNumber>;
190
+ session_duration: z.ZodOptional<z.ZodNumber>;
191
+ use_count: z.ZodOptional<z.ZodNumber>;
430
192
  qurl_site: z.ZodOptional<z.ZodString>;
431
193
  access_policy: z.ZodOptional<z.ZodObject<{
432
- ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
433
- ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
434
- geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
- geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
198
  user_agent_allow_regex: z.ZodOptional<z.ZodString>;
437
199
  user_agent_deny_regex: z.ZodOptional<z.ZodString>;
438
200
  ai_agent_policy: z.ZodOptional<z.ZodObject<{
439
201
  block_all: z.ZodOptional<z.ZodBoolean>;
440
- deny_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
441
- allow_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
442
- }, "strip", z.ZodTypeAny, {
443
- block_all?: boolean | undefined;
444
- deny_categories?: string[] | undefined;
445
- allow_categories?: string[] | undefined;
446
- }, {
447
- block_all?: boolean | undefined;
448
- deny_categories?: string[] | undefined;
449
- allow_categories?: string[] | undefined;
450
- }>>;
451
- }, "strip", z.ZodTypeAny, {
452
- ip_allowlist?: string[] | undefined;
453
- ip_denylist?: string[] | undefined;
454
- geo_allowlist?: string[] | undefined;
455
- geo_denylist?: string[] | undefined;
456
- user_agent_allow_regex?: string | undefined;
457
- user_agent_deny_regex?: string | undefined;
458
- ai_agent_policy?: {
459
- block_all?: boolean | undefined;
460
- deny_categories?: string[] | undefined;
461
- allow_categories?: string[] | undefined;
462
- } | undefined;
463
- }, {
464
- ip_allowlist?: string[] | undefined;
465
- ip_denylist?: string[] | undefined;
466
- geo_allowlist?: string[] | undefined;
467
- geo_denylist?: string[] | undefined;
468
- user_agent_allow_regex?: string | undefined;
469
- user_agent_deny_regex?: string | undefined;
470
- ai_agent_policy?: {
471
- block_all?: boolean | undefined;
472
- deny_categories?: string[] | undefined;
473
- allow_categories?: string[] | undefined;
474
- } | undefined;
475
- }>>;
476
- created_at: z.ZodString;
477
- expires_at: z.ZodString;
478
- }, "strip", z.ZodTypeAny, {
479
- status: "active" | "consumed" | "expired" | "revoked";
480
- qurl_id: string;
481
- one_time_use: boolean;
482
- max_sessions: number;
483
- session_duration: number;
484
- use_count: number;
485
- created_at: string;
486
- expires_at: string;
487
- label?: string | undefined;
488
- qurl_site?: string | undefined;
489
- access_policy?: {
490
- ip_allowlist?: string[] | undefined;
491
- ip_denylist?: string[] | undefined;
492
- geo_allowlist?: string[] | undefined;
493
- geo_denylist?: string[] | undefined;
494
- user_agent_allow_regex?: string | undefined;
495
- user_agent_deny_regex?: string | undefined;
496
- ai_agent_policy?: {
497
- block_all?: boolean | undefined;
498
- deny_categories?: string[] | undefined;
499
- allow_categories?: string[] | undefined;
500
- } | undefined;
501
- } | undefined;
502
- }, {
503
- status: "active" | "consumed" | "expired" | "revoked";
504
- qurl_id: string;
505
- one_time_use: boolean;
506
- max_sessions: number;
507
- session_duration: number;
508
- use_count: number;
509
- created_at: string;
510
- expires_at: string;
511
- label?: string | undefined;
512
- qurl_site?: string | undefined;
513
- access_policy?: {
514
- ip_allowlist?: string[] | undefined;
515
- ip_denylist?: string[] | undefined;
516
- geo_allowlist?: string[] | undefined;
517
- geo_denylist?: string[] | undefined;
518
- user_agent_allow_regex?: string | undefined;
519
- user_agent_deny_regex?: string | undefined;
520
- ai_agent_policy?: {
521
- block_all?: boolean | undefined;
522
- deny_categories?: string[] | undefined;
523
- allow_categories?: string[] | undefined;
524
- } | undefined;
525
- } | undefined;
526
- }>, "many">>;
527
- }, "strip", z.ZodTypeAny, {
528
- status: "active" | "revoked";
529
- created_at: string;
530
- expires_at: string;
531
- resource_id: string;
532
- target_url: string;
533
- qurl_site?: string | undefined;
534
- description?: string | undefined;
535
- tags?: string[] | undefined;
536
- custom_domain?: string | null | undefined;
537
- preserve_host?: boolean | undefined;
538
- qurl_count?: number | undefined;
539
- qurls?: {
540
- status: "active" | "consumed" | "expired" | "revoked";
541
- qurl_id: string;
542
- one_time_use: boolean;
543
- max_sessions: number;
544
- session_duration: number;
545
- use_count: number;
546
- created_at: string;
547
- expires_at: string;
548
- label?: string | undefined;
549
- qurl_site?: string | undefined;
550
- access_policy?: {
551
- ip_allowlist?: string[] | undefined;
552
- ip_denylist?: string[] | undefined;
553
- geo_allowlist?: string[] | undefined;
554
- geo_denylist?: string[] | undefined;
555
- user_agent_allow_regex?: string | undefined;
556
- user_agent_deny_regex?: string | undefined;
557
- ai_agent_policy?: {
558
- block_all?: boolean | undefined;
559
- deny_categories?: string[] | undefined;
560
- allow_categories?: string[] | undefined;
561
- } | undefined;
562
- } | undefined;
563
- }[] | undefined;
564
- }, {
565
- status: "active" | "revoked";
566
- created_at: string;
567
- expires_at: string;
568
- resource_id: string;
569
- target_url: string;
570
- qurl_site?: string | undefined;
571
- description?: string | undefined;
572
- tags?: string[] | undefined;
573
- custom_domain?: string | null | undefined;
574
- preserve_host?: boolean | undefined;
575
- qurl_count?: number | undefined;
576
- qurls?: {
577
- status: "active" | "consumed" | "expired" | "revoked";
578
- qurl_id: string;
579
- one_time_use: boolean;
580
- max_sessions: number;
581
- session_duration: number;
582
- use_count: number;
583
- created_at: string;
584
- expires_at: string;
585
- label?: string | undefined;
586
- qurl_site?: string | undefined;
587
- access_policy?: {
588
- ip_allowlist?: string[] | undefined;
589
- ip_denylist?: string[] | undefined;
590
- geo_allowlist?: string[] | undefined;
591
- geo_denylist?: string[] | undefined;
592
- user_agent_allow_regex?: string | undefined;
593
- user_agent_deny_regex?: string | undefined;
594
- ai_agent_policy?: {
595
- block_all?: boolean | undefined;
596
- deny_categories?: string[] | undefined;
597
- allow_categories?: string[] | undefined;
598
- } | undefined;
599
- } | undefined;
600
- }[] | undefined;
601
- }>;
202
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
203
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
204
+ }, z.core.$loose>>;
205
+ }, z.core.$loose>>;
206
+ created_at: z.ZodOptional<z.ZodString>;
207
+ expires_at: z.ZodOptional<z.ZodString>;
208
+ }, z.core.$loose>>>;
209
+ }, z.core.$loose>;
602
210
  export declare const extendQurlOutputSchema: z.ZodObject<{
603
211
  resource_id: z.ZodString;
604
212
  qurl_site: z.ZodOptional<z.ZodString>;
605
- target_url: z.ZodString;
213
+ target_url: z.ZodOptional<z.ZodString>;
606
214
  description: z.ZodOptional<z.ZodString>;
607
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
216
  expires_at: z.ZodString;
609
217
  created_at: z.ZodString;
610
- status: z.ZodEnum<["active", "revoked"]>;
218
+ status: z.ZodCatch<z.ZodEnum<{
219
+ active: "active";
220
+ expired: "expired";
221
+ revoked: "revoked";
222
+ unknown: "unknown";
223
+ }>>;
611
224
  custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ slug: z.ZodOptional<z.ZodString>;
612
226
  preserve_host: z.ZodOptional<z.ZodBoolean>;
613
227
  qurl_count: z.ZodOptional<z.ZodNumber>;
614
228
  qurls: z.ZodOptional<z.ZodArray<z.ZodObject<{
615
229
  qurl_id: z.ZodString;
616
230
  label: z.ZodOptional<z.ZodString>;
617
- status: z.ZodEnum<["active", "consumed", "expired", "revoked"]>;
618
- one_time_use: z.ZodBoolean;
619
- max_sessions: z.ZodNumber;
620
- session_duration: z.ZodNumber;
621
- use_count: z.ZodNumber;
231
+ status: z.ZodCatch<z.ZodEnum<{
232
+ active: "active";
233
+ consumed: "consumed";
234
+ expired: "expired";
235
+ revoked: "revoked";
236
+ unknown: "unknown";
237
+ }>>;
238
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
239
+ max_sessions: z.ZodOptional<z.ZodNumber>;
240
+ session_duration: z.ZodOptional<z.ZodNumber>;
241
+ use_count: z.ZodOptional<z.ZodNumber>;
622
242
  qurl_site: z.ZodOptional<z.ZodString>;
623
243
  access_policy: z.ZodOptional<z.ZodObject<{
624
- ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
625
- ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
626
- geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
627
- geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
244
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
245
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
246
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
247
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
628
248
  user_agent_allow_regex: z.ZodOptional<z.ZodString>;
629
249
  user_agent_deny_regex: z.ZodOptional<z.ZodString>;
630
250
  ai_agent_policy: z.ZodOptional<z.ZodObject<{
631
251
  block_all: z.ZodOptional<z.ZodBoolean>;
632
- deny_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
633
- allow_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
634
- }, "strip", z.ZodTypeAny, {
635
- block_all?: boolean | undefined;
636
- deny_categories?: string[] | undefined;
637
- allow_categories?: string[] | undefined;
638
- }, {
639
- block_all?: boolean | undefined;
640
- deny_categories?: string[] | undefined;
641
- allow_categories?: string[] | undefined;
642
- }>>;
643
- }, "strip", z.ZodTypeAny, {
644
- ip_allowlist?: string[] | undefined;
645
- ip_denylist?: string[] | undefined;
646
- geo_allowlist?: string[] | undefined;
647
- geo_denylist?: string[] | undefined;
648
- user_agent_allow_regex?: string | undefined;
649
- user_agent_deny_regex?: string | undefined;
650
- ai_agent_policy?: {
651
- block_all?: boolean | undefined;
652
- deny_categories?: string[] | undefined;
653
- allow_categories?: string[] | undefined;
654
- } | undefined;
655
- }, {
656
- ip_allowlist?: string[] | undefined;
657
- ip_denylist?: string[] | undefined;
658
- geo_allowlist?: string[] | undefined;
659
- geo_denylist?: string[] | undefined;
660
- user_agent_allow_regex?: string | undefined;
661
- user_agent_deny_regex?: string | undefined;
662
- ai_agent_policy?: {
663
- block_all?: boolean | undefined;
664
- deny_categories?: string[] | undefined;
665
- allow_categories?: string[] | undefined;
666
- } | undefined;
667
- }>>;
668
- created_at: z.ZodString;
669
- expires_at: z.ZodString;
670
- }, "strip", z.ZodTypeAny, {
671
- status: "active" | "consumed" | "expired" | "revoked";
672
- qurl_id: string;
673
- one_time_use: boolean;
674
- max_sessions: number;
675
- session_duration: number;
676
- use_count: number;
677
- created_at: string;
678
- expires_at: string;
679
- label?: string | undefined;
680
- qurl_site?: string | undefined;
681
- access_policy?: {
682
- ip_allowlist?: string[] | undefined;
683
- ip_denylist?: string[] | undefined;
684
- geo_allowlist?: string[] | undefined;
685
- geo_denylist?: string[] | undefined;
686
- user_agent_allow_regex?: string | undefined;
687
- user_agent_deny_regex?: string | undefined;
688
- ai_agent_policy?: {
689
- block_all?: boolean | undefined;
690
- deny_categories?: string[] | undefined;
691
- allow_categories?: string[] | undefined;
692
- } | undefined;
693
- } | undefined;
694
- }, {
695
- status: "active" | "consumed" | "expired" | "revoked";
696
- qurl_id: string;
697
- one_time_use: boolean;
698
- max_sessions: number;
699
- session_duration: number;
700
- use_count: number;
701
- created_at: string;
702
- expires_at: string;
703
- label?: string | undefined;
704
- qurl_site?: string | undefined;
705
- access_policy?: {
706
- ip_allowlist?: string[] | undefined;
707
- ip_denylist?: string[] | undefined;
708
- geo_allowlist?: string[] | undefined;
709
- geo_denylist?: string[] | undefined;
710
- user_agent_allow_regex?: string | undefined;
711
- user_agent_deny_regex?: string | undefined;
712
- ai_agent_policy?: {
713
- block_all?: boolean | undefined;
714
- deny_categories?: string[] | undefined;
715
- allow_categories?: string[] | undefined;
716
- } | undefined;
717
- } | undefined;
718
- }>, "many">>;
719
- }, "strip", z.ZodTypeAny, {
720
- status: "active" | "revoked";
721
- created_at: string;
722
- expires_at: string;
723
- resource_id: string;
724
- target_url: string;
725
- qurl_site?: string | undefined;
726
- description?: string | undefined;
727
- tags?: string[] | undefined;
728
- custom_domain?: string | null | undefined;
729
- preserve_host?: boolean | undefined;
730
- qurl_count?: number | undefined;
731
- qurls?: {
732
- status: "active" | "consumed" | "expired" | "revoked";
733
- qurl_id: string;
734
- one_time_use: boolean;
735
- max_sessions: number;
736
- session_duration: number;
737
- use_count: number;
738
- created_at: string;
739
- expires_at: string;
740
- label?: string | undefined;
741
- qurl_site?: string | undefined;
742
- access_policy?: {
743
- ip_allowlist?: string[] | undefined;
744
- ip_denylist?: string[] | undefined;
745
- geo_allowlist?: string[] | undefined;
746
- geo_denylist?: string[] | undefined;
747
- user_agent_allow_regex?: string | undefined;
748
- user_agent_deny_regex?: string | undefined;
749
- ai_agent_policy?: {
750
- block_all?: boolean | undefined;
751
- deny_categories?: string[] | undefined;
752
- allow_categories?: string[] | undefined;
753
- } | undefined;
754
- } | undefined;
755
- }[] | undefined;
756
- }, {
757
- status: "active" | "revoked";
758
- created_at: string;
759
- expires_at: string;
760
- resource_id: string;
761
- target_url: string;
762
- qurl_site?: string | undefined;
763
- description?: string | undefined;
764
- tags?: string[] | undefined;
765
- custom_domain?: string | null | undefined;
766
- preserve_host?: boolean | undefined;
767
- qurl_count?: number | undefined;
768
- qurls?: {
769
- status: "active" | "consumed" | "expired" | "revoked";
770
- qurl_id: string;
771
- one_time_use: boolean;
772
- max_sessions: number;
773
- session_duration: number;
774
- use_count: number;
775
- created_at: string;
776
- expires_at: string;
777
- label?: string | undefined;
778
- qurl_site?: string | undefined;
779
- access_policy?: {
780
- ip_allowlist?: string[] | undefined;
781
- ip_denylist?: string[] | undefined;
782
- geo_allowlist?: string[] | undefined;
783
- geo_denylist?: string[] | undefined;
784
- user_agent_allow_regex?: string | undefined;
785
- user_agent_deny_regex?: string | undefined;
786
- ai_agent_policy?: {
787
- block_all?: boolean | undefined;
788
- deny_categories?: string[] | undefined;
789
- allow_categories?: string[] | undefined;
790
- } | undefined;
791
- } | undefined;
792
- }[] | undefined;
793
- }>;
252
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
253
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
254
+ }, z.core.$loose>>;
255
+ }, z.core.$loose>>;
256
+ created_at: z.ZodOptional<z.ZodString>;
257
+ expires_at: z.ZodOptional<z.ZodString>;
258
+ }, z.core.$loose>>>;
259
+ }, z.core.$loose>;
794
260
  /**
795
261
  * Paginated list response. When `meta.has_more` is true, pass
796
262
  * `meta.next_cursor` as the `cursor` argument on the next call.
@@ -799,303 +265,61 @@ export declare const listQurlsOutputSchema: z.ZodObject<{
799
265
  data: z.ZodArray<z.ZodObject<{
800
266
  resource_id: z.ZodString;
801
267
  qurl_site: z.ZodOptional<z.ZodString>;
802
- target_url: z.ZodString;
268
+ target_url: z.ZodOptional<z.ZodString>;
803
269
  description: z.ZodOptional<z.ZodString>;
804
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
805
271
  expires_at: z.ZodString;
806
272
  created_at: z.ZodString;
807
- status: z.ZodEnum<["active", "revoked"]>;
273
+ status: z.ZodCatch<z.ZodEnum<{
274
+ active: "active";
275
+ expired: "expired";
276
+ revoked: "revoked";
277
+ unknown: "unknown";
278
+ }>>;
808
279
  custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ slug: z.ZodOptional<z.ZodString>;
809
281
  preserve_host: z.ZodOptional<z.ZodBoolean>;
810
282
  qurl_count: z.ZodOptional<z.ZodNumber>;
811
283
  qurls: z.ZodOptional<z.ZodArray<z.ZodObject<{
812
284
  qurl_id: z.ZodString;
813
285
  label: z.ZodOptional<z.ZodString>;
814
- status: z.ZodEnum<["active", "consumed", "expired", "revoked"]>;
815
- one_time_use: z.ZodBoolean;
816
- max_sessions: z.ZodNumber;
817
- session_duration: z.ZodNumber;
818
- use_count: z.ZodNumber;
286
+ status: z.ZodCatch<z.ZodEnum<{
287
+ active: "active";
288
+ consumed: "consumed";
289
+ expired: "expired";
290
+ revoked: "revoked";
291
+ unknown: "unknown";
292
+ }>>;
293
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
294
+ max_sessions: z.ZodOptional<z.ZodNumber>;
295
+ session_duration: z.ZodOptional<z.ZodNumber>;
296
+ use_count: z.ZodOptional<z.ZodNumber>;
819
297
  qurl_site: z.ZodOptional<z.ZodString>;
820
298
  access_policy: z.ZodOptional<z.ZodObject<{
821
- ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
822
- ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
- geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
824
- geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
302
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
825
303
  user_agent_allow_regex: z.ZodOptional<z.ZodString>;
826
304
  user_agent_deny_regex: z.ZodOptional<z.ZodString>;
827
305
  ai_agent_policy: z.ZodOptional<z.ZodObject<{
828
306
  block_all: z.ZodOptional<z.ZodBoolean>;
829
- deny_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
830
- allow_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
- }, "strip", z.ZodTypeAny, {
832
- block_all?: boolean | undefined;
833
- deny_categories?: string[] | undefined;
834
- allow_categories?: string[] | undefined;
835
- }, {
836
- block_all?: boolean | undefined;
837
- deny_categories?: string[] | undefined;
838
- allow_categories?: string[] | undefined;
839
- }>>;
840
- }, "strip", z.ZodTypeAny, {
841
- ip_allowlist?: string[] | undefined;
842
- ip_denylist?: string[] | undefined;
843
- geo_allowlist?: string[] | undefined;
844
- geo_denylist?: string[] | undefined;
845
- user_agent_allow_regex?: string | undefined;
846
- user_agent_deny_regex?: string | undefined;
847
- ai_agent_policy?: {
848
- block_all?: boolean | undefined;
849
- deny_categories?: string[] | undefined;
850
- allow_categories?: string[] | undefined;
851
- } | undefined;
852
- }, {
853
- ip_allowlist?: string[] | undefined;
854
- ip_denylist?: string[] | undefined;
855
- geo_allowlist?: string[] | undefined;
856
- geo_denylist?: string[] | undefined;
857
- user_agent_allow_regex?: string | undefined;
858
- user_agent_deny_regex?: string | undefined;
859
- ai_agent_policy?: {
860
- block_all?: boolean | undefined;
861
- deny_categories?: string[] | undefined;
862
- allow_categories?: string[] | undefined;
863
- } | undefined;
864
- }>>;
865
- created_at: z.ZodString;
866
- expires_at: z.ZodString;
867
- }, "strip", z.ZodTypeAny, {
868
- status: "active" | "consumed" | "expired" | "revoked";
869
- qurl_id: string;
870
- one_time_use: boolean;
871
- max_sessions: number;
872
- session_duration: number;
873
- use_count: number;
874
- created_at: string;
875
- expires_at: string;
876
- label?: string | undefined;
877
- qurl_site?: string | undefined;
878
- access_policy?: {
879
- ip_allowlist?: string[] | undefined;
880
- ip_denylist?: string[] | undefined;
881
- geo_allowlist?: string[] | undefined;
882
- geo_denylist?: string[] | undefined;
883
- user_agent_allow_regex?: string | undefined;
884
- user_agent_deny_regex?: string | undefined;
885
- ai_agent_policy?: {
886
- block_all?: boolean | undefined;
887
- deny_categories?: string[] | undefined;
888
- allow_categories?: string[] | undefined;
889
- } | undefined;
890
- } | undefined;
891
- }, {
892
- status: "active" | "consumed" | "expired" | "revoked";
893
- qurl_id: string;
894
- one_time_use: boolean;
895
- max_sessions: number;
896
- session_duration: number;
897
- use_count: number;
898
- created_at: string;
899
- expires_at: string;
900
- label?: string | undefined;
901
- qurl_site?: string | undefined;
902
- access_policy?: {
903
- ip_allowlist?: string[] | undefined;
904
- ip_denylist?: string[] | undefined;
905
- geo_allowlist?: string[] | undefined;
906
- geo_denylist?: string[] | undefined;
907
- user_agent_allow_regex?: string | undefined;
908
- user_agent_deny_regex?: string | undefined;
909
- ai_agent_policy?: {
910
- block_all?: boolean | undefined;
911
- deny_categories?: string[] | undefined;
912
- allow_categories?: string[] | undefined;
913
- } | undefined;
914
- } | undefined;
915
- }>, "many">>;
916
- }, "strip", z.ZodTypeAny, {
917
- status: "active" | "revoked";
918
- created_at: string;
919
- expires_at: string;
920
- resource_id: string;
921
- target_url: string;
922
- qurl_site?: string | undefined;
923
- description?: string | undefined;
924
- tags?: string[] | undefined;
925
- custom_domain?: string | null | undefined;
926
- preserve_host?: boolean | undefined;
927
- qurl_count?: number | undefined;
928
- qurls?: {
929
- status: "active" | "consumed" | "expired" | "revoked";
930
- qurl_id: string;
931
- one_time_use: boolean;
932
- max_sessions: number;
933
- session_duration: number;
934
- use_count: number;
935
- created_at: string;
936
- expires_at: string;
937
- label?: string | undefined;
938
- qurl_site?: string | undefined;
939
- access_policy?: {
940
- ip_allowlist?: string[] | undefined;
941
- ip_denylist?: string[] | undefined;
942
- geo_allowlist?: string[] | undefined;
943
- geo_denylist?: string[] | undefined;
944
- user_agent_allow_regex?: string | undefined;
945
- user_agent_deny_regex?: string | undefined;
946
- ai_agent_policy?: {
947
- block_all?: boolean | undefined;
948
- deny_categories?: string[] | undefined;
949
- allow_categories?: string[] | undefined;
950
- } | undefined;
951
- } | undefined;
952
- }[] | undefined;
953
- }, {
954
- status: "active" | "revoked";
955
- created_at: string;
956
- expires_at: string;
957
- resource_id: string;
958
- target_url: string;
959
- qurl_site?: string | undefined;
960
- description?: string | undefined;
961
- tags?: string[] | undefined;
962
- custom_domain?: string | null | undefined;
963
- preserve_host?: boolean | undefined;
964
- qurl_count?: number | undefined;
965
- qurls?: {
966
- status: "active" | "consumed" | "expired" | "revoked";
967
- qurl_id: string;
968
- one_time_use: boolean;
969
- max_sessions: number;
970
- session_duration: number;
971
- use_count: number;
972
- created_at: string;
973
- expires_at: string;
974
- label?: string | undefined;
975
- qurl_site?: string | undefined;
976
- access_policy?: {
977
- ip_allowlist?: string[] | undefined;
978
- ip_denylist?: string[] | undefined;
979
- geo_allowlist?: string[] | undefined;
980
- geo_denylist?: string[] | undefined;
981
- user_agent_allow_regex?: string | undefined;
982
- user_agent_deny_regex?: string | undefined;
983
- ai_agent_policy?: {
984
- block_all?: boolean | undefined;
985
- deny_categories?: string[] | undefined;
986
- allow_categories?: string[] | undefined;
987
- } | undefined;
988
- } | undefined;
989
- }[] | undefined;
990
- }>, "many">;
307
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
308
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
309
+ }, z.core.$loose>>;
310
+ }, z.core.$loose>>;
311
+ created_at: z.ZodOptional<z.ZodString>;
312
+ expires_at: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$loose>>>;
314
+ }, z.core.$loose>>;
991
315
  meta: z.ZodObject<{
992
316
  next_cursor: z.ZodOptional<z.ZodString>;
993
317
  has_more: z.ZodBoolean;
994
318
  page_size: z.ZodOptional<z.ZodNumber>;
995
319
  request_id: z.ZodOptional<z.ZodString>;
996
- }, "strip", z.ZodTypeAny, {
997
- has_more: boolean;
998
- next_cursor?: string | undefined;
999
- page_size?: number | undefined;
1000
- request_id?: string | undefined;
1001
- }, {
1002
- has_more: boolean;
1003
- next_cursor?: string | undefined;
1004
- page_size?: number | undefined;
1005
- request_id?: string | undefined;
1006
- }>;
1007
- }, "strip", z.ZodTypeAny, {
1008
- meta: {
1009
- has_more: boolean;
1010
- next_cursor?: string | undefined;
1011
- page_size?: number | undefined;
1012
- request_id?: string | undefined;
1013
- };
1014
- data: {
1015
- status: "active" | "revoked";
1016
- created_at: string;
1017
- expires_at: string;
1018
- resource_id: string;
1019
- target_url: string;
1020
- qurl_site?: string | undefined;
1021
- description?: string | undefined;
1022
- tags?: string[] | undefined;
1023
- custom_domain?: string | null | undefined;
1024
- preserve_host?: boolean | undefined;
1025
- qurl_count?: number | undefined;
1026
- qurls?: {
1027
- status: "active" | "consumed" | "expired" | "revoked";
1028
- qurl_id: string;
1029
- one_time_use: boolean;
1030
- max_sessions: number;
1031
- session_duration: number;
1032
- use_count: number;
1033
- created_at: string;
1034
- expires_at: string;
1035
- label?: string | undefined;
1036
- qurl_site?: string | undefined;
1037
- access_policy?: {
1038
- ip_allowlist?: string[] | undefined;
1039
- ip_denylist?: string[] | undefined;
1040
- geo_allowlist?: string[] | undefined;
1041
- geo_denylist?: string[] | undefined;
1042
- user_agent_allow_regex?: string | undefined;
1043
- user_agent_deny_regex?: string | undefined;
1044
- ai_agent_policy?: {
1045
- block_all?: boolean | undefined;
1046
- deny_categories?: string[] | undefined;
1047
- allow_categories?: string[] | undefined;
1048
- } | undefined;
1049
- } | undefined;
1050
- }[] | undefined;
1051
- }[];
1052
- }, {
1053
- meta: {
1054
- has_more: boolean;
1055
- next_cursor?: string | undefined;
1056
- page_size?: number | undefined;
1057
- request_id?: string | undefined;
1058
- };
1059
- data: {
1060
- status: "active" | "revoked";
1061
- created_at: string;
1062
- expires_at: string;
1063
- resource_id: string;
1064
- target_url: string;
1065
- qurl_site?: string | undefined;
1066
- description?: string | undefined;
1067
- tags?: string[] | undefined;
1068
- custom_domain?: string | null | undefined;
1069
- preserve_host?: boolean | undefined;
1070
- qurl_count?: number | undefined;
1071
- qurls?: {
1072
- status: "active" | "consumed" | "expired" | "revoked";
1073
- qurl_id: string;
1074
- one_time_use: boolean;
1075
- max_sessions: number;
1076
- session_duration: number;
1077
- use_count: number;
1078
- created_at: string;
1079
- expires_at: string;
1080
- label?: string | undefined;
1081
- qurl_site?: string | undefined;
1082
- access_policy?: {
1083
- ip_allowlist?: string[] | undefined;
1084
- ip_denylist?: string[] | undefined;
1085
- geo_allowlist?: string[] | undefined;
1086
- geo_denylist?: string[] | undefined;
1087
- user_agent_allow_regex?: string | undefined;
1088
- user_agent_deny_regex?: string | undefined;
1089
- ai_agent_policy?: {
1090
- block_all?: boolean | undefined;
1091
- deny_categories?: string[] | undefined;
1092
- allow_categories?: string[] | undefined;
1093
- } | undefined;
1094
- } | undefined;
1095
- }[] | undefined;
1096
- }[];
1097
- }>;
1098
- /** Resolve response: target_url + the access_grant that opens the firewall. */
320
+ }, z.core.$loose>;
321
+ }, z.core.$loose>;
322
+ /** Resolve response: target_url + the access_grant that grants network access. */
1099
323
  export declare const resolveQurlOutputSchema: z.ZodObject<{
1100
324
  target_url: z.ZodString;
1101
325
  resource_id: z.ZodString;
@@ -1103,43 +327,114 @@ export declare const resolveQurlOutputSchema: z.ZodObject<{
1103
327
  expires_in: z.ZodNumber;
1104
328
  granted_at: z.ZodString;
1105
329
  src_ip: z.ZodString;
1106
- }, "strip", z.ZodTypeAny, {
1107
- expires_in: number;
1108
- granted_at: string;
1109
- src_ip: string;
1110
- }, {
1111
- expires_in: number;
1112
- granted_at: string;
1113
- src_ip: string;
1114
- }>;
1115
- }, "strip", z.ZodTypeAny, {
1116
- resource_id: string;
1117
- target_url: string;
1118
- access_grant: {
1119
- expires_in: number;
1120
- granted_at: string;
1121
- src_ip: string;
1122
- };
1123
- }, {
1124
- resource_id: string;
1125
- target_url: string;
1126
- access_grant: {
1127
- expires_in: number;
1128
- granted_at: string;
1129
- src_ip: string;
1130
- };
1131
- }>;
330
+ }, z.core.$loose>;
331
+ }, z.core.$loose>;
1132
332
  /** Mint response: a fresh `qurl_link` for an existing resource. One-shot, like create_qurl. */
1133
333
  export declare const mintLinkOutputSchema: z.ZodObject<{
334
+ qurl_id: z.ZodString;
1134
335
  qurl_link: z.ZodString;
1135
- expires_at: z.ZodString;
1136
- }, "strip", z.ZodTypeAny, {
1137
- expires_at: string;
1138
- qurl_link: string;
1139
- }, {
1140
- expires_at: string;
1141
- qurl_link: string;
1142
- }>;
336
+ branded_domain: z.ZodOptional<z.ZodString>;
337
+ expires_at: z.ZodOptional<z.ZodString>;
338
+ type: z.ZodOptional<z.ZodString>;
339
+ email_delivery: z.ZodOptional<z.ZodObject<{
340
+ attempted: z.ZodBoolean;
341
+ enabled: z.ZodBoolean;
342
+ recipients: z.ZodArray<z.ZodString>;
343
+ sent: z.ZodNumber;
344
+ failed: z.ZodNumber;
345
+ skipped_reason: z.ZodOptional<z.ZodString>;
346
+ results: z.ZodArray<z.ZodObject<{
347
+ email: z.ZodString;
348
+ success: z.ZodBoolean;
349
+ skipped: z.ZodBoolean;
350
+ error: z.ZodOptional<z.ZodString>;
351
+ message_id: z.ZodOptional<z.ZodString>;
352
+ }, z.core.$strip>>;
353
+ }, z.core.$strip>>;
354
+ }, z.core.$loose>;
355
+ export declare const uploadFileQurlOutputSchema: z.ZodObject<{
356
+ resource_id: z.ZodString;
357
+ qurl_id: z.ZodString;
358
+ qurl_link: z.ZodString;
359
+ qurl_site: z.ZodOptional<z.ZodString>;
360
+ expires_at: z.ZodOptional<z.ZodString>;
361
+ file_name: z.ZodString;
362
+ content_type: z.ZodString;
363
+ size_bytes: z.ZodNumber;
364
+ branded_domain: z.ZodOptional<z.ZodString>;
365
+ type: z.ZodOptional<z.ZodString>;
366
+ email_delivery: z.ZodOptional<z.ZodObject<{
367
+ attempted: z.ZodBoolean;
368
+ enabled: z.ZodBoolean;
369
+ recipients: z.ZodArray<z.ZodString>;
370
+ sent: z.ZodNumber;
371
+ failed: z.ZodNumber;
372
+ skipped_reason: z.ZodOptional<z.ZodString>;
373
+ results: z.ZodArray<z.ZodObject<{
374
+ email: z.ZodString;
375
+ success: z.ZodBoolean;
376
+ skipped: z.ZodBoolean;
377
+ error: z.ZodOptional<z.ZodString>;
378
+ message_id: z.ZodOptional<z.ZodString>;
379
+ }, z.core.$strip>>;
380
+ }, z.core.$strip>>;
381
+ }, z.core.$loose>;
382
+ export declare const updateQurlTokenOutputSchema: z.ZodObject<{
383
+ qurl_id: z.ZodString;
384
+ label: z.ZodOptional<z.ZodString>;
385
+ status: z.ZodCatch<z.ZodEnum<{
386
+ active: "active";
387
+ consumed: "consumed";
388
+ expired: "expired";
389
+ revoked: "revoked";
390
+ unknown: "unknown";
391
+ }>>;
392
+ one_time_use: z.ZodOptional<z.ZodBoolean>;
393
+ max_sessions: z.ZodOptional<z.ZodNumber>;
394
+ session_duration: z.ZodOptional<z.ZodNumber>;
395
+ use_count: z.ZodOptional<z.ZodNumber>;
396
+ qurl_site: z.ZodOptional<z.ZodString>;
397
+ access_policy: z.ZodOptional<z.ZodObject<{
398
+ ip_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
399
+ ip_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
400
+ geo_allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
401
+ geo_denylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
402
+ user_agent_allow_regex: z.ZodOptional<z.ZodString>;
403
+ user_agent_deny_regex: z.ZodOptional<z.ZodString>;
404
+ ai_agent_policy: z.ZodOptional<z.ZodObject<{
405
+ block_all: z.ZodOptional<z.ZodBoolean>;
406
+ deny_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
407
+ allow_categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
408
+ }, z.core.$loose>>;
409
+ }, z.core.$loose>>;
410
+ created_at: z.ZodOptional<z.ZodString>;
411
+ expires_at: z.ZodOptional<z.ZodString>;
412
+ }, z.core.$loose>;
413
+ export declare const revokeQurlTokenOutputSchema: z.ZodObject<{
414
+ resource_id: z.ZodString;
415
+ qurl_id: z.ZodString;
416
+ revoked: z.ZodLiteral<true>;
417
+ message: z.ZodString;
418
+ }, z.core.$loose>;
419
+ export declare const listQurlSessionsOutputSchema: z.ZodObject<{
420
+ data: z.ZodArray<z.ZodObject<{
421
+ session_id: z.ZodString;
422
+ qurl_id: z.ZodOptional<z.ZodString>;
423
+ src_ip: z.ZodOptional<z.ZodString>;
424
+ user_agent: z.ZodOptional<z.ZodString>;
425
+ created_at: z.ZodOptional<z.ZodString>;
426
+ last_seen_at: z.ZodOptional<z.ZodString>;
427
+ }, z.core.$loose>>;
428
+ meta: z.ZodOptional<z.ZodObject<{
429
+ request_id: z.ZodOptional<z.ZodString>;
430
+ }, z.core.$loose>>;
431
+ }, z.core.$loose>;
432
+ export declare const terminateQurlSessionsOutputSchema: z.ZodObject<{
433
+ resource_id: z.ZodString;
434
+ session_id: z.ZodOptional<z.ZodString>;
435
+ terminated: z.ZodNumber;
436
+ message: z.ZodString;
437
+ }, z.core.$loose>;
1143
438
  /**
1144
439
  * Batch creation response. The handler sets `isError: true` when `failed > 0`
1145
440
  * so agents can branch on partial failure without parsing JSON. `request_id`
@@ -1152,110 +447,29 @@ export declare const mintLinkOutputSchema: z.ZodObject<{
1152
447
  export declare const batchCreateOutputSchema: z.ZodObject<{
1153
448
  succeeded: z.ZodNumber;
1154
449
  failed: z.ZodNumber;
1155
- results: z.ZodArray<z.ZodDiscriminatedUnion<"success", [z.ZodObject<{
450
+ results: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1156
451
  index: z.ZodNumber;
1157
452
  success: z.ZodLiteral<true>;
1158
453
  resource_id: z.ZodString;
1159
454
  qurl_link: z.ZodString;
455
+ branded_domain: z.ZodOptional<z.ZodString>;
1160
456
  qurl_site: z.ZodString;
1161
457
  expires_at: z.ZodString;
1162
- }, "strip", z.ZodTypeAny, {
1163
- qurl_site: string;
1164
- expires_at: string;
1165
- resource_id: string;
1166
- qurl_link: string;
1167
- index: number;
1168
- success: true;
1169
- }, {
1170
- qurl_site: string;
1171
- expires_at: string;
1172
- resource_id: string;
1173
- qurl_link: string;
1174
- index: number;
1175
- success: true;
1176
- }>, z.ZodObject<{
458
+ }, z.core.$loose>, z.ZodObject<{
1177
459
  index: z.ZodNumber;
1178
460
  success: z.ZodLiteral<false>;
1179
461
  error: z.ZodObject<{
1180
462
  code: z.ZodString;
1181
463
  message: z.ZodString;
1182
- }, "strip", z.ZodTypeAny, {
1183
- code: string;
1184
- message: string;
1185
- }, {
1186
- code: string;
1187
- message: string;
1188
- }>;
1189
- }, "strip", z.ZodTypeAny, {
1190
- error: {
1191
- code: string;
1192
- message: string;
1193
- };
1194
- index: number;
1195
- success: false;
1196
- }, {
1197
- error: {
1198
- code: string;
1199
- message: string;
1200
- };
1201
- index: number;
1202
- success: false;
1203
- }>]>, "many">;
464
+ }, z.core.$loose>;
465
+ }, z.core.$loose>], "success">>;
1204
466
  request_id: z.ZodOptional<z.ZodString>;
1205
- }, "strip", z.ZodTypeAny, {
1206
- succeeded: number;
1207
- failed: number;
1208
- results: ({
1209
- qurl_site: string;
1210
- expires_at: string;
1211
- resource_id: string;
1212
- qurl_link: string;
1213
- index: number;
1214
- success: true;
1215
- } | {
1216
- error: {
1217
- code: string;
1218
- message: string;
1219
- };
1220
- index: number;
1221
- success: false;
1222
- })[];
1223
- request_id?: string | undefined;
1224
- }, {
1225
- succeeded: number;
1226
- failed: number;
1227
- results: ({
1228
- qurl_site: string;
1229
- expires_at: string;
1230
- resource_id: string;
1231
- qurl_link: string;
1232
- index: number;
1233
- success: true;
1234
- } | {
1235
- error: {
1236
- code: string;
1237
- message: string;
1238
- };
1239
- index: number;
1240
- success: false;
1241
- })[];
1242
- request_id?: string | undefined;
1243
- }>;
467
+ }, z.core.$loose>;
1244
468
  /** Delete confirmation. The qURL is in a revoked state after this call. */
1245
469
  export declare const deleteQurlOutputSchema: z.ZodObject<{
1246
470
  resource_id: z.ZodString;
1247
471
  revoked: z.ZodLiteral<true>;
1248
472
  was_already_revoked: z.ZodBoolean;
1249
473
  message: z.ZodString;
1250
- }, "strip", z.ZodTypeAny, {
1251
- revoked: true;
1252
- message: string;
1253
- resource_id: string;
1254
- was_already_revoked: boolean;
1255
- }, {
1256
- revoked: true;
1257
- message: string;
1258
- resource_id: string;
1259
- was_already_revoked: boolean;
1260
- }>;
474
+ }, z.core.$loose>;
1261
475
  //# sourceMappingURL=output-schemas.d.ts.map