@iflyrpa/actions 2.0.0-beta.2 → 2.0.0-beta.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/actions/douyinGetHot/index.d.ts +1 -0
- package/dist/actions/douyinGetMusicByCategory/schema.d.ts +2 -2
- package/dist/actions/douyinGetMusicCategory/schema.d.ts +1 -1
- package/dist/actions/douyinLogin/rpa.d.ts +2 -0
- package/dist/actions/douyinPublish/index.d.ts +24 -50
- package/dist/bundle.js +387 -124
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +387 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +387 -124
- package/dist/index.mjs.map +1 -1
- package/dist/utils/proxy.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,8 +27,8 @@ export declare const DouyinGetMusicByCategoryParamsSchema: z.ZodObject<{
|
|
|
27
27
|
huiwenToken: z.ZodOptional<z.ZodString>;
|
|
28
28
|
articleId: z.ZodOptional<z.ZodString>;
|
|
29
29
|
saveType: z.ZodOptional<z.ZodString>;
|
|
30
|
-
category_id: z.
|
|
31
|
-
type: z.
|
|
30
|
+
category_id: z.ZodString;
|
|
31
|
+
type: z.ZodString;
|
|
32
32
|
count: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
export type DouyinGetMusicByCategoryParams = z.infer<typeof DouyinGetMusicByCategoryParamsSchema>;
|
|
@@ -27,7 +27,7 @@ export declare const DouyinGetMusicParamsSchema: z.ZodObject<{
|
|
|
27
27
|
huiwenToken: z.ZodOptional<z.ZodString>;
|
|
28
28
|
articleId: z.ZodOptional<z.ZodString>;
|
|
29
29
|
saveType: z.ZodOptional<z.ZodString>;
|
|
30
|
-
keyword: z.
|
|
30
|
+
keyword: z.ZodString;
|
|
31
31
|
count: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
export type DouyinGetMusicParams = z.infer<typeof DouyinGetMusicParamsSchema>;
|
|
@@ -26,76 +26,50 @@ export declare const DouyinPublishParamsSchema: z.ZodObject<{
|
|
|
26
26
|
huiwenToken: z.ZodOptional<z.ZodString>;
|
|
27
27
|
articleId: z.ZodOptional<z.ZodString>;
|
|
28
28
|
saveType: z.ZodOptional<z.ZodString>;
|
|
29
|
-
banners: z.ZodArray<z.ZodString>;
|
|
30
29
|
title: z.ZodString;
|
|
31
30
|
content: z.ZodString;
|
|
32
|
-
|
|
33
|
-
videoFile: z.ZodOptional<z.ZodString>;
|
|
34
|
-
address: z.ZodOptional<z.ZodObject<{
|
|
35
|
-
id: z.ZodString;
|
|
36
|
-
name: z.ZodString;
|
|
37
|
-
latitude: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
longitude: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
40
|
-
selfDeclaration: z.ZodOptional<z.ZodCustom<{
|
|
41
|
-
type: "fictional-rendition";
|
|
42
|
-
} | {
|
|
43
|
-
type: "ai-generated";
|
|
44
|
-
} | {
|
|
45
|
-
type: "source-statement";
|
|
46
|
-
childType: "self-labeling" | "self-shooting" | "transshipment";
|
|
47
|
-
shootingLocation?: {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
latitude?: number | undefined;
|
|
51
|
-
longitude?: number | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
shootingDate?: string | undefined;
|
|
54
|
-
sourceMedia?: string | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
type: "fictional-rendition";
|
|
57
|
-
} | {
|
|
58
|
-
type: "ai-generated";
|
|
59
|
-
} | {
|
|
60
|
-
type: "source-statement";
|
|
61
|
-
childType: "self-labeling" | "self-shooting" | "transshipment";
|
|
62
|
-
shootingLocation?: {
|
|
63
|
-
id: string;
|
|
64
|
-
name: string;
|
|
65
|
-
latitude?: number | undefined;
|
|
66
|
-
longitude?: number | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
shootingDate?: string | undefined;
|
|
69
|
-
sourceMedia?: string | undefined;
|
|
70
|
-
}>>;
|
|
31
|
+
textExtra: z.ZodString;
|
|
71
32
|
topic: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
72
33
|
id: z.ZodString;
|
|
73
34
|
word: z.ZodString;
|
|
74
35
|
}, z.core.$strip>>>;
|
|
36
|
+
coverImage: z.ZodOptional<z.ZodString>;
|
|
37
|
+
banners: z.ZodArray<z.ZodString>;
|
|
38
|
+
mix: z.ZodObject<{
|
|
39
|
+
mix_id: z.ZodString;
|
|
40
|
+
mix_order: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
musicId: z.ZodString;
|
|
43
|
+
musicDuration: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
challengeIds: z.ZodString;
|
|
45
|
+
hotSentence: z.ZodString;
|
|
75
46
|
proxyLoc: z.ZodOptional<z.ZodString>;
|
|
76
47
|
localIP: z.ZodOptional<z.ZodString>;
|
|
77
48
|
visibleRange: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
0: "0";
|
|
78
50
|
1: "1";
|
|
79
51
|
2: "2";
|
|
80
|
-
3: "3";
|
|
81
52
|
}>>;
|
|
82
53
|
isImmediatelyPublish: z.ZodOptional<z.ZodBoolean>;
|
|
83
54
|
scheduledPublish: z.ZodOptional<z.ZodString>;
|
|
84
|
-
|
|
85
|
-
allowCoProduce: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
allowCopy: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
allowSave: z.ZodOptional<z.ZodBoolean>;
|
|
87
56
|
publishType: z.ZodOptional<z.ZodEnum<{
|
|
88
57
|
1: "1";
|
|
89
58
|
2: "2";
|
|
90
59
|
3: "3";
|
|
91
60
|
4: "4";
|
|
92
61
|
}>>;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
62
|
+
extraParam: z.ZodObject<{
|
|
63
|
+
"security-sdk/s_sdk_pri_key": z.ZodObject<{
|
|
64
|
+
data: z.ZodString;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
"security-sdk/s_sdk_pub_key": z.ZodObject<{
|
|
67
|
+
data: z.ZodString;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
"security-sdk/s_sdk_sign_data_key/web_protect": z.ZodObject<{
|
|
70
|
+
data: z.ZodString;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
}, z.core.$strip>;
|
|
99
73
|
}, z.core.$strip>;
|
|
100
74
|
export type DouyinPublishParams = z.infer<typeof DouyinPublishParamsSchema>;
|
|
101
75
|
export type PublishAction = CommonAction<DouyinPublishParams, string>;
|