@integry/sdk 3.1.5-beta.6 → 3.1.5-beta.7

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.
@@ -1,371 +1,381 @@
1
- import { html } from 'htm/preact';
2
- import { VNode } from "preact";
3
- type IntegrySDKEvents = {
4
- ready: ({ deploymentId }: {
5
- deploymentId: number;
6
- }) => void;
7
- "should-load-flow": ({ templateId, flowId }: {
8
- templateId: number;
9
- flowId: number;
10
- }) => void;
11
- "did-load-flows": ({ flows }: {
12
- flows: any[];
13
- }) => void;
14
- "did-load-integrations": ({ integrations }: {
15
- integrations: any[];
16
- }) => void;
17
- "did-load-flow": (data: {
18
- flowId: number;
19
- flowTitle: string;
20
- flowDescription: string;
21
- templateId: number;
22
- templateTitle: string;
23
- templateDescription: string;
24
- }) => void;
25
- "did-load-integration": (data: {
26
- flowId: number;
27
- integrationId: number;
28
- }) => void;
29
- "did-save-integration": (data: {
30
- integrationId: number;
31
- name: string;
32
- templateId: number;
33
- flowId: number;
34
- status: string;
35
- callbackUrl: string | null;
36
- authorizations: {
37
- authorizationId: number;
38
- userIdentity: string;
39
- isBrandingAppAuth: boolean;
40
- }[];
41
- }) => void;
42
- "did-load-preview": (data: {
43
- flowId: number;
44
- flowTitle: string;
45
- flowDescription: string;
46
- }) => void;
47
- "did-change-step": (data: {
48
- stepId: number;
49
- stepType: "AUTH" | "CONFIGURATION" | "SECTION" | "CONFIRMATION";
50
- }) => void;
51
- "did-add-authorization": (data: {
52
- identity: string;
53
- authorizationId: number;
54
- flowId: number | null;
55
- appId: number;
56
- appName: string;
57
- appIcon: string;
58
- alreadyExists: boolean;
59
- externalId?: string;
60
- }) => void;
61
- "did-fail-authorization-verification": (data: {
62
- identity: string;
63
- authorizationId: number;
64
- flowId: number | null;
65
- appId: number;
66
- appName: string;
67
- appIcon: string;
68
- alreadyExists: boolean;
69
- }) => void;
70
- "did-select-authorization": (data: {
71
- authorizationId: number;
72
- }) => void;
73
- "did-remove-authorization": (data: {
74
- authorizationId: number;
75
- }) => void;
76
- "did-begin-remove-authorization": (data: {
77
- authorizationId: number;
78
- }) => void;
79
- };
80
- declare enum TemplateFormRenderModes {
81
- MODAL = "MODAL",
82
- INLINE = "INLINE",
83
- DETACHED = "DETACHED",
84
- CUSTOM = "CUSTOM"
85
- }
86
- declare enum TemplateListingRenderModes {
87
- GRID = "GRID",
88
- LIST = "LIST"
89
- }
90
- type Authorization = {
91
- id: number;
92
- authorization_type: string;
93
- app_user?: number;
94
- app_user_id?: number;
95
- disable_link?: string;
96
- integration_count?: number;
97
- user_identity: string;
98
- };
99
- type FlowCardProps = {
100
- imgUrl: string;
101
- name: string;
102
- description: string;
103
- tags: string;
104
- layout: TemplateListingRenderModes;
105
- handleClick: () => void;
106
- };
107
- interface UserConfig {
108
- availableFlowsLabel?: string;
109
- myFlowsLabel?: string;
110
- hideWebhookUrlScreen?: boolean;
111
- hideAppConnectionModal?: boolean;
112
- customComponents?: {
113
- flowCard?: (props: FlowCardProps) => VNode;
114
- };
115
- }
116
- interface SDKConfig {
117
- env?: "staging" | "production";
118
- debug?: boolean;
119
- integrationId?: number;
120
- xIntegryConfig?: {
121
- isAnonymous?: boolean;
122
- appAuth?: {
123
- apiKey?: string;
124
- authId?: string;
125
- extras?: Record<string, string | number>;
126
- };
127
- };
128
- userConfig?: UserConfig;
129
- }
130
- interface ConfigWithObject extends SDKConfig {
131
- appKey: string;
132
- hash: string;
133
- userId: string;
134
- deploymentId: string;
135
- }
136
- interface ConfigWithUrlParams extends SDKConfig {
137
- useUrlParams?: boolean;
138
- }
139
- type App = {
140
- id: number;
141
- name: string;
142
- description: string;
143
- icon_url: string;
144
- color: string;
145
- publishing_status: string;
146
- category: string[];
147
- app_type?: string;
148
- action_url?: string | null;
149
- created_at?: Date;
150
- tags: string;
151
- };
152
- type Activity = {
153
- id: number;
154
- name: string;
155
- type: string;
156
- endpoint: string;
157
- auth_required: boolean;
158
- total_fields: number;
159
- app: App;
160
- activity_output: string | null;
161
- activity_output_url: string | null;
162
- dynamic_field_data_endpoint: string | null;
163
- };
164
- type AuthorizationType = {
165
- id: number;
166
- type: string;
167
- authorizations: Authorization[];
168
- provider: string;
169
- is_sandbox_enabled: boolean;
170
- authorization_url_sandbox: string;
171
- };
172
- interface TemplateField {
173
- id: number;
174
- is_required: boolean;
175
- is_hidden: boolean;
176
- default_value: string | null;
177
- weight: number;
178
- description: string;
179
- summary: string | null;
180
- activity_field: {
181
- id: number;
182
- machine_name: string;
183
- type: string;
184
- title: string;
185
- description: string;
186
- weight: number;
187
- is_required: boolean;
188
- child_fields: string | null;
189
- placeholder: string | null;
190
- is_dynamic: boolean;
191
- data_src: string | null;
192
- data_src_endpoint: number | null;
193
- parent_fields: string | null;
194
- dynamic_field_src: string | null;
195
- default_value: string | null;
196
- auto_machine_name: string;
197
- dynamic_field_src_endpoint: number | null;
198
- regex: string | null;
199
- regex_error_message?: string | null;
200
- is_searchable: boolean;
201
- conditional_fields?: string | null;
202
- } | null;
203
- title: string | null;
204
- type: string;
205
- placeholder: string | null;
206
- // manual_template: unknown | null;
207
- child_field: string | null;
208
- child_field_value: string | null;
209
- // template_fields: unknown[];
210
- button_text: string | null;
211
- // field_actions: unknown[];
212
- icon_url: string | null;
213
- long_description: string | null;
214
- regex: string | null;
215
- regex_msg: string | null;
216
- is_visible: boolean;
217
- app_user_data?: {
218
- app_user: number;
219
- id: number;
220
- value: string | number;
221
- }[];
222
- added_in_mapping?: boolean;
223
- field_mapping_source?: string;
224
- }
225
- interface TemplateStep {
226
- id: number;
227
- weight: number;
228
- title: string;
229
- is_visible: boolean;
230
- activity: Activity;
231
- authorization_type: AuthorizationType;
232
- template_fields: TemplateField[];
233
- step_instance?: number | null;
234
- allow_multiple_authorizations: boolean;
235
- step_authorization: number | null;
236
- button_text: string | null;
237
- is_self_step: boolean;
238
- summary: string | null;
239
- is_workspace_app_step: boolean;
240
- auth_description: string | null;
241
- hide_authorization: boolean;
242
- // step_condition: unknown | null;
243
- machine_name: string | null;
244
- is_custom_machine_name: boolean;
245
- }
246
- interface InitConfig {
247
- containerId: string;
248
- templateContainerId?: string;
249
- renderMode: TemplateFormRenderModes;
250
- }
251
- interface TemplatePreviewData {
252
- id: number;
253
- name: string;
254
- description: string;
255
- app: App;
256
- branding_app: App;
257
- button_text: string | null;
258
- is_wizard: boolean;
259
- publishing_status: string;
260
- level?: number;
261
- parent_id?: number;
262
- steps: TemplateStep[];
263
- }
264
- interface PreviewMetadata {
265
- stepId: number | null;
266
- type: "AUTH" | "CONFIGURATION" | "CONFIRMATION" | "SECTION";
267
- }
268
- interface PreviewPayload {
269
- templateData: TemplatePreviewData;
270
- metadata: PreviewMetadata;
271
- previewContainerId: string;
272
- }
273
- /**
274
- *
275
- * @param key Key to sign hash
276
- * @param message Message to hash
277
- * @returns {string}
278
- */
279
- declare function HMAC(message: string, key: string): Promise<string>;
280
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
281
- type EventSet = Record<string, (...args: any[]) => void>;
282
- interface EventEmitterType<ESet extends EventSet> {
283
- on<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
284
- once<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
285
- off<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
286
- offAll(): void;
287
- emit<EventName extends keyof ESet>(eventName: EventName, ...args: Parameters<ESet[EventName]>): void;
288
- }
289
- declare class EventEmitter<ESet extends EventSet> implements EventEmitterType<EventSet> {
290
- private events;
291
- on<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
292
- once<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
293
- off<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
294
- offAll(): void;
295
- emit<EventName extends keyof ESet>(eventName: EventName, ...args: Parameters<ESet[EventName]>): void;
296
- private addEventListener;
297
- }
298
- declare const Helpers: {
299
- getAuthHash: typeof HMAC;
300
- };
301
- /**
302
- * Integry JS SDK
303
- */
304
- declare class IntegryJS {
305
- static SDK_VERSION: string;
306
- private config;
307
- private apiHandler;
308
- eventEmitter: EventEmitter<IntegrySDKEvents>;
309
- static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
310
- static RenderModes: typeof TemplateFormRenderModes;
311
- static Helpers: {
312
- getAuthHash: (key: string, message: string) => Promise<string>;
313
- };
314
- private authModalId;
315
- private forceRerender;
316
- constructor(config: ConfigWithObject | ConfigWithUrlParams);
317
- /**
318
- *
319
- * @param length Length of string to randomly generate
320
- * @returns {string} Returns a random string
321
- */
322
- private getRandomFlowId;
323
- private getAuthParamsFromUrl;
324
- /**
325
- * Prints version number of this SDK version
326
- */
327
- printVersion: () => void;
328
- /**
329
- *
330
- * @param renderMode
331
- * @param templateContainerId
332
- * @returns {HTMLElement | null}
333
- */
334
- private setupFlowFormDestination;
335
- /**
336
- * Render the template form we ship
337
- * @param data
338
- */
339
- renderFlowSetupForm: (data: {
340
- flowId?: string;
341
- integrationId?: number;
342
- flowContainerId: string;
343
- }) => void;
344
- /**
345
- * Render the template form we ship
346
- * @param data
347
- */
348
- renderAccountConnectionModal: (data?: {
349
- deploymentId?: string | undefined;
350
- appId?: number | undefined;
351
- authTypeId?: number | undefined;
352
- } | undefined) => void;
353
- /**
354
- * Render the template form we ship
355
- * @param params
356
- */
357
- renderPreview: (params: PreviewPayload) => void;
358
- /**
359
- *
360
- * @param initConfig
361
- */
362
- init: (initConfig: InitConfig) => void;
363
- verifyAuthConfig: () => Promise<{
364
- config_verified: boolean;
365
- } | null>;
366
- /**
367
- * Destroy SDK instance and cleanup store
368
- */
369
- destroy: () => void;
370
- }
371
- export { IntegryJS, Helpers, html };
1
+ import { html } from 'htm/preact';
2
+ import { VNode } from "preact";
3
+ type IntegrySDKEvents = {
4
+ ready: ({ deploymentId }: {
5
+ deploymentId: number;
6
+ }) => void;
7
+ "should-load-flow": ({ templateId, flowId }: {
8
+ templateId: number;
9
+ flowId: number;
10
+ }) => void;
11
+ "did-load-flows": ({ flows }: {
12
+ flows: any[];
13
+ }) => void;
14
+ "did-load-integrations": ({ integrations }: {
15
+ integrations: any[];
16
+ }) => void;
17
+ "did-load-flow": (data: {
18
+ flowId: number;
19
+ flowTitle: string;
20
+ flowDescription: string;
21
+ templateId: number;
22
+ templateTitle: string;
23
+ templateDescription: string;
24
+ }) => void;
25
+ "did-load-integration": (data: {
26
+ flowId: number;
27
+ integrationId: number;
28
+ }) => void;
29
+ "did-save-integration": (data: {
30
+ integrationId: number;
31
+ name: string;
32
+ templateId: number;
33
+ flowId: number;
34
+ status: string;
35
+ callbackUrl: string | null;
36
+ authorizations: {
37
+ authorizationId: number;
38
+ userIdentity: string;
39
+ isBrandingAppAuth: boolean;
40
+ }[];
41
+ steps: {
42
+ id: number;
43
+ authorization: number | null;
44
+ template_step: number;
45
+ app_user_data: {
46
+ id: number;
47
+ value: string | null;
48
+ template_field: number;
49
+ }[];
50
+ }[];
51
+ }) => void;
52
+ "did-load-preview": (data: {
53
+ flowId: number;
54
+ flowTitle: string;
55
+ flowDescription: string;
56
+ }) => void;
57
+ "did-change-step": (data: {
58
+ stepId: number;
59
+ stepType: "AUTH" | "CONFIGURATION" | "SECTION" | "CONFIRMATION";
60
+ }) => void;
61
+ "did-add-authorization": (data: {
62
+ identity: string;
63
+ authorizationId: number;
64
+ flowId: number | null;
65
+ appId: number;
66
+ appName: string;
67
+ appIcon: string;
68
+ alreadyExists: boolean;
69
+ externalId?: string;
70
+ }) => void;
71
+ "did-fail-authorization-verification": (data: {
72
+ identity: string;
73
+ authorizationId: number;
74
+ flowId: number | null;
75
+ appId: number;
76
+ appName: string;
77
+ appIcon: string;
78
+ alreadyExists: boolean;
79
+ }) => void;
80
+ "did-select-authorization": (data: {
81
+ authorizationId: number;
82
+ }) => void;
83
+ "did-remove-authorization": (data: {
84
+ authorizationId: number;
85
+ }) => void;
86
+ "did-begin-remove-authorization": (data: {
87
+ authorizationId: number;
88
+ }) => void;
89
+ };
90
+ declare enum TemplateFormRenderModes {
91
+ MODAL = "MODAL",
92
+ INLINE = "INLINE",
93
+ DETACHED = "DETACHED",
94
+ CUSTOM = "CUSTOM"
95
+ }
96
+ declare enum TemplateListingRenderModes {
97
+ GRID = "GRID",
98
+ LIST = "LIST"
99
+ }
100
+ type Authorization = {
101
+ id: number;
102
+ authorization_type: string;
103
+ app_user?: number;
104
+ app_user_id?: number;
105
+ disable_link?: string;
106
+ integration_count?: number;
107
+ user_identity: string;
108
+ };
109
+ type FlowCardProps = {
110
+ imgUrl: string;
111
+ name: string;
112
+ description: string;
113
+ tags: string;
114
+ layout: TemplateListingRenderModes;
115
+ handleClick: () => void;
116
+ };
117
+ interface UserConfig {
118
+ availableFlowsLabel?: string;
119
+ myFlowsLabel?: string;
120
+ hideWebhookUrlScreen?: boolean;
121
+ hideAppConnectionModal?: boolean;
122
+ customComponents?: {
123
+ flowCard?: (props: FlowCardProps) => VNode;
124
+ };
125
+ }
126
+ interface SDKConfig {
127
+ env?: "staging" | "production";
128
+ debug?: boolean;
129
+ integrationId?: number;
130
+ xIntegryConfig?: {
131
+ isAnonymous?: boolean;
132
+ appAuth?: {
133
+ apiKey?: string;
134
+ authId?: string;
135
+ extras?: Record<string, string | number>;
136
+ };
137
+ };
138
+ userConfig?: UserConfig;
139
+ }
140
+ interface ConfigWithObject extends SDKConfig {
141
+ appKey: string;
142
+ hash: string;
143
+ userId: string;
144
+ deploymentId: string;
145
+ }
146
+ interface ConfigWithUrlParams extends SDKConfig {
147
+ useUrlParams?: boolean;
148
+ }
149
+ type App = {
150
+ id: number;
151
+ name: string;
152
+ description: string;
153
+ icon_url: string;
154
+ color: string;
155
+ publishing_status: string;
156
+ category: string[];
157
+ app_type?: string;
158
+ action_url?: string | null;
159
+ created_at?: Date;
160
+ tags: string;
161
+ };
162
+ type Activity = {
163
+ id: number;
164
+ name: string;
165
+ type: string;
166
+ endpoint: string;
167
+ auth_required: boolean;
168
+ total_fields: number;
169
+ app: App;
170
+ activity_output: string | null;
171
+ activity_output_url: string | null;
172
+ dynamic_field_data_endpoint: string | null;
173
+ };
174
+ type AuthorizationType = {
175
+ id: number;
176
+ type: string;
177
+ authorizations: Authorization[];
178
+ provider: string;
179
+ is_sandbox_enabled: boolean;
180
+ authorization_url_sandbox: string;
181
+ };
182
+ interface TemplateField {
183
+ id: number;
184
+ is_required: boolean;
185
+ is_hidden: boolean;
186
+ default_value: string | null;
187
+ weight: number;
188
+ description: string;
189
+ summary: string | null;
190
+ activity_field: {
191
+ id: number;
192
+ machine_name: string;
193
+ type: string;
194
+ title: string;
195
+ description: string;
196
+ weight: number;
197
+ is_required: boolean;
198
+ child_fields: string | null;
199
+ placeholder: string | null;
200
+ is_dynamic: boolean;
201
+ data_src: string | null;
202
+ data_src_endpoint: number | null;
203
+ parent_fields: string | null;
204
+ dynamic_field_src: string | null;
205
+ default_value: string | null;
206
+ auto_machine_name: string;
207
+ dynamic_field_src_endpoint: number | null;
208
+ regex: string | null;
209
+ regex_error_message?: string | null;
210
+ is_searchable: boolean;
211
+ conditional_fields?: string | null;
212
+ } | null;
213
+ title: string | null;
214
+ type: string;
215
+ placeholder: string | null;
216
+ // manual_template: unknown | null;
217
+ child_field: string | null;
218
+ child_field_value: string | null;
219
+ // template_fields: unknown[];
220
+ button_text: string | null;
221
+ // field_actions: unknown[];
222
+ icon_url: string | null;
223
+ long_description: string | null;
224
+ regex: string | null;
225
+ regex_msg: string | null;
226
+ is_visible: boolean;
227
+ app_user_data?: {
228
+ app_user: number;
229
+ id: number;
230
+ value: string | number;
231
+ }[];
232
+ added_in_mapping?: boolean;
233
+ field_mapping_source?: string;
234
+ }
235
+ interface TemplateStep {
236
+ id: number;
237
+ weight: number;
238
+ title: string;
239
+ is_visible: boolean;
240
+ activity: Activity;
241
+ authorization_type: AuthorizationType;
242
+ template_fields: TemplateField[];
243
+ step_instance?: number | null;
244
+ allow_multiple_authorizations: boolean;
245
+ step_authorization: number | null;
246
+ button_text: string | null;
247
+ is_self_step: boolean;
248
+ summary: string | null;
249
+ is_workspace_app_step: boolean;
250
+ auth_description: string | null;
251
+ hide_authorization: boolean;
252
+ // step_condition: unknown | null;
253
+ machine_name: string | null;
254
+ is_custom_machine_name: boolean;
255
+ }
256
+ interface InitConfig {
257
+ containerId: string;
258
+ templateContainerId?: string;
259
+ renderMode: TemplateFormRenderModes;
260
+ }
261
+ interface TemplatePreviewData {
262
+ id: number;
263
+ name: string;
264
+ description: string;
265
+ app: App;
266
+ branding_app: App;
267
+ button_text: string | null;
268
+ is_wizard: boolean;
269
+ publishing_status: string;
270
+ level?: number;
271
+ parent_id?: number;
272
+ steps: TemplateStep[];
273
+ }
274
+ interface PreviewMetadata {
275
+ stepId: number | null;
276
+ type: "AUTH" | "CONFIGURATION" | "CONFIRMATION" | "SECTION";
277
+ }
278
+ interface PreviewPayload {
279
+ templateData: TemplatePreviewData;
280
+ metadata: PreviewMetadata;
281
+ previewContainerId: string;
282
+ }
283
+ /**
284
+ *
285
+ * @param key Key to sign hash
286
+ * @param message Message to hash
287
+ * @returns {string}
288
+ */
289
+ declare function HMAC(message: string, key: string): Promise<string>;
290
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
291
+ type EventSet = Record<string, (...args: any[]) => void>;
292
+ interface EventEmitterType<ESet extends EventSet> {
293
+ on<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
294
+ once<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
295
+ off<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
296
+ offAll(): void;
297
+ emit<EventName extends keyof ESet>(eventName: EventName, ...args: Parameters<ESet[EventName]>): void;
298
+ }
299
+ declare class EventEmitter<ESet extends EventSet> implements EventEmitterType<EventSet> {
300
+ private events;
301
+ on<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
302
+ once<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
303
+ off<EventName extends keyof ESet>(eventName: EventName, handler: ESet[EventName]): void;
304
+ offAll(): void;
305
+ emit<EventName extends keyof ESet>(eventName: EventName, ...args: Parameters<ESet[EventName]>): void;
306
+ private addEventListener;
307
+ }
308
+ declare const Helpers: {
309
+ getAuthHash: typeof HMAC;
310
+ };
311
+ /**
312
+ * Integry JS SDK
313
+ */
314
+ declare class IntegryJS {
315
+ static SDK_VERSION: string;
316
+ private config;
317
+ private apiHandler;
318
+ eventEmitter: EventEmitter<IntegrySDKEvents>;
319
+ static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
320
+ static RenderModes: typeof TemplateFormRenderModes;
321
+ static Helpers: {
322
+ getAuthHash: (key: string, message: string) => Promise<string>;
323
+ };
324
+ private authModalId;
325
+ private forceRerender;
326
+ constructor(config: ConfigWithObject | ConfigWithUrlParams);
327
+ /**
328
+ *
329
+ * @param length Length of string to randomly generate
330
+ * @returns {string} Returns a random string
331
+ */
332
+ private getRandomFlowId;
333
+ private getAuthParamsFromUrl;
334
+ /**
335
+ * Prints version number of this SDK version
336
+ */
337
+ printVersion: () => void;
338
+ /**
339
+ *
340
+ * @param renderMode
341
+ * @param templateContainerId
342
+ * @returns {HTMLElement | null}
343
+ */
344
+ private setupFlowFormDestination;
345
+ /**
346
+ * Render the template form we ship
347
+ * @param data
348
+ */
349
+ renderFlowSetupForm: (data: {
350
+ flowId?: string;
351
+ integrationId?: number;
352
+ flowContainerId: string;
353
+ }) => void;
354
+ /**
355
+ * Render the template form we ship
356
+ * @param data
357
+ */
358
+ renderAccountConnectionModal: (data?: {
359
+ deploymentId?: string | undefined;
360
+ appId?: number | undefined;
361
+ authTypeId?: number | undefined;
362
+ } | undefined) => void;
363
+ /**
364
+ * Render the template form we ship
365
+ * @param params
366
+ */
367
+ renderPreview: (params: PreviewPayload) => void;
368
+ /**
369
+ *
370
+ * @param initConfig
371
+ */
372
+ init: (initConfig: InitConfig) => void;
373
+ verifyAuthConfig: () => Promise<{
374
+ config_verified: boolean;
375
+ } | null>;
376
+ /**
377
+ * Destroy SDK instance and cleanup store
378
+ */
379
+ destroy: () => void;
380
+ }
381
+ export { IntegryJS, Helpers, html };