samva 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/sdk.gen.d.ts +30 -5
- package/dist/client/sdk.gen.js +69 -2
- package/dist/client/types.gen.d.ts +190 -17
- package/dist/effect/api-keys.d.ts +7 -0
- package/dist/effect/campaigns.d.ts +31 -0
- package/dist/effect/generated/api-keys.d.ts +15 -0
- package/dist/effect/generated/api-keys.js +2 -0
- package/dist/effect/generated/campaigns.d.ts +63 -0
- package/dist/effect/generated/campaigns.js +4 -0
- package/dist/effect/generated/journeys.d.ts +18 -0
- package/dist/effect/generated/journeys.js +4 -0
- package/dist/effect/generated/shared.d.ts +20 -4
- package/dist/effect/generated/shared.js +9 -1
- package/dist/effect/generated/templates.d.ts +322 -0
- package/dist/effect/generated/templates.js +48 -8
- package/dist/effect/generated/webhooks.d.ts +139 -19
- package/dist/effect/generated/webhooks.js +39 -3
- package/dist/effect/generated-metadata.d.ts +10 -0
- package/dist/effect/generated-metadata.js +2 -0
- package/dist/effect/journeys.d.ts +8 -0
- package/dist/effect/templates.d.ts +74 -0
- package/dist/effect/templates.js +3 -1
- package/dist/effect/webhooks.d.ts +15 -8
- package/dist/effect/webhooks.js +3 -1
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -0
- package/dist/service-map.js +5 -0
- package/package.json +5 -3
|
@@ -68,6 +68,7 @@ export declare const list: ((input?: {
|
|
|
68
68
|
readonly dispatchedCount: number;
|
|
69
69
|
readonly failedCount: number;
|
|
70
70
|
readonly skippedCount: number;
|
|
71
|
+
readonly pendingCount: number;
|
|
71
72
|
readonly estimatedCompletionAt: string | null;
|
|
72
73
|
} | null;
|
|
73
74
|
readonly createdBy: string | null;
|
|
@@ -149,6 +150,7 @@ export declare const list: ((input?: {
|
|
|
149
150
|
readonly dispatchedCount: number;
|
|
150
151
|
readonly failedCount: number;
|
|
151
152
|
readonly skippedCount: number;
|
|
153
|
+
readonly pendingCount: number;
|
|
152
154
|
readonly estimatedCompletionAt: string | null;
|
|
153
155
|
} | null;
|
|
154
156
|
readonly createdBy: string | null;
|
|
@@ -229,6 +231,7 @@ export declare const list: ((input?: {
|
|
|
229
231
|
readonly dispatchedCount: number;
|
|
230
232
|
readonly failedCount: number;
|
|
231
233
|
readonly skippedCount: number;
|
|
234
|
+
readonly pendingCount: number;
|
|
232
235
|
readonly estimatedCompletionAt: string | null;
|
|
233
236
|
} | null;
|
|
234
237
|
readonly createdBy: string | null;
|
|
@@ -403,6 +406,7 @@ export declare const create: (input: {
|
|
|
403
406
|
readonly dispatchedCount: number;
|
|
404
407
|
readonly failedCount: number;
|
|
405
408
|
readonly skippedCount: number;
|
|
409
|
+
readonly pendingCount: number;
|
|
406
410
|
readonly estimatedCompletionAt: string | null;
|
|
407
411
|
} | null;
|
|
408
412
|
readonly createdBy: string | null;
|
|
@@ -478,6 +482,7 @@ export declare const get: (input: {
|
|
|
478
482
|
readonly dispatchedCount: number;
|
|
479
483
|
readonly failedCount: number;
|
|
480
484
|
readonly skippedCount: number;
|
|
485
|
+
readonly pendingCount: number;
|
|
481
486
|
readonly estimatedCompletionAt: string | null;
|
|
482
487
|
} | null;
|
|
483
488
|
readonly createdBy: string | null;
|
|
@@ -553,6 +558,7 @@ export declare const archive: (input: {
|
|
|
553
558
|
readonly dispatchedCount: number;
|
|
554
559
|
readonly failedCount: number;
|
|
555
560
|
readonly skippedCount: number;
|
|
561
|
+
readonly pendingCount: number;
|
|
556
562
|
readonly estimatedCompletionAt: string | null;
|
|
557
563
|
} | null;
|
|
558
564
|
readonly createdBy: string | null;
|
|
@@ -725,6 +731,7 @@ export declare const update: (input: {
|
|
|
725
731
|
readonly dispatchedCount: number;
|
|
726
732
|
readonly failedCount: number;
|
|
727
733
|
readonly skippedCount: number;
|
|
734
|
+
readonly pendingCount: number;
|
|
728
735
|
readonly estimatedCompletionAt: string | null;
|
|
729
736
|
} | null;
|
|
730
737
|
readonly createdBy: string | null;
|
|
@@ -799,6 +806,7 @@ export declare const listRuns: ((input: {
|
|
|
799
806
|
readonly dispatchedCount: number;
|
|
800
807
|
readonly failedCount: number;
|
|
801
808
|
readonly skippedCount: number;
|
|
809
|
+
readonly pendingCount: number;
|
|
802
810
|
readonly skippedReasons: readonly {
|
|
803
811
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
804
812
|
readonly count: number;
|
|
@@ -807,6 +815,8 @@ export declare const listRuns: ((input: {
|
|
|
807
815
|
readonly failureReason: string | null;
|
|
808
816
|
readonly holdReason: string | null;
|
|
809
817
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
818
|
+
readonly holdUntil: string | null;
|
|
819
|
+
readonly capacityWarning: string | null;
|
|
810
820
|
readonly lastContactId: string | null;
|
|
811
821
|
readonly createdBy: string | null;
|
|
812
822
|
readonly actorEmail: string;
|
|
@@ -882,6 +892,7 @@ export declare const listRuns: ((input: {
|
|
|
882
892
|
readonly dispatchedCount: number;
|
|
883
893
|
readonly failedCount: number;
|
|
884
894
|
readonly skippedCount: number;
|
|
895
|
+
readonly pendingCount: number;
|
|
885
896
|
readonly skippedReasons: readonly {
|
|
886
897
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
887
898
|
readonly count: number;
|
|
@@ -890,6 +901,8 @@ export declare const listRuns: ((input: {
|
|
|
890
901
|
readonly failureReason: string | null;
|
|
891
902
|
readonly holdReason: string | null;
|
|
892
903
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
904
|
+
readonly holdUntil: string | null;
|
|
905
|
+
readonly capacityWarning: string | null;
|
|
893
906
|
readonly lastContactId: string | null;
|
|
894
907
|
readonly createdBy: string | null;
|
|
895
908
|
readonly actorEmail: string;
|
|
@@ -964,6 +977,7 @@ export declare const listRuns: ((input: {
|
|
|
964
977
|
readonly dispatchedCount: number;
|
|
965
978
|
readonly failedCount: number;
|
|
966
979
|
readonly skippedCount: number;
|
|
980
|
+
readonly pendingCount: number;
|
|
967
981
|
readonly skippedReasons: readonly {
|
|
968
982
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
969
983
|
readonly count: number;
|
|
@@ -972,6 +986,8 @@ export declare const listRuns: ((input: {
|
|
|
972
986
|
readonly failureReason: string | null;
|
|
973
987
|
readonly holdReason: string | null;
|
|
974
988
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
989
|
+
readonly holdUntil: string | null;
|
|
990
|
+
readonly capacityWarning: string | null;
|
|
975
991
|
readonly lastContactId: string | null;
|
|
976
992
|
readonly createdBy: string | null;
|
|
977
993
|
readonly actorEmail: string;
|
|
@@ -1044,6 +1060,7 @@ export declare const scheduleRun: (input: {
|
|
|
1044
1060
|
readonly dispatchedCount: number;
|
|
1045
1061
|
readonly failedCount: number;
|
|
1046
1062
|
readonly skippedCount: number;
|
|
1063
|
+
readonly pendingCount: number;
|
|
1047
1064
|
readonly skippedReasons: readonly {
|
|
1048
1065
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
1049
1066
|
readonly count: number;
|
|
@@ -1052,6 +1069,8 @@ export declare const scheduleRun: (input: {
|
|
|
1052
1069
|
readonly failureReason: string | null;
|
|
1053
1070
|
readonly holdReason: string | null;
|
|
1054
1071
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1072
|
+
readonly holdUntil: string | null;
|
|
1073
|
+
readonly capacityWarning: string | null;
|
|
1055
1074
|
readonly lastContactId: string | null;
|
|
1056
1075
|
readonly createdBy: string | null;
|
|
1057
1076
|
readonly actorEmail: string;
|
|
@@ -1122,6 +1141,7 @@ export declare const getRun: (input: {
|
|
|
1122
1141
|
readonly dispatchedCount: number;
|
|
1123
1142
|
readonly failedCount: number;
|
|
1124
1143
|
readonly skippedCount: number;
|
|
1144
|
+
readonly pendingCount: number;
|
|
1125
1145
|
readonly skippedReasons: readonly {
|
|
1126
1146
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
1127
1147
|
readonly count: number;
|
|
@@ -1130,6 +1150,8 @@ export declare const getRun: (input: {
|
|
|
1130
1150
|
readonly failureReason: string | null;
|
|
1131
1151
|
readonly holdReason: string | null;
|
|
1132
1152
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1153
|
+
readonly holdUntil: string | null;
|
|
1154
|
+
readonly capacityWarning: string | null;
|
|
1133
1155
|
readonly lastContactId: string | null;
|
|
1134
1156
|
readonly createdBy: string | null;
|
|
1135
1157
|
readonly actorEmail: string;
|
|
@@ -1202,6 +1224,7 @@ export declare const pauseRun: (input: {
|
|
|
1202
1224
|
readonly dispatchedCount: number;
|
|
1203
1225
|
readonly failedCount: number;
|
|
1204
1226
|
readonly skippedCount: number;
|
|
1227
|
+
readonly pendingCount: number;
|
|
1205
1228
|
readonly skippedReasons: readonly {
|
|
1206
1229
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
1207
1230
|
readonly count: number;
|
|
@@ -1210,6 +1233,8 @@ export declare const pauseRun: (input: {
|
|
|
1210
1233
|
readonly failureReason: string | null;
|
|
1211
1234
|
readonly holdReason: string | null;
|
|
1212
1235
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1236
|
+
readonly holdUntil: string | null;
|
|
1237
|
+
readonly capacityWarning: string | null;
|
|
1213
1238
|
readonly lastContactId: string | null;
|
|
1214
1239
|
readonly createdBy: string | null;
|
|
1215
1240
|
readonly actorEmail: string;
|
|
@@ -1283,6 +1308,7 @@ export declare const resumeRun: (input: {
|
|
|
1283
1308
|
readonly dispatchedCount: number;
|
|
1284
1309
|
readonly failedCount: number;
|
|
1285
1310
|
readonly skippedCount: number;
|
|
1311
|
+
readonly pendingCount: number;
|
|
1286
1312
|
readonly skippedReasons: readonly {
|
|
1287
1313
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
1288
1314
|
readonly count: number;
|
|
@@ -1291,6 +1317,8 @@ export declare const resumeRun: (input: {
|
|
|
1291
1317
|
readonly failureReason: string | null;
|
|
1292
1318
|
readonly holdReason: string | null;
|
|
1293
1319
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1320
|
+
readonly holdUntil: string | null;
|
|
1321
|
+
readonly capacityWarning: string | null;
|
|
1294
1322
|
readonly lastContactId: string | null;
|
|
1295
1323
|
readonly createdBy: string | null;
|
|
1296
1324
|
readonly actorEmail: string;
|
|
@@ -1364,6 +1392,7 @@ export declare const cancelRun: (input: {
|
|
|
1364
1392
|
readonly dispatchedCount: number;
|
|
1365
1393
|
readonly failedCount: number;
|
|
1366
1394
|
readonly skippedCount: number;
|
|
1395
|
+
readonly pendingCount: number;
|
|
1367
1396
|
readonly skippedReasons: readonly {
|
|
1368
1397
|
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
1369
1398
|
readonly count: number;
|
|
@@ -1372,6 +1401,8 @@ export declare const cancelRun: (input: {
|
|
|
1372
1401
|
readonly failureReason: string | null;
|
|
1373
1402
|
readonly holdReason: string | null;
|
|
1374
1403
|
readonly holdDomainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1404
|
+
readonly holdUntil: string | null;
|
|
1405
|
+
readonly capacityWarning: string | null;
|
|
1375
1406
|
readonly lastContactId: string | null;
|
|
1376
1407
|
readonly createdBy: string | null;
|
|
1377
1408
|
readonly actorEmail: string;
|
|
@@ -44,6 +44,7 @@ export type ApiKey = {
|
|
|
44
44
|
readonly name: string;
|
|
45
45
|
readonly key?: string | null;
|
|
46
46
|
readonly start: string | null;
|
|
47
|
+
readonly end: string | null;
|
|
47
48
|
readonly description?: string | null;
|
|
48
49
|
readonly createdAt: string;
|
|
49
50
|
readonly expiresAt: string | null;
|
|
@@ -57,6 +58,7 @@ export declare const ApiKey: Schema.Struct<{
|
|
|
57
58
|
readonly name: Schema.String;
|
|
58
59
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
59
60
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
61
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
60
62
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
61
63
|
readonly createdAt: Schema.String;
|
|
62
64
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -98,6 +100,7 @@ export type ApiKeyWithSecret = {
|
|
|
98
100
|
readonly name: string;
|
|
99
101
|
readonly key: __SamvaRuntimeSensitiveString;
|
|
100
102
|
readonly start: string | null;
|
|
103
|
+
readonly end: string | null;
|
|
101
104
|
readonly description?: string | null;
|
|
102
105
|
readonly createdAt: string;
|
|
103
106
|
readonly expiresAt: string | null;
|
|
@@ -111,6 +114,7 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
|
|
|
111
114
|
readonly name: Schema.String;
|
|
112
115
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
113
116
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
117
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
114
118
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
115
119
|
readonly createdAt: Schema.String;
|
|
116
120
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -157,6 +161,7 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
157
161
|
readonly name: Schema.String;
|
|
158
162
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
159
163
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
164
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
160
165
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
161
166
|
readonly createdAt: Schema.String;
|
|
162
167
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -214,6 +219,7 @@ export declare const ApiKeysList200: Schema.Struct<{
|
|
|
214
219
|
readonly name: Schema.String;
|
|
215
220
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
216
221
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
222
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
217
223
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
218
224
|
readonly createdAt: Schema.String;
|
|
219
225
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -304,6 +310,7 @@ export declare const ApiKeysCreate201: Schema.Struct<{
|
|
|
304
310
|
readonly name: Schema.String;
|
|
305
311
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
306
312
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
313
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
307
314
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
308
315
|
readonly createdAt: Schema.String;
|
|
309
316
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -370,6 +377,7 @@ export declare const ApiKeysGet200: Schema.Struct<{
|
|
|
370
377
|
readonly name: Schema.String;
|
|
371
378
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
372
379
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
380
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
373
381
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
374
382
|
readonly createdAt: Schema.String;
|
|
375
383
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -442,6 +450,7 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
|
442
450
|
readonly name: Schema.String;
|
|
443
451
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
444
452
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
453
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
445
454
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
446
455
|
readonly createdAt: Schema.String;
|
|
447
456
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -564,6 +573,7 @@ export declare const ApiKeysRotate200: Schema.Struct<{
|
|
|
564
573
|
readonly name: Schema.String;
|
|
565
574
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
566
575
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
576
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
567
577
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
568
578
|
readonly createdAt: Schema.String;
|
|
569
579
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -690,6 +700,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
690
700
|
readonly name: Schema.String;
|
|
691
701
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
692
702
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
703
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
693
704
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
694
705
|
readonly createdAt: Schema.String;
|
|
695
706
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -864,6 +875,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
864
875
|
readonly name: Schema.String;
|
|
865
876
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
866
877
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
878
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
867
879
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
868
880
|
readonly createdAt: Schema.String;
|
|
869
881
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1178,6 +1190,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1178
1190
|
readonly name: Schema.String;
|
|
1179
1191
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1180
1192
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1193
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1181
1194
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1182
1195
|
readonly createdAt: Schema.String;
|
|
1183
1196
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1378,6 +1391,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1378
1391
|
readonly name: Schema.String;
|
|
1379
1392
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
1380
1393
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1394
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1381
1395
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1382
1396
|
readonly createdAt: Schema.String;
|
|
1383
1397
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1506,6 +1520,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1506
1520
|
readonly name: Schema.String;
|
|
1507
1521
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1508
1522
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1523
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1509
1524
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1510
1525
|
readonly createdAt: Schema.String;
|
|
1511
1526
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -25,6 +25,7 @@ const ApiKey = /* @__PURE__ */ Schema.Struct({
|
|
|
25
25
|
name: Schema.String,
|
|
26
26
|
key: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
27
27
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
28
|
+
end: Schema.Union([Schema.String, Schema.Null]),
|
|
28
29
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
30
|
createdAt: Schema.String,
|
|
30
31
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -38,6 +39,7 @@ const ApiKeyWithSecret = /* @__PURE__ */ Schema.Struct({
|
|
|
38
39
|
name: Schema.String,
|
|
39
40
|
key: SensitiveString,
|
|
40
41
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
42
|
+
end: Schema.Union([Schema.String, Schema.Null]),
|
|
41
43
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
42
44
|
createdAt: Schema.String,
|
|
43
45
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|