@rasadov/lumoar-sdk 1.0.5 → 1.0.7

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
@@ -43,53 +43,53 @@ export type AuditLogEntity = typeof AuditLogEntity[keyof typeof AuditLogEntity];
43
43
  /**
44
44
  *
45
45
  * @export
46
- * @interface AuditLogResponse
46
+ * @interface AuditLogSchema
47
47
  */
48
- export interface AuditLogResponse {
48
+ export interface AuditLogSchema {
49
49
  /**
50
50
  *
51
51
  * @type {string}
52
- * @memberof AuditLogResponse
52
+ * @memberof AuditLogSchema
53
53
  */
54
54
  'company_id': string;
55
55
  /**
56
56
  *
57
57
  * @type {AuditLogAction}
58
- * @memberof AuditLogResponse
58
+ * @memberof AuditLogSchema
59
59
  */
60
60
  'action': AuditLogAction;
61
61
  /**
62
62
  *
63
63
  * @type {AuditLogEntity}
64
- * @memberof AuditLogResponse
64
+ * @memberof AuditLogSchema
65
65
  */
66
66
  'entity_type': AuditLogEntity;
67
67
  /**
68
68
  *
69
69
  * @type {string}
70
- * @memberof AuditLogResponse
70
+ * @memberof AuditLogSchema
71
71
  */
72
72
  'entity_id': string;
73
73
  /**
74
74
  *
75
75
  * @type {string}
76
- * @memberof AuditLogResponse
77
- */
78
- 'entity_name': string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof AuditLogResponse
76
+ * @memberof AuditLogSchema
83
77
  */
84
78
  'timestamp': string;
85
79
  /**
86
80
  *
87
81
  * @type {{ [key: string]: any; }}
88
- * @memberof AuditLogResponse
82
+ * @memberof AuditLogSchema
89
83
  */
90
84
  'details': {
91
85
  [key: string]: any;
92
86
  } | null;
87
+ /**
88
+ *
89
+ * @type {UserBase}
90
+ * @memberof AuditLogSchema
91
+ */
92
+ 'user': UserBase;
93
93
  }
94
94
  /**
95
95
  * Authentication success response schema. Attributes: - access_token: str - token_type: str - user_id: str - role: str
@@ -624,6 +624,37 @@ export declare const ComplianceGoal: {
624
624
  readonly Soc2: "SOC2";
625
625
  };
626
626
  export type ComplianceGoal = typeof ComplianceGoal[keyof typeof ComplianceGoal];
627
+ /**
628
+ *
629
+ * @export
630
+ * @interface ControlBase
631
+ */
632
+ export interface ControlBase {
633
+ /**
634
+ *
635
+ * @type {string}
636
+ * @memberof ControlBase
637
+ */
638
+ 'id': string;
639
+ /**
640
+ *
641
+ * @type {string}
642
+ * @memberof ControlBase
643
+ */
644
+ 'status'?: string | null;
645
+ /**
646
+ *
647
+ * @type {string}
648
+ * @memberof ControlBase
649
+ */
650
+ 'note'?: string | null;
651
+ /**
652
+ *
653
+ * @type {string}
654
+ * @memberof ControlBase
655
+ */
656
+ 'updated_at'?: string | null;
657
+ }
627
658
  /**
628
659
  *
629
660
  * @export
@@ -650,12 +681,6 @@ export interface ControlWithEvidences {
650
681
  * @memberof ControlWithEvidences
651
682
  */
652
683
  'id': string;
653
- /**
654
- *
655
- * @type {FrameworkControlsBase}
656
- * @memberof ControlWithEvidences
657
- */
658
- 'framework_control': FrameworkControlsBase;
659
684
  /**
660
685
  *
661
686
  * @type {string}
@@ -674,6 +699,12 @@ export interface ControlWithEvidences {
674
699
  * @memberof ControlWithEvidences
675
700
  */
676
701
  'updated_at'?: string | null;
702
+ /**
703
+ *
704
+ * @type {FrameworkControlsBase}
705
+ * @memberof ControlWithEvidences
706
+ */
707
+ 'data': FrameworkControlsBase;
677
708
  /**
678
709
  *
679
710
  * @type {Array<EvidenceBase>}
@@ -693,12 +724,6 @@ export interface ControlWithRelationships {
693
724
  * @memberof ControlWithRelationships
694
725
  */
695
726
  'id': string;
696
- /**
697
- *
698
- * @type {FrameworkControlsBase}
699
- * @memberof ControlWithRelationships
700
- */
701
- 'framework_control': FrameworkControlsBase;
702
727
  /**
703
728
  *
704
729
  * @type {string}
@@ -717,6 +742,12 @@ export interface ControlWithRelationships {
717
742
  * @memberof ControlWithRelationships
718
743
  */
719
744
  'updated_at'?: string | null;
745
+ /**
746
+ *
747
+ * @type {FrameworkControlsBase}
748
+ * @memberof ControlWithRelationships
749
+ */
750
+ 'data': FrameworkControlsBase;
720
751
  /**
721
752
  *
722
753
  * @type {CompanyInDBBase}
@@ -1061,6 +1092,63 @@ export interface LoginSchema {
1061
1092
  */
1062
1093
  'turnstile_token': string;
1063
1094
  }
1095
+ /**
1096
+ *
1097
+ * @export
1098
+ * @interface PaginationResponseAuditLogSchema
1099
+ */
1100
+ export interface PaginationResponseAuditLogSchema {
1101
+ /**
1102
+ *
1103
+ * @type {Array<AuditLogSchema>}
1104
+ * @memberof PaginationResponseAuditLogSchema
1105
+ */
1106
+ 'items': Array<AuditLogSchema>;
1107
+ /**
1108
+ *
1109
+ * @type {number}
1110
+ * @memberof PaginationResponseAuditLogSchema
1111
+ */
1112
+ 'total': number;
1113
+ }
1114
+ /**
1115
+ *
1116
+ * @export
1117
+ * @interface PaginationResponseCompanyInDBBase
1118
+ */
1119
+ export interface PaginationResponseCompanyInDBBase {
1120
+ /**
1121
+ *
1122
+ * @type {Array<CompanyInDBBase>}
1123
+ * @memberof PaginationResponseCompanyInDBBase
1124
+ */
1125
+ 'items': Array<CompanyInDBBase>;
1126
+ /**
1127
+ *
1128
+ * @type {number}
1129
+ * @memberof PaginationResponseCompanyInDBBase
1130
+ */
1131
+ 'total': number;
1132
+ }
1133
+ /**
1134
+ *
1135
+ * @export
1136
+ * @interface PaginationResponsePolicyRead
1137
+ */
1138
+ export interface PaginationResponsePolicyRead {
1139
+ /**
1140
+ *
1141
+ * @type {Array<PolicyRead>}
1142
+ * @memberof PaginationResponsePolicyRead
1143
+ */
1144
+ 'items': Array<PolicyRead>;
1145
+ /**
1146
+ *
1147
+ * @type {number}
1148
+ * @memberof PaginationResponsePolicyRead
1149
+ */
1150
+ 'total': number;
1151
+ }
1064
1152
  /**
1065
1153
  *
1066
1154
  * @export
@@ -1301,7 +1389,7 @@ export interface UpdateControlSchema {
1301
1389
  * @type {ControlStatus}
1302
1390
  * @memberof UpdateControlSchema
1303
1391
  */
1304
- 'status'?: ControlStatus | null;
1392
+ 'status': ControlStatus;
1305
1393
  /**
1306
1394
  *
1307
1395
  * @type {string}
@@ -1531,8 +1619,8 @@ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configurati
1531
1619
  *
1532
1620
  * @summary List Audit Logs
1533
1621
  * @param {string} companyId
1534
- * @param {number} page
1535
- * @param {number} elements
1622
+ * @param {number} [page]
1623
+ * @param {number} [elements]
1536
1624
  * @param {AuditLogEntity | null} [entityType]
1537
1625
  * @param {AuditLogAction | null} [action]
1538
1626
  * @param {string | null} [startDate]
@@ -1542,7 +1630,7 @@ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configurati
1542
1630
  * @param {*} [options] Override http request option.
1543
1631
  * @throws {RequiredError}
1544
1632
  */
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>;
1633
+ 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
1634
  };
1547
1635
  /**
1548
1636
  * AuditLogsApi - functional programming interface
@@ -1553,8 +1641,8 @@ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
1553
1641
  *
1554
1642
  * @summary List Audit Logs
1555
1643
  * @param {string} companyId
1556
- * @param {number} page
1557
- * @param {number} elements
1644
+ * @param {number} [page]
1645
+ * @param {number} [elements]
1558
1646
  * @param {AuditLogEntity | null} [entityType]
1559
1647
  * @param {AuditLogAction | null} [action]
1560
1648
  * @param {string | null} [startDate]
@@ -1564,7 +1652,7 @@ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
1564
1652
  * @param {*} [options] Override http request option.
1565
1653
  * @throws {RequiredError}
1566
1654
  */
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>>>;
1655
+ 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<PaginationResponseAuditLogSchema>>;
1568
1656
  };
1569
1657
  /**
1570
1658
  * AuditLogsApi - factory interface
@@ -1575,8 +1663,8 @@ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePa
1575
1663
  *
1576
1664
  * @summary List Audit Logs
1577
1665
  * @param {string} companyId
1578
- * @param {number} page
1579
- * @param {number} elements
1666
+ * @param {number} [page]
1667
+ * @param {number} [elements]
1580
1668
  * @param {AuditLogEntity | null} [entityType]
1581
1669
  * @param {AuditLogAction | null} [action]
1582
1670
  * @param {string | null} [startDate]
@@ -1586,7 +1674,7 @@ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePa
1586
1674
  * @param {*} [options] Override http request option.
1587
1675
  * @throws {RequiredError}
1588
1676
  */
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>>;
1677
+ 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<PaginationResponseAuditLogSchema>;
1590
1678
  };
1591
1679
  /**
1592
1680
  * AuditLogsApi - object-oriented interface
@@ -1599,8 +1687,8 @@ export declare class AuditLogsApi extends BaseAPI {
1599
1687
  *
1600
1688
  * @summary List Audit Logs
1601
1689
  * @param {string} companyId
1602
- * @param {number} page
1603
- * @param {number} elements
1690
+ * @param {number} [page]
1691
+ * @param {number} [elements]
1604
1692
  * @param {AuditLogEntity | null} [entityType]
1605
1693
  * @param {AuditLogAction | null} [action]
1606
1694
  * @param {string | null} [startDate]
@@ -1611,7 +1699,7 @@ export declare class AuditLogsApi extends BaseAPI {
1611
1699
  * @throws {RequiredError}
1612
1700
  * @memberof AuditLogsApi
1613
1701
  */
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, {}>>;
1702
+ 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<PaginationResponseAuditLogSchema, any, {}>>;
1615
1703
  }
1616
1704
  /**
1617
1705
  * AuthApi - axios parameter creator
@@ -2057,25 +2145,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
2057
2145
  getCompanyV1CompanyGetCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2058
2146
  /**
2059
2147
  *
2060
- * @summary Get Controls
2148
+ * @summary Get Company With Controls
2061
2149
  * @param {string} companyId
2062
2150
  * @param {string} [authorization]
2063
2151
  * @param {string} [sessionId]
2064
2152
  * @param {*} [options] Override http request option.
2065
2153
  * @throws {RequiredError}
2066
2154
  */
2067
- getControlsV1CompanyControlsCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2068
- /**
2069
- *
2070
- * @summary Get Policies
2071
- * @param {number} [page]
2072
- * @param {number} [elements]
2073
- * @param {string} [authorization]
2074
- * @param {string} [sessionId]
2075
- * @param {*} [options] Override http request option.
2076
- * @throws {RequiredError}
2077
- */
2078
- getPoliciesV1CompanyPoliciesGet: (page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2155
+ getCompanyWithControlsV1CompanyControlsCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2079
2156
  /**
2080
2157
  *
2081
2158
  * @summary Update Company
@@ -2112,7 +2189,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
2112
2189
  * @param {*} [options] Override http request option.
2113
2190
  * @throws {RequiredError}
2114
2191
  */
2115
- getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>>;
2192
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseCompanyInDBBase>>;
2116
2193
  /**
2117
2194
  *
2118
2195
  * @summary Get Company
@@ -2125,25 +2202,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
2125
2202
  getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyWithRoles>>;
2126
2203
  /**
2127
2204
  *
2128
- * @summary Get Controls
2205
+ * @summary Get Company With Controls
2129
2206
  * @param {string} companyId
2130
2207
  * @param {string} [authorization]
2131
2208
  * @param {string} [sessionId]
2132
2209
  * @param {*} [options] Override http request option.
2133
2210
  * @throws {RequiredError}
2134
2211
  */
2135
- getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyWithControls>>;
2136
- /**
2137
- *
2138
- * @summary Get Policies
2139
- * @param {number} [page]
2140
- * @param {number} [elements]
2141
- * @param {string} [authorization]
2142
- * @param {string} [sessionId]
2143
- * @param {*} [options] Override http request option.
2144
- * @throws {RequiredError}
2145
- */
2146
- getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2212
+ getCompanyWithControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyWithControls>>;
2147
2213
  /**
2148
2214
  *
2149
2215
  * @summary Update Company
@@ -2180,7 +2246,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2180
2246
  * @param {*} [options] Override http request option.
2181
2247
  * @throws {RequiredError}
2182
2248
  */
2183
- getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>>;
2249
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseCompanyInDBBase>;
2184
2250
  /**
2185
2251
  *
2186
2252
  * @summary Get Company
@@ -2193,25 +2259,14 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2193
2259
  getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyWithRoles>;
2194
2260
  /**
2195
2261
  *
2196
- * @summary Get Controls
2262
+ * @summary Get Company With Controls
2197
2263
  * @param {string} companyId
2198
2264
  * @param {string} [authorization]
2199
2265
  * @param {string} [sessionId]
2200
2266
  * @param {*} [options] Override http request option.
2201
2267
  * @throws {RequiredError}
2202
2268
  */
2203
- getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyWithControls>;
2204
- /**
2205
- *
2206
- * @summary Get Policies
2207
- * @param {number} [page]
2208
- * @param {number} [elements]
2209
- * @param {string} [authorization]
2210
- * @param {string} [sessionId]
2211
- * @param {*} [options] Override http request option.
2212
- * @throws {RequiredError}
2213
- */
2214
- getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2269
+ getCompanyWithControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyWithControls>;
2215
2270
  /**
2216
2271
  *
2217
2272
  * @summary Update Company
@@ -2252,7 +2307,7 @@ export declare class CompanyApi extends BaseAPI {
2252
2307
  * @throws {RequiredError}
2253
2308
  * @memberof CompanyApi
2254
2309
  */
2255
- getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase[], any, {}>>;
2310
+ getCompaniesV1CompanyListGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseCompanyInDBBase, any, {}>>;
2256
2311
  /**
2257
2312
  *
2258
2313
  * @summary Get Company
@@ -2266,7 +2321,7 @@ export declare class CompanyApi extends BaseAPI {
2266
2321
  getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyWithRoles, any, {}>>;
2267
2322
  /**
2268
2323
  *
2269
- * @summary Get Controls
2324
+ * @summary Get Company With Controls
2270
2325
  * @param {string} companyId
2271
2326
  * @param {string} [authorization]
2272
2327
  * @param {string} [sessionId]
@@ -2274,19 +2329,7 @@ export declare class CompanyApi extends BaseAPI {
2274
2329
  * @throws {RequiredError}
2275
2330
  * @memberof CompanyApi
2276
2331
  */
2277
- getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyWithControls, any, {}>>;
2278
- /**
2279
- *
2280
- * @summary Get Policies
2281
- * @param {number} [page]
2282
- * @param {number} [elements]
2283
- * @param {string} [authorization]
2284
- * @param {string} [sessionId]
2285
- * @param {*} [options] Override http request option.
2286
- * @throws {RequiredError}
2287
- * @memberof CompanyApi
2288
- */
2289
- getPoliciesV1CompanyPoliciesGet(page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
2332
+ getCompanyWithControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyWithControls, any, {}>>;
2290
2333
  /**
2291
2334
  *
2292
2335
  * @summary Update Company
@@ -2349,7 +2392,7 @@ export declare const ControlsApiFp: (configuration?: Configuration) => {
2349
2392
  * @param {*} [options] Override http request option.
2350
2393
  * @throws {RequiredError}
2351
2394
  */
2352
- updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetControl>>;
2395
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ControlBase>>;
2353
2396
  };
2354
2397
  /**
2355
2398
  * ControlsApi - factory interface
@@ -2375,7 +2418,7 @@ export declare const ControlsApiFactory: (configuration?: Configuration, basePat
2375
2418
  * @param {*} [options] Override http request option.
2376
2419
  * @throws {RequiredError}
2377
2420
  */
2378
- updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetControl>;
2421
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ControlBase>;
2379
2422
  };
2380
2423
  /**
2381
2424
  * ControlsApi - object-oriented interface
@@ -2405,7 +2448,7 @@ export declare class ControlsApi extends BaseAPI {
2405
2448
  * @throws {RequiredError}
2406
2449
  * @memberof ControlsApi
2407
2450
  */
2408
- updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetControl, any, {}>>;
2451
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ControlBase, any, {}>>;
2409
2452
  }
2410
2453
  /**
2411
2454
  * EvidenceApi - axios parameter creator
@@ -3055,7 +3098,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
3055
3098
  * @param {*} [options] Override http request option.
3056
3099
  * @throws {RequiredError}
3057
3100
  */
3058
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
3101
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponsePolicyRead>>;
3059
3102
  /**
3060
3103
  *
3061
3104
  * @summary Get Policy
@@ -3112,7 +3155,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
3112
3155
  * @param {*} [options] Override http request option.
3113
3156
  * @throws {RequiredError}
3114
3157
  */
3115
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
3158
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponsePolicyRead>;
3116
3159
  /**
3117
3160
  *
3118
3161
  * @summary Get Policy
@@ -3174,7 +3217,7 @@ export declare class PoliciesApi extends BaseAPI {
3174
3217
  * @throws {RequiredError}
3175
3218
  * @memberof PoliciesApi
3176
3219
  */
3177
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
3220
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponsePolicyRead, any, {}>>;
3178
3221
  /**
3179
3222
  *
3180
3223
  * @summary Get Policy