purecloud-flow-scripting-api-sdk-javascript 0.56.1 → 0.56.3
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/build-scripting/release/scripting.bundle.js +5 -5
- package/package.json +1 -1
- package/src/scripting/documentation/ArchAsyncTracker.html +24 -1
- package/src/scripting/documentation/ArchEnums.html +4 -1
- package/src/scripting/documentation/changelog.html +10 -0
- package/src/scripting/documentation/types.d.ts +7 -3
- package/types.d.ts +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecloud-flow-scripting-api-sdk-javascript",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.3",
|
|
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",
|
|
@@ -497,7 +497,7 @@ logging str contents wouldn't be set up.</p>
|
|
|
497
497
|
|
|
498
498
|
<h4 class="name" id="addPromise">
|
|
499
499
|
|
|
500
|
-
<span class="type-signature"></span>addPromise<span class="signature">(promise)</span><span class="type-signature"> → {Promise}</span>
|
|
500
|
+
<span class="type-signature"></span>addPromise<span class="signature">(promise, promiseName)</span><span class="type-signature"> → {Promise}</span>
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
</h4>
|
|
@@ -566,6 +566,29 @@ Architect Scripting operations.</p></td>
|
|
|
566
566
|
</tr>
|
|
567
567
|
|
|
568
568
|
|
|
569
|
+
|
|
570
|
+
<tr>
|
|
571
|
+
|
|
572
|
+
<td class="name"><code>promiseName</code></td>
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
<td class="type">
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
<span class="param-type">string</span>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
</td>
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
<td class="description last"><p>the name of the promise to use for logging purposes</p></td>
|
|
589
|
+
</tr>
|
|
590
|
+
|
|
591
|
+
|
|
569
592
|
</tbody>
|
|
570
593
|
</table>
|
|
571
594
|
|
|
@@ -3799,12 +3799,15 @@ string values.</p>
|
|
|
3799
3799
|
test: 'test', // used internally by Genesys
|
|
3800
3800
|
prod_ap_northeast_1: 'prod_ap_northeast_1',
|
|
3801
3801
|
prod_ap_northeast_2: 'prod_ap_northeast_2',
|
|
3802
|
-
|
|
3802
|
+
prod_ap_northeast_3: 'prod_ap_northeast_3',
|
|
3803
3803
|
prod_ap_south_1: 'prod_ap_south_1',
|
|
3804
|
+
prod_ap_southeast_2: 'prod_ap_southeast_2',
|
|
3804
3805
|
prod_ca_central_1: 'prod_ca_central_1',
|
|
3805
3806
|
prod_eu_central_1: 'prod_eu_central_1',
|
|
3807
|
+
prod_eu_central_2: 'prod_eu_central_2',
|
|
3806
3808
|
prod_eu_west_1: 'prod_eu_west_1',
|
|
3807
3809
|
prod_eu_west_2: 'prod_eu_west_2',
|
|
3810
|
+
prod_me_central_1: 'prod_me_central_1',
|
|
3808
3811
|
prod_sa_east_1: 'prod_sa_east_1',
|
|
3809
3812
|
prod_us_east_1: 'prod_us_east_1',
|
|
3810
3813
|
prod_us_east_2: 'prod_us_east_2',
|
|
@@ -60,6 +60,16 @@
|
|
|
60
60
|
|
|
61
61
|
<section>
|
|
62
62
|
<article class="readme"><h2>Change Log</h2>
|
|
63
|
+
<h1>0.56.3</h1>
|
|
64
|
+
<h4>Bug Fixes</h4>
|
|
65
|
+
<ul>
|
|
66
|
+
<li>We fixed an issue with <a href="ArchAsyncTracker.html#addPromise"><code>ArchAsyncTracker#addPromise</code></a> method that addresses a problem when the add method was called with a promise that was already resolved which could cause execution to stall.</li>
|
|
67
|
+
</ul>
|
|
68
|
+
<h1>0.56.2</h1>
|
|
69
|
+
<h4>Improvements</h4>
|
|
70
|
+
<ul>
|
|
71
|
+
<li>We made internal stability improvements within Architect Scripting.</li>
|
|
72
|
+
</ul>
|
|
63
73
|
<h1>0.56.1</h1>
|
|
64
74
|
<h4>Bug Fixes</h4>
|
|
65
75
|
<ul>
|
|
@@ -552,12 +552,15 @@ export class ArchEnums {
|
|
|
552
552
|
* test: 'test', // used internally by Genesys
|
|
553
553
|
* prod_ap_northeast_1: 'prod_ap_northeast_1',
|
|
554
554
|
* prod_ap_northeast_2: 'prod_ap_northeast_2',
|
|
555
|
-
*
|
|
555
|
+
* prod_ap_northeast_3: 'prod_ap_northeast_3',
|
|
556
556
|
* prod_ap_south_1: 'prod_ap_south_1',
|
|
557
|
+
* prod_ap_southeast_2: 'prod_ap_southeast_2',
|
|
557
558
|
* prod_ca_central_1: 'prod_ca_central_1',
|
|
558
559
|
* prod_eu_central_1: 'prod_eu_central_1',
|
|
560
|
+
* prod_eu_central_2: 'prod_eu_central_2',
|
|
559
561
|
* prod_eu_west_1: 'prod_eu_west_1',
|
|
560
562
|
* prod_eu_west_2: 'prod_eu_west_2',
|
|
563
|
+
* prod_me_central_1: 'prod_me_central_1',
|
|
561
564
|
* prod_sa_east_1: 'prod_sa_east_1',
|
|
562
565
|
* prod_us_east_1: 'prod_us_east_1',
|
|
563
566
|
* prod_us_east_2: 'prod_us_east_2',
|
|
@@ -565,7 +568,7 @@ export class ArchEnums {
|
|
|
565
568
|
* }
|
|
566
569
|
* ```
|
|
567
570
|
*/
|
|
568
|
-
readonly LOCATIONS: {"dev":"dev","prod_ap_northeast_1":"prod_ap_northeast_1","prod_ap_northeast_2":"prod_ap_northeast_2","prod_ap_northeast_3":"prod_ap_northeast_3","prod_ap_south_1":"prod_ap_south_1","prod_ap_southeast_2":"prod_ap_southeast_2","prod_ca_central_1":"prod_ca_central_1","prod_eu_central_1":"prod_eu_central_1","prod_eu_central_2":"prod_eu_central_2","prod_eu_west_1":"prod_eu_west_1","prod_eu_west_2":"prod_eu_west_2","prod_me_central_1":"prod_me_central_1","prod_sa_east_1":"prod_sa_east_1","prod_us_east_1":"prod_us_east_1","prod_us_east_2":"prod_us_east_2","prod_us_west_2":"prod_us_west_2","test":"test"};
|
|
571
|
+
readonly LOCATIONS: {"dev":"dev","prod_ap_northeast_1":"prod_ap_northeast_1","prod_ap_northeast_2":"prod_ap_northeast_2","prod_ap_northeast_3":"prod_ap_northeast_3","prod_ap_south_1":"prod_ap_south_1","prod_ap_southeast_1":"prod_ap_southeast_1","prod_ap_southeast_2":"prod_ap_southeast_2","prod_ca_central_1":"prod_ca_central_1","prod_eu_central_1":"prod_eu_central_1","prod_eu_central_2":"prod_eu_central_2","prod_eu_west_1":"prod_eu_west_1","prod_eu_west_2":"prod_eu_west_2","prod_me_central_1":"prod_me_central_1","prod_mx_central_1":"prod_mx_central_1","prod_sa_east_1":"prod_sa_east_1","prod_us_east_1":"prod_us_east_1","prod_us_east_2":"prod_us_east_2","prod_us_west_2":"prod_us_west_2","test":"test"};
|
|
569
572
|
/**
|
|
570
573
|
* Returns a string array that contains all valid location strings.
|
|
571
574
|
*/
|
|
@@ -3958,8 +3961,9 @@ export class ArchAsyncTracker extends ArchBaseObject {
|
|
|
3958
3961
|
* Adds a promise to be tracked to prevent operations like save from starting till its resolved.
|
|
3959
3962
|
* @param promise - the JavaScript promise to track. Promises are returned from async
|
|
3960
3963
|
* Architect Scripting operations.
|
|
3964
|
+
* @param promiseName - the name of the promise to use for logging purposes
|
|
3961
3965
|
*/
|
|
3962
|
-
addPromise(promise: Promise
|
|
3966
|
+
addPromise(promise: Promise, promiseName: string): Promise<any>;
|
|
3963
3967
|
/**
|
|
3964
3968
|
* Returns a promise for all asynchronous operations currently being tracked.
|
|
3965
3969
|
*/
|
package/types.d.ts
CHANGED
|
@@ -552,12 +552,15 @@ export class ArchEnums {
|
|
|
552
552
|
* test: 'test', // used internally by Genesys
|
|
553
553
|
* prod_ap_northeast_1: 'prod_ap_northeast_1',
|
|
554
554
|
* prod_ap_northeast_2: 'prod_ap_northeast_2',
|
|
555
|
-
*
|
|
555
|
+
* prod_ap_northeast_3: 'prod_ap_northeast_3',
|
|
556
556
|
* prod_ap_south_1: 'prod_ap_south_1',
|
|
557
|
+
* prod_ap_southeast_2: 'prod_ap_southeast_2',
|
|
557
558
|
* prod_ca_central_1: 'prod_ca_central_1',
|
|
558
559
|
* prod_eu_central_1: 'prod_eu_central_1',
|
|
560
|
+
* prod_eu_central_2: 'prod_eu_central_2',
|
|
559
561
|
* prod_eu_west_1: 'prod_eu_west_1',
|
|
560
562
|
* prod_eu_west_2: 'prod_eu_west_2',
|
|
563
|
+
* prod_me_central_1: 'prod_me_central_1',
|
|
561
564
|
* prod_sa_east_1: 'prod_sa_east_1',
|
|
562
565
|
* prod_us_east_1: 'prod_us_east_1',
|
|
563
566
|
* prod_us_east_2: 'prod_us_east_2',
|
|
@@ -565,7 +568,7 @@ export class ArchEnums {
|
|
|
565
568
|
* }
|
|
566
569
|
* ```
|
|
567
570
|
*/
|
|
568
|
-
readonly LOCATIONS: {"dev":"dev","prod_ap_northeast_1":"prod_ap_northeast_1","prod_ap_northeast_2":"prod_ap_northeast_2","prod_ap_northeast_3":"prod_ap_northeast_3","prod_ap_south_1":"prod_ap_south_1","prod_ap_southeast_2":"prod_ap_southeast_2","prod_ca_central_1":"prod_ca_central_1","prod_eu_central_1":"prod_eu_central_1","prod_eu_central_2":"prod_eu_central_2","prod_eu_west_1":"prod_eu_west_1","prod_eu_west_2":"prod_eu_west_2","prod_me_central_1":"prod_me_central_1","prod_sa_east_1":"prod_sa_east_1","prod_us_east_1":"prod_us_east_1","prod_us_east_2":"prod_us_east_2","prod_us_west_2":"prod_us_west_2","test":"test"};
|
|
571
|
+
readonly LOCATIONS: {"dev":"dev","prod_ap_northeast_1":"prod_ap_northeast_1","prod_ap_northeast_2":"prod_ap_northeast_2","prod_ap_northeast_3":"prod_ap_northeast_3","prod_ap_south_1":"prod_ap_south_1","prod_ap_southeast_1":"prod_ap_southeast_1","prod_ap_southeast_2":"prod_ap_southeast_2","prod_ca_central_1":"prod_ca_central_1","prod_eu_central_1":"prod_eu_central_1","prod_eu_central_2":"prod_eu_central_2","prod_eu_west_1":"prod_eu_west_1","prod_eu_west_2":"prod_eu_west_2","prod_me_central_1":"prod_me_central_1","prod_mx_central_1":"prod_mx_central_1","prod_sa_east_1":"prod_sa_east_1","prod_us_east_1":"prod_us_east_1","prod_us_east_2":"prod_us_east_2","prod_us_west_2":"prod_us_west_2","test":"test"};
|
|
569
572
|
/**
|
|
570
573
|
* Returns a string array that contains all valid location strings.
|
|
571
574
|
*/
|
|
@@ -3958,8 +3961,9 @@ export class ArchAsyncTracker extends ArchBaseObject {
|
|
|
3958
3961
|
* Adds a promise to be tracked to prevent operations like save from starting till its resolved.
|
|
3959
3962
|
* @param promise - the JavaScript promise to track. Promises are returned from async
|
|
3960
3963
|
* Architect Scripting operations.
|
|
3964
|
+
* @param promiseName - the name of the promise to use for logging purposes
|
|
3961
3965
|
*/
|
|
3962
|
-
addPromise(promise: Promise
|
|
3966
|
+
addPromise(promise: Promise, promiseName: string): Promise<any>;
|
|
3963
3967
|
/**
|
|
3964
3968
|
* Returns a promise for all asynchronous operations currently being tracked.
|
|
3965
3969
|
*/
|