samva 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -0
- package/README.md +12 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +604 -95
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +6 -8
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +2 -3
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +40 -40
- package/dist/effect/generated/email.js +15 -15
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +172 -124
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +396 -107
- package/dist/effect/generated/shared.js +170 -89
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +2 -1
- package/dist/effect/index.js +4 -3
- package/dist/effect/internal/operation.js +3 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +7 -7
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +5 -3
- package/dist/promises/index.js +7 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +74 -25
- package/dist/service-map.js +43 -12
- package/package.json +12 -8
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const list: ((input?: {
|
|
2
|
-
readonly limit?:
|
|
2
|
+
readonly limit?: number | null | undefined;
|
|
3
3
|
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly after?: string | null | undefined;
|
|
5
5
|
readonly before?: string | null | undefined;
|
|
6
6
|
} | undefined) => import("./internal/operation").OperationResult<"extensionsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
|
-
readonly limit?:
|
|
8
|
+
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | null | undefined;
|
|
10
10
|
readonly after?: string | null | undefined;
|
|
11
11
|
readonly before?: string | null | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const list: ((input?: {
|
|
|
26
26
|
readonly nextCursor: string | null;
|
|
27
27
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
28
28
|
readonly items: (input?: {
|
|
29
|
-
readonly limit?:
|
|
29
|
+
readonly limit?: number | null | undefined;
|
|
30
30
|
readonly cursor?: string | null | undefined;
|
|
31
31
|
readonly after?: string | null | undefined;
|
|
32
32
|
readonly before?: string | null | undefined;
|
|
@@ -61,12 +61,12 @@ export declare const get: (input: {
|
|
|
61
61
|
}) => import("./internal/operation").OperationResult<"extensionsGet">;
|
|
62
62
|
export declare const listVersions: ((input: {
|
|
63
63
|
readonly id: string;
|
|
64
|
-
readonly limit?:
|
|
64
|
+
readonly limit?: number | null | undefined;
|
|
65
65
|
readonly cursor?: string | null | undefined;
|
|
66
66
|
}) => import("./internal/operation").OperationResult<"extensionsListVersions">) & {
|
|
67
67
|
readonly pages: (input: {
|
|
68
68
|
readonly id: string;
|
|
69
|
-
readonly limit?:
|
|
69
|
+
readonly limit?: number | null | undefined;
|
|
70
70
|
readonly cursor?: string | null | undefined;
|
|
71
71
|
}) => import("effect/Stream").Stream<{
|
|
72
72
|
readonly items: readonly {
|
|
@@ -83,7 +83,7 @@ export declare const listVersions: ((input: {
|
|
|
83
83
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
84
84
|
readonly items: (input: {
|
|
85
85
|
readonly id: string;
|
|
86
|
-
readonly limit?:
|
|
86
|
+
readonly limit?: number | null | undefined;
|
|
87
87
|
readonly cursor?: string | null | undefined;
|
|
88
88
|
}) => import("effect/Stream").Stream<{
|
|
89
89
|
readonly id: string & import("effect/Brand").Brand<"ExtensionVersionId">;
|
|
@@ -91,7 +91,6 @@ export declare const Agent: Schema.Struct<{
|
|
|
91
91
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
92
92
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
93
93
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
94
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
95
94
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
96
95
|
readonly timeZone: Schema.String;
|
|
97
96
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -123,7 +122,6 @@ export declare const AgentVersion: Schema.Struct<{
|
|
|
123
122
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
124
123
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
125
124
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
126
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
127
125
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
128
126
|
readonly timeZone: Schema.String;
|
|
129
127
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -154,7 +152,6 @@ export declare const PublishAgentResponse: Schema.Struct<{
|
|
|
154
152
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
155
153
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
156
154
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
157
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
158
155
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
159
156
|
readonly timeZone: Schema.String;
|
|
160
157
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -180,7 +177,6 @@ export declare const PublishAgentResponse: Schema.Struct<{
|
|
|
180
177
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
181
178
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
182
179
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
183
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
184
180
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
185
181
|
readonly timeZone: Schema.String;
|
|
186
182
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -196,11 +192,11 @@ export declare const PublishAgentResponse: Schema.Struct<{
|
|
|
196
192
|
readonly published: Schema.Boolean;
|
|
197
193
|
}>;
|
|
198
194
|
export type AgentsListQuery = {
|
|
199
|
-
readonly limit?:
|
|
195
|
+
readonly limit?: number | null;
|
|
200
196
|
readonly cursor?: Cursor | null;
|
|
201
197
|
};
|
|
202
198
|
export declare const AgentsListQuery: Schema.Struct<{
|
|
203
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
199
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
204
200
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
205
201
|
}>;
|
|
206
202
|
export type AgentsList200 = AgentPage;
|
|
@@ -241,7 +237,6 @@ export declare const AgentsCreateRequestJson: Schema.Struct<{
|
|
|
241
237
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
242
238
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
243
239
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
244
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
245
240
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
246
241
|
readonly timeZone: Schema.String;
|
|
247
242
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -266,7 +261,6 @@ export declare const AgentsCreate201: Schema.Struct<{
|
|
|
266
261
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
267
262
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
268
263
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
269
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
270
264
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
271
265
|
readonly timeZone: Schema.String;
|
|
272
266
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -313,7 +307,6 @@ export declare const AgentsGet200: Schema.Struct<{
|
|
|
313
307
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
314
308
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
315
309
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
316
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
317
310
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
318
311
|
readonly timeZone: Schema.String;
|
|
319
312
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -389,7 +382,6 @@ export declare const AgentsUpdate200: Schema.Struct<{
|
|
|
389
382
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
390
383
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
391
384
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
392
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
393
385
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
394
386
|
readonly timeZone: Schema.String;
|
|
395
387
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -436,7 +428,6 @@ export declare const AgentsReplaceDraftRequestJson: Schema.Struct<{
|
|
|
436
428
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
437
429
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
438
430
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
439
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
440
431
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
441
432
|
readonly timeZone: Schema.String;
|
|
442
433
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -461,7 +452,6 @@ export declare const AgentsReplaceDraft200: Schema.Struct<{
|
|
|
461
452
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
462
453
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
463
454
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
464
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
465
455
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
466
456
|
readonly timeZone: Schema.String;
|
|
467
457
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -517,7 +507,6 @@ export declare const AgentsPublish200: Schema.Struct<{
|
|
|
517
507
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
518
508
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
519
509
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
520
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
521
510
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
522
511
|
readonly timeZone: Schema.String;
|
|
523
512
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -543,7 +532,6 @@ export declare const AgentsPublish200: Schema.Struct<{
|
|
|
543
532
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
544
533
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
545
534
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
546
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
547
535
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
548
536
|
readonly timeZone: Schema.String;
|
|
549
537
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -579,11 +567,11 @@ export declare const AgentsListVersionsPathParams: Schema.Struct<{
|
|
|
579
567
|
readonly id: Schema.brand<Schema.String, "AgentId">;
|
|
580
568
|
}>;
|
|
581
569
|
export type AgentsListVersionsQuery = {
|
|
582
|
-
readonly limit?:
|
|
570
|
+
readonly limit?: number | null;
|
|
583
571
|
readonly cursor?: VersionCursor | null;
|
|
584
572
|
};
|
|
585
573
|
export declare const AgentsListVersionsQuery: Schema.Struct<{
|
|
586
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
574
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
587
575
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
588
576
|
}>;
|
|
589
577
|
export type AgentsListVersions200 = AgentVersionPage;
|
|
@@ -626,7 +614,6 @@ export declare const AgentsGetVersion200: Schema.Struct<{
|
|
|
626
614
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
627
615
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
628
616
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
629
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
630
617
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
631
618
|
readonly timeZone: Schema.String;
|
|
632
619
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -661,7 +648,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
661
648
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
662
649
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
663
650
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
664
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
665
651
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
666
652
|
readonly timeZone: Schema.String;
|
|
667
653
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -684,7 +670,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
684
670
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
685
671
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
686
672
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
687
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
688
673
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
689
674
|
readonly timeZone: Schema.String;
|
|
690
675
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -793,7 +778,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
793
778
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
794
779
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
795
780
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
796
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
797
781
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
798
782
|
readonly timeZone: Schema.String;
|
|
799
783
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -901,7 +885,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
901
885
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
902
886
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
903
887
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
904
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
905
888
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
906
889
|
readonly timeZone: Schema.String;
|
|
907
890
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -994,7 +977,7 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
994
977
|
readonly message: Schema.String;
|
|
995
978
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
996
979
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"agentsList", "GET", "/v1/agents", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
997
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
980
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
998
981
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
999
982
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1000
983
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -1070,7 +1053,7 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1070
1053
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"agentsListVersions", "GET", "/v1/agents/:id/versions", Schema.toCodecStringTree<Schema.Struct<{
|
|
1071
1054
|
readonly id: Schema.brand<Schema.String, "AgentId">;
|
|
1072
1055
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1073
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1056
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1074
1057
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1075
1058
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1076
1059
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -1176,7 +1159,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1176
1159
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
1177
1160
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
1178
1161
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
1179
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
1180
1162
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
1181
1163
|
readonly timeZone: Schema.String;
|
|
1182
1164
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -1202,7 +1184,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1202
1184
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
1203
1185
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
1204
1186
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
1205
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
1206
1187
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
1207
1188
|
readonly timeZone: Schema.String;
|
|
1208
1189
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -1412,7 +1393,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1412
1393
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
1413
1394
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
1414
1395
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
1415
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
1416
1396
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
1417
1397
|
readonly timeZone: Schema.String;
|
|
1418
1398
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -1435,7 +1415,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1435
1415
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
1436
1416
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
1437
1417
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
1438
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
1439
1418
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
1440
1419
|
readonly timeZone: Schema.String;
|
|
1441
1420
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -1566,7 +1545,6 @@ declare const AgentsGroup_base: HttpApiGroup.HttpApiGroup<"Agents", HttpApiEndpo
|
|
|
1566
1545
|
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
1567
1546
|
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
1568
1547
|
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
1569
|
-
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
1570
1548
|
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
1571
1549
|
readonly timeZone: Schema.String;
|
|
1572
1550
|
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
@@ -55,7 +55,7 @@ const PublishAgentResponse = /* @__PURE__ */ Schema.Struct({
|
|
|
55
55
|
published: Schema.Boolean
|
|
56
56
|
}).annotate({ identifier: "PublishAgentResponse" });
|
|
57
57
|
const AgentsListQuery = /* @__PURE__ */ Schema.Struct({
|
|
58
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
58
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
59
59
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
|
|
60
60
|
});
|
|
61
61
|
const AgentsList200 = AgentPage;
|
|
@@ -76,7 +76,6 @@ const AgentsCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
76
76
|
integrationIds: [],
|
|
77
77
|
mode: "supervised",
|
|
78
78
|
model: "standard",
|
|
79
|
-
approvalPolicy: "toolActions",
|
|
80
79
|
workingHours: null,
|
|
81
80
|
takeoverTimeoutMinutes: 30
|
|
82
81
|
}
|
|
@@ -139,7 +138,7 @@ const AgentsPublish500 = InternalError;
|
|
|
139
138
|
const AgentsPublish504 = GatewayTimeoutError;
|
|
140
139
|
const AgentsListVersionsPathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
|
|
141
140
|
const AgentsListVersionsQuery = /* @__PURE__ */ Schema.Struct({
|
|
142
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
141
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
143
142
|
cursor: Schema.optionalKey(Schema.Union([VersionCursor, Schema.Null]))
|
|
144
143
|
});
|
|
145
144
|
const AgentsListVersions200 = AgentVersionPage;
|
|
@@ -182,13 +182,13 @@ export declare const AnalyticsGetStats504: typeof GatewayTimeoutError;
|
|
|
182
182
|
export type AnalyticsGetTopContactsQuery = {
|
|
183
183
|
readonly after?: __SamvaRuntimeAbsoluteInstant | null;
|
|
184
184
|
readonly before?: __SamvaRuntimeAbsoluteInstant | null;
|
|
185
|
-
readonly limit?:
|
|
185
|
+
readonly limit?: number | null;
|
|
186
186
|
readonly sortBy?: "sent" | "received" | "total" | null;
|
|
187
187
|
};
|
|
188
188
|
export declare const AnalyticsGetTopContactsQuery: Schema.Struct<{
|
|
189
189
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.decodeTo<Schema.Date, Schema.String, never, never>, Schema.Null]>>;
|
|
190
190
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.decodeTo<Schema.Date, Schema.String, never, never>, Schema.Null]>>;
|
|
191
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
191
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
192
192
|
readonly sortBy: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"sent">, Schema.Literal<"received">, Schema.Literal<"total">]>, Schema.Null]>>;
|
|
193
193
|
}>;
|
|
194
194
|
export type AnalyticsGetTopContacts200 = ReadonlyArray<{
|
|
@@ -629,7 +629,7 @@ declare const AnalyticsGroup_base: HttpApiGroup.HttpApiGroup<"Analytics", HttpAp
|
|
|
629
629
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"analyticsGetTopContacts", "GET", "/v1/analytics/top-contacts", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
630
630
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.decodeTo<Schema.Date, Schema.String, never, never>, Schema.Null]>>;
|
|
631
631
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.decodeTo<Schema.Date, Schema.String, never, never>, Schema.Null]>>;
|
|
632
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
632
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
633
633
|
readonly sortBy: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"sent">, Schema.Literal<"received">, Schema.Literal<"total">]>, Schema.Null]>>;
|
|
634
634
|
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
635
635
|
readonly id: Schema.String;
|
|
@@ -95,7 +95,7 @@ const AnalyticsGetStats504 = GatewayTimeoutError;
|
|
|
95
95
|
const AnalyticsGetTopContactsQuery = /* @__PURE__ */ Schema.Struct({
|
|
96
96
|
after: Schema.optionalKey(Schema.Union([AbsoluteInstant, Schema.Null])),
|
|
97
97
|
before: Schema.optionalKey(Schema.Union([AbsoluteInstant, Schema.Null])),
|
|
98
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
98
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
99
99
|
sortBy: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
100
100
|
Schema.Literal("sent"),
|
|
101
101
|
Schema.Literal("received"),
|
|
@@ -204,13 +204,13 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
204
204
|
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
205
205
|
}>;
|
|
206
206
|
export type ApiKeysListQuery = {
|
|
207
|
-
readonly limit?:
|
|
207
|
+
readonly limit?: number | null;
|
|
208
208
|
readonly cursor?: Cursor | null;
|
|
209
209
|
readonly status?: "active" | "revoked" | null;
|
|
210
210
|
readonly search?: string | null;
|
|
211
211
|
};
|
|
212
212
|
export declare const ApiKeysListQuery: Schema.Struct<{
|
|
213
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
213
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
214
214
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
215
215
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"revoked">]>, Schema.Null]>>;
|
|
216
216
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -514,11 +514,11 @@ export declare const ApiKeysGetActivityPathParams: Schema.Struct<{
|
|
|
514
514
|
readonly id: Schema.brand<Schema.String, "ApiKeyId">;
|
|
515
515
|
}>;
|
|
516
516
|
export type ApiKeysGetActivityQuery = {
|
|
517
|
-
readonly limit?:
|
|
517
|
+
readonly limit?: number | null;
|
|
518
518
|
readonly cursor?: Cursor | null;
|
|
519
519
|
};
|
|
520
520
|
export declare const ApiKeysGetActivityQuery: Schema.Struct<{
|
|
521
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
521
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
522
522
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
523
523
|
}>;
|
|
524
524
|
export type ApiKeysGetActivity200 = ApiKeyActivityPage;
|
|
@@ -1006,7 +1006,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1006
1006
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeysGetActivity", "GET", "/v1/api-keys/:id/activity", Schema.toCodecStringTree<Schema.Struct<{
|
|
1007
1007
|
readonly id: Schema.brand<Schema.String, "ApiKeyId">;
|
|
1008
1008
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1009
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1009
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1010
1010
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1011
1011
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1012
1012
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -1192,7 +1192,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1192
1192
|
readonly message: Schema.String;
|
|
1193
1193
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
1194
1194
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeysList", "GET", "/v1/api-keys", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1195
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1195
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1196
1196
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1197
1197
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"revoked">]>, Schema.Null]>>;
|
|
1198
1198
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -53,7 +53,7 @@ const ApiKeyPage = /* @__PURE__ */ Schema.Struct({
|
|
|
53
53
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
54
54
|
}).annotate({ identifier: "ApiKeyPage" });
|
|
55
55
|
const ApiKeysListQuery = /* @__PURE__ */ Schema.Struct({
|
|
56
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
56
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
57
57
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
58
58
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("revoked")]), Schema.Null])),
|
|
59
59
|
search: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
@@ -103,7 +103,7 @@ const ApiKeysUpdate500 = InternalError;
|
|
|
103
103
|
const ApiKeysUpdate504 = GatewayTimeoutError;
|
|
104
104
|
const ApiKeysGetActivityPathParams = /* @__PURE__ */ Schema.Struct({ id: ApiKeyId });
|
|
105
105
|
const ApiKeysGetActivityQuery = /* @__PURE__ */ Schema.Struct({
|
|
106
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
106
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
107
107
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
|
|
108
108
|
});
|
|
109
109
|
const ApiKeysGetActivity200 = ApiKeyActivityPage;
|
|
@@ -132,10 +132,10 @@ export declare const AttachmentsDownloadUrlPathParams: Schema.Struct<{
|
|
|
132
132
|
readonly id: Schema.brand<Schema.String, "AttachmentId">;
|
|
133
133
|
}>;
|
|
134
134
|
export type AttachmentsDownloadUrlQuery = {
|
|
135
|
-
readonly expiresIn?:
|
|
135
|
+
readonly expiresIn?: number | null;
|
|
136
136
|
};
|
|
137
137
|
export declare const AttachmentsDownloadUrlQuery: Schema.Struct<{
|
|
138
|
-
readonly expiresIn: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
138
|
+
readonly expiresIn: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
139
139
|
}>;
|
|
140
140
|
export type AttachmentsDownloadUrl200 = {
|
|
141
141
|
readonly url: string;
|
|
@@ -182,7 +182,7 @@ export declare const AttachmentsDownloadUrl504: typeof GatewayTimeoutError;
|
|
|
182
182
|
declare const AttachmentsGroup_base: HttpApiGroup.HttpApiGroup<"Attachments", HttpApiEndpoint.HttpApiEndpoint<"attachmentsDownloadUrl", "GET", "/v1/attachments/:id/download-url", Schema.toCodecStringTree<Schema.Struct<{
|
|
183
183
|
readonly id: Schema.brand<Schema.String, "AttachmentId">;
|
|
184
184
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
185
|
-
readonly expiresIn: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
185
|
+
readonly expiresIn: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
186
186
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
187
187
|
readonly url: Schema.String;
|
|
188
188
|
readonly expiresAt: Schema.String;
|
|
@@ -51,7 +51,7 @@ const AttachmentsRemove422 = ValidationError;
|
|
|
51
51
|
const AttachmentsRemove500 = InternalError;
|
|
52
52
|
const AttachmentsRemove504 = GatewayTimeoutError;
|
|
53
53
|
const AttachmentsDownloadUrlPathParams = /* @__PURE__ */ Schema.Struct({ id: AttachmentId });
|
|
54
|
-
const AttachmentsDownloadUrlQuery = /* @__PURE__ */ Schema.Struct({ expiresIn: Schema.optionalKey(Schema.Union([Schema.
|
|
54
|
+
const AttachmentsDownloadUrlQuery = /* @__PURE__ */ Schema.Struct({ expiresIn: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null])) });
|
|
55
55
|
const AttachmentsDownloadUrl200 = /* @__PURE__ */ Schema.Struct({
|
|
56
56
|
url: Schema.String,
|
|
57
57
|
expiresAt: Schema.String,
|
|
@@ -29,6 +29,7 @@ export declare const Brand: Schema.Struct<{
|
|
|
29
29
|
}>;
|
|
30
30
|
readonly footer: Schema.Struct<{
|
|
31
31
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
32
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
32
33
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
33
34
|
readonly street1: Schema.String;
|
|
34
35
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -63,6 +64,7 @@ export declare const BrandList: Schema.Struct<{
|
|
|
63
64
|
}>;
|
|
64
65
|
readonly footer: Schema.Struct<{
|
|
65
66
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
67
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
66
68
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
67
69
|
readonly street1: Schema.String;
|
|
68
70
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -96,6 +98,7 @@ export declare const BrandsList200: Schema.Struct<{
|
|
|
96
98
|
}>;
|
|
97
99
|
readonly footer: Schema.Struct<{
|
|
98
100
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
101
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
99
102
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
100
103
|
readonly street1: Schema.String;
|
|
101
104
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -143,6 +146,7 @@ export declare const BrandsCreateRequestJson: Schema.Struct<{
|
|
|
143
146
|
}>, Schema.Null]>>;
|
|
144
147
|
readonly footer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
145
148
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
149
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
146
150
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
147
151
|
readonly street1: Schema.String;
|
|
148
152
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -172,6 +176,7 @@ export declare const BrandsCreate201: Schema.Struct<{
|
|
|
172
176
|
}>;
|
|
173
177
|
readonly footer: Schema.Struct<{
|
|
174
178
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
179
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
175
180
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
176
181
|
readonly street1: Schema.String;
|
|
177
182
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -221,6 +226,7 @@ export declare const BrandsGet200: Schema.Struct<{
|
|
|
221
226
|
}>;
|
|
222
227
|
readonly footer: Schema.Struct<{
|
|
223
228
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
229
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
224
230
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
225
231
|
readonly street1: Schema.String;
|
|
226
232
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -298,6 +304,7 @@ export declare const BrandsUpdateRequestJson: Schema.Struct<{
|
|
|
298
304
|
}>, Schema.Null]>>;
|
|
299
305
|
readonly footer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
300
306
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
307
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
301
308
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
302
309
|
readonly street1: Schema.String;
|
|
303
310
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -326,6 +333,7 @@ export declare const BrandsUpdate200: Schema.Struct<{
|
|
|
326
333
|
}>;
|
|
327
334
|
readonly footer: Schema.Struct<{
|
|
328
335
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
336
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
329
337
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
330
338
|
readonly street1: Schema.String;
|
|
331
339
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -377,6 +385,7 @@ export declare const BrandsSetDefault200: Schema.Struct<{
|
|
|
377
385
|
}>;
|
|
378
386
|
readonly footer: Schema.Struct<{
|
|
379
387
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
388
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
380
389
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
381
390
|
readonly street1: Schema.String;
|
|
382
391
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -417,6 +426,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
417
426
|
}>, Schema.Null]>>;
|
|
418
427
|
readonly footer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
419
428
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
429
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
420
430
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
421
431
|
readonly street1: Schema.String;
|
|
422
432
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -444,6 +454,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
444
454
|
}>;
|
|
445
455
|
readonly footer: Schema.Struct<{
|
|
446
456
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
457
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
447
458
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
448
459
|
readonly street1: Schema.String;
|
|
449
460
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -555,6 +566,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
555
566
|
}>;
|
|
556
567
|
readonly footer: Schema.Struct<{
|
|
557
568
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
569
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
558
570
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
559
571
|
readonly street1: Schema.String;
|
|
560
572
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -665,6 +677,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
665
677
|
}>;
|
|
666
678
|
readonly footer: Schema.Struct<{
|
|
667
679
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
680
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
668
681
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
669
682
|
readonly street1: Schema.String;
|
|
670
683
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -861,6 +874,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
861
874
|
}>;
|
|
862
875
|
readonly footer: Schema.Struct<{
|
|
863
876
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
877
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
864
878
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
865
879
|
readonly street1: Schema.String;
|
|
866
880
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -970,6 +984,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
970
984
|
}>, Schema.Null]>>;
|
|
971
985
|
readonly footer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
972
986
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
987
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
973
988
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
974
989
|
readonly street1: Schema.String;
|
|
975
990
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -996,6 +1011,7 @@ declare const BrandsGroup_base: HttpApiGroup.HttpApiGroup<"Brands", HttpApiEndpo
|
|
|
996
1011
|
}>;
|
|
997
1012
|
readonly footer: Schema.Struct<{
|
|
998
1013
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1014
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
999
1015
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1000
1016
|
readonly street1: Schema.String;
|
|
1001
1017
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|