@scout9/admin 1.0.0-alpha.0.0.46 → 1.0.0-alpha.0.0.47

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,68 +293,6 @@ 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 {string}
320
- * @memberof CaptureContextRequest
321
- */
322
- 'convoId': string;
323
- /**
324
- *
325
- * @type {CaptureContextRequestExamples}
326
- * @memberof CaptureContextRequest
327
- */
328
- 'examples'?: CaptureContextRequestExamples;
329
- }
330
- /**
331
- * @type CaptureContextRequestExamples
332
- * @export
333
- */
334
- export type CaptureContextRequestExamples = Array<CaptureContextRequestExamplesOneOfInner> | Array<{
335
- [key: string]: any;
336
- }>;
337
- /**
338
- *
339
- * @export
340
- * @interface CaptureContextRequestExamplesOneOfInner
341
- */
342
- export interface CaptureContextRequestExamplesOneOfInner {
343
- /**
344
- *
345
- * @type {string}
346
- * @memberof CaptureContextRequestExamplesOneOfInner
347
- */
348
- 'input': string;
349
- /**
350
- *
351
- * @type {Array<{ [key: string]: any; }>}
352
- * @memberof CaptureContextRequestExamplesOneOfInner
353
- */
354
- 'output': Array<{
355
- [key: string]: any;
356
- }>;
357
- }
358
296
  /**
359
297
  * @type Condition
360
298
  * @export
@@ -2613,38 +2551,6 @@ export interface DeleteWorkflowsResponse {
2613
2551
  */
2614
2552
  '$operation': string;
2615
2553
  }
2616
- /**
2617
- *
2618
- * @export
2619
- * @interface Did200Response
2620
- */
2621
- export interface Did200Response {
2622
- /**
2623
- *
2624
- * @type {boolean}
2625
- * @memberof Did200Response
2626
- */
2627
- 'value': boolean;
2628
- }
2629
- /**
2630
- *
2631
- * @export
2632
- * @interface DidRequest
2633
- */
2634
- export interface DidRequest {
2635
- /**
2636
- *
2637
- * @type {string}
2638
- * @memberof DidRequest
2639
- */
2640
- 'prompt': string;
2641
- /**
2642
- *
2643
- * @type {string}
2644
- * @memberof DidRequest
2645
- */
2646
- 'convoId': string;
2647
- }
2648
2554
  /**
2649
2555
  *
2650
2556
  * @export
@@ -4619,6 +4525,252 @@ export interface Logs500Response {
4619
4525
  */
4620
4526
  'message'?: string;
4621
4527
  }
4528
+ /**
4529
+ *
4530
+ * @export
4531
+ * @interface MacroContextInput
4532
+ */
4533
+ export interface MacroContextInput {
4534
+ /**
4535
+ *
4536
+ * @type {string}
4537
+ * @memberof MacroContextInput
4538
+ */
4539
+ 'prompt': string;
4540
+ /**
4541
+ *
4542
+ * @type {string}
4543
+ * @memberof MacroContextInput
4544
+ */
4545
+ 'convoId': string;
4546
+ /**
4547
+ *
4548
+ * @type {MacroContextInputExamples}
4549
+ * @memberof MacroContextInput
4550
+ */
4551
+ 'examples'?: MacroContextInputExamples;
4552
+ }
4553
+ /**
4554
+ * @type MacroContextInputExamples
4555
+ * @export
4556
+ */
4557
+ export type MacroContextInputExamples = Array<MacroContextInputExamplesOneOfInner> | Array<{
4558
+ [key: string]: any;
4559
+ }>;
4560
+ /**
4561
+ *
4562
+ * @export
4563
+ * @interface MacroContextInputExamplesOneOfInner
4564
+ */
4565
+ export interface MacroContextInputExamplesOneOfInner {
4566
+ /**
4567
+ *
4568
+ * @type {string}
4569
+ * @memberof MacroContextInputExamplesOneOfInner
4570
+ */
4571
+ 'input': string;
4572
+ /**
4573
+ *
4574
+ * @type {MacroContextInputExamplesOneOfInnerOutput}
4575
+ * @memberof MacroContextInputExamplesOneOfInner
4576
+ */
4577
+ 'output': MacroContextInputExamplesOneOfInnerOutput;
4578
+ }
4579
+ /**
4580
+ * @type MacroContextInputExamplesOneOfInnerOutput
4581
+ * @export
4582
+ */
4583
+ export type MacroContextInputExamplesOneOfInnerOutput = Array<{
4584
+ [key: string]: any;
4585
+ }> | {
4586
+ [key: string]: any;
4587
+ };
4588
+ /**
4589
+ *
4590
+ * @export
4591
+ * @interface MacroContextResult
4592
+ */
4593
+ export interface MacroContextResult {
4594
+ /**
4595
+ * The prompt that was used
4596
+ * @type {string}
4597
+ * @memberof MacroContextResult
4598
+ */
4599
+ 'prompt'?: string;
4600
+ /**
4601
+ * Type is hard-coded to \'context\'
4602
+ * @type {string}
4603
+ * @memberof MacroContextResult
4604
+ */
4605
+ 'type'?: MacroContextResultTypeEnum;
4606
+ /**
4607
+ *
4608
+ * @type {MacroContextValue}
4609
+ * @memberof MacroContextResult
4610
+ */
4611
+ 'value'?: MacroContextValue;
4612
+ /**
4613
+ * The number of tokens used to generate this response
4614
+ * @type {number}
4615
+ * @memberof MacroContextResult
4616
+ */
4617
+ 'tokensTotal'?: number;
4618
+ }
4619
+ export declare const MacroContextResultTypeEnum: {
4620
+ readonly Context: "context";
4621
+ };
4622
+ export type MacroContextResultTypeEnum = typeof MacroContextResultTypeEnum[keyof typeof MacroContextResultTypeEnum];
4623
+ /**
4624
+ *
4625
+ * @export
4626
+ * @interface MacroContextResultAllOf
4627
+ */
4628
+ export interface MacroContextResultAllOf {
4629
+ /**
4630
+ * Type is hard-coded to \'context\'
4631
+ * @type {string}
4632
+ * @memberof MacroContextResultAllOf
4633
+ */
4634
+ 'type'?: MacroContextResultAllOfTypeEnum;
4635
+ /**
4636
+ *
4637
+ * @type {MacroContextValue}
4638
+ * @memberof MacroContextResultAllOf
4639
+ */
4640
+ 'value'?: MacroContextValue;
4641
+ }
4642
+ export declare const MacroContextResultAllOfTypeEnum: {
4643
+ readonly Context: "context";
4644
+ };
4645
+ export type MacroContextResultAllOfTypeEnum = typeof MacroContextResultAllOfTypeEnum[keyof typeof MacroContextResultAllOfTypeEnum];
4646
+ /**
4647
+ * @type MacroContextValue
4648
+ * @export
4649
+ */
4650
+ export type MacroContextValue = Array<{
4651
+ [key: string]: any;
4652
+ }> | {
4653
+ [key: string]: any;
4654
+ };
4655
+ /**
4656
+ *
4657
+ * @export
4658
+ * @interface MacroDidInput
4659
+ */
4660
+ export interface MacroDidInput {
4661
+ /**
4662
+ *
4663
+ * @type {string}
4664
+ * @memberof MacroDidInput
4665
+ */
4666
+ 'prompt': string;
4667
+ /**
4668
+ *
4669
+ * @type {string}
4670
+ * @memberof MacroDidInput
4671
+ */
4672
+ 'convoId': string;
4673
+ }
4674
+ /**
4675
+ *
4676
+ * @export
4677
+ * @interface MacroDidResult
4678
+ */
4679
+ export interface MacroDidResult {
4680
+ /**
4681
+ * The prompt that was used
4682
+ * @type {string}
4683
+ * @memberof MacroDidResult
4684
+ */
4685
+ 'prompt'?: string;
4686
+ /**
4687
+ * Type is hard-coded to \'did\'
4688
+ * @type {string}
4689
+ * @memberof MacroDidResult
4690
+ */
4691
+ 'type'?: MacroDidResultTypeEnum;
4692
+ /**
4693
+ * The returned value is of type boolean
4694
+ * @type {boolean}
4695
+ * @memberof MacroDidResult
4696
+ */
4697
+ 'value'?: boolean;
4698
+ /**
4699
+ * The number of tokens used to generate this response
4700
+ * @type {number}
4701
+ * @memberof MacroDidResult
4702
+ */
4703
+ 'tokensTotal'?: number;
4704
+ }
4705
+ export declare const MacroDidResultTypeEnum: {
4706
+ readonly Did: "did";
4707
+ };
4708
+ export type MacroDidResultTypeEnum = typeof MacroDidResultTypeEnum[keyof typeof MacroDidResultTypeEnum];
4709
+ /**
4710
+ *
4711
+ * @export
4712
+ * @interface MacroDidResultAllOf
4713
+ */
4714
+ export interface MacroDidResultAllOf {
4715
+ /**
4716
+ * Type is hard-coded to \'did\'
4717
+ * @type {string}
4718
+ * @memberof MacroDidResultAllOf
4719
+ */
4720
+ 'type'?: MacroDidResultAllOfTypeEnum;
4721
+ /**
4722
+ * The returned value is of type boolean
4723
+ * @type {boolean}
4724
+ * @memberof MacroDidResultAllOf
4725
+ */
4726
+ 'value'?: boolean;
4727
+ }
4728
+ export declare const MacroDidResultAllOfTypeEnum: {
4729
+ readonly Did: "did";
4730
+ };
4731
+ export type MacroDidResultAllOfTypeEnum = typeof MacroDidResultAllOfTypeEnum[keyof typeof MacroDidResultAllOfTypeEnum];
4732
+ /**
4733
+ *
4734
+ * @export
4735
+ * @interface MacroResult
4736
+ */
4737
+ export interface MacroResult {
4738
+ /**
4739
+ * The prompt that was used
4740
+ * @type {string}
4741
+ * @memberof MacroResult
4742
+ */
4743
+ 'prompt'?: string;
4744
+ /**
4745
+ * What type of Macro result this represents
4746
+ * @type {string}
4747
+ * @memberof MacroResult
4748
+ */
4749
+ 'type'?: MacroResultTypeEnum;
4750
+ /**
4751
+ *
4752
+ * @type {MacroResultValue}
4753
+ * @memberof MacroResult
4754
+ */
4755
+ 'value'?: MacroResultValue;
4756
+ /**
4757
+ * The number of tokens used to generate this response
4758
+ * @type {number}
4759
+ * @memberof MacroResult
4760
+ */
4761
+ 'tokensTotal'?: number;
4762
+ }
4763
+ export declare const MacroResultTypeEnum: {
4764
+ readonly Did: "did";
4765
+ readonly Context: "context";
4766
+ };
4767
+ export type MacroResultTypeEnum = typeof MacroResultTypeEnum[keyof typeof MacroResultTypeEnum];
4768
+ /**
4769
+ * @type MacroResultValue
4770
+ * The returned value of the macro
4771
+ * @export
4772
+ */
4773
+ export type MacroResultValue = MacroContextValue | boolean;
4622
4774
  /**
4623
4775
  *
4624
4776
  * @export
@@ -7347,11 +7499,11 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7347
7499
  /**
7348
7500
  *
7349
7501
  * @summary Natural language prompt to resolve a context value derived from the conversation.
7350
- * @param {CaptureContextRequest} captureContextRequest
7502
+ * @param {MacroContextInput} macroContextInput
7351
7503
  * @param {*} [options] Override http request option.
7352
7504
  * @throws {RequiredError}
7353
7505
  */
7354
- captureContext: (captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7506
+ captureContext: (macroContextInput: MacroContextInput, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7355
7507
  /**
7356
7508
  *
7357
7509
  * @summary Get the current project configuration
@@ -7655,11 +7807,11 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
7655
7807
  /**
7656
7808
  *
7657
7809
  * @summary Natural language prompt to resolve to a boolean value.
7658
- * @param {DidRequest} didRequest
7810
+ * @param {MacroDidInput} macroDidInput
7659
7811
  * @param {*} [options] Override http request option.
7660
7812
  * @throws {RequiredError}
7661
7813
  */
7662
- did: (didRequest: DidRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7814
+ did: (macroDidInput: MacroDidInput, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7663
7815
  /**
7664
7816
  *
7665
7817
  * @summary Get an entity by type and ID
@@ -7912,11 +8064,11 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
7912
8064
  /**
7913
8065
  *
7914
8066
  * @summary Natural language prompt to resolve a context value derived from the conversation.
7915
- * @param {CaptureContextRequest} captureContextRequest
8067
+ * @param {MacroContextInput} macroContextInput
7916
8068
  * @param {*} [options] Override http request option.
7917
8069
  * @throws {RequiredError}
7918
8070
  */
7919
- captureContext(captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CaptureContext200Response>>;
8071
+ captureContext(macroContextInput: MacroContextInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacroContextResult>>;
7920
8072
  /**
7921
8073
  *
7922
8074
  * @summary Get the current project configuration
@@ -8220,11 +8372,11 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
8220
8372
  /**
8221
8373
  *
8222
8374
  * @summary Natural language prompt to resolve to a boolean value.
8223
- * @param {DidRequest} didRequest
8375
+ * @param {MacroDidInput} macroDidInput
8224
8376
  * @param {*} [options] Override http request option.
8225
8377
  * @throws {RequiredError}
8226
8378
  */
8227
- did(didRequest: DidRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did200Response>>;
8379
+ did(macroDidInput: MacroDidInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacroDidResult>>;
8228
8380
  /**
8229
8381
  *
8230
8382
  * @summary Get an entity by type and ID
@@ -8479,11 +8631,11 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8479
8631
  /**
8480
8632
  *
8481
8633
  * @summary Natural language prompt to resolve a context value derived from the conversation.
8482
- * @param {CaptureContextRequest} captureContextRequest
8634
+ * @param {MacroContextInput} macroContextInput
8483
8635
  * @param {*} [options] Override http request option.
8484
8636
  * @throws {RequiredError}
8485
8637
  */
8486
- captureContext(captureContextRequest: CaptureContextRequest, options?: any): AxiosPromise<CaptureContext200Response>;
8638
+ captureContext(macroContextInput: MacroContextInput, options?: any): AxiosPromise<MacroContextResult>;
8487
8639
  /**
8488
8640
  *
8489
8641
  * @summary Get the current project configuration
@@ -8787,11 +8939,11 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
8787
8939
  /**
8788
8940
  *
8789
8941
  * @summary Natural language prompt to resolve to a boolean value.
8790
- * @param {DidRequest} didRequest
8942
+ * @param {MacroDidInput} macroDidInput
8791
8943
  * @param {*} [options] Override http request option.
8792
8944
  * @throws {RequiredError}
8793
8945
  */
8794
- did(didRequest: DidRequest, options?: any): AxiosPromise<Did200Response>;
8946
+ did(macroDidInput: MacroDidInput, options?: any): AxiosPromise<MacroDidResult>;
8795
8947
  /**
8796
8948
  *
8797
8949
  * @summary Get an entity by type and ID
@@ -9057,12 +9209,12 @@ export declare class Scout9ApiGenerated extends BaseAPI {
9057
9209
  /**
9058
9210
  *
9059
9211
  * @summary Natural language prompt to resolve a context value derived from the conversation.
9060
- * @param {CaptureContextRequest} captureContextRequest
9212
+ * @param {MacroContextInput} macroContextInput
9061
9213
  * @param {*} [options] Override http request option.
9062
9214
  * @throws {RequiredError}
9063
9215
  * @memberof Scout9Api
9064
9216
  */
9065
- captureContext(captureContextRequest: CaptureContextRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CaptureContext200Response, any>>;
9217
+ captureContext(macroContextInput: MacroContextInput, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MacroContextResult, any>>;
9066
9218
  /**
9067
9219
  *
9068
9220
  * @summary Get the current project configuration
@@ -9402,12 +9554,12 @@ export declare class Scout9ApiGenerated extends BaseAPI {
9402
9554
  /**
9403
9555
  *
9404
9556
  * @summary Natural language prompt to resolve to a boolean value.
9405
- * @param {DidRequest} didRequest
9557
+ * @param {MacroDidInput} macroDidInput
9406
9558
  * @param {*} [options] Override http request option.
9407
9559
  * @throws {RequiredError}
9408
9560
  * @memberof Scout9Api
9409
9561
  */
9410
- did(didRequest: DidRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Did200Response, any>>;
9562
+ did(macroDidInput: MacroDidInput, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MacroDidResult, any>>;
9411
9563
  /**
9412
9564
  *
9413
9565
  * @summary Get an entity by type and ID
package/build/api.js CHANGED
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Scout9Api = exports.Scout9ApiGenerated = exports.Scout9ApiFactory = exports.Scout9ApiFp = exports.Scout9ApiAxiosParamCreator = exports.CustomContextApi = exports.CustomContextApiFactory = exports.CustomContextApiFp = exports.CustomContextApiAxiosParamCreator = exports.WorkflowResponseSlotForwardOneOfModeEnum = exports.PurposeEnum = exports.PmtConfigModelEnum = exports.PmtConfigEngineEnum = exports.MessageGetResponseInnerRoleEnum = exports.MessageCreateRequestRoleEnum = exports.MessageBaseRoleEnum = exports.MessageRoleEnum = exports.LlmConfigOneOf2EngineEnum = exports.LlmConfigOneOf1EngineEnum = exports.LlmConfigOneOfModelEnum = exports.LlmConfigOneOfEngineEnum = exports.ListApiOperationsResponseInnerMethodEnum = exports.GetApiOperationResponseMethodEnum = exports.ForwardRequestLatestMessageRoleEnum = exports.ForwardRequestForwardOneOfModeEnum = exports.ExistenceOperator = exports.EqualityOperator = exports.ConversationEnvironment = exports.ConversationContextFieldConditionOperatorEnum = exports.ApiOperationMethodEnum = void 0;
19
+ exports.Scout9Api = exports.Scout9ApiGenerated = exports.Scout9ApiFactory = exports.Scout9ApiFp = exports.Scout9ApiAxiosParamCreator = exports.CustomContextApi = exports.CustomContextApiFactory = exports.CustomContextApiFp = exports.CustomContextApiAxiosParamCreator = exports.WorkflowResponseSlotForwardOneOfModeEnum = exports.PurposeEnum = exports.PmtConfigModelEnum = exports.PmtConfigEngineEnum = exports.MessageGetResponseInnerRoleEnum = exports.MessageCreateRequestRoleEnum = exports.MessageBaseRoleEnum = exports.MessageRoleEnum = exports.MacroResultTypeEnum = exports.MacroDidResultAllOfTypeEnum = exports.MacroDidResultTypeEnum = exports.MacroContextResultAllOfTypeEnum = exports.MacroContextResultTypeEnum = exports.LlmConfigOneOf2EngineEnum = exports.LlmConfigOneOf1EngineEnum = exports.LlmConfigOneOfModelEnum = exports.LlmConfigOneOfEngineEnum = exports.ListApiOperationsResponseInnerMethodEnum = exports.GetApiOperationResponseMethodEnum = exports.ForwardRequestLatestMessageRoleEnum = exports.ForwardRequestForwardOneOfModeEnum = exports.ExistenceOperator = exports.EqualityOperator = exports.ConversationEnvironment = exports.ConversationContextFieldConditionOperatorEnum = exports.ApiOperationMethodEnum = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -141,6 +141,22 @@ exports.LlmConfigOneOf1EngineEnum = {
141
141
  exports.LlmConfigOneOf2EngineEnum = {
142
142
  Bard: 'bard'
143
143
  };
144
+ exports.MacroContextResultTypeEnum = {
145
+ Context: 'context'
146
+ };
147
+ exports.MacroContextResultAllOfTypeEnum = {
148
+ Context: 'context'
149
+ };
150
+ exports.MacroDidResultTypeEnum = {
151
+ Did: 'did'
152
+ };
153
+ exports.MacroDidResultAllOfTypeEnum = {
154
+ Did: 'did'
155
+ };
156
+ exports.MacroResultTypeEnum = {
157
+ Did: 'did',
158
+ Context: 'context'
159
+ };
144
160
  exports.MessageRoleEnum = {
145
161
  Customer: 'customer',
146
162
  Agent: 'agent',
@@ -573,13 +589,13 @@ const Scout9ApiAxiosParamCreator = function (configuration) {
573
589
  /**
574
590
  *
575
591
  * @summary Natural language prompt to resolve a context value derived from the conversation.
576
- * @param {CaptureContextRequest} captureContextRequest
592
+ * @param {MacroContextInput} macroContextInput
577
593
  * @param {*} [options] Override http request option.
578
594
  * @throws {RequiredError}
579
595
  */
580
- captureContext: async (captureContextRequest, options = {}) => {
581
- // verify required parameter 'captureContextRequest' is not null or undefined
582
- (0, common_1.assertParamExists)('captureContext', 'captureContextRequest', captureContextRequest);
596
+ captureContext: async (macroContextInput, options = {}) => {
597
+ // verify required parameter 'macroContextInput' is not null or undefined
598
+ (0, common_1.assertParamExists)('captureContext', 'macroContextInput', macroContextInput);
583
599
  const localVarPath = `/v1-utils-macros-context`;
584
600
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
585
601
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -594,7 +610,7 @@ const Scout9ApiAxiosParamCreator = function (configuration) {
594
610
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
595
611
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
596
612
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
597
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(captureContextRequest, localVarRequestOptions, configuration);
613
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macroContextInput, localVarRequestOptions, configuration);
598
614
  return {
599
615
  url: (0, common_1.toPathString)(localVarUrlObj),
600
616
  options: localVarRequestOptions,
@@ -1708,13 +1724,13 @@ const Scout9ApiAxiosParamCreator = function (configuration) {
1708
1724
  /**
1709
1725
  *
1710
1726
  * @summary Natural language prompt to resolve to a boolean value.
1711
- * @param {DidRequest} didRequest
1727
+ * @param {MacroDidInput} macroDidInput
1712
1728
  * @param {*} [options] Override http request option.
1713
1729
  * @throws {RequiredError}
1714
1730
  */
1715
- did: async (didRequest, options = {}) => {
1716
- // verify required parameter 'didRequest' is not null or undefined
1717
- (0, common_1.assertParamExists)('did', 'didRequest', didRequest);
1731
+ did: async (macroDidInput, options = {}) => {
1732
+ // verify required parameter 'macroDidInput' is not null or undefined
1733
+ (0, common_1.assertParamExists)('did', 'macroDidInput', macroDidInput);
1718
1734
  const localVarPath = `/v1-utils-macros-did`;
1719
1735
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1720
1736
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1729,7 +1745,7 @@ const Scout9ApiAxiosParamCreator = function (configuration) {
1729
1745
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1730
1746
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1731
1747
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1732
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(didRequest, localVarRequestOptions, configuration);
1748
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macroDidInput, localVarRequestOptions, configuration);
1733
1749
  return {
1734
1750
  url: (0, common_1.toPathString)(localVarUrlObj),
1735
1751
  options: localVarRequestOptions,
@@ -2489,12 +2505,12 @@ const Scout9ApiFp = function (configuration) {
2489
2505
  /**
2490
2506
  *
2491
2507
  * @summary Natural language prompt to resolve a context value derived from the conversation.
2492
- * @param {CaptureContextRequest} captureContextRequest
2508
+ * @param {MacroContextInput} macroContextInput
2493
2509
  * @param {*} [options] Override http request option.
2494
2510
  * @throws {RequiredError}
2495
2511
  */
2496
- async captureContext(captureContextRequest, options) {
2497
- const localVarAxiosArgs = await localVarAxiosParamCreator.captureContext(captureContextRequest, options);
2512
+ async captureContext(macroContextInput, options) {
2513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.captureContext(macroContextInput, options);
2498
2514
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2499
2515
  },
2500
2516
  /**
@@ -2908,12 +2924,12 @@ const Scout9ApiFp = function (configuration) {
2908
2924
  /**
2909
2925
  *
2910
2926
  * @summary Natural language prompt to resolve to a boolean value.
2911
- * @param {DidRequest} didRequest
2927
+ * @param {MacroDidInput} macroDidInput
2912
2928
  * @param {*} [options] Override http request option.
2913
2929
  * @throws {RequiredError}
2914
2930
  */
2915
- async did(didRequest, options) {
2916
- const localVarAxiosArgs = await localVarAxiosParamCreator.did(didRequest, options);
2931
+ async did(macroDidInput, options) {
2932
+ const localVarAxiosArgs = await localVarAxiosParamCreator.did(macroDidInput, options);
2917
2933
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2918
2934
  },
2919
2935
  /**
@@ -3247,12 +3263,12 @@ const Scout9ApiFactory = function (configuration, basePath, axios) {
3247
3263
  /**
3248
3264
  *
3249
3265
  * @summary Natural language prompt to resolve a context value derived from the conversation.
3250
- * @param {CaptureContextRequest} captureContextRequest
3266
+ * @param {MacroContextInput} macroContextInput
3251
3267
  * @param {*} [options] Override http request option.
3252
3268
  * @throws {RequiredError}
3253
3269
  */
3254
- captureContext(captureContextRequest, options) {
3255
- return localVarFp.captureContext(captureContextRequest, options).then((request) => request(axios, basePath));
3270
+ captureContext(macroContextInput, options) {
3271
+ return localVarFp.captureContext(macroContextInput, options).then((request) => request(axios, basePath));
3256
3272
  },
3257
3273
  /**
3258
3274
  *
@@ -3629,12 +3645,12 @@ const Scout9ApiFactory = function (configuration, basePath, axios) {
3629
3645
  /**
3630
3646
  *
3631
3647
  * @summary Natural language prompt to resolve to a boolean value.
3632
- * @param {DidRequest} didRequest
3648
+ * @param {MacroDidInput} macroDidInput
3633
3649
  * @param {*} [options] Override http request option.
3634
3650
  * @throws {RequiredError}
3635
3651
  */
3636
- did(didRequest, options) {
3637
- return localVarFp.did(didRequest, options).then((request) => request(axios, basePath));
3652
+ did(macroDidInput, options) {
3653
+ return localVarFp.did(macroDidInput, options).then((request) => request(axios, basePath));
3638
3654
  },
3639
3655
  /**
3640
3656
  *
@@ -3957,13 +3973,13 @@ class Scout9ApiGenerated extends base_1.BaseAPI {
3957
3973
  /**
3958
3974
  *
3959
3975
  * @summary Natural language prompt to resolve a context value derived from the conversation.
3960
- * @param {CaptureContextRequest} captureContextRequest
3976
+ * @param {MacroContextInput} macroContextInput
3961
3977
  * @param {*} [options] Override http request option.
3962
3978
  * @throws {RequiredError}
3963
3979
  * @memberof Scout9Api
3964
3980
  */
3965
- captureContext(captureContextRequest, options) {
3966
- return (0, exports.Scout9ApiFp)(this.configuration).captureContext(captureContextRequest, options).then((request) => request(this.axios, this.basePath));
3981
+ captureContext(macroContextInput, options) {
3982
+ return (0, exports.Scout9ApiFp)(this.configuration).captureContext(macroContextInput, options).then((request) => request(this.axios, this.basePath));
3967
3983
  }
3968
3984
  /**
3969
3985
  *
@@ -4376,13 +4392,13 @@ class Scout9ApiGenerated extends base_1.BaseAPI {
4376
4392
  /**
4377
4393
  *
4378
4394
  * @summary Natural language prompt to resolve to a boolean value.
4379
- * @param {DidRequest} didRequest
4395
+ * @param {MacroDidInput} macroDidInput
4380
4396
  * @param {*} [options] Override http request option.
4381
4397
  * @throws {RequiredError}
4382
4398
  * @memberof Scout9Api
4383
4399
  */
4384
- did(didRequest, options) {
4385
- return (0, exports.Scout9ApiFp)(this.configuration).did(didRequest, options).then((request) => request(this.axios, this.basePath));
4400
+ did(macroDidInput, options) {
4401
+ return (0, exports.Scout9ApiFp)(this.configuration).did(macroDidInput, options).then((request) => request(this.axios, this.basePath));
4386
4402
  }
4387
4403
  /**
4388
4404
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scout9/admin",
3
- "version": "1.0.0-alpha.0.0.46",
3
+ "version": "1.0.0-alpha.0.0.47",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {