apify-client 3.0.0-beta.51 → 3.0.0-beta.53
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/apify_api_error.d.ts +4 -4
- package/dist/apify_api_error.js +1 -1
- package/dist/base/resource_client.js +13 -7
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/generated/api.d.ts +173 -177
- package/dist/generated/schemas.d.ts +51 -101
- package/dist/generated/schemas.js +91 -94
- package/dist/http_clients/base.d.ts +2 -4
- package/dist/models.d.ts +157 -180
- package/dist/models.js +6 -4
- package/dist/resource_clients/actor.d.ts +7 -7
- package/dist/resource_clients/actor.js +2 -2
- package/dist/resource_clients/actor_collection.d.ts +10 -10
- package/dist/resource_clients/actor_collection.js +1 -1
- package/dist/resource_clients/actor_env_var.d.ts +3 -3
- package/dist/resource_clients/actor_env_var_collection.d.ts +4 -4
- package/dist/resource_clients/actor_version.d.ts +5 -5
- package/dist/resource_clients/actor_version_collection.d.ts +4 -4
- package/dist/resource_clients/build.d.ts +2 -1
- package/dist/resource_clients/build.js +1 -0
- package/dist/resource_clients/build_collection.d.ts +4 -4
- package/dist/resource_clients/dataset.d.ts +4 -4
- package/dist/resource_clients/dataset.js +2 -2
- package/dist/resource_clients/dataset_collection.d.ts +4 -4
- package/dist/resource_clients/dataset_collection.js +1 -1
- package/dist/resource_clients/key_value_store.d.ts +6 -6
- package/dist/resource_clients/key_value_store.js +2 -2
- package/dist/resource_clients/key_value_store_collection.d.ts +4 -4
- package/dist/resource_clients/key_value_store_collection.js +1 -1
- package/dist/resource_clients/request_queue.d.ts +18 -18
- package/dist/resource_clients/request_queue.js +3 -3
- package/dist/resource_clients/request_queue_collection.d.ts +4 -4
- package/dist/resource_clients/request_queue_collection.js +1 -1
- package/dist/resource_clients/run.d.ts +16 -15
- package/dist/resource_clients/run.js +8 -7
- package/dist/resource_clients/run_collection.d.ts +2 -2
- package/dist/resource_clients/schedule.d.ts +3 -3
- package/dist/resource_clients/schedule.js +1 -1
- package/dist/resource_clients/store_collection.d.ts +3 -3
- package/dist/resource_clients/task.d.ts +3 -3
- package/dist/resource_clients/task_collection.d.ts +3 -3
- package/dist/resource_clients/user.d.ts +4 -4
- package/dist/resource_clients/webhook.d.ts +5 -5
- package/dist/resource_clients/webhook.js +2 -2
- package/dist/resource_clients/webhook_collection.d.ts +3 -3
- package/dist/resource_clients/webhook_collection.js +1 -1
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ export const ActorStats = lazySchema(() => z.looseObject({
|
|
|
33
33
|
TOTAL: z.int().optional(),
|
|
34
34
|
}).optional(),
|
|
35
35
|
}));
|
|
36
|
-
export const
|
|
36
|
+
export const ActorListItem = lazySchema(() => z.looseObject({
|
|
37
37
|
id: z.string(),
|
|
38
38
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
39
39
|
modifiedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
@@ -43,7 +43,7 @@ export const ActorShort = lazySchema(() => z.looseObject({
|
|
|
43
43
|
stats: ActorStats().nullable().optional(),
|
|
44
44
|
}));
|
|
45
45
|
export const ListOfActors = lazySchema(() => PaginationResponse().extend({
|
|
46
|
-
items: z.array(
|
|
46
|
+
items: z.array(ActorListItem()),
|
|
47
47
|
}));
|
|
48
48
|
export const ListOfActorsResponse = lazySchema(() => z.looseObject({
|
|
49
49
|
data: ListOfActors(),
|
|
@@ -203,7 +203,7 @@ export const TaggedBuildInfo = lazySchema(() => z.looseObject({
|
|
|
203
203
|
export const TaggedBuilds = lazySchema(() => z.record(z.string(), TaggedBuildInfo().nullable()));
|
|
204
204
|
/** A warning displayed on the Actor's page in Apify Store and Console. Can be set by the Actor's developer or automatically by Apify's quality checks. */
|
|
205
205
|
export const ActorNotice = lazySchema(() => z.enum(["NONE", "RESIDENTIAL_PROXY_REQUIRED", "UNDER_MAINTENANCE"]).or(z.string()).nullable());
|
|
206
|
-
export const
|
|
206
|
+
export const ActorResource = lazySchema(() => z.looseObject({
|
|
207
207
|
id: z.string(),
|
|
208
208
|
userId: z.string(),
|
|
209
209
|
name: z.string(),
|
|
@@ -238,7 +238,7 @@ export const Actor = lazySchema(() => z.looseObject({
|
|
|
238
238
|
}));
|
|
239
239
|
/** Response containing Actor data. */
|
|
240
240
|
export const ActorResponse = lazySchema(() => z.looseObject({
|
|
241
|
-
data:
|
|
241
|
+
data: ActorResource(),
|
|
242
242
|
}));
|
|
243
243
|
export const CreateOrUpdateVersionRequest = lazySchema(() => z.looseObject({
|
|
244
244
|
versionNumber: z.string().regex(/^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])$/).nullable().optional(),
|
|
@@ -252,7 +252,7 @@ export const CreateOrUpdateVersionRequest = lazySchema(() => z.looseObject({
|
|
|
252
252
|
gitHubGistUrl: z.string().nullable().optional(),
|
|
253
253
|
}));
|
|
254
254
|
/** The name of the build tag. */
|
|
255
|
-
export const
|
|
255
|
+
export const UpdatedBuildProperty = lazySchema(() => z.looseObject({
|
|
256
256
|
buildId: z.string(),
|
|
257
257
|
}).nullable());
|
|
258
258
|
export const UpdateActorRequest = lazySchema(() => z.looseObject({
|
|
@@ -268,7 +268,7 @@ export const UpdateActorRequest = lazySchema(() => z.looseObject({
|
|
|
268
268
|
pricingInfos: z.array(ActorRunPricingInfo()).optional(),
|
|
269
269
|
categories: z.array(z.string()).nullable().optional(),
|
|
270
270
|
defaultRunOptions: DefaultRunOptions().nullable().optional(),
|
|
271
|
-
taggedBuilds: z.record(z.string(),
|
|
271
|
+
taggedBuilds: z.record(z.string(), UpdatedBuildProperty()).nullable().optional(),
|
|
272
272
|
actorStandby: ActorStandby().nullable().optional(),
|
|
273
273
|
exampleRunInput: ExampleRunInput().nullable().optional(),
|
|
274
274
|
isDeprecated: z.boolean().nullable().optional(),
|
|
@@ -303,7 +303,7 @@ export const WebhookCondition = lazySchema(() => z.looseObject({
|
|
|
303
303
|
}));
|
|
304
304
|
/** Status of the webhook dispatch indicating whether the HTTP request was successful. */
|
|
305
305
|
export const WebhookDispatchStatus = lazySchema(() => z.enum(["ACTIVE", "SUCCEEDED", "FAILED"]).or(z.string()));
|
|
306
|
-
export const
|
|
306
|
+
export const WebhookLastDispatch = lazySchema(() => z.looseObject({
|
|
307
307
|
status: WebhookDispatchStatus(),
|
|
308
308
|
finishedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
309
309
|
removedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
@@ -311,7 +311,7 @@ export const ExampleWebhookDispatch = lazySchema(() => z.looseObject({
|
|
|
311
311
|
export const WebhookStats = lazySchema(() => z.looseObject({
|
|
312
312
|
totalDispatches: z.int().optional(),
|
|
313
313
|
}));
|
|
314
|
-
export const
|
|
314
|
+
export const WebhookListItem = lazySchema(() => z.looseObject({
|
|
315
315
|
id: z.string(),
|
|
316
316
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
317
317
|
modifiedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
@@ -326,11 +326,11 @@ export const WebhookShort = lazySchema(() => z.looseObject({
|
|
|
326
326
|
ignoreSslErrors: z.boolean(),
|
|
327
327
|
doNotRetry: z.boolean(),
|
|
328
328
|
requestUrl: z.url({ normalize: true }),
|
|
329
|
-
lastDispatch:
|
|
329
|
+
lastDispatch: WebhookLastDispatch().nullable().optional(),
|
|
330
330
|
stats: WebhookStats().nullable().optional(),
|
|
331
331
|
}));
|
|
332
332
|
export const ListOfWebhooks = lazySchema(() => PaginationResponse().extend({
|
|
333
|
-
items: z.array(
|
|
333
|
+
items: z.array(WebhookListItem()),
|
|
334
334
|
}));
|
|
335
335
|
export const ListOfWebhooksResponse = lazySchema(() => z.looseObject({
|
|
336
336
|
data: ListOfWebhooks(),
|
|
@@ -338,12 +338,12 @@ export const ListOfWebhooksResponse = lazySchema(() => z.looseObject({
|
|
|
338
338
|
/** Status of an Actor job (run or build). */
|
|
339
339
|
export const ActorJobStatus = lazySchema(() => z.enum(["READY", "RUNNING", "SUCCEEDED", "FAILED", "TIMING-OUT", "TIMED-OUT", "ABORTING", "ABORTED"]).or(z.string()));
|
|
340
340
|
export const RunOrigin = lazySchema(() => z.enum(["DEVELOPMENT", "WEB", "API", "SCHEDULER", "TEST", "WEBHOOK", "ACTOR", "CLI", "CI", "STANDBY", "MCP"]).or(z.string()));
|
|
341
|
-
export const
|
|
341
|
+
export const BuildMeta = lazySchema(() => z.looseObject({
|
|
342
342
|
origin: RunOrigin(),
|
|
343
343
|
clientIp: z.string().optional(),
|
|
344
344
|
userAgent: z.string().optional(),
|
|
345
345
|
}));
|
|
346
|
-
export const
|
|
346
|
+
export const BuildListItem = lazySchema(() => z.looseObject({
|
|
347
347
|
id: z.string(),
|
|
348
348
|
actId: z.string().optional(),
|
|
349
349
|
userId: z.string().optional(),
|
|
@@ -353,10 +353,10 @@ export const BuildShort = lazySchema(() => z.looseObject({
|
|
|
353
353
|
usageTotalUsd: z.number(),
|
|
354
354
|
buildNumber: z.string().regex(/^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$/),
|
|
355
355
|
buildNumberInt: z.int().optional(),
|
|
356
|
-
meta:
|
|
356
|
+
meta: BuildMeta().optional(),
|
|
357
357
|
}));
|
|
358
358
|
export const ListOfBuilds = lazySchema(() => PaginationResponse().extend({
|
|
359
|
-
items: z.array(
|
|
359
|
+
items: z.array(BuildListItem()),
|
|
360
360
|
}));
|
|
361
361
|
export const ListOfBuildsResponse = lazySchema(() => z.looseObject({
|
|
362
362
|
data: ListOfBuilds(),
|
|
@@ -403,7 +403,7 @@ export const Build = lazySchema(() => z.looseObject({
|
|
|
403
403
|
startedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
404
404
|
finishedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
405
405
|
status: ActorJobStatus(),
|
|
406
|
-
meta:
|
|
406
|
+
meta: BuildMeta(),
|
|
407
407
|
stats: BuildStats().nullable().optional(),
|
|
408
408
|
options: BuildOptions().nullable().optional(),
|
|
409
409
|
usage: BuildUsage().nullable().optional(),
|
|
@@ -433,7 +433,7 @@ export const RunMeta = lazySchema(() => z.looseObject({
|
|
|
433
433
|
scheduleId: z.string().nullable().optional(),
|
|
434
434
|
scheduledAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
435
435
|
}));
|
|
436
|
-
export const
|
|
436
|
+
export const RunListItem = lazySchema(() => z.looseObject({
|
|
437
437
|
id: z.string(),
|
|
438
438
|
actId: z.string(),
|
|
439
439
|
userId: z.string().optional(),
|
|
@@ -451,7 +451,7 @@ export const RunShort = lazySchema(() => z.looseObject({
|
|
|
451
451
|
defaultRequestQueueId: z.string(),
|
|
452
452
|
}));
|
|
453
453
|
export const ListOfRuns = lazySchema(() => PaginationResponse().extend({
|
|
454
|
-
items: z.array(
|
|
454
|
+
items: z.array(RunListItem()),
|
|
455
455
|
}));
|
|
456
456
|
export const ListOfRunsResponse = lazySchema(() => z.looseObject({
|
|
457
457
|
data: ListOfRuns(),
|
|
@@ -530,7 +530,7 @@ export const RunUsageUsd = lazySchema(() => z.looseObject({
|
|
|
530
530
|
PROXY_SERPS: z.number().nullable().optional(),
|
|
531
531
|
}));
|
|
532
532
|
/** Information about a metamorph event that occurred during the run. */
|
|
533
|
-
export const
|
|
533
|
+
export const RunMetamorphEvent = lazySchema(() => z.looseObject({
|
|
534
534
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
535
535
|
actorId: z.string(),
|
|
536
536
|
buildId: z.string(),
|
|
@@ -576,7 +576,7 @@ export const Run = lazySchema(() => z.looseObject({
|
|
|
576
576
|
usage: RunUsage().nullable().optional(),
|
|
577
577
|
usageTotalUsd: z.number().nullable().optional(),
|
|
578
578
|
usageUsd: RunUsageUsd().nullable().optional(),
|
|
579
|
-
metamorphs: z.array(
|
|
579
|
+
metamorphs: z.array(RunMetamorphEvent()).nullable().optional(),
|
|
580
580
|
platformUsageBillingModel: z.string().optional(),
|
|
581
581
|
}));
|
|
582
582
|
export const RunResponse = lazySchema(() => z.looseObject({
|
|
@@ -588,7 +588,7 @@ export const DatasetStats = lazySchema(() => z.looseObject({
|
|
|
588
588
|
storageBytes: z.int().optional(),
|
|
589
589
|
inflatedBytes: z.int().optional(),
|
|
590
590
|
}));
|
|
591
|
-
export const
|
|
591
|
+
export const DatasetResource = lazySchema(() => z.looseObject({
|
|
592
592
|
id: z.string(),
|
|
593
593
|
name: z.string().nullable().optional(),
|
|
594
594
|
userId: z.string(),
|
|
@@ -609,7 +609,7 @@ export const Dataset = lazySchema(() => z.looseObject({
|
|
|
609
609
|
}));
|
|
610
610
|
/** Response containing dataset metadata. */
|
|
611
611
|
export const DatasetResponse = lazySchema(() => z.looseObject({
|
|
612
|
-
data:
|
|
612
|
+
data: DatasetResource(),
|
|
613
613
|
}));
|
|
614
614
|
export const UpdateDatasetRequest = lazySchema(() => z.looseObject({
|
|
615
615
|
name: z.string().nullable().optional(),
|
|
@@ -620,26 +620,26 @@ export const UpdateDatasetRequest = lazySchema(() => z.looseObject({
|
|
|
620
620
|
* object or an array of objects. Each object represents one dataset item.
|
|
621
621
|
*/
|
|
622
622
|
export const PutItemsRequest = lazySchema(() => z.record(z.string(), z.unknown()));
|
|
623
|
-
export const
|
|
623
|
+
export const DatasetItemValidationError = lazySchema(() => z.looseObject({
|
|
624
624
|
instancePath: z.string().optional(),
|
|
625
625
|
schemaPath: z.string().optional(),
|
|
626
626
|
keyword: z.string().optional(),
|
|
627
627
|
message: z.string().optional(),
|
|
628
628
|
params: z.record(z.string(), z.unknown()).optional(),
|
|
629
629
|
}));
|
|
630
|
-
export const
|
|
630
|
+
export const InvalidDatasetItem = lazySchema(() => z.looseObject({
|
|
631
631
|
itemPosition: z.int().optional(),
|
|
632
|
-
validationErrors: z.array(
|
|
632
|
+
validationErrors: z.array(DatasetItemValidationError()).optional(),
|
|
633
633
|
}));
|
|
634
|
-
export const
|
|
635
|
-
invalidItems: z.array(
|
|
634
|
+
export const DatasetSchemaValidationErrorData = lazySchema(() => z.looseObject({
|
|
635
|
+
invalidItems: z.array(InvalidDatasetItem()),
|
|
636
636
|
}));
|
|
637
637
|
export const DatasetSchemaValidationError = lazySchema(() => z.looseObject({
|
|
638
638
|
type: z.string().optional(),
|
|
639
639
|
message: z.string().optional(),
|
|
640
|
-
data:
|
|
640
|
+
data: DatasetSchemaValidationErrorData().optional(),
|
|
641
641
|
}));
|
|
642
|
-
export const
|
|
642
|
+
export const PutItemsErrorResponse = lazySchema(() => z.looseObject({
|
|
643
643
|
error: DatasetSchemaValidationError(),
|
|
644
644
|
}));
|
|
645
645
|
export const DatasetFieldStatistics = lazySchema(() => z.looseObject({
|
|
@@ -662,7 +662,7 @@ export const KeyValueStoreStats = lazySchema(() => z.looseObject({
|
|
|
662
662
|
s3StorageBytes: z.int().optional(),
|
|
663
663
|
storageBytes: z.int().optional(),
|
|
664
664
|
}));
|
|
665
|
-
export const
|
|
665
|
+
export const KeyValueStoreResource = lazySchema(() => z.looseObject({
|
|
666
666
|
id: z.string(),
|
|
667
667
|
name: z.string().nullable().optional(),
|
|
668
668
|
userId: z.string().nullable().optional(),
|
|
@@ -682,9 +682,9 @@ export const KeyValueStore = lazySchema(() => z.looseObject({
|
|
|
682
682
|
}));
|
|
683
683
|
/** Response containing key-value store data. */
|
|
684
684
|
export const KeyValueStoreResponse = lazySchema(() => z.looseObject({
|
|
685
|
-
data:
|
|
685
|
+
data: KeyValueStoreResource(),
|
|
686
686
|
}));
|
|
687
|
-
export const
|
|
687
|
+
export const UpdateKeyValueStoreRequest = lazySchema(() => z.looseObject({
|
|
688
688
|
name: z.string().nullable().optional(),
|
|
689
689
|
generalAccess: GeneralAccess().optional(),
|
|
690
690
|
}));
|
|
@@ -741,7 +741,7 @@ export const RequestQueueStats = lazySchema(() => z.looseObject({
|
|
|
741
741
|
writeCount: z.int().optional(),
|
|
742
742
|
}));
|
|
743
743
|
/** A request queue object containing metadata and statistics. */
|
|
744
|
-
export const
|
|
744
|
+
export const RequestQueueResource = lazySchema(() => z.looseObject({
|
|
745
745
|
id: QueueId(),
|
|
746
746
|
name: z.string().nullable().optional(),
|
|
747
747
|
userId: QueueUserId(),
|
|
@@ -760,7 +760,7 @@ export const RequestQueue = lazySchema(() => z.looseObject({
|
|
|
760
760
|
}));
|
|
761
761
|
/** Response containing request queue data. */
|
|
762
762
|
export const RequestQueueResponse = lazySchema(() => z.looseObject({
|
|
763
|
-
data:
|
|
763
|
+
data: RequestQueueResource(),
|
|
764
764
|
}));
|
|
765
765
|
/** Request object for updating a request queue. */
|
|
766
766
|
export const UpdateRequestQueueRequest = lazySchema(() => z.looseObject({
|
|
@@ -794,12 +794,12 @@ export const RequestBase = lazySchema(() => z.looseObject({
|
|
|
794
794
|
/** A unique identifier assigned to the request. */
|
|
795
795
|
export const RequestId = lazySchema(() => z.string());
|
|
796
796
|
/** A request stored in the request queue, including its metadata and processing state. */
|
|
797
|
-
export const
|
|
797
|
+
export const RequestResource = lazySchema(() => RequestBase().extend({
|
|
798
798
|
id: RequestId().optional(),
|
|
799
799
|
}).required({ id: true }));
|
|
800
800
|
/** A paginated list of requests from the request queue. */
|
|
801
801
|
export const ListOfRequests = lazySchema(() => z.looseObject({
|
|
802
|
-
items: z.array(
|
|
802
|
+
items: z.array(RequestResource()),
|
|
803
803
|
limit: z.int(),
|
|
804
804
|
exclusiveStartId: z.string().optional(),
|
|
805
805
|
cursor: z.string().optional(),
|
|
@@ -833,7 +833,7 @@ export const AddedRequest = lazySchema(() => z.looseObject({
|
|
|
833
833
|
wasAlreadyHandled: WasAlreadyHandled(),
|
|
834
834
|
}));
|
|
835
835
|
/** A request that failed to be processed during a request queue operation and can be retried. */
|
|
836
|
-
export const
|
|
836
|
+
export const UnprocessedRequest = lazySchema(() => z.looseObject({
|
|
837
837
|
id: RequestId().optional(),
|
|
838
838
|
uniqueKey: UniqueKey(),
|
|
839
839
|
url: RequestUrl(),
|
|
@@ -842,24 +842,24 @@ export const RequestDraft = lazySchema(() => z.looseObject({
|
|
|
842
842
|
/** Result of a batch add operation containing successfully processed and failed requests. */
|
|
843
843
|
export const BatchAddResult = lazySchema(() => z.looseObject({
|
|
844
844
|
processedRequests: z.array(AddedRequest()),
|
|
845
|
-
unprocessedRequests: z.array(
|
|
845
|
+
unprocessedRequests: z.array(UnprocessedRequest()),
|
|
846
846
|
}));
|
|
847
847
|
/** Response containing the result of a batch add operation. */
|
|
848
848
|
export const BatchAddResponse = lazySchema(() => z.looseObject({
|
|
849
849
|
data: BatchAddResult(),
|
|
850
850
|
}));
|
|
851
851
|
/** A request that should be deleted, identified by its ID. */
|
|
852
|
-
export const
|
|
852
|
+
export const RequestToDeleteById = lazySchema(() => z.looseObject({
|
|
853
853
|
id: RequestId(),
|
|
854
854
|
uniqueKey: UniqueKey().optional(),
|
|
855
855
|
}));
|
|
856
856
|
/** A request that should be deleted, identified by its unique key. */
|
|
857
|
-
export const
|
|
857
|
+
export const RequestToDeleteByUniqueKey = lazySchema(() => z.looseObject({
|
|
858
858
|
id: RequestId().optional(),
|
|
859
859
|
uniqueKey: UniqueKey(),
|
|
860
860
|
}));
|
|
861
861
|
/** A request that should be deleted. */
|
|
862
|
-
export const
|
|
862
|
+
export const RequestToDelete = lazySchema(() => z.union([RequestToDeleteById(), RequestToDeleteByUniqueKey()]));
|
|
863
863
|
/** Confirmation of a request that was successfully deleted, identified by its ID. */
|
|
864
864
|
export const DeletedRequestById = lazySchema(() => z.looseObject({
|
|
865
865
|
uniqueKey: UniqueKey().optional(),
|
|
@@ -875,7 +875,7 @@ export const DeletedRequest = lazySchema(() => z.union([DeletedRequestById(), De
|
|
|
875
875
|
/** Result of a batch delete operation containing successfully deleted and failed requests. */
|
|
876
876
|
export const BatchDeleteResult = lazySchema(() => z.looseObject({
|
|
877
877
|
processedRequests: z.array(DeletedRequest()),
|
|
878
|
-
unprocessedRequests: z.array(
|
|
878
|
+
unprocessedRequests: z.array(UnprocessedRequest()),
|
|
879
879
|
}));
|
|
880
880
|
/** Response containing the result of a batch delete operation. */
|
|
881
881
|
export const BatchDeleteResponse = lazySchema(() => z.looseObject({
|
|
@@ -891,7 +891,7 @@ export const UnlockRequestsResponse = lazySchema(() => z.looseObject({
|
|
|
891
891
|
}));
|
|
892
892
|
/** Response containing a single request from the request queue. */
|
|
893
893
|
export const RequestResponse = lazySchema(() => z.looseObject({
|
|
894
|
-
data:
|
|
894
|
+
data: RequestResource(),
|
|
895
895
|
}));
|
|
896
896
|
/** Response containing the result of updating a request in the request queue. */
|
|
897
897
|
export const UpdateRequestResponse = lazySchema(() => z.looseObject({
|
|
@@ -910,7 +910,7 @@ export const ProlongRequestLockResponse = lazySchema(() => z.looseObject({
|
|
|
910
910
|
/** The maximum number of requests returned. */
|
|
911
911
|
export const HeadLimit = lazySchema(() => z.int());
|
|
912
912
|
/** A request from the request queue head without lock information. */
|
|
913
|
-
export const
|
|
913
|
+
export const RequestQueueHeadItem = lazySchema(() => z.looseObject({
|
|
914
914
|
id: RequestId(),
|
|
915
915
|
uniqueKey: UniqueKey(),
|
|
916
916
|
url: RequestUrl(),
|
|
@@ -922,14 +922,14 @@ export const RequestQueueHead = lazySchema(() => z.looseObject({
|
|
|
922
922
|
limit: HeadLimit(),
|
|
923
923
|
queueModifiedAt: QueueModifiedAt(),
|
|
924
924
|
hadMultipleClients: HadMultipleClients(),
|
|
925
|
-
items: z.array(
|
|
925
|
+
items: z.array(RequestQueueHeadItem()),
|
|
926
926
|
}));
|
|
927
927
|
/** Response containing requests from the request queue head without locking. */
|
|
928
|
-
export const
|
|
928
|
+
export const RequestQueueHeadResponse = lazySchema(() => z.looseObject({
|
|
929
929
|
data: RequestQueueHead(),
|
|
930
930
|
}));
|
|
931
931
|
/** A request from the request queue head that has been locked for processing. */
|
|
932
|
-
export const
|
|
932
|
+
export const LockedRequestQueueHeadItem = lazySchema(() => z.looseObject({
|
|
933
933
|
id: RequestId(),
|
|
934
934
|
uniqueKey: UniqueKey(),
|
|
935
935
|
url: RequestUrl(),
|
|
@@ -945,16 +945,16 @@ export const LockedRequestQueueHead = lazySchema(() => z.looseObject({
|
|
|
945
945
|
clientKey: z.string().optional(),
|
|
946
946
|
hadMultipleClients: HadMultipleClients(),
|
|
947
947
|
lockSecs: z.int(),
|
|
948
|
-
items: z.array(
|
|
948
|
+
items: z.array(LockedRequestQueueHeadItem()),
|
|
949
949
|
}));
|
|
950
950
|
/** Response containing locked requests from the request queue head. */
|
|
951
|
-
export const
|
|
951
|
+
export const LockedRequestQueueHeadResponse = lazySchema(() => z.looseObject({
|
|
952
952
|
data: LockedRequestQueueHead(),
|
|
953
953
|
}));
|
|
954
954
|
export const TaskStats = lazySchema(() => z.looseObject({
|
|
955
955
|
totalRuns: z.int().optional(),
|
|
956
956
|
}));
|
|
957
|
-
export const
|
|
957
|
+
export const TaskListItem = lazySchema(() => z.looseObject({
|
|
958
958
|
id: z.string(),
|
|
959
959
|
userId: z.string(),
|
|
960
960
|
actId: z.string(),
|
|
@@ -967,7 +967,7 @@ export const TaskShort = lazySchema(() => z.looseObject({
|
|
|
967
967
|
stats: TaskStats().nullable().optional(),
|
|
968
968
|
}));
|
|
969
969
|
export const ListOfTasks = lazySchema(() => PaginationResponse().extend({
|
|
970
|
-
items: z.array(
|
|
970
|
+
items: z.array(TaskListItem()),
|
|
971
971
|
}));
|
|
972
972
|
export const ListOfTasksResponse = lazySchema(() => z.looseObject({
|
|
973
973
|
data: ListOfTasks(),
|
|
@@ -1041,7 +1041,7 @@ export const UpdateTaskRequest = lazySchema(() => z.looseObject({
|
|
|
1041
1041
|
publicConfig: TaskPublicConfig().optional(),
|
|
1042
1042
|
isPublic: z.boolean().optional(),
|
|
1043
1043
|
}));
|
|
1044
|
-
export const
|
|
1044
|
+
export const WebhookResource = lazySchema(() => z.looseObject({
|
|
1045
1045
|
id: z.string(),
|
|
1046
1046
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1047
1047
|
modifiedAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
@@ -1056,7 +1056,7 @@ export const Webhook = lazySchema(() => z.looseObject({
|
|
|
1056
1056
|
payloadTemplate: z.string().nullable().optional(),
|
|
1057
1057
|
headersTemplate: z.string().nullable().optional(),
|
|
1058
1058
|
description: z.string().nullable().optional(),
|
|
1059
|
-
lastDispatch:
|
|
1059
|
+
lastDispatch: WebhookLastDispatch().nullable().optional(),
|
|
1060
1060
|
stats: WebhookStats().nullable().optional(),
|
|
1061
1061
|
}));
|
|
1062
1062
|
export const UpdateRunRequest = lazySchema(() => z.looseObject({
|
|
@@ -1072,7 +1072,7 @@ export const ChargeRunRequest = lazySchema(() => z.looseObject({
|
|
|
1072
1072
|
export const StorageOwnership = lazySchema(() => z.enum(["ownedByMe", "sharedWithMe"]).or(z.string()));
|
|
1073
1073
|
export const ListOfKeyValueStores = lazySchema(() => PaginationResponse().extend({
|
|
1074
1074
|
unnamed: z.boolean().optional(),
|
|
1075
|
-
items: z.array(
|
|
1075
|
+
items: z.array(KeyValueStoreResource()),
|
|
1076
1076
|
}));
|
|
1077
1077
|
export const ListOfKeyValueStoresResponse = lazySchema(() => z.looseObject({
|
|
1078
1078
|
data: ListOfKeyValueStores(),
|
|
@@ -1101,7 +1101,7 @@ export const ListOfDatasetsResponse = lazySchema(() => z.looseObject({
|
|
|
1101
1101
|
data: ListOfDatasets(),
|
|
1102
1102
|
}));
|
|
1103
1103
|
/** A shortened request queue object for list responses. */
|
|
1104
|
-
export const
|
|
1104
|
+
export const RequestQueueListItem = lazySchema(() => z.looseObject({
|
|
1105
1105
|
id: QueueId(),
|
|
1106
1106
|
name: z.string(),
|
|
1107
1107
|
userId: QueueUserId(),
|
|
@@ -1122,13 +1122,13 @@ export const RequestQueueShort = lazySchema(() => z.looseObject({
|
|
|
1122
1122
|
/** A paginated list of request queues. */
|
|
1123
1123
|
export const ListOfRequestQueues = lazySchema(() => PaginationResponse().extend({
|
|
1124
1124
|
unnamed: z.boolean().optional(),
|
|
1125
|
-
items: z.array(
|
|
1125
|
+
items: z.array(RequestQueueListItem()),
|
|
1126
1126
|
}));
|
|
1127
1127
|
/** Response containing a list of request queues. */
|
|
1128
1128
|
export const ListOfRequestQueuesResponse = lazySchema(() => z.looseObject({
|
|
1129
1129
|
data: ListOfRequestQueues(),
|
|
1130
1130
|
}));
|
|
1131
|
-
export const
|
|
1131
|
+
export const CreateWebhookRequest = lazySchema(() => z.looseObject({
|
|
1132
1132
|
isAdHoc: z.boolean().nullable().optional(),
|
|
1133
1133
|
eventTypes: z.array(WebhookEventType()),
|
|
1134
1134
|
condition: WebhookCondition(),
|
|
@@ -1143,9 +1143,9 @@ export const WebhookCreate = lazySchema(() => z.looseObject({
|
|
|
1143
1143
|
}));
|
|
1144
1144
|
/** Response containing webhook data. */
|
|
1145
1145
|
export const WebhookResponse = lazySchema(() => z.looseObject({
|
|
1146
|
-
data:
|
|
1146
|
+
data: WebhookResource(),
|
|
1147
1147
|
}));
|
|
1148
|
-
export const
|
|
1148
|
+
export const UpdateWebhookRequest = lazySchema(() => z.looseObject({
|
|
1149
1149
|
isAdHoc: z.boolean().nullable().optional(),
|
|
1150
1150
|
eventTypes: z.array(WebhookEventType()).nullable().optional(),
|
|
1151
1151
|
condition: WebhookCondition().nullable().optional(),
|
|
@@ -1186,7 +1186,7 @@ export const WebhookDispatch = lazySchema(() => z.looseObject({
|
|
|
1186
1186
|
responseBody: z.string().nullable().optional(),
|
|
1187
1187
|
})).optional(),
|
|
1188
1188
|
}));
|
|
1189
|
-
export const
|
|
1189
|
+
export const WebhookDispatchResponse = lazySchema(() => z.looseObject({
|
|
1190
1190
|
data: WebhookDispatch(),
|
|
1191
1191
|
}));
|
|
1192
1192
|
export const ListOfWebhookDispatches = lazySchema(() => PaginationResponse().extend({
|
|
@@ -1195,9 +1195,6 @@ export const ListOfWebhookDispatches = lazySchema(() => PaginationResponse().ext
|
|
|
1195
1195
|
export const ListOfWebhookDispatchesResponse = lazySchema(() => z.looseObject({
|
|
1196
1196
|
data: ListOfWebhookDispatches(),
|
|
1197
1197
|
}));
|
|
1198
|
-
export const WebhookDispatchResponse = lazySchema(() => z.looseObject({
|
|
1199
|
-
data: WebhookDispatch(),
|
|
1200
|
-
}));
|
|
1201
1198
|
export const ScheduleBase = lazySchema(() => z.looseObject({
|
|
1202
1199
|
id: z.string(),
|
|
1203
1200
|
userId: z.string(),
|
|
@@ -1211,22 +1208,22 @@ export const ScheduleBase = lazySchema(() => z.looseObject({
|
|
|
1211
1208
|
nextRunAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
1212
1209
|
lastRunAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).nullable().optional(),
|
|
1213
1210
|
}));
|
|
1214
|
-
export const
|
|
1211
|
+
export const ScheduleListItemActionRunActor = lazySchema(() => z.looseObject({
|
|
1215
1212
|
id: z.string(),
|
|
1216
1213
|
type: z.literal("RUN_ACTOR"),
|
|
1217
1214
|
actorId: z.string(),
|
|
1218
1215
|
}));
|
|
1219
|
-
export const
|
|
1216
|
+
export const ScheduleListItemActionRunActorTask = lazySchema(() => z.looseObject({
|
|
1220
1217
|
id: z.string(),
|
|
1221
1218
|
type: z.literal("RUN_ACTOR_TASK"),
|
|
1222
1219
|
actorTaskId: z.string(),
|
|
1223
1220
|
}));
|
|
1224
|
-
export const
|
|
1225
|
-
export const
|
|
1226
|
-
actions: z.array(
|
|
1221
|
+
export const ScheduleListItemAction = lazySchema(() => z.discriminatedUnion("type", [ScheduleListItemActionRunActor(), ScheduleListItemActionRunActorTask()]));
|
|
1222
|
+
export const ScheduleListItem = lazySchema(() => ScheduleBase().extend({
|
|
1223
|
+
actions: z.array(ScheduleListItemAction()),
|
|
1227
1224
|
}));
|
|
1228
1225
|
export const ListOfSchedules = lazySchema(() => PaginationResponse().extend({
|
|
1229
|
-
items: z.array(
|
|
1226
|
+
items: z.array(ScheduleListItem()),
|
|
1230
1227
|
}));
|
|
1231
1228
|
export const ListOfSchedulesResponse = lazySchema(() => z.looseObject({
|
|
1232
1229
|
data: ListOfSchedules(),
|
|
@@ -1247,7 +1244,7 @@ export const ScheduleCreateActionRunActorTask = lazySchema(() => z.looseObject({
|
|
|
1247
1244
|
input: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
1248
1245
|
}));
|
|
1249
1246
|
export const ScheduleCreateAction = lazySchema(() => z.discriminatedUnion("type", [ScheduleCreateActionRunActor(), ScheduleCreateActionRunActorTask()]));
|
|
1250
|
-
export const
|
|
1247
|
+
export const CreateOrUpdateScheduleRequest = lazySchema(() => z.looseObject({
|
|
1251
1248
|
name: z.string().nullable().optional(),
|
|
1252
1249
|
isEnabled: z.boolean().nullable().optional(),
|
|
1253
1250
|
isExclusive: z.boolean().nullable().optional(),
|
|
@@ -1282,13 +1279,13 @@ export const Schedule = lazySchema(() => ScheduleBase().extend({
|
|
|
1282
1279
|
export const ScheduleResponse = lazySchema(() => z.looseObject({
|
|
1283
1280
|
data: Schedule(),
|
|
1284
1281
|
}));
|
|
1285
|
-
export const
|
|
1282
|
+
export const ScheduleLogEntry = lazySchema(() => z.looseObject({
|
|
1286
1283
|
message: z.string(),
|
|
1287
1284
|
level: z.string(),
|
|
1288
1285
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1289
1286
|
}));
|
|
1290
1287
|
export const ScheduleLogResponse = lazySchema(() => z.looseObject({
|
|
1291
|
-
data: z.array(
|
|
1288
|
+
data: z.array(ScheduleLogEntry()),
|
|
1292
1289
|
}));
|
|
1293
1290
|
export const CurrentPricingInfo = lazySchema(() => z.looseObject({
|
|
1294
1291
|
pricingModel: z.string(),
|
|
@@ -1307,7 +1304,7 @@ export const CurrentPricingInfo = lazySchema(() => z.looseObject({
|
|
|
1307
1304
|
minimalMaxTotalChargeUsd: z.number().nullable().optional(),
|
|
1308
1305
|
pricingPerEvent: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
1309
1306
|
}));
|
|
1310
|
-
export const
|
|
1307
|
+
export const StoreActor = lazySchema(() => z.looseObject({
|
|
1311
1308
|
id: z.string(),
|
|
1312
1309
|
title: z.string(),
|
|
1313
1310
|
name: z.string(),
|
|
@@ -1329,12 +1326,12 @@ export const StoreListActor = lazySchema(() => z.looseObject({
|
|
|
1329
1326
|
readmeSummary: z.string().optional(),
|
|
1330
1327
|
}));
|
|
1331
1328
|
export const ListOfStoreActors = lazySchema(() => PaginationResponse().extend({
|
|
1332
|
-
items: z.array(
|
|
1329
|
+
items: z.array(StoreActor()),
|
|
1333
1330
|
}));
|
|
1334
|
-
export const
|
|
1331
|
+
export const ListOfStoreActorsResponse = lazySchema(() => z.looseObject({
|
|
1335
1332
|
data: ListOfStoreActors(),
|
|
1336
1333
|
}));
|
|
1337
|
-
export const
|
|
1334
|
+
export const UserProfile = lazySchema(() => z.looseObject({
|
|
1338
1335
|
bio: z.string().nullable().optional(),
|
|
1339
1336
|
readme: z.string().nullable().optional(),
|
|
1340
1337
|
name: z.string().optional(),
|
|
@@ -1345,9 +1342,9 @@ export const Profile = lazySchema(() => z.looseObject({
|
|
|
1345
1342
|
}));
|
|
1346
1343
|
export const UserPublicInfo = lazySchema(() => z.looseObject({
|
|
1347
1344
|
username: z.string(),
|
|
1348
|
-
profile:
|
|
1345
|
+
profile: UserProfile().optional(),
|
|
1349
1346
|
}));
|
|
1350
|
-
export const
|
|
1347
|
+
export const UserPublicInfoResponse = lazySchema(() => z.looseObject({
|
|
1351
1348
|
data: UserPublicInfo(),
|
|
1352
1349
|
}));
|
|
1353
1350
|
export const ProxyGroup = lazySchema(() => z.looseObject({
|
|
@@ -1355,7 +1352,7 @@ export const ProxyGroup = lazySchema(() => z.looseObject({
|
|
|
1355
1352
|
description: z.string().nullable(),
|
|
1356
1353
|
availableCount: z.int(),
|
|
1357
1354
|
}));
|
|
1358
|
-
export const
|
|
1355
|
+
export const ProxyResource = lazySchema(() => z.looseObject({
|
|
1359
1356
|
password: z.string(),
|
|
1360
1357
|
groups: z.array(ProxyGroup()),
|
|
1361
1358
|
}));
|
|
@@ -1365,7 +1362,7 @@ export const Proxy = lazySchema(() => z.looseObject({
|
|
|
1365
1362
|
* the count of available proxies.
|
|
1366
1363
|
*/
|
|
1367
1364
|
export const AvailableProxyGroups = lazySchema(() => z.record(z.string(), z.int()));
|
|
1368
|
-
export const
|
|
1365
|
+
export const UserPlan = lazySchema(() => z.looseObject({
|
|
1369
1366
|
id: z.string().optional(),
|
|
1370
1367
|
description: z.string().optional(),
|
|
1371
1368
|
isEnabled: z.boolean().optional(),
|
|
@@ -1414,22 +1411,22 @@ export const EffectivePlatformFeatures = lazySchema(() => z.looseObject({
|
|
|
1414
1411
|
export const UserPrivateInfo = lazySchema(() => z.looseObject({
|
|
1415
1412
|
id: z.string().optional(),
|
|
1416
1413
|
username: z.string(),
|
|
1417
|
-
profile:
|
|
1414
|
+
profile: UserProfile().optional(),
|
|
1418
1415
|
email: z.string().optional(),
|
|
1419
|
-
proxy:
|
|
1420
|
-
plan:
|
|
1416
|
+
proxy: ProxyResource().optional(),
|
|
1417
|
+
plan: UserPlan().optional(),
|
|
1421
1418
|
effectivePlatformFeatures: EffectivePlatformFeatures().optional(),
|
|
1422
1419
|
createdAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()).optional(),
|
|
1423
1420
|
isPaying: z.boolean().optional(),
|
|
1424
1421
|
}));
|
|
1425
|
-
export const
|
|
1422
|
+
export const UserPrivateInfoResponse = lazySchema(() => z.looseObject({
|
|
1426
1423
|
data: UserPrivateInfo(),
|
|
1427
1424
|
}));
|
|
1428
1425
|
export const UsageCycle = lazySchema(() => z.looseObject({
|
|
1429
1426
|
startAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1430
1427
|
endAt: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1431
1428
|
}));
|
|
1432
|
-
export const
|
|
1429
|
+
export const PriceTier = lazySchema(() => z.looseObject({
|
|
1433
1430
|
quantityAbove: z.number(),
|
|
1434
1431
|
discountPercent: z.number(),
|
|
1435
1432
|
tierQuantity: z.number(),
|
|
@@ -1441,13 +1438,13 @@ export const UsageItem = lazySchema(() => z.looseObject({
|
|
|
1441
1438
|
baseAmountUsd: z.number(),
|
|
1442
1439
|
baseUnitPriceUsd: z.number().optional(),
|
|
1443
1440
|
amountAfterVolumeDiscountUsd: z.number().optional(),
|
|
1444
|
-
priceTiers: z.array(
|
|
1441
|
+
priceTiers: z.array(PriceTier()).optional(),
|
|
1445
1442
|
}));
|
|
1446
1443
|
/** A map of usage item names (e.g., ACTOR_COMPUTE_UNITS) to their usage details. */
|
|
1447
1444
|
export const MonthlyServiceUsage = lazySchema(() => z.record(z.string(), UsageItem()));
|
|
1448
1445
|
/** A map of service usage item names to their usage details. */
|
|
1449
1446
|
export const ServiceUsage = lazySchema(() => z.record(z.string(), UsageItem()));
|
|
1450
|
-
export const
|
|
1447
|
+
export const DailyServiceUsage = lazySchema(() => z.looseObject({
|
|
1451
1448
|
date: z.iso.datetime({ offset: true }).pipe(z.coerce.date()),
|
|
1452
1449
|
serviceUsage: ServiceUsage(),
|
|
1453
1450
|
totalUsageCreditsUsd: z.number(),
|
|
@@ -1455,7 +1452,7 @@ export const DailyServiceUsages = lazySchema(() => z.looseObject({
|
|
|
1455
1452
|
export const MonthlyUsage = lazySchema(() => z.looseObject({
|
|
1456
1453
|
usageCycle: UsageCycle(),
|
|
1457
1454
|
monthlyServiceUsage: MonthlyServiceUsage(),
|
|
1458
|
-
dailyServiceUsages: z.array(
|
|
1455
|
+
dailyServiceUsages: z.array(DailyServiceUsage()),
|
|
1459
1456
|
totalUsageCreditsUsdBeforeVolumeDiscount: z.number(),
|
|
1460
1457
|
totalUsageCreditsUsdAfterVolumeDiscount: z.number(),
|
|
1461
1458
|
}));
|
|
@@ -1476,7 +1473,7 @@ export const Limits = lazySchema(() => z.looseObject({
|
|
|
1476
1473
|
dataRetentionDays: z.int(),
|
|
1477
1474
|
maxScheduleCount: z.int().optional(),
|
|
1478
1475
|
}));
|
|
1479
|
-
export const
|
|
1476
|
+
export const CurrentUsage = lazySchema(() => z.looseObject({
|
|
1480
1477
|
monthlyUsageUsd: z.number(),
|
|
1481
1478
|
monthlyActorComputeUnits: z.number(),
|
|
1482
1479
|
monthlyExternalDataTransferGbytes: z.number(),
|
|
@@ -1492,9 +1489,9 @@ export const Current = lazySchema(() => z.looseObject({
|
|
|
1492
1489
|
export const AccountLimits = lazySchema(() => z.looseObject({
|
|
1493
1490
|
monthlyUsageCycle: UsageCycle(),
|
|
1494
1491
|
limits: Limits(),
|
|
1495
|
-
current:
|
|
1492
|
+
current: CurrentUsage(),
|
|
1496
1493
|
}));
|
|
1497
|
-
export const
|
|
1494
|
+
export const AccountLimitsResponse = lazySchema(() => z.looseObject({
|
|
1498
1495
|
data: AccountLimits(),
|
|
1499
1496
|
}));
|
|
1500
1497
|
export const UpdateLimitsRequest = lazySchema(() => z.looseObject({
|
|
@@ -1509,20 +1506,20 @@ export const BrowserInfoResponse = lazySchema(() => z.looseObject({
|
|
|
1509
1506
|
headers: z.record(z.string(), z.union([z.string(), z.array(z.string())])).optional(),
|
|
1510
1507
|
rawHeaders: z.array(z.string()).optional(),
|
|
1511
1508
|
}));
|
|
1512
|
-
export const
|
|
1509
|
+
export const EncodeAndSignResult = lazySchema(() => z.looseObject({
|
|
1513
1510
|
encoded: z.string(),
|
|
1514
1511
|
}));
|
|
1515
1512
|
export const EncodeAndSignResponse = lazySchema(() => z.looseObject({
|
|
1516
|
-
data:
|
|
1513
|
+
data: EncodeAndSignResult(),
|
|
1517
1514
|
}));
|
|
1518
1515
|
export const DecodeAndVerifyRequest = lazySchema(() => z.looseObject({
|
|
1519
1516
|
encoded: z.string(),
|
|
1520
1517
|
}));
|
|
1521
|
-
export const
|
|
1518
|
+
export const DecodeAndVerifyResult = lazySchema(() => z.looseObject({
|
|
1522
1519
|
decoded: z.unknown(),
|
|
1523
1520
|
encodedByUserId: z.string().nullable(),
|
|
1524
1521
|
isVerifiedUser: z.boolean(),
|
|
1525
1522
|
}));
|
|
1526
1523
|
export const DecodeAndVerifyResponse = lazySchema(() => z.looseObject({
|
|
1527
|
-
data:
|
|
1524
|
+
data: DecodeAndVerifyResult(),
|
|
1528
1525
|
}));
|