@integry/sdk 4.0.0-beta.61 → 4.0.0-beta.63
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/.vscode/launch.json +1 -1
- package/dist/esm/index.csm.d.ts +33 -9
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +32 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +3 -2
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -409,6 +409,34 @@ interface Instance {
|
|
|
409
409
|
first_error_received_at: string;
|
|
410
410
|
usage_limit_reached_at: string;
|
|
411
411
|
}
|
|
412
|
+
interface MultipurposeFieldType {
|
|
413
|
+
activityOutputData: NestedObject;
|
|
414
|
+
title: string;
|
|
415
|
+
description: string;
|
|
416
|
+
placeholder: string;
|
|
417
|
+
value?: string;
|
|
418
|
+
regex?: string | null;
|
|
419
|
+
regexErrorMessage?: string | null;
|
|
420
|
+
isRequired?: boolean;
|
|
421
|
+
showStepValidation?: boolean;
|
|
422
|
+
onChange?: (val: string, passesRegexTest?: boolean) => void;
|
|
423
|
+
isReadOnly?: boolean;
|
|
424
|
+
isChanged?: boolean;
|
|
425
|
+
className?: string;
|
|
426
|
+
containerClass: string;
|
|
427
|
+
type: string;
|
|
428
|
+
key: string;
|
|
429
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
430
|
+
apiHandler?: any;
|
|
431
|
+
isSearchable: boolean;
|
|
432
|
+
endpointUrl: string;
|
|
433
|
+
isDynamic: boolean;
|
|
434
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
435
|
+
endpointData?: any;
|
|
436
|
+
skipOptionFetch: boolean;
|
|
437
|
+
isMappable?: boolean;
|
|
438
|
+
accountConnected?: boolean;
|
|
439
|
+
}
|
|
412
440
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
413
441
|
type EventSet = Record<string, (...args: any[]) => void>;
|
|
414
442
|
interface EventEmitterType<ESet extends EventSet> {
|
|
@@ -509,6 +537,10 @@ declare class IntegryJS {
|
|
|
509
537
|
*/
|
|
510
538
|
renderMarketplace: (marketplaceConfig: MarketplaceConfig) => void;
|
|
511
539
|
renderAppFlows: (appFlowConfig: InitConfig) => void;
|
|
540
|
+
renderMultipurposeField: ({ containerId, multipurposeFieldProps }: {
|
|
541
|
+
containerId: string;
|
|
542
|
+
multipurposeFieldProps: MultipurposeFieldType;
|
|
543
|
+
}) => void;
|
|
512
544
|
verifyAuthConfig: () => Promise<{
|
|
513
545
|
config_verified: boolean;
|
|
514
546
|
} | null>;
|