@socotra/ec-react-schemas 2.27.1-next.1 → 2.28.0
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/index.d.ts +379 -1
- package/dist/index.es.js +4151 -3732
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -460,8 +460,8 @@ export declare const AddTaskRequestBffSchema: z.ZodObject<{
|
|
|
460
460
|
contents: z.ZodString;
|
|
461
461
|
}, z.core.$strip>>;
|
|
462
462
|
userAssignment: z.ZodOptional<z.ZodObject<{
|
|
463
|
-
userAssociationRole: z.ZodString;
|
|
464
463
|
userLocator: z.ZodGUID;
|
|
464
|
+
userAssociationRole: z.ZodString;
|
|
465
465
|
}, z.core.$strip>>;
|
|
466
466
|
deadlineTime: z.ZodISODateTime;
|
|
467
467
|
references: z.ZodArray<z.ZodObject<{
|
|
@@ -2090,6 +2090,17 @@ export declare const CreateCancellationTransactionRequestBodySchema: z.ZodArray<
|
|
|
2090
2090
|
triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
|
|
2091
2091
|
}, z.core.$strip>>;
|
|
2092
2092
|
|
|
2093
|
+
export declare type CreateEndpointRequest = z.infer<typeof CreateEndpointRequestSchema>;
|
|
2094
|
+
|
|
2095
|
+
export declare const CreateEndpointRequestSchema: z.ZodObject<{
|
|
2096
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
2097
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2098
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2100
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
2102
|
+
}, z.core.$strip>;
|
|
2103
|
+
|
|
2093
2104
|
export declare type CreatePolicyChangeTransactionRequestBody = z.infer<typeof CreatePolicyChangeTransactionRequestBodySchema>;
|
|
2094
2105
|
|
|
2095
2106
|
export declare const CreatePolicyChangeTransactionRequestBodySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2498,6 +2509,130 @@ export declare const CreateTransactionRequestBodySchema: z.ZodArray<z.ZodUnion<r
|
|
|
2498
2509
|
staticElementLocators: z.ZodArray<z.ZodULID>;
|
|
2499
2510
|
}, z.core.$strip>]>>;
|
|
2500
2511
|
|
|
2512
|
+
export declare type CreateWebhookData = z.infer<typeof CreateWebhookDataSchema>;
|
|
2513
|
+
|
|
2514
|
+
export declare const CreateWebhookDataSchema: z.ZodObject<{
|
|
2515
|
+
body: z.ZodObject<{
|
|
2516
|
+
name: z.ZodString;
|
|
2517
|
+
enabled: z.ZodBoolean;
|
|
2518
|
+
eventTypes: z.ZodArray<z.ZodString>;
|
|
2519
|
+
endpoint: z.ZodObject<{
|
|
2520
|
+
url: z.ZodString;
|
|
2521
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2522
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
2523
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2524
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2525
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2526
|
+
}, z.core.$strip>;
|
|
2527
|
+
failureHandling: z.ZodObject<{
|
|
2528
|
+
alertEndpoint: z.ZodObject<{
|
|
2529
|
+
url: z.ZodString;
|
|
2530
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2531
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
2532
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2533
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
}, z.core.$strip>;
|
|
2536
|
+
triggers: z.ZodArray<z.ZodString>;
|
|
2537
|
+
retryStrategy: z.ZodObject<{
|
|
2538
|
+
type: z.ZodEnum<{
|
|
2539
|
+
linear: "linear";
|
|
2540
|
+
exponential: "exponential";
|
|
2541
|
+
}>;
|
|
2542
|
+
interval: z.ZodCoercedBigInt<unknown>;
|
|
2543
|
+
attempts: z.ZodInt;
|
|
2544
|
+
}, z.core.$strip>;
|
|
2545
|
+
divert: z.ZodBoolean;
|
|
2546
|
+
suspend: z.ZodBoolean;
|
|
2547
|
+
}, z.core.$strip>;
|
|
2548
|
+
}, z.core.$strip>;
|
|
2549
|
+
path: z.ZodObject<{
|
|
2550
|
+
tenantLocator: z.ZodUUID;
|
|
2551
|
+
}, z.core.$strip>;
|
|
2552
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2553
|
+
}, z.core.$strip>;
|
|
2554
|
+
|
|
2555
|
+
export declare type CreateWebhookRequest = z.infer<typeof CreateWebhookRequestSchema>;
|
|
2556
|
+
|
|
2557
|
+
export declare const CreateWebhookRequestSchema: z.ZodObject<{
|
|
2558
|
+
name: z.ZodString;
|
|
2559
|
+
enabled: z.ZodBoolean;
|
|
2560
|
+
endpoint: z.ZodObject<{
|
|
2561
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
2562
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2563
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2565
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
2567
|
+
}, z.core.$strip>;
|
|
2568
|
+
failureHandling: z.ZodOptional<z.ZodObject<{
|
|
2569
|
+
divert: z.ZodBoolean;
|
|
2570
|
+
suspend: z.ZodBoolean;
|
|
2571
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
2572
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
2573
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2574
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2575
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
2578
|
+
}, z.core.$strip>>;
|
|
2579
|
+
triggers: z.ZodArray<z.ZodEnum<{
|
|
2580
|
+
timeout: "timeout";
|
|
2581
|
+
"4xx": "4xx";
|
|
2582
|
+
"5xx": "5xx";
|
|
2583
|
+
}>>;
|
|
2584
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
2585
|
+
type: z.ZodEnum<{
|
|
2586
|
+
linear: "linear";
|
|
2587
|
+
exponential: "exponential";
|
|
2588
|
+
}>;
|
|
2589
|
+
interval: z.ZodNumber;
|
|
2590
|
+
attempts: z.ZodNumber;
|
|
2591
|
+
}, z.core.$strip>>;
|
|
2592
|
+
}, z.core.$strip>>;
|
|
2593
|
+
eventTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2594
|
+
}, z.core.$strip>;
|
|
2595
|
+
|
|
2596
|
+
export declare type CreateWebhookResponse = z.infer<typeof CreateWebhookResponseSchema>;
|
|
2597
|
+
|
|
2598
|
+
export declare const CreateWebhookResponseSchema: z.ZodObject<{
|
|
2599
|
+
locator: z.ZodString;
|
|
2600
|
+
name: z.ZodString;
|
|
2601
|
+
enabled: z.ZodBoolean;
|
|
2602
|
+
suspended: z.ZodBoolean;
|
|
2603
|
+
suspendedAt: z.ZodISODateTime;
|
|
2604
|
+
eventTypes: z.ZodArray<z.ZodString>;
|
|
2605
|
+
endpoint: z.ZodObject<{
|
|
2606
|
+
url: z.ZodString;
|
|
2607
|
+
headers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2608
|
+
secureSsl: z.ZodBoolean;
|
|
2609
|
+
hmacEnabled: z.ZodBoolean;
|
|
2610
|
+
secret: z.ZodString;
|
|
2611
|
+
tag: z.ZodString;
|
|
2612
|
+
}, z.core.$strip>;
|
|
2613
|
+
failureHandling: z.ZodObject<{
|
|
2614
|
+
alertEndpoint: z.ZodObject<{
|
|
2615
|
+
url: z.ZodString;
|
|
2616
|
+
headers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2617
|
+
secureSsl: z.ZodBoolean;
|
|
2618
|
+
hmacEnabled: z.ZodBoolean;
|
|
2619
|
+
secret: z.ZodString;
|
|
2620
|
+
tag: z.ZodString;
|
|
2621
|
+
}, z.core.$strip>;
|
|
2622
|
+
triggers: z.ZodArray<z.ZodString>;
|
|
2623
|
+
retryStrategy: z.ZodObject<{
|
|
2624
|
+
type: z.ZodEnum<{
|
|
2625
|
+
linear: "linear";
|
|
2626
|
+
exponential: "exponential";
|
|
2627
|
+
}>;
|
|
2628
|
+
interval: z.ZodCoercedBigInt<unknown>;
|
|
2629
|
+
attempts: z.ZodInt;
|
|
2630
|
+
}, z.core.$strip>;
|
|
2631
|
+
divert: z.ZodBoolean;
|
|
2632
|
+
suspend: z.ZodBoolean;
|
|
2633
|
+
}, z.core.$strip>;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2635
|
+
|
|
2501
2636
|
export declare type CreditDistributionRequest = z.infer<typeof creditDistributionRequestSchema>;
|
|
2502
2637
|
|
|
2503
2638
|
export declare const creditDistributionRequestSchema: z.ZodObject<{
|
|
@@ -5270,6 +5405,17 @@ export declare const ElementUpdateRequestSchema: z.ZodObject<{
|
|
|
5270
5405
|
removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5271
5406
|
}, z.core.$strip>;
|
|
5272
5407
|
|
|
5408
|
+
export declare type EndpointResponse = z.infer<typeof EndpointResponseSchema>;
|
|
5409
|
+
|
|
5410
|
+
export declare const EndpointResponseSchema: z.ZodObject<{
|
|
5411
|
+
secureSsl: z.ZodBoolean;
|
|
5412
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5413
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5414
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5415
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
5416
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
}, z.core.$strip>;
|
|
5418
|
+
|
|
5273
5419
|
export declare type EvaluateConstraintsRequest = z.infer<typeof evaluateConstraintsRequestSchema>;
|
|
5274
5420
|
|
|
5275
5421
|
export declare const evaluateConstraintsRequestSchema: z.ZodRecord<z.ZodULID, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>>;
|
|
@@ -5284,6 +5430,98 @@ export declare const EventsEnumSchema: z.ZodEnum<{
|
|
|
5284
5430
|
[x: string]: string;
|
|
5285
5431
|
}>;
|
|
5286
5432
|
|
|
5433
|
+
export declare type FailureHandlingCreateRequest = z.infer<typeof FailureHandlingCreateRequestSchema>;
|
|
5434
|
+
|
|
5435
|
+
export declare const FailureHandlingCreateRequestSchema: z.ZodObject<{
|
|
5436
|
+
divert: z.ZodBoolean;
|
|
5437
|
+
suspend: z.ZodBoolean;
|
|
5438
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
5439
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
5440
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5441
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
5442
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
5443
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5444
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5445
|
+
}, z.core.$strip>>;
|
|
5446
|
+
triggers: z.ZodArray<z.ZodEnum<{
|
|
5447
|
+
timeout: "timeout";
|
|
5448
|
+
"4xx": "4xx";
|
|
5449
|
+
"5xx": "5xx";
|
|
5450
|
+
}>>;
|
|
5451
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
5452
|
+
type: z.ZodEnum<{
|
|
5453
|
+
linear: "linear";
|
|
5454
|
+
exponential: "exponential";
|
|
5455
|
+
}>;
|
|
5456
|
+
interval: z.ZodNumber;
|
|
5457
|
+
attempts: z.ZodNumber;
|
|
5458
|
+
}, z.core.$strip>>;
|
|
5459
|
+
}, z.core.$strip>;
|
|
5460
|
+
|
|
5461
|
+
export declare type FailureHandlingResponse = z.infer<typeof FailureHandlingResponseSchema>;
|
|
5462
|
+
|
|
5463
|
+
export declare const FailureHandlingResponseSchema: z.ZodObject<{
|
|
5464
|
+
divert: z.ZodBoolean;
|
|
5465
|
+
suspend: z.ZodBoolean;
|
|
5466
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
5467
|
+
secureSsl: z.ZodBoolean;
|
|
5468
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5469
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5470
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5471
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
5472
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
5473
|
+
}, z.core.$strip>>;
|
|
5474
|
+
triggers: z.ZodArray<z.ZodEnum<{
|
|
5475
|
+
timeout: "timeout";
|
|
5476
|
+
"4xx": "4xx";
|
|
5477
|
+
"5xx": "5xx";
|
|
5478
|
+
}>>;
|
|
5479
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
5480
|
+
type: z.ZodEnum<{
|
|
5481
|
+
linear: "linear";
|
|
5482
|
+
exponential: "exponential";
|
|
5483
|
+
}>;
|
|
5484
|
+
interval: z.ZodNumber;
|
|
5485
|
+
attempts: z.ZodNumber;
|
|
5486
|
+
}, z.core.$strip>>;
|
|
5487
|
+
}, z.core.$strip>;
|
|
5488
|
+
|
|
5489
|
+
export declare type FailureHandlingTriggersEnum = z.infer<typeof FailureHandlingTriggersEnumSchema>;
|
|
5490
|
+
|
|
5491
|
+
export declare const FailureHandlingTriggersEnumSchema: z.ZodEnum<{
|
|
5492
|
+
timeout: "timeout";
|
|
5493
|
+
"4xx": "4xx";
|
|
5494
|
+
"5xx": "5xx";
|
|
5495
|
+
}>;
|
|
5496
|
+
|
|
5497
|
+
export declare type FailureHandlingUpdateRequest = z.infer<typeof FailureHandlingUpdateRequestSchema>;
|
|
5498
|
+
|
|
5499
|
+
export declare const FailureHandlingUpdateRequestSchema: z.ZodObject<{
|
|
5500
|
+
removeAlertEndpoint: z.ZodBoolean;
|
|
5501
|
+
removeTriggers: z.ZodArray<z.ZodString>;
|
|
5502
|
+
addTriggers: z.ZodArray<z.ZodString>;
|
|
5503
|
+
removeRetryStrategy: z.ZodBoolean;
|
|
5504
|
+
divert: z.ZodBoolean;
|
|
5505
|
+
suspend: z.ZodBoolean;
|
|
5506
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
5507
|
+
url: z.ZodString;
|
|
5508
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
5509
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5510
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
5511
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
addHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5513
|
+
removeHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5514
|
+
}, z.core.$strip>>;
|
|
5515
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
5516
|
+
type: z.ZodEnum<{
|
|
5517
|
+
linear: "linear";
|
|
5518
|
+
exponential: "exponential";
|
|
5519
|
+
}>;
|
|
5520
|
+
interval: z.ZodNumber;
|
|
5521
|
+
attempts: z.ZodNumber;
|
|
5522
|
+
}, z.core.$strip>>;
|
|
5523
|
+
}, z.core.$strip>;
|
|
5524
|
+
|
|
5287
5525
|
export declare const FetchUserAssociationsParamsSchema: z.ZodObject<{
|
|
5288
5526
|
tenantLocator: z.ZodUUID;
|
|
5289
5527
|
userLocator: z.ZodGUID;
|
|
@@ -11555,6 +11793,46 @@ export declare const resetTransactionOptionsRequestSchema: z.ZodObject<{
|
|
|
11555
11793
|
resetFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11556
11794
|
}, z.core.$strip>;
|
|
11557
11795
|
|
|
11796
|
+
export declare type RetryStrategyCreateRequest = z.infer<typeof RetryStrategyCreateRequestSchema>;
|
|
11797
|
+
|
|
11798
|
+
export declare const RetryStrategyCreateRequestSchema: z.ZodObject<{
|
|
11799
|
+
type: z.ZodEnum<{
|
|
11800
|
+
linear: "linear";
|
|
11801
|
+
exponential: "exponential";
|
|
11802
|
+
}>;
|
|
11803
|
+
interval: z.ZodNumber;
|
|
11804
|
+
attempts: z.ZodNumber;
|
|
11805
|
+
}, z.core.$strip>;
|
|
11806
|
+
|
|
11807
|
+
export declare const RetryStrategyEnumSchema: z.ZodEnum<{
|
|
11808
|
+
linear: "linear";
|
|
11809
|
+
exponential: "exponential";
|
|
11810
|
+
}>;
|
|
11811
|
+
|
|
11812
|
+
export declare type RetryStrategyResponse = z.infer<typeof RetryStrategyResponseSchema>;
|
|
11813
|
+
|
|
11814
|
+
export declare const RetryStrategyResponseSchema: z.ZodObject<{
|
|
11815
|
+
type: z.ZodEnum<{
|
|
11816
|
+
linear: "linear";
|
|
11817
|
+
exponential: "exponential";
|
|
11818
|
+
}>;
|
|
11819
|
+
interval: z.ZodNumber;
|
|
11820
|
+
attempts: z.ZodNumber;
|
|
11821
|
+
}, z.core.$strip>;
|
|
11822
|
+
|
|
11823
|
+
export declare type RetryStrategyTypeEnum = z.infer<typeof RetryStrategyEnumSchema>;
|
|
11824
|
+
|
|
11825
|
+
export declare type RetryStrategyUpdateRequest = z.infer<typeof RetryStrategyUpdateRequestSchema>;
|
|
11826
|
+
|
|
11827
|
+
export declare const RetryStrategyUpdateRequestSchema: z.ZodObject<{
|
|
11828
|
+
type: z.ZodEnum<{
|
|
11829
|
+
linear: "linear";
|
|
11830
|
+
exponential: "exponential";
|
|
11831
|
+
}>;
|
|
11832
|
+
interval: z.ZodNumber;
|
|
11833
|
+
attempts: z.ZodNumber;
|
|
11834
|
+
}, z.core.$strip>;
|
|
11835
|
+
|
|
11558
11836
|
export declare type ReversalCreditTypeEnum = z.infer<typeof reversalCreditTypeEnumSchema>;
|
|
11559
11837
|
|
|
11560
11838
|
export declare const reversalCreditTypeEnumSchema: z.ZodEnum<{
|
|
@@ -14453,6 +14731,62 @@ export declare const UpdateBillingLevelRequestSchema: z.ZodObject<{
|
|
|
14453
14731
|
}>;
|
|
14454
14732
|
}, z.core.$strip>;
|
|
14455
14733
|
|
|
14734
|
+
export declare type UpdateEndpointRequest = z.infer<typeof UpdateEndpointRequestSchema>;
|
|
14735
|
+
|
|
14736
|
+
export declare const UpdateEndpointRequestSchema: z.ZodObject<{
|
|
14737
|
+
url: z.ZodString;
|
|
14738
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
14739
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
14740
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
14741
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
14742
|
+
addHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
14743
|
+
removeHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14744
|
+
}, z.core.$strip>;
|
|
14745
|
+
|
|
14746
|
+
export declare type UpdateWebhookRequest = z.infer<typeof UpdateWebhookRequestSchema>;
|
|
14747
|
+
|
|
14748
|
+
export declare const UpdateWebhookRequestSchema: z.ZodObject<{
|
|
14749
|
+
enabled: z.ZodBoolean;
|
|
14750
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14751
|
+
endpoint: z.ZodOptional<z.ZodObject<{
|
|
14752
|
+
url: z.ZodString;
|
|
14753
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
14754
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
14755
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
14756
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
14757
|
+
addHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
14758
|
+
removeHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14759
|
+
}, z.core.$strip>>;
|
|
14760
|
+
failureHandling: z.ZodOptional<z.ZodObject<{
|
|
14761
|
+
removeAlertEndpoint: z.ZodBoolean;
|
|
14762
|
+
removeTriggers: z.ZodArray<z.ZodString>;
|
|
14763
|
+
addTriggers: z.ZodArray<z.ZodString>;
|
|
14764
|
+
removeRetryStrategy: z.ZodBoolean;
|
|
14765
|
+
divert: z.ZodBoolean;
|
|
14766
|
+
suspend: z.ZodBoolean;
|
|
14767
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
14768
|
+
url: z.ZodString;
|
|
14769
|
+
secureSsl: z.ZodOptional<z.ZodBoolean>;
|
|
14770
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
14771
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
14772
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
14773
|
+
addHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
14774
|
+
removeHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14775
|
+
}, z.core.$strip>>;
|
|
14776
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
14777
|
+
type: z.ZodEnum<{
|
|
14778
|
+
linear: "linear";
|
|
14779
|
+
exponential: "exponential";
|
|
14780
|
+
}>;
|
|
14781
|
+
interval: z.ZodNumber;
|
|
14782
|
+
attempts: z.ZodNumber;
|
|
14783
|
+
}, z.core.$strip>>;
|
|
14784
|
+
}, z.core.$strip>>;
|
|
14785
|
+
removeFailureHandling: z.ZodOptional<z.ZodBoolean>;
|
|
14786
|
+
addEventTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14787
|
+
removeEventTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14788
|
+
}, z.core.$strip>;
|
|
14789
|
+
|
|
14456
14790
|
export declare type UserAssociationCreateRequest = z.infer<typeof UserAssociationCreateRequestSchema>;
|
|
14457
14791
|
|
|
14458
14792
|
export declare const UserAssociationCreateRequestSchema: z.ZodObject<{
|
|
@@ -14938,6 +15272,50 @@ export declare const validationResultSchema: z.ZodObject<{
|
|
|
14938
15272
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
14939
15273
|
}, z.core.$strip>;
|
|
14940
15274
|
|
|
15275
|
+
export declare type WebhookResponse = z.infer<typeof WebhookResponseSchema>;
|
|
15276
|
+
|
|
15277
|
+
export declare const WebhookResponseSchema: z.ZodObject<{
|
|
15278
|
+
locator: z.ZodString;
|
|
15279
|
+
name: z.ZodString;
|
|
15280
|
+
enabled: z.ZodBoolean;
|
|
15281
|
+
suspended: z.ZodBoolean;
|
|
15282
|
+
endpoint: z.ZodObject<{
|
|
15283
|
+
secureSsl: z.ZodBoolean;
|
|
15284
|
+
url: z.ZodOptional<z.ZodString>;
|
|
15285
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
15286
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15287
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
15288
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
15289
|
+
}, z.core.$strip>;
|
|
15290
|
+
failureHandling: z.ZodOptional<z.ZodObject<{
|
|
15291
|
+
divert: z.ZodBoolean;
|
|
15292
|
+
suspend: z.ZodBoolean;
|
|
15293
|
+
alertEndpoint: z.ZodOptional<z.ZodObject<{
|
|
15294
|
+
secureSsl: z.ZodBoolean;
|
|
15295
|
+
url: z.ZodOptional<z.ZodString>;
|
|
15296
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
15297
|
+
hmacEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15298
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
15299
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
15300
|
+
}, z.core.$strip>>;
|
|
15301
|
+
triggers: z.ZodArray<z.ZodEnum<{
|
|
15302
|
+
timeout: "timeout";
|
|
15303
|
+
"4xx": "4xx";
|
|
15304
|
+
"5xx": "5xx";
|
|
15305
|
+
}>>;
|
|
15306
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
15307
|
+
type: z.ZodEnum<{
|
|
15308
|
+
linear: "linear";
|
|
15309
|
+
exponential: "exponential";
|
|
15310
|
+
}>;
|
|
15311
|
+
interval: z.ZodNumber;
|
|
15312
|
+
attempts: z.ZodNumber;
|
|
15313
|
+
}, z.core.$strip>>;
|
|
15314
|
+
}, z.core.$strip>>;
|
|
15315
|
+
suspendedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
15316
|
+
eventTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15317
|
+
}, z.core.$strip>;
|
|
15318
|
+
|
|
14941
15319
|
export declare type WeekOfMonth = z.infer<typeof weekOfMonthEnumSchema>;
|
|
14942
15320
|
|
|
14943
15321
|
export declare type WeekOfMonthEnum = z.infer<typeof WeekOfMonthEnumSchema>;
|