@purpleschool/gptbot-tools 0.2.55 → 0.2.56

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 (30) hide show
  1. package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
  2. package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
  3. package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
  4. package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
  5. package/build/tools/models/global-tools-config.schema.d.ts +31 -1
  6. package/build/tools/models/tools-with-configs.schema.d.ts +62 -2
  7. package/build/tools/queries/get-global-tools-config.query.d.ts +62 -2
  8. package/build/tools/queries/get-tools-with-configs.query.d.ts +62 -2
  9. package/build/video-editor/commands/edit-video.command.d.ts +57 -0
  10. package/build/video-editor/commands/edit-video.command.js +1 -1
  11. package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
  12. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
  13. package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
  14. package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
  15. package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
  16. package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
  17. package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
  18. package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
  19. package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
  20. package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
  21. package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
  22. package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
  23. package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
  24. package/build/video-editor/models/video-editor-job.schema.js +9 -0
  25. package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
  26. package/build/video-editor/models/video-editor-model.schema.js +40 -0
  27. package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
  28. package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
  29. package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
  30. package/package.json +1 -1
@@ -25,8 +25,27 @@ export declare namespace FindVideoEditorJobByIdQuery {
25
25
  outputVideoId: string | null;
26
26
  previewUrl: string | null;
27
27
  params?: {
28
+ attachedFiles?: {
29
+ uuid: string;
30
+ url: string;
31
+ name: string;
32
+ mimeType: string;
33
+ type: string;
34
+ size: number;
35
+ duration?: number | null | undefined;
36
+ content?: string | null | undefined;
37
+ contentLength?: number | null | undefined;
38
+ }[] | undefined;
39
+ imageUrls?: string[] | undefined;
40
+ imageIds?: string[] | undefined;
41
+ videoUrls?: undefined;
42
+ referenceImages?: string[] | undefined;
43
+ referenceImageIds?: string[] | undefined;
44
+ audioUrls?: string[] | undefined;
45
+ audioIds?: string[] | undefined;
28
46
  duration?: number | undefined;
29
47
  resolution?: string | undefined;
48
+ aspectRatio?: string | undefined;
30
49
  } | undefined;
31
50
  duration: number;
32
51
  attempts: any[];
@@ -57,8 +76,27 @@ export declare namespace FindVideoEditorJobByIdQuery {
57
76
  outputVideoId: string | null;
58
77
  previewUrl: string | null;
59
78
  params?: {
79
+ attachedFiles?: {
80
+ uuid: string;
81
+ url: string;
82
+ name: string;
83
+ mimeType: string;
84
+ type: string;
85
+ size: number;
86
+ duration?: number | null | undefined;
87
+ content?: string | null | undefined;
88
+ contentLength?: number | null | undefined;
89
+ }[] | undefined;
90
+ imageUrls?: string[] | undefined;
91
+ imageIds?: string[] | undefined;
92
+ videoUrls?: undefined;
93
+ referenceImages?: string[] | undefined;
94
+ referenceImageIds?: string[] | undefined;
95
+ audioUrls?: string[] | undefined;
96
+ audioIds?: string[] | undefined;
60
97
  duration?: number | undefined;
61
98
  resolution?: string | undefined;
99
+ aspectRatio?: string | undefined;
62
100
  } | undefined;
63
101
  duration: number;
64
102
  attempts: any[];
@@ -34,8 +34,27 @@ export declare namespace FindVideoEditorJobsQuery {
34
34
  outputVideoId: string | null;
35
35
  previewUrl: string | null;
36
36
  params?: {
37
+ attachedFiles?: {
38
+ uuid: string;
39
+ url: string;
40
+ name: string;
41
+ mimeType: string;
42
+ type: string;
43
+ size: number;
44
+ duration?: number | null | undefined;
45
+ content?: string | null | undefined;
46
+ contentLength?: number | null | undefined;
47
+ }[] | undefined;
48
+ imageUrls?: string[] | undefined;
49
+ imageIds?: string[] | undefined;
50
+ videoUrls?: undefined;
51
+ referenceImages?: string[] | undefined;
52
+ referenceImageIds?: string[] | undefined;
53
+ audioUrls?: string[] | undefined;
54
+ audioIds?: string[] | undefined;
37
55
  duration?: number | undefined;
38
56
  resolution?: string | undefined;
57
+ aspectRatio?: string | undefined;
39
58
  } | undefined;
40
59
  duration: number;
41
60
  attempts: any[];
@@ -71,8 +90,27 @@ export declare namespace FindVideoEditorJobsQuery {
71
90
  outputVideoId: string | null;
72
91
  previewUrl: string | null;
73
92
  params?: {
93
+ attachedFiles?: {
94
+ uuid: string;
95
+ url: string;
96
+ name: string;
97
+ mimeType: string;
98
+ type: string;
99
+ size: number;
100
+ duration?: number | null | undefined;
101
+ content?: string | null | undefined;
102
+ contentLength?: number | null | undefined;
103
+ }[] | undefined;
104
+ imageUrls?: string[] | undefined;
105
+ imageIds?: string[] | undefined;
106
+ videoUrls?: undefined;
107
+ referenceImages?: string[] | undefined;
108
+ referenceImageIds?: string[] | undefined;
109
+ audioUrls?: string[] | undefined;
110
+ audioIds?: string[] | undefined;
74
111
  duration?: number | undefined;
75
112
  resolution?: string | undefined;
113
+ aspectRatio?: string | undefined;
76
114
  } | undefined;
77
115
  duration: number;
78
116
  attempts: any[];
@@ -30,18 +30,49 @@ export declare namespace GetVideoEditorConfigQuery {
30
30
  maxInputVideoDurationInSeconds: number;
31
31
  supportedFormats: string[];
32
32
  params: {
33
+ imageAttachment?: {
34
+ supported: boolean;
35
+ maxImages: number;
36
+ maxFileSizeMb?: number | undefined;
37
+ } | undefined;
38
+ referenceImageAttachment?: {
39
+ supported: boolean;
40
+ maxImages: number;
41
+ formats?: string[] | undefined;
42
+ minWidthToHeightRatio?: number | undefined;
43
+ maxWidthToHeightRatio?: number | undefined;
44
+ minWidthPx?: number | undefined;
45
+ maxWidthPx?: number | undefined;
46
+ minHeightPx?: number | undefined;
47
+ maxHeightPx?: number | undefined;
48
+ maxFileSizeMb?: number | undefined;
49
+ } | undefined;
50
+ audioAttachment?: {
51
+ supported: boolean;
52
+ maxAudios: number;
53
+ maxDurationSeconds: number;
54
+ minDurationSeconds?: number | undefined;
55
+ maxTotalDurationSeconds?: number | undefined;
56
+ maxFileSizeMb?: number | undefined;
57
+ formats?: string[] | undefined;
58
+ mimeTypes?: string[] | undefined;
59
+ } | undefined;
33
60
  duration?: {
34
61
  options: number[];
35
62
  } | undefined;
36
63
  resolution?: {
37
64
  options: string[];
38
65
  } | undefined;
66
+ aspectRatio?: {
67
+ options: string[];
68
+ } | undefined;
39
69
  };
40
70
  pricingRules: {
41
71
  type: import("..").VIDEO_EDITOR_PRICING_RULE_TYPE;
42
72
  condition: {
43
73
  duration?: number | undefined;
44
74
  resolution?: string | undefined;
75
+ aspectRatio?: string | undefined;
45
76
  };
46
77
  value: number;
47
78
  }[];
@@ -75,18 +106,49 @@ export declare namespace GetVideoEditorConfigQuery {
75
106
  maxInputVideoDurationInSeconds: number;
76
107
  supportedFormats: string[];
77
108
  params: {
109
+ imageAttachment?: {
110
+ supported: boolean;
111
+ maxImages: number;
112
+ maxFileSizeMb?: number | undefined;
113
+ } | undefined;
114
+ referenceImageAttachment?: {
115
+ supported: boolean;
116
+ maxImages: number;
117
+ formats?: string[] | undefined;
118
+ minWidthToHeightRatio?: number | undefined;
119
+ maxWidthToHeightRatio?: number | undefined;
120
+ minWidthPx?: number | undefined;
121
+ maxWidthPx?: number | undefined;
122
+ minHeightPx?: number | undefined;
123
+ maxHeightPx?: number | undefined;
124
+ maxFileSizeMb?: number | undefined;
125
+ } | undefined;
126
+ audioAttachment?: {
127
+ supported: boolean;
128
+ maxAudios: number;
129
+ maxDurationSeconds: number;
130
+ minDurationSeconds?: number | undefined;
131
+ maxTotalDurationSeconds?: number | undefined;
132
+ maxFileSizeMb?: number | undefined;
133
+ formats?: string[] | undefined;
134
+ mimeTypes?: string[] | undefined;
135
+ } | undefined;
78
136
  duration?: {
79
137
  options: number[];
80
138
  } | undefined;
81
139
  resolution?: {
82
140
  options: string[];
83
141
  } | undefined;
142
+ aspectRatio?: {
143
+ options: string[];
144
+ } | undefined;
84
145
  };
85
146
  pricingRules: {
86
147
  type: import("..").VIDEO_EDITOR_PRICING_RULE_TYPE;
87
148
  condition: {
88
149
  duration?: number | undefined;
89
150
  resolution?: string | undefined;
151
+ aspectRatio?: string | undefined;
90
152
  };
91
153
  value: number;
92
154
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.2.55",
3
+ "version": "0.2.56",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [