@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.
@@ -18,6 +18,7 @@ export interface DouyinHotResponse {
18
18
  status_code: number;
19
19
  status_msg: string;
20
20
  sentences?: Hot[];
21
+ all_sentences?: Hot[];
21
22
  extra?: {
22
23
  logid: string;
23
24
  now: number;
@@ -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.ZodOptional<z.ZodString>;
31
- type: z.ZodOptional<z.ZodString>;
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.ZodOptional<z.ZodString>;
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>;
@@ -0,0 +1,2 @@
1
+ import type { SteelAction } from "./index";
2
+ export declare const rpaAction: SteelAction;
@@ -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
- coverImage: z.ZodOptional<z.ZodString>;
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
- isOriginal: z.ZodOptional<z.ZodBoolean>;
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
- publishAction: z.ZodOptional<z.ZodEnum<{
94
- draft: "draft";
95
- publish: "publish";
96
- }>>;
97
- isAiCoverImage: z.ZodOptional<z.ZodBoolean>;
98
- summary: z.ZodOptional<z.ZodString>;
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>;