@integry/sdk 4.3.49 → 4.3.50
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 +16 -4
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +16 -4
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -477,6 +477,11 @@ interface MultipurposeFieldType {
|
|
|
477
477
|
fieldId?: string;
|
|
478
478
|
enableTagify?: boolean;
|
|
479
479
|
}
|
|
480
|
+
interface ConnectedAccount {
|
|
481
|
+
id: string;
|
|
482
|
+
display_name: string;
|
|
483
|
+
modified_at: string;
|
|
484
|
+
}
|
|
480
485
|
/**
|
|
481
486
|
*
|
|
482
487
|
* @param key Key to sign hash
|
|
@@ -557,13 +562,17 @@ declare class IntegryJS {
|
|
|
557
562
|
versionId?: number;
|
|
558
563
|
viewStyle?: string;
|
|
559
564
|
}) => void;
|
|
560
|
-
|
|
561
|
-
|
|
565
|
+
showFunctionUI: (functionName: string, functionArguments: {
|
|
566
|
+
[key: string]: any;
|
|
567
|
+
}, connectedAccountId: string) => Promise<Record<any, any>>;
|
|
568
|
+
invokeFunction: (functionName: string, params: {
|
|
569
|
+
[key: string]: any;
|
|
570
|
+
}, connectedAccountId: string) => Promise<Record<any, any>>;
|
|
562
571
|
connectApp: (appName: string) => Promise<string>;
|
|
563
572
|
disconnectApp: (appName: string, connectedAccountId?: string | undefined) => Promise<any>;
|
|
564
573
|
isAppConnected: (appName: string) => Promise<any>;
|
|
565
|
-
|
|
566
|
-
getConnectedAccounts: (appName: string) => Promise<
|
|
574
|
+
getFunction: (functionName: string) => Promise<any>;
|
|
575
|
+
getConnectedAccounts: (appName: string) => Promise<ConnectedAccount[] | null>;
|
|
567
576
|
/**
|
|
568
577
|
* Render the template form we ship
|
|
569
578
|
* @param data
|
|
@@ -611,5 +620,8 @@ declare class IntegryJS {
|
|
|
611
620
|
* Destroy SDK instance and cleanup store
|
|
612
621
|
*/
|
|
613
622
|
destroy: () => void;
|
|
623
|
+
private getMethod;
|
|
624
|
+
private getBaseAPIUrl;
|
|
625
|
+
private getHeaders;
|
|
614
626
|
}
|
|
615
627
|
export { IntegryJS, Helpers, html };
|