@flagpole/api-types 1.0.16 → 1.0.18
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/README.md +1 -1
- package/lib/flagpole-api-types.d.ts +26 -24
- package/lib/flagpole-api-types.js +15 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# @flagpole/api-types v1.0.
|
|
1
|
+
# @flagpole/api-types v1.0.17
|
|
2
2
|
TypeScript types for FlagPole API generated from OpenAPI specification.
|
|
@@ -22,7 +22,6 @@ export interface AddUserToOrganizationDto {
|
|
|
22
22
|
export type ApiKeysControllerCreateData = any;
|
|
23
23
|
export type ApiKeysControllerDeactivateData = any;
|
|
24
24
|
export type ApiKeysControllerFindAllData = any;
|
|
25
|
-
export type AuthControllerAcceptInvitationData = any;
|
|
26
25
|
export type AuthControllerForgotPasswordData = any;
|
|
27
26
|
export type AuthControllerGetCurrentUserData = any;
|
|
28
27
|
export type AuthControllerGoogleAuthRedirectData = any;
|
|
@@ -246,7 +245,10 @@ export interface LoginDto {
|
|
|
246
245
|
* @example "password123"
|
|
247
246
|
*/
|
|
248
247
|
password: string;
|
|
248
|
+
/** @default false */
|
|
249
|
+
remember?: boolean;
|
|
249
250
|
}
|
|
251
|
+
export type OnboardingControllerAcceptInvitationData = any;
|
|
250
252
|
export type OnboardingControllerRequestDemoData = any;
|
|
251
253
|
export type OrganizationsControllerActivateOrganizationData = any;
|
|
252
254
|
export type OrganizationsControllerAddUserData = any;
|
|
@@ -490,20 +492,6 @@ export declare namespace Api {
|
|
|
490
492
|
type RequestHeaders = {};
|
|
491
493
|
type ResponseBody = AuthControllerResetPasswordData;
|
|
492
494
|
}
|
|
493
|
-
/**
|
|
494
|
-
* No description
|
|
495
|
-
* @tags auth
|
|
496
|
-
* @name AuthControllerAcceptInvitation
|
|
497
|
-
* @request POST:/api/auth/accept-invitation
|
|
498
|
-
* @response `201` `AuthControllerAcceptInvitationData`
|
|
499
|
-
*/
|
|
500
|
-
namespace AuthControllerAcceptInvitation {
|
|
501
|
-
type RequestParams = {};
|
|
502
|
-
type RequestQuery = {};
|
|
503
|
-
type RequestBody = AcceptInvitationDto;
|
|
504
|
-
type RequestHeaders = {};
|
|
505
|
-
type ResponseBody = AuthControllerAcceptInvitationData;
|
|
506
|
-
}
|
|
507
495
|
/**
|
|
508
496
|
* No description
|
|
509
497
|
* @tags users
|
|
@@ -1214,6 +1202,20 @@ export declare namespace Api {
|
|
|
1214
1202
|
type RequestHeaders = {};
|
|
1215
1203
|
type ResponseBody = OnboardingControllerRequestDemoData;
|
|
1216
1204
|
}
|
|
1205
|
+
/**
|
|
1206
|
+
* No description
|
|
1207
|
+
* @tags onboarding
|
|
1208
|
+
* @name OnboardingControllerAcceptInvitation
|
|
1209
|
+
* @request POST:/api/onboarding/accept-invitation
|
|
1210
|
+
* @response `201` `OnboardingControllerAcceptInvitationData`
|
|
1211
|
+
*/
|
|
1212
|
+
namespace OnboardingControllerAcceptInvitation {
|
|
1213
|
+
type RequestParams = {};
|
|
1214
|
+
type RequestQuery = {};
|
|
1215
|
+
type RequestBody = AcceptInvitationDto;
|
|
1216
|
+
type RequestHeaders = {};
|
|
1217
|
+
type ResponseBody = OnboardingControllerAcceptInvitationData;
|
|
1218
|
+
}
|
|
1217
1219
|
}
|
|
1218
1220
|
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
1219
1221
|
export type QueryParamsType = Record<string | number, any>;
|
|
@@ -1341,15 +1343,6 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1341
1343
|
* @response `200` `AuthControllerResetPasswordData` Password reset successful
|
|
1342
1344
|
*/
|
|
1343
1345
|
authControllerResetPassword: (data: ResetPasswordDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1344
|
-
/**
|
|
1345
|
-
* No description
|
|
1346
|
-
*
|
|
1347
|
-
* @tags auth
|
|
1348
|
-
* @name AuthControllerAcceptInvitation
|
|
1349
|
-
* @request POST:/api/auth/accept-invitation
|
|
1350
|
-
* @response `201` `AuthControllerAcceptInvitationData`
|
|
1351
|
-
*/
|
|
1352
|
-
authControllerAcceptInvitation: (data: AcceptInvitationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1353
1346
|
/**
|
|
1354
1347
|
* No description
|
|
1355
1348
|
*
|
|
@@ -1778,5 +1771,14 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1778
1771
|
* @response `201` `OnboardingControllerRequestDemoData`
|
|
1779
1772
|
*/
|
|
1780
1773
|
onboardingControllerRequestDemo: (data: DemoRequestDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1774
|
+
/**
|
|
1775
|
+
* No description
|
|
1776
|
+
*
|
|
1777
|
+
* @tags onboarding
|
|
1778
|
+
* @name OnboardingControllerAcceptInvitation
|
|
1779
|
+
* @request POST:/api/onboarding/accept-invitation
|
|
1780
|
+
* @response `201` `OnboardingControllerAcceptInvitationData`
|
|
1781
|
+
*/
|
|
1782
|
+
onboardingControllerAcceptInvitation: (data: AcceptInvitationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1781
1783
|
};
|
|
1782
1784
|
}
|
|
@@ -212,21 +212,6 @@ class Api {
|
|
|
212
212
|
type: ContentType.Json,
|
|
213
213
|
...params,
|
|
214
214
|
}),
|
|
215
|
-
/**
|
|
216
|
-
* No description
|
|
217
|
-
*
|
|
218
|
-
* @tags auth
|
|
219
|
-
* @name AuthControllerAcceptInvitation
|
|
220
|
-
* @request POST:/api/auth/accept-invitation
|
|
221
|
-
* @response `201` `AuthControllerAcceptInvitationData`
|
|
222
|
-
*/
|
|
223
|
-
authControllerAcceptInvitation: (data, params = {}) => this.http.request({
|
|
224
|
-
path: `/api/auth/accept-invitation`,
|
|
225
|
-
method: "POST",
|
|
226
|
-
body: data,
|
|
227
|
-
type: ContentType.Json,
|
|
228
|
-
...params,
|
|
229
|
-
}),
|
|
230
215
|
/**
|
|
231
216
|
* No description
|
|
232
217
|
*
|
|
@@ -872,6 +857,21 @@ class Api {
|
|
|
872
857
|
type: ContentType.Json,
|
|
873
858
|
...params,
|
|
874
859
|
}),
|
|
860
|
+
/**
|
|
861
|
+
* No description
|
|
862
|
+
*
|
|
863
|
+
* @tags onboarding
|
|
864
|
+
* @name OnboardingControllerAcceptInvitation
|
|
865
|
+
* @request POST:/api/onboarding/accept-invitation
|
|
866
|
+
* @response `201` `OnboardingControllerAcceptInvitationData`
|
|
867
|
+
*/
|
|
868
|
+
onboardingControllerAcceptInvitation: (data, params = {}) => this.http.request({
|
|
869
|
+
path: `/api/onboarding/accept-invitation`,
|
|
870
|
+
method: "POST",
|
|
871
|
+
body: data,
|
|
872
|
+
type: ContentType.Json,
|
|
873
|
+
...params,
|
|
874
|
+
}),
|
|
875
875
|
};
|
|
876
876
|
this.http = http;
|
|
877
877
|
}
|