purecloud-flow-scripting-api-sdk-javascript 0.42.0 → 0.42.1
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 +16 -16
- package/package.json +1 -1
- package/src/scripting/documentation/ArchActionSendNotification.html +1 -1
- package/src/scripting/documentation/ArchBaseFlow.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowBot.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowInQueueWorkflow.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowInboundOutboundSecureCall.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowWithMenus.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowWithTasks.html +15 -2
- package/src/scripting/documentation/ArchBaseFlowWorkflow.html +15 -2
- package/src/scripting/documentation/ArchEnums.html +2 -1
- package/src/scripting/documentation/ArchFactoryFlows.html +24 -16
- package/src/scripting/documentation/ArchFlowBot.html +15 -2
- package/src/scripting/documentation/ArchFlowCommonModule.html +15 -2
- package/src/scripting/documentation/ArchFlowDigitalBot.html +15 -2
- package/src/scripting/documentation/ArchFlowInQueueCall.html +15 -2
- package/src/scripting/documentation/ArchFlowInQueueEmail.html +15 -2
- package/src/scripting/documentation/ArchFlowInQueueShortMessage.html +15 -2
- package/src/scripting/documentation/ArchFlowInboundCall.html +15 -2
- package/src/scripting/documentation/ArchFlowInboundChat.html +15 -2
- package/src/scripting/documentation/ArchFlowInboundEmail.html +15 -2
- package/src/scripting/documentation/ArchFlowInboundShortMessage.html +15 -2
- package/src/scripting/documentation/ArchFlowOutboundCall.html +15 -2
- package/src/scripting/documentation/ArchFlowSecureCall.html +15 -2
- package/src/scripting/documentation/ArchFlowSurveyInvite.html +15 -2
- package/src/scripting/documentation/ArchFlowVoicemail.html +15 -2
- package/src/scripting/documentation/ArchFlowWorkflow.html +15 -2
- package/src/scripting/documentation/changelog.html +9 -0
- package/src/scripting/documentation/types.d.ts +35 -24
- package/types.d.ts +35 -24
- package/deployProcess.md +0 -12
- package/frescoConfig.json +0 -4
- package/scriptingAuthToken.txt +0 -1
|
@@ -5633,6 +5633,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5633
5633
|
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
|
+
<th>Default</th>
|
|
5637
|
+
|
|
5636
5638
|
|
|
5637
5639
|
<th class="last">Description</th>
|
|
5638
5640
|
</tr>
|
|
@@ -5668,9 +5670,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5668
5670
|
|
|
5669
5671
|
|
|
5670
5672
|
|
|
5673
|
+
<td class="default">
|
|
5674
|
+
|
|
5675
|
+
"latest"
|
|
5676
|
+
|
|
5677
|
+
</td>
|
|
5678
|
+
|
|
5671
5679
|
|
|
5672
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5673
|
-
a version value such as "2.0" or "2"
|
|
5680
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5681
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5682
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5674
5683
|
</tr>
|
|
5675
5684
|
|
|
5676
5685
|
|
|
@@ -5702,6 +5711,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5702
5711
|
|
|
5703
5712
|
|
|
5704
5713
|
|
|
5714
|
+
<td class="default">
|
|
5715
|
+
|
|
5716
|
+
</td>
|
|
5717
|
+
|
|
5705
5718
|
|
|
5706
5719
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5707
5720
|
</tr>
|
|
@@ -6032,6 +6032,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6032
6032
|
|
|
6033
6033
|
|
|
6034
6034
|
|
|
6035
|
+
<th>Default</th>
|
|
6036
|
+
|
|
6035
6037
|
|
|
6036
6038
|
<th class="last">Description</th>
|
|
6037
6039
|
</tr>
|
|
@@ -6067,9 +6069,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6067
6069
|
|
|
6068
6070
|
|
|
6069
6071
|
|
|
6072
|
+
<td class="default">
|
|
6073
|
+
|
|
6074
|
+
"latest"
|
|
6075
|
+
|
|
6076
|
+
</td>
|
|
6077
|
+
|
|
6070
6078
|
|
|
6071
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
6072
|
-
a version value such as "2.0" or "2"
|
|
6079
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
6080
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
6081
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
6073
6082
|
</tr>
|
|
6074
6083
|
|
|
6075
6084
|
|
|
@@ -6101,6 +6110,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
6101
6110
|
|
|
6102
6111
|
|
|
6103
6112
|
|
|
6113
|
+
<td class="default">
|
|
6114
|
+
|
|
6115
|
+
</td>
|
|
6116
|
+
|
|
6104
6117
|
|
|
6105
6118
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
6106
6119
|
</tr>
|
|
@@ -5634,6 +5634,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
5636
|
|
|
5637
|
+
<th>Default</th>
|
|
5638
|
+
|
|
5637
5639
|
|
|
5638
5640
|
<th class="last">Description</th>
|
|
5639
5641
|
</tr>
|
|
@@ -5669,9 +5671,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5669
5671
|
|
|
5670
5672
|
|
|
5671
5673
|
|
|
5674
|
+
<td class="default">
|
|
5675
|
+
|
|
5676
|
+
"latest"
|
|
5677
|
+
|
|
5678
|
+
</td>
|
|
5679
|
+
|
|
5672
5680
|
|
|
5673
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5674
|
-
a version value such as "2.0" or "2"
|
|
5681
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5682
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5683
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5675
5684
|
</tr>
|
|
5676
5685
|
|
|
5677
5686
|
|
|
@@ -5703,6 +5712,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5703
5712
|
|
|
5704
5713
|
|
|
5705
5714
|
|
|
5715
|
+
<td class="default">
|
|
5716
|
+
|
|
5717
|
+
</td>
|
|
5718
|
+
|
|
5706
5719
|
|
|
5707
5720
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5708
5721
|
</tr>
|
|
@@ -5781,6 +5781,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5781
5781
|
|
|
5782
5782
|
|
|
5783
5783
|
|
|
5784
|
+
<th>Default</th>
|
|
5785
|
+
|
|
5784
5786
|
|
|
5785
5787
|
<th class="last">Description</th>
|
|
5786
5788
|
</tr>
|
|
@@ -5816,9 +5818,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5816
5818
|
|
|
5817
5819
|
|
|
5818
5820
|
|
|
5821
|
+
<td class="default">
|
|
5822
|
+
|
|
5823
|
+
"latest"
|
|
5824
|
+
|
|
5825
|
+
</td>
|
|
5826
|
+
|
|
5819
5827
|
|
|
5820
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5821
|
-
a version value such as "2.0" or "2"
|
|
5828
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5829
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5830
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5822
5831
|
</tr>
|
|
5823
5832
|
|
|
5824
5833
|
|
|
@@ -5850,6 +5859,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5850
5859
|
|
|
5851
5860
|
|
|
5852
5861
|
|
|
5862
|
+
<td class="default">
|
|
5863
|
+
|
|
5864
|
+
</td>
|
|
5865
|
+
|
|
5853
5866
|
|
|
5854
5867
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5855
5868
|
</tr>
|
|
@@ -5634,6 +5634,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
5636
|
|
|
5637
|
+
<th>Default</th>
|
|
5638
|
+
|
|
5637
5639
|
|
|
5638
5640
|
<th class="last">Description</th>
|
|
5639
5641
|
</tr>
|
|
@@ -5669,9 +5671,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5669
5671
|
|
|
5670
5672
|
|
|
5671
5673
|
|
|
5674
|
+
<td class="default">
|
|
5675
|
+
|
|
5676
|
+
"latest"
|
|
5677
|
+
|
|
5678
|
+
</td>
|
|
5679
|
+
|
|
5672
5680
|
|
|
5673
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5674
|
-
a version value such as "2.0" or "2"
|
|
5681
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5682
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5683
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5675
5684
|
</tr>
|
|
5676
5685
|
|
|
5677
5686
|
|
|
@@ -5703,6 +5712,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5703
5712
|
|
|
5704
5713
|
|
|
5705
5714
|
|
|
5715
|
+
<td class="default">
|
|
5716
|
+
|
|
5717
|
+
</td>
|
|
5718
|
+
|
|
5706
5719
|
|
|
5707
5720
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5708
5721
|
</tr>
|
|
@@ -6032,6 +6032,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6032
6032
|
|
|
6033
6033
|
|
|
6034
6034
|
|
|
6035
|
+
<th>Default</th>
|
|
6036
|
+
|
|
6035
6037
|
|
|
6036
6038
|
<th class="last">Description</th>
|
|
6037
6039
|
</tr>
|
|
@@ -6067,9 +6069,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6067
6069
|
|
|
6068
6070
|
|
|
6069
6071
|
|
|
6072
|
+
<td class="default">
|
|
6073
|
+
|
|
6074
|
+
"latest"
|
|
6075
|
+
|
|
6076
|
+
</td>
|
|
6077
|
+
|
|
6070
6078
|
|
|
6071
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
6072
|
-
a version value such as "2.0" or "2"
|
|
6079
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
6080
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
6081
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
6073
6082
|
</tr>
|
|
6074
6083
|
|
|
6075
6084
|
|
|
@@ -6101,6 +6110,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
6101
6110
|
|
|
6102
6111
|
|
|
6103
6112
|
|
|
6113
|
+
<td class="default">
|
|
6114
|
+
|
|
6115
|
+
</td>
|
|
6116
|
+
|
|
6104
6117
|
|
|
6105
6118
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
6106
6119
|
</tr>
|
|
@@ -6032,6 +6032,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6032
6032
|
|
|
6033
6033
|
|
|
6034
6034
|
|
|
6035
|
+
<th>Default</th>
|
|
6036
|
+
|
|
6035
6037
|
|
|
6036
6038
|
<th class="last">Description</th>
|
|
6037
6039
|
</tr>
|
|
@@ -6067,9 +6069,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6067
6069
|
|
|
6068
6070
|
|
|
6069
6071
|
|
|
6072
|
+
<td class="default">
|
|
6073
|
+
|
|
6074
|
+
"latest"
|
|
6075
|
+
|
|
6076
|
+
</td>
|
|
6077
|
+
|
|
6070
6078
|
|
|
6071
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
6072
|
-
a version value such as "2.0" or "2"
|
|
6079
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
6080
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
6081
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
6073
6082
|
</tr>
|
|
6074
6083
|
|
|
6075
6084
|
|
|
@@ -6101,6 +6110,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
6101
6110
|
|
|
6102
6111
|
|
|
6103
6112
|
|
|
6113
|
+
<td class="default">
|
|
6114
|
+
|
|
6115
|
+
</td>
|
|
6116
|
+
|
|
6104
6117
|
|
|
6105
6118
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
6106
6119
|
</tr>
|
|
@@ -5633,6 +5633,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5633
5633
|
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
|
+
<th>Default</th>
|
|
5637
|
+
|
|
5636
5638
|
|
|
5637
5639
|
<th class="last">Description</th>
|
|
5638
5640
|
</tr>
|
|
@@ -5668,9 +5670,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5668
5670
|
|
|
5669
5671
|
|
|
5670
5672
|
|
|
5673
|
+
<td class="default">
|
|
5674
|
+
|
|
5675
|
+
"latest"
|
|
5676
|
+
|
|
5677
|
+
</td>
|
|
5678
|
+
|
|
5671
5679
|
|
|
5672
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5673
|
-
a version value such as "2.0" or "2"
|
|
5680
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5681
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5682
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5674
5683
|
</tr>
|
|
5675
5684
|
|
|
5676
5685
|
|
|
@@ -5702,6 +5711,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5702
5711
|
|
|
5703
5712
|
|
|
5704
5713
|
|
|
5714
|
+
<td class="default">
|
|
5715
|
+
|
|
5716
|
+
</td>
|
|
5717
|
+
|
|
5705
5718
|
|
|
5706
5719
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5707
5720
|
</tr>
|
|
@@ -6032,6 +6032,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6032
6032
|
|
|
6033
6033
|
|
|
6034
6034
|
|
|
6035
|
+
<th>Default</th>
|
|
6036
|
+
|
|
6035
6037
|
|
|
6036
6038
|
<th class="last">Description</th>
|
|
6037
6039
|
</tr>
|
|
@@ -6067,9 +6069,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
6067
6069
|
|
|
6068
6070
|
|
|
6069
6071
|
|
|
6072
|
+
<td class="default">
|
|
6073
|
+
|
|
6074
|
+
"latest"
|
|
6075
|
+
|
|
6076
|
+
</td>
|
|
6077
|
+
|
|
6070
6078
|
|
|
6071
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
6072
|
-
a version value such as "2.0" or "2"
|
|
6079
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
6080
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
6081
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
6073
6082
|
</tr>
|
|
6074
6083
|
|
|
6075
6084
|
|
|
@@ -6101,6 +6110,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
6101
6110
|
|
|
6102
6111
|
|
|
6103
6112
|
|
|
6113
|
+
<td class="default">
|
|
6114
|
+
|
|
6115
|
+
</td>
|
|
6116
|
+
|
|
6104
6117
|
|
|
6105
6118
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
6106
6119
|
</tr>
|
|
@@ -5633,6 +5633,8 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5633
5633
|
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
|
+
<th>Default</th>
|
|
5637
|
+
|
|
5636
5638
|
|
|
5637
5639
|
<th class="last">Description</th>
|
|
5638
5640
|
</tr>
|
|
@@ -5668,9 +5670,16 @@ longer be considered valid after loading new configuration.</p>
|
|
|
5668
5670
|
|
|
5669
5671
|
|
|
5670
5672
|
|
|
5673
|
+
<td class="default">
|
|
5674
|
+
|
|
5675
|
+
"latest"
|
|
5676
|
+
|
|
5677
|
+
</td>
|
|
5678
|
+
|
|
5671
5679
|
|
|
5672
|
-
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
5673
|
-
a version value such as "2.0" or "2"
|
|
5680
|
+
<td class="description last"><p>the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
5681
|
+
a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
5682
|
+
or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.</p></td>
|
|
5674
5683
|
</tr>
|
|
5675
5684
|
|
|
5676
5685
|
|
|
@@ -5702,6 +5711,10 @@ a version value such as "2.0" or "2". If you do not specify
|
|
|
5702
5711
|
|
|
5703
5712
|
|
|
5704
5713
|
|
|
5714
|
+
<td class="default">
|
|
5715
|
+
|
|
5716
|
+
</td>
|
|
5717
|
+
|
|
5705
5718
|
|
|
5706
5719
|
<td class="description last"><p>a callback function to call if the flow was loaded.</p></td>
|
|
5707
5720
|
</tr>
|
|
@@ -60,6 +60,15 @@
|
|
|
60
60
|
|
|
61
61
|
<section>
|
|
62
62
|
<article class="readme"><h2>Change Log</h2>
|
|
63
|
+
<h1>0.42.1</h1>
|
|
64
|
+
<h4>Improvements</h4>
|
|
65
|
+
<ul>
|
|
66
|
+
<li>We added the ability to additionally specify <code>published</code> or <code>debug</code> for functions such as <a href="ArchFactoryFlows.html#loadFlowByFlowIdAsync"><code>ArchFactoryFlows#loadFlowByFlowIdAsync</code></a> for the <code>flowVersion</code> parameter.</li>
|
|
67
|
+
</ul>
|
|
68
|
+
<h4>Bug Fixes</h4>
|
|
69
|
+
<ul>
|
|
70
|
+
<li>We fixed an issue where loading an <a href="ArchFlowCommonModule.html"><code>ArchFlowCommonModule</code></a> using a function such as <a href="ArchFactoryFlows.html#loadFlowByFlowIdAsync"><code>ArchFactoryFlows#loadFlowByFlowIdAsync</code></a> and specifying a version other than <code>latest</code> would cause the <a href="ArchSettingsCommonModuleFlow.html#compatibleFlowTypes"><code>ArchSettingsCommonModuleFlow#compatibleFlowTypes</code></a> to be an empty array even if there were compatible flow types in that version of the flow.</li>
|
|
71
|
+
</ul>
|
|
63
72
|
<h1>0.42.0</h1>
|
|
64
73
|
<h4>New Features</h4>
|
|
65
74
|
<ul>
|
|
@@ -309,11 +309,12 @@ export class ArchEnums {
|
|
|
309
309
|
* ```
|
|
310
310
|
* {
|
|
311
311
|
* debug: 'debug'
|
|
312
|
-
* latest: 'latest'
|
|
312
|
+
* latest: 'latest',
|
|
313
|
+
* published: 'published'
|
|
313
314
|
* }
|
|
314
315
|
* ```
|
|
315
316
|
*/
|
|
316
|
-
readonly FLOW_VERSIONS: {"debug":"debug","latest":"latest"};
|
|
317
|
+
readonly FLOW_VERSIONS: {"debug":"debug","latest":"latest","published":"published"};
|
|
317
318
|
/**
|
|
318
319
|
* Returns a string array that contains all valid versions for flows.
|
|
319
320
|
*/
|
|
@@ -382,7 +383,7 @@ export class ArchEnums {
|
|
|
382
383
|
* }
|
|
383
384
|
* ```
|
|
384
385
|
*/
|
|
385
|
-
readonly LOCATIONS: {"dev":"dev","
|
|
386
|
+
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"};
|
|
386
387
|
/**
|
|
387
388
|
* Returns a string array that contains all valid location strings.
|
|
388
389
|
*/
|
|
@@ -2457,8 +2458,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2457
2458
|
* Loads a flow with a given name and if found returns an ArchBaseFlow instance for it to the supplied callback function.
|
|
2458
2459
|
* @param flowName - name of the flow.
|
|
2459
2460
|
* @param flowType - the flow type. The string values in {@link ArchEnums#FLOW_TYPES} list valid values.
|
|
2460
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2461
|
-
* a version value such as "2.0" or "2"
|
|
2461
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2462
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2463
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2462
2464
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by name and type.
|
|
2463
2465
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2464
2466
|
* flow instance.
|
|
@@ -2469,8 +2471,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2469
2471
|
* Loads a flow with a given id and if found returns an ArchBaseFlow instance for it to the supplied callback function.
|
|
2470
2472
|
* @param flowId - the flow identifier.
|
|
2471
2473
|
* @param flowType - the flow type. The string values in {@link ArchEnums#FLOW_TYPES} list valid values.
|
|
2472
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2473
|
-
* a version value such as "2.0" or "2"
|
|
2474
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2475
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2476
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2474
2477
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by id and type.
|
|
2475
2478
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2476
2479
|
* flow instance.
|
|
@@ -2479,8 +2482,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2479
2482
|
loadFlowByFlowIdAsync(flowId: string, flowType: string, flowVersion?: string, callbackFunction?: callbackArchBaseFlow): Promise<any>;
|
|
2480
2483
|
/**
|
|
2481
2484
|
* Loads the default in-queue call flow and if successful returns an ArchFlowInQueueCall instance for it to the supplied callback function.
|
|
2482
|
-
* @param [flowVersion = "latest"] - the version of the default in-queue flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2483
|
-
* a version value such as "2.0" or "2"
|
|
2485
|
+
* @param [flowVersion = "latest"] - the version of the default in-queue flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2486
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2487
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2484
2488
|
* @param [callbackFunction] - a callback function to call if the flow can be loaded.
|
|
2485
2489
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2486
2490
|
* flow instance.
|
|
@@ -2489,8 +2493,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2489
2493
|
loadFlowDefaultInQueueCallAsync(flowVersion?: string, callbackFunction?: callbackArchFlowInQueueCall): Promise<any>;
|
|
2490
2494
|
/**
|
|
2491
2495
|
* Loads the default voicemail flow and if successful returns an ArchFlowVoicemail instance for it to the supplied callback function.
|
|
2492
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2493
|
-
* a version value such as "2.0" or "2"
|
|
2496
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2497
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2498
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2494
2499
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by id and type.
|
|
2495
2500
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2496
2501
|
* flow instance.
|
|
@@ -2500,8 +2505,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2500
2505
|
/**
|
|
2501
2506
|
* Loads a flow given an ArchFlowInfo and returns an ArchBaseFlow instance for it to the supplied callback function.
|
|
2502
2507
|
* @param archFlowInfo - flow information for the flow which you wish to load.
|
|
2503
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2504
|
-
* a version value such as "2.0" or "2"
|
|
2508
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2509
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2510
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2505
2511
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by flow info.
|
|
2506
2512
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2507
2513
|
* flow instance.
|
|
@@ -2580,8 +2586,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2580
2586
|
* @param flowName - name of the flow.
|
|
2581
2587
|
* @param flowType - the flow type. The string values in {@link ArchEnums#FLOW_TYPES} list valid values.
|
|
2582
2588
|
* @param [forceUnlock = false] - whether to force an unlock of the flow. Remember, the architect:flow:unlock permission is needed to unlock a flow locked to another user.
|
|
2583
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2584
|
-
* a version value such as "2.0" or "2"
|
|
2589
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2590
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2591
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2585
2592
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by name.
|
|
2586
2593
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2587
2594
|
* flow instance.
|
|
@@ -2593,8 +2600,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2593
2600
|
* @param flowId - the flow identifier.
|
|
2594
2601
|
* @param flowType - the flow type. The string values in {@link ArchEnums#FLOW_TYPES} list valid values.
|
|
2595
2602
|
* @param [forceUnlock = false] - whether to force an unlock of the flow. Remember, the architect:flow:unlock permission is needed to unlock a flow locked to another user.
|
|
2596
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2597
|
-
* a version value such as "2.0" or "2"
|
|
2603
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2604
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2605
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2598
2606
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by id and type.
|
|
2599
2607
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2600
2608
|
* flow instance.
|
|
@@ -2605,8 +2613,9 @@ export class ArchFactoryFlows extends ArchBaseFactory {
|
|
|
2605
2613
|
* Check out and load the flow for a given [flow info]{@link ArchFlowInfo} object to the current user.
|
|
2606
2614
|
* @param archFlowInfo - flow information for the flow which you wish to load and edit.
|
|
2607
2615
|
* @param [forceUnlock = false] - whether to force an unlock of the flow. Remember, the architect:flow:unlock permission is needed to unlock a flow locked to another user.
|
|
2608
|
-
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
2609
|
-
* a version value such as "2.0" or "2"
|
|
2616
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
2617
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
2618
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
2610
2619
|
* @param [callbackFunction] - a callback function to call if the flow can be found on the server by name.
|
|
2611
2620
|
* The first parameter passed to the callback function will be the Architect Scripting
|
|
2612
2621
|
* flow instance.
|
|
@@ -7348,7 +7357,7 @@ export class ArchActionSendNotification extends ArchBaseActionWithOutputsSuccess
|
|
|
7348
7357
|
* The contents of this named value list come from the Failure Outputs schema. It will contain two values: errorType and errorMessage.
|
|
7349
7358
|
* These values will be returned by the server if the action takes the Failure path.
|
|
7350
7359
|
*/
|
|
7351
|
-
sendNotificationFailureOutputs: ArchNamedValueList;
|
|
7360
|
+
readonly sendNotificationFailureOutputs: ArchNamedValueList;
|
|
7352
7361
|
/**
|
|
7353
7362
|
* The success output for this action
|
|
7354
7363
|
*/
|
|
@@ -10594,8 +10603,9 @@ export class ArchBaseFlow extends ArchBaseCoreObjectWithId {
|
|
|
10594
10603
|
/**
|
|
10595
10604
|
* Loads a specific version of the flow. Any previously returned Architect Scripting objects associated with this flow should no
|
|
10596
10605
|
* longer be considered valid after loading new configuration.
|
|
10597
|
-
* @param [flowVersion] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
10598
|
-
* a version value such as "2.0" or "2"
|
|
10606
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
10607
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
10608
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
10599
10609
|
* @param [callbackFunction] - a callback function to call if the flow was loaded.
|
|
10600
10610
|
* @returns - while this method returns a promise, you should use the callback function to perform any processing when the flow is loaded.
|
|
10601
10611
|
*/
|
|
@@ -13103,8 +13113,9 @@ export class ArchFlowCommonModule extends ArchBaseFlow {
|
|
|
13103
13113
|
/**
|
|
13104
13114
|
* Loads a specific version of the flow. Any previously returned Architect Scripting objects associated with this flow should no
|
|
13105
13115
|
* longer be considered valid after loading new configuration.
|
|
13106
|
-
* @param [flowVersion] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow
|
|
13107
|
-
* a version value such as "2.0" or "2"
|
|
13116
|
+
* @param [flowVersion = "latest"] - the version of the flow to get. Valid values are "latest" to get the latest saved configuration of a flow,
|
|
13117
|
+
* a version value such as "2.0" or "2", "debug" to get the currently published debug version configuration of a flow,
|
|
13118
|
+
* or "published" to get the currently published version configuration of a flow. If you do not specify a version, then the latest saved configuration will be loaded.
|
|
13108
13119
|
* @param [callbackFunction] - a callback function to call if the flow was loaded.
|
|
13109
13120
|
* @returns - while this method returns a promise, you should use the callback function to perform any processing when the flow is loaded.
|
|
13110
13121
|
*/
|