@rasadov/lumoar-sdk 1.0.1 → 1.0.3

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
@@ -2,7 +2,7 @@
2
2
  * Lumoar API
3
3
  * Compliance as a service
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1171,44 +1171,19 @@ export interface RemoveFromCompany {
1171
1171
  /**
1172
1172
  *
1173
1173
  * @export
1174
- * @interface ResponseGetCheckoutSessionPaymentsCheckoutGet
1174
+ * @interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1175
1175
  */
1176
- export interface ResponseGetCheckoutSessionPaymentsCheckoutGet {
1176
+ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet {
1177
1177
  /**
1178
1178
  *
1179
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
- /**
1197
- *
1198
- * @export
1199
- * @interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1200
- */
1201
- export interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet {
1202
- /**
1203
- *
1204
- * @type {string}
1205
- * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1180
+ * @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1206
1181
  */
1207
1182
  'link': string;
1208
1183
  /**
1209
1184
  *
1210
1185
  * @type {string}
1211
- * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1186
+ * @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1212
1187
  */
1213
1188
  'message'?: string;
1214
1189
  }
@@ -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,177 @@ 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 Rate Limit Health
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ */
2520
+ getRateLimitHealthHealthRateLimitGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2521
+ /**
2522
+ *
2523
+ * @summary Get Redis Health
2524
+ * @param {*} [options] Override http request option.
2525
+ * @throws {RequiredError}
2526
+ */
2527
+ getRedisHealthHealthRedisGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2528
+ };
2529
+ /**
2530
+ * HealthApi - functional programming interface
2531
+ * @export
2532
+ */
2533
+ export declare const HealthApiFp: (configuration?: Configuration) => {
2534
+ /**
2535
+ *
2536
+ * @summary Get Db Health
2537
+ * @param {*} [options] Override http request option.
2538
+ * @throws {RequiredError}
2539
+ */
2540
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2541
+ /**
2542
+ *
2543
+ * @summary Get Health
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2548
+ /**
2549
+ *
2550
+ * @summary Get Listmonk Health
2551
+ * @param {*} [options] Override http request option.
2552
+ * @throws {RequiredError}
2553
+ */
2554
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2555
+ /**
2556
+ *
2557
+ * @summary Get Rate Limit Health
2558
+ * @param {*} [options] Override http request option.
2559
+ * @throws {RequiredError}
2560
+ */
2561
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2562
+ /**
2563
+ *
2564
+ * @summary Get Redis Health
2565
+ * @param {*} [options] Override http request option.
2566
+ * @throws {RequiredError}
2567
+ */
2568
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2569
+ };
2570
+ /**
2571
+ * HealthApi - factory interface
2572
+ * @export
2573
+ */
2574
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2575
+ /**
2576
+ *
2577
+ * @summary Get Db Health
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ */
2581
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2582
+ /**
2583
+ *
2584
+ * @summary Get Health
2585
+ * @param {*} [options] Override http request option.
2586
+ * @throws {RequiredError}
2587
+ */
2588
+ getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2589
+ /**
2590
+ *
2591
+ * @summary Get Listmonk Health
2592
+ * @param {*} [options] Override http request option.
2593
+ * @throws {RequiredError}
2594
+ */
2595
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2596
+ /**
2597
+ *
2598
+ * @summary Get Rate Limit Health
2599
+ * @param {*} [options] Override http request option.
2600
+ * @throws {RequiredError}
2601
+ */
2602
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2603
+ /**
2604
+ *
2605
+ * @summary Get Redis Health
2606
+ * @param {*} [options] Override http request option.
2607
+ * @throws {RequiredError}
2608
+ */
2609
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2610
+ };
2611
+ /**
2612
+ * HealthApi - object-oriented interface
2613
+ * @export
2614
+ * @class HealthApi
2615
+ * @extends {BaseAPI}
2616
+ */
2617
+ export declare class HealthApi extends BaseAPI {
2618
+ /**
2619
+ *
2620
+ * @summary Get Db Health
2621
+ * @param {*} [options] Override http request option.
2622
+ * @throws {RequiredError}
2623
+ * @memberof HealthApi
2624
+ */
2625
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2626
+ /**
2627
+ *
2628
+ * @summary Get Health
2629
+ * @param {*} [options] Override http request option.
2630
+ * @throws {RequiredError}
2631
+ * @memberof HealthApi
2632
+ */
2633
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2634
+ /**
2635
+ *
2636
+ * @summary Get Listmonk Health
2637
+ * @param {*} [options] Override http request option.
2638
+ * @throws {RequiredError}
2639
+ * @memberof HealthApi
2640
+ */
2641
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2642
+ /**
2643
+ *
2644
+ * @summary Get Rate Limit Health
2645
+ * @param {*} [options] Override http request option.
2646
+ * @throws {RequiredError}
2647
+ * @memberof HealthApi
2648
+ */
2649
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2650
+ /**
2651
+ *
2652
+ * @summary Get Redis Health
2653
+ * @param {*} [options] Override http request option.
2654
+ * @throws {RequiredError}
2655
+ * @memberof HealthApi
2656
+ */
2657
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2658
+ }
2655
2659
  /**
2656
2660
  * PaymentsApi - axios parameter creator
2657
2661
  * @export
@@ -2660,13 +2664,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
2660
2664
  /**
2661
2665
  *
2662
2666
  * @summary Get Checkout Session
2663
- * @param {string} userId
2664
2667
  * @param {string} companyId
2665
2668
  * @param {string} productId
2669
+ * @param {string} [authorization]
2670
+ * @param {string} [sessionId]
2666
2671
  * @param {*} [options] Override http request option.
2667
2672
  * @throws {RequiredError}
2668
2673
  */
2669
- getCheckoutSessionPaymentsCheckoutGet: (userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2674
+ getCheckoutSessionV1PaymentsCheckoutGet: (companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2670
2675
  /**
2671
2676
  *
2672
2677
  * @summary Get Customer Management Session
@@ -2675,14 +2680,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
2675
2680
  * @param {*} [options] Override http request option.
2676
2681
  * @throws {RequiredError}
2677
2682
  */
2678
- getCustomerManagementSessionPaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2683
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2679
2684
  /**
2680
2685
  *
2681
2686
  * @summary Webhook
2682
2687
  * @param {*} [options] Override http request option.
2683
2688
  * @throws {RequiredError}
2684
2689
  */
2685
- webhookPaymentsWebhookPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2690
+ webhookV1PaymentsWebhookPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2686
2691
  };
2687
2692
  /**
2688
2693
  * PaymentsApi - functional programming interface
@@ -2692,13 +2697,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2692
2697
  /**
2693
2698
  *
2694
2699
  * @summary Get Checkout Session
2695
- * @param {string} userId
2696
2700
  * @param {string} companyId
2697
2701
  * @param {string} productId
2702
+ * @param {string} [authorization]
2703
+ * @param {string} [sessionId]
2698
2704
  * @param {*} [options] Override http request option.
2699
2705
  * @throws {RequiredError}
2700
2706
  */
2701
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>>;
2707
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckoutSessionResponse>>;
2702
2708
  /**
2703
2709
  *
2704
2710
  * @summary Get Customer Management Session
@@ -2707,14 +2713,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2707
2713
  * @param {*} [options] Override http request option.
2708
2714
  * @throws {RequiredError}
2709
2715
  */
2710
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>>;
2716
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>>;
2711
2717
  /**
2712
2718
  *
2713
2719
  * @summary Webhook
2714
2720
  * @param {*} [options] Override http request option.
2715
2721
  * @throws {RequiredError}
2716
2722
  */
2717
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2723
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2718
2724
  };
2719
2725
  /**
2720
2726
  * PaymentsApi - factory interface
@@ -2724,13 +2730,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
2724
2730
  /**
2725
2731
  *
2726
2732
  * @summary Get Checkout Session
2727
- * @param {string} userId
2728
2733
  * @param {string} companyId
2729
2734
  * @param {string} productId
2735
+ * @param {string} [authorization]
2736
+ * @param {string} [sessionId]
2730
2737
  * @param {*} [options] Override http request option.
2731
2738
  * @throws {RequiredError}
2732
2739
  */
2733
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>;
2740
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CheckoutSessionResponse>;
2734
2741
  /**
2735
2742
  *
2736
2743
  * @summary Get Customer Management Session
@@ -2739,14 +2746,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
2739
2746
  * @param {*} [options] Override http request option.
2740
2747
  * @throws {RequiredError}
2741
2748
  */
2742
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>;
2749
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>;
2743
2750
  /**
2744
2751
  *
2745
2752
  * @summary Webhook
2746
2753
  * @param {*} [options] Override http request option.
2747
2754
  * @throws {RequiredError}
2748
2755
  */
2749
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2756
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2750
2757
  };
2751
2758
  /**
2752
2759
  * PaymentsApi - object-oriented interface
@@ -2758,14 +2765,15 @@ export declare class PaymentsApi extends BaseAPI {
2758
2765
  /**
2759
2766
  *
2760
2767
  * @summary Get Checkout Session
2761
- * @param {string} userId
2762
2768
  * @param {string} companyId
2763
2769
  * @param {string} productId
2770
+ * @param {string} [authorization]
2771
+ * @param {string} [sessionId]
2764
2772
  * @param {*} [options] Override http request option.
2765
2773
  * @throws {RequiredError}
2766
2774
  * @memberof PaymentsApi
2767
2775
  */
2768
- getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCheckoutSessionPaymentsCheckoutGet, any, {}>>;
2776
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckoutSessionResponse, any, {}>>;
2769
2777
  /**
2770
2778
  *
2771
2779
  * @summary Get Customer Management Session
@@ -2775,7 +2783,7 @@ export declare class PaymentsApi extends BaseAPI {
2775
2783
  * @throws {RequiredError}
2776
2784
  * @memberof PaymentsApi
2777
2785
  */
2778
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet, any, {}>>;
2786
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet, any, {}>>;
2779
2787
  /**
2780
2788
  *
2781
2789
  * @summary Webhook
@@ -2783,7 +2791,7 @@ export declare class PaymentsApi extends BaseAPI {
2783
2791
  * @throws {RequiredError}
2784
2792
  * @memberof PaymentsApi
2785
2793
  */
2786
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2794
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2787
2795
  }
2788
2796
  /**
2789
2797
  * PoliciesApi - axios parameter creator
@@ -2814,14 +2822,14 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
2814
2822
  *
2815
2823
  * @summary Get Company Policies
2816
2824
  * @param {string} companyId
2817
- * @param {number} [skip] Number of records to skip for pagination
2818
- * @param {number} [limit] Maximum number of records to return
2825
+ * @param {number} [page]
2826
+ * @param {number} [elements]
2819
2827
  * @param {string} [authorization]
2820
2828
  * @param {string} [sessionId]
2821
2829
  * @param {*} [options] Override http request option.
2822
2830
  * @throws {RequiredError}
2823
2831
  */
2824
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2832
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2825
2833
  /**
2826
2834
  *
2827
2835
  * @summary Get Policy
@@ -2871,14 +2879,14 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
2871
2879
  *
2872
2880
  * @summary Get Company Policies
2873
2881
  * @param {string} companyId
2874
- * @param {number} [skip] Number of records to skip for pagination
2875
- * @param {number} [limit] Maximum number of records to return
2882
+ * @param {number} [page]
2883
+ * @param {number} [elements]
2876
2884
  * @param {string} [authorization]
2877
2885
  * @param {string} [sessionId]
2878
2886
  * @param {*} [options] Override http request option.
2879
2887
  * @throws {RequiredError}
2880
2888
  */
2881
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2889
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2882
2890
  /**
2883
2891
  *
2884
2892
  * @summary Get Policy
@@ -2928,14 +2936,14 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
2928
2936
  *
2929
2937
  * @summary Get Company Policies
2930
2938
  * @param {string} companyId
2931
- * @param {number} [skip] Number of records to skip for pagination
2932
- * @param {number} [limit] Maximum number of records to return
2939
+ * @param {number} [page]
2940
+ * @param {number} [elements]
2933
2941
  * @param {string} [authorization]
2934
2942
  * @param {string} [sessionId]
2935
2943
  * @param {*} [options] Override http request option.
2936
2944
  * @throws {RequiredError}
2937
2945
  */
2938
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2946
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2939
2947
  /**
2940
2948
  *
2941
2949
  * @summary Get Policy
@@ -2989,15 +2997,15 @@ export declare class PoliciesApi extends BaseAPI {
2989
2997
  *
2990
2998
  * @summary Get Company Policies
2991
2999
  * @param {string} companyId
2992
- * @param {number} [skip] Number of records to skip for pagination
2993
- * @param {number} [limit] Maximum number of records to return
3000
+ * @param {number} [page]
3001
+ * @param {number} [elements]
2994
3002
  * @param {string} [authorization]
2995
3003
  * @param {string} [sessionId]
2996
3004
  * @param {*} [options] Override http request option.
2997
3005
  * @throws {RequiredError}
2998
3006
  * @memberof PoliciesApi
2999
3007
  */
3000
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
3008
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
3001
3009
  /**
3002
3010
  *
3003
3011
  * @summary Get Policy