@rasadov/lumoar-sdk 1.0.2 → 1.0.4

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/configuration.ts CHANGED
@@ -4,25 +4,13 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import axios, { AxiosInstance, AxiosResponse } from 'axios';
15
- import {
16
- HealthApi,
17
- AuthApi,
18
- CompanyApi,
19
- ControlsApi,
20
- EvidenceApi,
21
- PaymentsApi,
22
- PoliciesApi,
23
- RolesApi,
24
- UserApi
25
- } from './api';
26
14
 
27
15
 
28
16
  export interface ConfigurationParameters {
@@ -125,98 +113,3 @@ export class Configuration {
125
113
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
126
114
  }
127
115
  }
128
-
129
-
130
- export class ApiSDK {
131
- private helthApi: HealthApi;
132
- private authApi: AuthApi;
133
- private companyApi: CompanyApi;
134
- private controlsApi: ControlsApi;
135
- private evidenceApi: EvidenceApi;
136
- private paymentsApi: PaymentsApi;
137
- private policiesApi: PoliciesApi;
138
- private rolesApi: RolesApi;
139
- private userApi: UserApi;
140
- private token: string | null = null;
141
- private axiosInstance: AxiosInstance;
142
-
143
- constructor(basePath?: string) {
144
- this.axiosInstance = axios.create({
145
- baseURL: basePath,
146
- withCredentials: true // Include cookies (e.g., session_id) in requests
147
- });
148
- this.setupInterceptors();
149
- const config = new Configuration({
150
- basePath,
151
- apiKey: () => this.getAuthHeader(),
152
- baseOptions: {
153
- axios: this.axiosInstance // Ensure generated API uses this instance
154
- },
155
- });
156
-
157
- // Create instances of all API classes
158
- this.helthApi = new HealthApi(config, undefined, this.axiosInstance);
159
- this.authApi = new AuthApi(config, undefined, this.axiosInstance);
160
- this.companyApi = new CompanyApi(config, undefined, this.axiosInstance);
161
- this.controlsApi = new ControlsApi(config, undefined, this.axiosInstance);
162
- this.evidenceApi = new EvidenceApi(config, undefined, this.axiosInstance);
163
- this.paymentsApi = new PaymentsApi(config, undefined, this.axiosInstance);
164
- this.policiesApi = new PoliciesApi(config, undefined, this.axiosInstance);
165
- this.rolesApi = new RolesApi(config, undefined, this.axiosInstance);
166
- this.userApi = new UserApi(config, undefined, this.axiosInstance);
167
- }
168
-
169
- // Set or update token
170
- public setToken(newToken: string) {
171
- this.token = newToken;
172
- }
173
-
174
- // Get auth header
175
- private getAuthHeader(): string {
176
- if (!this.token) {
177
- throw new Error('No token set. Call setToken() first.');
178
- }
179
- return `Bearer ${this.token}`;
180
- }
181
-
182
- // Setup interceptors for requests and responses
183
- private setupInterceptors() {
184
- // Request interceptor: Always set latest token
185
- this.axiosInstance.interceptors.request.use((config) => {
186
- if (this.token) {
187
- config.headers['Authorization'] = this.getAuthHeader();
188
- }
189
- return config;
190
- });
191
-
192
- this.axiosInstance.interceptors.response.use((response: AxiosResponse) => {
193
- const newToken = response.data.newToken || response.headers['Authorization'];
194
- if (newToken) {
195
- this.setToken(newToken.replace('Bearer ', ''));
196
- console.log('Token automatically updated via backend refresh');
197
- }
198
- return response;
199
- }, (error) => {
200
- if (error.response?.status === 401) {
201
- console.error('Authentication failed - session expired');
202
- // TODO: emit event or callback to app for login redirect
203
- }
204
- return Promise.reject(error);
205
- });
206
- }
207
-
208
- // Expose API methods (proxies the generated API)
209
- public getApi() {
210
- return {
211
- helthApi: this.helthApi,
212
- authApi: this.authApi,
213
- companyApi: this.companyApi,
214
- controlsApi: this.controlsApi,
215
- evidenceApi: this.evidenceApi,
216
- paymentsApi: this.paymentsApi,
217
- policiesApi: this.policiesApi,
218
- rolesApi: this.rolesApi,
219
- userApi: this.userApi,
220
- };
221
- }
222
- }
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).
@@ -13,6 +13,84 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ export declare const AuditLogAction: {
22
+ readonly Invite: "invite";
23
+ readonly Create: "create";
24
+ readonly Update: "update";
25
+ readonly Delete: "delete";
26
+ };
27
+ export type AuditLogAction = typeof AuditLogAction[keyof typeof AuditLogAction];
28
+ /**
29
+ *
30
+ * @export
31
+ * @enum {string}
32
+ */
33
+ export declare const AuditLogEntity: {
34
+ readonly CompanyControls: "company_controls";
35
+ readonly Evidences: "evidences";
36
+ readonly Policies: "policies";
37
+ readonly Reports: "reports";
38
+ readonly Companies: "companies";
39
+ readonly Users: "users";
40
+ readonly Tasks: "tasks";
41
+ };
42
+ export type AuditLogEntity = typeof AuditLogEntity[keyof typeof AuditLogEntity];
43
+ /**
44
+ *
45
+ * @export
46
+ * @interface AuditLogResponse
47
+ */
48
+ export interface AuditLogResponse {
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof AuditLogResponse
53
+ */
54
+ 'company_id': string;
55
+ /**
56
+ *
57
+ * @type {AuditLogAction}
58
+ * @memberof AuditLogResponse
59
+ */
60
+ 'action': AuditLogAction;
61
+ /**
62
+ *
63
+ * @type {AuditLogEntity}
64
+ * @memberof AuditLogResponse
65
+ */
66
+ 'entity_type': AuditLogEntity;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof AuditLogResponse
71
+ */
72
+ 'entity_id': string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AuditLogResponse
77
+ */
78
+ 'entity_name': string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof AuditLogResponse
83
+ */
84
+ 'timestamp': string;
85
+ /**
86
+ *
87
+ * @type {{ [key: string]: any; }}
88
+ * @memberof AuditLogResponse
89
+ */
90
+ 'details': {
91
+ [key: string]: any;
92
+ } | null;
93
+ }
16
94
  /**
17
95
  * Authentication success response schema. Attributes: - access_token: str - token_type: str - user_id: str - role: str
18
96
  * @export
@@ -1171,19 +1249,19 @@ export interface RemoveFromCompany {
1171
1249
  /**
1172
1250
  *
1173
1251
  * @export
1174
- * @interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1252
+ * @interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1175
1253
  */
1176
- export interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet {
1254
+ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet {
1177
1255
  /**
1178
1256
  *
1179
1257
  * @type {string}
1180
- * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1258
+ * @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1181
1259
  */
1182
1260
  'link': string;
1183
1261
  /**
1184
1262
  *
1185
1263
  * @type {string}
1186
- * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1264
+ * @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
1187
1265
  */
1188
1266
  'message'?: string;
1189
1267
  }
@@ -1444,6 +1522,97 @@ export interface ValidationError {
1444
1522
  */
1445
1523
  export interface ValidationErrorLocInner {
1446
1524
  }
1525
+ /**
1526
+ * AuditLogsApi - axios parameter creator
1527
+ * @export
1528
+ */
1529
+ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configuration) => {
1530
+ /**
1531
+ *
1532
+ * @summary List Audit Logs
1533
+ * @param {string} companyId
1534
+ * @param {number} page
1535
+ * @param {number} elements
1536
+ * @param {AuditLogEntity | null} [entityType]
1537
+ * @param {AuditLogAction | null} [action]
1538
+ * @param {string | null} [startDate]
1539
+ * @param {string | null} [endDate]
1540
+ * @param {string} [authorization]
1541
+ * @param {string} [sessionId]
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ listAuditLogsV1AuditLogsListGet: (companyId: string, page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1546
+ };
1547
+ /**
1548
+ * AuditLogsApi - functional programming interface
1549
+ * @export
1550
+ */
1551
+ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
1552
+ /**
1553
+ *
1554
+ * @summary List Audit Logs
1555
+ * @param {string} companyId
1556
+ * @param {number} page
1557
+ * @param {number} elements
1558
+ * @param {AuditLogEntity | null} [entityType]
1559
+ * @param {AuditLogAction | null} [action]
1560
+ * @param {string | null} [startDate]
1561
+ * @param {string | null} [endDate]
1562
+ * @param {string} [authorization]
1563
+ * @param {string} [sessionId]
1564
+ * @param {*} [options] Override http request option.
1565
+ * @throws {RequiredError}
1566
+ */
1567
+ listAuditLogsV1AuditLogsListGet(companyId: string, page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AuditLogResponse>>>;
1568
+ };
1569
+ /**
1570
+ * AuditLogsApi - factory interface
1571
+ * @export
1572
+ */
1573
+ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1574
+ /**
1575
+ *
1576
+ * @summary List Audit Logs
1577
+ * @param {string} companyId
1578
+ * @param {number} page
1579
+ * @param {number} elements
1580
+ * @param {AuditLogEntity | null} [entityType]
1581
+ * @param {AuditLogAction | null} [action]
1582
+ * @param {string | null} [startDate]
1583
+ * @param {string | null} [endDate]
1584
+ * @param {string} [authorization]
1585
+ * @param {string} [sessionId]
1586
+ * @param {*} [options] Override http request option.
1587
+ * @throws {RequiredError}
1588
+ */
1589
+ listAuditLogsV1AuditLogsListGet(companyId: string, page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AuditLogResponse>>;
1590
+ };
1591
+ /**
1592
+ * AuditLogsApi - object-oriented interface
1593
+ * @export
1594
+ * @class AuditLogsApi
1595
+ * @extends {BaseAPI}
1596
+ */
1597
+ export declare class AuditLogsApi extends BaseAPI {
1598
+ /**
1599
+ *
1600
+ * @summary List Audit Logs
1601
+ * @param {string} companyId
1602
+ * @param {number} page
1603
+ * @param {number} elements
1604
+ * @param {AuditLogEntity | null} [entityType]
1605
+ * @param {AuditLogAction | null} [action]
1606
+ * @param {string | null} [startDate]
1607
+ * @param {string | null} [endDate]
1608
+ * @param {string} [authorization]
1609
+ * @param {string} [sessionId]
1610
+ * @param {*} [options] Override http request option.
1611
+ * @throws {RequiredError}
1612
+ * @memberof AuditLogsApi
1613
+ */
1614
+ listAuditLogsV1AuditLogsListGet(companyId: string, page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuditLogResponse[], any, {}>>;
1615
+ }
1447
1616
  /**
1448
1617
  * AuthApi - axios parameter creator
1449
1618
  * @export
@@ -2511,6 +2680,13 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
2511
2680
  * @throws {RequiredError}
2512
2681
  */
2513
2682
  getListmonkHealthHealthListmonkGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2683
+ /**
2684
+ *
2685
+ * @summary Get Rate Limit Health
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ getRateLimitHealthHealthRateLimitGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2514
2690
  /**
2515
2691
  *
2516
2692
  * @summary Get Redis Health
@@ -2545,6 +2721,13 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
2545
2721
  * @throws {RequiredError}
2546
2722
  */
2547
2723
  getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2724
+ /**
2725
+ *
2726
+ * @summary Get Rate Limit Health
2727
+ * @param {*} [options] Override http request option.
2728
+ * @throws {RequiredError}
2729
+ */
2730
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2548
2731
  /**
2549
2732
  *
2550
2733
  * @summary Get Redis Health
@@ -2579,6 +2762,13 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
2579
2762
  * @throws {RequiredError}
2580
2763
  */
2581
2764
  getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2765
+ /**
2766
+ *
2767
+ * @summary Get Rate Limit Health
2768
+ * @param {*} [options] Override http request option.
2769
+ * @throws {RequiredError}
2770
+ */
2771
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2582
2772
  /**
2583
2773
  *
2584
2774
  * @summary Get Redis Health
@@ -2618,6 +2808,14 @@ export declare class HealthApi extends BaseAPI {
2618
2808
  * @memberof HealthApi
2619
2809
  */
2620
2810
  getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2811
+ /**
2812
+ *
2813
+ * @summary Get Rate Limit Health
2814
+ * @param {*} [options] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ * @memberof HealthApi
2817
+ */
2818
+ getRateLimitHealthHealthRateLimitGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2621
2819
  /**
2622
2820
  *
2623
2821
  * @summary Get Redis Health
@@ -2642,7 +2840,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
2642
2840
  * @param {*} [options] Override http request option.
2643
2841
  * @throws {RequiredError}
2644
2842
  */
2645
- getCheckoutSessionPaymentsCheckoutGet: (companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2843
+ getCheckoutSessionV1PaymentsCheckoutGet: (companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2646
2844
  /**
2647
2845
  *
2648
2846
  * @summary Get Customer Management Session
@@ -2651,14 +2849,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
2651
2849
  * @param {*} [options] Override http request option.
2652
2850
  * @throws {RequiredError}
2653
2851
  */
2654
- getCustomerManagementSessionPaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2852
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2655
2853
  /**
2656
2854
  *
2657
2855
  * @summary Webhook
2658
2856
  * @param {*} [options] Override http request option.
2659
2857
  * @throws {RequiredError}
2660
2858
  */
2661
- webhookPaymentsWebhookPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2859
+ webhookV1PaymentsWebhookPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2662
2860
  };
2663
2861
  /**
2664
2862
  * PaymentsApi - functional programming interface
@@ -2675,7 +2873,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2675
2873
  * @param {*} [options] Override http request option.
2676
2874
  * @throws {RequiredError}
2677
2875
  */
2678
- getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckoutSessionResponse>>;
2876
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckoutSessionResponse>>;
2679
2877
  /**
2680
2878
  *
2681
2879
  * @summary Get Customer Management Session
@@ -2684,14 +2882,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2684
2882
  * @param {*} [options] Override http request option.
2685
2883
  * @throws {RequiredError}
2686
2884
  */
2687
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>>;
2885
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>>;
2688
2886
  /**
2689
2887
  *
2690
2888
  * @summary Webhook
2691
2889
  * @param {*} [options] Override http request option.
2692
2890
  * @throws {RequiredError}
2693
2891
  */
2694
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2892
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2695
2893
  };
2696
2894
  /**
2697
2895
  * PaymentsApi - factory interface
@@ -2708,7 +2906,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
2708
2906
  * @param {*} [options] Override http request option.
2709
2907
  * @throws {RequiredError}
2710
2908
  */
2711
- getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CheckoutSessionResponse>;
2909
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CheckoutSessionResponse>;
2712
2910
  /**
2713
2911
  *
2714
2912
  * @summary Get Customer Management Session
@@ -2717,14 +2915,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
2717
2915
  * @param {*} [options] Override http request option.
2718
2916
  * @throws {RequiredError}
2719
2917
  */
2720
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>;
2918
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>;
2721
2919
  /**
2722
2920
  *
2723
2921
  * @summary Webhook
2724
2922
  * @param {*} [options] Override http request option.
2725
2923
  * @throws {RequiredError}
2726
2924
  */
2727
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2925
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2728
2926
  };
2729
2927
  /**
2730
2928
  * PaymentsApi - object-oriented interface
@@ -2744,7 +2942,7 @@ export declare class PaymentsApi extends BaseAPI {
2744
2942
  * @throws {RequiredError}
2745
2943
  * @memberof PaymentsApi
2746
2944
  */
2747
- getCheckoutSessionPaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckoutSessionResponse, any, {}>>;
2945
+ getCheckoutSessionV1PaymentsCheckoutGet(companyId: string, productId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckoutSessionResponse, any, {}>>;
2748
2946
  /**
2749
2947
  *
2750
2948
  * @summary Get Customer Management Session
@@ -2754,7 +2952,7 @@ export declare class PaymentsApi extends BaseAPI {
2754
2952
  * @throws {RequiredError}
2755
2953
  * @memberof PaymentsApi
2756
2954
  */
2757
- getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet, any, {}>>;
2955
+ getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet, any, {}>>;
2758
2956
  /**
2759
2957
  *
2760
2958
  * @summary Webhook
@@ -2762,7 +2960,7 @@ export declare class PaymentsApi extends BaseAPI {
2762
2960
  * @throws {RequiredError}
2763
2961
  * @memberof PaymentsApi
2764
2962
  */
2765
- webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2963
+ webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2766
2964
  }
2767
2965
  /**
2768
2966
  * PoliciesApi - axios parameter creator