@openmeter/client 1.0.0-beta-07285b5fef1a → 1.0.0-beta-940352b52249
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/README.md +9 -0
- package/dist/funcs/notifications.d.ts +29 -1
- package/dist/funcs/notifications.js +102 -0
- package/dist/index.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/operations/notifications.d.ts +42 -1
- package/dist/models/schemas.d.ts +2220 -35
- package/dist/models/schemas.js +455 -0
- package/dist/models/types.d.ts +240 -0
- package/dist/sdk/internal.d.ts +46 -0
- package/dist/sdk/internal.js +58 -0
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -513,6 +513,30 @@ export declare const booleanFieldFilter: z.ZodUnion<readonly [z.ZodBoolean, z.Zo
|
|
|
513
513
|
export declare const notificationChannelType: z.ZodEnum<{
|
|
514
514
|
webhook: "webhook";
|
|
515
515
|
}>;
|
|
516
|
+
export declare const notificationEventType: z.ZodEnum<{
|
|
517
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
518
|
+
"entitlements.reset": "entitlements.reset";
|
|
519
|
+
"invoice.created": "invoice.created";
|
|
520
|
+
"invoice.updated": "invoice.updated";
|
|
521
|
+
}>;
|
|
522
|
+
export declare const notificationEventDeliveryState: z.ZodEnum<{
|
|
523
|
+
failed: "failed";
|
|
524
|
+
pending: "pending";
|
|
525
|
+
resending: "resending";
|
|
526
|
+
sending: "sending";
|
|
527
|
+
success: "success";
|
|
528
|
+
}>;
|
|
529
|
+
export declare const notificationEventDeliveryAttemptResponse: z.ZodObject<{
|
|
530
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
body: z.ZodString;
|
|
532
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
533
|
+
url: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
export declare const notificationBalanceThresholdType: z.ZodEnum<{
|
|
536
|
+
balance_value: "balance_value";
|
|
537
|
+
usage_percentage: "usage_percentage";
|
|
538
|
+
usage_value: "usage_value";
|
|
539
|
+
}>;
|
|
516
540
|
export declare const queryFilterInteger: z.ZodObject<{
|
|
517
541
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
518
542
|
neq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -948,6 +972,17 @@ export declare const chargeReference: z.ZodObject<{
|
|
|
948
972
|
export declare const updateResourceReference: z.ZodObject<{
|
|
949
973
|
id: z.ZodString;
|
|
950
974
|
}, z.core.$strip>;
|
|
975
|
+
export declare const notificationEventFeatureReference: z.ZodObject<{
|
|
976
|
+
id: z.ZodString;
|
|
977
|
+
key: z.ZodString;
|
|
978
|
+
}, z.core.$strip>;
|
|
979
|
+
export declare const notificationEventInvoiceReference: z.ZodObject<{
|
|
980
|
+
id: z.ZodString;
|
|
981
|
+
number: z.ZodString;
|
|
982
|
+
}, z.core.$strip>;
|
|
983
|
+
export declare const resendBillingNotificationEventRequest: z.ZodObject<{
|
|
984
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
985
|
+
}, z.core.$strip>;
|
|
951
986
|
export declare const billingCustomerReference: z.ZodObject<{
|
|
952
987
|
id: z.ZodString;
|
|
953
988
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1831,6 +1866,40 @@ export declare const updateBillingNotificationChannelRequest: z.ZodObject<{
|
|
|
1831
1866
|
customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1832
1867
|
signingSecret: z.ZodOptional<z.ZodString>;
|
|
1833
1868
|
}, z.core.$strip>;
|
|
1869
|
+
export declare const notificationRuleReference: z.ZodObject<{
|
|
1870
|
+
id: z.ZodString;
|
|
1871
|
+
type: z.ZodEnum<{
|
|
1872
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
1873
|
+
"entitlements.reset": "entitlements.reset";
|
|
1874
|
+
"invoice.created": "invoice.created";
|
|
1875
|
+
"invoice.updated": "invoice.updated";
|
|
1876
|
+
}>;
|
|
1877
|
+
name: z.ZodString;
|
|
1878
|
+
}, z.core.$strip>;
|
|
1879
|
+
export declare const notificationEventDeliveryAttempt: z.ZodObject<{
|
|
1880
|
+
state: z.ZodEnum<{
|
|
1881
|
+
failed: "failed";
|
|
1882
|
+
pending: "pending";
|
|
1883
|
+
resending: "resending";
|
|
1884
|
+
sending: "sending";
|
|
1885
|
+
success: "success";
|
|
1886
|
+
}>;
|
|
1887
|
+
response: z.ZodObject<{
|
|
1888
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1889
|
+
body: z.ZodString;
|
|
1890
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
1891
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
}, z.core.$strip>;
|
|
1893
|
+
timestamp: z.ZodDate;
|
|
1894
|
+
}, z.core.$strip>;
|
|
1895
|
+
export declare const notificationBalanceThreshold: z.ZodObject<{
|
|
1896
|
+
type: z.ZodEnum<{
|
|
1897
|
+
balance_value: "balance_value";
|
|
1898
|
+
usage_percentage: "usage_percentage";
|
|
1899
|
+
usage_value: "usage_value";
|
|
1900
|
+
}>;
|
|
1901
|
+
value: z.ZodNumber;
|
|
1902
|
+
}, z.core.$strip>;
|
|
1834
1903
|
export declare const appCustomerData: z.ZodObject<{
|
|
1835
1904
|
stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1836
1905
|
customerId: z.ZodOptional<z.ZodString>;
|
|
@@ -2526,6 +2595,16 @@ export declare const updateTaxCodeConfig: z.ZodObject<{
|
|
|
2526
2595
|
id: z.ZodString;
|
|
2527
2596
|
}, z.core.$strip>>;
|
|
2528
2597
|
}, z.core.$strip>;
|
|
2598
|
+
export declare const notificationEventInvoiceData: z.ZodObject<{
|
|
2599
|
+
invoice: z.ZodObject<{
|
|
2600
|
+
id: z.ZodString;
|
|
2601
|
+
number: z.ZodString;
|
|
2602
|
+
}, z.core.$strip>;
|
|
2603
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
2604
|
+
currency: z.ZodString;
|
|
2605
|
+
status: z.ZodString;
|
|
2606
|
+
total: z.ZodString;
|
|
2607
|
+
}, z.core.$strip>;
|
|
2529
2608
|
export declare const listEventsParamsFilter: z.ZodObject<{
|
|
2530
2609
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2531
2610
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -2743,6 +2822,60 @@ export declare const listNotificationChannelsParamsFilter: z.ZodObject<{
|
|
|
2743
2822
|
gte: z.ZodOptional<z.ZodDate>;
|
|
2744
2823
|
}, z.core.$strip>]>>;
|
|
2745
2824
|
}, z.core.$strip>;
|
|
2825
|
+
export declare const listNotificationEventsParamsFilter: z.ZodObject<{
|
|
2826
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2827
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2829
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2830
|
+
}, z.core.$strip>]>>;
|
|
2831
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2832
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2833
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2834
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2835
|
+
}, z.core.$strip>]>>;
|
|
2836
|
+
createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
|
|
2837
|
+
eq: z.ZodOptional<z.ZodDate>;
|
|
2838
|
+
lt: z.ZodOptional<z.ZodDate>;
|
|
2839
|
+
lte: z.ZodOptional<z.ZodDate>;
|
|
2840
|
+
gt: z.ZodOptional<z.ZodDate>;
|
|
2841
|
+
gte: z.ZodOptional<z.ZodDate>;
|
|
2842
|
+
}, z.core.$strip>]>>;
|
|
2843
|
+
ruleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2844
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2845
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2846
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
}, z.core.$strip>]>>;
|
|
2848
|
+
channelId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2849
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2850
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2851
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
}, z.core.$strip>]>>;
|
|
2853
|
+
deliveryStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2854
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2856
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
}, z.core.$strip>]>>;
|
|
2858
|
+
subjectKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2859
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2861
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
}, z.core.$strip>]>>;
|
|
2863
|
+
subjectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2864
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2866
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
}, z.core.$strip>]>>;
|
|
2868
|
+
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2869
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2871
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2872
|
+
}, z.core.$strip>]>>;
|
|
2873
|
+
featureId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2874
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2875
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2876
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
}, z.core.$strip>]>>;
|
|
2878
|
+
}, z.core.$strip>;
|
|
2746
2879
|
export declare const resourceFilters: z.ZodObject<{
|
|
2747
2880
|
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2748
2881
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -3812,6 +3945,35 @@ export declare const notificationChannelPagePaginatedResponse: z.ZodObject<{
|
|
|
3812
3945
|
}, z.core.$strip>;
|
|
3813
3946
|
}, z.core.$strip>;
|
|
3814
3947
|
}, z.core.$strip>;
|
|
3948
|
+
export declare const notificationEventDeliveryStatus: z.ZodObject<{
|
|
3949
|
+
channelId: z.ZodString;
|
|
3950
|
+
state: z.ZodEnum<{
|
|
3951
|
+
failed: "failed";
|
|
3952
|
+
pending: "pending";
|
|
3953
|
+
resending: "resending";
|
|
3954
|
+
sending: "sending";
|
|
3955
|
+
success: "success";
|
|
3956
|
+
}>;
|
|
3957
|
+
reason: z.ZodString;
|
|
3958
|
+
updatedAt: z.ZodDate;
|
|
3959
|
+
nextAttempt: z.ZodOptional<z.ZodDate>;
|
|
3960
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
3961
|
+
state: z.ZodEnum<{
|
|
3962
|
+
failed: "failed";
|
|
3963
|
+
pending: "pending";
|
|
3964
|
+
resending: "resending";
|
|
3965
|
+
sending: "sending";
|
|
3966
|
+
success: "success";
|
|
3967
|
+
}>;
|
|
3968
|
+
response: z.ZodObject<{
|
|
3969
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
3970
|
+
body: z.ZodString;
|
|
3971
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
3972
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3973
|
+
}, z.core.$strip>;
|
|
3974
|
+
timestamp: z.ZodDate;
|
|
3975
|
+
}, z.core.$strip>>;
|
|
3976
|
+
}, z.core.$strip>;
|
|
3815
3977
|
export declare const customerData: z.ZodObject<{
|
|
3816
3978
|
billingProfile: z.ZodOptional<z.ZodObject<{
|
|
3817
3979
|
id: z.ZodString;
|
|
@@ -3894,6 +4056,66 @@ export declare const listCustomerEntitlementAccessResponseData: z.ZodObject<{
|
|
|
3894
4056
|
}, z.core.$strip>>;
|
|
3895
4057
|
}, z.core.$strip>>;
|
|
3896
4058
|
}, z.core.$strip>;
|
|
4059
|
+
export declare const notificationEventBalanceThresholdData: z.ZodObject<{
|
|
4060
|
+
entitlementId: z.ZodString;
|
|
4061
|
+
feature: z.ZodObject<{
|
|
4062
|
+
id: z.ZodString;
|
|
4063
|
+
key: z.ZodString;
|
|
4064
|
+
}, z.core.$strip>;
|
|
4065
|
+
subjectKey: z.ZodString;
|
|
4066
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
4067
|
+
value: z.ZodObject<{
|
|
4068
|
+
type: z.ZodEnum<{
|
|
4069
|
+
boolean: "boolean";
|
|
4070
|
+
metered: "metered";
|
|
4071
|
+
static: "static";
|
|
4072
|
+
}>;
|
|
4073
|
+
featureKey: z.ZodString;
|
|
4074
|
+
hasAccess: z.ZodBoolean;
|
|
4075
|
+
config: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
4077
|
+
balance: z.ZodString;
|
|
4078
|
+
usage: z.ZodString;
|
|
4079
|
+
overage: z.ZodString;
|
|
4080
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
4081
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4082
|
+
}, z.core.$strip>>;
|
|
4083
|
+
}, z.core.$strip>;
|
|
4084
|
+
threshold: z.ZodObject<{
|
|
4085
|
+
type: z.ZodEnum<{
|
|
4086
|
+
balance_value: "balance_value";
|
|
4087
|
+
usage_percentage: "usage_percentage";
|
|
4088
|
+
usage_value: "usage_value";
|
|
4089
|
+
}>;
|
|
4090
|
+
value: z.ZodNumber;
|
|
4091
|
+
}, z.core.$strip>;
|
|
4092
|
+
}, z.core.$strip>;
|
|
4093
|
+
export declare const notificationEventEntitlementData: z.ZodObject<{
|
|
4094
|
+
entitlementId: z.ZodString;
|
|
4095
|
+
feature: z.ZodObject<{
|
|
4096
|
+
id: z.ZodString;
|
|
4097
|
+
key: z.ZodString;
|
|
4098
|
+
}, z.core.$strip>;
|
|
4099
|
+
subjectKey: z.ZodString;
|
|
4100
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
4101
|
+
value: z.ZodObject<{
|
|
4102
|
+
type: z.ZodEnum<{
|
|
4103
|
+
boolean: "boolean";
|
|
4104
|
+
metered: "metered";
|
|
4105
|
+
static: "static";
|
|
4106
|
+
}>;
|
|
4107
|
+
featureKey: z.ZodString;
|
|
4108
|
+
hasAccess: z.ZodBoolean;
|
|
4109
|
+
config: z.ZodOptional<z.ZodString>;
|
|
4110
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
4111
|
+
balance: z.ZodString;
|
|
4112
|
+
usage: z.ZodString;
|
|
4113
|
+
overage: z.ZodString;
|
|
4114
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
4115
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4116
|
+
}, z.core.$strip>>;
|
|
4117
|
+
}, z.core.$strip>;
|
|
4118
|
+
}, z.core.$strip>;
|
|
3897
4119
|
export declare const priceGraduated: z.ZodObject<{
|
|
3898
4120
|
type: z.ZodLiteral<"graduated">;
|
|
3899
4121
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -4216,6 +4438,36 @@ export declare const planAddonPagePaginatedResponse: z.ZodObject<{
|
|
|
4216
4438
|
}, z.core.$strip>;
|
|
4217
4439
|
}, z.core.$strip>;
|
|
4218
4440
|
}, z.core.$strip>;
|
|
4441
|
+
export declare const notificationEventInvoiceCreatedPayload: z.ZodObject<{
|
|
4442
|
+
id: z.ZodString;
|
|
4443
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
4444
|
+
timestamp: z.ZodDate;
|
|
4445
|
+
data: z.ZodObject<{
|
|
4446
|
+
invoice: z.ZodObject<{
|
|
4447
|
+
id: z.ZodString;
|
|
4448
|
+
number: z.ZodString;
|
|
4449
|
+
}, z.core.$strip>;
|
|
4450
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
4451
|
+
currency: z.ZodString;
|
|
4452
|
+
status: z.ZodString;
|
|
4453
|
+
total: z.ZodString;
|
|
4454
|
+
}, z.core.$strip>;
|
|
4455
|
+
}, z.core.$strip>;
|
|
4456
|
+
export declare const notificationEventInvoiceUpdatedPayload: z.ZodObject<{
|
|
4457
|
+
id: z.ZodString;
|
|
4458
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
4459
|
+
timestamp: z.ZodDate;
|
|
4460
|
+
data: z.ZodObject<{
|
|
4461
|
+
invoice: z.ZodObject<{
|
|
4462
|
+
id: z.ZodString;
|
|
4463
|
+
number: z.ZodString;
|
|
4464
|
+
}, z.core.$strip>;
|
|
4465
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
4466
|
+
currency: z.ZodString;
|
|
4467
|
+
status: z.ZodString;
|
|
4468
|
+
total: z.ZodString;
|
|
4469
|
+
}, z.core.$strip>;
|
|
4470
|
+
}, z.core.$strip>;
|
|
4219
4471
|
export declare const ingestedEventPaginatedResponse: z.ZodObject<{
|
|
4220
4472
|
data: z.ZodArray<z.ZodObject<{
|
|
4221
4473
|
event: z.ZodObject<{
|
|
@@ -5355,6 +5607,76 @@ export declare const entitlementAccessQueryResult: z.ZodObject<{
|
|
|
5355
5607
|
}, z.core.$strip>>;
|
|
5356
5608
|
updatedAt: z.ZodDate;
|
|
5357
5609
|
}, z.core.$strip>;
|
|
5610
|
+
export declare const notificationEventBalanceThresholdPayload: z.ZodObject<{
|
|
5611
|
+
id: z.ZodString;
|
|
5612
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
5613
|
+
timestamp: z.ZodDate;
|
|
5614
|
+
data: z.ZodObject<{
|
|
5615
|
+
entitlementId: z.ZodString;
|
|
5616
|
+
feature: z.ZodObject<{
|
|
5617
|
+
id: z.ZodString;
|
|
5618
|
+
key: z.ZodString;
|
|
5619
|
+
}, z.core.$strip>;
|
|
5620
|
+
subjectKey: z.ZodString;
|
|
5621
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
5622
|
+
value: z.ZodObject<{
|
|
5623
|
+
type: z.ZodEnum<{
|
|
5624
|
+
boolean: "boolean";
|
|
5625
|
+
metered: "metered";
|
|
5626
|
+
static: "static";
|
|
5627
|
+
}>;
|
|
5628
|
+
featureKey: z.ZodString;
|
|
5629
|
+
hasAccess: z.ZodBoolean;
|
|
5630
|
+
config: z.ZodOptional<z.ZodString>;
|
|
5631
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
5632
|
+
balance: z.ZodString;
|
|
5633
|
+
usage: z.ZodString;
|
|
5634
|
+
overage: z.ZodString;
|
|
5635
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
5636
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5637
|
+
}, z.core.$strip>>;
|
|
5638
|
+
}, z.core.$strip>;
|
|
5639
|
+
threshold: z.ZodObject<{
|
|
5640
|
+
type: z.ZodEnum<{
|
|
5641
|
+
balance_value: "balance_value";
|
|
5642
|
+
usage_percentage: "usage_percentage";
|
|
5643
|
+
usage_value: "usage_value";
|
|
5644
|
+
}>;
|
|
5645
|
+
value: z.ZodNumber;
|
|
5646
|
+
}, z.core.$strip>;
|
|
5647
|
+
}, z.core.$strip>;
|
|
5648
|
+
}, z.core.$strip>;
|
|
5649
|
+
export declare const notificationEventResetPayload: z.ZodObject<{
|
|
5650
|
+
id: z.ZodString;
|
|
5651
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
5652
|
+
timestamp: z.ZodDate;
|
|
5653
|
+
data: z.ZodObject<{
|
|
5654
|
+
entitlementId: z.ZodString;
|
|
5655
|
+
feature: z.ZodObject<{
|
|
5656
|
+
id: z.ZodString;
|
|
5657
|
+
key: z.ZodString;
|
|
5658
|
+
}, z.core.$strip>;
|
|
5659
|
+
subjectKey: z.ZodString;
|
|
5660
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
5661
|
+
value: z.ZodObject<{
|
|
5662
|
+
type: z.ZodEnum<{
|
|
5663
|
+
boolean: "boolean";
|
|
5664
|
+
metered: "metered";
|
|
5665
|
+
static: "static";
|
|
5666
|
+
}>;
|
|
5667
|
+
featureKey: z.ZodString;
|
|
5668
|
+
hasAccess: z.ZodBoolean;
|
|
5669
|
+
config: z.ZodOptional<z.ZodString>;
|
|
5670
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
5671
|
+
balance: z.ZodString;
|
|
5672
|
+
usage: z.ZodString;
|
|
5673
|
+
overage: z.ZodString;
|
|
5674
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
5675
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5676
|
+
}, z.core.$strip>>;
|
|
5677
|
+
}, z.core.$strip>;
|
|
5678
|
+
}, z.core.$strip>;
|
|
5679
|
+
}, z.core.$strip>;
|
|
5358
5680
|
export declare const price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5359
5681
|
type: z.ZodLiteral<"free">;
|
|
5360
5682
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -6671,6 +6993,103 @@ export declare const entitlementAccessQueryResponse: z.ZodObject<{
|
|
|
6671
6993
|
}, z.core.$strip>;
|
|
6672
6994
|
}, z.core.$strip>;
|
|
6673
6995
|
}, z.core.$strip>;
|
|
6996
|
+
export declare const notificationEventPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6997
|
+
id: z.ZodString;
|
|
6998
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
6999
|
+
timestamp: z.ZodDate;
|
|
7000
|
+
data: z.ZodObject<{
|
|
7001
|
+
entitlementId: z.ZodString;
|
|
7002
|
+
feature: z.ZodObject<{
|
|
7003
|
+
id: z.ZodString;
|
|
7004
|
+
key: z.ZodString;
|
|
7005
|
+
}, z.core.$strip>;
|
|
7006
|
+
subjectKey: z.ZodString;
|
|
7007
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
7008
|
+
value: z.ZodObject<{
|
|
7009
|
+
type: z.ZodEnum<{
|
|
7010
|
+
boolean: "boolean";
|
|
7011
|
+
metered: "metered";
|
|
7012
|
+
static: "static";
|
|
7013
|
+
}>;
|
|
7014
|
+
featureKey: z.ZodString;
|
|
7015
|
+
hasAccess: z.ZodBoolean;
|
|
7016
|
+
config: z.ZodOptional<z.ZodString>;
|
|
7017
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
7018
|
+
balance: z.ZodString;
|
|
7019
|
+
usage: z.ZodString;
|
|
7020
|
+
overage: z.ZodString;
|
|
7021
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
7022
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7023
|
+
}, z.core.$strip>>;
|
|
7024
|
+
}, z.core.$strip>;
|
|
7025
|
+
threshold: z.ZodObject<{
|
|
7026
|
+
type: z.ZodEnum<{
|
|
7027
|
+
balance_value: "balance_value";
|
|
7028
|
+
usage_percentage: "usage_percentage";
|
|
7029
|
+
usage_value: "usage_value";
|
|
7030
|
+
}>;
|
|
7031
|
+
value: z.ZodNumber;
|
|
7032
|
+
}, z.core.$strip>;
|
|
7033
|
+
}, z.core.$strip>;
|
|
7034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7035
|
+
id: z.ZodString;
|
|
7036
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
7037
|
+
timestamp: z.ZodDate;
|
|
7038
|
+
data: z.ZodObject<{
|
|
7039
|
+
entitlementId: z.ZodString;
|
|
7040
|
+
feature: z.ZodObject<{
|
|
7041
|
+
id: z.ZodString;
|
|
7042
|
+
key: z.ZodString;
|
|
7043
|
+
}, z.core.$strip>;
|
|
7044
|
+
subjectKey: z.ZodString;
|
|
7045
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
7046
|
+
value: z.ZodObject<{
|
|
7047
|
+
type: z.ZodEnum<{
|
|
7048
|
+
boolean: "boolean";
|
|
7049
|
+
metered: "metered";
|
|
7050
|
+
static: "static";
|
|
7051
|
+
}>;
|
|
7052
|
+
featureKey: z.ZodString;
|
|
7053
|
+
hasAccess: z.ZodBoolean;
|
|
7054
|
+
config: z.ZodOptional<z.ZodString>;
|
|
7055
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
7056
|
+
balance: z.ZodString;
|
|
7057
|
+
usage: z.ZodString;
|
|
7058
|
+
overage: z.ZodString;
|
|
7059
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
7060
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7061
|
+
}, z.core.$strip>>;
|
|
7062
|
+
}, z.core.$strip>;
|
|
7063
|
+
}, z.core.$strip>;
|
|
7064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7065
|
+
id: z.ZodString;
|
|
7066
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
7067
|
+
timestamp: z.ZodDate;
|
|
7068
|
+
data: z.ZodObject<{
|
|
7069
|
+
invoice: z.ZodObject<{
|
|
7070
|
+
id: z.ZodString;
|
|
7071
|
+
number: z.ZodString;
|
|
7072
|
+
}, z.core.$strip>;
|
|
7073
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
7074
|
+
currency: z.ZodString;
|
|
7075
|
+
status: z.ZodString;
|
|
7076
|
+
total: z.ZodString;
|
|
7077
|
+
}, z.core.$strip>;
|
|
7078
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7079
|
+
id: z.ZodString;
|
|
7080
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
7081
|
+
timestamp: z.ZodDate;
|
|
7082
|
+
data: z.ZodObject<{
|
|
7083
|
+
invoice: z.ZodObject<{
|
|
7084
|
+
id: z.ZodString;
|
|
7085
|
+
number: z.ZodString;
|
|
7086
|
+
}, z.core.$strip>;
|
|
7087
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
7088
|
+
currency: z.ZodString;
|
|
7089
|
+
status: z.ZodString;
|
|
7090
|
+
total: z.ZodString;
|
|
7091
|
+
}, z.core.$strip>;
|
|
7092
|
+
}, z.core.$strip>], "type">;
|
|
6674
7093
|
export declare const rateCard: z.ZodObject<{
|
|
6675
7094
|
name: z.ZodString;
|
|
6676
7095
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -8052,6 +8471,152 @@ export declare const profileApps: z.ZodObject<{
|
|
|
8052
8471
|
enableIssuingSyncHook: z.ZodBoolean;
|
|
8053
8472
|
}, z.core.$strip>], "type">;
|
|
8054
8473
|
}, z.core.$strip>;
|
|
8474
|
+
export declare const notificationEvent: z.ZodObject<{
|
|
8475
|
+
id: z.ZodString;
|
|
8476
|
+
type: z.ZodEnum<{
|
|
8477
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
8478
|
+
"entitlements.reset": "entitlements.reset";
|
|
8479
|
+
"invoice.created": "invoice.created";
|
|
8480
|
+
"invoice.updated": "invoice.updated";
|
|
8481
|
+
}>;
|
|
8482
|
+
createdAt: z.ZodDate;
|
|
8483
|
+
rule: z.ZodObject<{
|
|
8484
|
+
id: z.ZodString;
|
|
8485
|
+
type: z.ZodEnum<{
|
|
8486
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
8487
|
+
"entitlements.reset": "entitlements.reset";
|
|
8488
|
+
"invoice.created": "invoice.created";
|
|
8489
|
+
"invoice.updated": "invoice.updated";
|
|
8490
|
+
}>;
|
|
8491
|
+
name: z.ZodString;
|
|
8492
|
+
}, z.core.$strip>;
|
|
8493
|
+
deliveryStatus: z.ZodArray<z.ZodObject<{
|
|
8494
|
+
channelId: z.ZodString;
|
|
8495
|
+
state: z.ZodEnum<{
|
|
8496
|
+
failed: "failed";
|
|
8497
|
+
pending: "pending";
|
|
8498
|
+
resending: "resending";
|
|
8499
|
+
sending: "sending";
|
|
8500
|
+
success: "success";
|
|
8501
|
+
}>;
|
|
8502
|
+
reason: z.ZodString;
|
|
8503
|
+
updatedAt: z.ZodDate;
|
|
8504
|
+
nextAttempt: z.ZodOptional<z.ZodDate>;
|
|
8505
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
8506
|
+
state: z.ZodEnum<{
|
|
8507
|
+
failed: "failed";
|
|
8508
|
+
pending: "pending";
|
|
8509
|
+
resending: "resending";
|
|
8510
|
+
sending: "sending";
|
|
8511
|
+
success: "success";
|
|
8512
|
+
}>;
|
|
8513
|
+
response: z.ZodObject<{
|
|
8514
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
8515
|
+
body: z.ZodString;
|
|
8516
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
8517
|
+
url: z.ZodOptional<z.ZodString>;
|
|
8518
|
+
}, z.core.$strip>;
|
|
8519
|
+
timestamp: z.ZodDate;
|
|
8520
|
+
}, z.core.$strip>>;
|
|
8521
|
+
}, z.core.$strip>>;
|
|
8522
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8523
|
+
id: z.ZodString;
|
|
8524
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
8525
|
+
timestamp: z.ZodDate;
|
|
8526
|
+
data: z.ZodObject<{
|
|
8527
|
+
entitlementId: z.ZodString;
|
|
8528
|
+
feature: z.ZodObject<{
|
|
8529
|
+
id: z.ZodString;
|
|
8530
|
+
key: z.ZodString;
|
|
8531
|
+
}, z.core.$strip>;
|
|
8532
|
+
subjectKey: z.ZodString;
|
|
8533
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
8534
|
+
value: z.ZodObject<{
|
|
8535
|
+
type: z.ZodEnum<{
|
|
8536
|
+
boolean: "boolean";
|
|
8537
|
+
metered: "metered";
|
|
8538
|
+
static: "static";
|
|
8539
|
+
}>;
|
|
8540
|
+
featureKey: z.ZodString;
|
|
8541
|
+
hasAccess: z.ZodBoolean;
|
|
8542
|
+
config: z.ZodOptional<z.ZodString>;
|
|
8543
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
8544
|
+
balance: z.ZodString;
|
|
8545
|
+
usage: z.ZodString;
|
|
8546
|
+
overage: z.ZodString;
|
|
8547
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
8548
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8549
|
+
}, z.core.$strip>>;
|
|
8550
|
+
}, z.core.$strip>;
|
|
8551
|
+
threshold: z.ZodObject<{
|
|
8552
|
+
type: z.ZodEnum<{
|
|
8553
|
+
balance_value: "balance_value";
|
|
8554
|
+
usage_percentage: "usage_percentage";
|
|
8555
|
+
usage_value: "usage_value";
|
|
8556
|
+
}>;
|
|
8557
|
+
value: z.ZodNumber;
|
|
8558
|
+
}, z.core.$strip>;
|
|
8559
|
+
}, z.core.$strip>;
|
|
8560
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8561
|
+
id: z.ZodString;
|
|
8562
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
8563
|
+
timestamp: z.ZodDate;
|
|
8564
|
+
data: z.ZodObject<{
|
|
8565
|
+
entitlementId: z.ZodString;
|
|
8566
|
+
feature: z.ZodObject<{
|
|
8567
|
+
id: z.ZodString;
|
|
8568
|
+
key: z.ZodString;
|
|
8569
|
+
}, z.core.$strip>;
|
|
8570
|
+
subjectKey: z.ZodString;
|
|
8571
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
8572
|
+
value: z.ZodObject<{
|
|
8573
|
+
type: z.ZodEnum<{
|
|
8574
|
+
boolean: "boolean";
|
|
8575
|
+
metered: "metered";
|
|
8576
|
+
static: "static";
|
|
8577
|
+
}>;
|
|
8578
|
+
featureKey: z.ZodString;
|
|
8579
|
+
hasAccess: z.ZodBoolean;
|
|
8580
|
+
config: z.ZodOptional<z.ZodString>;
|
|
8581
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
8582
|
+
balance: z.ZodString;
|
|
8583
|
+
usage: z.ZodString;
|
|
8584
|
+
overage: z.ZodString;
|
|
8585
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
8586
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8587
|
+
}, z.core.$strip>>;
|
|
8588
|
+
}, z.core.$strip>;
|
|
8589
|
+
}, z.core.$strip>;
|
|
8590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8591
|
+
id: z.ZodString;
|
|
8592
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
8593
|
+
timestamp: z.ZodDate;
|
|
8594
|
+
data: z.ZodObject<{
|
|
8595
|
+
invoice: z.ZodObject<{
|
|
8596
|
+
id: z.ZodString;
|
|
8597
|
+
number: z.ZodString;
|
|
8598
|
+
}, z.core.$strip>;
|
|
8599
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
8600
|
+
currency: z.ZodString;
|
|
8601
|
+
status: z.ZodString;
|
|
8602
|
+
total: z.ZodString;
|
|
8603
|
+
}, z.core.$strip>;
|
|
8604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8605
|
+
id: z.ZodString;
|
|
8606
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
8607
|
+
timestamp: z.ZodDate;
|
|
8608
|
+
data: z.ZodObject<{
|
|
8609
|
+
invoice: z.ZodObject<{
|
|
8610
|
+
id: z.ZodString;
|
|
8611
|
+
number: z.ZodString;
|
|
8612
|
+
}, z.core.$strip>;
|
|
8613
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
8614
|
+
currency: z.ZodString;
|
|
8615
|
+
status: z.ZodString;
|
|
8616
|
+
total: z.ZodString;
|
|
8617
|
+
}, z.core.$strip>;
|
|
8618
|
+
}, z.core.$strip>], "type">;
|
|
8619
|
+
}, z.core.$strip>;
|
|
8055
8620
|
export declare const subscriptionItem: z.ZodObject<{
|
|
8056
8621
|
id: z.ZodString;
|
|
8057
8622
|
activeFrom: z.ZodDate;
|
|
@@ -9684,6 +10249,161 @@ export declare const chargeRealization: z.ZodObject<{
|
|
|
9684
10249
|
correctsRunId: z.ZodOptional<z.ZodString>;
|
|
9685
10250
|
}, z.core.$strip>], "type">>>;
|
|
9686
10251
|
}, z.core.$strip>;
|
|
10252
|
+
export declare const notificationEventPagePaginatedResponse: z.ZodObject<{
|
|
10253
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10254
|
+
id: z.ZodString;
|
|
10255
|
+
type: z.ZodEnum<{
|
|
10256
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
10257
|
+
"entitlements.reset": "entitlements.reset";
|
|
10258
|
+
"invoice.created": "invoice.created";
|
|
10259
|
+
"invoice.updated": "invoice.updated";
|
|
10260
|
+
}>;
|
|
10261
|
+
createdAt: z.ZodDate;
|
|
10262
|
+
rule: z.ZodObject<{
|
|
10263
|
+
id: z.ZodString;
|
|
10264
|
+
type: z.ZodEnum<{
|
|
10265
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
10266
|
+
"entitlements.reset": "entitlements.reset";
|
|
10267
|
+
"invoice.created": "invoice.created";
|
|
10268
|
+
"invoice.updated": "invoice.updated";
|
|
10269
|
+
}>;
|
|
10270
|
+
name: z.ZodString;
|
|
10271
|
+
}, z.core.$strip>;
|
|
10272
|
+
deliveryStatus: z.ZodArray<z.ZodObject<{
|
|
10273
|
+
channelId: z.ZodString;
|
|
10274
|
+
state: z.ZodEnum<{
|
|
10275
|
+
failed: "failed";
|
|
10276
|
+
pending: "pending";
|
|
10277
|
+
resending: "resending";
|
|
10278
|
+
sending: "sending";
|
|
10279
|
+
success: "success";
|
|
10280
|
+
}>;
|
|
10281
|
+
reason: z.ZodString;
|
|
10282
|
+
updatedAt: z.ZodDate;
|
|
10283
|
+
nextAttempt: z.ZodOptional<z.ZodDate>;
|
|
10284
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
10285
|
+
state: z.ZodEnum<{
|
|
10286
|
+
failed: "failed";
|
|
10287
|
+
pending: "pending";
|
|
10288
|
+
resending: "resending";
|
|
10289
|
+
sending: "sending";
|
|
10290
|
+
success: "success";
|
|
10291
|
+
}>;
|
|
10292
|
+
response: z.ZodObject<{
|
|
10293
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
10294
|
+
body: z.ZodString;
|
|
10295
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
10296
|
+
url: z.ZodOptional<z.ZodString>;
|
|
10297
|
+
}, z.core.$strip>;
|
|
10298
|
+
timestamp: z.ZodDate;
|
|
10299
|
+
}, z.core.$strip>>;
|
|
10300
|
+
}, z.core.$strip>>;
|
|
10301
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10302
|
+
id: z.ZodString;
|
|
10303
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
10304
|
+
timestamp: z.ZodDate;
|
|
10305
|
+
data: z.ZodObject<{
|
|
10306
|
+
entitlementId: z.ZodString;
|
|
10307
|
+
feature: z.ZodObject<{
|
|
10308
|
+
id: z.ZodString;
|
|
10309
|
+
key: z.ZodString;
|
|
10310
|
+
}, z.core.$strip>;
|
|
10311
|
+
subjectKey: z.ZodString;
|
|
10312
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10313
|
+
value: z.ZodObject<{
|
|
10314
|
+
type: z.ZodEnum<{
|
|
10315
|
+
boolean: "boolean";
|
|
10316
|
+
metered: "metered";
|
|
10317
|
+
static: "static";
|
|
10318
|
+
}>;
|
|
10319
|
+
featureKey: z.ZodString;
|
|
10320
|
+
hasAccess: z.ZodBoolean;
|
|
10321
|
+
config: z.ZodOptional<z.ZodString>;
|
|
10322
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
10323
|
+
balance: z.ZodString;
|
|
10324
|
+
usage: z.ZodString;
|
|
10325
|
+
overage: z.ZodString;
|
|
10326
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
10327
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10328
|
+
}, z.core.$strip>>;
|
|
10329
|
+
}, z.core.$strip>;
|
|
10330
|
+
threshold: z.ZodObject<{
|
|
10331
|
+
type: z.ZodEnum<{
|
|
10332
|
+
balance_value: "balance_value";
|
|
10333
|
+
usage_percentage: "usage_percentage";
|
|
10334
|
+
usage_value: "usage_value";
|
|
10335
|
+
}>;
|
|
10336
|
+
value: z.ZodNumber;
|
|
10337
|
+
}, z.core.$strip>;
|
|
10338
|
+
}, z.core.$strip>;
|
|
10339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10340
|
+
id: z.ZodString;
|
|
10341
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
10342
|
+
timestamp: z.ZodDate;
|
|
10343
|
+
data: z.ZodObject<{
|
|
10344
|
+
entitlementId: z.ZodString;
|
|
10345
|
+
feature: z.ZodObject<{
|
|
10346
|
+
id: z.ZodString;
|
|
10347
|
+
key: z.ZodString;
|
|
10348
|
+
}, z.core.$strip>;
|
|
10349
|
+
subjectKey: z.ZodString;
|
|
10350
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10351
|
+
value: z.ZodObject<{
|
|
10352
|
+
type: z.ZodEnum<{
|
|
10353
|
+
boolean: "boolean";
|
|
10354
|
+
metered: "metered";
|
|
10355
|
+
static: "static";
|
|
10356
|
+
}>;
|
|
10357
|
+
featureKey: z.ZodString;
|
|
10358
|
+
hasAccess: z.ZodBoolean;
|
|
10359
|
+
config: z.ZodOptional<z.ZodString>;
|
|
10360
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
10361
|
+
balance: z.ZodString;
|
|
10362
|
+
usage: z.ZodString;
|
|
10363
|
+
overage: z.ZodString;
|
|
10364
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
10365
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10366
|
+
}, z.core.$strip>>;
|
|
10367
|
+
}, z.core.$strip>;
|
|
10368
|
+
}, z.core.$strip>;
|
|
10369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10370
|
+
id: z.ZodString;
|
|
10371
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
10372
|
+
timestamp: z.ZodDate;
|
|
10373
|
+
data: z.ZodObject<{
|
|
10374
|
+
invoice: z.ZodObject<{
|
|
10375
|
+
id: z.ZodString;
|
|
10376
|
+
number: z.ZodString;
|
|
10377
|
+
}, z.core.$strip>;
|
|
10378
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10379
|
+
currency: z.ZodString;
|
|
10380
|
+
status: z.ZodString;
|
|
10381
|
+
total: z.ZodString;
|
|
10382
|
+
}, z.core.$strip>;
|
|
10383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10384
|
+
id: z.ZodString;
|
|
10385
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
10386
|
+
timestamp: z.ZodDate;
|
|
10387
|
+
data: z.ZodObject<{
|
|
10388
|
+
invoice: z.ZodObject<{
|
|
10389
|
+
id: z.ZodString;
|
|
10390
|
+
number: z.ZodString;
|
|
10391
|
+
}, z.core.$strip>;
|
|
10392
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10393
|
+
currency: z.ZodString;
|
|
10394
|
+
status: z.ZodString;
|
|
10395
|
+
total: z.ZodString;
|
|
10396
|
+
}, z.core.$strip>;
|
|
10397
|
+
}, z.core.$strip>], "type">;
|
|
10398
|
+
}, z.core.$strip>>;
|
|
10399
|
+
meta: z.ZodObject<{
|
|
10400
|
+
page: z.ZodObject<{
|
|
10401
|
+
number: z.ZodNumber;
|
|
10402
|
+
size: z.ZodNumber;
|
|
10403
|
+
total: z.ZodNumber;
|
|
10404
|
+
}, z.core.$strip>;
|
|
10405
|
+
}, z.core.$strip>;
|
|
10406
|
+
}, z.core.$strip>;
|
|
9687
10407
|
export declare const subscriptionPhase: z.ZodObject<{
|
|
9688
10408
|
id: z.ZodString;
|
|
9689
10409
|
name: z.ZodString;
|
|
@@ -35025,6 +35745,380 @@ export declare const updateNotificationChannelResponse: z.ZodObject<{
|
|
|
35025
35745
|
export declare const deleteNotificationChannelPathParams: z.ZodObject<{
|
|
35026
35746
|
notificationChannelId: z.ZodString;
|
|
35027
35747
|
}, z.core.$strip>;
|
|
35748
|
+
export declare const listNotificationEventsQueryParams: z.ZodObject<{
|
|
35749
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
35750
|
+
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
35751
|
+
number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
35752
|
+
}, z.core.$strip>>;
|
|
35753
|
+
sort: z.ZodOptional<z.ZodObject<{
|
|
35754
|
+
by: z.ZodString;
|
|
35755
|
+
order: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"asc">, z.ZodLiteral<"desc">]>>>;
|
|
35756
|
+
}, z.core.$strip>>;
|
|
35757
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
35758
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35759
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35760
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35761
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35762
|
+
}, z.core.$strip>]>>;
|
|
35763
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35764
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35765
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35766
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35767
|
+
}, z.core.$strip>]>>;
|
|
35768
|
+
createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
|
|
35769
|
+
eq: z.ZodOptional<z.ZodDate>;
|
|
35770
|
+
lt: z.ZodOptional<z.ZodDate>;
|
|
35771
|
+
lte: z.ZodOptional<z.ZodDate>;
|
|
35772
|
+
gt: z.ZodOptional<z.ZodDate>;
|
|
35773
|
+
gte: z.ZodOptional<z.ZodDate>;
|
|
35774
|
+
}, z.core.$strip>]>>;
|
|
35775
|
+
ruleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35776
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35777
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35778
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35779
|
+
}, z.core.$strip>]>>;
|
|
35780
|
+
channelId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35781
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35782
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35783
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35784
|
+
}, z.core.$strip>]>>;
|
|
35785
|
+
deliveryStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35786
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35787
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35788
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35789
|
+
}, z.core.$strip>]>>;
|
|
35790
|
+
subjectKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35791
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35792
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35793
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35794
|
+
}, z.core.$strip>]>>;
|
|
35795
|
+
subjectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35796
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35797
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35798
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35799
|
+
}, z.core.$strip>]>>;
|
|
35800
|
+
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35801
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35802
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35803
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35804
|
+
}, z.core.$strip>]>>;
|
|
35805
|
+
featureId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35806
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35807
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35808
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35809
|
+
}, z.core.$strip>]>>;
|
|
35810
|
+
}, z.core.$strip>>;
|
|
35811
|
+
}, z.core.$strip>;
|
|
35812
|
+
export declare const listNotificationEventsResponse: z.ZodObject<{
|
|
35813
|
+
data: z.ZodArray<z.ZodObject<{
|
|
35814
|
+
id: z.ZodString;
|
|
35815
|
+
type: z.ZodEnum<{
|
|
35816
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
35817
|
+
"entitlements.reset": "entitlements.reset";
|
|
35818
|
+
"invoice.created": "invoice.created";
|
|
35819
|
+
"invoice.updated": "invoice.updated";
|
|
35820
|
+
}>;
|
|
35821
|
+
createdAt: z.ZodDate;
|
|
35822
|
+
rule: z.ZodObject<{
|
|
35823
|
+
id: z.ZodString;
|
|
35824
|
+
type: z.ZodEnum<{
|
|
35825
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
35826
|
+
"entitlements.reset": "entitlements.reset";
|
|
35827
|
+
"invoice.created": "invoice.created";
|
|
35828
|
+
"invoice.updated": "invoice.updated";
|
|
35829
|
+
}>;
|
|
35830
|
+
name: z.ZodString;
|
|
35831
|
+
}, z.core.$strip>;
|
|
35832
|
+
deliveryStatus: z.ZodArray<z.ZodObject<{
|
|
35833
|
+
channelId: z.ZodString;
|
|
35834
|
+
state: z.ZodEnum<{
|
|
35835
|
+
failed: "failed";
|
|
35836
|
+
pending: "pending";
|
|
35837
|
+
resending: "resending";
|
|
35838
|
+
sending: "sending";
|
|
35839
|
+
success: "success";
|
|
35840
|
+
}>;
|
|
35841
|
+
reason: z.ZodString;
|
|
35842
|
+
updatedAt: z.ZodDate;
|
|
35843
|
+
nextAttempt: z.ZodOptional<z.ZodDate>;
|
|
35844
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
35845
|
+
state: z.ZodEnum<{
|
|
35846
|
+
failed: "failed";
|
|
35847
|
+
pending: "pending";
|
|
35848
|
+
resending: "resending";
|
|
35849
|
+
sending: "sending";
|
|
35850
|
+
success: "success";
|
|
35851
|
+
}>;
|
|
35852
|
+
response: z.ZodObject<{
|
|
35853
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
35854
|
+
body: z.ZodString;
|
|
35855
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
35856
|
+
url: z.ZodOptional<z.ZodString>;
|
|
35857
|
+
}, z.core.$strip>;
|
|
35858
|
+
timestamp: z.ZodDate;
|
|
35859
|
+
}, z.core.$strip>>;
|
|
35860
|
+
}, z.core.$strip>>;
|
|
35861
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35862
|
+
id: z.ZodString;
|
|
35863
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
35864
|
+
timestamp: z.ZodDate;
|
|
35865
|
+
data: z.ZodObject<{
|
|
35866
|
+
entitlementId: z.ZodString;
|
|
35867
|
+
feature: z.ZodObject<{
|
|
35868
|
+
id: z.ZodString;
|
|
35869
|
+
key: z.ZodString;
|
|
35870
|
+
}, z.core.$strip>;
|
|
35871
|
+
subjectKey: z.ZodString;
|
|
35872
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
35873
|
+
value: z.ZodObject<{
|
|
35874
|
+
type: z.ZodEnum<{
|
|
35875
|
+
boolean: "boolean";
|
|
35876
|
+
metered: "metered";
|
|
35877
|
+
static: "static";
|
|
35878
|
+
}>;
|
|
35879
|
+
featureKey: z.ZodString;
|
|
35880
|
+
hasAccess: z.ZodBoolean;
|
|
35881
|
+
config: z.ZodOptional<z.ZodString>;
|
|
35882
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
35883
|
+
balance: z.ZodString;
|
|
35884
|
+
usage: z.ZodString;
|
|
35885
|
+
overage: z.ZodString;
|
|
35886
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
35887
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
35888
|
+
}, z.core.$strip>>;
|
|
35889
|
+
}, z.core.$strip>;
|
|
35890
|
+
threshold: z.ZodObject<{
|
|
35891
|
+
type: z.ZodEnum<{
|
|
35892
|
+
balance_value: "balance_value";
|
|
35893
|
+
usage_percentage: "usage_percentage";
|
|
35894
|
+
usage_value: "usage_value";
|
|
35895
|
+
}>;
|
|
35896
|
+
value: z.ZodNumber;
|
|
35897
|
+
}, z.core.$strip>;
|
|
35898
|
+
}, z.core.$strip>;
|
|
35899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35900
|
+
id: z.ZodString;
|
|
35901
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
35902
|
+
timestamp: z.ZodDate;
|
|
35903
|
+
data: z.ZodObject<{
|
|
35904
|
+
entitlementId: z.ZodString;
|
|
35905
|
+
feature: z.ZodObject<{
|
|
35906
|
+
id: z.ZodString;
|
|
35907
|
+
key: z.ZodString;
|
|
35908
|
+
}, z.core.$strip>;
|
|
35909
|
+
subjectKey: z.ZodString;
|
|
35910
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
35911
|
+
value: z.ZodObject<{
|
|
35912
|
+
type: z.ZodEnum<{
|
|
35913
|
+
boolean: "boolean";
|
|
35914
|
+
metered: "metered";
|
|
35915
|
+
static: "static";
|
|
35916
|
+
}>;
|
|
35917
|
+
featureKey: z.ZodString;
|
|
35918
|
+
hasAccess: z.ZodBoolean;
|
|
35919
|
+
config: z.ZodOptional<z.ZodString>;
|
|
35920
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
35921
|
+
balance: z.ZodString;
|
|
35922
|
+
usage: z.ZodString;
|
|
35923
|
+
overage: z.ZodString;
|
|
35924
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
35925
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
35926
|
+
}, z.core.$strip>>;
|
|
35927
|
+
}, z.core.$strip>;
|
|
35928
|
+
}, z.core.$strip>;
|
|
35929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35930
|
+
id: z.ZodString;
|
|
35931
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
35932
|
+
timestamp: z.ZodDate;
|
|
35933
|
+
data: z.ZodObject<{
|
|
35934
|
+
invoice: z.ZodObject<{
|
|
35935
|
+
id: z.ZodString;
|
|
35936
|
+
number: z.ZodString;
|
|
35937
|
+
}, z.core.$strip>;
|
|
35938
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
35939
|
+
currency: z.ZodString;
|
|
35940
|
+
status: z.ZodString;
|
|
35941
|
+
total: z.ZodString;
|
|
35942
|
+
}, z.core.$strip>;
|
|
35943
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35944
|
+
id: z.ZodString;
|
|
35945
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
35946
|
+
timestamp: z.ZodDate;
|
|
35947
|
+
data: z.ZodObject<{
|
|
35948
|
+
invoice: z.ZodObject<{
|
|
35949
|
+
id: z.ZodString;
|
|
35950
|
+
number: z.ZodString;
|
|
35951
|
+
}, z.core.$strip>;
|
|
35952
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
35953
|
+
currency: z.ZodString;
|
|
35954
|
+
status: z.ZodString;
|
|
35955
|
+
total: z.ZodString;
|
|
35956
|
+
}, z.core.$strip>;
|
|
35957
|
+
}, z.core.$strip>], "type">;
|
|
35958
|
+
}, z.core.$strip>>;
|
|
35959
|
+
meta: z.ZodObject<{
|
|
35960
|
+
page: z.ZodObject<{
|
|
35961
|
+
number: z.ZodNumber;
|
|
35962
|
+
size: z.ZodNumber;
|
|
35963
|
+
total: z.ZodNumber;
|
|
35964
|
+
}, z.core.$strip>;
|
|
35965
|
+
}, z.core.$strip>;
|
|
35966
|
+
}, z.core.$strip>;
|
|
35967
|
+
export declare const getNotificationEventPathParams: z.ZodObject<{
|
|
35968
|
+
notificationEventId: z.ZodString;
|
|
35969
|
+
}, z.core.$strip>;
|
|
35970
|
+
export declare const getNotificationEventResponse: z.ZodObject<{
|
|
35971
|
+
id: z.ZodString;
|
|
35972
|
+
type: z.ZodEnum<{
|
|
35973
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
35974
|
+
"entitlements.reset": "entitlements.reset";
|
|
35975
|
+
"invoice.created": "invoice.created";
|
|
35976
|
+
"invoice.updated": "invoice.updated";
|
|
35977
|
+
}>;
|
|
35978
|
+
createdAt: z.ZodDate;
|
|
35979
|
+
rule: z.ZodObject<{
|
|
35980
|
+
id: z.ZodString;
|
|
35981
|
+
type: z.ZodEnum<{
|
|
35982
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
35983
|
+
"entitlements.reset": "entitlements.reset";
|
|
35984
|
+
"invoice.created": "invoice.created";
|
|
35985
|
+
"invoice.updated": "invoice.updated";
|
|
35986
|
+
}>;
|
|
35987
|
+
name: z.ZodString;
|
|
35988
|
+
}, z.core.$strip>;
|
|
35989
|
+
deliveryStatus: z.ZodArray<z.ZodObject<{
|
|
35990
|
+
channelId: z.ZodString;
|
|
35991
|
+
state: z.ZodEnum<{
|
|
35992
|
+
failed: "failed";
|
|
35993
|
+
pending: "pending";
|
|
35994
|
+
resending: "resending";
|
|
35995
|
+
sending: "sending";
|
|
35996
|
+
success: "success";
|
|
35997
|
+
}>;
|
|
35998
|
+
reason: z.ZodString;
|
|
35999
|
+
updatedAt: z.ZodDate;
|
|
36000
|
+
nextAttempt: z.ZodOptional<z.ZodDate>;
|
|
36001
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
36002
|
+
state: z.ZodEnum<{
|
|
36003
|
+
failed: "failed";
|
|
36004
|
+
pending: "pending";
|
|
36005
|
+
resending: "resending";
|
|
36006
|
+
sending: "sending";
|
|
36007
|
+
success: "success";
|
|
36008
|
+
}>;
|
|
36009
|
+
response: z.ZodObject<{
|
|
36010
|
+
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
36011
|
+
body: z.ZodString;
|
|
36012
|
+
durationMs: z.ZodCoercedBigInt<unknown>;
|
|
36013
|
+
url: z.ZodOptional<z.ZodString>;
|
|
36014
|
+
}, z.core.$strip>;
|
|
36015
|
+
timestamp: z.ZodDate;
|
|
36016
|
+
}, z.core.$strip>>;
|
|
36017
|
+
}, z.core.$strip>>;
|
|
36018
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36019
|
+
id: z.ZodString;
|
|
36020
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
36021
|
+
timestamp: z.ZodDate;
|
|
36022
|
+
data: z.ZodObject<{
|
|
36023
|
+
entitlementId: z.ZodString;
|
|
36024
|
+
feature: z.ZodObject<{
|
|
36025
|
+
id: z.ZodString;
|
|
36026
|
+
key: z.ZodString;
|
|
36027
|
+
}, z.core.$strip>;
|
|
36028
|
+
subjectKey: z.ZodString;
|
|
36029
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
36030
|
+
value: z.ZodObject<{
|
|
36031
|
+
type: z.ZodEnum<{
|
|
36032
|
+
boolean: "boolean";
|
|
36033
|
+
metered: "metered";
|
|
36034
|
+
static: "static";
|
|
36035
|
+
}>;
|
|
36036
|
+
featureKey: z.ZodString;
|
|
36037
|
+
hasAccess: z.ZodBoolean;
|
|
36038
|
+
config: z.ZodOptional<z.ZodString>;
|
|
36039
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
36040
|
+
balance: z.ZodString;
|
|
36041
|
+
usage: z.ZodString;
|
|
36042
|
+
overage: z.ZodString;
|
|
36043
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
36044
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
36045
|
+
}, z.core.$strip>>;
|
|
36046
|
+
}, z.core.$strip>;
|
|
36047
|
+
threshold: z.ZodObject<{
|
|
36048
|
+
type: z.ZodEnum<{
|
|
36049
|
+
balance_value: "balance_value";
|
|
36050
|
+
usage_percentage: "usage_percentage";
|
|
36051
|
+
usage_value: "usage_value";
|
|
36052
|
+
}>;
|
|
36053
|
+
value: z.ZodNumber;
|
|
36054
|
+
}, z.core.$strip>;
|
|
36055
|
+
}, z.core.$strip>;
|
|
36056
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36057
|
+
id: z.ZodString;
|
|
36058
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
36059
|
+
timestamp: z.ZodDate;
|
|
36060
|
+
data: z.ZodObject<{
|
|
36061
|
+
entitlementId: z.ZodString;
|
|
36062
|
+
feature: z.ZodObject<{
|
|
36063
|
+
id: z.ZodString;
|
|
36064
|
+
key: z.ZodString;
|
|
36065
|
+
}, z.core.$strip>;
|
|
36066
|
+
subjectKey: z.ZodString;
|
|
36067
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
36068
|
+
value: z.ZodObject<{
|
|
36069
|
+
type: z.ZodEnum<{
|
|
36070
|
+
boolean: "boolean";
|
|
36071
|
+
metered: "metered";
|
|
36072
|
+
static: "static";
|
|
36073
|
+
}>;
|
|
36074
|
+
featureKey: z.ZodString;
|
|
36075
|
+
hasAccess: z.ZodBoolean;
|
|
36076
|
+
config: z.ZodOptional<z.ZodString>;
|
|
36077
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
36078
|
+
balance: z.ZodString;
|
|
36079
|
+
usage: z.ZodString;
|
|
36080
|
+
overage: z.ZodString;
|
|
36081
|
+
totalAvailableGrantAmount: z.ZodString;
|
|
36082
|
+
grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
36083
|
+
}, z.core.$strip>>;
|
|
36084
|
+
}, z.core.$strip>;
|
|
36085
|
+
}, z.core.$strip>;
|
|
36086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36087
|
+
id: z.ZodString;
|
|
36088
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
36089
|
+
timestamp: z.ZodDate;
|
|
36090
|
+
data: z.ZodObject<{
|
|
36091
|
+
invoice: z.ZodObject<{
|
|
36092
|
+
id: z.ZodString;
|
|
36093
|
+
number: z.ZodString;
|
|
36094
|
+
}, z.core.$strip>;
|
|
36095
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
36096
|
+
currency: z.ZodString;
|
|
36097
|
+
status: z.ZodString;
|
|
36098
|
+
total: z.ZodString;
|
|
36099
|
+
}, z.core.$strip>;
|
|
36100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36101
|
+
id: z.ZodString;
|
|
36102
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
36103
|
+
timestamp: z.ZodDate;
|
|
36104
|
+
data: z.ZodObject<{
|
|
36105
|
+
invoice: z.ZodObject<{
|
|
36106
|
+
id: z.ZodString;
|
|
36107
|
+
number: z.ZodString;
|
|
36108
|
+
}, z.core.$strip>;
|
|
36109
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
36110
|
+
currency: z.ZodString;
|
|
36111
|
+
status: z.ZodString;
|
|
36112
|
+
total: z.ZodString;
|
|
36113
|
+
}, z.core.$strip>;
|
|
36114
|
+
}, z.core.$strip>], "type">;
|
|
36115
|
+
}, z.core.$strip>;
|
|
36116
|
+
export declare const resendNotificationEventPathParams: z.ZodObject<{
|
|
36117
|
+
notificationEventId: z.ZodString;
|
|
36118
|
+
}, z.core.$strip>;
|
|
36119
|
+
export declare const resendNotificationEventBody: z.ZodObject<{
|
|
36120
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36121
|
+
}, z.core.$strip>;
|
|
35028
36122
|
export declare const labelsWire: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
35029
36123
|
export declare const currencyCodeWire: z.ZodString;
|
|
35030
36124
|
export declare const currencyCodeCustomWire: z.ZodString;
|
|
@@ -35539,6 +36633,30 @@ export declare const booleanFieldFilterWire: z.ZodUnion<readonly [z.ZodBoolean,
|
|
|
35539
36633
|
export declare const notificationChannelTypeWire: z.ZodEnum<{
|
|
35540
36634
|
webhook: "webhook";
|
|
35541
36635
|
}>;
|
|
36636
|
+
export declare const notificationEventTypeWire: z.ZodEnum<{
|
|
36637
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
36638
|
+
"entitlements.reset": "entitlements.reset";
|
|
36639
|
+
"invoice.created": "invoice.created";
|
|
36640
|
+
"invoice.updated": "invoice.updated";
|
|
36641
|
+
}>;
|
|
36642
|
+
export declare const notificationEventDeliveryStateWire: z.ZodEnum<{
|
|
36643
|
+
failed: "failed";
|
|
36644
|
+
pending: "pending";
|
|
36645
|
+
resending: "resending";
|
|
36646
|
+
sending: "sending";
|
|
36647
|
+
success: "success";
|
|
36648
|
+
}>;
|
|
36649
|
+
export declare const notificationEventDeliveryAttemptResponseWire: z.ZodObject<{
|
|
36650
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
36651
|
+
body: z.ZodString;
|
|
36652
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
36653
|
+
url: z.ZodOptional<z.ZodString>;
|
|
36654
|
+
}, z.core.$strict>;
|
|
36655
|
+
export declare const notificationBalanceThresholdTypeWire: z.ZodEnum<{
|
|
36656
|
+
balance_value: "balance_value";
|
|
36657
|
+
usage_percentage: "usage_percentage";
|
|
36658
|
+
usage_value: "usage_value";
|
|
36659
|
+
}>;
|
|
35542
36660
|
export declare const queryFilterIntegerWire: z.ZodObject<{
|
|
35543
36661
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
35544
36662
|
neq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -35974,6 +37092,17 @@ export declare const chargeReferenceWire: z.ZodObject<{
|
|
|
35974
37092
|
export declare const updateResourceReferenceWire: z.ZodObject<{
|
|
35975
37093
|
id: z.ZodString;
|
|
35976
37094
|
}, z.core.$strict>;
|
|
37095
|
+
export declare const notificationEventFeatureReferenceWire: z.ZodObject<{
|
|
37096
|
+
id: z.ZodString;
|
|
37097
|
+
key: z.ZodString;
|
|
37098
|
+
}, z.core.$strict>;
|
|
37099
|
+
export declare const notificationEventInvoiceReferenceWire: z.ZodObject<{
|
|
37100
|
+
id: z.ZodString;
|
|
37101
|
+
number: z.ZodString;
|
|
37102
|
+
}, z.core.$strict>;
|
|
37103
|
+
export declare const resendBillingNotificationEventRequestWire: z.ZodObject<{
|
|
37104
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37105
|
+
}, z.core.$strict>;
|
|
35977
37106
|
export declare const billingCustomerReferenceWire: z.ZodObject<{
|
|
35978
37107
|
id: z.ZodString;
|
|
35979
37108
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -36857,6 +37986,40 @@ export declare const updateBillingNotificationChannelRequestWire: z.ZodObject<{
|
|
|
36857
37986
|
custom_headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36858
37987
|
signing_secret: z.ZodOptional<z.ZodString>;
|
|
36859
37988
|
}, z.core.$strict>;
|
|
37989
|
+
export declare const notificationRuleReferenceWire: z.ZodObject<{
|
|
37990
|
+
id: z.ZodString;
|
|
37991
|
+
type: z.ZodEnum<{
|
|
37992
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
37993
|
+
"entitlements.reset": "entitlements.reset";
|
|
37994
|
+
"invoice.created": "invoice.created";
|
|
37995
|
+
"invoice.updated": "invoice.updated";
|
|
37996
|
+
}>;
|
|
37997
|
+
name: z.ZodString;
|
|
37998
|
+
}, z.core.$strict>;
|
|
37999
|
+
export declare const notificationEventDeliveryAttemptWire: z.ZodObject<{
|
|
38000
|
+
state: z.ZodEnum<{
|
|
38001
|
+
failed: "failed";
|
|
38002
|
+
pending: "pending";
|
|
38003
|
+
resending: "resending";
|
|
38004
|
+
sending: "sending";
|
|
38005
|
+
success: "success";
|
|
38006
|
+
}>;
|
|
38007
|
+
response: z.ZodObject<{
|
|
38008
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
38009
|
+
body: z.ZodString;
|
|
38010
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
38011
|
+
url: z.ZodOptional<z.ZodString>;
|
|
38012
|
+
}, z.core.$strict>;
|
|
38013
|
+
timestamp: z.ZodString;
|
|
38014
|
+
}, z.core.$strict>;
|
|
38015
|
+
export declare const notificationBalanceThresholdWire: z.ZodObject<{
|
|
38016
|
+
type: z.ZodEnum<{
|
|
38017
|
+
balance_value: "balance_value";
|
|
38018
|
+
usage_percentage: "usage_percentage";
|
|
38019
|
+
usage_value: "usage_value";
|
|
38020
|
+
}>;
|
|
38021
|
+
value: z.ZodNumber;
|
|
38022
|
+
}, z.core.$strict>;
|
|
36860
38023
|
export declare const appCustomerDataWire: z.ZodObject<{
|
|
36861
38024
|
stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36862
38025
|
customer_id: z.ZodOptional<z.ZodString>;
|
|
@@ -37552,6 +38715,16 @@ export declare const updateTaxCodeConfigWire: z.ZodObject<{
|
|
|
37552
38715
|
id: z.ZodString;
|
|
37553
38716
|
}, z.core.$strict>>;
|
|
37554
38717
|
}, z.core.$strict>;
|
|
38718
|
+
export declare const notificationEventInvoiceDataWire: z.ZodObject<{
|
|
38719
|
+
invoice: z.ZodObject<{
|
|
38720
|
+
id: z.ZodString;
|
|
38721
|
+
number: z.ZodString;
|
|
38722
|
+
}, z.core.$strict>;
|
|
38723
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
38724
|
+
currency: z.ZodString;
|
|
38725
|
+
status: z.ZodString;
|
|
38726
|
+
total: z.ZodString;
|
|
38727
|
+
}, z.core.$strict>;
|
|
37555
38728
|
export declare const listEventsParamsFilterWire: z.ZodObject<{
|
|
37556
38729
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
37557
38730
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -37769,6 +38942,60 @@ export declare const listNotificationChannelsParamsFilterWire: z.ZodObject<{
|
|
|
37769
38942
|
gte: z.ZodOptional<z.ZodString>;
|
|
37770
38943
|
}, z.core.$strict>]>>;
|
|
37771
38944
|
}, z.core.$strict>;
|
|
38945
|
+
export declare const listNotificationEventsParamsFilterWire: z.ZodObject<{
|
|
38946
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38947
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38948
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38949
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38950
|
+
}, z.core.$strict>]>>;
|
|
38951
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38952
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38953
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38954
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38955
|
+
}, z.core.$strict>]>>;
|
|
38956
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38957
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38958
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
38959
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
38960
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
38961
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
38962
|
+
}, z.core.$strict>]>>;
|
|
38963
|
+
rule_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38964
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38965
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38966
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38967
|
+
}, z.core.$strict>]>>;
|
|
38968
|
+
channel_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38969
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38970
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38971
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38972
|
+
}, z.core.$strict>]>>;
|
|
38973
|
+
delivery_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38974
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38975
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38976
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38977
|
+
}, z.core.$strict>]>>;
|
|
38978
|
+
subject_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38979
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38980
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38981
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38982
|
+
}, z.core.$strict>]>>;
|
|
38983
|
+
subject_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38984
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38985
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38986
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38987
|
+
}, z.core.$strict>]>>;
|
|
38988
|
+
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38989
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38990
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38991
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38992
|
+
}, z.core.$strict>]>>;
|
|
38993
|
+
feature_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38994
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
38995
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38996
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
38997
|
+
}, z.core.$strict>]>>;
|
|
38998
|
+
}, z.core.$strict>;
|
|
37772
38999
|
export declare const resourceFiltersWire: z.ZodObject<{
|
|
37773
39000
|
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
37774
39001
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -38838,6 +40065,35 @@ export declare const notificationChannelPagePaginatedResponseWire: z.ZodObject<{
|
|
|
38838
40065
|
}, z.core.$strict>;
|
|
38839
40066
|
}, z.core.$strict>;
|
|
38840
40067
|
}, z.core.$strict>;
|
|
40068
|
+
export declare const notificationEventDeliveryStatusWire: z.ZodObject<{
|
|
40069
|
+
channel_id: z.ZodString;
|
|
40070
|
+
state: z.ZodEnum<{
|
|
40071
|
+
failed: "failed";
|
|
40072
|
+
pending: "pending";
|
|
40073
|
+
resending: "resending";
|
|
40074
|
+
sending: "sending";
|
|
40075
|
+
success: "success";
|
|
40076
|
+
}>;
|
|
40077
|
+
reason: z.ZodString;
|
|
40078
|
+
updated_at: z.ZodString;
|
|
40079
|
+
next_attempt: z.ZodOptional<z.ZodString>;
|
|
40080
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
40081
|
+
state: z.ZodEnum<{
|
|
40082
|
+
failed: "failed";
|
|
40083
|
+
pending: "pending";
|
|
40084
|
+
resending: "resending";
|
|
40085
|
+
sending: "sending";
|
|
40086
|
+
success: "success";
|
|
40087
|
+
}>;
|
|
40088
|
+
response: z.ZodObject<{
|
|
40089
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
40090
|
+
body: z.ZodString;
|
|
40091
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
40092
|
+
url: z.ZodOptional<z.ZodString>;
|
|
40093
|
+
}, z.core.$strict>;
|
|
40094
|
+
timestamp: z.ZodString;
|
|
40095
|
+
}, z.core.$strict>>;
|
|
40096
|
+
}, z.core.$strict>;
|
|
38841
40097
|
export declare const customerDataWire: z.ZodObject<{
|
|
38842
40098
|
billing_profile: z.ZodOptional<z.ZodObject<{
|
|
38843
40099
|
id: z.ZodString;
|
|
@@ -38920,6 +40176,66 @@ export declare const listCustomerEntitlementAccessResponseDataWire: z.ZodObject<
|
|
|
38920
40176
|
}, z.core.$strict>>;
|
|
38921
40177
|
}, z.core.$strict>>;
|
|
38922
40178
|
}, z.core.$strict>;
|
|
40179
|
+
export declare const notificationEventBalanceThresholdDataWire: z.ZodObject<{
|
|
40180
|
+
entitlement_id: z.ZodString;
|
|
40181
|
+
feature: z.ZodObject<{
|
|
40182
|
+
id: z.ZodString;
|
|
40183
|
+
key: z.ZodString;
|
|
40184
|
+
}, z.core.$strict>;
|
|
40185
|
+
subject_key: z.ZodString;
|
|
40186
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
40187
|
+
value: z.ZodObject<{
|
|
40188
|
+
type: z.ZodEnum<{
|
|
40189
|
+
boolean: "boolean";
|
|
40190
|
+
metered: "metered";
|
|
40191
|
+
static: "static";
|
|
40192
|
+
}>;
|
|
40193
|
+
feature_key: z.ZodString;
|
|
40194
|
+
has_access: z.ZodBoolean;
|
|
40195
|
+
config: z.ZodOptional<z.ZodString>;
|
|
40196
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
40197
|
+
balance: z.ZodString;
|
|
40198
|
+
usage: z.ZodString;
|
|
40199
|
+
overage: z.ZodString;
|
|
40200
|
+
total_available_grant_amount: z.ZodString;
|
|
40201
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
40202
|
+
}, z.core.$strict>>;
|
|
40203
|
+
}, z.core.$strict>;
|
|
40204
|
+
threshold: z.ZodObject<{
|
|
40205
|
+
type: z.ZodEnum<{
|
|
40206
|
+
balance_value: "balance_value";
|
|
40207
|
+
usage_percentage: "usage_percentage";
|
|
40208
|
+
usage_value: "usage_value";
|
|
40209
|
+
}>;
|
|
40210
|
+
value: z.ZodNumber;
|
|
40211
|
+
}, z.core.$strict>;
|
|
40212
|
+
}, z.core.$strict>;
|
|
40213
|
+
export declare const notificationEventEntitlementDataWire: z.ZodObject<{
|
|
40214
|
+
entitlement_id: z.ZodString;
|
|
40215
|
+
feature: z.ZodObject<{
|
|
40216
|
+
id: z.ZodString;
|
|
40217
|
+
key: z.ZodString;
|
|
40218
|
+
}, z.core.$strict>;
|
|
40219
|
+
subject_key: z.ZodString;
|
|
40220
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
40221
|
+
value: z.ZodObject<{
|
|
40222
|
+
type: z.ZodEnum<{
|
|
40223
|
+
boolean: "boolean";
|
|
40224
|
+
metered: "metered";
|
|
40225
|
+
static: "static";
|
|
40226
|
+
}>;
|
|
40227
|
+
feature_key: z.ZodString;
|
|
40228
|
+
has_access: z.ZodBoolean;
|
|
40229
|
+
config: z.ZodOptional<z.ZodString>;
|
|
40230
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
40231
|
+
balance: z.ZodString;
|
|
40232
|
+
usage: z.ZodString;
|
|
40233
|
+
overage: z.ZodString;
|
|
40234
|
+
total_available_grant_amount: z.ZodString;
|
|
40235
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
40236
|
+
}, z.core.$strict>>;
|
|
40237
|
+
}, z.core.$strict>;
|
|
40238
|
+
}, z.core.$strict>;
|
|
38923
40239
|
export declare const priceGraduatedWire: z.ZodObject<{
|
|
38924
40240
|
type: z.ZodLiteral<"graduated">;
|
|
38925
40241
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -39242,6 +40558,36 @@ export declare const planAddonPagePaginatedResponseWire: z.ZodObject<{
|
|
|
39242
40558
|
}, z.core.$strict>;
|
|
39243
40559
|
}, z.core.$strict>;
|
|
39244
40560
|
}, z.core.$strict>;
|
|
40561
|
+
export declare const notificationEventInvoiceCreatedPayloadWire: z.ZodObject<{
|
|
40562
|
+
id: z.ZodString;
|
|
40563
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
40564
|
+
timestamp: z.ZodString;
|
|
40565
|
+
data: z.ZodObject<{
|
|
40566
|
+
invoice: z.ZodObject<{
|
|
40567
|
+
id: z.ZodString;
|
|
40568
|
+
number: z.ZodString;
|
|
40569
|
+
}, z.core.$strict>;
|
|
40570
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
40571
|
+
currency: z.ZodString;
|
|
40572
|
+
status: z.ZodString;
|
|
40573
|
+
total: z.ZodString;
|
|
40574
|
+
}, z.core.$strict>;
|
|
40575
|
+
}, z.core.$strict>;
|
|
40576
|
+
export declare const notificationEventInvoiceUpdatedPayloadWire: z.ZodObject<{
|
|
40577
|
+
id: z.ZodString;
|
|
40578
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
40579
|
+
timestamp: z.ZodString;
|
|
40580
|
+
data: z.ZodObject<{
|
|
40581
|
+
invoice: z.ZodObject<{
|
|
40582
|
+
id: z.ZodString;
|
|
40583
|
+
number: z.ZodString;
|
|
40584
|
+
}, z.core.$strict>;
|
|
40585
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
40586
|
+
currency: z.ZodString;
|
|
40587
|
+
status: z.ZodString;
|
|
40588
|
+
total: z.ZodString;
|
|
40589
|
+
}, z.core.$strict>;
|
|
40590
|
+
}, z.core.$strict>;
|
|
39245
40591
|
export declare const ingestedEventPaginatedResponseWire: z.ZodObject<{
|
|
39246
40592
|
data: z.ZodArray<z.ZodObject<{
|
|
39247
40593
|
event: z.ZodObject<{
|
|
@@ -40381,6 +41727,76 @@ export declare const entitlementAccessQueryResultWire: z.ZodObject<{
|
|
|
40381
41727
|
}, z.core.$strict>>;
|
|
40382
41728
|
updated_at: z.ZodString;
|
|
40383
41729
|
}, z.core.$strict>;
|
|
41730
|
+
export declare const notificationEventBalanceThresholdPayloadWire: z.ZodObject<{
|
|
41731
|
+
id: z.ZodString;
|
|
41732
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
41733
|
+
timestamp: z.ZodString;
|
|
41734
|
+
data: z.ZodObject<{
|
|
41735
|
+
entitlement_id: z.ZodString;
|
|
41736
|
+
feature: z.ZodObject<{
|
|
41737
|
+
id: z.ZodString;
|
|
41738
|
+
key: z.ZodString;
|
|
41739
|
+
}, z.core.$strict>;
|
|
41740
|
+
subject_key: z.ZodString;
|
|
41741
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
41742
|
+
value: z.ZodObject<{
|
|
41743
|
+
type: z.ZodEnum<{
|
|
41744
|
+
boolean: "boolean";
|
|
41745
|
+
metered: "metered";
|
|
41746
|
+
static: "static";
|
|
41747
|
+
}>;
|
|
41748
|
+
feature_key: z.ZodString;
|
|
41749
|
+
has_access: z.ZodBoolean;
|
|
41750
|
+
config: z.ZodOptional<z.ZodString>;
|
|
41751
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
41752
|
+
balance: z.ZodString;
|
|
41753
|
+
usage: z.ZodString;
|
|
41754
|
+
overage: z.ZodString;
|
|
41755
|
+
total_available_grant_amount: z.ZodString;
|
|
41756
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41757
|
+
}, z.core.$strict>>;
|
|
41758
|
+
}, z.core.$strict>;
|
|
41759
|
+
threshold: z.ZodObject<{
|
|
41760
|
+
type: z.ZodEnum<{
|
|
41761
|
+
balance_value: "balance_value";
|
|
41762
|
+
usage_percentage: "usage_percentage";
|
|
41763
|
+
usage_value: "usage_value";
|
|
41764
|
+
}>;
|
|
41765
|
+
value: z.ZodNumber;
|
|
41766
|
+
}, z.core.$strict>;
|
|
41767
|
+
}, z.core.$strict>;
|
|
41768
|
+
}, z.core.$strict>;
|
|
41769
|
+
export declare const notificationEventResetPayloadWire: z.ZodObject<{
|
|
41770
|
+
id: z.ZodString;
|
|
41771
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
41772
|
+
timestamp: z.ZodString;
|
|
41773
|
+
data: z.ZodObject<{
|
|
41774
|
+
entitlement_id: z.ZodString;
|
|
41775
|
+
feature: z.ZodObject<{
|
|
41776
|
+
id: z.ZodString;
|
|
41777
|
+
key: z.ZodString;
|
|
41778
|
+
}, z.core.$strict>;
|
|
41779
|
+
subject_key: z.ZodString;
|
|
41780
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
41781
|
+
value: z.ZodObject<{
|
|
41782
|
+
type: z.ZodEnum<{
|
|
41783
|
+
boolean: "boolean";
|
|
41784
|
+
metered: "metered";
|
|
41785
|
+
static: "static";
|
|
41786
|
+
}>;
|
|
41787
|
+
feature_key: z.ZodString;
|
|
41788
|
+
has_access: z.ZodBoolean;
|
|
41789
|
+
config: z.ZodOptional<z.ZodString>;
|
|
41790
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
41791
|
+
balance: z.ZodString;
|
|
41792
|
+
usage: z.ZodString;
|
|
41793
|
+
overage: z.ZodString;
|
|
41794
|
+
total_available_grant_amount: z.ZodString;
|
|
41795
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41796
|
+
}, z.core.$strict>>;
|
|
41797
|
+
}, z.core.$strict>;
|
|
41798
|
+
}, z.core.$strict>;
|
|
41799
|
+
}, z.core.$strict>;
|
|
40384
41800
|
export declare const priceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40385
41801
|
type: z.ZodLiteral<"free">;
|
|
40386
41802
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -41697,6 +43113,103 @@ export declare const entitlementAccessQueryResponseWire: z.ZodObject<{
|
|
|
41697
43113
|
}, z.core.$strict>;
|
|
41698
43114
|
}, z.core.$strict>;
|
|
41699
43115
|
}, z.core.$strict>;
|
|
43116
|
+
export declare const notificationEventPayloadWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
43117
|
+
id: z.ZodString;
|
|
43118
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
43119
|
+
timestamp: z.ZodString;
|
|
43120
|
+
data: z.ZodObject<{
|
|
43121
|
+
entitlement_id: z.ZodString;
|
|
43122
|
+
feature: z.ZodObject<{
|
|
43123
|
+
id: z.ZodString;
|
|
43124
|
+
key: z.ZodString;
|
|
43125
|
+
}, z.core.$strict>;
|
|
43126
|
+
subject_key: z.ZodString;
|
|
43127
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
43128
|
+
value: z.ZodObject<{
|
|
43129
|
+
type: z.ZodEnum<{
|
|
43130
|
+
boolean: "boolean";
|
|
43131
|
+
metered: "metered";
|
|
43132
|
+
static: "static";
|
|
43133
|
+
}>;
|
|
43134
|
+
feature_key: z.ZodString;
|
|
43135
|
+
has_access: z.ZodBoolean;
|
|
43136
|
+
config: z.ZodOptional<z.ZodString>;
|
|
43137
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
43138
|
+
balance: z.ZodString;
|
|
43139
|
+
usage: z.ZodString;
|
|
43140
|
+
overage: z.ZodString;
|
|
43141
|
+
total_available_grant_amount: z.ZodString;
|
|
43142
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
43143
|
+
}, z.core.$strict>>;
|
|
43144
|
+
}, z.core.$strict>;
|
|
43145
|
+
threshold: z.ZodObject<{
|
|
43146
|
+
type: z.ZodEnum<{
|
|
43147
|
+
balance_value: "balance_value";
|
|
43148
|
+
usage_percentage: "usage_percentage";
|
|
43149
|
+
usage_value: "usage_value";
|
|
43150
|
+
}>;
|
|
43151
|
+
value: z.ZodNumber;
|
|
43152
|
+
}, z.core.$strict>;
|
|
43153
|
+
}, z.core.$strict>;
|
|
43154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43155
|
+
id: z.ZodString;
|
|
43156
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
43157
|
+
timestamp: z.ZodString;
|
|
43158
|
+
data: z.ZodObject<{
|
|
43159
|
+
entitlement_id: z.ZodString;
|
|
43160
|
+
feature: z.ZodObject<{
|
|
43161
|
+
id: z.ZodString;
|
|
43162
|
+
key: z.ZodString;
|
|
43163
|
+
}, z.core.$strict>;
|
|
43164
|
+
subject_key: z.ZodString;
|
|
43165
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
43166
|
+
value: z.ZodObject<{
|
|
43167
|
+
type: z.ZodEnum<{
|
|
43168
|
+
boolean: "boolean";
|
|
43169
|
+
metered: "metered";
|
|
43170
|
+
static: "static";
|
|
43171
|
+
}>;
|
|
43172
|
+
feature_key: z.ZodString;
|
|
43173
|
+
has_access: z.ZodBoolean;
|
|
43174
|
+
config: z.ZodOptional<z.ZodString>;
|
|
43175
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
43176
|
+
balance: z.ZodString;
|
|
43177
|
+
usage: z.ZodString;
|
|
43178
|
+
overage: z.ZodString;
|
|
43179
|
+
total_available_grant_amount: z.ZodString;
|
|
43180
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
43181
|
+
}, z.core.$strict>>;
|
|
43182
|
+
}, z.core.$strict>;
|
|
43183
|
+
}, z.core.$strict>;
|
|
43184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43185
|
+
id: z.ZodString;
|
|
43186
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
43187
|
+
timestamp: z.ZodString;
|
|
43188
|
+
data: z.ZodObject<{
|
|
43189
|
+
invoice: z.ZodObject<{
|
|
43190
|
+
id: z.ZodString;
|
|
43191
|
+
number: z.ZodString;
|
|
43192
|
+
}, z.core.$strict>;
|
|
43193
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
43194
|
+
currency: z.ZodString;
|
|
43195
|
+
status: z.ZodString;
|
|
43196
|
+
total: z.ZodString;
|
|
43197
|
+
}, z.core.$strict>;
|
|
43198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43199
|
+
id: z.ZodString;
|
|
43200
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
43201
|
+
timestamp: z.ZodString;
|
|
43202
|
+
data: z.ZodObject<{
|
|
43203
|
+
invoice: z.ZodObject<{
|
|
43204
|
+
id: z.ZodString;
|
|
43205
|
+
number: z.ZodString;
|
|
43206
|
+
}, z.core.$strict>;
|
|
43207
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
43208
|
+
currency: z.ZodString;
|
|
43209
|
+
status: z.ZodString;
|
|
43210
|
+
total: z.ZodString;
|
|
43211
|
+
}, z.core.$strict>;
|
|
43212
|
+
}, z.core.$strict>], "type">;
|
|
41700
43213
|
export declare const rateCardWire: z.ZodObject<{
|
|
41701
43214
|
name: z.ZodString;
|
|
41702
43215
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -43078,6 +44591,152 @@ export declare const profileAppsWire: z.ZodObject<{
|
|
|
43078
44591
|
enable_issuing_sync_hook: z.ZodBoolean;
|
|
43079
44592
|
}, z.core.$strict>], "type">;
|
|
43080
44593
|
}, z.core.$strict>;
|
|
44594
|
+
export declare const notificationEventWire: z.ZodObject<{
|
|
44595
|
+
id: z.ZodString;
|
|
44596
|
+
type: z.ZodEnum<{
|
|
44597
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
44598
|
+
"entitlements.reset": "entitlements.reset";
|
|
44599
|
+
"invoice.created": "invoice.created";
|
|
44600
|
+
"invoice.updated": "invoice.updated";
|
|
44601
|
+
}>;
|
|
44602
|
+
created_at: z.ZodString;
|
|
44603
|
+
rule: z.ZodObject<{
|
|
44604
|
+
id: z.ZodString;
|
|
44605
|
+
type: z.ZodEnum<{
|
|
44606
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
44607
|
+
"entitlements.reset": "entitlements.reset";
|
|
44608
|
+
"invoice.created": "invoice.created";
|
|
44609
|
+
"invoice.updated": "invoice.updated";
|
|
44610
|
+
}>;
|
|
44611
|
+
name: z.ZodString;
|
|
44612
|
+
}, z.core.$strict>;
|
|
44613
|
+
delivery_status: z.ZodArray<z.ZodObject<{
|
|
44614
|
+
channel_id: z.ZodString;
|
|
44615
|
+
state: z.ZodEnum<{
|
|
44616
|
+
failed: "failed";
|
|
44617
|
+
pending: "pending";
|
|
44618
|
+
resending: "resending";
|
|
44619
|
+
sending: "sending";
|
|
44620
|
+
success: "success";
|
|
44621
|
+
}>;
|
|
44622
|
+
reason: z.ZodString;
|
|
44623
|
+
updated_at: z.ZodString;
|
|
44624
|
+
next_attempt: z.ZodOptional<z.ZodString>;
|
|
44625
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
44626
|
+
state: z.ZodEnum<{
|
|
44627
|
+
failed: "failed";
|
|
44628
|
+
pending: "pending";
|
|
44629
|
+
resending: "resending";
|
|
44630
|
+
sending: "sending";
|
|
44631
|
+
success: "success";
|
|
44632
|
+
}>;
|
|
44633
|
+
response: z.ZodObject<{
|
|
44634
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
44635
|
+
body: z.ZodString;
|
|
44636
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
44637
|
+
url: z.ZodOptional<z.ZodString>;
|
|
44638
|
+
}, z.core.$strict>;
|
|
44639
|
+
timestamp: z.ZodString;
|
|
44640
|
+
}, z.core.$strict>>;
|
|
44641
|
+
}, z.core.$strict>>;
|
|
44642
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44643
|
+
id: z.ZodString;
|
|
44644
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
44645
|
+
timestamp: z.ZodString;
|
|
44646
|
+
data: z.ZodObject<{
|
|
44647
|
+
entitlement_id: z.ZodString;
|
|
44648
|
+
feature: z.ZodObject<{
|
|
44649
|
+
id: z.ZodString;
|
|
44650
|
+
key: z.ZodString;
|
|
44651
|
+
}, z.core.$strict>;
|
|
44652
|
+
subject_key: z.ZodString;
|
|
44653
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
44654
|
+
value: z.ZodObject<{
|
|
44655
|
+
type: z.ZodEnum<{
|
|
44656
|
+
boolean: "boolean";
|
|
44657
|
+
metered: "metered";
|
|
44658
|
+
static: "static";
|
|
44659
|
+
}>;
|
|
44660
|
+
feature_key: z.ZodString;
|
|
44661
|
+
has_access: z.ZodBoolean;
|
|
44662
|
+
config: z.ZodOptional<z.ZodString>;
|
|
44663
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
44664
|
+
balance: z.ZodString;
|
|
44665
|
+
usage: z.ZodString;
|
|
44666
|
+
overage: z.ZodString;
|
|
44667
|
+
total_available_grant_amount: z.ZodString;
|
|
44668
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
44669
|
+
}, z.core.$strict>>;
|
|
44670
|
+
}, z.core.$strict>;
|
|
44671
|
+
threshold: z.ZodObject<{
|
|
44672
|
+
type: z.ZodEnum<{
|
|
44673
|
+
balance_value: "balance_value";
|
|
44674
|
+
usage_percentage: "usage_percentage";
|
|
44675
|
+
usage_value: "usage_value";
|
|
44676
|
+
}>;
|
|
44677
|
+
value: z.ZodNumber;
|
|
44678
|
+
}, z.core.$strict>;
|
|
44679
|
+
}, z.core.$strict>;
|
|
44680
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44681
|
+
id: z.ZodString;
|
|
44682
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
44683
|
+
timestamp: z.ZodString;
|
|
44684
|
+
data: z.ZodObject<{
|
|
44685
|
+
entitlement_id: z.ZodString;
|
|
44686
|
+
feature: z.ZodObject<{
|
|
44687
|
+
id: z.ZodString;
|
|
44688
|
+
key: z.ZodString;
|
|
44689
|
+
}, z.core.$strict>;
|
|
44690
|
+
subject_key: z.ZodString;
|
|
44691
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
44692
|
+
value: z.ZodObject<{
|
|
44693
|
+
type: z.ZodEnum<{
|
|
44694
|
+
boolean: "boolean";
|
|
44695
|
+
metered: "metered";
|
|
44696
|
+
static: "static";
|
|
44697
|
+
}>;
|
|
44698
|
+
feature_key: z.ZodString;
|
|
44699
|
+
has_access: z.ZodBoolean;
|
|
44700
|
+
config: z.ZodOptional<z.ZodString>;
|
|
44701
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
44702
|
+
balance: z.ZodString;
|
|
44703
|
+
usage: z.ZodString;
|
|
44704
|
+
overage: z.ZodString;
|
|
44705
|
+
total_available_grant_amount: z.ZodString;
|
|
44706
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
44707
|
+
}, z.core.$strict>>;
|
|
44708
|
+
}, z.core.$strict>;
|
|
44709
|
+
}, z.core.$strict>;
|
|
44710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44711
|
+
id: z.ZodString;
|
|
44712
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
44713
|
+
timestamp: z.ZodString;
|
|
44714
|
+
data: z.ZodObject<{
|
|
44715
|
+
invoice: z.ZodObject<{
|
|
44716
|
+
id: z.ZodString;
|
|
44717
|
+
number: z.ZodString;
|
|
44718
|
+
}, z.core.$strict>;
|
|
44719
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
44720
|
+
currency: z.ZodString;
|
|
44721
|
+
status: z.ZodString;
|
|
44722
|
+
total: z.ZodString;
|
|
44723
|
+
}, z.core.$strict>;
|
|
44724
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44725
|
+
id: z.ZodString;
|
|
44726
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
44727
|
+
timestamp: z.ZodString;
|
|
44728
|
+
data: z.ZodObject<{
|
|
44729
|
+
invoice: z.ZodObject<{
|
|
44730
|
+
id: z.ZodString;
|
|
44731
|
+
number: z.ZodString;
|
|
44732
|
+
}, z.core.$strict>;
|
|
44733
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
44734
|
+
currency: z.ZodString;
|
|
44735
|
+
status: z.ZodString;
|
|
44736
|
+
total: z.ZodString;
|
|
44737
|
+
}, z.core.$strict>;
|
|
44738
|
+
}, z.core.$strict>], "type">;
|
|
44739
|
+
}, z.core.$strict>;
|
|
43081
44740
|
export declare const subscriptionItemWire: z.ZodObject<{
|
|
43082
44741
|
id: z.ZodString;
|
|
43083
44742
|
active_from: z.ZodString;
|
|
@@ -44669,46 +46328,201 @@ export declare const chargeRealizationWire: z.ZodObject<{
|
|
|
44669
46328
|
rounding_amount: z.ZodOptional<z.ZodString>;
|
|
44670
46329
|
child_unique_reference_id: z.ZodString;
|
|
44671
46330
|
}, z.core.$strict>>;
|
|
44672
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
46331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46332
|
+
id: z.ZodString;
|
|
46333
|
+
created_at: z.ZodString;
|
|
46334
|
+
updated_at: z.ZodString;
|
|
46335
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
46336
|
+
type: z.ZodLiteral<"usage_based">;
|
|
46337
|
+
service_period: z.ZodObject<{
|
|
46338
|
+
from: z.ZodString;
|
|
46339
|
+
to: z.ZodString;
|
|
46340
|
+
}, z.core.$strict>;
|
|
46341
|
+
totals: z.ZodObject<{
|
|
46342
|
+
amount: z.ZodString;
|
|
46343
|
+
taxes_total: z.ZodString;
|
|
46344
|
+
taxes_inclusive_total: z.ZodString;
|
|
46345
|
+
taxes_exclusive_total: z.ZodString;
|
|
46346
|
+
charges_total: z.ZodString;
|
|
46347
|
+
discounts_total: z.ZodString;
|
|
46348
|
+
credits_total: z.ZodString;
|
|
46349
|
+
total: z.ZodString;
|
|
46350
|
+
}, z.core.$strict>;
|
|
46351
|
+
category: z.ZodEnum<{
|
|
46352
|
+
commitment: "commitment";
|
|
46353
|
+
regular: "regular";
|
|
46354
|
+
}>;
|
|
46355
|
+
credits_applied: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46356
|
+
amount: z.ZodString;
|
|
46357
|
+
description: z.ZodOptional<z.ZodString>;
|
|
46358
|
+
credit_realization_id: z.ZodString;
|
|
46359
|
+
}, z.core.$strict>>>;
|
|
46360
|
+
unit_price: z.ZodString;
|
|
46361
|
+
amount_discounts: z.ZodArray<z.ZodObject<{
|
|
46362
|
+
amount: z.ZodString;
|
|
46363
|
+
reason: z.ZodString;
|
|
46364
|
+
description: z.ZodOptional<z.ZodString>;
|
|
46365
|
+
rounding_amount: z.ZodOptional<z.ZodString>;
|
|
46366
|
+
child_unique_reference_id: z.ZodString;
|
|
46367
|
+
}, z.core.$strict>>;
|
|
46368
|
+
quantity: z.ZodString;
|
|
46369
|
+
corrects_run_id: z.ZodOptional<z.ZodString>;
|
|
46370
|
+
}, z.core.$strict>], "type">>>;
|
|
46371
|
+
}, z.core.$strict>;
|
|
46372
|
+
export declare const notificationEventPagePaginatedResponseWire: z.ZodObject<{
|
|
46373
|
+
data: z.ZodArray<z.ZodObject<{
|
|
44673
46374
|
id: z.ZodString;
|
|
46375
|
+
type: z.ZodEnum<{
|
|
46376
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
46377
|
+
"entitlements.reset": "entitlements.reset";
|
|
46378
|
+
"invoice.created": "invoice.created";
|
|
46379
|
+
"invoice.updated": "invoice.updated";
|
|
46380
|
+
}>;
|
|
44674
46381
|
created_at: z.ZodString;
|
|
44675
|
-
|
|
44676
|
-
|
|
44677
|
-
|
|
44678
|
-
|
|
44679
|
-
|
|
44680
|
-
|
|
44681
|
-
|
|
44682
|
-
|
|
44683
|
-
|
|
44684
|
-
taxes_total: z.ZodString;
|
|
44685
|
-
taxes_inclusive_total: z.ZodString;
|
|
44686
|
-
taxes_exclusive_total: z.ZodString;
|
|
44687
|
-
charges_total: z.ZodString;
|
|
44688
|
-
discounts_total: z.ZodString;
|
|
44689
|
-
credits_total: z.ZodString;
|
|
44690
|
-
total: z.ZodString;
|
|
46382
|
+
rule: z.ZodObject<{
|
|
46383
|
+
id: z.ZodString;
|
|
46384
|
+
type: z.ZodEnum<{
|
|
46385
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
46386
|
+
"entitlements.reset": "entitlements.reset";
|
|
46387
|
+
"invoice.created": "invoice.created";
|
|
46388
|
+
"invoice.updated": "invoice.updated";
|
|
46389
|
+
}>;
|
|
46390
|
+
name: z.ZodString;
|
|
44691
46391
|
}, z.core.$strict>;
|
|
44692
|
-
|
|
44693
|
-
|
|
44694
|
-
|
|
44695
|
-
|
|
44696
|
-
|
|
44697
|
-
|
|
44698
|
-
|
|
44699
|
-
|
|
44700
|
-
|
|
44701
|
-
unit_price: z.ZodString;
|
|
44702
|
-
amount_discounts: z.ZodArray<z.ZodObject<{
|
|
44703
|
-
amount: z.ZodString;
|
|
46392
|
+
delivery_status: z.ZodArray<z.ZodObject<{
|
|
46393
|
+
channel_id: z.ZodString;
|
|
46394
|
+
state: z.ZodEnum<{
|
|
46395
|
+
failed: "failed";
|
|
46396
|
+
pending: "pending";
|
|
46397
|
+
resending: "resending";
|
|
46398
|
+
sending: "sending";
|
|
46399
|
+
success: "success";
|
|
46400
|
+
}>;
|
|
44704
46401
|
reason: z.ZodString;
|
|
44705
|
-
|
|
44706
|
-
|
|
44707
|
-
|
|
46402
|
+
updated_at: z.ZodString;
|
|
46403
|
+
next_attempt: z.ZodOptional<z.ZodString>;
|
|
46404
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
46405
|
+
state: z.ZodEnum<{
|
|
46406
|
+
failed: "failed";
|
|
46407
|
+
pending: "pending";
|
|
46408
|
+
resending: "resending";
|
|
46409
|
+
sending: "sending";
|
|
46410
|
+
success: "success";
|
|
46411
|
+
}>;
|
|
46412
|
+
response: z.ZodObject<{
|
|
46413
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
46414
|
+
body: z.ZodString;
|
|
46415
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
46416
|
+
url: z.ZodOptional<z.ZodString>;
|
|
46417
|
+
}, z.core.$strict>;
|
|
46418
|
+
timestamp: z.ZodString;
|
|
46419
|
+
}, z.core.$strict>>;
|
|
44708
46420
|
}, z.core.$strict>>;
|
|
44709
|
-
|
|
44710
|
-
|
|
44711
|
-
|
|
46421
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46422
|
+
id: z.ZodString;
|
|
46423
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
46424
|
+
timestamp: z.ZodString;
|
|
46425
|
+
data: z.ZodObject<{
|
|
46426
|
+
entitlement_id: z.ZodString;
|
|
46427
|
+
feature: z.ZodObject<{
|
|
46428
|
+
id: z.ZodString;
|
|
46429
|
+
key: z.ZodString;
|
|
46430
|
+
}, z.core.$strict>;
|
|
46431
|
+
subject_key: z.ZodString;
|
|
46432
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
46433
|
+
value: z.ZodObject<{
|
|
46434
|
+
type: z.ZodEnum<{
|
|
46435
|
+
boolean: "boolean";
|
|
46436
|
+
metered: "metered";
|
|
46437
|
+
static: "static";
|
|
46438
|
+
}>;
|
|
46439
|
+
feature_key: z.ZodString;
|
|
46440
|
+
has_access: z.ZodBoolean;
|
|
46441
|
+
config: z.ZodOptional<z.ZodString>;
|
|
46442
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
46443
|
+
balance: z.ZodString;
|
|
46444
|
+
usage: z.ZodString;
|
|
46445
|
+
overage: z.ZodString;
|
|
46446
|
+
total_available_grant_amount: z.ZodString;
|
|
46447
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
46448
|
+
}, z.core.$strict>>;
|
|
46449
|
+
}, z.core.$strict>;
|
|
46450
|
+
threshold: z.ZodObject<{
|
|
46451
|
+
type: z.ZodEnum<{
|
|
46452
|
+
balance_value: "balance_value";
|
|
46453
|
+
usage_percentage: "usage_percentage";
|
|
46454
|
+
usage_value: "usage_value";
|
|
46455
|
+
}>;
|
|
46456
|
+
value: z.ZodNumber;
|
|
46457
|
+
}, z.core.$strict>;
|
|
46458
|
+
}, z.core.$strict>;
|
|
46459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46460
|
+
id: z.ZodString;
|
|
46461
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
46462
|
+
timestamp: z.ZodString;
|
|
46463
|
+
data: z.ZodObject<{
|
|
46464
|
+
entitlement_id: z.ZodString;
|
|
46465
|
+
feature: z.ZodObject<{
|
|
46466
|
+
id: z.ZodString;
|
|
46467
|
+
key: z.ZodString;
|
|
46468
|
+
}, z.core.$strict>;
|
|
46469
|
+
subject_key: z.ZodString;
|
|
46470
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
46471
|
+
value: z.ZodObject<{
|
|
46472
|
+
type: z.ZodEnum<{
|
|
46473
|
+
boolean: "boolean";
|
|
46474
|
+
metered: "metered";
|
|
46475
|
+
static: "static";
|
|
46476
|
+
}>;
|
|
46477
|
+
feature_key: z.ZodString;
|
|
46478
|
+
has_access: z.ZodBoolean;
|
|
46479
|
+
config: z.ZodOptional<z.ZodString>;
|
|
46480
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
46481
|
+
balance: z.ZodString;
|
|
46482
|
+
usage: z.ZodString;
|
|
46483
|
+
overage: z.ZodString;
|
|
46484
|
+
total_available_grant_amount: z.ZodString;
|
|
46485
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
46486
|
+
}, z.core.$strict>>;
|
|
46487
|
+
}, z.core.$strict>;
|
|
46488
|
+
}, z.core.$strict>;
|
|
46489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46490
|
+
id: z.ZodString;
|
|
46491
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
46492
|
+
timestamp: z.ZodString;
|
|
46493
|
+
data: z.ZodObject<{
|
|
46494
|
+
invoice: z.ZodObject<{
|
|
46495
|
+
id: z.ZodString;
|
|
46496
|
+
number: z.ZodString;
|
|
46497
|
+
}, z.core.$strict>;
|
|
46498
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
46499
|
+
currency: z.ZodString;
|
|
46500
|
+
status: z.ZodString;
|
|
46501
|
+
total: z.ZodString;
|
|
46502
|
+
}, z.core.$strict>;
|
|
46503
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46504
|
+
id: z.ZodString;
|
|
46505
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
46506
|
+
timestamp: z.ZodString;
|
|
46507
|
+
data: z.ZodObject<{
|
|
46508
|
+
invoice: z.ZodObject<{
|
|
46509
|
+
id: z.ZodString;
|
|
46510
|
+
number: z.ZodString;
|
|
46511
|
+
}, z.core.$strict>;
|
|
46512
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
46513
|
+
currency: z.ZodString;
|
|
46514
|
+
status: z.ZodString;
|
|
46515
|
+
total: z.ZodString;
|
|
46516
|
+
}, z.core.$strict>;
|
|
46517
|
+
}, z.core.$strict>], "type">;
|
|
46518
|
+
}, z.core.$strict>>;
|
|
46519
|
+
meta: z.ZodObject<{
|
|
46520
|
+
page: z.ZodObject<{
|
|
46521
|
+
number: z.ZodNumber;
|
|
46522
|
+
size: z.ZodNumber;
|
|
46523
|
+
total: z.ZodNumber;
|
|
46524
|
+
}, z.core.$strict>;
|
|
46525
|
+
}, z.core.$strict>;
|
|
44712
46526
|
}, z.core.$strict>;
|
|
44713
46527
|
export declare const subscriptionPhaseWire: z.ZodObject<{
|
|
44714
46528
|
id: z.ZodString;
|
|
@@ -69988,3 +71802,374 @@ export declare const updateNotificationChannelResponseWire: z.ZodObject<{
|
|
|
69988
71802
|
export declare const deleteNotificationChannelPathParamsWire: z.ZodObject<{
|
|
69989
71803
|
notificationChannelId: z.ZodString;
|
|
69990
71804
|
}, z.core.$strip>;
|
|
71805
|
+
export declare const listNotificationEventsQueryParamsWire: z.ZodObject<{
|
|
71806
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
71807
|
+
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
71808
|
+
number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
71809
|
+
}, z.core.$strict>>;
|
|
71810
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
71811
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
71812
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71813
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71814
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71815
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71816
|
+
}, z.core.$strict>]>>;
|
|
71817
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71818
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71819
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71820
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71821
|
+
}, z.core.$strict>]>>;
|
|
71822
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71823
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71824
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
71825
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
71826
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
71827
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
71828
|
+
}, z.core.$strict>]>>;
|
|
71829
|
+
rule_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71830
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71831
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71832
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71833
|
+
}, z.core.$strict>]>>;
|
|
71834
|
+
channel_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71835
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71836
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71837
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71838
|
+
}, z.core.$strict>]>>;
|
|
71839
|
+
delivery_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71840
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71841
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71842
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71843
|
+
}, z.core.$strict>]>>;
|
|
71844
|
+
subject_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71845
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71846
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71847
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71848
|
+
}, z.core.$strict>]>>;
|
|
71849
|
+
subject_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71850
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71851
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71852
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71853
|
+
}, z.core.$strict>]>>;
|
|
71854
|
+
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71855
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71856
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71857
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71858
|
+
}, z.core.$strict>]>>;
|
|
71859
|
+
feature_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71860
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
71861
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71862
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
71863
|
+
}, z.core.$strict>]>>;
|
|
71864
|
+
}, z.core.$strict>>;
|
|
71865
|
+
}, z.core.$strip>;
|
|
71866
|
+
export declare const listNotificationEventsResponseWire: z.ZodObject<{
|
|
71867
|
+
data: z.ZodArray<z.ZodObject<{
|
|
71868
|
+
id: z.ZodString;
|
|
71869
|
+
type: z.ZodEnum<{
|
|
71870
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
71871
|
+
"entitlements.reset": "entitlements.reset";
|
|
71872
|
+
"invoice.created": "invoice.created";
|
|
71873
|
+
"invoice.updated": "invoice.updated";
|
|
71874
|
+
}>;
|
|
71875
|
+
created_at: z.ZodString;
|
|
71876
|
+
rule: z.ZodObject<{
|
|
71877
|
+
id: z.ZodString;
|
|
71878
|
+
type: z.ZodEnum<{
|
|
71879
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
71880
|
+
"entitlements.reset": "entitlements.reset";
|
|
71881
|
+
"invoice.created": "invoice.created";
|
|
71882
|
+
"invoice.updated": "invoice.updated";
|
|
71883
|
+
}>;
|
|
71884
|
+
name: z.ZodString;
|
|
71885
|
+
}, z.core.$strict>;
|
|
71886
|
+
delivery_status: z.ZodArray<z.ZodObject<{
|
|
71887
|
+
channel_id: z.ZodString;
|
|
71888
|
+
state: z.ZodEnum<{
|
|
71889
|
+
failed: "failed";
|
|
71890
|
+
pending: "pending";
|
|
71891
|
+
resending: "resending";
|
|
71892
|
+
sending: "sending";
|
|
71893
|
+
success: "success";
|
|
71894
|
+
}>;
|
|
71895
|
+
reason: z.ZodString;
|
|
71896
|
+
updated_at: z.ZodString;
|
|
71897
|
+
next_attempt: z.ZodOptional<z.ZodString>;
|
|
71898
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
71899
|
+
state: z.ZodEnum<{
|
|
71900
|
+
failed: "failed";
|
|
71901
|
+
pending: "pending";
|
|
71902
|
+
resending: "resending";
|
|
71903
|
+
sending: "sending";
|
|
71904
|
+
success: "success";
|
|
71905
|
+
}>;
|
|
71906
|
+
response: z.ZodObject<{
|
|
71907
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
71908
|
+
body: z.ZodString;
|
|
71909
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
71910
|
+
url: z.ZodOptional<z.ZodString>;
|
|
71911
|
+
}, z.core.$strict>;
|
|
71912
|
+
timestamp: z.ZodString;
|
|
71913
|
+
}, z.core.$strict>>;
|
|
71914
|
+
}, z.core.$strict>>;
|
|
71915
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
71916
|
+
id: z.ZodString;
|
|
71917
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
71918
|
+
timestamp: z.ZodString;
|
|
71919
|
+
data: z.ZodObject<{
|
|
71920
|
+
entitlement_id: z.ZodString;
|
|
71921
|
+
feature: z.ZodObject<{
|
|
71922
|
+
id: z.ZodString;
|
|
71923
|
+
key: z.ZodString;
|
|
71924
|
+
}, z.core.$strict>;
|
|
71925
|
+
subject_key: z.ZodString;
|
|
71926
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
71927
|
+
value: z.ZodObject<{
|
|
71928
|
+
type: z.ZodEnum<{
|
|
71929
|
+
boolean: "boolean";
|
|
71930
|
+
metered: "metered";
|
|
71931
|
+
static: "static";
|
|
71932
|
+
}>;
|
|
71933
|
+
feature_key: z.ZodString;
|
|
71934
|
+
has_access: z.ZodBoolean;
|
|
71935
|
+
config: z.ZodOptional<z.ZodString>;
|
|
71936
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
71937
|
+
balance: z.ZodString;
|
|
71938
|
+
usage: z.ZodString;
|
|
71939
|
+
overage: z.ZodString;
|
|
71940
|
+
total_available_grant_amount: z.ZodString;
|
|
71941
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
71942
|
+
}, z.core.$strict>>;
|
|
71943
|
+
}, z.core.$strict>;
|
|
71944
|
+
threshold: z.ZodObject<{
|
|
71945
|
+
type: z.ZodEnum<{
|
|
71946
|
+
balance_value: "balance_value";
|
|
71947
|
+
usage_percentage: "usage_percentage";
|
|
71948
|
+
usage_value: "usage_value";
|
|
71949
|
+
}>;
|
|
71950
|
+
value: z.ZodNumber;
|
|
71951
|
+
}, z.core.$strict>;
|
|
71952
|
+
}, z.core.$strict>;
|
|
71953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71954
|
+
id: z.ZodString;
|
|
71955
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
71956
|
+
timestamp: z.ZodString;
|
|
71957
|
+
data: z.ZodObject<{
|
|
71958
|
+
entitlement_id: z.ZodString;
|
|
71959
|
+
feature: z.ZodObject<{
|
|
71960
|
+
id: z.ZodString;
|
|
71961
|
+
key: z.ZodString;
|
|
71962
|
+
}, z.core.$strict>;
|
|
71963
|
+
subject_key: z.ZodString;
|
|
71964
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
71965
|
+
value: z.ZodObject<{
|
|
71966
|
+
type: z.ZodEnum<{
|
|
71967
|
+
boolean: "boolean";
|
|
71968
|
+
metered: "metered";
|
|
71969
|
+
static: "static";
|
|
71970
|
+
}>;
|
|
71971
|
+
feature_key: z.ZodString;
|
|
71972
|
+
has_access: z.ZodBoolean;
|
|
71973
|
+
config: z.ZodOptional<z.ZodString>;
|
|
71974
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
71975
|
+
balance: z.ZodString;
|
|
71976
|
+
usage: z.ZodString;
|
|
71977
|
+
overage: z.ZodString;
|
|
71978
|
+
total_available_grant_amount: z.ZodString;
|
|
71979
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
71980
|
+
}, z.core.$strict>>;
|
|
71981
|
+
}, z.core.$strict>;
|
|
71982
|
+
}, z.core.$strict>;
|
|
71983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71984
|
+
id: z.ZodString;
|
|
71985
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
71986
|
+
timestamp: z.ZodString;
|
|
71987
|
+
data: z.ZodObject<{
|
|
71988
|
+
invoice: z.ZodObject<{
|
|
71989
|
+
id: z.ZodString;
|
|
71990
|
+
number: z.ZodString;
|
|
71991
|
+
}, z.core.$strict>;
|
|
71992
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
71993
|
+
currency: z.ZodString;
|
|
71994
|
+
status: z.ZodString;
|
|
71995
|
+
total: z.ZodString;
|
|
71996
|
+
}, z.core.$strict>;
|
|
71997
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71998
|
+
id: z.ZodString;
|
|
71999
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
72000
|
+
timestamp: z.ZodString;
|
|
72001
|
+
data: z.ZodObject<{
|
|
72002
|
+
invoice: z.ZodObject<{
|
|
72003
|
+
id: z.ZodString;
|
|
72004
|
+
number: z.ZodString;
|
|
72005
|
+
}, z.core.$strict>;
|
|
72006
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
72007
|
+
currency: z.ZodString;
|
|
72008
|
+
status: z.ZodString;
|
|
72009
|
+
total: z.ZodString;
|
|
72010
|
+
}, z.core.$strict>;
|
|
72011
|
+
}, z.core.$strict>], "type">;
|
|
72012
|
+
}, z.core.$strict>>;
|
|
72013
|
+
meta: z.ZodObject<{
|
|
72014
|
+
page: z.ZodObject<{
|
|
72015
|
+
number: z.ZodNumber;
|
|
72016
|
+
size: z.ZodNumber;
|
|
72017
|
+
total: z.ZodNumber;
|
|
72018
|
+
}, z.core.$strict>;
|
|
72019
|
+
}, z.core.$strict>;
|
|
72020
|
+
}, z.core.$strict>;
|
|
72021
|
+
export declare const getNotificationEventPathParamsWire: z.ZodObject<{
|
|
72022
|
+
notificationEventId: z.ZodString;
|
|
72023
|
+
}, z.core.$strip>;
|
|
72024
|
+
export declare const getNotificationEventResponseWire: z.ZodObject<{
|
|
72025
|
+
id: z.ZodString;
|
|
72026
|
+
type: z.ZodEnum<{
|
|
72027
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
72028
|
+
"entitlements.reset": "entitlements.reset";
|
|
72029
|
+
"invoice.created": "invoice.created";
|
|
72030
|
+
"invoice.updated": "invoice.updated";
|
|
72031
|
+
}>;
|
|
72032
|
+
created_at: z.ZodString;
|
|
72033
|
+
rule: z.ZodObject<{
|
|
72034
|
+
id: z.ZodString;
|
|
72035
|
+
type: z.ZodEnum<{
|
|
72036
|
+
"entitlements.balance.threshold": "entitlements.balance.threshold";
|
|
72037
|
+
"entitlements.reset": "entitlements.reset";
|
|
72038
|
+
"invoice.created": "invoice.created";
|
|
72039
|
+
"invoice.updated": "invoice.updated";
|
|
72040
|
+
}>;
|
|
72041
|
+
name: z.ZodString;
|
|
72042
|
+
}, z.core.$strict>;
|
|
72043
|
+
delivery_status: z.ZodArray<z.ZodObject<{
|
|
72044
|
+
channel_id: z.ZodString;
|
|
72045
|
+
state: z.ZodEnum<{
|
|
72046
|
+
failed: "failed";
|
|
72047
|
+
pending: "pending";
|
|
72048
|
+
resending: "resending";
|
|
72049
|
+
sending: "sending";
|
|
72050
|
+
success: "success";
|
|
72051
|
+
}>;
|
|
72052
|
+
reason: z.ZodString;
|
|
72053
|
+
updated_at: z.ZodString;
|
|
72054
|
+
next_attempt: z.ZodOptional<z.ZodString>;
|
|
72055
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
72056
|
+
state: z.ZodEnum<{
|
|
72057
|
+
failed: "failed";
|
|
72058
|
+
pending: "pending";
|
|
72059
|
+
resending: "resending";
|
|
72060
|
+
sending: "sending";
|
|
72061
|
+
success: "success";
|
|
72062
|
+
}>;
|
|
72063
|
+
response: z.ZodObject<{
|
|
72064
|
+
status_code: z.ZodOptional<z.ZodNumber>;
|
|
72065
|
+
body: z.ZodString;
|
|
72066
|
+
duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
72067
|
+
url: z.ZodOptional<z.ZodString>;
|
|
72068
|
+
}, z.core.$strict>;
|
|
72069
|
+
timestamp: z.ZodString;
|
|
72070
|
+
}, z.core.$strict>>;
|
|
72071
|
+
}, z.core.$strict>>;
|
|
72072
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
72073
|
+
id: z.ZodString;
|
|
72074
|
+
type: z.ZodLiteral<"entitlements.balance.threshold">;
|
|
72075
|
+
timestamp: z.ZodString;
|
|
72076
|
+
data: z.ZodObject<{
|
|
72077
|
+
entitlement_id: z.ZodString;
|
|
72078
|
+
feature: z.ZodObject<{
|
|
72079
|
+
id: z.ZodString;
|
|
72080
|
+
key: z.ZodString;
|
|
72081
|
+
}, z.core.$strict>;
|
|
72082
|
+
subject_key: z.ZodString;
|
|
72083
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
72084
|
+
value: z.ZodObject<{
|
|
72085
|
+
type: z.ZodEnum<{
|
|
72086
|
+
boolean: "boolean";
|
|
72087
|
+
metered: "metered";
|
|
72088
|
+
static: "static";
|
|
72089
|
+
}>;
|
|
72090
|
+
feature_key: z.ZodString;
|
|
72091
|
+
has_access: z.ZodBoolean;
|
|
72092
|
+
config: z.ZodOptional<z.ZodString>;
|
|
72093
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
72094
|
+
balance: z.ZodString;
|
|
72095
|
+
usage: z.ZodString;
|
|
72096
|
+
overage: z.ZodString;
|
|
72097
|
+
total_available_grant_amount: z.ZodString;
|
|
72098
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72099
|
+
}, z.core.$strict>>;
|
|
72100
|
+
}, z.core.$strict>;
|
|
72101
|
+
threshold: z.ZodObject<{
|
|
72102
|
+
type: z.ZodEnum<{
|
|
72103
|
+
balance_value: "balance_value";
|
|
72104
|
+
usage_percentage: "usage_percentage";
|
|
72105
|
+
usage_value: "usage_value";
|
|
72106
|
+
}>;
|
|
72107
|
+
value: z.ZodNumber;
|
|
72108
|
+
}, z.core.$strict>;
|
|
72109
|
+
}, z.core.$strict>;
|
|
72110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72111
|
+
id: z.ZodString;
|
|
72112
|
+
type: z.ZodLiteral<"entitlements.reset">;
|
|
72113
|
+
timestamp: z.ZodString;
|
|
72114
|
+
data: z.ZodObject<{
|
|
72115
|
+
entitlement_id: z.ZodString;
|
|
72116
|
+
feature: z.ZodObject<{
|
|
72117
|
+
id: z.ZodString;
|
|
72118
|
+
key: z.ZodString;
|
|
72119
|
+
}, z.core.$strict>;
|
|
72120
|
+
subject_key: z.ZodString;
|
|
72121
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
72122
|
+
value: z.ZodObject<{
|
|
72123
|
+
type: z.ZodEnum<{
|
|
72124
|
+
boolean: "boolean";
|
|
72125
|
+
metered: "metered";
|
|
72126
|
+
static: "static";
|
|
72127
|
+
}>;
|
|
72128
|
+
feature_key: z.ZodString;
|
|
72129
|
+
has_access: z.ZodBoolean;
|
|
72130
|
+
config: z.ZodOptional<z.ZodString>;
|
|
72131
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
72132
|
+
balance: z.ZodString;
|
|
72133
|
+
usage: z.ZodString;
|
|
72134
|
+
overage: z.ZodString;
|
|
72135
|
+
total_available_grant_amount: z.ZodString;
|
|
72136
|
+
grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72137
|
+
}, z.core.$strict>>;
|
|
72138
|
+
}, z.core.$strict>;
|
|
72139
|
+
}, z.core.$strict>;
|
|
72140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72141
|
+
id: z.ZodString;
|
|
72142
|
+
type: z.ZodLiteral<"invoice.created">;
|
|
72143
|
+
timestamp: z.ZodString;
|
|
72144
|
+
data: z.ZodObject<{
|
|
72145
|
+
invoice: z.ZodObject<{
|
|
72146
|
+
id: z.ZodString;
|
|
72147
|
+
number: z.ZodString;
|
|
72148
|
+
}, z.core.$strict>;
|
|
72149
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
72150
|
+
currency: z.ZodString;
|
|
72151
|
+
status: z.ZodString;
|
|
72152
|
+
total: z.ZodString;
|
|
72153
|
+
}, z.core.$strict>;
|
|
72154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72155
|
+
id: z.ZodString;
|
|
72156
|
+
type: z.ZodLiteral<"invoice.updated">;
|
|
72157
|
+
timestamp: z.ZodString;
|
|
72158
|
+
data: z.ZodObject<{
|
|
72159
|
+
invoice: z.ZodObject<{
|
|
72160
|
+
id: z.ZodString;
|
|
72161
|
+
number: z.ZodString;
|
|
72162
|
+
}, z.core.$strict>;
|
|
72163
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
72164
|
+
currency: z.ZodString;
|
|
72165
|
+
status: z.ZodString;
|
|
72166
|
+
total: z.ZodString;
|
|
72167
|
+
}, z.core.$strict>;
|
|
72168
|
+
}, z.core.$strict>], "type">;
|
|
72169
|
+
}, z.core.$strict>;
|
|
72170
|
+
export declare const resendNotificationEventPathParamsWire: z.ZodObject<{
|
|
72171
|
+
notificationEventId: z.ZodString;
|
|
72172
|
+
}, z.core.$strip>;
|
|
72173
|
+
export declare const resendNotificationEventBodyWire: z.ZodObject<{
|
|
72174
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72175
|
+
}, z.core.$strict>;
|