@integry/sdk 3.0.16-beta.7 → 3.0.17-beta.10

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.
@@ -32,6 +32,19 @@ type IntegrySDKEvents = {
32
32
  stepId: number;
33
33
  stepType: "AUTH" | "CONFIGURATION" | "SECTION" | "CONFIRMATION";
34
34
  }) => void;
35
+ "did-add-authorization": (data: {
36
+ identity: string;
37
+ authorizationId: number;
38
+ flowId: number;
39
+ appId: number;
40
+ alreadyExists: boolean;
41
+ }) => void;
42
+ "did-remove-authorization": (data: {
43
+ authorizationId: number;
44
+ }) => void;
45
+ "did-begin-remove-authorization": (data: {
46
+ authorizationId: number;
47
+ }) => void;
35
48
  };
36
49
  declare enum TemplateFormRenderModes {
37
50
  MODAL = "MODAL",
@@ -123,6 +136,7 @@ interface TemplateField {
123
136
  weight: number;
124
137
  is_required: boolean;
125
138
  child_fields: string | null;
139
+ placeholder: string | null;
126
140
  is_dynamic: boolean;
127
141
  data_src: string | null;
128
142
  data_src_endpoint: number | null;
@@ -148,6 +162,12 @@ interface TemplateField {
148
162
  regex: string | null;
149
163
  regex_msg: string | null;
150
164
  is_visible: boolean;
165
+ app_user_data?: {
166
+ app_user: number;
167
+ id: number;
168
+ value: string | number;
169
+ }[];
170
+ added_in_mapping?: boolean;
151
171
  }
152
172
  interface TemplateStep {
153
173
  id: number;
@@ -157,7 +177,7 @@ interface TemplateStep {
157
177
  activity: Activity;
158
178
  authorization_type: AuthorizationType;
159
179
  template_fields: TemplateField[];
160
- // step_instance: unknown | null;
180
+ step_instance?: number | null;
161
181
  allow_multiple_authorizations: boolean;
162
182
  step_authorization: number | null;
163
183
  button_text: string | null;