flexinet-api 0.0.2212 → 0.0.2213-pre

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.2212
1
+ ## flexinet-api@0.0.2213-pre
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 flexinet-api@0.0.2212 --save
39
+ npm install flexinet-api@0.0.2213-pre --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1021,6 +1021,32 @@ export type EventCreationRequestKindEnum = typeof EventCreationRequestKindEnum[k
1021
1021
  */
1022
1022
  export type EventCreationRequestDetails = TransactionEventDetails;
1023
1023
 
1024
+ /**
1025
+ *
1026
+ * @export
1027
+ * @interface EventsEvaluationRequest
1028
+ */
1029
+ export interface EventsEvaluationRequest {
1030
+ /**
1031
+ *
1032
+ * @type {Array<EventCreationRequest>}
1033
+ * @memberof EventsEvaluationRequest
1034
+ */
1035
+ 'events': Array<EventCreationRequest>;
1036
+ }
1037
+ /**
1038
+ *
1039
+ * @export
1040
+ * @interface EventsEvaluationResponse
1041
+ */
1042
+ export interface EventsEvaluationResponse {
1043
+ /**
1044
+ *
1045
+ * @type {{ [key: string]: Array<Promotion>; }}
1046
+ * @memberof EventsEvaluationResponse
1047
+ */
1048
+ 'promotions': { [key: string]: Array<Promotion>; };
1049
+ }
1024
1050
  /**
1025
1051
  *
1026
1052
  * @export
@@ -6989,6 +7015,45 @@ export class CustomDealsApi extends BaseAPI {
6989
7015
  */
6990
7016
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
6991
7017
  return {
7018
+ /**
7019
+ * Evaluate events
7020
+ * @summary Evaluate events
7021
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
7022
+ * @param {*} [options] Override http request option.
7023
+ * @throws {RequiredError}
7024
+ */
7025
+ evaluateEvents: async (eventsEvaluationRequest: EventsEvaluationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7026
+ // verify required parameter 'eventsEvaluationRequest' is not null or undefined
7027
+ assertParamExists('evaluateEvents', 'eventsEvaluationRequest', eventsEvaluationRequest)
7028
+ const localVarPath = `/admins/promotions/evaluation`;
7029
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7030
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7031
+ let baseOptions;
7032
+ if (configuration) {
7033
+ baseOptions = configuration.baseOptions;
7034
+ }
7035
+
7036
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7037
+ const localVarHeaderParameter = {} as any;
7038
+ const localVarQueryParameter = {} as any;
7039
+
7040
+ // authentication ApiKeyAuth required
7041
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
7042
+
7043
+
7044
+
7045
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7046
+
7047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7048
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7049
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7050
+ localVarRequestOptions.data = serializeDataIfNeeded(eventsEvaluationRequest, localVarRequestOptions, configuration)
7051
+
7052
+ return {
7053
+ url: toPathString(localVarUrlObj),
7054
+ options: localVarRequestOptions,
7055
+ };
7056
+ },
6992
7057
  /**
6993
7058
  * Import events to the system to be processed
6994
7059
  * @summary Add event
@@ -7038,6 +7103,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7038
7103
  export const DefaultApiFp = function(configuration?: Configuration) {
7039
7104
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
7040
7105
  return {
7106
+ /**
7107
+ * Evaluate events
7108
+ * @summary Evaluate events
7109
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
7110
+ * @param {*} [options] Override http request option.
7111
+ * @throws {RequiredError}
7112
+ */
7113
+ async evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsEvaluationResponse>> {
7114
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateEvents(eventsEvaluationRequest, options);
7115
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7116
+ },
7041
7117
  /**
7042
7118
  * Import events to the system to be processed
7043
7119
  * @summary Add event
@@ -7059,6 +7135,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
7059
7135
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
7060
7136
  const localVarFp = DefaultApiFp(configuration)
7061
7137
  return {
7138
+ /**
7139
+ * Evaluate events
7140
+ * @summary Evaluate events
7141
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
7142
+ * @param {*} [options] Override http request option.
7143
+ * @throws {RequiredError}
7144
+ */
7145
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: any): AxiosPromise<EventsEvaluationResponse> {
7146
+ return localVarFp.evaluateEvents(eventsEvaluationRequest, options).then((request) => request(axios, basePath));
7147
+ },
7062
7148
  /**
7063
7149
  * Import events to the system to be processed
7064
7150
  * @summary Add event
@@ -7079,6 +7165,18 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
7079
7165
  * @extends {BaseAPI}
7080
7166
  */
7081
7167
  export class DefaultApi extends BaseAPI {
7168
+ /**
7169
+ * Evaluate events
7170
+ * @summary Evaluate events
7171
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
7172
+ * @param {*} [options] Override http request option.
7173
+ * @throws {RequiredError}
7174
+ * @memberof DefaultApi
7175
+ */
7176
+ public evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig) {
7177
+ return DefaultApiFp(this.configuration).evaluateEvents(eventsEvaluationRequest, options).then((request) => request(this.axios, this.basePath));
7178
+ }
7179
+
7082
7180
  /**
7083
7181
  * Import events to the system to be processed
7084
7182
  * @summary Add event
package/dist/api.d.ts CHANGED
@@ -957,6 +957,34 @@ export type EventCreationRequestKindEnum = typeof EventCreationRequestKindEnum[k
957
957
  * @export
958
958
  */
959
959
  export type EventCreationRequestDetails = TransactionEventDetails;
960
+ /**
961
+ *
962
+ * @export
963
+ * @interface EventsEvaluationRequest
964
+ */
965
+ export interface EventsEvaluationRequest {
966
+ /**
967
+ *
968
+ * @type {Array<EventCreationRequest>}
969
+ * @memberof EventsEvaluationRequest
970
+ */
971
+ 'events': Array<EventCreationRequest>;
972
+ }
973
+ /**
974
+ *
975
+ * @export
976
+ * @interface EventsEvaluationResponse
977
+ */
978
+ export interface EventsEvaluationResponse {
979
+ /**
980
+ *
981
+ * @type {{ [key: string]: Array<Promotion>; }}
982
+ * @memberof EventsEvaluationResponse
983
+ */
984
+ 'promotions': {
985
+ [key: string]: Array<Promotion>;
986
+ };
987
+ }
960
988
  /**
961
989
  *
962
990
  * @export
@@ -5641,6 +5669,14 @@ export declare class CustomDealsApi extends BaseAPI {
5641
5669
  * @export
5642
5670
  */
5643
5671
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
5672
+ /**
5673
+ * Evaluate events
5674
+ * @summary Evaluate events
5675
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5676
+ * @param {*} [options] Override http request option.
5677
+ * @throws {RequiredError}
5678
+ */
5679
+ evaluateEvents: (eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5644
5680
  /**
5645
5681
  * Import events to the system to be processed
5646
5682
  * @summary Add event
@@ -5655,6 +5691,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5655
5691
  * @export
5656
5692
  */
5657
5693
  export declare const DefaultApiFp: (configuration?: Configuration) => {
5694
+ /**
5695
+ * Evaluate events
5696
+ * @summary Evaluate events
5697
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5698
+ * @param {*} [options] Override http request option.
5699
+ * @throws {RequiredError}
5700
+ */
5701
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsEvaluationResponse>>;
5658
5702
  /**
5659
5703
  * Import events to the system to be processed
5660
5704
  * @summary Add event
@@ -5669,6 +5713,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
5669
5713
  * @export
5670
5714
  */
5671
5715
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5716
+ /**
5717
+ * Evaluate events
5718
+ * @summary Evaluate events
5719
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5720
+ * @param {*} [options] Override http request option.
5721
+ * @throws {RequiredError}
5722
+ */
5723
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: any): AxiosPromise<EventsEvaluationResponse>;
5672
5724
  /**
5673
5725
  * Import events to the system to be processed
5674
5726
  * @summary Add event
@@ -5685,6 +5737,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
5685
5737
  * @extends {BaseAPI}
5686
5738
  */
5687
5739
  export declare class DefaultApi extends BaseAPI {
5740
+ /**
5741
+ * Evaluate events
5742
+ * @summary Evaluate events
5743
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5744
+ * @param {*} [options] Override http request option.
5745
+ * @throws {RequiredError}
5746
+ * @memberof DefaultApi
5747
+ */
5748
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsEvaluationResponse, any>>;
5688
5749
  /**
5689
5750
  * Import events to the system to be processed
5690
5751
  * @summary Add event
package/dist/api.js CHANGED
@@ -2444,6 +2444,38 @@ exports.CustomDealsApi = CustomDealsApi;
2444
2444
  */
2445
2445
  const DefaultApiAxiosParamCreator = function (configuration) {
2446
2446
  return {
2447
+ /**
2448
+ * Evaluate events
2449
+ * @summary Evaluate events
2450
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2451
+ * @param {*} [options] Override http request option.
2452
+ * @throws {RequiredError}
2453
+ */
2454
+ evaluateEvents: (eventsEvaluationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2455
+ // verify required parameter 'eventsEvaluationRequest' is not null or undefined
2456
+ (0, common_1.assertParamExists)('evaluateEvents', 'eventsEvaluationRequest', eventsEvaluationRequest);
2457
+ const localVarPath = `/admins/promotions/evaluation`;
2458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2459
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2460
+ let baseOptions;
2461
+ if (configuration) {
2462
+ baseOptions = configuration.baseOptions;
2463
+ }
2464
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2465
+ const localVarHeaderParameter = {};
2466
+ const localVarQueryParameter = {};
2467
+ // authentication ApiKeyAuth required
2468
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-Key", configuration);
2469
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2470
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2472
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2473
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventsEvaluationRequest, localVarRequestOptions, configuration);
2474
+ return {
2475
+ url: (0, common_1.toPathString)(localVarUrlObj),
2476
+ options: localVarRequestOptions,
2477
+ };
2478
+ }),
2447
2479
  /**
2448
2480
  * Import events to the system to be processed
2449
2481
  * @summary Add event
@@ -2486,6 +2518,19 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
2486
2518
  const DefaultApiFp = function (configuration) {
2487
2519
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
2488
2520
  return {
2521
+ /**
2522
+ * Evaluate events
2523
+ * @summary Evaluate events
2524
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2525
+ * @param {*} [options] Override http request option.
2526
+ * @throws {RequiredError}
2527
+ */
2528
+ evaluateEvents(eventsEvaluationRequest, options) {
2529
+ return __awaiter(this, void 0, void 0, function* () {
2530
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluateEvents(eventsEvaluationRequest, options);
2531
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2532
+ });
2533
+ },
2489
2534
  /**
2490
2535
  * Import events to the system to be processed
2491
2536
  * @summary Add event
@@ -2509,6 +2554,16 @@ exports.DefaultApiFp = DefaultApiFp;
2509
2554
  const DefaultApiFactory = function (configuration, basePath, axios) {
2510
2555
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
2511
2556
  return {
2557
+ /**
2558
+ * Evaluate events
2559
+ * @summary Evaluate events
2560
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2561
+ * @param {*} [options] Override http request option.
2562
+ * @throws {RequiredError}
2563
+ */
2564
+ evaluateEvents(eventsEvaluationRequest, options) {
2565
+ return localVarFp.evaluateEvents(eventsEvaluationRequest, options).then((request) => request(axios, basePath));
2566
+ },
2512
2567
  /**
2513
2568
  * Import events to the system to be processed
2514
2569
  * @summary Add event
@@ -2529,6 +2584,17 @@ exports.DefaultApiFactory = DefaultApiFactory;
2529
2584
  * @extends {BaseAPI}
2530
2585
  */
2531
2586
  class DefaultApi extends base_1.BaseAPI {
2587
+ /**
2588
+ * Evaluate events
2589
+ * @summary Evaluate events
2590
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ * @memberof DefaultApi
2594
+ */
2595
+ evaluateEvents(eventsEvaluationRequest, options) {
2596
+ return (0, exports.DefaultApiFp)(this.configuration).evaluateEvents(eventsEvaluationRequest, options).then((request) => request(this.axios, this.basePath));
2597
+ }
2532
2598
  /**
2533
2599
  * Import events to the system to be processed
2534
2600
  * @summary Add event
package/dist/esm/api.d.ts CHANGED
@@ -957,6 +957,34 @@ export type EventCreationRequestKindEnum = typeof EventCreationRequestKindEnum[k
957
957
  * @export
958
958
  */
959
959
  export type EventCreationRequestDetails = TransactionEventDetails;
960
+ /**
961
+ *
962
+ * @export
963
+ * @interface EventsEvaluationRequest
964
+ */
965
+ export interface EventsEvaluationRequest {
966
+ /**
967
+ *
968
+ * @type {Array<EventCreationRequest>}
969
+ * @memberof EventsEvaluationRequest
970
+ */
971
+ 'events': Array<EventCreationRequest>;
972
+ }
973
+ /**
974
+ *
975
+ * @export
976
+ * @interface EventsEvaluationResponse
977
+ */
978
+ export interface EventsEvaluationResponse {
979
+ /**
980
+ *
981
+ * @type {{ [key: string]: Array<Promotion>; }}
982
+ * @memberof EventsEvaluationResponse
983
+ */
984
+ 'promotions': {
985
+ [key: string]: Array<Promotion>;
986
+ };
987
+ }
960
988
  /**
961
989
  *
962
990
  * @export
@@ -5641,6 +5669,14 @@ export declare class CustomDealsApi extends BaseAPI {
5641
5669
  * @export
5642
5670
  */
5643
5671
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
5672
+ /**
5673
+ * Evaluate events
5674
+ * @summary Evaluate events
5675
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5676
+ * @param {*} [options] Override http request option.
5677
+ * @throws {RequiredError}
5678
+ */
5679
+ evaluateEvents: (eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5644
5680
  /**
5645
5681
  * Import events to the system to be processed
5646
5682
  * @summary Add event
@@ -5655,6 +5691,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5655
5691
  * @export
5656
5692
  */
5657
5693
  export declare const DefaultApiFp: (configuration?: Configuration) => {
5694
+ /**
5695
+ * Evaluate events
5696
+ * @summary Evaluate events
5697
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5698
+ * @param {*} [options] Override http request option.
5699
+ * @throws {RequiredError}
5700
+ */
5701
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsEvaluationResponse>>;
5658
5702
  /**
5659
5703
  * Import events to the system to be processed
5660
5704
  * @summary Add event
@@ -5669,6 +5713,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
5669
5713
  * @export
5670
5714
  */
5671
5715
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5716
+ /**
5717
+ * Evaluate events
5718
+ * @summary Evaluate events
5719
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5720
+ * @param {*} [options] Override http request option.
5721
+ * @throws {RequiredError}
5722
+ */
5723
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: any): AxiosPromise<EventsEvaluationResponse>;
5672
5724
  /**
5673
5725
  * Import events to the system to be processed
5674
5726
  * @summary Add event
@@ -5685,6 +5737,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
5685
5737
  * @extends {BaseAPI}
5686
5738
  */
5687
5739
  export declare class DefaultApi extends BaseAPI {
5740
+ /**
5741
+ * Evaluate events
5742
+ * @summary Evaluate events
5743
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
5744
+ * @param {*} [options] Override http request option.
5745
+ * @throws {RequiredError}
5746
+ * @memberof DefaultApi
5747
+ */
5748
+ evaluateEvents(eventsEvaluationRequest: EventsEvaluationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsEvaluationResponse, any>>;
5688
5749
  /**
5689
5750
  * Import events to the system to be processed
5690
5751
  * @summary Add event
package/dist/esm/api.js CHANGED
@@ -2411,6 +2411,38 @@ export class CustomDealsApi extends BaseAPI {
2411
2411
  */
2412
2412
  export const DefaultApiAxiosParamCreator = function (configuration) {
2413
2413
  return {
2414
+ /**
2415
+ * Evaluate events
2416
+ * @summary Evaluate events
2417
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2418
+ * @param {*} [options] Override http request option.
2419
+ * @throws {RequiredError}
2420
+ */
2421
+ evaluateEvents: (eventsEvaluationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2422
+ // verify required parameter 'eventsEvaluationRequest' is not null or undefined
2423
+ assertParamExists('evaluateEvents', 'eventsEvaluationRequest', eventsEvaluationRequest);
2424
+ const localVarPath = `/admins/promotions/evaluation`;
2425
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2426
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2427
+ let baseOptions;
2428
+ if (configuration) {
2429
+ baseOptions = configuration.baseOptions;
2430
+ }
2431
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2432
+ const localVarHeaderParameter = {};
2433
+ const localVarQueryParameter = {};
2434
+ // authentication ApiKeyAuth required
2435
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
2436
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2437
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2438
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2439
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2440
+ localVarRequestOptions.data = serializeDataIfNeeded(eventsEvaluationRequest, localVarRequestOptions, configuration);
2441
+ return {
2442
+ url: toPathString(localVarUrlObj),
2443
+ options: localVarRequestOptions,
2444
+ };
2445
+ }),
2414
2446
  /**
2415
2447
  * Import events to the system to be processed
2416
2448
  * @summary Add event
@@ -2452,6 +2484,19 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
2452
2484
  export const DefaultApiFp = function (configuration) {
2453
2485
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
2454
2486
  return {
2487
+ /**
2488
+ * Evaluate events
2489
+ * @summary Evaluate events
2490
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2491
+ * @param {*} [options] Override http request option.
2492
+ * @throws {RequiredError}
2493
+ */
2494
+ evaluateEvents(eventsEvaluationRequest, options) {
2495
+ return __awaiter(this, void 0, void 0, function* () {
2496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluateEvents(eventsEvaluationRequest, options);
2497
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2498
+ });
2499
+ },
2455
2500
  /**
2456
2501
  * Import events to the system to be processed
2457
2502
  * @summary Add event
@@ -2474,6 +2519,16 @@ export const DefaultApiFp = function (configuration) {
2474
2519
  export const DefaultApiFactory = function (configuration, basePath, axios) {
2475
2520
  const localVarFp = DefaultApiFp(configuration);
2476
2521
  return {
2522
+ /**
2523
+ * Evaluate events
2524
+ * @summary Evaluate events
2525
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2526
+ * @param {*} [options] Override http request option.
2527
+ * @throws {RequiredError}
2528
+ */
2529
+ evaluateEvents(eventsEvaluationRequest, options) {
2530
+ return localVarFp.evaluateEvents(eventsEvaluationRequest, options).then((request) => request(axios, basePath));
2531
+ },
2477
2532
  /**
2478
2533
  * Import events to the system to be processed
2479
2534
  * @summary Add event
@@ -2493,6 +2548,17 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2493
2548
  * @extends {BaseAPI}
2494
2549
  */
2495
2550
  export class DefaultApi extends BaseAPI {
2551
+ /**
2552
+ * Evaluate events
2553
+ * @summary Evaluate events
2554
+ * @param {EventsEvaluationRequest} eventsEvaluationRequest Entities
2555
+ * @param {*} [options] Override http request option.
2556
+ * @throws {RequiredError}
2557
+ * @memberof DefaultApi
2558
+ */
2559
+ evaluateEvents(eventsEvaluationRequest, options) {
2560
+ return DefaultApiFp(this.configuration).evaluateEvents(eventsEvaluationRequest, options).then((request) => request(this.axios, this.basePath));
2561
+ }
2496
2562
  /**
2497
2563
  * Import events to the system to be processed
2498
2564
  * @summary Add event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.2212",
3
+ "version": "0.0.2213-pre",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {