@appconda/sdk 1.0.677 → 1.0.678

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.
@@ -41,7 +41,8 @@ export declare const ListEmploidsPaginatedSchema: z.ZodObject<{
41
41
  userId: z.ZodOptional<z.ZodString>;
42
42
  }, z.core.$strip>;
43
43
  export declare const ListScopesSchema: z.ZodObject<{
44
- tenantId: z.ZodString;
44
+ tenantId: z.ZodOptional<z.ZodString>;
45
+ workerId: z.ZodOptional<z.ZodString>;
45
46
  }, z.core.$strip>;
46
47
  export declare const ListOccupationsSchema: z.ZodObject<{}, z.core.$strip>;
47
48
  export declare const CreateOccupationSchema: z.ZodObject<{
@@ -109,6 +110,110 @@ export declare const UpdateScopeSchema: z.ZodObject<{
109
110
  export declare const DeleteScopeSchema: z.ZodObject<{
110
111
  scopeId: z.ZodString;
111
112
  }, z.core.$strip>;
113
+ export declare const WorkerBackgroundJobRuleSchema: z.ZodObject<{
114
+ mode: z.ZodEnum<{
115
+ everyMinute: "everyMinute";
116
+ everyHour: "everyHour";
117
+ everyDay: "everyDay";
118
+ everyWeek: "everyWeek";
119
+ everyMonth: "everyMonth";
120
+ cronExpression: "cronExpression";
121
+ }>;
122
+ interval: z.ZodOptional<z.ZodNumber>;
123
+ minute: z.ZodOptional<z.ZodNumber>;
124
+ hour: z.ZodOptional<z.ZodNumber>;
125
+ weekday: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
126
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
127
+ cron: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>;
129
+ export declare const WorkerBackgroundJobScheduleSchema: z.ZodObject<{
130
+ timezone: z.ZodString;
131
+ rule: z.ZodObject<{
132
+ mode: z.ZodEnum<{
133
+ everyMinute: "everyMinute";
134
+ everyHour: "everyHour";
135
+ everyDay: "everyDay";
136
+ everyWeek: "everyWeek";
137
+ everyMonth: "everyMonth";
138
+ cronExpression: "cronExpression";
139
+ }>;
140
+ interval: z.ZodOptional<z.ZodNumber>;
141
+ minute: z.ZodOptional<z.ZodNumber>;
142
+ hour: z.ZodOptional<z.ZodNumber>;
143
+ weekday: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
144
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
145
+ cron: z.ZodOptional<z.ZodString>;
146
+ }, z.core.$strip>;
147
+ }, z.core.$strip>;
148
+ export declare const CreateWorkerBackgroundJobSchema: z.ZodObject<{
149
+ tenantId: z.ZodString;
150
+ workerId: z.ZodString;
151
+ parentScopeId: z.ZodString;
152
+ name: z.ZodString;
153
+ description: z.ZodOptional<z.ZodString>;
154
+ schedule: z.ZodObject<{
155
+ timezone: z.ZodString;
156
+ rule: z.ZodObject<{
157
+ mode: z.ZodEnum<{
158
+ everyMinute: "everyMinute";
159
+ everyHour: "everyHour";
160
+ everyDay: "everyDay";
161
+ everyWeek: "everyWeek";
162
+ everyMonth: "everyMonth";
163
+ cronExpression: "cronExpression";
164
+ }>;
165
+ interval: z.ZodOptional<z.ZodNumber>;
166
+ minute: z.ZodOptional<z.ZodNumber>;
167
+ hour: z.ZodOptional<z.ZodNumber>;
168
+ weekday: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
169
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
170
+ cron: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>;
173
+ }, z.core.$strip>;
174
+ export declare const ListWorkerBackgroundJobsSchema: z.ZodObject<{
175
+ tenantId: z.ZodString;
176
+ workerId: z.ZodString;
177
+ }, z.core.$strip>;
178
+ export declare const UpdateWorkerBackgroundJobSchema: z.ZodObject<{
179
+ tenantId: z.ZodString;
180
+ workerId: z.ZodString;
181
+ scopeId: z.ZodString;
182
+ name: z.ZodOptional<z.ZodString>;
183
+ description: z.ZodOptional<z.ZodString>;
184
+ schedule: z.ZodOptional<z.ZodObject<{
185
+ timezone: z.ZodString;
186
+ rule: z.ZodObject<{
187
+ mode: z.ZodEnum<{
188
+ everyMinute: "everyMinute";
189
+ everyHour: "everyHour";
190
+ everyDay: "everyDay";
191
+ everyWeek: "everyWeek";
192
+ everyMonth: "everyMonth";
193
+ cronExpression: "cronExpression";
194
+ }>;
195
+ interval: z.ZodOptional<z.ZodNumber>;
196
+ minute: z.ZodOptional<z.ZodNumber>;
197
+ hour: z.ZodOptional<z.ZodNumber>;
198
+ weekday: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
199
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
200
+ cron: z.ZodOptional<z.ZodString>;
201
+ }, z.core.$strip>;
202
+ }, z.core.$strip>>;
203
+ enabled: z.ZodOptional<z.ZodBoolean>;
204
+ }, z.core.$strip>;
205
+ export declare const ListWorkerBackgroundJobExecutionsSchema: z.ZodObject<{
206
+ tenantId: z.ZodString;
207
+ workerId: z.ZodString;
208
+ scopeId: z.ZodString;
209
+ cursor: z.ZodOptional<z.ZodString>;
210
+ limit: z.ZodOptional<z.ZodNumber>;
211
+ }, z.core.$strip>;
212
+ export declare const ClearWorkerBackgroundJobExecutionsSchema: z.ZodObject<{
213
+ tenantId: z.ZodString;
214
+ workerId: z.ZodString;
215
+ scopeId: z.ZodString;
216
+ }, z.core.$strip>;
112
217
  export declare const ExportKnowledgeTreeSchema: z.ZodObject<{
113
218
  tenantId: z.ZodString;
114
219
  workerId: z.ZodString;
@@ -1376,11 +1481,11 @@ export declare const CreateCollectionAutomationRuleSchema: z.ZodObject<{
1376
1481
  description: z.ZodOptional<z.ZodString>;
1377
1482
  enabled: z.ZodOptional<z.ZodBoolean>;
1378
1483
  trigger: z.ZodEnum<{
1484
+ schedule: "schedule";
1379
1485
  created: "created";
1380
1486
  updated: "updated";
1381
1487
  linked: "linked";
1382
1488
  unlinked: "unlinked";
1383
- schedule: "schedule";
1384
1489
  }>;
1385
1490
  triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1386
1491
  updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1407,11 +1512,11 @@ export declare const UpdateCollectionAutomationRuleSchema: z.ZodObject<{
1407
1512
  description: z.ZodOptional<z.ZodString>;
1408
1513
  enabled: z.ZodOptional<z.ZodBoolean>;
1409
1514
  trigger: z.ZodOptional<z.ZodEnum<{
1515
+ schedule: "schedule";
1410
1516
  created: "created";
1411
1517
  updated: "updated";
1412
1518
  linked: "linked";
1413
1519
  unlinked: "unlinked";
1414
- schedule: "schedule";
1415
1520
  }>>;
1416
1521
  triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1417
1522
  updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;