@integry/sdk 3.0.17-beta.7 → 3.0.18-beta.1

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.
@@ -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;
@@ -39,6 +44,9 @@ type IntegrySDKEvents = {
39
44
  appId: number;
40
45
  alreadyExists: boolean;
41
46
  }) => void;
47
+ "did-select-authorization": (data: {
48
+ authorizationId: number;
49
+ }) => void;
42
50
  "did-remove-authorization": (data: {
43
51
  authorizationId: number;
44
52
  }) => void;
@@ -64,6 +72,7 @@ type Authorization = {
64
72
  interface UserConfig {
65
73
  availableFlowsLabel?: string;
66
74
  myFlowsLabel?: string;
75
+ hideWebhookUrlScreen?: boolean;
67
76
  }
68
77
  interface SDKConfig {
69
78
  env?: "staging" | "production";
@@ -162,7 +171,13 @@ interface TemplateField {
162
171
  regex: string | null;
163
172
  regex_msg: string | null;
164
173
  is_visible: boolean;
174
+ app_user_data?: {
175
+ app_user: number;
176
+ id: number;
177
+ value: string | number;
178
+ }[];
165
179
  added_in_mapping?: boolean;
180
+ field_mapping_source?: string;
166
181
  }
167
182
  interface TemplateStep {
168
183
  id: number;
@@ -172,7 +187,7 @@ interface TemplateStep {
172
187
  activity: Activity;
173
188
  authorization_type: AuthorizationType;
174
189
  template_fields: TemplateField[];
175
- // step_instance: unknown | null;
190
+ step_instance?: number | null;
176
191
  allow_multiple_authorizations: boolean;
177
192
  step_authorization: number | null;
178
193
  button_text: string | null;