@integry/sdk 0.0.82 → 0.0.86
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/THIRD_PARTY_LICENSES +40 -41
- package/dist/esm/index.csm.d.ts +9 -58
- package/dist/esm/index.csm.js +1 -1
- package/dist/esm/index.csm.js.map +1 -1
- package/dist/umd/index.umd.d.ts +9 -58
- package/dist/umd/index.umd.js +1 -1
- package/dist/umd/index.umd.js.map +1 -1
- package/package.json +1 -1
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -338,12 +338,38 @@ SOFTWARE.
|
|
|
338
338
|
|
|
339
339
|
---
|
|
340
340
|
|
|
341
|
-
Name:
|
|
342
|
-
Version:
|
|
341
|
+
Name: fuzzysort
|
|
342
|
+
Version: 1.1.4
|
|
343
343
|
License: MIT
|
|
344
344
|
Private: false
|
|
345
|
-
Description:
|
|
346
|
-
Repository:
|
|
345
|
+
Description: Fast SublimeText-like fuzzy search for JavaScript
|
|
346
|
+
Repository: https://github.com/farzher/fuzzysort.git
|
|
347
|
+
Author: farzher
|
|
348
|
+
License Copyright:
|
|
349
|
+
===
|
|
350
|
+
|
|
351
|
+
MIT License
|
|
352
|
+
|
|
353
|
+
Copyright (c) 2018 Stephen Kamenar
|
|
354
|
+
|
|
355
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
356
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
357
|
+
in the Software without restriction, including without limitation the rights
|
|
358
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
359
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
360
|
+
furnished to do so, subject to the following conditions:
|
|
361
|
+
|
|
362
|
+
The above copyright notice and this permission notice shall be included in all
|
|
363
|
+
copies or substantial portions of the Software.
|
|
364
|
+
|
|
365
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
366
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
367
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
368
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
369
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
370
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
371
|
+
SOFTWARE.
|
|
372
|
+
|
|
347
373
|
|
|
348
374
|
---
|
|
349
375
|
|
|
@@ -382,6 +408,15 @@ THE SOFTWARE.
|
|
|
382
408
|
|
|
383
409
|
---
|
|
384
410
|
|
|
411
|
+
Name: superstruct
|
|
412
|
+
Version: 0.15.2
|
|
413
|
+
License: MIT
|
|
414
|
+
Private: false
|
|
415
|
+
Description: A simple and composable way to validate data in JavaScript (and TypeScript).
|
|
416
|
+
Repository: undefined
|
|
417
|
+
|
|
418
|
+
---
|
|
419
|
+
|
|
385
420
|
Name: classnames
|
|
386
421
|
Version: 2.3.1
|
|
387
422
|
License: MIT
|
|
@@ -804,40 +839,4 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice
|
|
|
804
839
|
|
|
805
840
|
This Source Code Form is “Incompatible
|
|
806
841
|
With Secondary Licenses”, as defined by
|
|
807
|
-
the Mozilla Public License, v. 2.0.
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
---
|
|
812
|
-
|
|
813
|
-
Name: fuzzysort
|
|
814
|
-
Version: 1.1.4
|
|
815
|
-
License: MIT
|
|
816
|
-
Private: false
|
|
817
|
-
Description: Fast SublimeText-like fuzzy search for JavaScript
|
|
818
|
-
Repository: https://github.com/farzher/fuzzysort.git
|
|
819
|
-
Author: farzher
|
|
820
|
-
License Copyright:
|
|
821
|
-
===
|
|
822
|
-
|
|
823
|
-
MIT License
|
|
824
|
-
|
|
825
|
-
Copyright (c) 2018 Stephen Kamenar
|
|
826
|
-
|
|
827
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
828
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
829
|
-
in the Software without restriction, including without limitation the rights
|
|
830
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
831
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
832
|
-
furnished to do so, subject to the following conditions:
|
|
833
|
-
|
|
834
|
-
The above copyright notice and this permission notice shall be included in all
|
|
835
|
-
copies or substantial portions of the Software.
|
|
836
|
-
|
|
837
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
838
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
839
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
840
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
841
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
842
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
843
|
-
SOFTWARE.
|
|
842
|
+
the Mozilla Public License, v. 2.0.
|
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
type IntegrySDKEvents = {
|
|
2
|
-
"should-load-
|
|
2
|
+
"should-load-flow": ({ templateId }: {
|
|
3
3
|
templateId: number;
|
|
4
4
|
}) => void;
|
|
5
|
-
"did-load-
|
|
5
|
+
"did-load-flow": (data: {
|
|
6
6
|
templateId: number;
|
|
7
7
|
templateTitle: string;
|
|
8
8
|
templateDescription: string;
|
|
@@ -62,57 +62,6 @@ interface ConfigWithObject extends SDKConfig {
|
|
|
62
62
|
interface ConfigWithUrlParams extends SDKConfig {
|
|
63
63
|
useUrlParams?: boolean;
|
|
64
64
|
}
|
|
65
|
-
interface Template {
|
|
66
|
-
id: number;
|
|
67
|
-
name: string;
|
|
68
|
-
description: string;
|
|
69
|
-
can_add_integration: boolean;
|
|
70
|
-
integration_count: number;
|
|
71
|
-
app: {
|
|
72
|
-
icon_url: string;
|
|
73
|
-
category: string[];
|
|
74
|
-
tags: string;
|
|
75
|
-
};
|
|
76
|
-
branding_app: {
|
|
77
|
-
icon_url: string;
|
|
78
|
-
category: string[];
|
|
79
|
-
tags: string;
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
interface Integration {
|
|
83
|
-
name: string;
|
|
84
|
-
branding_app: {
|
|
85
|
-
icon_url: string;
|
|
86
|
-
category: string[];
|
|
87
|
-
tags: string;
|
|
88
|
-
};
|
|
89
|
-
id: number;
|
|
90
|
-
runs_count: number;
|
|
91
|
-
bundle_instance: number;
|
|
92
|
-
created: Date;
|
|
93
|
-
delete_link: string;
|
|
94
|
-
disable_link: string;
|
|
95
|
-
edit_link: string;
|
|
96
|
-
enable_link: string;
|
|
97
|
-
icon_url: string;
|
|
98
|
-
is_visible: number;
|
|
99
|
-
last_modified: Date;
|
|
100
|
-
status: string;
|
|
101
|
-
template: number;
|
|
102
|
-
task_execution: {
|
|
103
|
-
integration_created_at: Date;
|
|
104
|
-
last_execution_at: {
|
|
105
|
-
date: Date;
|
|
106
|
-
timezone: string;
|
|
107
|
-
timezone_type: number;
|
|
108
|
-
} | null;
|
|
109
|
-
status: string | null;
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
interface BundleResponse {
|
|
113
|
-
templates: Template[];
|
|
114
|
-
integrations: Integration[];
|
|
115
|
-
}
|
|
116
65
|
type App = {
|
|
117
66
|
id: number;
|
|
118
67
|
name: string;
|
|
@@ -282,25 +231,27 @@ declare class IntegryJS {
|
|
|
282
231
|
* @param length Length of string to randomly generate
|
|
283
232
|
* @returns {string} Returns a random string
|
|
284
233
|
*/
|
|
285
|
-
private
|
|
234
|
+
private getRandomFlowId;
|
|
286
235
|
private getAuthParamsFromUrl;
|
|
287
236
|
/**
|
|
288
237
|
* Prints version number of this SDK version
|
|
289
238
|
*/
|
|
290
239
|
printVersion: () => void;
|
|
291
|
-
getTemplatesList: () => Promise<BundleResponse | null>;
|
|
292
240
|
/**
|
|
293
241
|
*
|
|
294
242
|
* @param renderMode
|
|
295
243
|
* @param templateContainerId
|
|
296
244
|
* @returns {HTMLElement | null}
|
|
297
245
|
*/
|
|
298
|
-
private
|
|
246
|
+
private setupFlowFormDestination;
|
|
299
247
|
/**
|
|
300
248
|
* Render the template form we ship
|
|
301
|
-
* @param
|
|
249
|
+
* @param data
|
|
302
250
|
*/
|
|
303
|
-
|
|
251
|
+
renderFlowSetupForm: (data: {
|
|
252
|
+
flowId?: string;
|
|
253
|
+
flowContainerId: string;
|
|
254
|
+
}) => void;
|
|
304
255
|
/**
|
|
305
256
|
* Render the template form we ship
|
|
306
257
|
* @param templateId
|