@embedreach/components 0.3.44 → 0.3.46
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/chunks/index.js +4248 -5569
- package/dist/chunks/sandbox-loading-screen.js +2691 -1480
- package/dist/index.d.ts +60 -11
- package/dist/index.es.js +7 -7
- package/dist/index.umd.js +14 -14
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -106,9 +106,7 @@ declare type DynamicMergeField = ReachMergeFieldBase & {
|
|
|
106
106
|
url: string;
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export declare const Engage: (
|
|
110
|
-
sandbox?: boolean;
|
|
111
|
-
}) => JSX_2.Element;
|
|
109
|
+
export declare const Engage: () => JSX_2.Element;
|
|
112
110
|
|
|
113
111
|
declare interface EngageTypedOverrides {
|
|
114
112
|
user?: string;
|
|
@@ -197,6 +195,7 @@ export declare interface ReachConfig {
|
|
|
197
195
|
hideFeature?: {
|
|
198
196
|
[ReachFeature.ENGAGE]: {
|
|
199
197
|
sms?: boolean;
|
|
198
|
+
sales?: boolean;
|
|
200
199
|
};
|
|
201
200
|
};
|
|
202
201
|
/**
|
|
@@ -296,7 +295,7 @@ declare interface SMSSetupBusinessFormRef {
|
|
|
296
295
|
declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
297
296
|
type: z.ZodLiteral<SmsRegistrationApplicationType>;
|
|
298
297
|
tollFreeNumber: z.ZodString;
|
|
299
|
-
company: z.ZodEffects<z.ZodObject<{
|
|
298
|
+
company: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
300
299
|
name: z.ZodString;
|
|
301
300
|
address1: z.ZodString;
|
|
302
301
|
address2: z.ZodOptional<z.ZodString>;
|
|
@@ -305,7 +304,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
305
304
|
zipCode: z.ZodString;
|
|
306
305
|
country: z.ZodString;
|
|
307
306
|
businessRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
308
|
-
|
|
307
|
+
businessRegistrationAuthority: z.ZodOptional<z.ZodEnum<["EIN", "DUNS", "CCN", "CN"]>>;
|
|
308
|
+
businessRegistrationCountry: z.ZodOptional<z.ZodString>;
|
|
309
|
+
businessType: z.ZodOptional<z.ZodEnum<["SOLE_PROPRIETOR", "PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT"]>>;
|
|
309
310
|
}, "strip", z.ZodTypeAny, {
|
|
310
311
|
name: string;
|
|
311
312
|
country: string;
|
|
@@ -315,7 +316,33 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
315
316
|
zipCode: string;
|
|
316
317
|
address2?: string | undefined;
|
|
317
318
|
businessRegistrationNumber?: string | undefined;
|
|
318
|
-
|
|
319
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
320
|
+
businessRegistrationCountry?: string | undefined;
|
|
321
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
322
|
+
}, {
|
|
323
|
+
name: string;
|
|
324
|
+
country: string;
|
|
325
|
+
address1: string;
|
|
326
|
+
city: string;
|
|
327
|
+
stateProvince: string;
|
|
328
|
+
zipCode: string;
|
|
329
|
+
address2?: string | undefined;
|
|
330
|
+
businessRegistrationNumber?: string | undefined;
|
|
331
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
332
|
+
businessRegistrationCountry?: string | undefined;
|
|
333
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
334
|
+
}>, {
|
|
335
|
+
name: string;
|
|
336
|
+
country: string;
|
|
337
|
+
address1: string;
|
|
338
|
+
city: string;
|
|
339
|
+
stateProvince: string;
|
|
340
|
+
zipCode: string;
|
|
341
|
+
address2?: string | undefined;
|
|
342
|
+
businessRegistrationNumber?: string | undefined;
|
|
343
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
344
|
+
businessRegistrationCountry?: string | undefined;
|
|
345
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
319
346
|
}, {
|
|
320
347
|
name: string;
|
|
321
348
|
country: string;
|
|
@@ -325,7 +352,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
325
352
|
zipCode: string;
|
|
326
353
|
address2?: string | undefined;
|
|
327
354
|
businessRegistrationNumber?: string | undefined;
|
|
328
|
-
|
|
355
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
356
|
+
businessRegistrationCountry?: string | undefined;
|
|
357
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
329
358
|
}>, {
|
|
330
359
|
name: string;
|
|
331
360
|
country: string;
|
|
@@ -335,7 +364,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
335
364
|
zipCode: string;
|
|
336
365
|
address2?: string | undefined;
|
|
337
366
|
businessRegistrationNumber?: string | undefined;
|
|
338
|
-
|
|
367
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
368
|
+
businessRegistrationCountry?: string | undefined;
|
|
369
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
339
370
|
}, {
|
|
340
371
|
name: string;
|
|
341
372
|
country: string;
|
|
@@ -345,7 +376,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
345
376
|
zipCode: string;
|
|
346
377
|
address2?: string | undefined;
|
|
347
378
|
businessRegistrationNumber?: string | undefined;
|
|
348
|
-
|
|
379
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
380
|
+
businessRegistrationCountry?: string | undefined;
|
|
381
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
349
382
|
}>;
|
|
350
383
|
contact: z.ZodObject<{
|
|
351
384
|
firstName: z.ZodString;
|
|
@@ -377,6 +410,10 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
377
410
|
useCaseDetails: string;
|
|
378
411
|
}>;
|
|
379
412
|
messageSamples: z.ZodArray<z.ZodString, "many">;
|
|
413
|
+
doingBusinessAs: z.ZodOptional<z.ZodString>;
|
|
414
|
+
optInConfirmationMessage: z.ZodOptional<z.ZodString>;
|
|
415
|
+
helpMessageSample: z.ZodOptional<z.ZodString>;
|
|
416
|
+
optInKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
380
417
|
}, "strip", z.ZodTypeAny, {
|
|
381
418
|
type: SmsRegistrationApplicationType;
|
|
382
419
|
company: {
|
|
@@ -388,7 +425,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
388
425
|
zipCode: string;
|
|
389
426
|
address2?: string | undefined;
|
|
390
427
|
businessRegistrationNumber?: string | undefined;
|
|
391
|
-
|
|
428
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
429
|
+
businessRegistrationCountry?: string | undefined;
|
|
430
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
392
431
|
};
|
|
393
432
|
contact: {
|
|
394
433
|
email: string;
|
|
@@ -403,6 +442,10 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
403
442
|
useCaseDetails: string;
|
|
404
443
|
};
|
|
405
444
|
messageSamples: string[];
|
|
445
|
+
doingBusinessAs?: string | undefined;
|
|
446
|
+
optInConfirmationMessage?: string | undefined;
|
|
447
|
+
helpMessageSample?: string | undefined;
|
|
448
|
+
optInKeywords?: string[] | undefined;
|
|
406
449
|
}, {
|
|
407
450
|
type: SmsRegistrationApplicationType;
|
|
408
451
|
company: {
|
|
@@ -414,7 +457,9 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
414
457
|
zipCode: string;
|
|
415
458
|
address2?: string | undefined;
|
|
416
459
|
businessRegistrationNumber?: string | undefined;
|
|
417
|
-
|
|
460
|
+
businessRegistrationAuthority?: "CN" | "EIN" | "DUNS" | "CCN" | undefined;
|
|
461
|
+
businessRegistrationCountry?: string | undefined;
|
|
462
|
+
businessType?: "SOLE_PROPRIETOR" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT" | undefined;
|
|
418
463
|
};
|
|
419
464
|
contact: {
|
|
420
465
|
email: string;
|
|
@@ -429,6 +474,10 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
429
474
|
useCaseDetails: string;
|
|
430
475
|
};
|
|
431
476
|
messageSamples: string[];
|
|
477
|
+
doingBusinessAs?: string | undefined;
|
|
478
|
+
optInConfirmationMessage?: string | undefined;
|
|
479
|
+
helpMessageSample?: string | undefined;
|
|
480
|
+
optInKeywords?: string[] | undefined;
|
|
432
481
|
}>]>;
|
|
433
482
|
|
|
434
483
|
/**
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a, e, f, E, d, c, g, V } from "./chunks/index.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
a as AutomationTriggerType,
|
|
6
|
+
e as CreateAutomationDialog,
|
|
7
|
+
f as CreateAutomationModal,
|
|
8
8
|
E as Engage,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
d as ReachProvider,
|
|
10
|
+
c as SMSOnboarding,
|
|
11
|
+
g as SegmentBuilderDialog,
|
|
12
12
|
V as ViewAutomationModal
|
|
13
13
|
};
|