@h-ai/api-contract 0.1.0-alpha.70 → 0.1.0-alpha.72
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.en.md +9 -9
- package/README.ja.md +9 -9
- package/README.md +9 -9
- package/dist/ai/index.d.ts +6 -0
- package/dist/ai/index.js +2 -2
- package/dist/{chunk-JKPLID6E.js → chunk-5UEDYQLG.js} +3 -2
- package/dist/chunk-5UEDYQLG.js.map +1 -0
- package/dist/{chunk-5XQIW67A.js → chunk-DL2OYVLO.js} +3 -3
- package/dist/{chunk-5XQIW67A.js.map → chunk-DL2OYVLO.js.map} +1 -1
- package/dist/{chunk-OQG36ECJ.js → chunk-JVJJOK4X.js} +31 -7
- package/dist/chunk-JVJJOK4X.js.map +1 -0
- package/dist/{chunk-G55ATYDA.js → chunk-LD5PSL4C.js} +3 -3
- package/dist/{chunk-G55ATYDA.js.map → chunk-LD5PSL4C.js.map} +1 -1
- package/dist/{chunk-R5GDWFYC.js → chunk-M4DEKGOP.js} +3 -3
- package/dist/{chunk-R5GDWFYC.js.map → chunk-M4DEKGOP.js.map} +1 -1
- package/dist/{chunk-IVZVAWEF.js → chunk-ZM7KM6V3.js} +3 -3
- package/dist/{chunk-IVZVAWEF.js.map → chunk-ZM7KM6V3.js.map} +1 -1
- package/dist/feedback/index.d.ts +570 -482
- package/dist/feedback/index.js +2 -2
- package/dist/iam/index.d.ts +28 -0
- package/dist/iam/index.js +2 -2
- package/dist/index.d.ts +93 -1
- package/dist/index.js +12 -12
- package/dist/payment/index.d.ts +6 -0
- package/dist/payment/index.js +2 -2
- package/dist/storage/index.d.ts +6 -0
- package/dist/storage/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-JKPLID6E.js.map +0 -1
- package/dist/chunk-OQG36ECJ.js.map +0 -1
package/dist/feedback/index.d.ts
CHANGED
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
import * as _orpc_contract from '@orpc/contract';
|
|
2
|
-
import * as zod_v4_core from 'zod/v4/core';
|
|
3
|
-
import * as zod from 'zod';
|
|
4
1
|
import { z } from 'zod';
|
|
2
|
+
import * as _orpc_contract from '@orpc/contract';
|
|
3
|
+
|
|
4
|
+
/** 反馈在采集、HTTP 和离线包之间共用的字节预算;总量按未压缩字节计算。 */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 有效容量策略;只含公开上限,不暴露存储或通知配置。
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { FeedbackBudgetSchema, resolveFeedbackBudget } from '@h-ai/api-contract/feedback'
|
|
11
|
+
* const budget = FeedbackBudgetSchema.parse(resolveFeedbackBudget())
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare const FeedbackBudgetSchema: z.ZodObject<{
|
|
15
|
+
maxTotalBytes: z.ZodNumber;
|
|
16
|
+
maxAttachmentBytes: z.ZodNumber;
|
|
17
|
+
maxAttachmentsBytes: z.ZodNumber;
|
|
18
|
+
maxAttachmentCount: z.ZodNumber;
|
|
19
|
+
maxEvidenceBytes: z.ZodNumber;
|
|
20
|
+
maxEvidenceCount: z.ZodNumber;
|
|
21
|
+
maxTransportBytes: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
/**
|
|
24
|
+
* 由服务端公开的有效预算。
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* import { type FeedbackBudget, resolveFeedbackBudget } from '@h-ai/api-contract/feedback'
|
|
28
|
+
* const budget: FeedbackBudget = resolveFeedbackBudget()
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
type FeedbackBudget = z.infer<typeof FeedbackBudgetSchema>;
|
|
32
|
+
/**
|
|
33
|
+
* 配置一次总容量,派生附件、双份证据和 JSON/Base64 传输上限;更小的旧单项限制仍生效。
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* import { resolveFeedbackBudget } from '@h-ai/api-contract/feedback'
|
|
37
|
+
* const budget = resolveFeedbackBudget({ maxTotalBytes: 16 * 1024 * 1024 })
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
declare function resolveFeedbackBudget(input?: {
|
|
41
|
+
maxTotalBytes?: number;
|
|
42
|
+
maxAttachmentBytes?: number;
|
|
43
|
+
maxEvidenceBytes?: number;
|
|
44
|
+
maxEvidenceCount?: number;
|
|
45
|
+
}): FeedbackBudget;
|
|
5
46
|
|
|
6
47
|
/**
|
|
7
48
|
* 反馈契约,宿主自行决定是否挂载。
|
|
@@ -14,29 +55,54 @@ import { z } from 'zod';
|
|
|
14
55
|
*/
|
|
15
56
|
declare const feedbackContract: {
|
|
16
57
|
reports: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
58
|
+
policy: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
59
|
+
success: z.ZodLiteral<true>;
|
|
60
|
+
data: z.ZodObject<{
|
|
61
|
+
maxTotalBytes: z.ZodNumber;
|
|
62
|
+
maxAttachmentBytes: z.ZodNumber;
|
|
63
|
+
maxAttachmentsBytes: z.ZodNumber;
|
|
64
|
+
maxAttachmentCount: z.ZodNumber;
|
|
65
|
+
maxEvidenceBytes: z.ZodNumber;
|
|
66
|
+
maxEvidenceCount: z.ZodNumber;
|
|
67
|
+
maxTransportBytes: z.ZodNumber;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
success: z.ZodLiteral<false>;
|
|
71
|
+
error: z.ZodObject<{
|
|
72
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
73
|
+
message: z.ZodString;
|
|
74
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
75
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
system: z.ZodOptional<z.ZodString>;
|
|
77
|
+
module: z.ZodOptional<z.ZodString>;
|
|
78
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
79
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
80
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
83
|
+
submit: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
84
|
+
submissionId: z.ZodString;
|
|
85
|
+
appId: z.ZodString;
|
|
86
|
+
description: z.ZodOptional<z.ZodString>;
|
|
87
|
+
category: z.ZodOptional<z.ZodString>;
|
|
88
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
89
|
+
url: z.ZodOptional<z.ZodString>;
|
|
90
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
91
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
92
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
93
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
kind: z.ZodEnum<{
|
|
29
95
|
error: "error";
|
|
30
96
|
feedback: "feedback";
|
|
31
97
|
}>;
|
|
32
|
-
timestamp:
|
|
33
|
-
errorId:
|
|
34
|
-
},
|
|
35
|
-
evidence:
|
|
36
|
-
id:
|
|
37
|
-
source:
|
|
38
|
-
sequence:
|
|
39
|
-
kind:
|
|
98
|
+
timestamp: z.ZodNumber;
|
|
99
|
+
errorId: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
source: z.ZodString;
|
|
104
|
+
sequence: z.ZodNumber;
|
|
105
|
+
kind: z.ZodEnum<{
|
|
40
106
|
error: "error";
|
|
41
107
|
request: "request";
|
|
42
108
|
log: "log";
|
|
@@ -47,267 +113,274 @@ declare const feedbackContract: {
|
|
|
47
113
|
business: "business";
|
|
48
114
|
missing: "missing";
|
|
49
115
|
}>;
|
|
50
|
-
timestamp:
|
|
51
|
-
requestId:
|
|
52
|
-
errorId:
|
|
53
|
-
data:
|
|
54
|
-
missingReason:
|
|
55
|
-
},
|
|
56
|
-
attachments:
|
|
57
|
-
id:
|
|
58
|
-
name:
|
|
59
|
-
contentType:
|
|
60
|
-
size:
|
|
61
|
-
checksum:
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
success:
|
|
65
|
-
data:
|
|
66
|
-
id:
|
|
67
|
-
number:
|
|
68
|
-
appId:
|
|
69
|
-
scopeId:
|
|
70
|
-
userId:
|
|
71
|
-
status:
|
|
116
|
+
timestamp: z.ZodNumber;
|
|
117
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
errorId: z.ZodOptional<z.ZodString>;
|
|
119
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
120
|
+
missingReason: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strict>>>;
|
|
122
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
name: z.ZodString;
|
|
125
|
+
contentType: z.ZodString;
|
|
126
|
+
size: z.ZodNumber;
|
|
127
|
+
checksum: z.ZodString;
|
|
128
|
+
}, z.core.$strict>>>;
|
|
129
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
130
|
+
success: z.ZodLiteral<true>;
|
|
131
|
+
data: z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
number: z.ZodString;
|
|
134
|
+
appId: z.ZodString;
|
|
135
|
+
scopeId: z.ZodString;
|
|
136
|
+
userId: z.ZodString;
|
|
137
|
+
status: z.ZodEnum<{
|
|
72
138
|
pending: "pending";
|
|
73
139
|
handled: "handled";
|
|
74
140
|
}>;
|
|
75
|
-
collectionStatus:
|
|
141
|
+
collectionStatus: z.ZodEnum<{
|
|
76
142
|
collecting: "collecting";
|
|
77
143
|
complete: "complete";
|
|
78
144
|
partial: "partial";
|
|
79
145
|
failed: "failed";
|
|
80
146
|
}>;
|
|
81
|
-
notificationStatus:
|
|
147
|
+
notificationStatus: z.ZodEnum<{
|
|
82
148
|
pending: "pending";
|
|
83
149
|
failed: "failed";
|
|
150
|
+
disabled: "disabled";
|
|
84
151
|
sending: "sending";
|
|
85
152
|
sent: "sent";
|
|
86
153
|
deferred: "deferred";
|
|
87
154
|
}>;
|
|
88
|
-
description:
|
|
89
|
-
summary:
|
|
90
|
-
category:
|
|
91
|
-
contact:
|
|
92
|
-
url:
|
|
93
|
-
appVersion:
|
|
94
|
-
buildId:
|
|
95
|
-
commit:
|
|
96
|
-
createdAt:
|
|
97
|
-
updatedAt:
|
|
98
|
-
version:
|
|
99
|
-
evidenceRevision:
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
success:
|
|
103
|
-
error:
|
|
104
|
-
code:
|
|
105
|
-
message:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
155
|
+
description: z.ZodOptional<z.ZodString>;
|
|
156
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
157
|
+
category: z.ZodOptional<z.ZodString>;
|
|
158
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
159
|
+
url: z.ZodOptional<z.ZodString>;
|
|
160
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
161
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
162
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
163
|
+
createdAt: z.ZodNumber;
|
|
164
|
+
updatedAt: z.ZodNumber;
|
|
165
|
+
version: z.ZodNumber;
|
|
166
|
+
evidenceRevision: z.ZodNumber;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
success: z.ZodLiteral<false>;
|
|
170
|
+
error: z.ZodObject<{
|
|
171
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
172
|
+
message: z.ZodString;
|
|
173
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
174
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
system: z.ZodOptional<z.ZodString>;
|
|
176
|
+
module: z.ZodOptional<z.ZodString>;
|
|
177
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
178
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
179
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
182
|
+
list: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
183
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
184
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
185
|
+
sortDirection: z.ZodOptional<z.ZodEnum<{
|
|
118
186
|
asc: "asc";
|
|
119
187
|
desc: "desc";
|
|
120
188
|
}>>;
|
|
121
|
-
status:
|
|
189
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
122
190
|
pending: "pending";
|
|
123
191
|
handled: "handled";
|
|
124
192
|
}>>;
|
|
125
|
-
collectionStatus:
|
|
193
|
+
collectionStatus: z.ZodOptional<z.ZodEnum<{
|
|
126
194
|
collecting: "collecting";
|
|
127
195
|
complete: "complete";
|
|
128
196
|
partial: "partial";
|
|
129
197
|
failed: "failed";
|
|
130
198
|
}>>;
|
|
131
|
-
notificationStatus:
|
|
199
|
+
notificationStatus: z.ZodOptional<z.ZodEnum<{
|
|
132
200
|
pending: "pending";
|
|
133
201
|
failed: "failed";
|
|
202
|
+
disabled: "disabled";
|
|
134
203
|
sending: "sending";
|
|
135
204
|
sent: "sent";
|
|
136
205
|
deferred: "deferred";
|
|
137
206
|
}>>;
|
|
138
|
-
appId:
|
|
139
|
-
appVersion:
|
|
140
|
-
search:
|
|
141
|
-
from:
|
|
142
|
-
to:
|
|
143
|
-
},
|
|
144
|
-
success:
|
|
145
|
-
data:
|
|
146
|
-
items:
|
|
147
|
-
id:
|
|
148
|
-
number:
|
|
149
|
-
appId:
|
|
150
|
-
scopeId:
|
|
151
|
-
userId:
|
|
152
|
-
status:
|
|
207
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
208
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
209
|
+
search: z.ZodOptional<z.ZodString>;
|
|
210
|
+
from: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
211
|
+
to: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
212
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
213
|
+
success: z.ZodLiteral<true>;
|
|
214
|
+
data: z.ZodObject<{
|
|
215
|
+
items: z.ZodArray<z.ZodObject<{
|
|
216
|
+
id: z.ZodString;
|
|
217
|
+
number: z.ZodString;
|
|
218
|
+
appId: z.ZodString;
|
|
219
|
+
scopeId: z.ZodString;
|
|
220
|
+
userId: z.ZodString;
|
|
221
|
+
status: z.ZodEnum<{
|
|
153
222
|
pending: "pending";
|
|
154
223
|
handled: "handled";
|
|
155
224
|
}>;
|
|
156
|
-
collectionStatus:
|
|
225
|
+
collectionStatus: z.ZodEnum<{
|
|
157
226
|
collecting: "collecting";
|
|
158
227
|
complete: "complete";
|
|
159
228
|
partial: "partial";
|
|
160
229
|
failed: "failed";
|
|
161
230
|
}>;
|
|
162
|
-
notificationStatus:
|
|
231
|
+
notificationStatus: z.ZodEnum<{
|
|
163
232
|
pending: "pending";
|
|
164
233
|
failed: "failed";
|
|
234
|
+
disabled: "disabled";
|
|
165
235
|
sending: "sending";
|
|
166
236
|
sent: "sent";
|
|
167
237
|
deferred: "deferred";
|
|
168
238
|
}>;
|
|
169
|
-
description:
|
|
170
|
-
summary:
|
|
171
|
-
category:
|
|
172
|
-
contact:
|
|
173
|
-
url:
|
|
174
|
-
appVersion:
|
|
175
|
-
buildId:
|
|
176
|
-
commit:
|
|
177
|
-
createdAt:
|
|
178
|
-
updatedAt:
|
|
179
|
-
version:
|
|
180
|
-
evidenceRevision:
|
|
181
|
-
},
|
|
182
|
-
total:
|
|
183
|
-
page:
|
|
184
|
-
pageSize:
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
success:
|
|
188
|
-
error:
|
|
189
|
-
code:
|
|
190
|
-
message:
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
239
|
+
description: z.ZodOptional<z.ZodString>;
|
|
240
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
241
|
+
category: z.ZodOptional<z.ZodString>;
|
|
242
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
243
|
+
url: z.ZodOptional<z.ZodString>;
|
|
244
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
245
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
247
|
+
createdAt: z.ZodNumber;
|
|
248
|
+
updatedAt: z.ZodNumber;
|
|
249
|
+
version: z.ZodNumber;
|
|
250
|
+
evidenceRevision: z.ZodNumber;
|
|
251
|
+
}, z.core.$strip>>;
|
|
252
|
+
total: z.ZodNumber;
|
|
253
|
+
page: z.ZodNumber;
|
|
254
|
+
pageSize: z.ZodNumber;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
success: z.ZodLiteral<false>;
|
|
258
|
+
error: z.ZodObject<{
|
|
259
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
260
|
+
message: z.ZodString;
|
|
261
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
262
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
system: z.ZodOptional<z.ZodString>;
|
|
264
|
+
module: z.ZodOptional<z.ZodString>;
|
|
265
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
266
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
267
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
270
|
+
get: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
271
|
+
id: z.ZodString;
|
|
272
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
273
|
+
success: z.ZodLiteral<true>;
|
|
274
|
+
data: z.ZodObject<{
|
|
275
|
+
report: z.ZodObject<{
|
|
276
|
+
id: z.ZodString;
|
|
277
|
+
number: z.ZodString;
|
|
278
|
+
appId: z.ZodString;
|
|
279
|
+
scopeId: z.ZodString;
|
|
280
|
+
userId: z.ZodString;
|
|
281
|
+
status: z.ZodEnum<{
|
|
211
282
|
pending: "pending";
|
|
212
283
|
handled: "handled";
|
|
213
284
|
}>;
|
|
214
|
-
collectionStatus:
|
|
285
|
+
collectionStatus: z.ZodEnum<{
|
|
215
286
|
collecting: "collecting";
|
|
216
287
|
complete: "complete";
|
|
217
288
|
partial: "partial";
|
|
218
289
|
failed: "failed";
|
|
219
290
|
}>;
|
|
220
|
-
notificationStatus:
|
|
291
|
+
notificationStatus: z.ZodEnum<{
|
|
221
292
|
pending: "pending";
|
|
222
293
|
failed: "failed";
|
|
294
|
+
disabled: "disabled";
|
|
223
295
|
sending: "sending";
|
|
224
296
|
sent: "sent";
|
|
225
297
|
deferred: "deferred";
|
|
226
298
|
}>;
|
|
227
|
-
description:
|
|
228
|
-
summary:
|
|
229
|
-
category:
|
|
230
|
-
contact:
|
|
231
|
-
url:
|
|
232
|
-
appVersion:
|
|
233
|
-
buildId:
|
|
234
|
-
commit:
|
|
235
|
-
createdAt:
|
|
236
|
-
updatedAt:
|
|
237
|
-
version:
|
|
238
|
-
evidenceRevision:
|
|
239
|
-
},
|
|
240
|
-
attachments:
|
|
241
|
-
id:
|
|
242
|
-
name:
|
|
243
|
-
contentType:
|
|
244
|
-
size:
|
|
245
|
-
checksum:
|
|
246
|
-
feedbackId:
|
|
247
|
-
status:
|
|
299
|
+
description: z.ZodOptional<z.ZodString>;
|
|
300
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
301
|
+
category: z.ZodOptional<z.ZodString>;
|
|
302
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
303
|
+
url: z.ZodOptional<z.ZodString>;
|
|
304
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
305
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
306
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
307
|
+
createdAt: z.ZodNumber;
|
|
308
|
+
updatedAt: z.ZodNumber;
|
|
309
|
+
version: z.ZodNumber;
|
|
310
|
+
evidenceRevision: z.ZodNumber;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
313
|
+
id: z.ZodString;
|
|
314
|
+
name: z.ZodString;
|
|
315
|
+
contentType: z.ZodString;
|
|
316
|
+
size: z.ZodNumber;
|
|
317
|
+
checksum: z.ZodString;
|
|
318
|
+
feedbackId: z.ZodString;
|
|
319
|
+
status: z.ZodEnum<{
|
|
248
320
|
pending: "pending";
|
|
249
321
|
failed: "failed";
|
|
250
322
|
available: "available";
|
|
251
323
|
}>;
|
|
252
|
-
missingReason:
|
|
253
|
-
},
|
|
254
|
-
history:
|
|
255
|
-
id:
|
|
256
|
-
feedbackId:
|
|
257
|
-
userId:
|
|
258
|
-
from:
|
|
324
|
+
missingReason: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
history: z.ZodArray<z.ZodObject<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
feedbackId: z.ZodString;
|
|
329
|
+
userId: z.ZodString;
|
|
330
|
+
from: z.ZodEnum<{
|
|
259
331
|
pending: "pending";
|
|
260
332
|
handled: "handled";
|
|
261
333
|
}>;
|
|
262
|
-
to:
|
|
334
|
+
to: z.ZodEnum<{
|
|
263
335
|
pending: "pending";
|
|
264
336
|
handled: "handled";
|
|
265
337
|
}>;
|
|
266
|
-
timestamp:
|
|
267
|
-
note:
|
|
268
|
-
},
|
|
269
|
-
jobs:
|
|
270
|
-
id:
|
|
271
|
-
feedbackId:
|
|
272
|
-
type:
|
|
338
|
+
timestamp: z.ZodNumber;
|
|
339
|
+
note: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
341
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
342
|
+
id: z.ZodString;
|
|
343
|
+
feedbackId: z.ZodString;
|
|
344
|
+
type: z.ZodEnum<{
|
|
273
345
|
collect: "collect";
|
|
274
346
|
notify: "notify";
|
|
275
347
|
export: "export";
|
|
276
348
|
cleanup: "cleanup";
|
|
277
349
|
}>;
|
|
278
|
-
status:
|
|
350
|
+
status: z.ZodEnum<{
|
|
279
351
|
pending: "pending";
|
|
280
352
|
failed: "failed";
|
|
281
353
|
running: "running";
|
|
282
354
|
succeeded: "succeeded";
|
|
283
355
|
}>;
|
|
284
|
-
attempts:
|
|
285
|
-
createdAt:
|
|
286
|
-
updatedAt:
|
|
287
|
-
nextRunAt:
|
|
288
|
-
lastError:
|
|
289
|
-
result:
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
success:
|
|
294
|
-
error:
|
|
295
|
-
code:
|
|
296
|
-
message:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
356
|
+
attempts: z.ZodNumber;
|
|
357
|
+
createdAt: z.ZodNumber;
|
|
358
|
+
updatedAt: z.ZodNumber;
|
|
359
|
+
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
361
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
365
|
+
success: z.ZodLiteral<false>;
|
|
366
|
+
error: z.ZodObject<{
|
|
367
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
368
|
+
message: z.ZodString;
|
|
369
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
system: z.ZodOptional<z.ZodString>;
|
|
372
|
+
module: z.ZodOptional<z.ZodString>;
|
|
373
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
374
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
375
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
378
|
+
getEvidence: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
379
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
380
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
381
|
+
id: z.ZodString;
|
|
382
|
+
source: z.ZodOptional<z.ZodString>;
|
|
383
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
311
384
|
error: "error";
|
|
312
385
|
request: "request";
|
|
313
386
|
log: "log";
|
|
@@ -318,18 +391,18 @@ declare const feedbackContract: {
|
|
|
318
391
|
business: "business";
|
|
319
392
|
missing: "missing";
|
|
320
393
|
}>>;
|
|
321
|
-
requestId:
|
|
322
|
-
errorId:
|
|
323
|
-
from:
|
|
324
|
-
to:
|
|
325
|
-
},
|
|
326
|
-
success:
|
|
327
|
-
data:
|
|
328
|
-
items:
|
|
329
|
-
id:
|
|
330
|
-
source:
|
|
331
|
-
sequence:
|
|
332
|
-
kind:
|
|
394
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
395
|
+
errorId: z.ZodOptional<z.ZodString>;
|
|
396
|
+
from: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
397
|
+
to: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
398
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
399
|
+
success: z.ZodLiteral<true>;
|
|
400
|
+
data: z.ZodObject<{
|
|
401
|
+
items: z.ZodArray<z.ZodObject<{
|
|
402
|
+
id: z.ZodString;
|
|
403
|
+
source: z.ZodString;
|
|
404
|
+
sequence: z.ZodNumber;
|
|
405
|
+
kind: z.ZodEnum<{
|
|
333
406
|
error: "error";
|
|
334
407
|
request: "request";
|
|
335
408
|
log: "log";
|
|
@@ -340,162 +413,167 @@ declare const feedbackContract: {
|
|
|
340
413
|
business: "business";
|
|
341
414
|
missing: "missing";
|
|
342
415
|
}>;
|
|
343
|
-
timestamp:
|
|
344
|
-
requestId:
|
|
345
|
-
errorId:
|
|
346
|
-
data:
|
|
347
|
-
missingReason:
|
|
348
|
-
feedbackId:
|
|
349
|
-
revision:
|
|
350
|
-
},
|
|
351
|
-
total:
|
|
352
|
-
page:
|
|
353
|
-
pageSize:
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
success:
|
|
357
|
-
error:
|
|
358
|
-
code:
|
|
359
|
-
message:
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
416
|
+
timestamp: z.ZodNumber;
|
|
417
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
418
|
+
errorId: z.ZodOptional<z.ZodString>;
|
|
419
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
420
|
+
missingReason: z.ZodOptional<z.ZodString>;
|
|
421
|
+
feedbackId: z.ZodString;
|
|
422
|
+
revision: z.ZodNumber;
|
|
423
|
+
}, z.core.$strict>>;
|
|
424
|
+
total: z.ZodNumber;
|
|
425
|
+
page: z.ZodNumber;
|
|
426
|
+
pageSize: z.ZodNumber;
|
|
427
|
+
}, z.core.$strip>;
|
|
428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
+
success: z.ZodLiteral<false>;
|
|
430
|
+
error: z.ZodObject<{
|
|
431
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
432
|
+
message: z.ZodString;
|
|
433
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
434
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
system: z.ZodOptional<z.ZodString>;
|
|
436
|
+
module: z.ZodOptional<z.ZodString>;
|
|
437
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
438
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
439
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
440
|
+
}, z.core.$strip>;
|
|
441
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
442
|
+
setStatus: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
443
|
+
id: z.ZodString;
|
|
444
|
+
status: z.ZodEnum<{
|
|
371
445
|
pending: "pending";
|
|
372
446
|
handled: "handled";
|
|
373
447
|
}>;
|
|
374
|
-
expectedVersion:
|
|
375
|
-
note:
|
|
376
|
-
},
|
|
377
|
-
success:
|
|
378
|
-
data:
|
|
379
|
-
id:
|
|
380
|
-
number:
|
|
381
|
-
appId:
|
|
382
|
-
scopeId:
|
|
383
|
-
userId:
|
|
384
|
-
status:
|
|
448
|
+
expectedVersion: z.ZodNumber;
|
|
449
|
+
note: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
451
|
+
success: z.ZodLiteral<true>;
|
|
452
|
+
data: z.ZodObject<{
|
|
453
|
+
id: z.ZodString;
|
|
454
|
+
number: z.ZodString;
|
|
455
|
+
appId: z.ZodString;
|
|
456
|
+
scopeId: z.ZodString;
|
|
457
|
+
userId: z.ZodString;
|
|
458
|
+
status: z.ZodEnum<{
|
|
385
459
|
pending: "pending";
|
|
386
460
|
handled: "handled";
|
|
387
461
|
}>;
|
|
388
|
-
collectionStatus:
|
|
462
|
+
collectionStatus: z.ZodEnum<{
|
|
389
463
|
collecting: "collecting";
|
|
390
464
|
complete: "complete";
|
|
391
465
|
partial: "partial";
|
|
392
466
|
failed: "failed";
|
|
393
467
|
}>;
|
|
394
|
-
notificationStatus:
|
|
468
|
+
notificationStatus: z.ZodEnum<{
|
|
395
469
|
pending: "pending";
|
|
396
470
|
failed: "failed";
|
|
471
|
+
disabled: "disabled";
|
|
397
472
|
sending: "sending";
|
|
398
473
|
sent: "sent";
|
|
399
474
|
deferred: "deferred";
|
|
400
475
|
}>;
|
|
401
|
-
description:
|
|
402
|
-
summary:
|
|
403
|
-
category:
|
|
404
|
-
contact:
|
|
405
|
-
url:
|
|
406
|
-
appVersion:
|
|
407
|
-
buildId:
|
|
408
|
-
commit:
|
|
409
|
-
createdAt:
|
|
410
|
-
updatedAt:
|
|
411
|
-
version:
|
|
412
|
-
evidenceRevision:
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
success:
|
|
416
|
-
error:
|
|
417
|
-
code:
|
|
418
|
-
message:
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
476
|
+
description: z.ZodOptional<z.ZodString>;
|
|
477
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
478
|
+
category: z.ZodOptional<z.ZodString>;
|
|
479
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
480
|
+
url: z.ZodOptional<z.ZodString>;
|
|
481
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
482
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
483
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
484
|
+
createdAt: z.ZodNumber;
|
|
485
|
+
updatedAt: z.ZodNumber;
|
|
486
|
+
version: z.ZodNumber;
|
|
487
|
+
evidenceRevision: z.ZodNumber;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
490
|
+
success: z.ZodLiteral<false>;
|
|
491
|
+
error: z.ZodObject<{
|
|
492
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
493
|
+
message: z.ZodString;
|
|
494
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
495
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
496
|
+
system: z.ZodOptional<z.ZodString>;
|
|
497
|
+
module: z.ZodOptional<z.ZodString>;
|
|
498
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
499
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
500
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
501
|
+
}, z.core.$strip>;
|
|
502
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
503
|
+
retry: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
target: z.ZodEnum<{
|
|
430
506
|
collect: "collect";
|
|
431
507
|
notify: "notify";
|
|
432
508
|
export: "export";
|
|
433
509
|
attachment: "attachment";
|
|
434
510
|
}>;
|
|
435
|
-
targetId:
|
|
436
|
-
},
|
|
437
|
-
success:
|
|
438
|
-
data:
|
|
439
|
-
},
|
|
440
|
-
success:
|
|
441
|
-
error:
|
|
442
|
-
code:
|
|
443
|
-
message:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
511
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
512
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
513
|
+
success: z.ZodLiteral<true>;
|
|
514
|
+
data: z.ZodVoid;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
success: z.ZodLiteral<false>;
|
|
517
|
+
error: z.ZodObject<{
|
|
518
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
519
|
+
message: z.ZodString;
|
|
520
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
521
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
522
|
+
system: z.ZodOptional<z.ZodString>;
|
|
523
|
+
module: z.ZodOptional<z.ZodString>;
|
|
524
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
525
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
526
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
529
|
+
export: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
evidenceRevision: z.ZodOptional<z.ZodNumber>;
|
|
532
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
533
|
+
success: z.ZodLiteral<true>;
|
|
534
|
+
data: z.ZodObject<{
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
feedbackId: z.ZodString;
|
|
537
|
+
type: z.ZodEnum<{
|
|
461
538
|
collect: "collect";
|
|
462
539
|
notify: "notify";
|
|
463
540
|
export: "export";
|
|
464
541
|
cleanup: "cleanup";
|
|
465
542
|
}>;
|
|
466
|
-
status:
|
|
543
|
+
status: z.ZodEnum<{
|
|
467
544
|
pending: "pending";
|
|
468
545
|
failed: "failed";
|
|
469
546
|
running: "running";
|
|
470
547
|
succeeded: "succeeded";
|
|
471
548
|
}>;
|
|
472
|
-
attempts:
|
|
473
|
-
createdAt:
|
|
474
|
-
updatedAt:
|
|
475
|
-
nextRunAt:
|
|
476
|
-
lastError:
|
|
477
|
-
result:
|
|
478
|
-
},
|
|
479
|
-
},
|
|
480
|
-
success:
|
|
481
|
-
error:
|
|
482
|
-
code:
|
|
483
|
-
message:
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
549
|
+
attempts: z.ZodNumber;
|
|
550
|
+
createdAt: z.ZodNumber;
|
|
551
|
+
updatedAt: z.ZodNumber;
|
|
552
|
+
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
553
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
554
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
557
|
+
success: z.ZodLiteral<false>;
|
|
558
|
+
error: z.ZodObject<{
|
|
559
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
560
|
+
message: z.ZodString;
|
|
561
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
562
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
system: z.ZodOptional<z.ZodString>;
|
|
564
|
+
module: z.ZodOptional<z.ZodString>;
|
|
565
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
566
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
567
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
570
|
+
appendEvidence: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
573
|
+
id: z.ZodString;
|
|
574
|
+
source: z.ZodString;
|
|
575
|
+
sequence: z.ZodNumber;
|
|
576
|
+
kind: z.ZodEnum<{
|
|
499
577
|
error: "error";
|
|
500
578
|
request: "request";
|
|
501
579
|
log: "log";
|
|
@@ -506,166 +584,172 @@ declare const feedbackContract: {
|
|
|
506
584
|
business: "business";
|
|
507
585
|
missing: "missing";
|
|
508
586
|
}>;
|
|
509
|
-
timestamp:
|
|
510
|
-
requestId:
|
|
511
|
-
errorId:
|
|
512
|
-
data:
|
|
513
|
-
missingReason:
|
|
514
|
-
},
|
|
515
|
-
},
|
|
516
|
-
success:
|
|
517
|
-
data:
|
|
518
|
-
acknowledged:
|
|
519
|
-
evidenceRevision:
|
|
520
|
-
},
|
|
521
|
-
},
|
|
522
|
-
success:
|
|
523
|
-
error:
|
|
524
|
-
code:
|
|
525
|
-
message:
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
587
|
+
timestamp: z.ZodNumber;
|
|
588
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
589
|
+
errorId: z.ZodOptional<z.ZodString>;
|
|
590
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
591
|
+
missingReason: z.ZodOptional<z.ZodString>;
|
|
592
|
+
}, z.core.$strict>>;
|
|
593
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
594
|
+
success: z.ZodLiteral<true>;
|
|
595
|
+
data: z.ZodObject<{
|
|
596
|
+
acknowledged: z.ZodArray<z.ZodString>;
|
|
597
|
+
evidenceRevision: z.ZodNumber;
|
|
598
|
+
}, z.core.$strip>;
|
|
599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
600
|
+
success: z.ZodLiteral<false>;
|
|
601
|
+
error: z.ZodObject<{
|
|
602
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
603
|
+
message: z.ZodString;
|
|
604
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
606
|
+
system: z.ZodOptional<z.ZodString>;
|
|
607
|
+
module: z.ZodOptional<z.ZodString>;
|
|
608
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
609
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
610
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
611
|
+
}, z.core.$strip>;
|
|
612
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
613
|
+
getExport: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
jobId: z.ZodString;
|
|
616
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
617
|
+
success: z.ZodLiteral<true>;
|
|
618
|
+
data: z.ZodObject<{
|
|
619
|
+
name: z.ZodString;
|
|
620
|
+
contentType: z.ZodString;
|
|
621
|
+
dataBase64: z.ZodString;
|
|
622
|
+
}, z.core.$strip>;
|
|
623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
624
|
+
success: z.ZodLiteral<false>;
|
|
625
|
+
error: z.ZodObject<{
|
|
626
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
627
|
+
message: z.ZodString;
|
|
628
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
629
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
630
|
+
system: z.ZodOptional<z.ZodString>;
|
|
631
|
+
module: z.ZodOptional<z.ZodString>;
|
|
632
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
633
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
634
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
635
|
+
}, z.core.$strip>;
|
|
636
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
637
|
+
completeCollection: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
638
|
+
id: z.ZodString;
|
|
639
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
640
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
641
|
+
success: z.ZodLiteral<true>;
|
|
642
|
+
data: z.ZodObject<{
|
|
643
|
+
id: z.ZodString;
|
|
644
|
+
number: z.ZodString;
|
|
645
|
+
appId: z.ZodString;
|
|
646
|
+
scopeId: z.ZodString;
|
|
647
|
+
userId: z.ZodString;
|
|
648
|
+
status: z.ZodEnum<{
|
|
569
649
|
pending: "pending";
|
|
570
650
|
handled: "handled";
|
|
571
651
|
}>;
|
|
572
|
-
collectionStatus:
|
|
652
|
+
collectionStatus: z.ZodEnum<{
|
|
573
653
|
collecting: "collecting";
|
|
574
654
|
complete: "complete";
|
|
575
655
|
partial: "partial";
|
|
576
656
|
failed: "failed";
|
|
577
657
|
}>;
|
|
578
|
-
notificationStatus:
|
|
658
|
+
notificationStatus: z.ZodEnum<{
|
|
579
659
|
pending: "pending";
|
|
580
660
|
failed: "failed";
|
|
661
|
+
disabled: "disabled";
|
|
581
662
|
sending: "sending";
|
|
582
663
|
sent: "sent";
|
|
583
664
|
deferred: "deferred";
|
|
584
665
|
}>;
|
|
585
|
-
description:
|
|
586
|
-
summary:
|
|
587
|
-
category:
|
|
588
|
-
contact:
|
|
589
|
-
url:
|
|
590
|
-
appVersion:
|
|
591
|
-
buildId:
|
|
592
|
-
commit:
|
|
593
|
-
createdAt:
|
|
594
|
-
updatedAt:
|
|
595
|
-
version:
|
|
596
|
-
evidenceRevision:
|
|
597
|
-
},
|
|
598
|
-
},
|
|
599
|
-
success:
|
|
600
|
-
error:
|
|
601
|
-
code:
|
|
602
|
-
message:
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
666
|
+
description: z.ZodOptional<z.ZodString>;
|
|
667
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
668
|
+
category: z.ZodOptional<z.ZodString>;
|
|
669
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
670
|
+
url: z.ZodOptional<z.ZodString>;
|
|
671
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
672
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
673
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
674
|
+
createdAt: z.ZodNumber;
|
|
675
|
+
updatedAt: z.ZodNumber;
|
|
676
|
+
version: z.ZodNumber;
|
|
677
|
+
evidenceRevision: z.ZodNumber;
|
|
678
|
+
}, z.core.$strip>;
|
|
679
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
680
|
+
success: z.ZodLiteral<false>;
|
|
681
|
+
error: z.ZodObject<{
|
|
682
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
683
|
+
message: z.ZodString;
|
|
684
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
685
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
686
|
+
system: z.ZodOptional<z.ZodString>;
|
|
687
|
+
module: z.ZodOptional<z.ZodString>;
|
|
688
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
689
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
690
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
691
|
+
}, z.core.$strip>;
|
|
692
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
611
693
|
};
|
|
612
694
|
attachments: {
|
|
613
|
-
upload: _orpc_contract.ContractProcedureBuilderWithInputOutput<
|
|
614
|
-
id:
|
|
615
|
-
attachmentId:
|
|
616
|
-
dataBase64:
|
|
617
|
-
},
|
|
618
|
-
success:
|
|
619
|
-
data:
|
|
620
|
-
id:
|
|
621
|
-
name:
|
|
622
|
-
contentType:
|
|
623
|
-
size:
|
|
624
|
-
checksum:
|
|
625
|
-
feedbackId:
|
|
626
|
-
status:
|
|
695
|
+
upload: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
696
|
+
id: z.ZodString;
|
|
697
|
+
attachmentId: z.ZodString;
|
|
698
|
+
dataBase64: z.ZodString;
|
|
699
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
700
|
+
success: z.ZodLiteral<true>;
|
|
701
|
+
data: z.ZodObject<{
|
|
702
|
+
id: z.ZodString;
|
|
703
|
+
name: z.ZodString;
|
|
704
|
+
contentType: z.ZodString;
|
|
705
|
+
size: z.ZodNumber;
|
|
706
|
+
checksum: z.ZodString;
|
|
707
|
+
feedbackId: z.ZodString;
|
|
708
|
+
status: z.ZodEnum<{
|
|
627
709
|
pending: "pending";
|
|
628
710
|
failed: "failed";
|
|
629
711
|
available: "available";
|
|
630
712
|
}>;
|
|
631
|
-
missingReason:
|
|
632
|
-
},
|
|
633
|
-
},
|
|
634
|
-
success:
|
|
635
|
-
error:
|
|
636
|
-
code:
|
|
637
|
-
message:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
713
|
+
missingReason: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strict>;
|
|
715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
716
|
+
success: z.ZodLiteral<false>;
|
|
717
|
+
error: z.ZodObject<{
|
|
718
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
719
|
+
message: z.ZodString;
|
|
720
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
721
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
722
|
+
system: z.ZodOptional<z.ZodString>;
|
|
723
|
+
module: z.ZodOptional<z.ZodString>;
|
|
724
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
725
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
726
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
727
|
+
}, z.core.$strip>;
|
|
728
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
729
|
+
get: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
730
|
+
id: z.ZodString;
|
|
731
|
+
attachmentId: z.ZodString;
|
|
732
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
733
|
+
success: z.ZodLiteral<true>;
|
|
734
|
+
data: z.ZodObject<{
|
|
735
|
+
name: z.ZodString;
|
|
736
|
+
contentType: z.ZodString;
|
|
737
|
+
dataBase64: z.ZodString;
|
|
738
|
+
}, z.core.$strip>;
|
|
739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
740
|
+
success: z.ZodLiteral<false>;
|
|
741
|
+
error: z.ZodObject<{
|
|
742
|
+
code: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
743
|
+
message: z.ZodString;
|
|
744
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
745
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
746
|
+
system: z.ZodOptional<z.ZodString>;
|
|
747
|
+
module: z.ZodOptional<z.ZodString>;
|
|
748
|
+
cause: z.ZodOptional<z.ZodUnknown>;
|
|
749
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
750
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
751
|
+
}, z.core.$strip>;
|
|
752
|
+
}, z.core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
669
753
|
};
|
|
670
754
|
};
|
|
671
755
|
/**
|
|
@@ -721,6 +805,7 @@ declare const FeedbackCollectionStatusSchema: z.ZodEnum<{
|
|
|
721
805
|
declare const FeedbackNotificationStatusSchema: z.ZodEnum<{
|
|
722
806
|
pending: "pending";
|
|
723
807
|
failed: "failed";
|
|
808
|
+
disabled: "disabled";
|
|
724
809
|
sending: "sending";
|
|
725
810
|
sent: "sent";
|
|
726
811
|
deferred: "deferred";
|
|
@@ -904,6 +989,7 @@ declare const FeedbackReportSchema: z.ZodObject<{
|
|
|
904
989
|
notificationStatus: z.ZodEnum<{
|
|
905
990
|
pending: "pending";
|
|
906
991
|
failed: "failed";
|
|
992
|
+
disabled: "disabled";
|
|
907
993
|
sending: "sending";
|
|
908
994
|
sent: "sent";
|
|
909
995
|
deferred: "deferred";
|
|
@@ -949,6 +1035,7 @@ declare const FeedbackListInputSchema: z.ZodObject<{
|
|
|
949
1035
|
notificationStatus: z.ZodOptional<z.ZodEnum<{
|
|
950
1036
|
pending: "pending";
|
|
951
1037
|
failed: "failed";
|
|
1038
|
+
disabled: "disabled";
|
|
952
1039
|
sending: "sending";
|
|
953
1040
|
sent: "sent";
|
|
954
1041
|
deferred: "deferred";
|
|
@@ -1195,6 +1282,7 @@ declare const FeedbackDetailSchema: z.ZodObject<{
|
|
|
1195
1282
|
notificationStatus: z.ZodEnum<{
|
|
1196
1283
|
pending: "pending";
|
|
1197
1284
|
failed: "failed";
|
|
1285
|
+
disabled: "disabled";
|
|
1198
1286
|
sending: "sending";
|
|
1199
1287
|
sent: "sent";
|
|
1200
1288
|
deferred: "deferred";
|
|
@@ -1501,4 +1589,4 @@ type FeedbackUploadInput = z.infer<typeof FeedbackUploadInputSchema>;
|
|
|
1501
1589
|
*/
|
|
1502
1590
|
type FeedbackAttachmentData = z.infer<typeof FeedbackAttachmentDataSchema>;
|
|
1503
1591
|
|
|
1504
|
-
export { type FeedbackAppendEvidenceInput, FeedbackAppendEvidenceInputSchema, type FeedbackAttachment, type FeedbackAttachmentData, FeedbackAttachmentDataSchema, type FeedbackAttachmentInput, FeedbackAttachmentInputSchema, FeedbackAttachmentQuerySchema, FeedbackAttachmentSchema, type FeedbackCollectionStatus, FeedbackCollectionStatusSchema, type FeedbackCompleteInput, FeedbackCompleteInputSchema, type FeedbackContract, type FeedbackDetail, FeedbackDetailSchema, type FeedbackEvidence, type FeedbackEvidenceAck, FeedbackEvidenceAckSchema, type FeedbackEvidenceInput, FeedbackEvidenceInputSchema, type FeedbackEvidenceQuery, FeedbackEvidenceQuerySchema, FeedbackEvidenceSchema, type FeedbackExportInput, FeedbackExportInputSchema, FeedbackExportQuerySchema, type FeedbackHistory, FeedbackHistorySchema, FeedbackIdInputSchema, type FeedbackJob, FeedbackJobSchema, type FeedbackListInput, FeedbackListInputSchema, type FeedbackNotificationStatus, FeedbackNotificationStatusSchema, type FeedbackReport, FeedbackReportSchema, type FeedbackRetryInput, FeedbackRetryInputSchema, type FeedbackSetStatusInput, FeedbackSetStatusInputSchema, type FeedbackStatus, FeedbackStatusSchema, type FeedbackSubmitInput, FeedbackSubmitInputSchema, type FeedbackUploadInput, FeedbackUploadInputSchema, feedbackContract };
|
|
1592
|
+
export { type FeedbackAppendEvidenceInput, FeedbackAppendEvidenceInputSchema, type FeedbackAttachment, type FeedbackAttachmentData, FeedbackAttachmentDataSchema, type FeedbackAttachmentInput, FeedbackAttachmentInputSchema, FeedbackAttachmentQuerySchema, FeedbackAttachmentSchema, type FeedbackBudget, FeedbackBudgetSchema, type FeedbackCollectionStatus, FeedbackCollectionStatusSchema, type FeedbackCompleteInput, FeedbackCompleteInputSchema, type FeedbackContract, type FeedbackDetail, FeedbackDetailSchema, type FeedbackEvidence, type FeedbackEvidenceAck, FeedbackEvidenceAckSchema, type FeedbackEvidenceInput, FeedbackEvidenceInputSchema, type FeedbackEvidenceQuery, FeedbackEvidenceQuerySchema, FeedbackEvidenceSchema, type FeedbackExportInput, FeedbackExportInputSchema, FeedbackExportQuerySchema, type FeedbackHistory, FeedbackHistorySchema, FeedbackIdInputSchema, type FeedbackJob, FeedbackJobSchema, type FeedbackListInput, FeedbackListInputSchema, type FeedbackNotificationStatus, FeedbackNotificationStatusSchema, type FeedbackReport, FeedbackReportSchema, type FeedbackRetryInput, FeedbackRetryInputSchema, type FeedbackSetStatusInput, FeedbackSetStatusInputSchema, type FeedbackStatus, FeedbackStatusSchema, type FeedbackSubmitInput, FeedbackSubmitInputSchema, type FeedbackUploadInput, FeedbackUploadInputSchema, feedbackContract, resolveFeedbackBudget };
|