samva 0.47.0 → 0.48.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/agent/index.d.ts +1 -0
- package/dist/agent/index.js +2 -1
- package/dist/agent/runtime.js +26 -5
- package/dist/agent/types.d.ts +27 -0
- package/dist/client/sdk.gen.d.ts +10 -5
- package/dist/client/sdk.gen.js +33 -12
- package/dist/client/types.gen.d.ts +73 -12
- package/dist/effect/api-keys.d.ts +2 -0
- package/dist/effect/generated/api-keys.d.ts +15 -0
- package/dist/effect/generated/api-keys.js +2 -0
- package/dist/effect/generated/journeys.d.ts +96 -96
- package/dist/effect/generated/shared.d.ts +52 -38
- package/dist/effect/generated/shared.js +6 -5
- package/dist/effect/generated/template-registrations.d.ts +19 -1
- package/dist/effect/generated/template-registrations.js +7 -2
- package/dist/effect/generated/templates.d.ts +76 -11
- package/dist/effect/generated/templates.js +25 -12
- package/dist/effect/templates.d.ts +9 -0
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/package.json +2 -2
|
@@ -40,6 +40,7 @@ export type ApiKey = {
|
|
|
40
40
|
readonly start: string | null;
|
|
41
41
|
readonly end: string | null;
|
|
42
42
|
readonly description?: string | null;
|
|
43
|
+
readonly source?: string | null;
|
|
43
44
|
readonly createdAt: string;
|
|
44
45
|
readonly expiresAt: string | null;
|
|
45
46
|
readonly lastUsedAt: string | null;
|
|
@@ -54,6 +55,7 @@ export declare const ApiKey: Schema.Struct<{
|
|
|
54
55
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
55
56
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
56
57
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
58
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
57
59
|
readonly createdAt: Schema.String;
|
|
58
60
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
59
61
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -99,6 +101,7 @@ export type ApiKeyWithSecret = {
|
|
|
99
101
|
readonly start: string | null;
|
|
100
102
|
readonly end: string | null;
|
|
101
103
|
readonly description?: string | null;
|
|
104
|
+
readonly source?: string | null;
|
|
102
105
|
readonly createdAt: string;
|
|
103
106
|
readonly expiresAt: string | null;
|
|
104
107
|
readonly lastUsedAt: string | null;
|
|
@@ -113,6 +116,7 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
|
|
|
113
116
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
114
117
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
115
118
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
119
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
116
120
|
readonly createdAt: Schema.String;
|
|
117
121
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
118
122
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -163,6 +167,7 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
163
167
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
164
168
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
165
169
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
170
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
166
171
|
readonly createdAt: Schema.String;
|
|
167
172
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
168
173
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -226,6 +231,7 @@ export declare const ApiKeysList200: Schema.Struct<{
|
|
|
226
231
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
227
232
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
228
233
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
234
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
229
235
|
readonly createdAt: Schema.String;
|
|
230
236
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
231
237
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -325,6 +331,7 @@ export declare const ApiKeysCreate201: Schema.Struct<{
|
|
|
325
331
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
326
332
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
327
333
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
334
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
328
335
|
readonly createdAt: Schema.String;
|
|
329
336
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
330
337
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -397,6 +404,7 @@ export declare const ApiKeysGet200: Schema.Struct<{
|
|
|
397
404
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
398
405
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
399
406
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
407
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
400
408
|
readonly createdAt: Schema.String;
|
|
401
409
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
402
410
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -471,6 +479,7 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
|
471
479
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
472
480
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
473
481
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
482
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
474
483
|
readonly createdAt: Schema.String;
|
|
475
484
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
476
485
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -603,6 +612,7 @@ export declare const ApiKeysRotate200: Schema.Struct<{
|
|
|
603
612
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
604
613
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
605
614
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
615
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
606
616
|
readonly createdAt: Schema.String;
|
|
607
617
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
608
618
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -740,6 +750,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
740
750
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
741
751
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
742
752
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
753
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
743
754
|
readonly createdAt: Schema.String;
|
|
744
755
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
745
756
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -938,6 +949,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
938
949
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
939
950
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
940
951
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
952
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
941
953
|
readonly createdAt: Schema.String;
|
|
942
954
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
943
955
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1317,6 +1329,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1317
1329
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1318
1330
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1319
1331
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1332
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1320
1333
|
readonly createdAt: Schema.String;
|
|
1321
1334
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1322
1335
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1561,6 +1574,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1561
1574
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1562
1575
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1563
1576
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1577
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1564
1578
|
readonly createdAt: Schema.String;
|
|
1565
1579
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1566
1580
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1710,6 +1724,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1710
1724
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1711
1725
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1712
1726
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1727
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1713
1728
|
readonly createdAt: Schema.String;
|
|
1714
1729
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1715
1730
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -26,6 +26,7 @@ const ApiKey = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
26
26
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
27
27
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
28
28
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
|
+
source: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
30
|
createdAt: Schema.String,
|
|
30
31
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
31
32
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -40,6 +41,7 @@ const ApiKeyWithSecret = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
40
41
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
41
42
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
42
43
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
44
|
+
source: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
43
45
|
createdAt: Schema.String,
|
|
44
46
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
45
47
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|