@nestbox-ai/agents 1.0.49 → 1.0.60

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.
@@ -1 +1 @@
1
- 7.14.0
1
+ 7.19.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @nestbox-ai/agents@1.0.49
1
+ ## @nestbox-ai/agents@1.0.60
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @nestbox-ai/agents@1.0.49 --save
39
+ npm install @nestbox-ai/agents@1.0.60 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -18,76 +18,45 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- *
28
- * @export
29
- * @interface AdHocCallbackDto
30
- */
31
26
  export interface AdHocCallbackDto {
32
27
  /**
33
28
  * URL to send the callback to
34
- * @type {string}
35
- * @memberof AdHocCallbackDto
36
29
  */
37
30
  'url': string;
38
31
  /**
39
32
  * List of event types to subscribe to, such as QUERY_FAILED, QUERY_COMPLETED, etc.
40
- * @type {Array<string>}
41
- * @memberof AdHocCallbackDto
42
33
  */
43
34
  'eventTypes': Array<string>;
44
- /**
45
- *
46
- * @type {object}
47
- * @memberof AdHocCallbackDto
48
- */
49
35
  'headers'?: object;
50
36
  }
51
- /**
52
- *
53
- * @export
54
- * @interface CreateGuardrailDto
55
- */
56
37
  export interface CreateGuardrailDto {
57
38
  /**
58
39
  * Whether the guardrail is active
59
- * @type {boolean}
60
- * @memberof CreateGuardrailDto
61
40
  */
62
41
  'isActive': boolean;
63
42
  /**
64
43
  * Threshold setting ranging from 0.0 to 1.0
65
- * @type {number}
66
- * @memberof CreateGuardrailDto
67
44
  */
68
45
  'thresholdSetting': number;
69
46
  /**
70
47
  * Severity level of the guardrail
71
- * @type {string}
72
- * @memberof CreateGuardrailDto
73
48
  */
74
49
  'severity': CreateGuardrailDtoSeverityEnum;
75
50
  /**
76
51
  * Risk level of the guardrail
77
- * @type {string}
78
- * @memberof CreateGuardrailDto
79
52
  */
80
53
  'risk': CreateGuardrailDtoRiskEnum;
81
54
  /**
82
55
  * Flag status for the guardrail
83
- * @type {string}
84
- * @memberof CreateGuardrailDto
85
56
  */
86
57
  'flag': CreateGuardrailDtoFlagEnum;
87
58
  /**
88
59
  * List of users associated with the guardrail
89
- * @type {Array<GuardrailUserDto>}
90
- * @memberof CreateGuardrailDto
91
60
  */
92
61
  'guardrailUsers'?: Array<GuardrailUserDto>;
93
62
  }
@@ -113,117 +82,67 @@ export const CreateGuardrailDtoFlagEnum = {
113
82
 
114
83
  export type CreateGuardrailDtoFlagEnum = typeof CreateGuardrailDtoFlagEnum[keyof typeof CreateGuardrailDtoFlagEnum];
115
84
 
116
- /**
117
- *
118
- * @export
119
- * @interface CreateWebhookDto
120
- */
121
85
  export interface CreateWebhookDto {
122
86
  /**
123
87
  * The URL for the webhook
124
- * @type {string}
125
- * @memberof CreateWebhookDto
126
88
  */
127
89
  'url': string;
128
90
  /**
129
91
  * Comma-separated notifications. Valid values: QUERY_CREATED, QUERY_COMPLETED, QUERY_FAILED, EVENT_CREATED, EVENT_UPDATED
130
- * @type {string}
131
- * @memberof CreateWebhookDto
132
92
  */
133
93
  'notifications': string;
134
94
  }
135
- /**
136
- *
137
- * @export
138
- * @interface GuardrailUserDto
139
- */
140
95
  export interface GuardrailUserDto {
141
96
  /**
142
97
  * Username of the user
143
- * @type {string}
144
- * @memberof GuardrailUserDto
145
98
  */
146
99
  'userName': string;
147
100
  /**
148
101
  * Email of the user
149
- * @type {string}
150
- * @memberof GuardrailUserDto
151
102
  */
152
103
  'email': string;
153
104
  }
154
- /**
155
- *
156
- * @export
157
- * @interface MessageDto
158
- */
159
105
  export interface MessageDto {
160
106
  /**
161
107
  * Unique message ID
162
- * @type {string}
163
- * @memberof MessageDto
164
108
  */
165
109
  'id': string;
166
110
  /**
167
111
  * Role of the message sender (system, user, assistant)
168
- * @type {string}
169
- * @memberof MessageDto
170
112
  */
171
113
  'role': string;
172
114
  /**
173
115
  * Content of the message
174
- * @type {string}
175
- * @memberof MessageDto
176
116
  */
177
117
  'content': string;
178
118
  }
179
- /**
180
- *
181
- * @export
182
- * @interface QueryHandlerDto
183
- */
184
119
  export interface QueryHandlerDto {
185
120
  /**
186
121
  * Parameters for the query
187
- * @type {object}
188
- * @memberof QueryHandlerDto
189
122
  */
190
123
  'params': object;
191
124
  /**
192
125
  * Messages to send to the agent
193
- * @type {Array<MessageDto>}
194
- * @memberof QueryHandlerDto
195
126
  */
196
127
  'messages'?: Array<MessageDto>;
197
128
  /**
198
129
  * Ephemeral callback registration webhook
199
- * @type {AdHocCallbackDto}
200
- * @memberof QueryHandlerDto
201
130
  */
202
131
  'adHocCallback'?: AdHocCallbackDto;
203
132
  }
204
- /**
205
- *
206
- * @export
207
- * @interface UpdateWebhookDto
208
- */
209
133
  export interface UpdateWebhookDto {
210
134
  /**
211
135
  * The URL for the webhook
212
- * @type {string}
213
- * @memberof UpdateWebhookDto
214
136
  */
215
137
  'url'?: string;
216
138
  /**
217
139
  * Comma-separated notifications. Valid values: QUERY_CREATED, QUERY_COMPLETED, QUERY_FAILED, EVENT_CREATED, EVENT_UPDATED
218
- * @type {string}
219
- * @memberof UpdateWebhookDto
220
140
  */
221
141
  'notifications'?: string;
222
142
  }
223
143
 
224
144
  /**
225
145
  * ChatApi - axios parameter creator
226
- * @export
227
146
  */
228
147
  export const ChatApiAxiosParamCreator = function (configuration?: Configuration) {
229
148
  return {
@@ -252,8 +171,6 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
252
171
  const localVarHeaderParameter = {} as any;
253
172
  const localVarQueryParameter = {} as any;
254
173
 
255
-
256
-
257
174
  localVarHeaderParameter['Content-Type'] = 'application/json';
258
175
 
259
176
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -271,7 +188,6 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
271
188
 
272
189
  /**
273
190
  * ChatApi - functional programming interface
274
- * @export
275
191
  */
276
192
  export const ChatApiFp = function(configuration?: Configuration) {
277
193
  const localVarAxiosParamCreator = ChatApiAxiosParamCreator(configuration)
@@ -294,7 +210,6 @@ export const ChatApiFp = function(configuration?: Configuration) {
294
210
 
295
211
  /**
296
212
  * ChatApi - factory interface
297
- * @export
298
213
  */
299
214
  export const ChatApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
300
215
  const localVarFp = ChatApiFp(configuration)
@@ -314,9 +229,6 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
314
229
 
315
230
  /**
316
231
  * ChatApi - object-oriented interface
317
- * @export
318
- * @class ChatApi
319
- * @extends {BaseAPI}
320
232
  */
321
233
  export class ChatApi extends BaseAPI {
322
234
  /**
@@ -325,7 +237,6 @@ export class ChatApi extends BaseAPI {
325
237
  * @param {QueryHandlerDto} queryHandlerDto
326
238
  * @param {*} [options] Override http request option.
327
239
  * @throws {RequiredError}
328
- * @memberof ChatApi
329
240
  */
330
241
  public agentOperationsChatControllerCreateQuery(id: string, queryHandlerDto: QueryHandlerDto, options?: RawAxiosRequestConfig) {
331
242
  return ChatApiFp(this.configuration).agentOperationsChatControllerCreateQuery(id, queryHandlerDto, options).then((request) => request(this.axios, this.basePath));
@@ -336,7 +247,6 @@ export class ChatApi extends BaseAPI {
336
247
 
337
248
  /**
338
249
  * EventLogsApi - axios parameter creator
339
- * @export
340
250
  */
341
251
  export const EventLogsApiAxiosParamCreator = function (configuration?: Configuration) {
342
252
  return {
@@ -377,7 +287,6 @@ export const EventLogsApiAxiosParamCreator = function (configuration?: Configura
377
287
  }
378
288
 
379
289
 
380
-
381
290
  setSearchParams(localVarUrlObj, localVarQueryParameter);
382
291
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
383
292
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -417,7 +326,6 @@ export const EventLogsApiAxiosParamCreator = function (configuration?: Configura
417
326
  }
418
327
 
419
328
 
420
-
421
329
  setSearchParams(localVarUrlObj, localVarQueryParameter);
422
330
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
423
331
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -432,7 +340,6 @@ export const EventLogsApiAxiosParamCreator = function (configuration?: Configura
432
340
 
433
341
  /**
434
342
  * EventLogsApi - functional programming interface
435
- * @export
436
343
  */
437
344
  export const EventLogsApiFp = function(configuration?: Configuration) {
438
345
  const localVarAxiosParamCreator = EventLogsApiAxiosParamCreator(configuration)
@@ -469,7 +376,6 @@ export const EventLogsApiFp = function(configuration?: Configuration) {
469
376
 
470
377
  /**
471
378
  * EventLogsApi - factory interface
472
- * @export
473
379
  */
474
380
  export const EventLogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
475
381
  const localVarFp = EventLogsApiFp(configuration)
@@ -500,9 +406,6 @@ export const EventLogsApiFactory = function (configuration?: Configuration, base
500
406
 
501
407
  /**
502
408
  * EventLogsApi - object-oriented interface
503
- * @export
504
- * @class EventLogsApi
505
- * @extends {BaseAPI}
506
409
  */
507
410
  export class EventLogsApi extends BaseAPI {
508
411
  /**
@@ -512,7 +415,6 @@ export class EventLogsApi extends BaseAPI {
512
415
  * @param {string} limit
513
416
  * @param {*} [options] Override http request option.
514
417
  * @throws {RequiredError}
515
- * @memberof EventLogsApi
516
418
  */
517
419
  public agentOperationsEventLogsControllerGetEventLogs(id: string, page: string, limit: string, options?: RawAxiosRequestConfig) {
518
420
  return EventLogsApiFp(this.configuration).agentOperationsEventLogsControllerGetEventLogs(id, page, limit, options).then((request) => request(this.axios, this.basePath));
@@ -524,7 +426,6 @@ export class EventLogsApi extends BaseAPI {
524
426
  * @param {string} queryId
525
427
  * @param {*} [options] Override http request option.
526
428
  * @throws {RequiredError}
527
- * @memberof EventLogsApi
528
429
  */
529
430
  public agentOperationsEventLogsControllerGetEventLogsByQueryId(id: string, queryId: string, options?: RawAxiosRequestConfig) {
530
431
  return EventLogsApiFp(this.configuration).agentOperationsEventLogsControllerGetEventLogsByQueryId(id, queryId, options).then((request) => request(this.axios, this.basePath));
@@ -535,7 +436,6 @@ export class EventLogsApi extends BaseAPI {
535
436
 
536
437
  /**
537
438
  * GuardrailsApi - axios parameter creator
538
- * @export
539
439
  */
540
440
  export const GuardrailsApiAxiosParamCreator = function (configuration?: Configuration) {
541
441
  return {
@@ -564,8 +464,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
564
464
  const localVarHeaderParameter = {} as any;
565
465
  const localVarQueryParameter = {} as any;
566
466
 
567
-
568
-
569
467
  localVarHeaderParameter['Content-Type'] = 'application/json';
570
468
 
571
469
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -605,7 +503,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
605
503
  const localVarQueryParameter = {} as any;
606
504
 
607
505
 
608
-
609
506
  setSearchParams(localVarUrlObj, localVarQueryParameter);
610
507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
611
508
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -638,7 +535,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
638
535
  const localVarQueryParameter = {} as any;
639
536
 
640
537
 
641
-
642
538
  setSearchParams(localVarUrlObj, localVarQueryParameter);
643
539
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
644
540
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -675,7 +571,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
675
571
  const localVarQueryParameter = {} as any;
676
572
 
677
573
 
678
-
679
574
  setSearchParams(localVarUrlObj, localVarQueryParameter);
680
575
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
681
576
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -714,8 +609,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
714
609
  const localVarHeaderParameter = {} as any;
715
610
  const localVarQueryParameter = {} as any;
716
611
 
717
-
718
-
719
612
  localVarHeaderParameter['Content-Type'] = 'application/json';
720
613
 
721
614
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -733,7 +626,6 @@ export const GuardrailsApiAxiosParamCreator = function (configuration?: Configur
733
626
 
734
627
  /**
735
628
  * GuardrailsApi - functional programming interface
736
- * @export
737
629
  */
738
630
  export const GuardrailsApiFp = function(configuration?: Configuration) {
739
631
  const localVarAxiosParamCreator = GuardrailsApiAxiosParamCreator(configuration)
@@ -808,7 +700,6 @@ export const GuardrailsApiFp = function(configuration?: Configuration) {
808
700
 
809
701
  /**
810
702
  * GuardrailsApi - factory interface
811
- * @export
812
703
  */
813
704
  export const GuardrailsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
814
705
  const localVarFp = GuardrailsApiFp(configuration)
@@ -868,9 +759,6 @@ export const GuardrailsApiFactory = function (configuration?: Configuration, bas
868
759
 
869
760
  /**
870
761
  * GuardrailsApi - object-oriented interface
871
- * @export
872
- * @class GuardrailsApi
873
- * @extends {BaseAPI}
874
762
  */
875
763
  export class GuardrailsApi extends BaseAPI {
876
764
  /**
@@ -879,7 +767,6 @@ export class GuardrailsApi extends BaseAPI {
879
767
  * @param {CreateGuardrailDto} createGuardrailDto
880
768
  * @param {*} [options] Override http request option.
881
769
  * @throws {RequiredError}
882
- * @memberof GuardrailsApi
883
770
  */
884
771
  public agentOperationsGuardrailsControllerCreateGuardrails(id: string, createGuardrailDto: CreateGuardrailDto, options?: RawAxiosRequestConfig) {
885
772
  return GuardrailsApiFp(this.configuration).agentOperationsGuardrailsControllerCreateGuardrails(id, createGuardrailDto, options).then((request) => request(this.axios, this.basePath));
@@ -891,7 +778,6 @@ export class GuardrailsApi extends BaseAPI {
891
778
  * @param {string} guardrailsId ID of the guardrails.
892
779
  * @param {*} [options] Override http request option.
893
780
  * @throws {RequiredError}
894
- * @memberof GuardrailsApi
895
781
  */
896
782
  public agentOperationsGuardrailsControllerDeleteGuardrails(id: string, guardrailsId: string, options?: RawAxiosRequestConfig) {
897
783
  return GuardrailsApiFp(this.configuration).agentOperationsGuardrailsControllerDeleteGuardrails(id, guardrailsId, options).then((request) => request(this.axios, this.basePath));
@@ -902,7 +788,6 @@ export class GuardrailsApi extends BaseAPI {
902
788
  * @param {string} id ID of the agent.
903
789
  * @param {*} [options] Override http request option.
904
790
  * @throws {RequiredError}
905
- * @memberof GuardrailsApi
906
791
  */
907
792
  public agentOperationsGuardrailsControllerGetAllGuardrails(id: string, options?: RawAxiosRequestConfig) {
908
793
  return GuardrailsApiFp(this.configuration).agentOperationsGuardrailsControllerGetAllGuardrails(id, options).then((request) => request(this.axios, this.basePath));
@@ -914,7 +799,6 @@ export class GuardrailsApi extends BaseAPI {
914
799
  * @param {string} guardrailsId ID of the guardrails.
915
800
  * @param {*} [options] Override http request option.
916
801
  * @throws {RequiredError}
917
- * @memberof GuardrailsApi
918
802
  */
919
803
  public agentOperationsGuardrailsControllerGetGuardrails(id: string, guardrailsId: string, options?: RawAxiosRequestConfig) {
920
804
  return GuardrailsApiFp(this.configuration).agentOperationsGuardrailsControllerGetGuardrails(id, guardrailsId, options).then((request) => request(this.axios, this.basePath));
@@ -927,7 +811,6 @@ export class GuardrailsApi extends BaseAPI {
927
811
  * @param {CreateGuardrailDto} createGuardrailDto
928
812
  * @param {*} [options] Override http request option.
929
813
  * @throws {RequiredError}
930
- * @memberof GuardrailsApi
931
814
  */
932
815
  public agentOperationsGuardrailsControllerUpdateGuardrails(id: string, guardrailsId: string, createGuardrailDto: CreateGuardrailDto, options?: RawAxiosRequestConfig) {
933
816
  return GuardrailsApiFp(this.configuration).agentOperationsGuardrailsControllerUpdateGuardrails(id, guardrailsId, createGuardrailDto, options).then((request) => request(this.axios, this.basePath));
@@ -938,7 +821,6 @@ export class GuardrailsApi extends BaseAPI {
938
821
 
939
822
  /**
940
823
  * QueryApi - axios parameter creator
941
- * @export
942
824
  */
943
825
  export const QueryApiAxiosParamCreator = function (configuration?: Configuration) {
944
826
  return {
@@ -967,8 +849,6 @@ export const QueryApiAxiosParamCreator = function (configuration?: Configuration
967
849
  const localVarHeaderParameter = {} as any;
968
850
  const localVarQueryParameter = {} as any;
969
851
 
970
-
971
-
972
852
  localVarHeaderParameter['Content-Type'] = 'application/json';
973
853
 
974
854
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -986,7 +866,6 @@ export const QueryApiAxiosParamCreator = function (configuration?: Configuration
986
866
 
987
867
  /**
988
868
  * QueryApi - functional programming interface
989
- * @export
990
869
  */
991
870
  export const QueryApiFp = function(configuration?: Configuration) {
992
871
  const localVarAxiosParamCreator = QueryApiAxiosParamCreator(configuration)
@@ -1009,7 +888,6 @@ export const QueryApiFp = function(configuration?: Configuration) {
1009
888
 
1010
889
  /**
1011
890
  * QueryApi - factory interface
1012
- * @export
1013
891
  */
1014
892
  export const QueryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1015
893
  const localVarFp = QueryApiFp(configuration)
@@ -1029,9 +907,6 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
1029
907
 
1030
908
  /**
1031
909
  * QueryApi - object-oriented interface
1032
- * @export
1033
- * @class QueryApi
1034
- * @extends {BaseAPI}
1035
910
  */
1036
911
  export class QueryApi extends BaseAPI {
1037
912
  /**
@@ -1040,7 +915,6 @@ export class QueryApi extends BaseAPI {
1040
915
  * @param {QueryHandlerDto} queryHandlerDto
1041
916
  * @param {*} [options] Override http request option.
1042
917
  * @throws {RequiredError}
1043
- * @memberof QueryApi
1044
918
  */
1045
919
  public agentOperationsQueryControllerCreateQuery(id: string, queryHandlerDto: QueryHandlerDto, options?: RawAxiosRequestConfig) {
1046
920
  return QueryApiFp(this.configuration).agentOperationsQueryControllerCreateQuery(id, queryHandlerDto, options).then((request) => request(this.axios, this.basePath));
@@ -1051,7 +925,6 @@ export class QueryApi extends BaseAPI {
1051
925
 
1052
926
  /**
1053
927
  * ServerLiveStatusApi - axios parameter creator
1054
- * @export
1055
928
  */
1056
929
  export const ServerLiveStatusApiAxiosParamCreator = function (configuration?: Configuration) {
1057
930
  return {
@@ -1074,7 +947,6 @@ export const ServerLiveStatusApiAxiosParamCreator = function (configuration?: Co
1074
947
  const localVarQueryParameter = {} as any;
1075
948
 
1076
949
 
1077
-
1078
950
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1079
951
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1080
952
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1089,7 +961,6 @@ export const ServerLiveStatusApiAxiosParamCreator = function (configuration?: Co
1089
961
 
1090
962
  /**
1091
963
  * ServerLiveStatusApi - functional programming interface
1092
- * @export
1093
964
  */
1094
965
  export const ServerLiveStatusApiFp = function(configuration?: Configuration) {
1095
966
  const localVarAxiosParamCreator = ServerLiveStatusApiAxiosParamCreator(configuration)
@@ -1110,7 +981,6 @@ export const ServerLiveStatusApiFp = function(configuration?: Configuration) {
1110
981
 
1111
982
  /**
1112
983
  * ServerLiveStatusApi - factory interface
1113
- * @export
1114
984
  */
1115
985
  export const ServerLiveStatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1116
986
  const localVarFp = ServerLiveStatusApiFp(configuration)
@@ -1128,16 +998,12 @@ export const ServerLiveStatusApiFactory = function (configuration?: Configuratio
1128
998
 
1129
999
  /**
1130
1000
  * ServerLiveStatusApi - object-oriented interface
1131
- * @export
1132
- * @class ServerLiveStatusApi
1133
- * @extends {BaseAPI}
1134
1001
  */
1135
1002
  export class ServerLiveStatusApi extends BaseAPI {
1136
1003
  /**
1137
1004
  *
1138
1005
  * @param {*} [options] Override http request option.
1139
1006
  * @throws {RequiredError}
1140
- * @memberof ServerLiveStatusApi
1141
1007
  */
1142
1008
  public appControllerGetStatus(options?: RawAxiosRequestConfig) {
1143
1009
  return ServerLiveStatusApiFp(this.configuration).appControllerGetStatus(options).then((request) => request(this.axios, this.basePath));
@@ -1148,7 +1014,6 @@ export class ServerLiveStatusApi extends BaseAPI {
1148
1014
 
1149
1015
  /**
1150
1016
  * WebhooksApi - axios parameter creator
1151
- * @export
1152
1017
  */
1153
1018
  export const WebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
1154
1019
  return {
@@ -1177,8 +1042,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1177
1042
  const localVarHeaderParameter = {} as any;
1178
1043
  const localVarQueryParameter = {} as any;
1179
1044
 
1180
-
1181
-
1182
1045
  localVarHeaderParameter['Content-Type'] = 'application/json';
1183
1046
 
1184
1047
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1218,7 +1081,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1218
1081
  const localVarQueryParameter = {} as any;
1219
1082
 
1220
1083
 
1221
-
1222
1084
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1223
1085
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1224
1086
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1251,7 +1113,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1251
1113
  const localVarQueryParameter = {} as any;
1252
1114
 
1253
1115
 
1254
-
1255
1116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1256
1117
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1257
1118
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1288,7 +1149,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1288
1149
  const localVarQueryParameter = {} as any;
1289
1150
 
1290
1151
 
1291
-
1292
1152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1293
1153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1294
1154
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1327,8 +1187,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1327
1187
  const localVarHeaderParameter = {} as any;
1328
1188
  const localVarQueryParameter = {} as any;
1329
1189
 
1330
-
1331
-
1332
1190
  localVarHeaderParameter['Content-Type'] = 'application/json';
1333
1191
 
1334
1192
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1346,7 +1204,6 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
1346
1204
 
1347
1205
  /**
1348
1206
  * WebhooksApi - functional programming interface
1349
- * @export
1350
1207
  */
1351
1208
  export const WebhooksApiFp = function(configuration?: Configuration) {
1352
1209
  const localVarAxiosParamCreator = WebhooksApiAxiosParamCreator(configuration)
@@ -1421,7 +1278,6 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
1421
1278
 
1422
1279
  /**
1423
1280
  * WebhooksApi - factory interface
1424
- * @export
1425
1281
  */
1426
1282
  export const WebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1427
1283
  const localVarFp = WebhooksApiFp(configuration)
@@ -1481,9 +1337,6 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
1481
1337
 
1482
1338
  /**
1483
1339
  * WebhooksApi - object-oriented interface
1484
- * @export
1485
- * @class WebhooksApi
1486
- * @extends {BaseAPI}
1487
1340
  */
1488
1341
  export class WebhooksApi extends BaseAPI {
1489
1342
  /**
@@ -1492,7 +1345,6 @@ export class WebhooksApi extends BaseAPI {
1492
1345
  * @param {CreateWebhookDto} createWebhookDto
1493
1346
  * @param {*} [options] Override http request option.
1494
1347
  * @throws {RequiredError}
1495
- * @memberof WebhooksApi
1496
1348
  */
1497
1349
  public agentOperationsWebhooksControllerCreateWebhook(id: string, createWebhookDto: CreateWebhookDto, options?: RawAxiosRequestConfig) {
1498
1350
  return WebhooksApiFp(this.configuration).agentOperationsWebhooksControllerCreateWebhook(id, createWebhookDto, options).then((request) => request(this.axios, this.basePath));
@@ -1504,7 +1356,6 @@ export class WebhooksApi extends BaseAPI {
1504
1356
  * @param {string} webhookId ID of the webhook.
1505
1357
  * @param {*} [options] Override http request option.
1506
1358
  * @throws {RequiredError}
1507
- * @memberof WebhooksApi
1508
1359
  */
1509
1360
  public agentOperationsWebhooksControllerDeleteWebhook(id: string, webhookId: string, options?: RawAxiosRequestConfig) {
1510
1361
  return WebhooksApiFp(this.configuration).agentOperationsWebhooksControllerDeleteWebhook(id, webhookId, options).then((request) => request(this.axios, this.basePath));
@@ -1515,7 +1366,6 @@ export class WebhooksApi extends BaseAPI {
1515
1366
  * @param {string} id ID of the agent.
1516
1367
  * @param {*} [options] Override http request option.
1517
1368
  * @throws {RequiredError}
1518
- * @memberof WebhooksApi
1519
1369
  */
1520
1370
  public agentOperationsWebhooksControllerGetAllWebhooks(id: string, options?: RawAxiosRequestConfig) {
1521
1371
  return WebhooksApiFp(this.configuration).agentOperationsWebhooksControllerGetAllWebhooks(id, options).then((request) => request(this.axios, this.basePath));
@@ -1527,7 +1377,6 @@ export class WebhooksApi extends BaseAPI {
1527
1377
  * @param {string} webhookId ID of the webhook.
1528
1378
  * @param {*} [options] Override http request option.
1529
1379
  * @throws {RequiredError}
1530
- * @memberof WebhooksApi
1531
1380
  */
1532
1381
  public agentOperationsWebhooksControllerGetWebhook(id: string, webhookId: string, options?: RawAxiosRequestConfig) {
1533
1382
  return WebhooksApiFp(this.configuration).agentOperationsWebhooksControllerGetWebhook(id, webhookId, options).then((request) => request(this.axios, this.basePath));
@@ -1540,7 +1389,6 @@ export class WebhooksApi extends BaseAPI {
1540
1389
  * @param {UpdateWebhookDto} updateWebhookDto
1541
1390
  * @param {*} [options] Override http request option.
1542
1391
  * @throws {RequiredError}
1543
- * @memberof WebhooksApi
1544
1392
  */
1545
1393
  public agentOperationsWebhooksControllerUpdateWebhook(id: string, webhookId: string, updateWebhookDto: UpdateWebhookDto, options?: RawAxiosRequestConfig) {
1546
1394
  return WebhooksApiFp(this.configuration).agentOperationsWebhooksControllerUpdateWebhook(id, webhookId, updateWebhookDto, options).then((request) => request(this.axios, this.basePath));
package/base.ts CHANGED
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
21
21
 
22
22
  export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
23
23
 
24
- /**
25
- *
26
- * @export
27
- */
28
24
  export const COLLECTION_FORMATS = {
29
25
  csv: ",",
30
26
  ssv: " ",
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
32
28
  pipes: "|",
33
29
  };
34
30
 
35
- /**
36
- *
37
- * @export
38
- * @interface RequestArgs
39
- */
40
31
  export interface RequestArgs {
41
32
  url: string;
42
33
  options: RawAxiosRequestConfig;
43
34
  }
44
35
 
45
- /**
46
- *
47
- * @export
48
- * @class BaseAPI
49
- */
50
36
  export class BaseAPI {
51
37
  protected configuration: Configuration | undefined;
52
38
 
@@ -58,12 +44,6 @@ export class BaseAPI {
58
44
  }
59
45
  };
60
46
 
61
- /**
62
- *
63
- * @export
64
- * @class RequiredError
65
- * @extends {Error}
66
- */
67
47
  export class RequiredError extends Error {
68
48
  constructor(public field: string, msg?: string) {
69
49
  super(msg);
@@ -78,9 +58,5 @@ interface ServerMap {
78
58
  }[];
79
59
  }
80
60
 
81
- /**
82
- *
83
- * @export
84
- */
85
61
  export const operationServerMap: ServerMap = {
86
62
  }