purecloud-flow-scripting-api-sdk-javascript 0.63.8 → 0.63.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecloud-flow-scripting-api-sdk-javascript",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.9",
|
|
4
4
|
"description": "JavaScript library for creating, editing, and managing Genesys Cloud Architect flows",
|
|
5
5
|
"main": "build-scripting/release/scripting.bundle.js",
|
|
6
6
|
"author": "Genesys",
|
package/types.d.ts
CHANGED
|
@@ -352,7 +352,7 @@ export class ArchEnums {
|
|
|
352
352
|
* }
|
|
353
353
|
* ```
|
|
354
354
|
*/
|
|
355
|
-
readonly CUSTOM_JSON_TYPE_NAMESPACES: {"architect":"architect","decisionTable":"decisionTable","userDefined":"userDefined","worktype":"worktype"};
|
|
355
|
+
readonly CUSTOM_JSON_TYPE_NAMESPACES: {"architect":"architect","conversationAttribute":"conversationAttribute","decisionTable":"decisionTable","userDefined":"userDefined","worktype":"worktype"};
|
|
356
356
|
/**
|
|
357
357
|
* Returns a string array that contains all valid custom JSON type namespaces.
|
|
358
358
|
*/
|
|
@@ -1969,6 +1969,13 @@ export class ArchFactoryActions extends ArchBaseFactory {
|
|
|
1969
1969
|
* @param [previousArchAction] - the previous Architect action in the archBaseMultiActionContainer after which the new action should be added. If not specified, the new action will be appended to the end of the action container.
|
|
1970
1970
|
*/
|
|
1971
1971
|
addActionExitBotFlow(archMultiActionContainer: ArchBaseMultiActionContainer, name?: string, previousArchAction?: ArchBaseAction): ArchActionExitBotFlow;
|
|
1972
|
+
/**
|
|
1973
|
+
* Adds an exit workitem flow action to an {@link ArchBaseMultiActionContainer} such as an [action output]{@link ArchActionOutput}, [task]{@link ArchTask} or [state]{@link ArchState}.
|
|
1974
|
+
* @param archMultiActionContainer - the Architect multi-action container where the new action should be added. For example, an Architect Scripting state, task or action output where you want the action added.
|
|
1975
|
+
* @param [name] - the name for the new action. If not specified, a name will be auto-generated by Architect Scripting based on the action type being created.
|
|
1976
|
+
* @param [previousArchAction] - the previous Architect action in the archBaseMultiActionContainer after which the new action should be added. If not specified, the new action will be appended to the end of the action container.
|
|
1977
|
+
*/
|
|
1978
|
+
addActionExitWorkitemFlow(archMultiActionContainer: ArchBaseMultiActionContainer, name?: string, previousArchAction?: ArchBaseAction): ArchActionExitWorkitemFlow;
|
|
1972
1979
|
/**
|
|
1973
1980
|
* Adds a Find Emergency Group action to an {@link ArchBaseMultiActionContainer} such as an [action output]{@link ArchActionOutput} or [task]{@link ArchTask}.
|
|
1974
1981
|
* @param archMultiActionContainer - the Architect multi-action container where the new action should be added. For example, an Architect Scripting task or action output where you want the action added.
|
|
@@ -40368,16 +40375,16 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40368
40375
|
*/
|
|
40369
40376
|
getSummaryStr(wantDetails: boolean, addLogStr?: boolean, prefix?: string): string;
|
|
40370
40377
|
/**
|
|
40371
|
-
* Returns true
|
|
40378
|
+
* Returns true if there are any validation issues with errors in these results, otherwise false.
|
|
40372
40379
|
*/
|
|
40373
40380
|
readonly hasErrors: boolean;
|
|
40374
40381
|
/**
|
|
40375
|
-
* Returns true
|
|
40382
|
+
* Returns true if there are no validation issues with errors or rollup errors in this validation
|
|
40376
40383
|
* results instance, otherwise false.
|
|
40377
40384
|
*/
|
|
40378
40385
|
readonly hasNoErrors: boolean;
|
|
40379
40386
|
/**
|
|
40380
|
-
* Returns true
|
|
40387
|
+
* Returns true if there are any validation issues with errors, rollup errors, warnings or rollup warnings in
|
|
40381
40388
|
* these results, otherwise false.
|
|
40382
40389
|
*/
|
|
40383
40390
|
readonly hasErrorsOrWarnings: boolean;
|
|
@@ -40386,35 +40393,47 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40386
40393
|
*/
|
|
40387
40394
|
readonly hasNoErrorsOrWarnings: boolean;
|
|
40388
40395
|
/**
|
|
40389
|
-
* Returns true
|
|
40396
|
+
* Returns true if there are any validation issues with warnings or rollup warnings in these results, otherwise false.
|
|
40390
40397
|
*/
|
|
40391
40398
|
readonly hasWarnings: boolean;
|
|
40392
40399
|
/**
|
|
40393
|
-
* Returns true
|
|
40400
|
+
* Returns true if there are no validation issues with warnings or rollup warnings in this validation
|
|
40394
40401
|
* results instance, otherwise false.
|
|
40395
40402
|
*/
|
|
40396
40403
|
readonly hasNoWarnings: boolean;
|
|
40397
40404
|
/**
|
|
40398
|
-
* Returns number of errors the object has
|
|
40405
|
+
* Returns number of validation errors the object has.
|
|
40399
40406
|
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40400
40407
|
*/
|
|
40401
40408
|
objectErrorCount(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40402
40409
|
/**
|
|
40403
|
-
* Returns
|
|
40410
|
+
* Returns number of validation warnings the object has.
|
|
40411
|
+
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40412
|
+
*/
|
|
40413
|
+
objectWarningCount(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40414
|
+
/**
|
|
40415
|
+
* Returns whether the supplied Architect Scripting object has an error or rollup error that matches
|
|
40404
40416
|
* the supplied error string.
|
|
40405
40417
|
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40406
40418
|
* @param errorString - the error string to look up. This must be a non-blank string.
|
|
40407
40419
|
*/
|
|
40408
40420
|
objectHasErrorString(archObjectWithId: ArchBaseCoreObjectWithId, errorString: string): boolean;
|
|
40409
40421
|
/**
|
|
40410
|
-
* Returns true if the
|
|
40422
|
+
* Returns true if the supplied Architect Scripting object has an error or rollup error in this set of validation
|
|
40411
40423
|
* results. This method looks up a validation issue for the specified Architect base object and if found will check
|
|
40412
40424
|
* to see if the error or rollup error count are greater than 0.
|
|
40413
40425
|
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40414
40426
|
*/
|
|
40415
40427
|
objectHasErrors(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40416
40428
|
/**
|
|
40417
|
-
* Returns
|
|
40429
|
+
* Returns true if the supplied Architect Scripting object has a warning or rollup warning in this set of validation
|
|
40430
|
+
* results. This method looks up a validation issue for the specified Architect base object and if found will check
|
|
40431
|
+
* to see if the warning or rollup warning count are greater than 0.
|
|
40432
|
+
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40433
|
+
*/
|
|
40434
|
+
objectHasWarnings(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40435
|
+
/**
|
|
40436
|
+
* Returns whether the supplied Architect Scripting object has no errors or rollup errors
|
|
40418
40437
|
* in this set of validation results. This method looks up a validation issue for the specified Architect
|
|
40419
40438
|
* base object and if found will check to make sure that the validation issue's error count and rollup
|
|
40420
40439
|
* error count are equal to 0.
|
|
@@ -40422,7 +40441,7 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40422
40441
|
*/
|
|
40423
40442
|
objectHasNoErrors(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40424
40443
|
/**
|
|
40425
|
-
* Returns true if the
|
|
40444
|
+
* Returns true if the supplied Architect Scripting object has an error, rollup error, warning or
|
|
40426
40445
|
* rollup warning in this set of validation results. This method looks up a validation issue for the specified
|
|
40427
40446
|
* Architect base object and if found will check to see if the error, rollup error, warning or rollup warning
|
|
40428
40447
|
* count are greater than 0.
|
|
@@ -40430,7 +40449,7 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40430
40449
|
*/
|
|
40431
40450
|
objectHasErrorsOrWarnings(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40432
40451
|
/**
|
|
40433
|
-
* Returns true if the
|
|
40452
|
+
* Returns true if the supplied Architect Scripting object has no errors, rollup errors, warnings or
|
|
40434
40453
|
* rollup warnings in this set of validation results. This method looks up a validation issue for the specified
|
|
40435
40454
|
* Architect base object and if found will check to make sure that the validation issue's error, rollup error, warning
|
|
40436
40455
|
* and rollup warning counts are 0.
|
|
@@ -40438,7 +40457,7 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40438
40457
|
*/
|
|
40439
40458
|
objectHasNoErrorsOrWarnings(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40440
40459
|
/**
|
|
40441
|
-
* Returns whether
|
|
40460
|
+
* Returns whether the supplied Architect Scripting object has no warnings or rollup warnings
|
|
40442
40461
|
* in this set of validation results. This method looks up a validation issue for the specified Architect
|
|
40443
40462
|
* base object and if found will check to make sure that the validation issue's warning count and rollup
|
|
40444
40463
|
* warning count are equal to 0.
|
|
@@ -40446,7 +40465,7 @@ export class ArchValidationResults extends ArchBaseCoreObject {
|
|
|
40446
40465
|
*/
|
|
40447
40466
|
objectHasNoWarnings(archObjectWithId: ArchBaseCoreObjectWithId): boolean;
|
|
40448
40467
|
/**
|
|
40449
|
-
* Returns whether
|
|
40468
|
+
* Returns whether the supplied Architect Scripting object has a warning or rollup warning that matches
|
|
40450
40469
|
* the supplied warning string.
|
|
40451
40470
|
* @param archObjectWithId - the Architect Scripting object to check.
|
|
40452
40471
|
* @param warningString - the warning string to look up. This must be a non-blank string.
|
|
@@ -91556,6 +91575,7 @@ declare module 'purecloud-flow-scripting-api-sdk-javascript' {
|
|
|
91556
91575
|
let ArchBaseActionNoInputNoMatch: ArchBaseActionNoInputNoMatch;
|
|
91557
91576
|
let ArchBaseActionBot: ArchBaseActionBot;
|
|
91558
91577
|
let ArchBaseActionBotWithSessionVariables: ArchBaseActionBotWithSessionVariables;
|
|
91578
|
+
let ArchBaseActionConversationAttribute: ArchBaseActionConversationAttribute;
|
|
91559
91579
|
let ArchBaseActionDataAction: ArchBaseActionDataAction;
|
|
91560
91580
|
let ArchBaseDefinition: ArchBaseDefinition;
|
|
91561
91581
|
let ArchBaseActionFindSystemObject: ArchBaseActionFindSystemObject;
|