purecloud-flow-scripting-api-sdk-javascript 0.67.0 → 0.67.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecloud-flow-scripting-api-sdk-javascript",
|
|
3
|
-
"version": "0.67.
|
|
3
|
+
"version": "0.67.2",
|
|
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
|
@@ -2145,6 +2145,13 @@ export class ArchFactoryActions extends ArchBaseFactory {
|
|
|
2145
2145
|
* @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.
|
|
2146
2146
|
*/
|
|
2147
2147
|
addActionSendResponse(archMultiActionContainer: ArchBaseMultiActionContainer, name?: string, messageBodyExpression?: string, previousArchAction?: ArchBaseAction): ArchActionSendResponse;
|
|
2148
|
+
/**
|
|
2149
|
+
* Adds a Send Rich Link Message action to an {@link ArchBaseMultiActionContainer} such as a [action output]{@link ArchActionOutput}, [task]{@link ArchTask} or [state]{@link ArchState}.
|
|
2150
|
+
* @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.
|
|
2151
|
+
* @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.
|
|
2152
|
+
* @param [previousArchAction] - the previous Architect action in the archBaseMultiActionContainer after which the new action should be added.
|
|
2153
|
+
*/
|
|
2154
|
+
addActionSendRichLink(archMultiActionContainer: ArchBaseMultiActionContainer, name?: string, previousArchAction?: ArchBaseAction): ArchActionSendRichLink;
|
|
2148
2155
|
/**
|
|
2149
2156
|
* Adds a Set Conversation Data action to an {@link ArchBaseMultiActionContainer} such as an [action output]{@link ArchActionOutput}, [task]{@link ArchTask} or [state]{@link ArchState}.
|
|
2150
2157
|
* @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.
|
|
@@ -3696,7 +3703,7 @@ export class ArchFactoryTasks extends ArchBaseFactory {
|
|
|
3696
3703
|
* @param archBaseFlow - the flow where the task will be added.
|
|
3697
3704
|
* @param [name] - the name of the new task. If undefined, null or a blank string, a default name will be assigned
|
|
3698
3705
|
* by Architect Scripting to the new task.
|
|
3699
|
-
* @param [setAsStartingTask = false] - whether
|
|
3706
|
+
* @param [setAsStartingTask = false] - whether the newly created task should be set as the [startup object]{@link ArchBaseFlow#startUpObject} on the flow.
|
|
3700
3707
|
*/
|
|
3701
3708
|
addTask(archBaseFlow: ArchBaseFlowInboundOutboundSecureCall | ArchBaseFlowWorkflow, name?: string, setAsStartingTask?: boolean): ArchTask;
|
|
3702
3709
|
}
|
|
@@ -8318,6 +8325,57 @@ export class ArchActionSendResponse extends ArchBaseActionWithOutputsSuccessFail
|
|
|
8318
8325
|
setLiteralMessageBodyStyle(newMessageBodyStyle: string): void;
|
|
8319
8326
|
}
|
|
8320
8327
|
|
|
8328
|
+
/**
|
|
8329
|
+
* The Architect Scripting class for the Send Rich Link action.
|
|
8330
|
+
* Instances of this action should be created by calling {@link ArchFactoryActions#addActionSendRichLink}
|
|
8331
|
+
* @param coreSendRichLinkActionViewModel - ( *Internal* ) an Architect core send rich link action.
|
|
8332
|
+
*/
|
|
8333
|
+
export class ArchActionSendRichLink extends ArchBaseActionWithOutputsSuccessFailure {
|
|
8334
|
+
// constructor(coreSendRichLinkActionViewModel: any);
|
|
8335
|
+
/**
|
|
8336
|
+
* Returns the display type name string 'ArchActionSendRichLink'.
|
|
8337
|
+
*/
|
|
8338
|
+
readonly displayTypeName: string;
|
|
8339
|
+
/**
|
|
8340
|
+
* Returns true indicating that this is an ArchActionSendRichLink instance.
|
|
8341
|
+
*/
|
|
8342
|
+
readonly isArchActionSendRichLink: boolean;
|
|
8343
|
+
/**
|
|
8344
|
+
* The body text for the rich link message.
|
|
8345
|
+
*/
|
|
8346
|
+
readonly body: ArchValueString;
|
|
8347
|
+
/**
|
|
8348
|
+
* The footer text for the rich link message.
|
|
8349
|
+
*/
|
|
8350
|
+
readonly footer: ArchValueString;
|
|
8351
|
+
/**
|
|
8352
|
+
* The header type for the rich link message. The string values in {@link ArchEnums#RICH_LINK_HEADER_TYPES} lists
|
|
8353
|
+
* valid header type values.
|
|
8354
|
+
*/
|
|
8355
|
+
readonly headerType: ArchValueString;
|
|
8356
|
+
/**
|
|
8357
|
+
* The header text for the rich link message.
|
|
8358
|
+
*/
|
|
8359
|
+
readonly headerText: ArchValueString;
|
|
8360
|
+
/**
|
|
8361
|
+
* The header image for the rich link message.
|
|
8362
|
+
*/
|
|
8363
|
+
readonly headerImage: ArchValueImage;
|
|
8364
|
+
/**
|
|
8365
|
+
* The contents of this named value list come from the Failure Outputs schema. It will contain two values: errorType and errorMessage.
|
|
8366
|
+
* These values will be returned by the server if the action takes the Failure path.
|
|
8367
|
+
*/
|
|
8368
|
+
readonly sendRichLinkOutputsFailure: ArchNamedValueList;
|
|
8369
|
+
/**
|
|
8370
|
+
* The URL label for the rich link message.
|
|
8371
|
+
*/
|
|
8372
|
+
readonly urlLabel: ArchValueString;
|
|
8373
|
+
/**
|
|
8374
|
+
* The URL value for the rich link message.
|
|
8375
|
+
*/
|
|
8376
|
+
readonly urlValue: ArchValueString;
|
|
8377
|
+
}
|
|
8378
|
+
|
|
8321
8379
|
/**
|
|
8322
8380
|
* The Architect Scripting class for the Set Conversation Data action.
|
|
8323
8381
|
* Instances of this action should be created by calling {@link ArchFactoryActions#addActionSetConversationData}
|
|
@@ -17653,6 +17711,18 @@ export class ArchSettingsBotFlow extends ArchBaseCoreObjectWithId {
|
|
|
17653
17711
|
* for Virtual Agent functionality to be used at flow runtime.
|
|
17654
17712
|
*/
|
|
17655
17713
|
virtualAgentEnabled: boolean;
|
|
17714
|
+
/**
|
|
17715
|
+
* The prompt to play when a request is being processed in a bot flow.
|
|
17716
|
+
*/
|
|
17717
|
+
readonly voiceProcessingPrompt: ArchValueCommunication;
|
|
17718
|
+
/**
|
|
17719
|
+
* The minimum time that the voice processing prompt will play for.
|
|
17720
|
+
*/
|
|
17721
|
+
readonly minimumPlaybackTime: ArchValueDuration;
|
|
17722
|
+
/**
|
|
17723
|
+
* The initial playback delay before the voice processing prompt starts playing.
|
|
17724
|
+
*/
|
|
17725
|
+
readonly initialPlaybackDelay: ArchValueDuration;
|
|
17656
17726
|
}
|
|
17657
17727
|
|
|
17658
17728
|
/**
|
|
@@ -29653,6 +29723,7 @@ declare module 'purecloud-flow-scripting-api-sdk-javascript' {
|
|
|
29653
29723
|
let ArchActionSendKnowledgeFeedback: ArchActionSendKnowledgeFeedback;
|
|
29654
29724
|
let ArchActionSendNotification: ArchActionSendNotification;
|
|
29655
29725
|
let ArchActionSendResponse: ArchActionSendResponse;
|
|
29726
|
+
let ArchActionSendRichLink: ArchActionSendRichLink;
|
|
29656
29727
|
let ArchActionSetConversationData: ArchActionSetConversationData;
|
|
29657
29728
|
let ArchActionSetExternalTag: ArchActionSetExternalTag;
|
|
29658
29729
|
let ArchActionSetIntent: ArchActionSetIntent;
|