@scout9/admin 1.0.0-alpha.0.0.40 → 1.0.0-alpha.0.0.42

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/api.d.ts CHANGED
@@ -293,6 +293,62 @@ export interface BlockInfo {
293
293
  */
294
294
  'time'?: string;
295
295
  }
296
+ /**
297
+ * @type CaptureContext200Response
298
+ * @export
299
+ */
300
+ export type CaptureContext200Response = Array<{
301
+ [key: string]: any;
302
+ }> | {
303
+ [key: string]: any;
304
+ };
305
+ /**
306
+ *
307
+ * @export
308
+ * @interface CaptureContextRequest
309
+ */
310
+ export interface CaptureContextRequest {
311
+ /**
312
+ *
313
+ * @type {string}
314
+ * @memberof CaptureContextRequest
315
+ */
316
+ 'prompt': string;
317
+ /**
318
+ *
319
+ * @type {CaptureContextRequestExamples}
320
+ * @memberof CaptureContextRequest
321
+ */
322
+ 'examples'?: CaptureContextRequestExamples;
323
+ }
324
+ /**
325
+ * @type CaptureContextRequestExamples
326
+ * @export
327
+ */
328
+ export type CaptureContextRequestExamples = Array<CaptureContextRequestExamplesOneOfInner> | Array<{
329
+ [key: string]: any;
330
+ }>;
331
+ /**
332
+ *
333
+ * @export
334
+ * @interface CaptureContextRequestExamplesOneOfInner
335
+ */
336
+ export interface CaptureContextRequestExamplesOneOfInner {
337
+ /**
338
+ *
339
+ * @type {string}
340
+ * @memberof CaptureContextRequestExamplesOneOfInner
341
+ */
342
+ 'input': string;
343
+ /**
344
+ *
345
+ * @type {Array<{ [key: string]: any; }>}
346
+ * @memberof CaptureContextRequestExamplesOneOfInner
347
+ */
348
+ 'output': Array<{
349
+ [key: string]: any;
350
+ }>;
351
+ }
296
352
  /**
297
353
  * @type Condition
298
354
  * @export
@@ -927,6 +983,25 @@ export interface ConversationCreateRequest {
927
983
  * @memberof ConversationCreateRequest
928
984
  */
929
985
  'environment': ConversationEnvironment;
986
+ /**
987
+ * Appends a prefix to the conversation id, if a conversation id is prefixed with test, or dev, it will mute text messages
988
+ * @type {string}
989
+ * @memberof ConversationCreateRequest
990
+ */
991
+ 'idPrefix'?: string;
992
+ }
993
+ /**
994
+ *
995
+ * @export
996
+ * @interface ConversationCreateRequestAllOf
997
+ */
998
+ export interface ConversationCreateRequestAllOf {
999
+ /**
1000
+ * Appends a prefix to the conversation id, if a conversation id is prefixed with test, or dev, it will mute text messages
1001
+ * @type {string}
1002
+ * @memberof ConversationCreateRequestAllOf
1003
+ */
1004
+ 'idPrefix'?: string;
930
1005
  }
931
1006
  /**
932
1007
  *
@@ -2532,6 +2607,32 @@ export interface DeleteWorkflowsResponse {
2532
2607
  */
2533
2608
  '$operation': string;
2534
2609
  }
2610
+ /**
2611
+ *
2612
+ * @export
2613
+ * @interface Did200Response
2614
+ */
2615
+ export interface Did200Response {
2616
+ /**
2617
+ *
2618
+ * @type {boolean}
2619
+ * @memberof Did200Response
2620
+ */
2621
+ 'value': boolean;
2622
+ }
2623
+ /**
2624
+ *
2625
+ * @export
2626
+ * @interface DidRequest
2627
+ */
2628
+ export interface DidRequest {
2629
+ /**
2630
+ *
2631
+ * @type {string}
2632
+ * @memberof DidRequest
2633
+ */
2634
+ 'prompt': string;
2635
+ }
2535
2636
  /**
2536
2637
  *
2537
2638
  * @export
@@ -4468,6 +4569,44 @@ export interface LogResponse {
4468
4569
  * @export
4469
4570
  */
4470
4571
  export type Logic = AndLogic | ConditionLogic | NotLogic | OrLogic;
4572
+ /**
4573
+ *
4574
+ * @export
4575
+ * @interface Logs400Response
4576
+ */
4577
+ export interface Logs400Response {
4578
+ /**
4579
+ *
4580
+ * @type {string}
4581
+ * @memberof Logs400Response
4582
+ */
4583
+ 'status'?: string;
4584
+ /**
4585
+ *
4586
+ * @type {string}
4587
+ * @memberof Logs400Response
4588
+ */
4589
+ 'message'?: string;
4590
+ }
4591
+ /**
4592
+ *
4593
+ * @export
4594
+ * @interface Logs500Response
4595
+ */
4596
+ export interface Logs500Response {
4597
+ /**
4598
+ *
4599
+ * @type {string}
4600
+ * @memberof Logs500Response
4601
+ */
4602
+ 'status'?: string;
4603
+ /**
4604
+ *
4605
+ * @type {string}
4606
+ * @memberof Logs500Response
4607
+ */
4608
+ 'message'?: string;
4609
+ }
4471
4610
  /**
4472
4611
  *
4473
4612
  * @export
@@ -6769,44 +6908,6 @@ export interface UpdateWorkflowsResponse {
6769
6908
  */
6770
6909
  '$operation': string;
6771
6910
  }
6772
- /**
6773
- *
6774
- * @export
6775
- * @interface V1UtilsPlatformLogsGet400Response
6776
- */
6777
- export interface V1UtilsPlatformLogsGet400Response {
6778
- /**
6779
- *
6780
- * @type {string}
6781
- * @memberof V1UtilsPlatformLogsGet400Response
6782
- */
6783
- 'status'?: string;
6784
- /**
6785
- *
6786
- * @type {string}
6787
- * @memberof V1UtilsPlatformLogsGet400Response
6788
- */
6789
- 'message'?: string;
6790
- }
6791
- /**
6792
- *
6793
- * @export
6794
- * @interface V1UtilsPlatformLogsGet500Response
6795
- */
6796
- export interface V1UtilsPlatformLogsGet500Response {
6797
- /**
6798
- *
6799
- * @type {string}
6800
- * @memberof V1UtilsPlatformLogsGet500Response
6801
- */
6802
- 'status'?: string;
6803
- /**
6804
- *
6805
- * @type {string}
6806
- * @memberof V1UtilsPlatformLogsGet500Response
6807
- */
6808
- 'message'?: string;
6809
- }
6810
6911
  /**
6811
6912
  *
6812
6913
  * @export
@@ -7231,6 +7332,14 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7231
7332
  * @throws {RequiredError}
7232
7333
  */
7233
7334
  agentsUpdate: (updateAgentsRequest: UpdateAgentsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7335
+ /**
7336
+ *
7337
+ * @summary Natural language prompt to resolve a context value derived from the conversation.
7338
+ * @param {CaptureContextRequest} captureContextRequest
7339
+ * @param {*} [options] Override http request option.
7340
+ * @throws {RequiredError}
7341
+ */
7342
+ captureContext: (captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7234
7343
  /**
7235
7344
  *
7236
7345
  * @summary Get the current project configuration
@@ -7531,6 +7640,14 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7531
7640
  * @throws {RequiredError}
7532
7641
  */
7533
7642
  deleteEntity: (type: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7643
+ /**
7644
+ *
7645
+ * @summary Natural language prompt to resolve to a boolean value.
7646
+ * @param {DidRequest} didRequest
7647
+ * @param {*} [options] Override http request option.
7648
+ * @throws {RequiredError}
7649
+ */
7650
+ did: (didRequest: DidRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7534
7651
  /**
7535
7652
  *
7536
7653
  * @summary Get an entity by type and ID
@@ -7597,6 +7714,15 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7597
7714
  * @throws {RequiredError}
7598
7715
  */
7599
7716
  generate: (generateRequest: GenerateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7717
+ /**
7718
+ * Returns log data for a given range, specified by start and end Unix timestamps.
7719
+ * @summary Retrieve platform run time logs
7720
+ * @param {number} [start]
7721
+ * @param {number} [end]
7722
+ * @param {*} [options] Override http request option.
7723
+ * @throws {RequiredError}
7724
+ */
7725
+ logs: (start?: number, end?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7600
7726
  /**
7601
7727
  * Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
7602
7728
  * @summary Create and send message
@@ -7690,15 +7816,6 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7690
7816
  * @throws {RequiredError}
7691
7817
  */
7692
7818
  updateEntity: (type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7693
- /**
7694
- * Returns log data for a given range, specified by start and end Unix timestamps.
7695
- * @summary Retrieve log data based on time range
7696
- * @param {number} [start]
7697
- * @param {number} [end]
7698
- * @param {*} [options] Override http request option.
7699
- * @throws {RequiredError}
7700
- */
7701
- v1UtilsPlatformLogsGet: (start?: number, end?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7702
7819
  };
7703
7820
  /**
7704
7821
  * Scout9Api - functional programming interface
@@ -7780,6 +7897,14 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
7780
7897
  * @throws {RequiredError}
7781
7898
  */
7782
7899
  agentsUpdate(updateAgentsRequest: UpdateAgentsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAgentsResponse>>;
7900
+ /**
7901
+ *
7902
+ * @summary Natural language prompt to resolve a context value derived from the conversation.
7903
+ * @param {CaptureContextRequest} captureContextRequest
7904
+ * @param {*} [options] Override http request option.
7905
+ * @throws {RequiredError}
7906
+ */
7907
+ captureContext(captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CaptureContext200Response>>;
7783
7908
  /**
7784
7909
  *
7785
7910
  * @summary Get the current project configuration
@@ -8080,6 +8205,14 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
8080
8205
  * @throws {RequiredError}
8081
8206
  */
8082
8207
  deleteEntity(type: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8208
+ /**
8209
+ *
8210
+ * @summary Natural language prompt to resolve to a boolean value.
8211
+ * @param {DidRequest} didRequest
8212
+ * @param {*} [options] Override http request option.
8213
+ * @throws {RequiredError}
8214
+ */
8215
+ did(didRequest: DidRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did200Response>>;
8083
8216
  /**
8084
8217
  *
8085
8218
  * @summary Get an entity by type and ID
@@ -8146,6 +8279,15 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
8146
8279
  * @throws {RequiredError}
8147
8280
  */
8148
8281
  generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateResponse>>;
8282
+ /**
8283
+ * Returns log data for a given range, specified by start and end Unix timestamps.
8284
+ * @summary Retrieve platform run time logs
8285
+ * @param {number} [start]
8286
+ * @param {number} [end]
8287
+ * @param {*} [options] Override http request option.
8288
+ * @throws {RequiredError}
8289
+ */
8290
+ logs(start?: number, end?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogResponse>>;
8149
8291
  /**
8150
8292
  * Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
8151
8293
  * @summary Create and send message
@@ -8241,15 +8383,6 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
8241
8383
  * @throws {RequiredError}
8242
8384
  */
8243
8385
  updateEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entity>>;
8244
- /**
8245
- * Returns log data for a given range, specified by start and end Unix timestamps.
8246
- * @summary Retrieve log data based on time range
8247
- * @param {number} [start]
8248
- * @param {number} [end]
8249
- * @param {*} [options] Override http request option.
8250
- * @throws {RequiredError}
8251
- */
8252
- v1UtilsPlatformLogsGet(start?: number, end?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogResponse>>;
8253
8386
  };
8254
8387
  /**
8255
8388
  * Scout9Api - factory interface
@@ -8331,6 +8464,14 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8331
8464
  * @throws {RequiredError}
8332
8465
  */
8333
8466
  agentsUpdate(updateAgentsRequest: UpdateAgentsRequest, options?: any): AxiosPromise<UpdateAgentsResponse>;
8467
+ /**
8468
+ *
8469
+ * @summary Natural language prompt to resolve a context value derived from the conversation.
8470
+ * @param {CaptureContextRequest} captureContextRequest
8471
+ * @param {*} [options] Override http request option.
8472
+ * @throws {RequiredError}
8473
+ */
8474
+ captureContext(captureContextRequest: CaptureContextRequest, options?: any): AxiosPromise<CaptureContext200Response>;
8334
8475
  /**
8335
8476
  *
8336
8477
  * @summary Get the current project configuration
@@ -8631,6 +8772,14 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8631
8772
  * @throws {RequiredError}
8632
8773
  */
8633
8774
  deleteEntity(type: string, id: string, options?: any): AxiosPromise<void>;
8775
+ /**
8776
+ *
8777
+ * @summary Natural language prompt to resolve to a boolean value.
8778
+ * @param {DidRequest} didRequest
8779
+ * @param {*} [options] Override http request option.
8780
+ * @throws {RequiredError}
8781
+ */
8782
+ did(didRequest: DidRequest, options?: any): AxiosPromise<Did200Response>;
8634
8783
  /**
8635
8784
  *
8636
8785
  * @summary Get an entity by type and ID
@@ -8697,6 +8846,15 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8697
8846
  * @throws {RequiredError}
8698
8847
  */
8699
8848
  generate(generateRequest: GenerateRequest, options?: any): AxiosPromise<GenerateResponse>;
8849
+ /**
8850
+ * Returns log data for a given range, specified by start and end Unix timestamps.
8851
+ * @summary Retrieve platform run time logs
8852
+ * @param {number} [start]
8853
+ * @param {number} [end]
8854
+ * @param {*} [options] Override http request option.
8855
+ * @throws {RequiredError}
8856
+ */
8857
+ logs(start?: number, end?: number, options?: any): AxiosPromise<LogResponse>;
8700
8858
  /**
8701
8859
  * Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
8702
8860
  * @summary Create and send message
@@ -8792,15 +8950,6 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8792
8950
  * @throws {RequiredError}
8793
8951
  */
8794
8952
  updateEntity(type: string, id: string, entityData: EntityData, options?: any): AxiosPromise<Entity>;
8795
- /**
8796
- * Returns log data for a given range, specified by start and end Unix timestamps.
8797
- * @summary Retrieve log data based on time range
8798
- * @param {number} [start]
8799
- * @param {number} [end]
8800
- * @param {*} [options] Override http request option.
8801
- * @throws {RequiredError}
8802
- */
8803
- v1UtilsPlatformLogsGet(start?: number, end?: number, options?: any): AxiosPromise<LogResponse>;
8804
8953
  };
8805
8954
  /**
8806
8955
  * Scout9ApiGenerated - object-oriented interface
@@ -8893,6 +9042,15 @@ export declare class Scout9ApiGenerated extends BaseAPI {
8893
9042
  * @memberof Scout9Api
8894
9043
  */
8895
9044
  agentsUpdate(updateAgentsRequest: UpdateAgentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAgentsResponse, any>>;
9045
+ /**
9046
+ *
9047
+ * @summary Natural language prompt to resolve a context value derived from the conversation.
9048
+ * @param {CaptureContextRequest} captureContextRequest
9049
+ * @param {*} [options] Override http request option.
9050
+ * @throws {RequiredError}
9051
+ * @memberof Scout9Api
9052
+ */
9053
+ captureContext(captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CaptureContext200Response, any>>;
8896
9054
  /**
8897
9055
  *
8898
9056
  * @summary Get the current project configuration
@@ -9229,6 +9387,15 @@ export declare class Scout9ApiGenerated extends BaseAPI {
9229
9387
  * @memberof Scout9Api
9230
9388
  */
9231
9389
  deleteEntity(type: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
9390
+ /**
9391
+ *
9392
+ * @summary Natural language prompt to resolve to a boolean value.
9393
+ * @param {DidRequest} didRequest
9394
+ * @param {*} [options] Override http request option.
9395
+ * @throws {RequiredError}
9396
+ * @memberof Scout9Api
9397
+ */
9398
+ did(didRequest: DidRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Did200Response, any>>;
9232
9399
  /**
9233
9400
  *
9234
9401
  * @summary Get an entity by type and ID
@@ -9302,6 +9469,16 @@ export declare class Scout9ApiGenerated extends BaseAPI {
9302
9469
  * @memberof Scout9Api
9303
9470
  */
9304
9471
  generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateResponse, any>>;
9472
+ /**
9473
+ * Returns log data for a given range, specified by start and end Unix timestamps.
9474
+ * @summary Retrieve platform run time logs
9475
+ * @param {number} [start]
9476
+ * @param {number} [end]
9477
+ * @param {*} [options] Override http request option.
9478
+ * @throws {RequiredError}
9479
+ * @memberof Scout9Api
9480
+ */
9481
+ logs(start?: number, end?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LogResponse, any>>;
9305
9482
  /**
9306
9483
  * Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
9307
9484
  * @summary Create and send message
@@ -9408,16 +9585,6 @@ export declare class Scout9ApiGenerated extends BaseAPI {
9408
9585
  * @memberof Scout9Api
9409
9586
  */
9410
9587
  updateEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Entity, any>>;
9411
- /**
9412
- * Returns log data for a given range, specified by start and end Unix timestamps.
9413
- * @summary Retrieve log data based on time range
9414
- * @param {number} [start]
9415
- * @param {number} [end]
9416
- * @param {*} [options] Override http request option.
9417
- * @throws {RequiredError}
9418
- * @memberof Scout9Api
9419
- */
9420
- v1UtilsPlatformLogsGet(start?: number, end?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LogResponse, any>>;
9421
9588
  }
9422
9589
  /**
9423
9590
  * Scout9Api - object-oriented interface