@scout9/admin 1.0.0-alpha.0.0.68 → 1.0.0-alpha.0.0.69
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 +1802 -332
- package/build/api.js +195 -15
- package/package.json +1 -1
- package/src/api.ts +1762 -349
- package/tsconfig.tsbuildinfo +1 -1
package/build/api.js
CHANGED
|
@@ -16,8 +16,8 @@ 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.
|
|
20
|
-
exports.Scout9Api = exports.Scout9ApiGenerated = exports.Scout9ApiFactory = exports.Scout9ApiFp = exports.Scout9ApiAxiosParamCreator = exports.NoopApi = exports.NoopApiFactory = exports.NoopApiFp = exports.NoopApiAxiosParamCreator = exports.WorkflowResponseSlotForwardOneOfModeEnum = exports.PurposeEnum = exports.PmtTransformResponseTypeEnum = exports.PmtConfigModelEnum = exports.PmtConfigEngineEnum = exports.MessageGetResponseInnerRoleEnum = void 0;
|
|
19
|
+
exports.LlmConfigOneOf6AllOfModelEnum = exports.LlmConfigOneOf6AllOfEngineEnum = exports.LlmConfigOneOf6ModelEnum = exports.LlmConfigOneOf6EngineEnum = exports.LlmConfigOneOf5AllOfModelEnum = exports.LlmConfigOneOf5AllOfEngineEnum = exports.LlmConfigOneOf5ModelEnum = exports.LlmConfigOneOf5EngineEnum = exports.LlmConfigOneOf4AllOfModelEnum = exports.LlmConfigOneOf4AllOfEngineEnum = exports.LlmConfigOneOf4ModelEnum = exports.LlmConfigOneOf4EngineEnum = exports.LlmConfigOneOf3AllOfModelEnum = exports.LlmConfigOneOf3AllOfEngineEnum = exports.LlmConfigOneOf3ModelEnum = exports.LlmConfigOneOf3EngineEnum = exports.LlmConfigOneOf2AllOfModelEnum = exports.LlmConfigOneOf2AllOfEngineEnum = exports.LlmConfigOneOf2ModelEnum = exports.LlmConfigOneOf2EngineEnum = exports.LlmConfigOneOf1AllOfModelEnum = exports.LlmConfigOneOf1AllOfEngineEnum = exports.LlmConfigOneOf1ModelEnum = exports.LlmConfigOneOf1EngineEnum = exports.LlmConfigOneOfModelEnum = exports.LlmConfigOneOfEngineEnum = exports.ListConversationsResponseInnerIngressEnum = exports.ListConversationsResponseInnerLockCodeEnum = exports.ListApiOperationsResponseInnerMethodEnum = exports.GetApiOperationResponseMethodEnum = exports.ForwardRequestLatestMessageRoleEnum = exports.ForwardRequestForwardOneOfModeEnum = exports.ExistenceOperator = exports.EqualityOperator = exports.ConversationWithIdIngressEnum = exports.ConversationWithIdLockCodeEnum = exports.ConversationUpdateRequestIngressEnum = exports.ConversationUpdateRequestLockCodeEnum = exports.ConversationGetResponseIngressEnum = exports.ConversationGetResponseLockCodeEnum = exports.ConversationCreateRequestIngressEnum = exports.ConversationCreateRequestLockCodeEnum = exports.ConversationContextFieldConditionOperatorEnum = exports.ConversationChannelPropsChannelResolutionPathEnum = exports.ConversationChannel = exports.ConversationBaseIngressEnum = exports.ConversationBaseLockCodeEnum = exports.ConversationIngressEnum = exports.ConversationLockCodeEnum = exports.ApiOperationMethodEnum = void 0;
|
|
20
|
+
exports.Scout9Api = exports.Scout9ApiGenerated = exports.Scout9ApiFactory = exports.Scout9ApiFp = exports.Scout9ApiAxiosParamCreator = exports.NoopApi = exports.NoopApiFactory = exports.NoopApiFp = exports.NoopApiAxiosParamCreator = exports.WorkflowResponseSlotForwardOneOfModeEnum = exports.ScheduledConversationGroupIngressEnum = exports.ScheduledConversationGroupLockCodeEnum = exports.ScheduledConversationIngressEnum = exports.ScheduledConversationLockCodeEnum = exports.ScheduleUpdateRequestIngressEnum = exports.ScheduleUpdateRequestLockCodeEnum = exports.ScheduleGroupUpdateRequestIngressEnum = exports.ScheduleGroupUpdateRequestLockCodeEnum = exports.ScheduleGroupGetResponseIngressEnum = exports.ScheduleGroupGetResponseLockCodeEnum = exports.ScheduleGroupCreateRequestIngressEnum = exports.ScheduleGroupCreateRequestLockCodeEnum = exports.ScheduleGetResponseIngressEnum = exports.ScheduleGetResponseLockCodeEnum = exports.ScheduleCreateRequestIngressEnum = exports.ScheduleCreateRequestLockCodeEnum = exports.PurposeEnum = exports.PmtTransformResponseTypeEnum = exports.PmtConfigModelEnum = exports.PmtConfigEngineEnum = exports.MessageGetResponseInnerRoleEnum = exports.MessageCreateRequestRoleEnum = exports.MessageBaseRoleEnum = exports.MessageRoleEnum = exports.MacroResultTypeEnum = exports.MacroDoesResultTypeEnum = exports.MacroDoesInputRoleEnum = exports.MacroDidResultTypeEnum = exports.MacroContextResultTypeEnum = exports.LlmConfigOneOfAllOfModelEnum = exports.LlmConfigOneOfAllOfEngineEnum = exports.LlmConfigOneOf7AllOfEngineEnum = exports.LlmConfigOneOf7EngineEnum = void 0;
|
|
21
21
|
const axios_1 = __importDefault(require("axios"));
|
|
22
22
|
// Some imports not used depending on template conditions
|
|
23
23
|
// @ts-ignore
|
|
@@ -31,10 +31,31 @@ exports.ApiOperationMethodEnum = {
|
|
|
31
31
|
Delete: 'delete',
|
|
32
32
|
Patch: 'patch'
|
|
33
33
|
};
|
|
34
|
-
exports.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
exports.ConversationLockCodeEnum = {
|
|
35
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
36
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
37
|
+
RuntimeError: 'runtime_error',
|
|
38
|
+
ManualMode: 'manual_mode',
|
|
39
|
+
PolicyBlock: 'policy_block'
|
|
40
|
+
};
|
|
41
|
+
exports.ConversationIngressEnum = {
|
|
42
|
+
Auto: 'auto',
|
|
43
|
+
Manual: 'manual',
|
|
44
|
+
App: 'app',
|
|
45
|
+
Webhook: 'webhook'
|
|
46
|
+
};
|
|
47
|
+
exports.ConversationBaseLockCodeEnum = {
|
|
48
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
49
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
50
|
+
RuntimeError: 'runtime_error',
|
|
51
|
+
ManualMode: 'manual_mode',
|
|
52
|
+
PolicyBlock: 'policy_block'
|
|
53
|
+
};
|
|
54
|
+
exports.ConversationBaseIngressEnum = {
|
|
55
|
+
Auto: 'auto',
|
|
56
|
+
Manual: 'manual',
|
|
57
|
+
App: 'app',
|
|
58
|
+
Webhook: 'webhook'
|
|
38
59
|
};
|
|
39
60
|
/**
|
|
40
61
|
* Canonical channel that initiated and should continue the customer conversation.
|
|
@@ -82,15 +103,57 @@ exports.ConversationContextFieldConditionOperatorEnum = {
|
|
|
82
103
|
StartsWith: 'startsWith',
|
|
83
104
|
EndsWith: 'endsWith'
|
|
84
105
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
106
|
+
exports.ConversationCreateRequestLockCodeEnum = {
|
|
107
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
108
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
109
|
+
RuntimeError: 'runtime_error',
|
|
110
|
+
ManualMode: 'manual_mode',
|
|
111
|
+
PolicyBlock: 'policy_block'
|
|
112
|
+
};
|
|
113
|
+
exports.ConversationCreateRequestIngressEnum = {
|
|
114
|
+
Auto: 'auto',
|
|
115
|
+
Manual: 'manual',
|
|
116
|
+
App: 'app',
|
|
117
|
+
Webhook: 'webhook'
|
|
118
|
+
};
|
|
119
|
+
exports.ConversationGetResponseLockCodeEnum = {
|
|
120
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
121
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
122
|
+
RuntimeError: 'runtime_error',
|
|
123
|
+
ManualMode: 'manual_mode',
|
|
124
|
+
PolicyBlock: 'policy_block'
|
|
125
|
+
};
|
|
126
|
+
exports.ConversationGetResponseIngressEnum = {
|
|
127
|
+
Auto: 'auto',
|
|
128
|
+
Manual: 'manual',
|
|
129
|
+
App: 'app',
|
|
130
|
+
Webhook: 'webhook'
|
|
131
|
+
};
|
|
132
|
+
exports.ConversationUpdateRequestLockCodeEnum = {
|
|
133
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
134
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
135
|
+
RuntimeError: 'runtime_error',
|
|
136
|
+
ManualMode: 'manual_mode',
|
|
137
|
+
PolicyBlock: 'policy_block'
|
|
138
|
+
};
|
|
139
|
+
exports.ConversationUpdateRequestIngressEnum = {
|
|
140
|
+
Auto: 'auto',
|
|
141
|
+
Manual: 'manual',
|
|
142
|
+
App: 'app',
|
|
143
|
+
Webhook: 'webhook'
|
|
144
|
+
};
|
|
145
|
+
exports.ConversationWithIdLockCodeEnum = {
|
|
146
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
147
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
148
|
+
RuntimeError: 'runtime_error',
|
|
149
|
+
ManualMode: 'manual_mode',
|
|
150
|
+
PolicyBlock: 'policy_block'
|
|
151
|
+
};
|
|
152
|
+
exports.ConversationWithIdIngressEnum = {
|
|
153
|
+
Auto: 'auto',
|
|
154
|
+
Manual: 'manual',
|
|
155
|
+
App: 'app',
|
|
156
|
+
Webhook: 'webhook'
|
|
94
157
|
};
|
|
95
158
|
/**
|
|
96
159
|
*
|
|
@@ -146,6 +209,19 @@ exports.ListApiOperationsResponseInnerMethodEnum = {
|
|
|
146
209
|
Delete: 'delete',
|
|
147
210
|
Patch: 'patch'
|
|
148
211
|
};
|
|
212
|
+
exports.ListConversationsResponseInnerLockCodeEnum = {
|
|
213
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
214
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
215
|
+
RuntimeError: 'runtime_error',
|
|
216
|
+
ManualMode: 'manual_mode',
|
|
217
|
+
PolicyBlock: 'policy_block'
|
|
218
|
+
};
|
|
219
|
+
exports.ListConversationsResponseInnerIngressEnum = {
|
|
220
|
+
Auto: 'auto',
|
|
221
|
+
Manual: 'manual',
|
|
222
|
+
App: 'app',
|
|
223
|
+
Webhook: 'webhook'
|
|
224
|
+
};
|
|
149
225
|
exports.LlmConfigOneOfEngineEnum = {
|
|
150
226
|
Openai: 'openai'
|
|
151
227
|
};
|
|
@@ -324,6 +400,110 @@ exports.PurposeEnum = {
|
|
|
324
400
|
AgentAudio: 'agent-audio',
|
|
325
401
|
AgentTranscript: 'agent-transcript'
|
|
326
402
|
};
|
|
403
|
+
exports.ScheduleCreateRequestLockCodeEnum = {
|
|
404
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
405
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
406
|
+
RuntimeError: 'runtime_error',
|
|
407
|
+
ManualMode: 'manual_mode',
|
|
408
|
+
PolicyBlock: 'policy_block'
|
|
409
|
+
};
|
|
410
|
+
exports.ScheduleCreateRequestIngressEnum = {
|
|
411
|
+
Auto: 'auto',
|
|
412
|
+
Manual: 'manual',
|
|
413
|
+
App: 'app',
|
|
414
|
+
Webhook: 'webhook'
|
|
415
|
+
};
|
|
416
|
+
exports.ScheduleGetResponseLockCodeEnum = {
|
|
417
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
418
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
419
|
+
RuntimeError: 'runtime_error',
|
|
420
|
+
ManualMode: 'manual_mode',
|
|
421
|
+
PolicyBlock: 'policy_block'
|
|
422
|
+
};
|
|
423
|
+
exports.ScheduleGetResponseIngressEnum = {
|
|
424
|
+
Auto: 'auto',
|
|
425
|
+
Manual: 'manual',
|
|
426
|
+
App: 'app',
|
|
427
|
+
Webhook: 'webhook'
|
|
428
|
+
};
|
|
429
|
+
exports.ScheduleGroupCreateRequestLockCodeEnum = {
|
|
430
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
431
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
432
|
+
RuntimeError: 'runtime_error',
|
|
433
|
+
ManualMode: 'manual_mode',
|
|
434
|
+
PolicyBlock: 'policy_block'
|
|
435
|
+
};
|
|
436
|
+
exports.ScheduleGroupCreateRequestIngressEnum = {
|
|
437
|
+
Auto: 'auto',
|
|
438
|
+
Manual: 'manual',
|
|
439
|
+
App: 'app',
|
|
440
|
+
Webhook: 'webhook'
|
|
441
|
+
};
|
|
442
|
+
exports.ScheduleGroupGetResponseLockCodeEnum = {
|
|
443
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
444
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
445
|
+
RuntimeError: 'runtime_error',
|
|
446
|
+
ManualMode: 'manual_mode',
|
|
447
|
+
PolicyBlock: 'policy_block'
|
|
448
|
+
};
|
|
449
|
+
exports.ScheduleGroupGetResponseIngressEnum = {
|
|
450
|
+
Auto: 'auto',
|
|
451
|
+
Manual: 'manual',
|
|
452
|
+
App: 'app',
|
|
453
|
+
Webhook: 'webhook'
|
|
454
|
+
};
|
|
455
|
+
exports.ScheduleGroupUpdateRequestLockCodeEnum = {
|
|
456
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
457
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
458
|
+
RuntimeError: 'runtime_error',
|
|
459
|
+
ManualMode: 'manual_mode',
|
|
460
|
+
PolicyBlock: 'policy_block'
|
|
461
|
+
};
|
|
462
|
+
exports.ScheduleGroupUpdateRequestIngressEnum = {
|
|
463
|
+
Auto: 'auto',
|
|
464
|
+
Manual: 'manual',
|
|
465
|
+
App: 'app',
|
|
466
|
+
Webhook: 'webhook'
|
|
467
|
+
};
|
|
468
|
+
exports.ScheduleUpdateRequestLockCodeEnum = {
|
|
469
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
470
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
471
|
+
RuntimeError: 'runtime_error',
|
|
472
|
+
ManualMode: 'manual_mode',
|
|
473
|
+
PolicyBlock: 'policy_block'
|
|
474
|
+
};
|
|
475
|
+
exports.ScheduleUpdateRequestIngressEnum = {
|
|
476
|
+
Auto: 'auto',
|
|
477
|
+
Manual: 'manual',
|
|
478
|
+
App: 'app',
|
|
479
|
+
Webhook: 'webhook'
|
|
480
|
+
};
|
|
481
|
+
exports.ScheduledConversationLockCodeEnum = {
|
|
482
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
483
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
484
|
+
RuntimeError: 'runtime_error',
|
|
485
|
+
ManualMode: 'manual_mode',
|
|
486
|
+
PolicyBlock: 'policy_block'
|
|
487
|
+
};
|
|
488
|
+
exports.ScheduledConversationIngressEnum = {
|
|
489
|
+
Auto: 'auto',
|
|
490
|
+
Manual: 'manual',
|
|
491
|
+
App: 'app',
|
|
492
|
+
Webhook: 'webhook'
|
|
493
|
+
};
|
|
494
|
+
exports.ScheduledConversationGroupLockCodeEnum = {
|
|
495
|
+
WorkflowStagnation: 'workflow_stagnation',
|
|
496
|
+
MaxLockAttempts: 'max_lock_attempts',
|
|
497
|
+
RuntimeError: 'runtime_error',
|
|
498
|
+
ManualMode: 'manual_mode',
|
|
499
|
+
PolicyBlock: 'policy_block'
|
|
500
|
+
};
|
|
501
|
+
exports.ScheduledConversationGroupIngressEnum = {
|
|
502
|
+
Auto: 'auto',
|
|
503
|
+
Manual: 'manual',
|
|
504
|
+
App: 'app',
|
|
505
|
+
Webhook: 'webhook'
|
|
506
|
+
};
|
|
327
507
|
exports.WorkflowResponseSlotForwardOneOfModeEnum = {
|
|
328
508
|
AfterReply: 'after-reply',
|
|
329
509
|
Immediately: 'immediately'
|