@integry/sdk 3.0.17-beta.2 → 3.0.17-beta.22
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/esm/index.csm.d.ts +21 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +21 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -22,6 +22,11 @@ type IntegrySDKEvents = {
|
|
|
22
22
|
templateId: number;
|
|
23
23
|
status: string;
|
|
24
24
|
callbackUrl: string | null;
|
|
25
|
+
authorizations: {
|
|
26
|
+
authorizationId: number;
|
|
27
|
+
userIdentity: string;
|
|
28
|
+
isBrandingAppAuth: boolean;
|
|
29
|
+
}[];
|
|
25
30
|
}) => void;
|
|
26
31
|
"did-load-preview": (data: {
|
|
27
32
|
templateId: number;
|
|
@@ -36,11 +41,18 @@ type IntegrySDKEvents = {
|
|
|
36
41
|
identity: string;
|
|
37
42
|
authorizationId: number;
|
|
38
43
|
flowId: number;
|
|
44
|
+
appId: number;
|
|
39
45
|
alreadyExists: boolean;
|
|
40
46
|
}) => void;
|
|
47
|
+
"did-select-authorization": (data: {
|
|
48
|
+
authorizationId: number;
|
|
49
|
+
}) => void;
|
|
41
50
|
"did-remove-authorization": (data: {
|
|
42
51
|
authorizationId: number;
|
|
43
52
|
}) => void;
|
|
53
|
+
"did-begin-remove-authorization": (data: {
|
|
54
|
+
authorizationId: number;
|
|
55
|
+
}) => void;
|
|
44
56
|
};
|
|
45
57
|
declare enum TemplateFormRenderModes {
|
|
46
58
|
MODAL = "MODAL",
|
|
@@ -60,6 +72,7 @@ type Authorization = {
|
|
|
60
72
|
interface UserConfig {
|
|
61
73
|
availableFlowsLabel?: string;
|
|
62
74
|
myFlowsLabel?: string;
|
|
75
|
+
hideWebhookUrlScreen?: boolean;
|
|
63
76
|
}
|
|
64
77
|
interface SDKConfig {
|
|
65
78
|
env?: "staging" | "production";
|
|
@@ -158,6 +171,13 @@ interface TemplateField {
|
|
|
158
171
|
regex: string | null;
|
|
159
172
|
regex_msg: string | null;
|
|
160
173
|
is_visible: boolean;
|
|
174
|
+
app_user_data?: {
|
|
175
|
+
app_user: number;
|
|
176
|
+
id: number;
|
|
177
|
+
value: string | number;
|
|
178
|
+
}[];
|
|
179
|
+
added_in_mapping?: boolean;
|
|
180
|
+
field_mapping_source?: string;
|
|
161
181
|
}
|
|
162
182
|
interface TemplateStep {
|
|
163
183
|
id: number;
|
|
@@ -167,7 +187,7 @@ interface TemplateStep {
|
|
|
167
187
|
activity: Activity;
|
|
168
188
|
authorization_type: AuthorizationType;
|
|
169
189
|
template_fields: TemplateField[];
|
|
170
|
-
|
|
190
|
+
step_instance?: number | null;
|
|
171
191
|
allow_multiple_authorizations: boolean;
|
|
172
192
|
step_authorization: number | null;
|
|
173
193
|
button_text: string | null;
|