@rasadov/lumoar-sdk 1.0.1 → 1.0.2

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/api.ts CHANGED
@@ -1186,31 +1186,6 @@ export interface RemoveFromCompany {
1186
1186
  */
1187
1187
  'company_id': string;
1188
1188
  }
1189
- /**
1190
- *
1191
- * @export
1192
- * @interface ResponseGetCheckoutSessionPaymentsCheckoutGet
1193
- */
1194
- export interface ResponseGetCheckoutSessionPaymentsCheckoutGet {
1195
- /**
1196
- *
1197
- * @type {string}
1198
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1199
- */
1200
- 'checkout_url': string;
1201
- /**
1202
- *
1203
- * @type {string}
1204
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1205
- */
1206
- 'session_id': string;
1207
- /**
1208
- *
1209
- * @type {string}
1210
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1211
- */
1212
- 'message'?: string;
1213
- }
1214
1189
  /**
1215
1190
  *
1216
1191
  * @export
@@ -1935,7 +1910,7 @@ export const AuthApiFp = function(configuration?: Configuration) {
1935
1910
  * @param {*} [options] Override http request option.
1936
1911
  * @throws {RequiredError}
1937
1912
  */
1938
- async githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
1913
+ async githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>> {
1939
1914
  const localVarAxiosArgs = await localVarAxiosParamCreator.githubCallbackV1AuthGithubCallbackPost(code, userAgent, cFConnectingIP, cFIPCountry, options);
1940
1915
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1941
1916
  const localVarOperationServerBasePath = operationServerMap['AuthApi.githubCallbackV1AuthGithubCallbackPost']?.[localVarOperationServerIndex]?.url;
@@ -1963,7 +1938,7 @@ export const AuthApiFp = function(configuration?: Configuration) {
1963
1938
  * @param {*} [options] Override http request option.
1964
1939
  * @throws {RequiredError}
1965
1940
  */
1966
- async googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
1941
+ async googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>> {
1967
1942
  const localVarAxiosArgs = await localVarAxiosParamCreator.googleCallbackV1AuthGoogleCallbackPost(code, userAgent, cFConnectingIP, cFIPCountry, options);
1968
1943
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1969
1944
  const localVarOperationServerBasePath = operationServerMap['AuthApi.googleCallbackV1AuthGoogleCallbackPost']?.[localVarOperationServerIndex]?.url;
@@ -2077,7 +2052,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
2077
2052
  * @param {*} [options] Override http request option.
2078
2053
  * @throws {RequiredError}
2079
2054
  */
2080
- githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any> {
2055
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess> {
2081
2056
  return localVarFp.githubCallbackV1AuthGithubCallbackPost(code, userAgent, cFConnectingIP, cFIPCountry, options).then((request) => request(axios, basePath));
2082
2057
  },
2083
2058
  /**
@@ -2099,7 +2074,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
2099
2074
  * @param {*} [options] Override http request option.
2100
2075
  * @throws {RequiredError}
2101
2076
  */
2102
- googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any> {
2077
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess> {
2103
2078
  return localVarFp.googleCallbackV1AuthGoogleCallbackPost(code, userAgent, cFConnectingIP, cFIPCountry, options).then((request) => request(axios, basePath));
2104
2079
  },
2105
2080
  /**
@@ -2342,13 +2317,13 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
2342
2317
  *
2343
2318
  * @summary Get Companies
2344
2319
  * @param {number} [page]
2345
- * @param {number} [limit]
2320
+ * @param {number} [elements]
2346
2321
  * @param {string} [authorization]
2347
2322
  * @param {string} [sessionId]
2348
2323
  * @param {*} [options] Override http request option.
2349
2324
  * @throws {RequiredError}
2350
2325
  */
2351
- getCompaniesV1CompanyListGet: async (page?: number, limit?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2326
+ getCompaniesV1CompanyListGet: async (page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2352
2327
  const localVarPath = `/v1/company/list`;
2353
2328
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2354
2329
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2365,8 +2340,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
2365
2340
  localVarQueryParameter['page'] = page;
2366
2341
  }
2367
2342
 
2368
- if (limit !== undefined) {
2369
- localVarQueryParameter['limit'] = limit;
2343
+ if (elements !== undefined) {
2344
+ localVarQueryParameter['elements'] = elements;
2370
2345
  }
2371
2346
 
2372
2347
 
@@ -2465,13 +2440,13 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
2465
2440
  *
2466
2441
  * @summary Get Policies
2467
2442
  * @param {number} [page]
2468
- * @param {number} [limit]
2443
+ * @param {number} [elements]
2469
2444
  * @param {string} [authorization]
2470
2445
  * @param {string} [sessionId]
2471
2446
  * @param {*} [options] Override http request option.
2472
2447
  * @throws {RequiredError}
2473
2448
  */
2474
- getPoliciesV1CompanyPoliciesGet: async (page?: number, limit?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2449
+ getPoliciesV1CompanyPoliciesGet: async (page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2475
2450
  const localVarPath = `/v1/company/policies`;
2476
2451
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2477
2452
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2488,8 +2463,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
2488
2463
  localVarQueryParameter['page'] = page;
2489
2464
  }
2490
2465
 
2491
- if (limit !== undefined) {
2492
- localVarQueryParameter['limit'] = limit;
2466
+ if (elements !== undefined) {
2467
+ localVarQueryParameter['elements'] = elements;
2493
2468
  }
2494
2469
 
2495
2470
 
@@ -2576,14 +2551,14 @@ export const CompanyApiFp = function(configuration?: Configuration) {
2576
2551
  *
2577
2552
  * @summary Get Companies
2578
2553
  * @param {number} [page]
2579
- * @param {number} [limit]
2554
+ * @param {number} [elements]
2580
2555
  * @param {string} [authorization]
2581
2556
  * @param {string} [sessionId]
2582
2557
  * @param {*} [options] Override http request option.
2583
2558
  * @throws {RequiredError}
2584
2559
  */
2585
- async getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>> {
2586
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options);
2560
+ async getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>> {
2561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options);
2587
2562
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2588
2563
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompaniesV1CompanyListGet']?.[localVarOperationServerIndex]?.url;
2589
2564
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2622,14 +2597,14 @@ export const CompanyApiFp = function(configuration?: Configuration) {
2622
2597
  *
2623
2598
  * @summary Get Policies
2624
2599
  * @param {number} [page]
2625
- * @param {number} [limit]
2600
+ * @param {number} [elements]
2626
2601
  * @param {string} [authorization]
2627
2602
  * @param {string} [sessionId]
2628
2603
  * @param {*} [options] Override http request option.
2629
2604
  * @throws {RequiredError}
2630
2605
  */
2631
- async getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>> {
2632
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options);
2606
+ async getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>> {
2607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options);
2633
2608
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2634
2609
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.getPoliciesV1CompanyPoliciesGet']?.[localVarOperationServerIndex]?.url;
2635
2610
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2675,14 +2650,14 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
2675
2650
  *
2676
2651
  * @summary Get Companies
2677
2652
  * @param {number} [page]
2678
- * @param {number} [limit]
2653
+ * @param {number} [elements]
2679
2654
  * @param {string} [authorization]
2680
2655
  * @param {string} [sessionId]
2681
2656
  * @param {*} [options] Override http request option.
2682
2657
  * @throws {RequiredError}
2683
2658
  */
2684
- getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>> {
2685
- return localVarFp.getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
2659
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>> {
2660
+ return localVarFp.getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
2686
2661
  },
2687
2662
  /**
2688
2663
  *
@@ -2712,14 +2687,14 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
2712
2687
  *
2713
2688
  * @summary Get Policies
2714
2689
  * @param {number} [page]
2715
- * @param {number} [limit]
2690
+ * @param {number} [elements]
2716
2691
  * @param {string} [authorization]
2717
2692
  * @param {string} [sessionId]
2718
2693
  * @param {*} [options] Override http request option.
2719
2694
  * @throws {RequiredError}
2720
2695
  */
2721
- getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>> {
2722
- return localVarFp.getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
2696
+ getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>> {
2697
+ return localVarFp.getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
2723
2698
  },
2724
2699
  /**
2725
2700
  *
@@ -2761,15 +2736,15 @@ export class CompanyApi extends BaseAPI {
2761
2736
  *
2762
2737
  * @summary Get Companies
2763
2738
  * @param {number} [page]
2764
- * @param {number} [limit]
2739
+ * @param {number} [elements]
2765
2740
  * @param {string} [authorization]
2766
2741
  * @param {string} [sessionId]
2767
2742
  * @param {*} [options] Override http request option.
2768
2743
  * @throws {RequiredError}
2769
2744
  * @memberof CompanyApi
2770
2745
  */
2771
- public getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
2772
- return CompanyApiFp(this.configuration).getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2746
+ public getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
2747
+ return CompanyApiFp(this.configuration).getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2773
2748
  }
2774
2749
 
2775
2750
  /**
@@ -2804,15 +2779,15 @@ export class CompanyApi extends BaseAPI {
2804
2779
  *
2805
2780
  * @summary Get Policies
2806
2781
  * @param {number} [page]
2807
- * @param {number} [limit]
2782
+ * @param {number} [elements]
2808
2783
  * @param {string} [authorization]
2809
2784
  * @param {string} [sessionId]
2810
2785
  * @param {*} [options] Override http request option.
2811
2786
  * @throws {RequiredError}
2812
2787
  * @memberof CompanyApi
2813
2788
  */
2814
- public getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
2815
- return CompanyApiFp(this.configuration).getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2789
+ public getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
2790
+ return CompanyApiFp(this.configuration).getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2816
2791
  }
2817
2792
 
2818
2793
  /**
@@ -3034,19 +3009,24 @@ export class ControlsApi extends BaseAPI {
3034
3009
 
3035
3010
 
3036
3011
  /**
3037
- * DefaultApi - axios parameter creator
3012
+ * EvidenceApi - axios parameter creator
3038
3013
  * @export
3039
3014
  */
3040
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
3015
+ export const EvidenceApiAxiosParamCreator = function (configuration?: Configuration) {
3041
3016
  return {
3042
3017
  /**
3043
3018
  *
3044
- * @summary Get Db Health
3019
+ * @summary Delete Evidence
3020
+ * @param {string} evidenceId
3021
+ * @param {string} [authorization]
3022
+ * @param {string} [sessionId]
3045
3023
  * @param {*} [options] Override http request option.
3046
3024
  * @throws {RequiredError}
3047
3025
  */
3048
- getDbHealthHealthDbGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3049
- const localVarPath = `/health/db`;
3026
+ deleteEvidenceV1EvidenceDeleteDelete: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3027
+ // verify required parameter 'evidenceId' is not null or undefined
3028
+ assertParamExists('deleteEvidenceV1EvidenceDeleteDelete', 'evidenceId', evidenceId)
3029
+ const localVarPath = `/v1/evidence/delete`;
3050
3030
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3051
3031
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3052
3032
  let baseOptions;
@@ -3054,15 +3034,26 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3054
3034
  baseOptions = configuration.baseOptions;
3055
3035
  }
3056
3036
 
3057
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3037
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3058
3038
  const localVarHeaderParameter = {} as any;
3059
3039
  const localVarQueryParameter = {} as any;
3040
+ const localVarFormParams = new URLSearchParams();
3060
3041
 
3061
3042
 
3043
+ if (evidenceId !== undefined) {
3044
+ localVarFormParams.set('evidence_id', evidenceId as any);
3045
+ }
3046
+
3062
3047
 
3048
+ localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3049
+
3050
+ if (authorization != null) {
3051
+ localVarHeaderParameter['Authorization'] = String(authorization);
3052
+ }
3063
3053
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3064
3054
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3065
3055
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3056
+ localVarRequestOptions.data = localVarFormParams.toString();
3066
3057
 
3067
3058
  return {
3068
3059
  url: toPathString(localVarUrlObj),
@@ -3071,12 +3062,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3071
3062
  },
3072
3063
  /**
3073
3064
  *
3074
- * @summary Get Health
3065
+ * @summary Get Evidence Files
3066
+ * @param {string} evidenceId
3067
+ * @param {string} [authorization]
3068
+ * @param {string} [sessionId]
3075
3069
  * @param {*} [options] Override http request option.
3076
3070
  * @throws {RequiredError}
3077
3071
  */
3078
- getHealthHealthGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3079
- const localVarPath = `/health`;
3072
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3073
+ // verify required parameter 'evidenceId' is not null or undefined
3074
+ assertParamExists('getEvidenceFilesV1EvidenceFileEvidenceIdGet', 'evidenceId', evidenceId)
3075
+ const localVarPath = `/v1/evidence/file/{evidence_id}`
3076
+ .replace(`{${"evidence_id"}}`, encodeURIComponent(String(evidenceId)));
3080
3077
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3081
3078
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3082
3079
  let baseOptions;
@@ -3090,6 +3087,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3090
3087
 
3091
3088
 
3092
3089
 
3090
+ if (authorization != null) {
3091
+ localVarHeaderParameter['Authorization'] = String(authorization);
3092
+ }
3093
3093
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3094
3094
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3095
3095
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3101,12 +3101,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3101
3101
  },
3102
3102
  /**
3103
3103
  *
3104
- * @summary Get Listmonk Health
3104
+ * @summary List Company Evidence
3105
+ * @param {string} companyId
3106
+ * @param {string} [authorization]
3107
+ * @param {string} [sessionId]
3105
3108
  * @param {*} [options] Override http request option.
3106
3109
  * @throws {RequiredError}
3107
3110
  */
3108
- getListmonkHealthHealthListmonkGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3109
- const localVarPath = `/health/listmonk`;
3111
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3112
+ // verify required parameter 'companyId' is not null or undefined
3113
+ assertParamExists('listCompanyEvidenceV1EvidenceCompanyCompanyIdGet', 'companyId', companyId)
3114
+ const localVarPath = `/v1/evidence/company/{company_id}`
3115
+ .replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
3110
3116
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3111
3117
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3112
3118
  let baseOptions;
@@ -3120,6 +3126,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3120
3126
 
3121
3127
 
3122
3128
 
3129
+ if (authorization != null) {
3130
+ localVarHeaderParameter['Authorization'] = String(authorization);
3131
+ }
3123
3132
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3124
3133
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3125
3134
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3131,12 +3140,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3131
3140
  },
3132
3141
  /**
3133
3142
  *
3134
- * @summary Get Redis Health
3143
+ * @summary Update Evidence
3144
+ * @param {string} evidenceId
3145
+ * @param {string} text
3146
+ * @param {string} [authorization]
3147
+ * @param {string} [sessionId]
3135
3148
  * @param {*} [options] Override http request option.
3136
3149
  * @throws {RequiredError}
3137
3150
  */
3138
- getRedisHealthHealthRedisGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3139
- const localVarPath = `/health/redis`;
3151
+ updateEvidenceV1EvidenceUpdatePut: async (evidenceId: string, text: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3152
+ // verify required parameter 'evidenceId' is not null or undefined
3153
+ assertParamExists('updateEvidenceV1EvidenceUpdatePut', 'evidenceId', evidenceId)
3154
+ // verify required parameter 'text' is not null or undefined
3155
+ assertParamExists('updateEvidenceV1EvidenceUpdatePut', 'text', text)
3156
+ const localVarPath = `/v1/evidence/update`;
3140
3157
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3141
3158
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3142
3159
  let baseOptions;
@@ -3144,15 +3161,97 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3144
3161
  baseOptions = configuration.baseOptions;
3145
3162
  }
3146
3163
 
3147
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3164
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3165
+ const localVarHeaderParameter = {} as any;
3166
+ const localVarQueryParameter = {} as any;
3167
+ const localVarFormParams = new URLSearchParams();
3168
+
3169
+
3170
+ if (evidenceId !== undefined) {
3171
+ localVarFormParams.set('evidence_id', evidenceId as any);
3172
+ }
3173
+
3174
+ if (text !== undefined) {
3175
+ localVarFormParams.set('text', text as any);
3176
+ }
3177
+
3178
+
3179
+ localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3180
+
3181
+ if (authorization != null) {
3182
+ localVarHeaderParameter['Authorization'] = String(authorization);
3183
+ }
3184
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3185
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3186
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3187
+ localVarRequestOptions.data = localVarFormParams.toString();
3188
+
3189
+ return {
3190
+ url: toPathString(localVarUrlObj),
3191
+ options: localVarRequestOptions,
3192
+ };
3193
+ },
3194
+ /**
3195
+ *
3196
+ * @summary Upload Evidence
3197
+ * @param {string} companyId
3198
+ * @param {string} controlId
3199
+ * @param {File | null} file
3200
+ * @param {string | null} text
3201
+ * @param {string} [authorization]
3202
+ * @param {string} [sessionId]
3203
+ * @param {*} [options] Override http request option.
3204
+ * @throws {RequiredError}
3205
+ */
3206
+ uploadEvidenceV1EvidenceUploadPost: async (companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3207
+ // verify required parameter 'companyId' is not null or undefined
3208
+ assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'companyId', companyId)
3209
+ // verify required parameter 'controlId' is not null or undefined
3210
+ assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'controlId', controlId)
3211
+ // verify required parameter 'file' is not null or undefined
3212
+ assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'file', file)
3213
+ // verify required parameter 'text' is not null or undefined
3214
+ assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'text', text)
3215
+ const localVarPath = `/v1/evidence/upload`;
3216
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3217
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3218
+ let baseOptions;
3219
+ if (configuration) {
3220
+ baseOptions = configuration.baseOptions;
3221
+ }
3222
+
3223
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3148
3224
  const localVarHeaderParameter = {} as any;
3149
3225
  const localVarQueryParameter = {} as any;
3226
+ const localVarFormParams = new URLSearchParams();
3150
3227
 
3151
3228
 
3229
+ if (companyId !== undefined) {
3230
+ localVarFormParams.set('company_id', companyId as any);
3231
+ }
3232
+
3233
+ if (controlId !== undefined) {
3234
+ localVarFormParams.set('control_id', controlId as any);
3235
+ }
3236
+
3237
+ if (file !== undefined) {
3238
+ localVarFormParams.set('file', file as any);
3239
+ }
3240
+
3241
+ if (text !== undefined) {
3242
+ localVarFormParams.set('text', text as any);
3243
+ }
3244
+
3152
3245
 
3246
+ localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3247
+
3248
+ if (authorization != null) {
3249
+ localVarHeaderParameter['Authorization'] = String(authorization);
3250
+ }
3153
3251
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3154
3252
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3155
3253
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3254
+ localVarRequestOptions.data = localVarFormParams.toString();
3156
3255
 
3157
3256
  return {
3158
3257
  url: toPathString(localVarUrlObj),
@@ -3163,229 +3262,266 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3163
3262
  };
3164
3263
 
3165
3264
  /**
3166
- * DefaultApi - functional programming interface
3265
+ * EvidenceApi - functional programming interface
3167
3266
  * @export
3168
3267
  */
3169
- export const DefaultApiFp = function(configuration?: Configuration) {
3170
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
3268
+ export const EvidenceApiFp = function(configuration?: Configuration) {
3269
+ const localVarAxiosParamCreator = EvidenceApiAxiosParamCreator(configuration)
3171
3270
  return {
3172
3271
  /**
3173
3272
  *
3174
- * @summary Get Db Health
3273
+ * @summary Delete Evidence
3274
+ * @param {string} evidenceId
3275
+ * @param {string} [authorization]
3276
+ * @param {string} [sessionId]
3175
3277
  * @param {*} [options] Override http request option.
3176
3278
  * @throws {RequiredError}
3177
3279
  */
3178
- async getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3179
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDbHealthHealthDbGet(options);
3280
+ async deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3281
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options);
3180
3282
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3181
- const localVarOperationServerBasePath = operationServerMap['DefaultApi.getDbHealthHealthDbGet']?.[localVarOperationServerIndex]?.url;
3283
+ const localVarOperationServerBasePath = operationServerMap['EvidenceApi.deleteEvidenceV1EvidenceDeleteDelete']?.[localVarOperationServerIndex]?.url;
3182
3284
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3183
3285
  },
3184
3286
  /**
3185
3287
  *
3186
- * @summary Get Health
3288
+ * @summary Get Evidence Files
3289
+ * @param {string} evidenceId
3290
+ * @param {string} [authorization]
3291
+ * @param {string} [sessionId]
3187
3292
  * @param {*} [options] Override http request option.
3188
3293
  * @throws {RequiredError}
3189
3294
  */
3190
- async getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3191
- const localVarAxiosArgs = await localVarAxiosParamCreator.getHealthHealthGet(options);
3295
+ async getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileDownload>>> {
3296
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options);
3192
3297
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3193
- const localVarOperationServerBasePath = operationServerMap['DefaultApi.getHealthHealthGet']?.[localVarOperationServerIndex]?.url;
3298
+ const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceFilesV1EvidenceFileEvidenceIdGet']?.[localVarOperationServerIndex]?.url;
3194
3299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3195
3300
  },
3196
3301
  /**
3197
3302
  *
3198
- * @summary Get Listmonk Health
3303
+ * @summary List Company Evidence
3304
+ * @param {string} companyId
3305
+ * @param {string} [authorization]
3306
+ * @param {string} [sessionId]
3199
3307
  * @param {*} [options] Override http request option.
3200
3308
  * @throws {RequiredError}
3201
3309
  */
3202
- async getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3203
- const localVarAxiosArgs = await localVarAxiosParamCreator.getListmonkHealthHealthListmonkGet(options);
3310
+ async listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EvidenceBase>>> {
3311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options);
3204
3312
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3205
- const localVarOperationServerBasePath = operationServerMap['DefaultApi.getListmonkHealthHealthListmonkGet']?.[localVarOperationServerIndex]?.url;
3313
+ const localVarOperationServerBasePath = operationServerMap['EvidenceApi.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet']?.[localVarOperationServerIndex]?.url;
3206
3314
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3207
3315
  },
3208
3316
  /**
3209
3317
  *
3210
- * @summary Get Redis Health
3318
+ * @summary Update Evidence
3319
+ * @param {string} evidenceId
3320
+ * @param {string} text
3321
+ * @param {string} [authorization]
3322
+ * @param {string} [sessionId]
3211
3323
  * @param {*} [options] Override http request option.
3212
3324
  * @throws {RequiredError}
3213
3325
  */
3214
- async getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3215
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisHealthHealthRedisGet(options);
3326
+ async updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>> {
3327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options);
3328
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3329
+ const localVarOperationServerBasePath = operationServerMap['EvidenceApi.updateEvidenceV1EvidenceUpdatePut']?.[localVarOperationServerIndex]?.url;
3330
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3331
+ },
3332
+ /**
3333
+ *
3334
+ * @summary Upload Evidence
3335
+ * @param {string} companyId
3336
+ * @param {string} controlId
3337
+ * @param {File | null} file
3338
+ * @param {string | null} text
3339
+ * @param {string} [authorization]
3340
+ * @param {string} [sessionId]
3341
+ * @param {*} [options] Override http request option.
3342
+ * @throws {RequiredError}
3343
+ */
3344
+ async uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>> {
3345
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options);
3216
3346
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3217
- const localVarOperationServerBasePath = operationServerMap['DefaultApi.getRedisHealthHealthRedisGet']?.[localVarOperationServerIndex]?.url;
3347
+ const localVarOperationServerBasePath = operationServerMap['EvidenceApi.uploadEvidenceV1EvidenceUploadPost']?.[localVarOperationServerIndex]?.url;
3218
3348
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3219
3349
  },
3220
3350
  }
3221
3351
  };
3222
3352
 
3223
3353
  /**
3224
- * DefaultApi - factory interface
3354
+ * EvidenceApi - factory interface
3225
3355
  * @export
3226
3356
  */
3227
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3228
- const localVarFp = DefaultApiFp(configuration)
3357
+ export const EvidenceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3358
+ const localVarFp = EvidenceApiFp(configuration)
3229
3359
  return {
3230
3360
  /**
3231
3361
  *
3232
- * @summary Get Db Health
3362
+ * @summary Delete Evidence
3363
+ * @param {string} evidenceId
3364
+ * @param {string} [authorization]
3365
+ * @param {string} [sessionId]
3233
3366
  * @param {*} [options] Override http request option.
3234
3367
  * @throws {RequiredError}
3235
3368
  */
3236
- getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3237
- return localVarFp.getDbHealthHealthDbGet(options).then((request) => request(axios, basePath));
3369
+ deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3370
+ return localVarFp.deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3238
3371
  },
3239
3372
  /**
3240
3373
  *
3241
- * @summary Get Health
3374
+ * @summary Get Evidence Files
3375
+ * @param {string} evidenceId
3376
+ * @param {string} [authorization]
3377
+ * @param {string} [sessionId]
3242
3378
  * @param {*} [options] Override http request option.
3243
3379
  * @throws {RequiredError}
3244
3380
  */
3245
- getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3246
- return localVarFp.getHealthHealthGet(options).then((request) => request(axios, basePath));
3247
- },
3381
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileDownload>> {
3382
+ return localVarFp.getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3383
+ },
3248
3384
  /**
3249
3385
  *
3250
- * @summary Get Listmonk Health
3386
+ * @summary List Company Evidence
3387
+ * @param {string} companyId
3388
+ * @param {string} [authorization]
3389
+ * @param {string} [sessionId]
3251
3390
  * @param {*} [options] Override http request option.
3252
3391
  * @throws {RequiredError}
3253
3392
  */
3254
- getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3255
- return localVarFp.getListmonkHealthHealthListmonkGet(options).then((request) => request(axios, basePath));
3393
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EvidenceBase>> {
3394
+ return localVarFp.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3256
3395
  },
3257
3396
  /**
3258
3397
  *
3259
- * @summary Get Redis Health
3398
+ * @summary Update Evidence
3399
+ * @param {string} evidenceId
3400
+ * @param {string} text
3401
+ * @param {string} [authorization]
3402
+ * @param {string} [sessionId]
3260
3403
  * @param {*} [options] Override http request option.
3261
3404
  * @throws {RequiredError}
3262
3405
  */
3263
- getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3264
- return localVarFp.getRedisHealthHealthRedisGet(options).then((request) => request(axios, basePath));
3406
+ updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase> {
3407
+ return localVarFp.updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options).then((request) => request(axios, basePath));
3408
+ },
3409
+ /**
3410
+ *
3411
+ * @summary Upload Evidence
3412
+ * @param {string} companyId
3413
+ * @param {string} controlId
3414
+ * @param {File | null} file
3415
+ * @param {string | null} text
3416
+ * @param {string} [authorization]
3417
+ * @param {string} [sessionId]
3418
+ * @param {*} [options] Override http request option.
3419
+ * @throws {RequiredError}
3420
+ */
3421
+ uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase> {
3422
+ return localVarFp.uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options).then((request) => request(axios, basePath));
3265
3423
  },
3266
3424
  };
3267
3425
  };
3268
3426
 
3269
3427
  /**
3270
- * DefaultApi - object-oriented interface
3428
+ * EvidenceApi - object-oriented interface
3271
3429
  * @export
3272
- * @class DefaultApi
3430
+ * @class EvidenceApi
3273
3431
  * @extends {BaseAPI}
3274
3432
  */
3275
- export class DefaultApi extends BaseAPI {
3433
+ export class EvidenceApi extends BaseAPI {
3276
3434
  /**
3277
3435
  *
3278
- * @summary Get Db Health
3436
+ * @summary Delete Evidence
3437
+ * @param {string} evidenceId
3438
+ * @param {string} [authorization]
3439
+ * @param {string} [sessionId]
3279
3440
  * @param {*} [options] Override http request option.
3280
3441
  * @throws {RequiredError}
3281
- * @memberof DefaultApi
3442
+ * @memberof EvidenceApi
3282
3443
  */
3283
- public getDbHealthHealthDbGet(options?: RawAxiosRequestConfig) {
3284
- return DefaultApiFp(this.configuration).getDbHealthHealthDbGet(options).then((request) => request(this.axios, this.basePath));
3444
+ public deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3445
+ return EvidenceApiFp(this.configuration).deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3285
3446
  }
3286
3447
 
3287
3448
  /**
3288
3449
  *
3289
- * @summary Get Health
3450
+ * @summary Get Evidence Files
3451
+ * @param {string} evidenceId
3452
+ * @param {string} [authorization]
3453
+ * @param {string} [sessionId]
3290
3454
  * @param {*} [options] Override http request option.
3291
3455
  * @throws {RequiredError}
3292
- * @memberof DefaultApi
3456
+ * @memberof EvidenceApi
3293
3457
  */
3294
- public getHealthHealthGet(options?: RawAxiosRequestConfig) {
3295
- return DefaultApiFp(this.configuration).getHealthHealthGet(options).then((request) => request(this.axios, this.basePath));
3458
+ public getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3459
+ return EvidenceApiFp(this.configuration).getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3296
3460
  }
3297
3461
 
3298
3462
  /**
3299
3463
  *
3300
- * @summary Get Listmonk Health
3464
+ * @summary List Company Evidence
3465
+ * @param {string} companyId
3466
+ * @param {string} [authorization]
3467
+ * @param {string} [sessionId]
3301
3468
  * @param {*} [options] Override http request option.
3302
3469
  * @throws {RequiredError}
3303
- * @memberof DefaultApi
3470
+ * @memberof EvidenceApi
3304
3471
  */
3305
- public getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig) {
3306
- return DefaultApiFp(this.configuration).getListmonkHealthHealthListmonkGet(options).then((request) => request(this.axios, this.basePath));
3472
+ public listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3473
+ return EvidenceApiFp(this.configuration).listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3307
3474
  }
3308
3475
 
3309
3476
  /**
3310
3477
  *
3311
- * @summary Get Redis Health
3478
+ * @summary Update Evidence
3479
+ * @param {string} evidenceId
3480
+ * @param {string} text
3481
+ * @param {string} [authorization]
3482
+ * @param {string} [sessionId]
3312
3483
  * @param {*} [options] Override http request option.
3313
3484
  * @throws {RequiredError}
3314
- * @memberof DefaultApi
3485
+ * @memberof EvidenceApi
3315
3486
  */
3316
- public getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig) {
3317
- return DefaultApiFp(this.configuration).getRedisHealthHealthRedisGet(options).then((request) => request(this.axios, this.basePath));
3487
+ public updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3488
+ return EvidenceApiFp(this.configuration).updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3489
+ }
3490
+
3491
+ /**
3492
+ *
3493
+ * @summary Upload Evidence
3494
+ * @param {string} companyId
3495
+ * @param {string} controlId
3496
+ * @param {File | null} file
3497
+ * @param {string | null} text
3498
+ * @param {string} [authorization]
3499
+ * @param {string} [sessionId]
3500
+ * @param {*} [options] Override http request option.
3501
+ * @throws {RequiredError}
3502
+ * @memberof EvidenceApi
3503
+ */
3504
+ public uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3505
+ return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3318
3506
  }
3319
3507
  }
3320
3508
 
3321
3509
 
3322
3510
 
3323
3511
  /**
3324
- * EvidenceApi - axios parameter creator
3512
+ * HealthApi - axios parameter creator
3325
3513
  * @export
3326
3514
  */
3327
- export const EvidenceApiAxiosParamCreator = function (configuration?: Configuration) {
3515
+ export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
3328
3516
  return {
3329
3517
  /**
3330
3518
  *
3331
- * @summary Delete Evidence
3332
- * @param {string} evidenceId
3333
- * @param {string} [authorization]
3334
- * @param {string} [sessionId]
3335
- * @param {*} [options] Override http request option.
3336
- * @throws {RequiredError}
3337
- */
3338
- deleteEvidenceV1EvidenceDeleteDelete: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3339
- // verify required parameter 'evidenceId' is not null or undefined
3340
- assertParamExists('deleteEvidenceV1EvidenceDeleteDelete', 'evidenceId', evidenceId)
3341
- const localVarPath = `/v1/evidence/delete`;
3342
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3343
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3344
- let baseOptions;
3345
- if (configuration) {
3346
- baseOptions = configuration.baseOptions;
3347
- }
3348
-
3349
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3350
- const localVarHeaderParameter = {} as any;
3351
- const localVarQueryParameter = {} as any;
3352
- const localVarFormParams = new URLSearchParams();
3353
-
3354
-
3355
- if (evidenceId !== undefined) {
3356
- localVarFormParams.set('evidence_id', evidenceId as any);
3357
- }
3358
-
3359
-
3360
- localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3361
-
3362
- if (authorization != null) {
3363
- localVarHeaderParameter['Authorization'] = String(authorization);
3364
- }
3365
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3366
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3367
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3368
- localVarRequestOptions.data = localVarFormParams.toString();
3369
-
3370
- return {
3371
- url: toPathString(localVarUrlObj),
3372
- options: localVarRequestOptions,
3373
- };
3374
- },
3375
- /**
3376
- *
3377
- * @summary Get Evidence Files
3378
- * @param {string} evidenceId
3379
- * @param {string} [authorization]
3380
- * @param {string} [sessionId]
3519
+ * @summary Get Db Health
3381
3520
  * @param {*} [options] Override http request option.
3382
3521
  * @throws {RequiredError}
3383
3522
  */
3384
- getEvidenceFilesV1EvidenceFileEvidenceIdGet: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3385
- // verify required parameter 'evidenceId' is not null or undefined
3386
- assertParamExists('getEvidenceFilesV1EvidenceFileEvidenceIdGet', 'evidenceId', evidenceId)
3387
- const localVarPath = `/v1/evidence/file/{evidence_id}`
3388
- .replace(`{${"evidence_id"}}`, encodeURIComponent(String(evidenceId)));
3523
+ getDbHealthHealthDbGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3524
+ const localVarPath = `/health/db`;
3389
3525
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3390
3526
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3391
3527
  let baseOptions;
@@ -3399,9 +3535,6 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3399
3535
 
3400
3536
 
3401
3537
 
3402
- if (authorization != null) {
3403
- localVarHeaderParameter['Authorization'] = String(authorization);
3404
- }
3405
3538
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3406
3539
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3407
3540
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3413,18 +3546,12 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3413
3546
  },
3414
3547
  /**
3415
3548
  *
3416
- * @summary List Company Evidence
3417
- * @param {string} companyId
3418
- * @param {string} [authorization]
3419
- * @param {string} [sessionId]
3549
+ * @summary Get Health
3420
3550
  * @param {*} [options] Override http request option.
3421
3551
  * @throws {RequiredError}
3422
3552
  */
3423
- listCompanyEvidenceV1EvidenceCompanyCompanyIdGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3424
- // verify required parameter 'companyId' is not null or undefined
3425
- assertParamExists('listCompanyEvidenceV1EvidenceCompanyCompanyIdGet', 'companyId', companyId)
3426
- const localVarPath = `/v1/evidence/company/{company_id}`
3427
- .replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
3553
+ getHealthHealthGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3554
+ const localVarPath = `/health`;
3428
3555
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3429
3556
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3430
3557
  let baseOptions;
@@ -3438,9 +3565,6 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3438
3565
 
3439
3566
 
3440
3567
 
3441
- if (authorization != null) {
3442
- localVarHeaderParameter['Authorization'] = String(authorization);
3443
- }
3444
3568
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3445
3569
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3446
3570
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3452,20 +3576,12 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3452
3576
  },
3453
3577
  /**
3454
3578
  *
3455
- * @summary Update Evidence
3456
- * @param {string} evidenceId
3457
- * @param {string} text
3458
- * @param {string} [authorization]
3459
- * @param {string} [sessionId]
3579
+ * @summary Get Listmonk Health
3460
3580
  * @param {*} [options] Override http request option.
3461
3581
  * @throws {RequiredError}
3462
3582
  */
3463
- updateEvidenceV1EvidenceUpdatePut: async (evidenceId: string, text: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3464
- // verify required parameter 'evidenceId' is not null or undefined
3465
- assertParamExists('updateEvidenceV1EvidenceUpdatePut', 'evidenceId', evidenceId)
3466
- // verify required parameter 'text' is not null or undefined
3467
- assertParamExists('updateEvidenceV1EvidenceUpdatePut', 'text', text)
3468
- const localVarPath = `/v1/evidence/update`;
3583
+ getListmonkHealthHealthListmonkGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3584
+ const localVarPath = `/health/listmonk`;
3469
3585
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3470
3586
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3471
3587
  let baseOptions;
@@ -3473,30 +3589,15 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3473
3589
  baseOptions = configuration.baseOptions;
3474
3590
  }
3475
3591
 
3476
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3592
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3477
3593
  const localVarHeaderParameter = {} as any;
3478
3594
  const localVarQueryParameter = {} as any;
3479
- const localVarFormParams = new URLSearchParams();
3480
3595
 
3481
3596
 
3482
- if (evidenceId !== undefined) {
3483
- localVarFormParams.set('evidence_id', evidenceId as any);
3484
- }
3485
3597
 
3486
- if (text !== undefined) {
3487
- localVarFormParams.set('text', text as any);
3488
- }
3489
-
3490
-
3491
- localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3492
-
3493
- if (authorization != null) {
3494
- localVarHeaderParameter['Authorization'] = String(authorization);
3495
- }
3496
3598
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3497
3599
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3498
3600
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3499
- localVarRequestOptions.data = localVarFormParams.toString();
3500
3601
 
3501
3602
  return {
3502
3603
  url: toPathString(localVarUrlObj),
@@ -3505,26 +3606,12 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3505
3606
  },
3506
3607
  /**
3507
3608
  *
3508
- * @summary Upload Evidence
3509
- * @param {string} companyId
3510
- * @param {string} controlId
3511
- * @param {File | null} file
3512
- * @param {string | null} text
3513
- * @param {string} [authorization]
3514
- * @param {string} [sessionId]
3609
+ * @summary Get Redis Health
3515
3610
  * @param {*} [options] Override http request option.
3516
3611
  * @throws {RequiredError}
3517
3612
  */
3518
- uploadEvidenceV1EvidenceUploadPost: async (companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3519
- // verify required parameter 'companyId' is not null or undefined
3520
- assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'companyId', companyId)
3521
- // verify required parameter 'controlId' is not null or undefined
3522
- assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'controlId', controlId)
3523
- // verify required parameter 'file' is not null or undefined
3524
- assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'file', file)
3525
- // verify required parameter 'text' is not null or undefined
3526
- assertParamExists('uploadEvidenceV1EvidenceUploadPost', 'text', text)
3527
- const localVarPath = `/v1/evidence/upload`;
3613
+ getRedisHealthHealthRedisGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3614
+ const localVarPath = `/health/redis`;
3528
3615
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3529
3616
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3530
3617
  let baseOptions;
@@ -3532,38 +3619,15 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3532
3619
  baseOptions = configuration.baseOptions;
3533
3620
  }
3534
3621
 
3535
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3622
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3536
3623
  const localVarHeaderParameter = {} as any;
3537
3624
  const localVarQueryParameter = {} as any;
3538
- const localVarFormParams = new URLSearchParams();
3539
3625
 
3540
3626
 
3541
- if (companyId !== undefined) {
3542
- localVarFormParams.set('company_id', companyId as any);
3543
- }
3544
-
3545
- if (controlId !== undefined) {
3546
- localVarFormParams.set('control_id', controlId as any);
3547
- }
3548
-
3549
- if (file !== undefined) {
3550
- localVarFormParams.set('file', file as any);
3551
- }
3552
-
3553
- if (text !== undefined) {
3554
- localVarFormParams.set('text', text as any);
3555
- }
3556
-
3557
3627
 
3558
- localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
3559
-
3560
- if (authorization != null) {
3561
- localVarHeaderParameter['Authorization'] = String(authorization);
3562
- }
3563
3628
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3564
3629
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3565
3630
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3566
- localVarRequestOptions.data = localVarFormParams.toString();
3567
3631
 
3568
3632
  return {
3569
3633
  url: toPathString(localVarUrlObj),
@@ -3574,247 +3638,158 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
3574
3638
  };
3575
3639
 
3576
3640
  /**
3577
- * EvidenceApi - functional programming interface
3641
+ * HealthApi - functional programming interface
3578
3642
  * @export
3579
3643
  */
3580
- export const EvidenceApiFp = function(configuration?: Configuration) {
3581
- const localVarAxiosParamCreator = EvidenceApiAxiosParamCreator(configuration)
3644
+ export const HealthApiFp = function(configuration?: Configuration) {
3645
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
3582
3646
  return {
3583
3647
  /**
3584
3648
  *
3585
- * @summary Delete Evidence
3586
- * @param {string} evidenceId
3587
- * @param {string} [authorization]
3588
- * @param {string} [sessionId]
3589
- * @param {*} [options] Override http request option.
3590
- * @throws {RequiredError}
3591
- */
3592
- async deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3593
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options);
3594
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3595
- const localVarOperationServerBasePath = operationServerMap['EvidenceApi.deleteEvidenceV1EvidenceDeleteDelete']?.[localVarOperationServerIndex]?.url;
3596
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3597
- },
3598
- /**
3599
- *
3600
- * @summary Get Evidence Files
3601
- * @param {string} evidenceId
3602
- * @param {string} [authorization]
3603
- * @param {string} [sessionId]
3649
+ * @summary Get Db Health
3604
3650
  * @param {*} [options] Override http request option.
3605
3651
  * @throws {RequiredError}
3606
3652
  */
3607
- async getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileDownload>>> {
3608
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options);
3653
+ async getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDbHealthHealthDbGet(options);
3609
3655
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3610
- const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceFilesV1EvidenceFileEvidenceIdGet']?.[localVarOperationServerIndex]?.url;
3656
+ const localVarOperationServerBasePath = operationServerMap['HealthApi.getDbHealthHealthDbGet']?.[localVarOperationServerIndex]?.url;
3611
3657
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3612
3658
  },
3613
3659
  /**
3614
3660
  *
3615
- * @summary List Company Evidence
3616
- * @param {string} companyId
3617
- * @param {string} [authorization]
3618
- * @param {string} [sessionId]
3661
+ * @summary Get Health
3619
3662
  * @param {*} [options] Override http request option.
3620
3663
  * @throws {RequiredError}
3621
3664
  */
3622
- async listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EvidenceBase>>> {
3623
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options);
3665
+ async getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3666
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHealthHealthGet(options);
3624
3667
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3625
- const localVarOperationServerBasePath = operationServerMap['EvidenceApi.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet']?.[localVarOperationServerIndex]?.url;
3668
+ const localVarOperationServerBasePath = operationServerMap['HealthApi.getHealthHealthGet']?.[localVarOperationServerIndex]?.url;
3626
3669
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3627
3670
  },
3628
3671
  /**
3629
3672
  *
3630
- * @summary Update Evidence
3631
- * @param {string} evidenceId
3632
- * @param {string} text
3633
- * @param {string} [authorization]
3634
- * @param {string} [sessionId]
3673
+ * @summary Get Listmonk Health
3635
3674
  * @param {*} [options] Override http request option.
3636
3675
  * @throws {RequiredError}
3637
3676
  */
3638
- async updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>> {
3639
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options);
3677
+ async getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getListmonkHealthHealthListmonkGet(options);
3640
3679
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3641
- const localVarOperationServerBasePath = operationServerMap['EvidenceApi.updateEvidenceV1EvidenceUpdatePut']?.[localVarOperationServerIndex]?.url;
3680
+ const localVarOperationServerBasePath = operationServerMap['HealthApi.getListmonkHealthHealthListmonkGet']?.[localVarOperationServerIndex]?.url;
3642
3681
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3643
3682
  },
3644
3683
  /**
3645
3684
  *
3646
- * @summary Upload Evidence
3647
- * @param {string} companyId
3648
- * @param {string} controlId
3649
- * @param {File | null} file
3650
- * @param {string | null} text
3651
- * @param {string} [authorization]
3652
- * @param {string} [sessionId]
3685
+ * @summary Get Redis Health
3653
3686
  * @param {*} [options] Override http request option.
3654
3687
  * @throws {RequiredError}
3655
3688
  */
3656
- async uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>> {
3657
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options);
3689
+ async getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
3690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisHealthHealthRedisGet(options);
3658
3691
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3659
- const localVarOperationServerBasePath = operationServerMap['EvidenceApi.uploadEvidenceV1EvidenceUploadPost']?.[localVarOperationServerIndex]?.url;
3692
+ const localVarOperationServerBasePath = operationServerMap['HealthApi.getRedisHealthHealthRedisGet']?.[localVarOperationServerIndex]?.url;
3660
3693
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3661
3694
  },
3662
3695
  }
3663
3696
  };
3664
3697
 
3665
3698
  /**
3666
- * EvidenceApi - factory interface
3699
+ * HealthApi - factory interface
3667
3700
  * @export
3668
3701
  */
3669
- export const EvidenceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3670
- const localVarFp = EvidenceApiFp(configuration)
3702
+ export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3703
+ const localVarFp = HealthApiFp(configuration)
3671
3704
  return {
3672
3705
  /**
3673
3706
  *
3674
- * @summary Delete Evidence
3675
- * @param {string} evidenceId
3676
- * @param {string} [authorization]
3677
- * @param {string} [sessionId]
3678
- * @param {*} [options] Override http request option.
3679
- * @throws {RequiredError}
3680
- */
3681
- deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3682
- return localVarFp.deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3683
- },
3684
- /**
3685
- *
3686
- * @summary Get Evidence Files
3687
- * @param {string} evidenceId
3688
- * @param {string} [authorization]
3689
- * @param {string} [sessionId]
3707
+ * @summary Get Db Health
3690
3708
  * @param {*} [options] Override http request option.
3691
3709
  * @throws {RequiredError}
3692
3710
  */
3693
- getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileDownload>> {
3694
- return localVarFp.getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3711
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3712
+ return localVarFp.getDbHealthHealthDbGet(options).then((request) => request(axios, basePath));
3695
3713
  },
3696
3714
  /**
3697
3715
  *
3698
- * @summary List Company Evidence
3699
- * @param {string} companyId
3700
- * @param {string} [authorization]
3701
- * @param {string} [sessionId]
3716
+ * @summary Get Health
3702
3717
  * @param {*} [options] Override http request option.
3703
3718
  * @throws {RequiredError}
3704
3719
  */
3705
- listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EvidenceBase>> {
3706
- return localVarFp.listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3720
+ getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3721
+ return localVarFp.getHealthHealthGet(options).then((request) => request(axios, basePath));
3707
3722
  },
3708
3723
  /**
3709
3724
  *
3710
- * @summary Update Evidence
3711
- * @param {string} evidenceId
3712
- * @param {string} text
3713
- * @param {string} [authorization]
3714
- * @param {string} [sessionId]
3725
+ * @summary Get Listmonk Health
3715
3726
  * @param {*} [options] Override http request option.
3716
3727
  * @throws {RequiredError}
3717
3728
  */
3718
- updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase> {
3719
- return localVarFp.updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options).then((request) => request(axios, basePath));
3729
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3730
+ return localVarFp.getListmonkHealthHealthListmonkGet(options).then((request) => request(axios, basePath));
3720
3731
  },
3721
3732
  /**
3722
3733
  *
3723
- * @summary Upload Evidence
3724
- * @param {string} companyId
3725
- * @param {string} controlId
3726
- * @param {File | null} file
3727
- * @param {string | null} text
3728
- * @param {string} [authorization]
3729
- * @param {string} [sessionId]
3734
+ * @summary Get Redis Health
3730
3735
  * @param {*} [options] Override http request option.
3731
3736
  * @throws {RequiredError}
3732
3737
  */
3733
- uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase> {
3734
- return localVarFp.uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options).then((request) => request(axios, basePath));
3738
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any> {
3739
+ return localVarFp.getRedisHealthHealthRedisGet(options).then((request) => request(axios, basePath));
3735
3740
  },
3736
3741
  };
3737
3742
  };
3738
3743
 
3739
3744
  /**
3740
- * EvidenceApi - object-oriented interface
3745
+ * HealthApi - object-oriented interface
3741
3746
  * @export
3742
- * @class EvidenceApi
3747
+ * @class HealthApi
3743
3748
  * @extends {BaseAPI}
3744
3749
  */
3745
- export class EvidenceApi extends BaseAPI {
3750
+ export class HealthApi extends BaseAPI {
3746
3751
  /**
3747
3752
  *
3748
- * @summary Delete Evidence
3749
- * @param {string} evidenceId
3750
- * @param {string} [authorization]
3751
- * @param {string} [sessionId]
3752
- * @param {*} [options] Override http request option.
3753
- * @throws {RequiredError}
3754
- * @memberof EvidenceApi
3755
- */
3756
- public deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3757
- return EvidenceApiFp(this.configuration).deleteEvidenceV1EvidenceDeleteDelete(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3758
- }
3759
-
3760
- /**
3761
- *
3762
- * @summary Get Evidence Files
3763
- * @param {string} evidenceId
3764
- * @param {string} [authorization]
3765
- * @param {string} [sessionId]
3753
+ * @summary Get Db Health
3766
3754
  * @param {*} [options] Override http request option.
3767
3755
  * @throws {RequiredError}
3768
- * @memberof EvidenceApi
3756
+ * @memberof HealthApi
3769
3757
  */
3770
- public getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3771
- return EvidenceApiFp(this.configuration).getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3758
+ public getDbHealthHealthDbGet(options?: RawAxiosRequestConfig) {
3759
+ return HealthApiFp(this.configuration).getDbHealthHealthDbGet(options).then((request) => request(this.axios, this.basePath));
3772
3760
  }
3773
3761
 
3774
3762
  /**
3775
3763
  *
3776
- * @summary List Company Evidence
3777
- * @param {string} companyId
3778
- * @param {string} [authorization]
3779
- * @param {string} [sessionId]
3764
+ * @summary Get Health
3780
3765
  * @param {*} [options] Override http request option.
3781
3766
  * @throws {RequiredError}
3782
- * @memberof EvidenceApi
3767
+ * @memberof HealthApi
3783
3768
  */
3784
- public listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3785
- return EvidenceApiFp(this.configuration).listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3769
+ public getHealthHealthGet(options?: RawAxiosRequestConfig) {
3770
+ return HealthApiFp(this.configuration).getHealthHealthGet(options).then((request) => request(this.axios, this.basePath));
3786
3771
  }
3787
3772
 
3788
3773
  /**
3789
3774
  *
3790
- * @summary Update Evidence
3791
- * @param {string} evidenceId
3792
- * @param {string} text
3793
- * @param {string} [authorization]
3794
- * @param {string} [sessionId]
3775
+ * @summary Get Listmonk Health
3795
3776
  * @param {*} [options] Override http request option.
3796
3777
  * @throws {RequiredError}
3797
- * @memberof EvidenceApi
3778
+ * @memberof HealthApi
3798
3779
  */
3799
- public updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3800
- return EvidenceApiFp(this.configuration).updateEvidenceV1EvidenceUpdatePut(evidenceId, text, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3780
+ public getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig) {
3781
+ return HealthApiFp(this.configuration).getListmonkHealthHealthListmonkGet(options).then((request) => request(this.axios, this.basePath));
3801
3782
  }
3802
3783
 
3803
3784
  /**
3804
3785
  *
3805
- * @summary Upload Evidence
3806
- * @param {string} companyId
3807
- * @param {string} controlId
3808
- * @param {File | null} file
3809
- * @param {string | null} text
3810
- * @param {string} [authorization]
3811
- * @param {string} [sessionId]
3786
+ * @summary Get Redis Health
3812
3787
  * @param {*} [options] Override http request option.
3813
3788
  * @throws {RequiredError}
3814
- * @memberof EvidenceApi
3789
+ * @memberof HealthApi
3815
3790
  */
3816
- public uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
3817
- return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3791
+ public getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig) {
3792
+ return HealthApiFp(this.configuration).getRedisHealthHealthRedisGet(options).then((request) => request(this.axios, this.basePath));
3818
3793
  }
3819
3794
  }
3820
3795
 
@@ -3829,15 +3804,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
3829
3804
  /**
3830
3805
  *
3831
3806
  * @summary Get Checkout Session
3832
- * @param {string} userId
3833
3807
  * @param {string} companyId
3834
3808
  * @param {string} productId
3809
+ * @param {string} [authorization]
3810
+ * @param {string} [sessionId]
3835
3811
  * @param {*} [options] Override http request option.
3836
3812
  * @throws {RequiredError}
3837
3813
  */
3838
- getCheckoutSessionPaymentsCheckoutGet: async (userId: string, companyId: string, productId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3839
- // verify required parameter 'userId' is not null or undefined
3840
- assertParamExists('getCheckoutSessionPaymentsCheckoutGet', 'userId', userId)
3814
+ getCheckoutSessionPaymentsCheckoutGet: async (companyId: string, productId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3841
3815
  // verify required parameter 'companyId' is not null or undefined
3842
3816
  assertParamExists('getCheckoutSessionPaymentsCheckoutGet', 'companyId', companyId)
3843
3817
  // verify required parameter 'productId' is not null or undefined
@@ -3854,10 +3828,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
3854
3828
  const localVarHeaderParameter = {} as any;
3855
3829
  const localVarQueryParameter = {} as any;
3856
3830
 
3857
- if (userId !== undefined) {
3858
- localVarQueryParameter['user_id'] = userId;
3859
- }
3860
-
3861
3831
  if (companyId !== undefined) {
3862
3832
  localVarQueryParameter['company_id'] = companyId;
3863
3833
  }
@@ -3868,6 +3838,9 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
3868
3838
 
3869
3839
 
3870
3840
 
3841
+ if (authorization != null) {
3842
+ localVarHeaderParameter['Authorization'] = String(authorization);
3843
+ }
3871
3844
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3872
3845
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3873
3846
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3955,14 +3928,15 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
3955
3928
  /**
3956
3929
  *
3957
3930
  * @summary Get Checkout Session
3958
- * @param {string} userId
3959
3931
  * @param {string} companyId
3960
3932
  * @param {string} productId
3933
+ * @param {string} [authorization]
3934
+ * @param {string} [sessionId]
3961
3935
  * @param {*} [options] Override http request option.
3962
3936
  * @throws {RequiredError}
3963
3937
  */
3964
- async getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>> {
3965
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options);
3938
+ async getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckoutSessionResponse>> {
3939
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options);
3966
3940
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3967
3941
  const localVarOperationServerBasePath = operationServerMap['PaymentsApi.getCheckoutSessionPaymentsCheckoutGet']?.[localVarOperationServerIndex]?.url;
3968
3942
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4006,14 +3980,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
4006
3980
  /**
4007
3981
  *
4008
3982
  * @summary Get Checkout Session
4009
- * @param {string} userId
4010
3983
  * @param {string} companyId
4011
3984
  * @param {string} productId
3985
+ * @param {string} [authorization]
3986
+ * @param {string} [sessionId]
4012
3987
  * @param {*} [options] Override http request option.
4013
3988
  * @throws {RequiredError}
4014
3989
  */
4015
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet> {
4016
- return localVarFp.getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options).then((request) => request(axios, basePath));
3990
+ getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CheckoutSessionResponse> {
3991
+ return localVarFp.getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options).then((request) => request(axios, basePath));
4017
3992
  },
4018
3993
  /**
4019
3994
  *
@@ -4048,15 +4023,16 @@ export class PaymentsApi extends BaseAPI {
4048
4023
  /**
4049
4024
  *
4050
4025
  * @summary Get Checkout Session
4051
- * @param {string} userId
4052
4026
  * @param {string} companyId
4053
4027
  * @param {string} productId
4028
+ * @param {string} [authorization]
4029
+ * @param {string} [sessionId]
4054
4030
  * @param {*} [options] Override http request option.
4055
4031
  * @throws {RequiredError}
4056
4032
  * @memberof PaymentsApi
4057
4033
  */
4058
- public getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig) {
4059
- return PaymentsApiFp(this.configuration).getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options).then((request) => request(this.axios, this.basePath));
4034
+ public getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
4035
+ return PaymentsApiFp(this.configuration).getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4060
4036
  }
4061
4037
 
4062
4038
  /**
@@ -4176,14 +4152,14 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
4176
4152
  *
4177
4153
  * @summary Get Company Policies
4178
4154
  * @param {string} companyId
4179
- * @param {number} [skip] Number of records to skip for pagination
4180
- * @param {number} [limit] Maximum number of records to return
4155
+ * @param {number} [page]
4156
+ * @param {number} [elements]
4181
4157
  * @param {string} [authorization]
4182
4158
  * @param {string} [sessionId]
4183
4159
  * @param {*} [options] Override http request option.
4184
4160
  * @throws {RequiredError}
4185
4161
  */
4186
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: async (companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4162
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4187
4163
  // verify required parameter 'companyId' is not null or undefined
4188
4164
  assertParamExists('getCompanyPoliciesV1PoliciesCompanyCompanyIdGet', 'companyId', companyId)
4189
4165
  const localVarPath = `/v1/policies/company/{company_id}`
@@ -4199,12 +4175,12 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
4199
4175
  const localVarHeaderParameter = {} as any;
4200
4176
  const localVarQueryParameter = {} as any;
4201
4177
 
4202
- if (skip !== undefined) {
4203
- localVarQueryParameter['skip'] = skip;
4178
+ if (page !== undefined) {
4179
+ localVarQueryParameter['page'] = page;
4204
4180
  }
4205
4181
 
4206
- if (limit !== undefined) {
4207
- localVarQueryParameter['limit'] = limit;
4182
+ if (elements !== undefined) {
4183
+ localVarQueryParameter['elements'] = elements;
4208
4184
  }
4209
4185
 
4210
4186
 
@@ -4344,15 +4320,15 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
4344
4320
  *
4345
4321
  * @summary Get Company Policies
4346
4322
  * @param {string} companyId
4347
- * @param {number} [skip] Number of records to skip for pagination
4348
- * @param {number} [limit] Maximum number of records to return
4323
+ * @param {number} [page]
4324
+ * @param {number} [elements]
4349
4325
  * @param {string} [authorization]
4350
4326
  * @param {string} [sessionId]
4351
4327
  * @param {*} [options] Override http request option.
4352
4328
  * @throws {RequiredError}
4353
4329
  */
4354
- async getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>> {
4355
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options);
4330
+ async getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>> {
4331
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options);
4356
4332
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4357
4333
  const localVarOperationServerBasePath = operationServerMap['PoliciesApi.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet']?.[localVarOperationServerIndex]?.url;
4358
4334
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4424,15 +4400,15 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
4424
4400
  *
4425
4401
  * @summary Get Company Policies
4426
4402
  * @param {string} companyId
4427
- * @param {number} [skip] Number of records to skip for pagination
4428
- * @param {number} [limit] Maximum number of records to return
4403
+ * @param {number} [page]
4404
+ * @param {number} [elements]
4429
4405
  * @param {string} [authorization]
4430
4406
  * @param {string} [sessionId]
4431
4407
  * @param {*} [options] Override http request option.
4432
4408
  * @throws {RequiredError}
4433
4409
  */
4434
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>> {
4435
- return localVarFp.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
4410
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>> {
4411
+ return localVarFp.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
4436
4412
  },
4437
4413
  /**
4438
4414
  *
@@ -4499,16 +4475,16 @@ export class PoliciesApi extends BaseAPI {
4499
4475
  *
4500
4476
  * @summary Get Company Policies
4501
4477
  * @param {string} companyId
4502
- * @param {number} [skip] Number of records to skip for pagination
4503
- * @param {number} [limit] Maximum number of records to return
4478
+ * @param {number} [page]
4479
+ * @param {number} [elements]
4504
4480
  * @param {string} [authorization]
4505
4481
  * @param {string} [sessionId]
4506
4482
  * @param {*} [options] Override http request option.
4507
4483
  * @throws {RequiredError}
4508
4484
  * @memberof PoliciesApi
4509
4485
  */
4510
- public getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
4511
- return PoliciesApiFp(this.configuration).getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4486
+ public getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
4487
+ return PoliciesApiFp(this.configuration).getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4512
4488
  }
4513
4489
 
4514
4490
  /**