stentor-models 1.58.87 → 1.58.108

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.
@@ -29,7 +29,9 @@ export type AppStatusLiveAndRequiresPublish = "Live: Requires Publish";
29
29
  export declare const APP_STATUS_LIVE_AND_REQUIRES_PUBLISH: AppStatusLiveAndRequiresPublish;
30
30
  export type AppStatusLiveAndRequiresAttention = "Live: Requires Attention";
31
31
  export declare const APP_STATUS_LIVE_AND_REQUIRES_ATTENTION: AppStatusLiveAndRequiresAttention;
32
- export type AppStatusType = AppStatusUnknown | AppStatusIncomplete | AppStatusSubmittedForReview | AppStatusUnderReview | AppStatusInCertification | AppStatusRequiresPublish | AppStatusLive | AppStatusRequiresAttention | AppStatusArchived | AppStatusLiveRequiresCert | AppStatusLiveInCert | AppStatusLiveAndRequiresPublish | AppStatusLiveAndRequiresAttention;
32
+ export type AppStatusUninstalled = "Uninstalled";
33
+ export declare const APP_STATUS_UNINSTALLED: AppStatusUninstalled;
34
+ export type AppStatusType = AppStatusUnknown | AppStatusIncomplete | AppStatusSubmittedForReview | AppStatusUnderReview | AppStatusInCertification | AppStatusRequiresPublish | AppStatusLive | AppStatusRequiresAttention | AppStatusArchived | AppStatusLiveRequiresCert | AppStatusLiveInCert | AppStatusLiveAndRequiresPublish | AppStatusLiveAndRequiresAttention | AppStatusUninstalled;
33
35
  /**
34
36
  * The status of the App
35
37
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.APP_STATUS_LIVE_AND_REQUIRES_ATTENTION = exports.APP_STATUS_LIVE_AND_REQUIRES_PUBLISH = exports.APP_STATUS_LIVE_AND_IN_CERT = exports.APP_STATUS_LIVE_AND_REQUIRES_CERT = exports.APP_STATUS_CANCELLED = exports.APP_STATUS_ARCHIVED = exports.APP_STATUS_REQUIRES_ATTENTION = exports.APP_STATUS_LIVE = exports.APP_STATUS_READY_FOR_INSTALL = exports.APP_STATUS_REQUIRES_PUBLISH = exports.APP_STATUS_IN_CERTIFICATION = exports.APP_STATUS_UNDER_REVIEW = exports.APP_STATUS_SUBMITTED_FOR_REVIEW = exports.APP_STATUS_INCOMPLETE = exports.APP_STATUS_UNKNOWN = void 0;
3
+ exports.APP_STATUS_UNINSTALLED = exports.APP_STATUS_LIVE_AND_REQUIRES_ATTENTION = exports.APP_STATUS_LIVE_AND_REQUIRES_PUBLISH = exports.APP_STATUS_LIVE_AND_IN_CERT = exports.APP_STATUS_LIVE_AND_REQUIRES_CERT = exports.APP_STATUS_CANCELLED = exports.APP_STATUS_ARCHIVED = exports.APP_STATUS_REQUIRES_ATTENTION = exports.APP_STATUS_LIVE = exports.APP_STATUS_READY_FOR_INSTALL = exports.APP_STATUS_REQUIRES_PUBLISH = exports.APP_STATUS_IN_CERTIFICATION = exports.APP_STATUS_UNDER_REVIEW = exports.APP_STATUS_SUBMITTED_FOR_REVIEW = exports.APP_STATUS_INCOMPLETE = exports.APP_STATUS_UNKNOWN = void 0;
4
4
  exports.APP_STATUS_UNKNOWN = "Unknown";
5
5
  exports.APP_STATUS_INCOMPLETE = "Incomplete";
6
6
  exports.APP_STATUS_SUBMITTED_FOR_REVIEW = "Submitted For Review";
@@ -16,4 +16,5 @@ exports.APP_STATUS_LIVE_AND_REQUIRES_CERT = "Live: Requires Cert";
16
16
  exports.APP_STATUS_LIVE_AND_IN_CERT = "Live: In Certification";
17
17
  exports.APP_STATUS_LIVE_AND_REQUIRES_PUBLISH = "Live: Requires Publish";
18
18
  exports.APP_STATUS_LIVE_AND_REQUIRES_ATTENTION = "Live: Requires Attention";
19
+ exports.APP_STATUS_UNINSTALLED = "Uninstalled";
19
20
  //# sourceMappingURL=AppStatus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppStatus.js","sourceRoot":"","sources":["../../src/App/AppStatus.ts"],"names":[],"mappings":";;;AAGa,QAAA,kBAAkB,GAAqB,SAAS,CAAC;AAGjD,QAAA,qBAA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AAC;AAGjG,QAAA,sCAAsC,GAAsC,0BAA0B,CAAC;AAGvG,QAAA,sBAAsB,GAAyB,aAAa,CAAC"}
@@ -4,6 +4,7 @@ import { Data } from "../Handler";
4
4
  import { BaseRequest, SentimentedRequest } from "./Request";
5
5
  import { IntentRequestType } from "./Types";
6
6
  import { KnowledgeAnswer, KnowledgeBaseResult } from "./KnowledgeBase";
7
+ import { ActiveContext } from "../Response";
7
8
  export type RequestSlotValues = string | number | object | DateTimeRange | DateTime | Duration | (string)[];
8
9
  export interface RequestAttachment {
9
10
  /**
@@ -103,6 +104,10 @@ export interface IntentRequest extends BaseRequest, SentimentedRequest {
103
104
  * {@link https://cloud.google.com/dialogflow/es/docs/intents-matching#confidence}
104
105
  */
105
106
  matchConfidence?: number;
107
+ /**
108
+ * Current active contexts.
109
+ */
110
+ activeContexts?: ActiveContext[];
106
111
  /**
107
112
  * Is the request a barge-in, did the user interupt the assistants response.
108
113
  */
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.58.87",
7
+ "version": "1.58.108",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.1"
35
35
  },
36
- "gitHead": "107d228c89c02846829d510923bdb1bb8d3edd98"
36
+ "gitHead": "e40636881924b0610294ef007b35f07682df9d5f"
37
37
  }