@integry/sdk 4.0.0-beta.9 → 4.0.1-beta.2
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/LICENSE +1 -1
- package/dist/esm/index.csm.d.ts +37 -7
- package/dist/esm/index.csm.js +2 -2
- package/dist/umd/index.umd.d.ts +36 -0
- package/dist/umd/index.umd.js +2 -2
- package/package.json +5 -4
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -336,6 +336,7 @@ interface TemplateStep {
|
|
|
336
336
|
id: number;
|
|
337
337
|
weight: number;
|
|
338
338
|
title: string;
|
|
339
|
+
description?: string;
|
|
339
340
|
is_visible: boolean;
|
|
340
341
|
activity: Activity;
|
|
341
342
|
authorization_type: AuthorizationType;
|
|
@@ -408,6 +409,37 @@ interface Instance {
|
|
|
408
409
|
first_error_received_at: string;
|
|
409
410
|
usage_limit_reached_at: string;
|
|
410
411
|
}
|
|
412
|
+
interface MultipurposeFieldType {
|
|
413
|
+
activityOutputData: NestedObject;
|
|
414
|
+
activityOutputDataRaw?: NestedObject;
|
|
415
|
+
title: string;
|
|
416
|
+
description: string;
|
|
417
|
+
placeholder: string;
|
|
418
|
+
value?: string;
|
|
419
|
+
regex?: string | null;
|
|
420
|
+
regexErrorMessage?: string | null;
|
|
421
|
+
isRequired?: boolean;
|
|
422
|
+
showStepValidation?: boolean;
|
|
423
|
+
onChange?: (val: string, passesRegexTest?: boolean) => void;
|
|
424
|
+
isReadOnly?: boolean;
|
|
425
|
+
isChanged?: boolean;
|
|
426
|
+
className?: string;
|
|
427
|
+
containerClass: string;
|
|
428
|
+
type: string;
|
|
429
|
+
key: string;
|
|
430
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
431
|
+
apiHandler?: any;
|
|
432
|
+
isSearchable: boolean;
|
|
433
|
+
endpointUrl: string;
|
|
434
|
+
isDynamic: boolean;
|
|
435
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
436
|
+
endpointData?: any;
|
|
437
|
+
skipOptionFetch: boolean;
|
|
438
|
+
isMappable?: boolean;
|
|
439
|
+
accountConnected?: boolean;
|
|
440
|
+
isEditable?: boolean;
|
|
441
|
+
allowTagsInText?: boolean;
|
|
442
|
+
}
|
|
411
443
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
412
444
|
type EventSet = Record<string, (...args: any[]) => void>;
|
|
413
445
|
interface EventEmitterType<ESet extends EventSet> {
|
|
@@ -508,6 +540,10 @@ declare class IntegryJS {
|
|
|
508
540
|
*/
|
|
509
541
|
renderMarketplace: (marketplaceConfig: MarketplaceConfig) => void;
|
|
510
542
|
renderAppFlows: (appFlowConfig: InitConfig) => void;
|
|
543
|
+
renderMultipurposeField: ({ containerId, multipurposeFieldProps }: {
|
|
544
|
+
containerId: string;
|
|
545
|
+
multipurposeFieldProps: MultipurposeFieldType;
|
|
546
|
+
}) => void;
|
|
511
547
|
verifyAuthConfig: () => Promise<{
|
|
512
548
|
config_verified: boolean;
|
|
513
549
|
} | null>;
|