@medalsocial/sdk 1.1.2 → 1.1.3
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/pilot/index.d.mts +8 -8
- package/dist/pilot/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/pilot/index.d.mts
CHANGED
|
@@ -10,14 +10,14 @@ declare const SendEmailSchema: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
template_slug: string;
|
|
12
12
|
to: string;
|
|
13
|
-
name?: string | undefined;
|
|
14
13
|
locale?: string | undefined;
|
|
14
|
+
name?: string | undefined;
|
|
15
15
|
variables?: Record<string, string> | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
template_slug: string;
|
|
18
18
|
to: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
19
|
locale?: string | undefined;
|
|
20
|
+
name?: string | undefined;
|
|
21
21
|
variables?: Record<string, string> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
declare const CreateContactSchema: z.ZodObject<{
|
|
@@ -168,14 +168,14 @@ declare const RecordConsentSchema: z.ZodObject<{
|
|
|
168
168
|
source: z.ZodOptional<z.ZodString>;
|
|
169
169
|
ip_address: z.ZodOptional<z.ZodString>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
email: string;
|
|
172
171
|
granted: boolean;
|
|
172
|
+
email: string;
|
|
173
173
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
174
174
|
source?: string | undefined;
|
|
175
175
|
ip_address?: string | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
email: string;
|
|
178
177
|
granted: boolean;
|
|
178
|
+
email: string;
|
|
179
179
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
180
180
|
source?: string | undefined;
|
|
181
181
|
ip_address?: string | undefined;
|
|
@@ -214,14 +214,14 @@ declare function createMedalTools(client: Medal): {
|
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
template_slug: string;
|
|
216
216
|
to: string;
|
|
217
|
-
name?: string | undefined;
|
|
218
217
|
locale?: string | undefined;
|
|
218
|
+
name?: string | undefined;
|
|
219
219
|
variables?: Record<string, string> | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
template_slug: string;
|
|
222
222
|
to: string;
|
|
223
|
-
name?: string | undefined;
|
|
224
223
|
locale?: string | undefined;
|
|
224
|
+
name?: string | undefined;
|
|
225
225
|
variables?: Record<string, string> | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
execute: (args: z.infer<typeof SendEmailSchema>) => Promise<ApiResponse<EmailSendResult>>;
|
|
@@ -391,14 +391,14 @@ declare function createMedalTools(client: Medal): {
|
|
|
391
391
|
source: z.ZodOptional<z.ZodString>;
|
|
392
392
|
ip_address: z.ZodOptional<z.ZodString>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
email: string;
|
|
395
394
|
granted: boolean;
|
|
395
|
+
email: string;
|
|
396
396
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
397
397
|
source?: string | undefined;
|
|
398
398
|
ip_address?: string | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
email: string;
|
|
401
400
|
granted: boolean;
|
|
401
|
+
email: string;
|
|
402
402
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
403
403
|
source?: string | undefined;
|
|
404
404
|
ip_address?: string | undefined;
|
package/dist/pilot/index.d.ts
CHANGED
|
@@ -10,14 +10,14 @@ declare const SendEmailSchema: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
template_slug: string;
|
|
12
12
|
to: string;
|
|
13
|
-
name?: string | undefined;
|
|
14
13
|
locale?: string | undefined;
|
|
14
|
+
name?: string | undefined;
|
|
15
15
|
variables?: Record<string, string> | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
template_slug: string;
|
|
18
18
|
to: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
19
|
locale?: string | undefined;
|
|
20
|
+
name?: string | undefined;
|
|
21
21
|
variables?: Record<string, string> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
declare const CreateContactSchema: z.ZodObject<{
|
|
@@ -168,14 +168,14 @@ declare const RecordConsentSchema: z.ZodObject<{
|
|
|
168
168
|
source: z.ZodOptional<z.ZodString>;
|
|
169
169
|
ip_address: z.ZodOptional<z.ZodString>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
email: string;
|
|
172
171
|
granted: boolean;
|
|
172
|
+
email: string;
|
|
173
173
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
174
174
|
source?: string | undefined;
|
|
175
175
|
ip_address?: string | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
email: string;
|
|
178
177
|
granted: boolean;
|
|
178
|
+
email: string;
|
|
179
179
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
180
180
|
source?: string | undefined;
|
|
181
181
|
ip_address?: string | undefined;
|
|
@@ -214,14 +214,14 @@ declare function createMedalTools(client: Medal): {
|
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
template_slug: string;
|
|
216
216
|
to: string;
|
|
217
|
-
name?: string | undefined;
|
|
218
217
|
locale?: string | undefined;
|
|
218
|
+
name?: string | undefined;
|
|
219
219
|
variables?: Record<string, string> | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
template_slug: string;
|
|
222
222
|
to: string;
|
|
223
|
-
name?: string | undefined;
|
|
224
223
|
locale?: string | undefined;
|
|
224
|
+
name?: string | undefined;
|
|
225
225
|
variables?: Record<string, string> | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
execute: (args: z.infer<typeof SendEmailSchema>) => Promise<ApiResponse<EmailSendResult>>;
|
|
@@ -391,14 +391,14 @@ declare function createMedalTools(client: Medal): {
|
|
|
391
391
|
source: z.ZodOptional<z.ZodString>;
|
|
392
392
|
ip_address: z.ZodOptional<z.ZodString>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
email: string;
|
|
395
394
|
granted: boolean;
|
|
395
|
+
email: string;
|
|
396
396
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
397
397
|
source?: string | undefined;
|
|
398
398
|
ip_address?: string | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
email: string;
|
|
401
400
|
granted: boolean;
|
|
401
|
+
email: string;
|
|
402
402
|
consent_type: "marketing_email" | "analytics_tracking" | "third_party_sharing";
|
|
403
403
|
source?: string | undefined;
|
|
404
404
|
ip_address?: string | undefined;
|
package/package.json
CHANGED