purecloud-flow-scripting-api-sdk-javascript 0.66.5 → 0.66.6

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.66.5",
3
+ "version": "0.66.6",
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",
@@ -20,4 +20,4 @@
20
20
  "node": ">=20.0.0"
21
21
  },
22
22
  "types": "types.d.ts"
23
- }
23
+ }
package/types.d.ts CHANGED
@@ -13007,6 +13007,11 @@ export class ArchBaseFlow extends ArchBaseCoreObjectWithId {
13007
13007
  * if any or more than one can be added.
13008
13008
  */
13009
13009
  canAddSupportedLanguage(): boolean;
13010
+ /**
13011
+ * This helper method returns whether the [flow type]{@link ArchBaseFlow#flowType} of this flow is deprecated by calling [this.definition.isDeprecated]{@link ArchDefinitionFlow#isDeprecated}.
13012
+ * A flow whose [flow type]{@link ArchBaseFlow#flowType} is deprecated can no longer be published.
13013
+ */
13014
+ readonly isFlowTypeDeprecated: boolean;
13010
13015
  /**
13011
13016
  * Checks in and unlocks the flow for the current user, does a save first
13012
13017
  * Assumes the flow has been created, throws if not
@@ -15776,6 +15781,11 @@ export class ArchDefinitionFlow extends ArchBaseDefinition {
15776
15781
  * Accessing this property.
15777
15782
  */
15778
15783
  readonly isCreatable: boolean;
15784
+ /**
15785
+ * Returns whether the [flow type]{@link ArchDefinitionFlow#flowType} is deprecated.
15786
+ * Flows whose flow type is deprecated cannot be published.
15787
+ */
15788
+ readonly isDeprecated: boolean;
15779
15789
  /**
15780
15790
  * Returns the display label for this flow type such as 'Inbound Call Flow'.
15781
15791
  */