@adminiumjs/manifest 0.3.75 → 0.3.76
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/automations.d.ts +124 -0
- package/dist/automations.d.ts.map +1 -1
- package/dist/automations.js +61 -1
- package/dist/automations.js.map +1 -1
- package/dist/compose.js +1 -1
- package/dist/compose.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/instance.d.ts +2 -1
- package/dist/instance.d.ts.map +1 -1
- package/dist/instance.js +1 -0
- package/dist/instance.js.map +1 -1
- package/dist/outbox.d.ts +20 -2
- package/dist/outbox.d.ts.map +1 -1
- package/dist/outbox.js +77 -5
- package/dist/outbox.js.map +1 -1
- package/dist/people.d.ts +58 -2
- package/dist/people.d.ts.map +1 -1
- package/dist/people.js +64 -3
- package/dist/people.js.map +1 -1
- package/dist/public-access.d.ts +23 -4
- package/dist/public-access.d.ts.map +1 -1
- package/dist/public-access.js +15 -6
- package/dist/public-access.js.map +1 -1
- package/dist/schema.d.ts +276 -9
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +24 -2
- package/dist/schema.js.map +1 -1
- package/dist/text-messages.d.ts +123 -0
- package/dist/text-messages.d.ts.map +1 -0
- package/dist/text-messages.js +314 -0
- package/dist/text-messages.js.map +1 -0
- package/dist/words.d.ts +6 -1
- package/dist/words.d.ts.map +1 -1
- package/dist/words.js +70 -0
- package/dist/words.js.map +1 -1
- package/package.json +2 -2
package/dist/schema.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { belongsSchema, type RoleAddOnTable, type RoleShape } from './roles.js';
|
|
|
23
23
|
import { type States } from './states.js';
|
|
24
24
|
import { labelsSchema } from './refs.js';
|
|
25
25
|
import { compareSemver } from './semver.js';
|
|
26
|
+
import { textTemplateSchema } from './text-messages.js';
|
|
27
|
+
import { type PublicTextConsent } from './people.js';
|
|
26
28
|
import { type ManifestAutomation } from './automations.js';
|
|
27
29
|
import { adjustSchema, type Adjuster } from './adjust.js';
|
|
28
30
|
import { checkSchema, type Checker } from './check.js';
|
|
@@ -7219,6 +7221,7 @@ export declare function appReferenceIssues(m: {
|
|
|
7219
7221
|
roles?: readonly RoleShape[] | undefined;
|
|
7220
7222
|
outbox?: z.infer<typeof outboxSchema> | undefined;
|
|
7221
7223
|
emailTemplates?: readonly z.infer<typeof emailTemplateSchema>[] | undefined;
|
|
7224
|
+
textTemplates?: readonly z.infer<typeof textTemplateSchema>[] | undefined;
|
|
7222
7225
|
addOns?: AddOnNeeds | undefined;
|
|
7223
7226
|
documents?: readonly AppDocument[] | undefined;
|
|
7224
7227
|
pages?: readonly {
|
|
@@ -7456,6 +7459,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7456
7459
|
companies: "companies";
|
|
7457
7460
|
}>;
|
|
7458
7461
|
email: z.ZodOptional<z.ZodString>;
|
|
7462
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
7459
7463
|
name: z.ZodOptional<z.ZodString>;
|
|
7460
7464
|
company: z.ZodOptional<z.ZodString>;
|
|
7461
7465
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -7649,6 +7653,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7649
7653
|
"chat-reply": "chat-reply";
|
|
7650
7654
|
"connect-link": "connect-link";
|
|
7651
7655
|
"account-connected": "account-connected";
|
|
7656
|
+
"text-marketing-confirm": "text-marketing-confirm";
|
|
7652
7657
|
}>;
|
|
7653
7658
|
locale: z.ZodString;
|
|
7654
7659
|
content: z.ZodObject<{
|
|
@@ -7902,6 +7907,17 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7902
7907
|
showLines: z.ZodOptional<z.ZodBoolean>;
|
|
7903
7908
|
}, z.core.$strict>>;
|
|
7904
7909
|
}, z.core.$strict>>;
|
|
7910
|
+
textTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7911
|
+
key: z.ZodString;
|
|
7912
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
7913
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7914
|
+
body: z.ZodString;
|
|
7915
|
+
}, z.core.$strict>>;
|
|
7916
|
+
}, z.core.$strict>>>;
|
|
7917
|
+
textReplies: z.ZodOptional<z.ZodEnum<{
|
|
7918
|
+
on: "on";
|
|
7919
|
+
off: "off";
|
|
7920
|
+
}>>;
|
|
7905
7921
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7906
7922
|
key: z.ZodString;
|
|
7907
7923
|
name: z.ZodString;
|
|
@@ -8285,6 +8301,25 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8285
8301
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8286
8302
|
}, z.core.$strict>;
|
|
8287
8303
|
}, z.core.$strict>>;
|
|
8304
|
+
textConsent: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
|
|
8305
|
+
column: string;
|
|
8306
|
+
phone: string;
|
|
8307
|
+
class: "marketing" | "service";
|
|
8308
|
+
wording: {
|
|
8309
|
+
version: number;
|
|
8310
|
+
text: Record<string, string>;
|
|
8311
|
+
};
|
|
8312
|
+
means?: "yes" | "no" | undefined;
|
|
8313
|
+
} | {
|
|
8314
|
+
column: string;
|
|
8315
|
+
phone: string;
|
|
8316
|
+
class: "marketing" | "service";
|
|
8317
|
+
wording: {
|
|
8318
|
+
version: number;
|
|
8319
|
+
text: Record<string, string>;
|
|
8320
|
+
};
|
|
8321
|
+
means?: "yes" | "no" | undefined;
|
|
8322
|
+
}[], unknown>>>;
|
|
8288
8323
|
appColumn: z.ZodOptional<z.ZodString>;
|
|
8289
8324
|
heldBy: z.ZodOptional<z.ZodObject<{
|
|
8290
8325
|
address: z.ZodString;
|
|
@@ -8716,20 +8751,27 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8716
8751
|
effectError: z.ZodOptional<z.ZodString>;
|
|
8717
8752
|
repeatKey: z.ZodOptional<z.ZodString>;
|
|
8718
8753
|
was: z.ZodOptional<z.ZodString>;
|
|
8754
|
+
textReason: z.ZodOptional<z.ZodString>;
|
|
8719
8755
|
}, z.core.$strict>;
|
|
8720
8756
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8721
8757
|
recipient: z.ZodObject<{
|
|
8722
8758
|
via: z.ZodString;
|
|
8723
8759
|
table: z.ZodString;
|
|
8724
|
-
email: z.ZodString
|
|
8760
|
+
email: z.ZodOptional<z.ZodString>;
|
|
8725
8761
|
name: z.ZodOptional<z.ZodString>;
|
|
8726
8762
|
language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8727
8763
|
column: z.ZodString;
|
|
8728
8764
|
}, z.core.$strict>]>>;
|
|
8729
8765
|
optIn: z.ZodOptional<z.ZodString>;
|
|
8766
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
8767
|
+
textPhone: z.ZodOptional<z.ZodObject<{
|
|
8768
|
+
via: z.ZodString;
|
|
8769
|
+
column: z.ZodString;
|
|
8770
|
+
}, z.core.$strict>>;
|
|
8730
8771
|
fallback: z.ZodOptional<z.ZodObject<{
|
|
8731
8772
|
via: z.ZodString;
|
|
8732
|
-
email: z.ZodString
|
|
8773
|
+
email: z.ZodOptional<z.ZodString>;
|
|
8774
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
8733
8775
|
name: z.ZodOptional<z.ZodString>;
|
|
8734
8776
|
language: z.ZodOptional<z.ZodString>;
|
|
8735
8777
|
}, z.core.$strict>>;
|
|
@@ -8739,6 +8781,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8739
8781
|
enabled: z.ZodOptional<z.ZodString>;
|
|
8740
8782
|
name: z.ZodOptional<z.ZodString>;
|
|
8741
8783
|
phone: z.ZodOptional<z.ZodString>;
|
|
8784
|
+
textName: z.ZodOptional<z.ZodString>;
|
|
8742
8785
|
replyTo: z.ZodOptional<z.ZodString>;
|
|
8743
8786
|
}, z.core.$strict>>;
|
|
8744
8787
|
pages: z.ZodOptional<z.ZodObject<{
|
|
@@ -8751,6 +8794,11 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8751
8794
|
marketing: "marketing";
|
|
8752
8795
|
service: "service";
|
|
8753
8796
|
}>>>;
|
|
8797
|
+
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
8798
|
+
email: "email";
|
|
8799
|
+
sms: "sms";
|
|
8800
|
+
}>>>;
|
|
8801
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8754
8802
|
purposes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
8755
8803
|
newsletter: "newsletter";
|
|
8756
8804
|
surveys: "surveys";
|
|
@@ -9791,6 +9839,15 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
9791
9839
|
kind: z.ZodString;
|
|
9792
9840
|
addOn: z.ZodOptional<z.ZodString>;
|
|
9793
9841
|
}, z.core.$strict>;
|
|
9842
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9843
|
+
kind: z.ZodLiteral<"text">;
|
|
9844
|
+
templateKey: z.ZodString;
|
|
9845
|
+
to: z.ZodObject<{
|
|
9846
|
+
kind: z.ZodLiteral<"field">;
|
|
9847
|
+
column: z.ZodString;
|
|
9848
|
+
}, z.core.$strict>;
|
|
9849
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9850
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
9794
9851
|
}, z.core.$strict>, z.ZodObject<{
|
|
9795
9852
|
kind: z.ZodLiteral<"add-on.step">;
|
|
9796
9853
|
addOn: z.ZodString;
|
|
@@ -10163,6 +10220,15 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
10163
10220
|
kind: z.ZodString;
|
|
10164
10221
|
addOn: z.ZodOptional<z.ZodString>;
|
|
10165
10222
|
}, z.core.$strict>;
|
|
10223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10224
|
+
kind: z.ZodLiteral<"text">;
|
|
10225
|
+
templateKey: z.ZodString;
|
|
10226
|
+
to: z.ZodObject<{
|
|
10227
|
+
kind: z.ZodLiteral<"field">;
|
|
10228
|
+
column: z.ZodString;
|
|
10229
|
+
}, z.core.$strict>;
|
|
10230
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10231
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
10166
10232
|
}, z.core.$strict>, z.ZodObject<{
|
|
10167
10233
|
kind: z.ZodLiteral<"add-on.step">;
|
|
10168
10234
|
addOn: z.ZodString;
|
|
@@ -10462,6 +10528,15 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
10462
10528
|
kind: z.ZodString;
|
|
10463
10529
|
addOn: z.ZodOptional<z.ZodString>;
|
|
10464
10530
|
}, z.core.$strict>;
|
|
10531
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10532
|
+
kind: z.ZodLiteral<"text">;
|
|
10533
|
+
templateKey: z.ZodString;
|
|
10534
|
+
to: z.ZodObject<{
|
|
10535
|
+
kind: z.ZodLiteral<"field">;
|
|
10536
|
+
column: z.ZodString;
|
|
10537
|
+
}, z.core.$strict>;
|
|
10538
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10539
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
10465
10540
|
}, z.core.$strict>, z.ZodObject<{
|
|
10466
10541
|
kind: z.ZodLiteral<"add-on.step">;
|
|
10467
10542
|
addOn: z.ZodString;
|
|
@@ -12463,6 +12538,25 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
12463
12538
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
12464
12539
|
}, z.core.$strict>;
|
|
12465
12540
|
}, z.core.$strict>>;
|
|
12541
|
+
textConsent: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
|
|
12542
|
+
column: string;
|
|
12543
|
+
phone: string;
|
|
12544
|
+
class: "marketing" | "service";
|
|
12545
|
+
wording: {
|
|
12546
|
+
version: number;
|
|
12547
|
+
text: Record<string, string>;
|
|
12548
|
+
};
|
|
12549
|
+
means?: "yes" | "no" | undefined;
|
|
12550
|
+
} | {
|
|
12551
|
+
column: string;
|
|
12552
|
+
phone: string;
|
|
12553
|
+
class: "marketing" | "service";
|
|
12554
|
+
wording: {
|
|
12555
|
+
version: number;
|
|
12556
|
+
text: Record<string, string>;
|
|
12557
|
+
};
|
|
12558
|
+
means?: "yes" | "no" | undefined;
|
|
12559
|
+
}[], unknown>>>;
|
|
12466
12560
|
appColumn: z.ZodOptional<z.ZodString>;
|
|
12467
12561
|
heldBy: z.ZodOptional<z.ZodObject<{
|
|
12468
12562
|
address: z.ZodString;
|
|
@@ -12894,20 +12988,27 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
12894
12988
|
effectError: z.ZodOptional<z.ZodString>;
|
|
12895
12989
|
repeatKey: z.ZodOptional<z.ZodString>;
|
|
12896
12990
|
was: z.ZodOptional<z.ZodString>;
|
|
12991
|
+
textReason: z.ZodOptional<z.ZodString>;
|
|
12897
12992
|
}, z.core.$strict>;
|
|
12898
12993
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12899
12994
|
recipient: z.ZodObject<{
|
|
12900
12995
|
via: z.ZodString;
|
|
12901
12996
|
table: z.ZodString;
|
|
12902
|
-
email: z.ZodString
|
|
12997
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12903
12998
|
name: z.ZodOptional<z.ZodString>;
|
|
12904
12999
|
language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12905
13000
|
column: z.ZodString;
|
|
12906
13001
|
}, z.core.$strict>]>>;
|
|
12907
13002
|
optIn: z.ZodOptional<z.ZodString>;
|
|
13003
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
13004
|
+
textPhone: z.ZodOptional<z.ZodObject<{
|
|
13005
|
+
via: z.ZodString;
|
|
13006
|
+
column: z.ZodString;
|
|
13007
|
+
}, z.core.$strict>>;
|
|
12908
13008
|
fallback: z.ZodOptional<z.ZodObject<{
|
|
12909
13009
|
via: z.ZodString;
|
|
12910
|
-
email: z.ZodString
|
|
13010
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13011
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
12911
13012
|
name: z.ZodOptional<z.ZodString>;
|
|
12912
13013
|
language: z.ZodOptional<z.ZodString>;
|
|
12913
13014
|
}, z.core.$strict>>;
|
|
@@ -12917,6 +13018,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
12917
13018
|
enabled: z.ZodOptional<z.ZodString>;
|
|
12918
13019
|
name: z.ZodOptional<z.ZodString>;
|
|
12919
13020
|
phone: z.ZodOptional<z.ZodString>;
|
|
13021
|
+
textName: z.ZodOptional<z.ZodString>;
|
|
12920
13022
|
replyTo: z.ZodOptional<z.ZodString>;
|
|
12921
13023
|
}, z.core.$strict>>;
|
|
12922
13024
|
pages: z.ZodOptional<z.ZodObject<{
|
|
@@ -12929,6 +13031,11 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
12929
13031
|
marketing: "marketing";
|
|
12930
13032
|
service: "service";
|
|
12931
13033
|
}>>>;
|
|
13034
|
+
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
13035
|
+
email: "email";
|
|
13036
|
+
sms: "sms";
|
|
13037
|
+
}>>>;
|
|
13038
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12932
13039
|
purposes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
12933
13040
|
newsletter: "newsletter";
|
|
12934
13041
|
surveys: "surveys";
|
|
@@ -13969,6 +14076,15 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
13969
14076
|
kind: z.ZodString;
|
|
13970
14077
|
addOn: z.ZodOptional<z.ZodString>;
|
|
13971
14078
|
}, z.core.$strict>;
|
|
14079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14080
|
+
kind: z.ZodLiteral<"text">;
|
|
14081
|
+
templateKey: z.ZodString;
|
|
14082
|
+
to: z.ZodObject<{
|
|
14083
|
+
kind: z.ZodLiteral<"field">;
|
|
14084
|
+
column: z.ZodString;
|
|
14085
|
+
}, z.core.$strict>;
|
|
14086
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14087
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
13972
14088
|
}, z.core.$strict>, z.ZodObject<{
|
|
13973
14089
|
kind: z.ZodLiteral<"add-on.step">;
|
|
13974
14090
|
addOn: z.ZodString;
|
|
@@ -14341,6 +14457,15 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
14341
14457
|
kind: z.ZodString;
|
|
14342
14458
|
addOn: z.ZodOptional<z.ZodString>;
|
|
14343
14459
|
}, z.core.$strict>;
|
|
14460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14461
|
+
kind: z.ZodLiteral<"text">;
|
|
14462
|
+
templateKey: z.ZodString;
|
|
14463
|
+
to: z.ZodObject<{
|
|
14464
|
+
kind: z.ZodLiteral<"field">;
|
|
14465
|
+
column: z.ZodString;
|
|
14466
|
+
}, z.core.$strict>;
|
|
14467
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14468
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
14344
14469
|
}, z.core.$strict>, z.ZodObject<{
|
|
14345
14470
|
kind: z.ZodLiteral<"add-on.step">;
|
|
14346
14471
|
addOn: z.ZodString;
|
|
@@ -14640,6 +14765,15 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
14640
14765
|
kind: z.ZodString;
|
|
14641
14766
|
addOn: z.ZodOptional<z.ZodString>;
|
|
14642
14767
|
}, z.core.$strict>;
|
|
14768
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14769
|
+
kind: z.ZodLiteral<"text">;
|
|
14770
|
+
templateKey: z.ZodString;
|
|
14771
|
+
to: z.ZodObject<{
|
|
14772
|
+
kind: z.ZodLiteral<"field">;
|
|
14773
|
+
column: z.ZodString;
|
|
14774
|
+
}, z.core.$strict>;
|
|
14775
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14776
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
14643
14777
|
}, z.core.$strict>, z.ZodObject<{
|
|
14644
14778
|
kind: z.ZodLiteral<"add-on.step">;
|
|
14645
14779
|
addOn: z.ZodString;
|
|
@@ -16772,6 +16906,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
16772
16906
|
companies: "companies";
|
|
16773
16907
|
}>;
|
|
16774
16908
|
email: z.ZodOptional<z.ZodString>;
|
|
16909
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
16775
16910
|
name: z.ZodOptional<z.ZodString>;
|
|
16776
16911
|
company: z.ZodOptional<z.ZodString>;
|
|
16777
16912
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -16965,6 +17100,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
16965
17100
|
"chat-reply": "chat-reply";
|
|
16966
17101
|
"connect-link": "connect-link";
|
|
16967
17102
|
"account-connected": "account-connected";
|
|
17103
|
+
"text-marketing-confirm": "text-marketing-confirm";
|
|
16968
17104
|
}>;
|
|
16969
17105
|
locale: z.ZodString;
|
|
16970
17106
|
content: z.ZodObject<{
|
|
@@ -17218,6 +17354,17 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
17218
17354
|
showLines: z.ZodOptional<z.ZodBoolean>;
|
|
17219
17355
|
}, z.core.$strict>>;
|
|
17220
17356
|
}, z.core.$strict>>;
|
|
17357
|
+
textTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17358
|
+
key: z.ZodString;
|
|
17359
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
17360
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17361
|
+
body: z.ZodString;
|
|
17362
|
+
}, z.core.$strict>>;
|
|
17363
|
+
}, z.core.$strict>>>;
|
|
17364
|
+
textReplies: z.ZodOptional<z.ZodEnum<{
|
|
17365
|
+
on: "on";
|
|
17366
|
+
off: "off";
|
|
17367
|
+
}>>;
|
|
17221
17368
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17222
17369
|
key: z.ZodString;
|
|
17223
17370
|
name: z.ZodString;
|
|
@@ -17601,6 +17748,25 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
17601
17748
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17602
17749
|
}, z.core.$strict>;
|
|
17603
17750
|
}, z.core.$strict>>;
|
|
17751
|
+
textConsent: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
|
|
17752
|
+
column: string;
|
|
17753
|
+
phone: string;
|
|
17754
|
+
class: "marketing" | "service";
|
|
17755
|
+
wording: {
|
|
17756
|
+
version: number;
|
|
17757
|
+
text: Record<string, string>;
|
|
17758
|
+
};
|
|
17759
|
+
means?: "yes" | "no" | undefined;
|
|
17760
|
+
} | {
|
|
17761
|
+
column: string;
|
|
17762
|
+
phone: string;
|
|
17763
|
+
class: "marketing" | "service";
|
|
17764
|
+
wording: {
|
|
17765
|
+
version: number;
|
|
17766
|
+
text: Record<string, string>;
|
|
17767
|
+
};
|
|
17768
|
+
means?: "yes" | "no" | undefined;
|
|
17769
|
+
}[], unknown>>>;
|
|
17604
17770
|
appColumn: z.ZodOptional<z.ZodString>;
|
|
17605
17771
|
heldBy: z.ZodOptional<z.ZodObject<{
|
|
17606
17772
|
address: z.ZodString;
|
|
@@ -18032,20 +18198,27 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
18032
18198
|
effectError: z.ZodOptional<z.ZodString>;
|
|
18033
18199
|
repeatKey: z.ZodOptional<z.ZodString>;
|
|
18034
18200
|
was: z.ZodOptional<z.ZodString>;
|
|
18201
|
+
textReason: z.ZodOptional<z.ZodString>;
|
|
18035
18202
|
}, z.core.$strict>;
|
|
18036
18203
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18037
18204
|
recipient: z.ZodObject<{
|
|
18038
18205
|
via: z.ZodString;
|
|
18039
18206
|
table: z.ZodString;
|
|
18040
|
-
email: z.ZodString
|
|
18207
|
+
email: z.ZodOptional<z.ZodString>;
|
|
18041
18208
|
name: z.ZodOptional<z.ZodString>;
|
|
18042
18209
|
language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18043
18210
|
column: z.ZodString;
|
|
18044
18211
|
}, z.core.$strict>]>>;
|
|
18045
18212
|
optIn: z.ZodOptional<z.ZodString>;
|
|
18213
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
18214
|
+
textPhone: z.ZodOptional<z.ZodObject<{
|
|
18215
|
+
via: z.ZodString;
|
|
18216
|
+
column: z.ZodString;
|
|
18217
|
+
}, z.core.$strict>>;
|
|
18046
18218
|
fallback: z.ZodOptional<z.ZodObject<{
|
|
18047
18219
|
via: z.ZodString;
|
|
18048
|
-
email: z.ZodString
|
|
18220
|
+
email: z.ZodOptional<z.ZodString>;
|
|
18221
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
18049
18222
|
name: z.ZodOptional<z.ZodString>;
|
|
18050
18223
|
language: z.ZodOptional<z.ZodString>;
|
|
18051
18224
|
}, z.core.$strict>>;
|
|
@@ -18055,6 +18228,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
18055
18228
|
enabled: z.ZodOptional<z.ZodString>;
|
|
18056
18229
|
name: z.ZodOptional<z.ZodString>;
|
|
18057
18230
|
phone: z.ZodOptional<z.ZodString>;
|
|
18231
|
+
textName: z.ZodOptional<z.ZodString>;
|
|
18058
18232
|
replyTo: z.ZodOptional<z.ZodString>;
|
|
18059
18233
|
}, z.core.$strict>>;
|
|
18060
18234
|
pages: z.ZodOptional<z.ZodObject<{
|
|
@@ -18067,6 +18241,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
18067
18241
|
marketing: "marketing";
|
|
18068
18242
|
service: "service";
|
|
18069
18243
|
}>>>;
|
|
18244
|
+
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
18245
|
+
email: "email";
|
|
18246
|
+
sms: "sms";
|
|
18247
|
+
}>>>;
|
|
18248
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18070
18249
|
purposes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
18071
18250
|
newsletter: "newsletter";
|
|
18072
18251
|
surveys: "surveys";
|
|
@@ -19107,6 +19286,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
19107
19286
|
kind: z.ZodString;
|
|
19108
19287
|
addOn: z.ZodOptional<z.ZodString>;
|
|
19109
19288
|
}, z.core.$strict>;
|
|
19289
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19290
|
+
kind: z.ZodLiteral<"text">;
|
|
19291
|
+
templateKey: z.ZodString;
|
|
19292
|
+
to: z.ZodObject<{
|
|
19293
|
+
kind: z.ZodLiteral<"field">;
|
|
19294
|
+
column: z.ZodString;
|
|
19295
|
+
}, z.core.$strict>;
|
|
19296
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19297
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
19110
19298
|
}, z.core.$strict>, z.ZodObject<{
|
|
19111
19299
|
kind: z.ZodLiteral<"add-on.step">;
|
|
19112
19300
|
addOn: z.ZodString;
|
|
@@ -19479,6 +19667,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
19479
19667
|
kind: z.ZodString;
|
|
19480
19668
|
addOn: z.ZodOptional<z.ZodString>;
|
|
19481
19669
|
}, z.core.$strict>;
|
|
19670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19671
|
+
kind: z.ZodLiteral<"text">;
|
|
19672
|
+
templateKey: z.ZodString;
|
|
19673
|
+
to: z.ZodObject<{
|
|
19674
|
+
kind: z.ZodLiteral<"field">;
|
|
19675
|
+
column: z.ZodString;
|
|
19676
|
+
}, z.core.$strict>;
|
|
19677
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19678
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
19482
19679
|
}, z.core.$strict>, z.ZodObject<{
|
|
19483
19680
|
kind: z.ZodLiteral<"add-on.step">;
|
|
19484
19681
|
addOn: z.ZodString;
|
|
@@ -19778,6 +19975,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
19778
19975
|
kind: z.ZodString;
|
|
19779
19976
|
addOn: z.ZodOptional<z.ZodString>;
|
|
19780
19977
|
}, z.core.$strict>;
|
|
19978
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19979
|
+
kind: z.ZodLiteral<"text">;
|
|
19980
|
+
templateKey: z.ZodString;
|
|
19981
|
+
to: z.ZodObject<{
|
|
19982
|
+
kind: z.ZodLiteral<"field">;
|
|
19983
|
+
column: z.ZodString;
|
|
19984
|
+
}, z.core.$strict>;
|
|
19985
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19986
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
19781
19987
|
}, z.core.$strict>, z.ZodObject<{
|
|
19782
19988
|
kind: z.ZodLiteral<"add-on.step">;
|
|
19783
19989
|
addOn: z.ZodString;
|
|
@@ -21760,6 +21966,25 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
21760
21966
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
21761
21967
|
}, z.core.$strict>;
|
|
21762
21968
|
}, z.core.$strict>>;
|
|
21969
|
+
textConsent: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
|
|
21970
|
+
column: string;
|
|
21971
|
+
phone: string;
|
|
21972
|
+
class: "marketing" | "service";
|
|
21973
|
+
wording: {
|
|
21974
|
+
version: number;
|
|
21975
|
+
text: Record<string, string>;
|
|
21976
|
+
};
|
|
21977
|
+
means?: "yes" | "no" | undefined;
|
|
21978
|
+
} | {
|
|
21979
|
+
column: string;
|
|
21980
|
+
phone: string;
|
|
21981
|
+
class: "marketing" | "service";
|
|
21982
|
+
wording: {
|
|
21983
|
+
version: number;
|
|
21984
|
+
text: Record<string, string>;
|
|
21985
|
+
};
|
|
21986
|
+
means?: "yes" | "no" | undefined;
|
|
21987
|
+
}[], unknown>>>;
|
|
21763
21988
|
appColumn: z.ZodOptional<z.ZodString>;
|
|
21764
21989
|
heldBy: z.ZodOptional<z.ZodObject<{
|
|
21765
21990
|
address: z.ZodString;
|
|
@@ -22191,20 +22416,27 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
22191
22416
|
effectError: z.ZodOptional<z.ZodString>;
|
|
22192
22417
|
repeatKey: z.ZodOptional<z.ZodString>;
|
|
22193
22418
|
was: z.ZodOptional<z.ZodString>;
|
|
22419
|
+
textReason: z.ZodOptional<z.ZodString>;
|
|
22194
22420
|
}, z.core.$strict>;
|
|
22195
22421
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22196
22422
|
recipient: z.ZodObject<{
|
|
22197
22423
|
via: z.ZodString;
|
|
22198
22424
|
table: z.ZodString;
|
|
22199
|
-
email: z.ZodString
|
|
22425
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22200
22426
|
name: z.ZodOptional<z.ZodString>;
|
|
22201
22427
|
language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
22202
22428
|
column: z.ZodString;
|
|
22203
22429
|
}, z.core.$strict>]>>;
|
|
22204
22430
|
optIn: z.ZodOptional<z.ZodString>;
|
|
22431
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
22432
|
+
textPhone: z.ZodOptional<z.ZodObject<{
|
|
22433
|
+
via: z.ZodString;
|
|
22434
|
+
column: z.ZodString;
|
|
22435
|
+
}, z.core.$strict>>;
|
|
22205
22436
|
fallback: z.ZodOptional<z.ZodObject<{
|
|
22206
22437
|
via: z.ZodString;
|
|
22207
|
-
email: z.ZodString
|
|
22438
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22439
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
22208
22440
|
name: z.ZodOptional<z.ZodString>;
|
|
22209
22441
|
language: z.ZodOptional<z.ZodString>;
|
|
22210
22442
|
}, z.core.$strict>>;
|
|
@@ -22214,6 +22446,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
22214
22446
|
enabled: z.ZodOptional<z.ZodString>;
|
|
22215
22447
|
name: z.ZodOptional<z.ZodString>;
|
|
22216
22448
|
phone: z.ZodOptional<z.ZodString>;
|
|
22449
|
+
textName: z.ZodOptional<z.ZodString>;
|
|
22217
22450
|
replyTo: z.ZodOptional<z.ZodString>;
|
|
22218
22451
|
}, z.core.$strict>>;
|
|
22219
22452
|
pages: z.ZodOptional<z.ZodObject<{
|
|
@@ -22226,6 +22459,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
22226
22459
|
marketing: "marketing";
|
|
22227
22460
|
service: "service";
|
|
22228
22461
|
}>>>;
|
|
22462
|
+
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
22463
|
+
email: "email";
|
|
22464
|
+
sms: "sms";
|
|
22465
|
+
}>>>;
|
|
22466
|
+
waiting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22229
22467
|
purposes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
22230
22468
|
newsletter: "newsletter";
|
|
22231
22469
|
surveys: "surveys";
|
|
@@ -23266,6 +23504,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
23266
23504
|
kind: z.ZodString;
|
|
23267
23505
|
addOn: z.ZodOptional<z.ZodString>;
|
|
23268
23506
|
}, z.core.$strict>;
|
|
23507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23508
|
+
kind: z.ZodLiteral<"text">;
|
|
23509
|
+
templateKey: z.ZodString;
|
|
23510
|
+
to: z.ZodObject<{
|
|
23511
|
+
kind: z.ZodLiteral<"field">;
|
|
23512
|
+
column: z.ZodString;
|
|
23513
|
+
}, z.core.$strict>;
|
|
23514
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
23515
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
23269
23516
|
}, z.core.$strict>, z.ZodObject<{
|
|
23270
23517
|
kind: z.ZodLiteral<"add-on.step">;
|
|
23271
23518
|
addOn: z.ZodString;
|
|
@@ -23638,6 +23885,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
23638
23885
|
kind: z.ZodString;
|
|
23639
23886
|
addOn: z.ZodOptional<z.ZodString>;
|
|
23640
23887
|
}, z.core.$strict>;
|
|
23888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23889
|
+
kind: z.ZodLiteral<"text">;
|
|
23890
|
+
templateKey: z.ZodString;
|
|
23891
|
+
to: z.ZodObject<{
|
|
23892
|
+
kind: z.ZodLiteral<"field">;
|
|
23893
|
+
column: z.ZodString;
|
|
23894
|
+
}, z.core.$strict>;
|
|
23895
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
23896
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
23641
23897
|
}, z.core.$strict>, z.ZodObject<{
|
|
23642
23898
|
kind: z.ZodLiteral<"add-on.step">;
|
|
23643
23899
|
addOn: z.ZodString;
|
|
@@ -23937,6 +24193,15 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
23937
24193
|
kind: z.ZodString;
|
|
23938
24194
|
addOn: z.ZodOptional<z.ZodString>;
|
|
23939
24195
|
}, z.core.$strict>;
|
|
24196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24197
|
+
kind: z.ZodLiteral<"text">;
|
|
24198
|
+
templateKey: z.ZodString;
|
|
24199
|
+
to: z.ZodObject<{
|
|
24200
|
+
kind: z.ZodLiteral<"field">;
|
|
24201
|
+
column: z.ZodString;
|
|
24202
|
+
}, z.core.$strict>;
|
|
24203
|
+
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24204
|
+
notAfter: z.ZodOptional<z.ZodString>;
|
|
23940
24205
|
}, z.core.$strict>, z.ZodObject<{
|
|
23941
24206
|
kind: z.ZodLiteral<"add-on.step">;
|
|
23942
24207
|
addOn: z.ZodString;
|
|
@@ -26040,6 +26305,8 @@ export interface FormsEntry {
|
|
|
26040
26305
|
module?: string;
|
|
26041
26306
|
/** The `writable` text column a form's fixed "Source" value goes into; absent when the entry names none. */
|
|
26042
26307
|
source?: string;
|
|
26308
|
+
/** The entry's boxes for texts, one per class at most: the forms door draws each under the form's questions. Empty when it draws none. */
|
|
26309
|
+
textConsent: PublicTextConsent[];
|
|
26043
26310
|
}
|
|
26044
26311
|
/**
|
|
26045
26312
|
* The tables an app opens to forms, each with what a form's answer may fill
|
|
@@ -26049,7 +26316,7 @@ export interface FormsEntry {
|
|
|
26049
26316
|
*/
|
|
26050
26317
|
export declare function formsEntriesOf(m: Manifest): FormsEntry[];
|
|
26051
26318
|
/** One table an app opens to a chat's question left outside hours: the entry under the key `chat`, as the chat door reads it. */
|
|
26052
|
-
export type ChatEntry = Omit<FormsEntry, 'source'>;
|
|
26319
|
+
export type ChatEntry = Omit<FormsEntry, 'source' | 'textConsent'>;
|
|
26053
26320
|
/**
|
|
26054
26321
|
* The tables an app opens to a chat's question left outside hours, each with
|
|
26055
26322
|
* what it may fill there: the entries under the reserved key `chat`. Empty
|