purecloud-flow-scripting-api-sdk-javascript 0.63.2 → 0.63.4

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,12 +1,12 @@
1
1
  {
2
2
  "name": "purecloud-flow-scripting-api-sdk-javascript",
3
- "version": "0.63.2",
3
+ "version": "0.63.4",
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",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "websocket": "1.0.35"
9
+ "ws": "^8.18.0"
10
10
  },
11
11
  "devDependencies": {
12
12
  "axios": "^0.27.2",
package/types.d.ts CHANGED
@@ -2766,7 +2766,7 @@ export class ArchFactoryDataTypes extends ArchBaseFactory {
2766
2766
  * @param entityName - the name of the entity that is being referenced by the custom JSON namespace.
2767
2767
  * @param customJsonDataTypeSchemaType - the custom JSON schema types to use for creating the data type. Allowable values are: {@link ArchEnums#CUSTOM_JSON_SCHEMA_TYPES}
2768
2768
  */
2769
- getOrCreateCustomJsonDataTypeAsync(archBaseFlow: ArchBaseFlow, customJsonNamespace: string, entityName: string, customJsonDataTypeSchemaType: string): void;
2769
+ getOrCreateCustomJsonDataTypeAsync(archBaseFlow: ArchBaseFlow, customJsonNamespace: string, entityName: string, customJsonDataTypeSchemaType: string): ArchDataType;
2770
2770
  }
2771
2771
 
2772
2772
  /**
@@ -5713,6 +5713,11 @@ export class ArchActionCallBotConnector extends ArchBaseActionBot {
5713
5713
  * The failure output for this action
5714
5714
  */
5715
5715
  readonly outputFailure: ArchActionOutput;
5716
+ /**
5717
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
5718
+ * Cached on first access. Returns undefined if the action has no errorBindings.
5719
+ */
5720
+ readonly failureOutputs: ArchNamedValueList;
5716
5721
  /**
5717
5722
  * Gets an output by its identifier. If it cannot be found, this method will throw.
5718
5723
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -6197,6 +6202,11 @@ export class ArchActionCallDecisionTable extends ArchBaseActionWithOutputsSucces
6197
6202
  * The failure output for this action
6198
6203
  */
6199
6204
  readonly outputFailure: ArchActionOutput;
6205
+ /**
6206
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
6207
+ * Cached on first access. Returns undefined if the action has no errorBindings.
6208
+ */
6209
+ readonly failureOutputs: ArchNamedValueList;
6200
6210
  /**
6201
6211
  * Gets an output by its identifier. If it cannot be found, this method will throw.
6202
6212
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -6558,6 +6568,11 @@ export class ArchActionCallDialogEngineBot extends ArchBaseActionBot {
6558
6568
  * The failure output for this action
6559
6569
  */
6560
6570
  readonly outputFailure: ArchActionOutput;
6571
+ /**
6572
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
6573
+ * Cached on first access. Returns undefined if the action has no errorBindings.
6574
+ */
6575
+ readonly failureOutputs: ArchNamedValueList;
6561
6576
  /**
6562
6577
  * Gets an output by its identifier. If it cannot be found, this method will throw.
6563
6578
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -6981,6 +6996,11 @@ export class ArchActionCallDialogflowBot extends ArchBaseActionDialogflow {
6981
6996
  * The failure output for this action
6982
6997
  */
6983
6998
  readonly outputFailure: ArchActionOutput;
6999
+ /**
7000
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
7001
+ * Cached on first access. Returns undefined if the action has no errorBindings.
7002
+ */
7003
+ readonly failureOutputs: ArchNamedValueList;
6984
7004
  /**
6985
7005
  * Gets an output by its identifier. If it cannot be found, this method will throw.
6986
7006
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -7358,6 +7378,11 @@ export class ArchActionCallGuide extends ArchBaseActionWithOutputsSuccessFailure
7358
7378
  * The failure output for this action
7359
7379
  */
7360
7380
  readonly outputFailure: ArchActionOutput;
7381
+ /**
7382
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
7383
+ * Cached on first access. Returns undefined if the action has no errorBindings.
7384
+ */
7385
+ readonly failureOutputs: ArchNamedValueList;
7361
7386
  /**
7362
7387
  * Gets an output by its identifier. If it cannot be found, this method will throw.
7363
7388
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -7849,6 +7874,11 @@ export class ArchActionCallNuanceMixBot extends ArchBaseActionBot {
7849
7874
  * The failure output for this action
7850
7875
  */
7851
7876
  readonly outputFailure: ArchActionOutput;
7877
+ /**
7878
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
7879
+ * Cached on first access. Returns undefined if the action has no errorBindings.
7880
+ */
7881
+ readonly failureOutputs: ArchNamedValueList;
7852
7882
  /**
7853
7883
  * Gets an output by its identifier. If it cannot be found, this method will throw.
7854
7884
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -8715,6 +8745,11 @@ export class ArchActionDataTableLookup extends ArchBaseActionWithOutputsFoundNot
8715
8745
  * The failure output for this action
8716
8746
  */
8717
8747
  readonly outputFailure: ArchActionOutput;
8748
+ /**
8749
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
8750
+ * Cached on first access. Returns undefined if the action has no errorBindings.
8751
+ */
8752
+ readonly failureOutputs: ArchNamedValueList;
8718
8753
  /**
8719
8754
  * Gets an output by its identifier. If it cannot be found, this method will throw.
8720
8755
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -9020,6 +9055,11 @@ export class ArchActionDecryptData extends ArchBaseActionWithOutputsSuccessFailu
9020
9055
  * The failure output for this action
9021
9056
  */
9022
9057
  readonly outputFailure: ArchActionOutput;
9058
+ /**
9059
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
9060
+ * Cached on first access. Returns undefined if the action has no errorBindings.
9061
+ */
9062
+ readonly failureOutputs: ArchNamedValueList;
9023
9063
  /**
9024
9064
  * Gets an output by its identifier. If it cannot be found, this method will throw.
9025
9065
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -9510,6 +9550,11 @@ export class ArchActionEncryptData extends ArchBaseActionWithOutputsSuccessFailu
9510
9550
  * The failure output for this action
9511
9551
  */
9512
9552
  readonly outputFailure: ArchActionOutput;
9553
+ /**
9554
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
9555
+ * Cached on first access. Returns undefined if the action has no errorBindings.
9556
+ */
9557
+ readonly failureOutputs: ArchNamedValueList;
9513
9558
  /**
9514
9559
  * Gets an output by its identifier. If it cannot be found, this method will throw.
9515
9560
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -10933,6 +10978,11 @@ export class ArchActionGetRawSIPHeaders extends ArchBaseActionWithOutputsSuccess
10933
10978
  * The failure output for this action
10934
10979
  */
10935
10980
  readonly outputFailure: ArchActionOutput;
10981
+ /**
10982
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
10983
+ * Cached on first access. Returns undefined if the action has no errorBindings.
10984
+ */
10985
+ readonly failureOutputs: ArchNamedValueList;
10936
10986
  /**
10937
10987
  * Gets an output by its identifier. If it cannot be found, this method will throw.
10938
10988
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -11308,6 +11358,11 @@ export class ArchActionGetSIPHeaders extends ArchBaseActionWithOutputsSuccessFai
11308
11358
  * The failure output for this action
11309
11359
  */
11310
11360
  readonly outputFailure: ArchActionOutput;
11361
+ /**
11362
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
11363
+ * Cached on first access. Returns undefined if the action has no errorBindings.
11364
+ */
11365
+ readonly failureOutputs: ArchNamedValueList;
11311
11366
  /**
11312
11367
  * Gets an output by its identifier. If it cannot be found, this method will throw.
11313
11368
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -12884,6 +12939,11 @@ export class ArchActionSendNotification extends ArchBaseActionWithOutputsSuccess
12884
12939
  * The failure output for this action
12885
12940
  */
12886
12941
  readonly outputFailure: ArchActionOutput;
12942
+ /**
12943
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
12944
+ * Cached on first access. Returns undefined if the action has no errorBindings.
12945
+ */
12946
+ readonly failureOutputs: ArchNamedValueList;
12887
12947
  /**
12888
12948
  * Gets an output by its identifier. If it cannot be found, this method will throw.
12889
12949
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -15059,6 +15119,11 @@ export class ArchBaseActionBot extends ArchBaseActionBotWithSessionVariables {
15059
15119
  * The failure output for this action
15060
15120
  */
15061
15121
  readonly outputFailure: ArchActionOutput;
15122
+ /**
15123
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
15124
+ * Cached on first access. Returns undefined if the action has no errorBindings.
15125
+ */
15126
+ readonly failureOutputs: ArchNamedValueList;
15062
15127
  /**
15063
15128
  * Gets an output by its identifier. If it cannot be found, this method will throw.
15064
15129
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -15335,6 +15400,11 @@ export class ArchBaseActionBotWithSessionVariables extends ArchBaseActionWithOut
15335
15400
  * The failure output for this action
15336
15401
  */
15337
15402
  readonly outputFailure: ArchActionOutput;
15403
+ /**
15404
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
15405
+ * Cached on first access. Returns undefined if the action has no errorBindings.
15406
+ */
15407
+ readonly failureOutputs: ArchNamedValueList;
15338
15408
  /**
15339
15409
  * Gets an output by its identifier. If it cannot be found, this method will throw.
15340
15410
  * Normally you won't need to use this method and will use the helper methods available on inheriting classes
@@ -16201,6 +16271,11 @@ export class ArchBaseActionWithOutputFailure extends ArchBaseActionWithOutputs {
16201
16271
  * The failure output for this action
16202
16272
  */
16203
16273
  readonly outputFailure: ArchActionOutput;
16274
+ /**
16275
+ * The failure outputs (errorType, errorMessage) that get populated when the action takes the failure path.
16276
+ * Cached on first access. Returns undefined if the action has no errorBindings.
16277
+ */
16278
+ readonly failureOutputs: ArchNamedValueList;
16204
16279
  }
16205
16280
 
16206
16281
  /**