@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/dist/api.d.ts CHANGED
@@ -1168,31 +1168,6 @@ export interface RemoveFromCompany {
1168
1168
  */
1169
1169
  'company_id': string;
1170
1170
  }
1171
- /**
1172
- *
1173
- * @export
1174
- * @interface ResponseGetCheckoutSessionPaymentsCheckoutGet
1175
- */
1176
- export interface ResponseGetCheckoutSessionPaymentsCheckoutGet {
1177
- /**
1178
- *
1179
- * @type {string}
1180
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1181
- */
1182
- 'checkout_url': string;
1183
- /**
1184
- *
1185
- * @type {string}
1186
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1187
- */
1188
- 'session_id': string;
1189
- /**
1190
- *
1191
- * @type {string}
1192
- * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1193
- */
1194
- 'message'?: string;
1195
- }
1196
1171
  /**
1197
1172
  *
1198
1173
  * @export
@@ -1608,7 +1583,7 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
1608
1583
  * @param {*} [options] Override http request option.
1609
1584
  * @throws {RequiredError}
1610
1585
  */
1611
- githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1586
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>>;
1612
1587
  /**
1613
1588
  * Redirects to GitHub\'s OAuth consent screen.
1614
1589
  * @summary Github Login
@@ -1626,7 +1601,7 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
1626
1601
  * @param {*} [options] Override http request option.
1627
1602
  * @throws {RequiredError}
1628
1603
  */
1629
- googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1604
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>>;
1630
1605
  /**
1631
1606
  * Redirects to Google\'s OAuth consent screen.
1632
1607
  * @summary Google Login
@@ -1707,7 +1682,7 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
1707
1682
  * @param {*} [options] Override http request option.
1708
1683
  * @throws {RequiredError}
1709
1684
  */
1710
- githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
1685
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess>;
1711
1686
  /**
1712
1687
  * Redirects to GitHub\'s OAuth consent screen.
1713
1688
  * @summary Github Login
@@ -1725,7 +1700,7 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
1725
1700
  * @param {*} [options] Override http request option.
1726
1701
  * @throws {RequiredError}
1727
1702
  */
1728
- googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
1703
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess>;
1729
1704
  /**
1730
1705
  * Redirects to Google\'s OAuth consent screen.
1731
1706
  * @summary Google Login
@@ -1812,7 +1787,7 @@ export declare class AuthApi extends BaseAPI {
1812
1787
  * @throws {RequiredError}
1813
1788
  * @memberof AuthApi
1814
1789
  */
1815
- githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1790
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationSuccess, any, {}>>;
1816
1791
  /**
1817
1792
  * Redirects to GitHub\'s OAuth consent screen.
1818
1793
  * @summary Github Login
@@ -1832,7 +1807,7 @@ export declare class AuthApi extends BaseAPI {
1832
1807
  * @throws {RequiredError}
1833
1808
  * @memberof AuthApi
1834
1809
  */
1835
- googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1810
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationSuccess, any, {}>>;
1836
1811
  /**
1837
1812
  * Redirects to Google\'s OAuth consent screen.
1838
1813
  * @summary Google Login
@@ -1894,13 +1869,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
1894
1869
  *
1895
1870
  * @summary Get Companies
1896
1871
  * @param {number} [page]
1897
- * @param {number} [limit]
1872
+ * @param {number} [elements]
1898
1873
  * @param {string} [authorization]
1899
1874
  * @param {string} [sessionId]
1900
1875
  * @param {*} [options] Override http request option.
1901
1876
  * @throws {RequiredError}
1902
1877
  */
1903
- getCompaniesV1CompanyListGet: (page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1878
+ getCompaniesV1CompanyListGet: (page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1904
1879
  /**
1905
1880
  *
1906
1881
  * @summary Get Company
@@ -1925,13 +1900,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
1925
1900
  *
1926
1901
  * @summary Get Policies
1927
1902
  * @param {number} [page]
1928
- * @param {number} [limit]
1903
+ * @param {number} [elements]
1929
1904
  * @param {string} [authorization]
1930
1905
  * @param {string} [sessionId]
1931
1906
  * @param {*} [options] Override http request option.
1932
1907
  * @throws {RequiredError}
1933
1908
  */
1934
- getPoliciesV1CompanyPoliciesGet: (page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1909
+ getPoliciesV1CompanyPoliciesGet: (page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1935
1910
  /**
1936
1911
  *
1937
1912
  * @summary Update Company
@@ -1962,13 +1937,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
1962
1937
  *
1963
1938
  * @summary Get Companies
1964
1939
  * @param {number} [page]
1965
- * @param {number} [limit]
1940
+ * @param {number} [elements]
1966
1941
  * @param {string} [authorization]
1967
1942
  * @param {string} [sessionId]
1968
1943
  * @param {*} [options] Override http request option.
1969
1944
  * @throws {RequiredError}
1970
1945
  */
1971
- getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>>;
1946
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>>;
1972
1947
  /**
1973
1948
  *
1974
1949
  * @summary Get Company
@@ -1993,13 +1968,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
1993
1968
  *
1994
1969
  * @summary Get Policies
1995
1970
  * @param {number} [page]
1996
- * @param {number} [limit]
1971
+ * @param {number} [elements]
1997
1972
  * @param {string} [authorization]
1998
1973
  * @param {string} [sessionId]
1999
1974
  * @param {*} [options] Override http request option.
2000
1975
  * @throws {RequiredError}
2001
1976
  */
2002
- getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
1977
+ getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2003
1978
  /**
2004
1979
  *
2005
1980
  * @summary Update Company
@@ -2030,13 +2005,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2030
2005
  *
2031
2006
  * @summary Get Companies
2032
2007
  * @param {number} [page]
2033
- * @param {number} [limit]
2008
+ * @param {number} [elements]
2034
2009
  * @param {string} [authorization]
2035
2010
  * @param {string} [sessionId]
2036
2011
  * @param {*} [options] Override http request option.
2037
2012
  * @throws {RequiredError}
2038
2013
  */
2039
- getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>>;
2014
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>>;
2040
2015
  /**
2041
2016
  *
2042
2017
  * @summary Get Company
@@ -2061,13 +2036,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2061
2036
  *
2062
2037
  * @summary Get Policies
2063
2038
  * @param {number} [page]
2064
- * @param {number} [limit]
2039
+ * @param {number} [elements]
2065
2040
  * @param {string} [authorization]
2066
2041
  * @param {string} [sessionId]
2067
2042
  * @param {*} [options] Override http request option.
2068
2043
  * @throws {RequiredError}
2069
2044
  */
2070
- getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2045
+ getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2071
2046
  /**
2072
2047
  *
2073
2048
  * @summary Update Company
@@ -2101,14 +2076,14 @@ export declare class CompanyApi extends BaseAPI {
2101
2076
  *
2102
2077
  * @summary Get Companies
2103
2078
  * @param {number} [page]
2104
- * @param {number} [limit]
2079
+ * @param {number} [elements]
2105
2080
  * @param {string} [authorization]
2106
2081
  * @param {string} [sessionId]
2107
2082
  * @param {*} [options] Override http request option.
2108
2083
  * @throws {RequiredError}
2109
2084
  * @memberof CompanyApi
2110
2085
  */
2111
- getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase[], any, {}>>;
2086
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase[], any, {}>>;
2112
2087
  /**
2113
2088
  *
2114
2089
  * @summary Get Company
@@ -2135,14 +2110,14 @@ export declare class CompanyApi extends BaseAPI {
2135
2110
  *
2136
2111
  * @summary Get Policies
2137
2112
  * @param {number} [page]
2138
- * @param {number} [limit]
2113
+ * @param {number} [elements]
2139
2114
  * @param {string} [authorization]
2140
2115
  * @param {string} [sessionId]
2141
2116
  * @param {*} [options] Override http request option.
2142
2117
  * @throws {RequiredError}
2143
2118
  * @memberof CompanyApi
2144
2119
  */
2145
- getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
2120
+ getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
2146
2121
  /**
2147
2122
  *
2148
2123
  * @summary Update Company
@@ -2263,148 +2238,6 @@ export declare class ControlsApi extends BaseAPI {
2263
2238
  */
2264
2239
  updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetControl, any, {}>>;
2265
2240
  }
2266
- /**
2267
- * DefaultApi - axios parameter creator
2268
- * @export
2269
- */
2270
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
2271
- /**
2272
- *
2273
- * @summary Get Db Health
2274
- * @param {*} [options] Override http request option.
2275
- * @throws {RequiredError}
2276
- */
2277
- getDbHealthHealthDbGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2278
- /**
2279
- *
2280
- * @summary Get Health
2281
- * @param {*} [options] Override http request option.
2282
- * @throws {RequiredError}
2283
- */
2284
- getHealthHealthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2285
- /**
2286
- *
2287
- * @summary Get Listmonk Health
2288
- * @param {*} [options] Override http request option.
2289
- * @throws {RequiredError}
2290
- */
2291
- getListmonkHealthHealthListmonkGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2292
- /**
2293
- *
2294
- * @summary Get Redis Health
2295
- * @param {*} [options] Override http request option.
2296
- * @throws {RequiredError}
2297
- */
2298
- getRedisHealthHealthRedisGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2299
- };
2300
- /**
2301
- * DefaultApi - functional programming interface
2302
- * @export
2303
- */
2304
- export declare const DefaultApiFp: (configuration?: Configuration) => {
2305
- /**
2306
- *
2307
- * @summary Get Db Health
2308
- * @param {*} [options] Override http request option.
2309
- * @throws {RequiredError}
2310
- */
2311
- getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2312
- /**
2313
- *
2314
- * @summary Get Health
2315
- * @param {*} [options] Override http request option.
2316
- * @throws {RequiredError}
2317
- */
2318
- getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2319
- /**
2320
- *
2321
- * @summary Get Listmonk Health
2322
- * @param {*} [options] Override http request option.
2323
- * @throws {RequiredError}
2324
- */
2325
- getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2326
- /**
2327
- *
2328
- * @summary Get Redis Health
2329
- * @param {*} [options] Override http request option.
2330
- * @throws {RequiredError}
2331
- */
2332
- getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2333
- };
2334
- /**
2335
- * DefaultApi - factory interface
2336
- * @export
2337
- */
2338
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2339
- /**
2340
- *
2341
- * @summary Get Db Health
2342
- * @param {*} [options] Override http request option.
2343
- * @throws {RequiredError}
2344
- */
2345
- getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2346
- /**
2347
- *
2348
- * @summary Get Health
2349
- * @param {*} [options] Override http request option.
2350
- * @throws {RequiredError}
2351
- */
2352
- getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2353
- /**
2354
- *
2355
- * @summary Get Listmonk Health
2356
- * @param {*} [options] Override http request option.
2357
- * @throws {RequiredError}
2358
- */
2359
- getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2360
- /**
2361
- *
2362
- * @summary Get Redis Health
2363
- * @param {*} [options] Override http request option.
2364
- * @throws {RequiredError}
2365
- */
2366
- getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2367
- };
2368
- /**
2369
- * DefaultApi - object-oriented interface
2370
- * @export
2371
- * @class DefaultApi
2372
- * @extends {BaseAPI}
2373
- */
2374
- export declare class DefaultApi extends BaseAPI {
2375
- /**
2376
- *
2377
- * @summary Get Db Health
2378
- * @param {*} [options] Override http request option.
2379
- * @throws {RequiredError}
2380
- * @memberof DefaultApi
2381
- */
2382
- getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2383
- /**
2384
- *
2385
- * @summary Get Health
2386
- * @param {*} [options] Override http request option.
2387
- * @throws {RequiredError}
2388
- * @memberof DefaultApi
2389
- */
2390
- getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2391
- /**
2392
- *
2393
- * @summary Get Listmonk Health
2394
- * @param {*} [options] Override http request option.
2395
- * @throws {RequiredError}
2396
- * @memberof DefaultApi
2397
- */
2398
- getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2399
- /**
2400
- *
2401
- * @summary Get Redis Health
2402
- * @param {*} [options] Override http request option.
2403
- * @throws {RequiredError}
2404
- * @memberof DefaultApi
2405
- */
2406
- getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2407
- }
2408
2241
  /**
2409
2242
  * EvidenceApi - axios parameter creator
2410
2243
  * @export
@@ -2652,6 +2485,148 @@ export declare class EvidenceApi extends BaseAPI {
2652
2485
  */
2653
2486
  uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceBase, any, {}>>;
2654
2487
  }
2488
+ /**
2489
+ * HealthApi - axios parameter creator
2490
+ * @export
2491
+ */
2492
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
2493
+ /**
2494
+ *
2495
+ * @summary Get Db Health
2496
+ * @param {*} [options] Override http request option.
2497
+ * @throws {RequiredError}
2498
+ */
2499
+ getDbHealthHealthDbGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2500
+ /**
2501
+ *
2502
+ * @summary Get Health
2503
+ * @param {*} [options] Override http request option.
2504
+ * @throws {RequiredError}
2505
+ */
2506
+ getHealthHealthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2507
+ /**
2508
+ *
2509
+ * @summary Get Listmonk Health
2510
+ * @param {*} [options] Override http request option.
2511
+ * @throws {RequiredError}
2512
+ */
2513
+ getListmonkHealthHealthListmonkGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2514
+ /**
2515
+ *
2516
+ * @summary Get Redis Health
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ */
2520
+ getRedisHealthHealthRedisGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2521
+ };
2522
+ /**
2523
+ * HealthApi - functional programming interface
2524
+ * @export
2525
+ */
2526
+ export declare const HealthApiFp: (configuration?: Configuration) => {
2527
+ /**
2528
+ *
2529
+ * @summary Get Db Health
2530
+ * @param {*} [options] Override http request option.
2531
+ * @throws {RequiredError}
2532
+ */
2533
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2534
+ /**
2535
+ *
2536
+ * @summary Get Health
2537
+ * @param {*} [options] Override http request option.
2538
+ * @throws {RequiredError}
2539
+ */
2540
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2541
+ /**
2542
+ *
2543
+ * @summary Get Listmonk Health
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2548
+ /**
2549
+ *
2550
+ * @summary Get Redis Health
2551
+ * @param {*} [options] Override http request option.
2552
+ * @throws {RequiredError}
2553
+ */
2554
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2555
+ };
2556
+ /**
2557
+ * HealthApi - factory interface
2558
+ * @export
2559
+ */
2560
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2561
+ /**
2562
+ *
2563
+ * @summary Get Db Health
2564
+ * @param {*} [options] Override http request option.
2565
+ * @throws {RequiredError}
2566
+ */
2567
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2568
+ /**
2569
+ *
2570
+ * @summary Get Health
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ */
2574
+ getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2575
+ /**
2576
+ *
2577
+ * @summary Get Listmonk Health
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ */
2581
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2582
+ /**
2583
+ *
2584
+ * @summary Get Redis Health
2585
+ * @param {*} [options] Override http request option.
2586
+ * @throws {RequiredError}
2587
+ */
2588
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2589
+ };
2590
+ /**
2591
+ * HealthApi - object-oriented interface
2592
+ * @export
2593
+ * @class HealthApi
2594
+ * @extends {BaseAPI}
2595
+ */
2596
+ export declare class HealthApi extends BaseAPI {
2597
+ /**
2598
+ *
2599
+ * @summary Get Db Health
2600
+ * @param {*} [options] Override http request option.
2601
+ * @throws {RequiredError}
2602
+ * @memberof HealthApi
2603
+ */
2604
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2605
+ /**
2606
+ *
2607
+ * @summary Get Health
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ * @memberof HealthApi
2611
+ */
2612
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2613
+ /**
2614
+ *
2615
+ * @summary Get Listmonk Health
2616
+ * @param {*} [options] Override http request option.
2617
+ * @throws {RequiredError}
2618
+ * @memberof HealthApi
2619
+ */
2620
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2621
+ /**
2622
+ *
2623
+ * @summary Get Redis Health
2624
+ * @param {*} [options] Override http request option.
2625
+ * @throws {RequiredError}
2626
+ * @memberof HealthApi
2627
+ */
2628
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2629
+ }
2655
2630
  /**
2656
2631
  * PaymentsApi - axios parameter creator
2657
2632
  * @export
@@ -2660,13 +2635,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
2660
2635
  /**
2661
2636
  *
2662
2637
  * @summary Get Checkout Session
2663
- * @param {string} userId
2664
2638
  * @param {string} companyId
2665
2639
  * @param {string} productId
2640
+ * @param {string} [authorization]
2641
+ * @param {string} [sessionId]
2666
2642
  * @param {*} [options] Override http request option.
2667
2643
  * @throws {RequiredError}
2668
2644
  */
2669
- getCheckoutSessionPaymentsCheckoutGet: (userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2645
+ getCheckoutSessionPaymentsCheckoutGet: (companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2670
2646
  /**
2671
2647
  *
2672
2648
  * @summary Get Customer Management Session
@@ -2692,13 +2668,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2692
2668
  /**
2693
2669
  *
2694
2670
  * @summary Get Checkout Session
2695
- * @param {string} userId
2696
2671
  * @param {string} companyId
2697
2672
  * @param {string} productId
2673
+ * @param {string} [authorization]
2674
+ * @param {string} [sessionId]
2698
2675
  * @param {*} [options] Override http request option.
2699
2676
  * @throws {RequiredError}
2700
2677
  */
2701
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>>;
2678
+ getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckoutSessionResponse>>;
2702
2679
  /**
2703
2680
  *
2704
2681
  * @summary Get Customer Management Session
@@ -2724,13 +2701,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
2724
2701
  /**
2725
2702
  *
2726
2703
  * @summary Get Checkout Session
2727
- * @param {string} userId
2728
2704
  * @param {string} companyId
2729
2705
  * @param {string} productId
2706
+ * @param {string} [authorization]
2707
+ * @param {string} [sessionId]
2730
2708
  * @param {*} [options] Override http request option.
2731
2709
  * @throws {RequiredError}
2732
2710
  */
2733
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>;
2711
+ getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CheckoutSessionResponse>;
2734
2712
  /**
2735
2713
  *
2736
2714
  * @summary Get Customer Management Session
@@ -2758,14 +2736,15 @@ export declare class PaymentsApi extends BaseAPI {
2758
2736
  /**
2759
2737
  *
2760
2738
  * @summary Get Checkout Session
2761
- * @param {string} userId
2762
2739
  * @param {string} companyId
2763
2740
  * @param {string} productId
2741
+ * @param {string} [authorization]
2742
+ * @param {string} [sessionId]
2764
2743
  * @param {*} [options] Override http request option.
2765
2744
  * @throws {RequiredError}
2766
2745
  * @memberof PaymentsApi
2767
2746
  */
2768
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCheckoutSessionPaymentsCheckoutGet, any, {}>>;
2747
+ getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckoutSessionResponse, any, {}>>;
2769
2748
  /**
2770
2749
  *
2771
2750
  * @summary Get Customer Management Session
@@ -2814,14 +2793,14 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
2814
2793
  *
2815
2794
  * @summary Get Company Policies
2816
2795
  * @param {string} companyId
2817
- * @param {number} [skip] Number of records to skip for pagination
2818
- * @param {number} [limit] Maximum number of records to return
2796
+ * @param {number} [page]
2797
+ * @param {number} [elements]
2819
2798
  * @param {string} [authorization]
2820
2799
  * @param {string} [sessionId]
2821
2800
  * @param {*} [options] Override http request option.
2822
2801
  * @throws {RequiredError}
2823
2802
  */
2824
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2803
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2825
2804
  /**
2826
2805
  *
2827
2806
  * @summary Get Policy
@@ -2871,14 +2850,14 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
2871
2850
  *
2872
2851
  * @summary Get Company Policies
2873
2852
  * @param {string} companyId
2874
- * @param {number} [skip] Number of records to skip for pagination
2875
- * @param {number} [limit] Maximum number of records to return
2853
+ * @param {number} [page]
2854
+ * @param {number} [elements]
2876
2855
  * @param {string} [authorization]
2877
2856
  * @param {string} [sessionId]
2878
2857
  * @param {*} [options] Override http request option.
2879
2858
  * @throws {RequiredError}
2880
2859
  */
2881
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2860
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2882
2861
  /**
2883
2862
  *
2884
2863
  * @summary Get Policy
@@ -2928,14 +2907,14 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
2928
2907
  *
2929
2908
  * @summary Get Company Policies
2930
2909
  * @param {string} companyId
2931
- * @param {number} [skip] Number of records to skip for pagination
2932
- * @param {number} [limit] Maximum number of records to return
2910
+ * @param {number} [page]
2911
+ * @param {number} [elements]
2933
2912
  * @param {string} [authorization]
2934
2913
  * @param {string} [sessionId]
2935
2914
  * @param {*} [options] Override http request option.
2936
2915
  * @throws {RequiredError}
2937
2916
  */
2938
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2917
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2939
2918
  /**
2940
2919
  *
2941
2920
  * @summary Get Policy
@@ -2989,15 +2968,15 @@ export declare class PoliciesApi extends BaseAPI {
2989
2968
  *
2990
2969
  * @summary Get Company Policies
2991
2970
  * @param {string} companyId
2992
- * @param {number} [skip] Number of records to skip for pagination
2993
- * @param {number} [limit] Maximum number of records to return
2971
+ * @param {number} [page]
2972
+ * @param {number} [elements]
2994
2973
  * @param {string} [authorization]
2995
2974
  * @param {string} [sessionId]
2996
2975
  * @param {*} [options] Override http request option.
2997
2976
  * @throws {RequiredError}
2998
2977
  * @memberof PoliciesApi
2999
2978
  */
3000
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
2979
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
3001
2980
  /**
3002
2981
  *
3003
2982
  * @summary Get Policy