samva 0.22.0 → 0.23.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/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +10 -3
- package/dist/client/sdk.gen.js +21 -2
- package/dist/client/types.gen.d.ts +69 -12
- package/dist/effect/analytics.d.ts +6 -41
- package/dist/effect/api-keys.d.ts +8 -236
- package/dist/effect/attachments.d.ts +4 -43
- package/dist/effect/brands.d.ts +6 -155
- package/dist/effect/campaigns.d.ts +12 -868
- package/dist/effect/contact-groups.d.ts +10 -135
- package/dist/effect/contacts.d.ts +21 -727
- package/dist/effect/conversations.d.ts +13 -681
- package/dist/effect/custom-fields.d.ts +4 -44
- package/dist/effect/email.d.ts +61 -1299
- package/dist/effect/events.d.ts +2 -32
- package/dist/effect/extension-installations.d.ts +9 -213
- package/dist/effect/extensions.d.ts +5 -95
- package/dist/effect/feedback.d.ts +1 -4
- package/dist/effect/generated/analytics.js +8 -8
- package/dist/effect/generated/api-keys.js +4 -4
- package/dist/effect/generated/attachments.js +3 -3
- package/dist/effect/generated/contact-groups.js +11 -11
- package/dist/effect/generated/contacts.js +16 -16
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/custom-fields.js +5 -5
- package/dist/effect/generated/email.js +32 -32
- package/dist/effect/generated/events.js +4 -4
- package/dist/effect/generated/extension-installations.js +4 -4
- package/dist/effect/generated/extensions.js +1 -1
- package/dist/effect/generated/journeys.js +12 -12
- package/dist/effect/generated/mailboxes.js +10 -10
- package/dist/effect/generated/messages.js +4 -4
- package/dist/effect/generated/organizations.d.ts +116 -9
- package/dist/effect/generated/organizations.js +31 -6
- package/dist/effect/generated/shared.js +1 -1
- package/dist/effect/generated/templates.d.ts +37 -72
- package/dist/effect/generated/templates.js +121 -122
- package/dist/effect/generated/unsubscribe-groups.js +7 -7
- package/dist/effect/generated/webhooks.js +17 -17
- package/dist/effect/generated-metadata.d.ts +5 -0
- package/dist/effect/generated-metadata.js +1 -0
- package/dist/effect/internal/client.d.ts +5 -1
- package/dist/effect/internal/operation.d.ts +3 -3
- package/dist/effect/internal/send.d.ts +3 -3
- package/dist/effect/journeys.d.ts +167 -1836
- package/dist/effect/mailboxes.d.ts +60 -2362
- package/dist/effect/media.d.ts +5 -66
- package/dist/effect/messages.d.ts +9 -264
- package/dist/effect/namespaces.d.ts +8 -55
- package/dist/effect/operations.d.ts +3 -84
- package/dist/effect/organizations.d.ts +9 -161
- package/dist/effect/organizations.js +3 -1
- package/dist/effect/scheduled-messages.d.ts +5 -401
- package/dist/effect/subscriptions.d.ts +1 -4
- package/dist/effect/templates.d.ts +34 -1506
- package/dist/effect/unsubscribe-groups.d.ts +9 -70
- package/dist/effect/webhooks.d.ts +11 -141
- package/dist/effect/whoami.d.ts +1 -46
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +4 -0
- package/dist/service-map.js +1 -0
- package/package.json +7 -7
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
export declare const list: (_?: never) => import("
|
|
2
|
-
readonly items: readonly {
|
|
3
|
-
readonly id: string & import("effect/Brand").Brand<"CustomFieldDefinitionId">;
|
|
4
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
5
|
-
readonly key: string;
|
|
6
|
-
readonly label: string;
|
|
7
|
-
readonly type: "boolean" | "date" | "number" | "select" | "text";
|
|
8
|
-
readonly options: readonly string[] | null;
|
|
9
|
-
readonly defaultValue: string | null;
|
|
10
|
-
readonly isRequired: boolean;
|
|
11
|
-
readonly sortOrder: number;
|
|
12
|
-
readonly createdAt: string;
|
|
13
|
-
readonly updatedAt: string;
|
|
14
|
-
}[];
|
|
15
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1
|
+
export declare const list: (_?: never) => import("./internal/operation").OperationResult<"customFieldsList">;
|
|
16
2
|
export declare const create: (input: {
|
|
17
3
|
readonly key: string;
|
|
18
4
|
readonly label: string;
|
|
@@ -21,19 +7,7 @@ export declare const create: (input: {
|
|
|
21
7
|
readonly defaultValue?: string | null | undefined;
|
|
22
8
|
readonly isRequired?: boolean | null | undefined;
|
|
23
9
|
readonly sortOrder?: number | null | undefined;
|
|
24
|
-
}) => import("
|
|
25
|
-
readonly id: string & import("effect/Brand").Brand<"CustomFieldDefinitionId">;
|
|
26
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
27
|
-
readonly key: string;
|
|
28
|
-
readonly label: string;
|
|
29
|
-
readonly type: "boolean" | "date" | "number" | "select" | "text";
|
|
30
|
-
readonly options: readonly string[] | null;
|
|
31
|
-
readonly defaultValue: string | null;
|
|
32
|
-
readonly isRequired: boolean;
|
|
33
|
-
readonly sortOrder: number;
|
|
34
|
-
readonly createdAt: string;
|
|
35
|
-
readonly updatedAt: string;
|
|
36
|
-
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
10
|
+
}) => import("./internal/operation").OperationResult<"customFieldsCreate">;
|
|
37
11
|
export declare const update: (input: {
|
|
38
12
|
readonly id: string;
|
|
39
13
|
readonly label?: string | null | undefined;
|
|
@@ -41,21 +15,7 @@ export declare const update: (input: {
|
|
|
41
15
|
readonly defaultValue?: string | null | undefined;
|
|
42
16
|
readonly isRequired?: boolean | null | undefined;
|
|
43
17
|
readonly sortOrder?: number | null | undefined;
|
|
44
|
-
}) => import("
|
|
45
|
-
readonly id: string & import("effect/Brand").Brand<"CustomFieldDefinitionId">;
|
|
46
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
47
|
-
readonly key: string;
|
|
48
|
-
readonly label: string;
|
|
49
|
-
readonly type: "boolean" | "date" | "number" | "select" | "text";
|
|
50
|
-
readonly options: readonly string[] | null;
|
|
51
|
-
readonly defaultValue: string | null;
|
|
52
|
-
readonly isRequired: boolean;
|
|
53
|
-
readonly sortOrder: number;
|
|
54
|
-
readonly createdAt: string;
|
|
55
|
-
readonly updatedAt: string;
|
|
56
|
-
}, 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>;
|
|
18
|
+
}) => import("./internal/operation").OperationResult<"customFieldsUpdate">;
|
|
57
19
|
export declare const remove: (input: {
|
|
58
20
|
readonly id: string;
|
|
59
|
-
}) => import("
|
|
60
|
-
readonly success: boolean;
|
|
61
|
-
}, 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>;
|
|
21
|
+
}) => import("./internal/operation").OperationResult<"customFieldsRemove">;
|