@periskope/types 0.6.90 → 0.6.92
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/supabase.types.d.ts +31 -14
- package/dist/types.d.ts +15 -8
- package/mod_json_type.ps1 +82 -82
- package/package.json +1 -1
- package/supabase.types.ts +2113 -2096
- package/types.ts +12 -2
package/types.ts
CHANGED
|
@@ -64,6 +64,12 @@ export type OrgPreferences = {
|
|
|
64
64
|
sync_phone_contacts?: boolean;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
type OrgPreferenceKey = keyof OrgPreferences;
|
|
68
|
+
|
|
69
|
+
export type OrgPreferencesValue = {
|
|
70
|
+
[K in OrgPreferenceKey]: { key: K; value: OrgPreferences[K] };
|
|
71
|
+
}[OrgPreferenceKey];
|
|
72
|
+
|
|
67
73
|
export type OrgMetadata = {
|
|
68
74
|
phone_number: string;
|
|
69
75
|
ticket_prefix: string;
|
|
@@ -77,6 +83,7 @@ export type OrgMetadata = {
|
|
|
77
83
|
label: string;
|
|
78
84
|
default_stage: { id: string; label: string };
|
|
79
85
|
}[];
|
|
86
|
+
partition?: boolean
|
|
80
87
|
};
|
|
81
88
|
|
|
82
89
|
export type OrgType = OverrideProperties<
|
|
@@ -259,12 +266,15 @@ export type QuickReplyContent = Omit<
|
|
|
259
266
|
'broadcast_id' | 'variables'
|
|
260
267
|
>;
|
|
261
268
|
|
|
262
|
-
export type
|
|
269
|
+
export type BroadcastVariableType = {
|
|
270
|
+
chat_id: string;
|
|
271
|
+
values: { [key: string]: string };
|
|
272
|
+
};
|
|
263
273
|
|
|
264
274
|
export type BroadcastMessagePayload = SendMessageContent & {
|
|
265
275
|
chat_ids: string[];
|
|
266
276
|
broadcast_id?: string;
|
|
267
|
-
variables?:
|
|
277
|
+
variables?: BroadcastVariableType[];
|
|
268
278
|
};
|
|
269
279
|
|
|
270
280
|
export type SingleMessagePayload = SendMessageContent & {
|