@vcp-dev/contracts 0.8.2 → 0.8.4
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/dist/cms-page-directory.d.ts +128 -0
- package/dist/designer-page-library.d.ts +10 -0
- package/dist/index.d.ts +131 -31
- package/dist/index.js +1 -1
- package/dist/launcher-prompt-templates.d.ts +2 -2
- package/dist/media-library.d.ts +15 -0
- package/dist/page-slug.d.ts +10 -1
- package/dist/site-edit-render-document.d.ts +5 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-locale.d.ts +4 -5
- package/dist/site-publish-domain.d.ts +29 -165
- package/dist/site-publish-workflow.d.ts +237 -186
- package/dist/step5-strategy.d.ts +3087 -131
- package/package.json +1 -1
|
@@ -19,61 +19,79 @@ export declare const SitePublishQualityTaskStatusSchema: z.ZodEnum<{
|
|
|
19
19
|
running: "running";
|
|
20
20
|
}>;
|
|
21
21
|
export type SitePublishQualityTaskStatus = z.infer<typeof SitePublishQualityTaskStatusSchema>;
|
|
22
|
-
export declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
export declare const QualityRunningStatusSchema: z.ZodEnum<{
|
|
23
|
+
pending: "pending";
|
|
24
|
+
running: "running";
|
|
25
|
+
completed: "completed";
|
|
26
26
|
}>;
|
|
27
|
-
export type
|
|
27
|
+
export type QualityRunningStatus = z.infer<typeof QualityRunningStatusSchema>;
|
|
28
28
|
export declare const VcpQualityResultSchema: z.ZodObject<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
remediation_items: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
37
|
-
summary: z.ZodObject<{
|
|
38
|
-
final_score: z.ZodNumber;
|
|
39
|
-
can_publish: z.ZodEnum<{
|
|
40
|
-
failed: "failed";
|
|
41
|
-
passed: "passed";
|
|
42
|
-
calculating: "calculating";
|
|
43
|
-
}>;
|
|
44
|
-
group_count: z.ZodNumber;
|
|
45
|
-
problem_group_count: z.ZodNumber;
|
|
46
|
-
}, z.core.$strict>;
|
|
47
|
-
dimensions: z.ZodArray<z.ZodObject<{
|
|
48
|
-
dimension_code: z.ZodEnum<{
|
|
49
|
-
trust: "trust";
|
|
50
|
-
reach: "reach";
|
|
51
|
-
convert: "convert";
|
|
52
|
-
safe: "safe";
|
|
29
|
+
quality_info: z.ZodObject<{
|
|
30
|
+
id: z.ZodNumber;
|
|
31
|
+
task_code: z.ZodString;
|
|
32
|
+
scene_code: z.ZodEnum<{
|
|
33
|
+
site_publish: "site_publish";
|
|
34
|
+
vcp_published_pages: "vcp_published_pages";
|
|
35
|
+
content_publish: "content_publish";
|
|
53
36
|
}>;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
37
|
+
tenant_id: z.ZodString;
|
|
38
|
+
vcp_site_id: z.ZodUUID;
|
|
39
|
+
cms_site_id: z.ZodString;
|
|
40
|
+
checked_url: z.ZodString;
|
|
41
|
+
quality_params: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
+
status: z.ZodEnum<{
|
|
59
43
|
failed: "failed";
|
|
60
44
|
succeeded: "succeeded";
|
|
61
45
|
pending: "pending";
|
|
62
46
|
running: "running";
|
|
63
47
|
}>;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
48
|
+
error_info: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
49
|
+
created_at: z.ZodString;
|
|
50
|
+
updated_at: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
quality_detail: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
53
|
+
remediation_items: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
54
|
+
summary: z.ZodObject<{
|
|
55
|
+
final_score: z.ZodNumber;
|
|
56
|
+
pass_score: z.ZodNumber;
|
|
57
|
+
group_count: z.ZodNumber;
|
|
58
|
+
problem_group_count: z.ZodNumber;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
61
|
+
dimension_code: z.ZodEnum<{
|
|
62
|
+
trust: "trust";
|
|
63
|
+
reach: "reach";
|
|
64
|
+
convert: "convert";
|
|
65
|
+
safe: "safe";
|
|
66
|
+
}>;
|
|
67
67
|
name: z.ZodString;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
alias_en: z.ZodString;
|
|
69
|
+
description: z.ZodString;
|
|
70
|
+
tips: z.ZodString;
|
|
71
|
+
score: z.ZodNumber;
|
|
72
|
+
total_score: z.ZodNumber;
|
|
73
|
+
pass_score: z.ZodNumber;
|
|
74
|
+
running_status: z.ZodEnum<{
|
|
71
75
|
pending: "pending";
|
|
72
76
|
running: "running";
|
|
77
|
+
completed: "completed";
|
|
73
78
|
}>;
|
|
74
|
-
|
|
79
|
+
problem_group_count: z.ZodNumber;
|
|
80
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
81
|
+
group_code: z.ZodString;
|
|
82
|
+
name: z.ZodString;
|
|
83
|
+
score: z.ZodNumber;
|
|
84
|
+
total_score: z.ZodNumber;
|
|
85
|
+
pass_score: z.ZodNumber;
|
|
86
|
+
running_status: z.ZodEnum<{
|
|
87
|
+
pending: "pending";
|
|
88
|
+
running: "running";
|
|
89
|
+
completed: "completed";
|
|
90
|
+
}>;
|
|
91
|
+
result_text: z.ZodString;
|
|
92
|
+
}, z.core.$strict>>;
|
|
75
93
|
}, z.core.$strict>>;
|
|
76
|
-
}, z.core.$strict
|
|
94
|
+
}, z.core.$strict>]>;
|
|
77
95
|
}, z.core.$strict>;
|
|
78
96
|
export type VcpQualityResult = z.infer<typeof VcpQualityResultSchema>;
|
|
79
97
|
export declare const SitePublishWorkflowRecordSchema: z.ZodObject<{
|
|
@@ -91,27 +109,13 @@ export declare const SitePublishWorkflowRecordSchema: z.ZodObject<{
|
|
|
91
109
|
gsc: "gsc";
|
|
92
110
|
publish: "publish";
|
|
93
111
|
}>;
|
|
94
|
-
|
|
95
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
96
|
-
failed: "failed";
|
|
97
|
-
succeeded: "succeeded";
|
|
98
|
-
pending: "pending";
|
|
99
|
-
running: "running";
|
|
100
|
-
}>;
|
|
101
|
-
quality_task_code: z.ZodString;
|
|
112
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
102
113
|
quality_task_status: z.ZodEnum<{
|
|
103
114
|
failed: "failed";
|
|
104
115
|
succeeded: "succeeded";
|
|
105
116
|
pending: "pending";
|
|
106
117
|
running: "running";
|
|
107
118
|
}>;
|
|
108
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
109
|
-
task_status: z.ZodEnum<{
|
|
110
|
-
failed: "failed";
|
|
111
|
-
succeeded: "succeeded";
|
|
112
|
-
pending: "pending";
|
|
113
|
-
running: "running";
|
|
114
|
-
}>;
|
|
115
119
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
116
120
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
117
121
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -131,8 +135,6 @@ export declare const SitePublishWorkflowRecordSchema: z.ZodObject<{
|
|
|
131
135
|
export type SitePublishWorkflowRecord = z.infer<typeof SitePublishWorkflowRecordSchema>;
|
|
132
136
|
export declare const StartSitePublishWorkflowRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
133
137
|
export type StartSitePublishWorkflowRequest = z.infer<typeof StartSitePublishWorkflowRequestSchema>;
|
|
134
|
-
export declare const StreamSitePublishWorkflowRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
135
|
-
export type StreamSitePublishWorkflowRequest = z.infer<typeof StreamSitePublishWorkflowRequestSchema>;
|
|
136
138
|
export declare const UpdateSitePublishWorkflowStepRequestSchema: z.ZodObject<{
|
|
137
139
|
expected_revision: z.ZodNumber;
|
|
138
140
|
current_step: z.ZodEnum<{
|
|
@@ -165,27 +167,13 @@ export declare const SitePublishWorkflowActiveResponseSchema: z.ZodObject<{
|
|
|
165
167
|
gsc: "gsc";
|
|
166
168
|
publish: "publish";
|
|
167
169
|
}>;
|
|
168
|
-
|
|
169
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
170
|
-
failed: "failed";
|
|
171
|
-
succeeded: "succeeded";
|
|
172
|
-
pending: "pending";
|
|
173
|
-
running: "running";
|
|
174
|
-
}>;
|
|
175
|
-
quality_task_code: z.ZodString;
|
|
170
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
176
171
|
quality_task_status: z.ZodEnum<{
|
|
177
172
|
failed: "failed";
|
|
178
173
|
succeeded: "succeeded";
|
|
179
174
|
pending: "pending";
|
|
180
175
|
running: "running";
|
|
181
176
|
}>;
|
|
182
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
183
|
-
task_status: z.ZodEnum<{
|
|
184
|
-
failed: "failed";
|
|
185
|
-
succeeded: "succeeded";
|
|
186
|
-
pending: "pending";
|
|
187
|
-
running: "running";
|
|
188
|
-
}>;
|
|
189
177
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
190
178
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
191
179
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -223,27 +211,13 @@ export declare const SitePublishWorkflowMutationDataSchema: z.ZodObject<{
|
|
|
223
211
|
gsc: "gsc";
|
|
224
212
|
publish: "publish";
|
|
225
213
|
}>;
|
|
226
|
-
|
|
227
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
228
|
-
failed: "failed";
|
|
229
|
-
succeeded: "succeeded";
|
|
230
|
-
pending: "pending";
|
|
231
|
-
running: "running";
|
|
232
|
-
}>;
|
|
233
|
-
quality_task_code: z.ZodString;
|
|
214
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
234
215
|
quality_task_status: z.ZodEnum<{
|
|
235
216
|
failed: "failed";
|
|
236
217
|
succeeded: "succeeded";
|
|
237
218
|
pending: "pending";
|
|
238
219
|
running: "running";
|
|
239
220
|
}>;
|
|
240
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
241
|
-
task_status: z.ZodEnum<{
|
|
242
|
-
failed: "failed";
|
|
243
|
-
succeeded: "succeeded";
|
|
244
|
-
pending: "pending";
|
|
245
|
-
running: "running";
|
|
246
|
-
}>;
|
|
247
221
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
248
222
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
249
223
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -280,27 +254,13 @@ export declare const SitePublishWorkflowMutationResponseSchema: z.ZodObject<{
|
|
|
280
254
|
gsc: "gsc";
|
|
281
255
|
publish: "publish";
|
|
282
256
|
}>;
|
|
283
|
-
|
|
284
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
285
|
-
failed: "failed";
|
|
286
|
-
succeeded: "succeeded";
|
|
287
|
-
pending: "pending";
|
|
288
|
-
running: "running";
|
|
289
|
-
}>;
|
|
290
|
-
quality_task_code: z.ZodString;
|
|
257
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
291
258
|
quality_task_status: z.ZodEnum<{
|
|
292
259
|
failed: "failed";
|
|
293
260
|
succeeded: "succeeded";
|
|
294
261
|
pending: "pending";
|
|
295
262
|
running: "running";
|
|
296
263
|
}>;
|
|
297
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
298
|
-
task_status: z.ZodEnum<{
|
|
299
|
-
failed: "failed";
|
|
300
|
-
succeeded: "succeeded";
|
|
301
|
-
pending: "pending";
|
|
302
|
-
running: "running";
|
|
303
|
-
}>;
|
|
304
264
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
305
265
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
306
266
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -338,27 +298,13 @@ export declare const SitePublishWorkflowPublishDataSchema: z.ZodObject<{
|
|
|
338
298
|
gsc: "gsc";
|
|
339
299
|
publish: "publish";
|
|
340
300
|
}>;
|
|
341
|
-
|
|
342
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
343
|
-
failed: "failed";
|
|
344
|
-
succeeded: "succeeded";
|
|
345
|
-
pending: "pending";
|
|
346
|
-
running: "running";
|
|
347
|
-
}>;
|
|
348
|
-
quality_task_code: z.ZodString;
|
|
301
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
349
302
|
quality_task_status: z.ZodEnum<{
|
|
350
303
|
failed: "failed";
|
|
351
304
|
succeeded: "succeeded";
|
|
352
305
|
pending: "pending";
|
|
353
306
|
running: "running";
|
|
354
307
|
}>;
|
|
355
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
356
|
-
task_status: z.ZodEnum<{
|
|
357
|
-
failed: "failed";
|
|
358
|
-
succeeded: "succeeded";
|
|
359
|
-
pending: "pending";
|
|
360
|
-
running: "running";
|
|
361
|
-
}>;
|
|
362
308
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
363
309
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
364
310
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -428,27 +374,13 @@ export declare const SitePublishWorkflowPublishResponseSchema: z.ZodObject<{
|
|
|
428
374
|
gsc: "gsc";
|
|
429
375
|
publish: "publish";
|
|
430
376
|
}>;
|
|
431
|
-
|
|
432
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
433
|
-
failed: "failed";
|
|
434
|
-
succeeded: "succeeded";
|
|
435
|
-
pending: "pending";
|
|
436
|
-
running: "running";
|
|
437
|
-
}>;
|
|
438
|
-
quality_task_code: z.ZodString;
|
|
377
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
439
378
|
quality_task_status: z.ZodEnum<{
|
|
440
379
|
failed: "failed";
|
|
441
380
|
succeeded: "succeeded";
|
|
442
381
|
pending: "pending";
|
|
443
382
|
running: "running";
|
|
444
383
|
}>;
|
|
445
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
446
|
-
task_status: z.ZodEnum<{
|
|
447
|
-
failed: "failed";
|
|
448
|
-
succeeded: "succeeded";
|
|
449
|
-
pending: "pending";
|
|
450
|
-
running: "running";
|
|
451
|
-
}>;
|
|
452
384
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
453
385
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
454
386
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -503,7 +435,7 @@ export declare const SitePublishWorkflowPublishResponseSchema: z.ZodObject<{
|
|
|
503
435
|
message: z.ZodString;
|
|
504
436
|
}, z.core.$strict>;
|
|
505
437
|
export type SitePublishWorkflowPublishResponse = z.infer<typeof SitePublishWorkflowPublishResponseSchema>;
|
|
506
|
-
export declare const
|
|
438
|
+
export declare const SitePublishWorkflowQualityDataSchema: z.ZodObject<{
|
|
507
439
|
workflow: z.ZodObject<{
|
|
508
440
|
id: z.ZodUUID;
|
|
509
441
|
tenant_id: z.ZodString;
|
|
@@ -519,27 +451,13 @@ export declare const SitePublishWorkflowSseDataSchema: z.ZodObject<{
|
|
|
519
451
|
gsc: "gsc";
|
|
520
452
|
publish: "publish";
|
|
521
453
|
}>;
|
|
522
|
-
|
|
523
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
524
|
-
failed: "failed";
|
|
525
|
-
succeeded: "succeeded";
|
|
526
|
-
pending: "pending";
|
|
527
|
-
running: "running";
|
|
528
|
-
}>;
|
|
529
|
-
quality_task_code: z.ZodString;
|
|
454
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
530
455
|
quality_task_status: z.ZodEnum<{
|
|
531
456
|
failed: "failed";
|
|
532
457
|
succeeded: "succeeded";
|
|
533
458
|
pending: "pending";
|
|
534
459
|
running: "running";
|
|
535
460
|
}>;
|
|
536
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
537
|
-
task_status: z.ZodEnum<{
|
|
538
|
-
failed: "failed";
|
|
539
|
-
succeeded: "succeeded";
|
|
540
|
-
pending: "pending";
|
|
541
|
-
running: "running";
|
|
542
|
-
}>;
|
|
543
461
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
544
462
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
545
463
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -558,55 +476,188 @@ export declare const SitePublishWorkflowSseDataSchema: z.ZodObject<{
|
|
|
558
476
|
}, z.core.$strict>;
|
|
559
477
|
can_cancel: z.ZodBoolean;
|
|
560
478
|
quality_result: z.ZodOptional<z.ZodObject<{
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
479
|
+
quality_info: z.ZodObject<{
|
|
480
|
+
id: z.ZodNumber;
|
|
481
|
+
task_code: z.ZodString;
|
|
482
|
+
scene_code: z.ZodEnum<{
|
|
483
|
+
site_publish: "site_publish";
|
|
484
|
+
vcp_published_pages: "vcp_published_pages";
|
|
485
|
+
content_publish: "content_publish";
|
|
486
|
+
}>;
|
|
487
|
+
tenant_id: z.ZodString;
|
|
488
|
+
vcp_site_id: z.ZodUUID;
|
|
489
|
+
cms_site_id: z.ZodString;
|
|
490
|
+
checked_url: z.ZodString;
|
|
491
|
+
quality_params: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
492
|
+
status: z.ZodEnum<{
|
|
572
493
|
failed: "failed";
|
|
573
|
-
|
|
574
|
-
|
|
494
|
+
succeeded: "succeeded";
|
|
495
|
+
pending: "pending";
|
|
496
|
+
running: "running";
|
|
575
497
|
}>;
|
|
576
|
-
|
|
577
|
-
|
|
498
|
+
error_info: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
499
|
+
created_at: z.ZodString;
|
|
500
|
+
updated_at: z.ZodString;
|
|
578
501
|
}, z.core.$strict>;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
502
|
+
quality_detail: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
503
|
+
remediation_items: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
504
|
+
summary: z.ZodObject<{
|
|
505
|
+
final_score: z.ZodNumber;
|
|
506
|
+
pass_score: z.ZodNumber;
|
|
507
|
+
group_count: z.ZodNumber;
|
|
508
|
+
problem_group_count: z.ZodNumber;
|
|
509
|
+
}, z.core.$strict>;
|
|
510
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
511
|
+
dimension_code: z.ZodEnum<{
|
|
512
|
+
trust: "trust";
|
|
513
|
+
reach: "reach";
|
|
514
|
+
convert: "convert";
|
|
515
|
+
safe: "safe";
|
|
516
|
+
}>;
|
|
517
|
+
name: z.ZodString;
|
|
518
|
+
alias_en: z.ZodString;
|
|
519
|
+
description: z.ZodString;
|
|
520
|
+
tips: z.ZodString;
|
|
521
|
+
score: z.ZodNumber;
|
|
522
|
+
total_score: z.ZodNumber;
|
|
523
|
+
pass_score: z.ZodNumber;
|
|
524
|
+
running_status: z.ZodEnum<{
|
|
525
|
+
pending: "pending";
|
|
526
|
+
running: "running";
|
|
527
|
+
completed: "completed";
|
|
528
|
+
}>;
|
|
529
|
+
problem_group_count: z.ZodNumber;
|
|
530
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
531
|
+
group_code: z.ZodString;
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
score: z.ZodNumber;
|
|
534
|
+
total_score: z.ZodNumber;
|
|
535
|
+
pass_score: z.ZodNumber;
|
|
536
|
+
running_status: z.ZodEnum<{
|
|
537
|
+
pending: "pending";
|
|
538
|
+
running: "running";
|
|
539
|
+
completed: "completed";
|
|
540
|
+
}>;
|
|
541
|
+
result_text: z.ZodString;
|
|
542
|
+
}, z.core.$strict>>;
|
|
543
|
+
}, z.core.$strict>>;
|
|
544
|
+
}, z.core.$strict>]>;
|
|
545
|
+
}, z.core.$strict>>;
|
|
546
|
+
message: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, z.core.$strict>;
|
|
548
|
+
export type SitePublishWorkflowQualityData = z.infer<typeof SitePublishWorkflowQualityDataSchema>;
|
|
549
|
+
export declare const SitePublishWorkflowQualityResponseSchema: z.ZodObject<{
|
|
550
|
+
code: z.ZodNumber;
|
|
551
|
+
data: z.ZodObject<{
|
|
552
|
+
workflow: z.ZodObject<{
|
|
553
|
+
id: z.ZodUUID;
|
|
554
|
+
tenant_id: z.ZodString;
|
|
555
|
+
site_id: z.ZodUUID;
|
|
556
|
+
status: z.ZodEnum<{
|
|
557
|
+
active: "active";
|
|
558
|
+
completed: "completed";
|
|
559
|
+
canceled: "canceled";
|
|
585
560
|
}>;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
561
|
+
current_step: z.ZodEnum<{
|
|
562
|
+
domain: "domain";
|
|
563
|
+
quality: "quality";
|
|
564
|
+
gsc: "gsc";
|
|
565
|
+
publish: "publish";
|
|
566
|
+
}>;
|
|
567
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
568
|
+
quality_task_status: z.ZodEnum<{
|
|
591
569
|
failed: "failed";
|
|
592
570
|
succeeded: "succeeded";
|
|
593
571
|
pending: "pending";
|
|
594
572
|
running: "running";
|
|
595
573
|
}>;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
574
|
+
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
575
|
+
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
576
|
+
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
577
|
+
prepare_configuration: "prepare_configuration";
|
|
578
|
+
apply_configuration: "apply_configuration";
|
|
579
|
+
verify_dns: "verify_dns";
|
|
580
|
+
}>>;
|
|
581
|
+
domain_operation_payload: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
582
|
+
domain_preparation_operation_id: z.ZodNullable<z.ZodString>;
|
|
583
|
+
domain_operation_id: z.ZodNullable<z.ZodString>;
|
|
584
|
+
revision: z.ZodNumber;
|
|
585
|
+
created_at: z.ZodString;
|
|
586
|
+
updated_at: z.ZodString;
|
|
587
|
+
completed_at: z.ZodNullable<z.ZodString>;
|
|
588
|
+
canceled_at: z.ZodNullable<z.ZodString>;
|
|
589
|
+
}, z.core.$strict>;
|
|
590
|
+
can_cancel: z.ZodBoolean;
|
|
591
|
+
quality_result: z.ZodOptional<z.ZodObject<{
|
|
592
|
+
quality_info: z.ZodObject<{
|
|
593
|
+
id: z.ZodNumber;
|
|
594
|
+
task_code: z.ZodString;
|
|
595
|
+
scene_code: z.ZodEnum<{
|
|
596
|
+
site_publish: "site_publish";
|
|
597
|
+
vcp_published_pages: "vcp_published_pages";
|
|
598
|
+
content_publish: "content_publish";
|
|
599
|
+
}>;
|
|
600
|
+
tenant_id: z.ZodString;
|
|
601
|
+
vcp_site_id: z.ZodUUID;
|
|
602
|
+
cms_site_id: z.ZodString;
|
|
603
|
+
checked_url: z.ZodString;
|
|
604
|
+
quality_params: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
605
|
+
status: z.ZodEnum<{
|
|
601
606
|
failed: "failed";
|
|
602
607
|
succeeded: "succeeded";
|
|
603
608
|
pending: "pending";
|
|
604
609
|
running: "running";
|
|
605
610
|
}>;
|
|
606
|
-
|
|
607
|
-
|
|
611
|
+
error_info: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
612
|
+
created_at: z.ZodString;
|
|
613
|
+
updated_at: z.ZodString;
|
|
614
|
+
}, z.core.$strict>;
|
|
615
|
+
quality_detail: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
616
|
+
remediation_items: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
617
|
+
summary: z.ZodObject<{
|
|
618
|
+
final_score: z.ZodNumber;
|
|
619
|
+
pass_score: z.ZodNumber;
|
|
620
|
+
group_count: z.ZodNumber;
|
|
621
|
+
problem_group_count: z.ZodNumber;
|
|
622
|
+
}, z.core.$strict>;
|
|
623
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
624
|
+
dimension_code: z.ZodEnum<{
|
|
625
|
+
trust: "trust";
|
|
626
|
+
reach: "reach";
|
|
627
|
+
convert: "convert";
|
|
628
|
+
safe: "safe";
|
|
629
|
+
}>;
|
|
630
|
+
name: z.ZodString;
|
|
631
|
+
alias_en: z.ZodString;
|
|
632
|
+
description: z.ZodString;
|
|
633
|
+
tips: z.ZodString;
|
|
634
|
+
score: z.ZodNumber;
|
|
635
|
+
total_score: z.ZodNumber;
|
|
636
|
+
pass_score: z.ZodNumber;
|
|
637
|
+
running_status: z.ZodEnum<{
|
|
638
|
+
pending: "pending";
|
|
639
|
+
running: "running";
|
|
640
|
+
completed: "completed";
|
|
641
|
+
}>;
|
|
642
|
+
problem_group_count: z.ZodNumber;
|
|
643
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
644
|
+
group_code: z.ZodString;
|
|
645
|
+
name: z.ZodString;
|
|
646
|
+
score: z.ZodNumber;
|
|
647
|
+
total_score: z.ZodNumber;
|
|
648
|
+
pass_score: z.ZodNumber;
|
|
649
|
+
running_status: z.ZodEnum<{
|
|
650
|
+
pending: "pending";
|
|
651
|
+
running: "running";
|
|
652
|
+
completed: "completed";
|
|
653
|
+
}>;
|
|
654
|
+
result_text: z.ZodString;
|
|
655
|
+
}, z.core.$strict>>;
|
|
656
|
+
}, z.core.$strict>>;
|
|
657
|
+
}, z.core.$strict>]>;
|
|
608
658
|
}, z.core.$strict>>;
|
|
609
|
-
|
|
610
|
-
|
|
659
|
+
message: z.ZodOptional<z.ZodString>;
|
|
660
|
+
}, z.core.$strict>;
|
|
661
|
+
message: z.ZodString;
|
|
611
662
|
}, z.core.$strict>;
|
|
612
|
-
export type
|
|
663
|
+
export type SitePublishWorkflowQualityResponse = z.infer<typeof SitePublishWorkflowQualityResponseSchema>;
|