@flagpole/api-types 1.0.22 → 1.0.25-pr.12.5c119a8
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 +295 -148
- package/lib/flagpole-api-types.js +96 -48
- 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.25
|
|
2
2
|
TypeScript types for FlagPole API generated from OpenAPI specification.
|
|
@@ -7,6 +7,38 @@ export interface ActivateOrganizationDto {
|
|
|
7
7
|
*/
|
|
8
8
|
activateUsers: boolean;
|
|
9
9
|
}
|
|
10
|
+
export type ActivityLogControllerGetEntityActivitiesData = any;
|
|
11
|
+
export interface ActivityLogControllerGetEntityActivitiesParams {
|
|
12
|
+
/** @example 20 */
|
|
13
|
+
limit?: number;
|
|
14
|
+
entityType: "feature_flag" | "project";
|
|
15
|
+
/** Entity ID */
|
|
16
|
+
entityId: string;
|
|
17
|
+
}
|
|
18
|
+
export type ActivityLogControllerGetFeatureFlagActivitiesData = any;
|
|
19
|
+
export interface ActivityLogControllerGetFeatureFlagActivitiesParams {
|
|
20
|
+
/** @example 20 */
|
|
21
|
+
limit?: number;
|
|
22
|
+
/** Feature Flag ID */
|
|
23
|
+
flagId: string;
|
|
24
|
+
}
|
|
25
|
+
export type ActivityLogControllerGetOrganizationActivitiesData = any;
|
|
26
|
+
export interface ActivityLogControllerGetOrganizationActivitiesParams {
|
|
27
|
+
/** @example 50 */
|
|
28
|
+
limit?: number;
|
|
29
|
+
/** @example 0 */
|
|
30
|
+
skip?: number;
|
|
31
|
+
projectId?: string;
|
|
32
|
+
entityType?: "feature_flag" | "project";
|
|
33
|
+
action?: "feature_flag.created" | "feature_flag.updated" | "feature_flag.toggled" | "feature_flag.deleted" | "project.created" | "project.updated" | "project.member_added" | "project.member_removed" | "project.member_role_changed" | "project.deleted";
|
|
34
|
+
}
|
|
35
|
+
export type ActivityLogControllerGetProjectActivitiesData = any;
|
|
36
|
+
export interface ActivityLogControllerGetProjectActivitiesParams {
|
|
37
|
+
/** @example 50 */
|
|
38
|
+
limit?: number;
|
|
39
|
+
/** Project ID */
|
|
40
|
+
projectId: string;
|
|
41
|
+
}
|
|
10
42
|
export interface AddUserToOrganizationDto {
|
|
11
43
|
/**
|
|
12
44
|
* Email of the user to add to the organization
|
|
@@ -24,7 +56,7 @@ export type ApiKeysControllerDeactivateData = any;
|
|
|
24
56
|
export type ApiKeysControllerFindAllData = any;
|
|
25
57
|
export type AuthControllerForgotPasswordData = any;
|
|
26
58
|
export type AuthControllerGetCurrentUserData = any;
|
|
27
|
-
export type
|
|
59
|
+
export type AuthControllerGoogleAuthCallbackApiData = AuthResponseDto;
|
|
28
60
|
export type AuthControllerLoginData = AuthResponseDto;
|
|
29
61
|
export type AuthControllerLogoutData = any;
|
|
30
62
|
export type AuthControllerResetPasswordData = any;
|
|
@@ -39,8 +71,25 @@ export interface AuthResponseDto {
|
|
|
39
71
|
* @example "30d"
|
|
40
72
|
*/
|
|
41
73
|
expires_in?: string;
|
|
42
|
-
/**
|
|
43
|
-
|
|
74
|
+
/**
|
|
75
|
+
* User information
|
|
76
|
+
* @example {"id":"5f9d4a3b2c1d0a3b4c5d6e7f","email":"user@example.com","roles":["user"],"firstName":"John","lastName":"Doe","currentOrganization":"128391831"}
|
|
77
|
+
*/
|
|
78
|
+
user: AuthResponseUserDto;
|
|
79
|
+
}
|
|
80
|
+
export interface AuthResponseUserDto {
|
|
81
|
+
/** @example "128391831" */
|
|
82
|
+
currentOrganization?: string;
|
|
83
|
+
/** @example "user@example.com" */
|
|
84
|
+
email: string;
|
|
85
|
+
/** @example "John" */
|
|
86
|
+
firstName?: string;
|
|
87
|
+
/** @example "5f9d4a3b2c1d0a3b4c5d6e7f" */
|
|
88
|
+
id: string;
|
|
89
|
+
/** @example "Doe" */
|
|
90
|
+
lastName?: string;
|
|
91
|
+
/** @example ["user"] */
|
|
92
|
+
roles?: any[][];
|
|
44
93
|
}
|
|
45
94
|
export interface CheckoutSessionResponseDto {
|
|
46
95
|
/** @example "cs_test_1234567890" */
|
|
@@ -59,9 +108,9 @@ export interface ConditionRuleDto {
|
|
|
59
108
|
countries?: string[];
|
|
60
109
|
/** Days of week (0-6, Sunday=0) */
|
|
61
110
|
daysOfWeek?: number[];
|
|
62
|
-
/** Array of email addresses
|
|
111
|
+
/** Array of email addresses */
|
|
63
112
|
email?: string[];
|
|
64
|
-
/** Array of email domains
|
|
113
|
+
/** Array of email domains */
|
|
65
114
|
emailDomain?: string[];
|
|
66
115
|
/**
|
|
67
116
|
* End date for time-based condition
|
|
@@ -85,9 +134,9 @@ export interface ConditionRuleDto {
|
|
|
85
134
|
startDate?: string;
|
|
86
135
|
/** Time zone for the condition */
|
|
87
136
|
timeZone?: string;
|
|
88
|
-
/** Array of user IDs
|
|
137
|
+
/** Array of user IDs */
|
|
89
138
|
userId?: string[];
|
|
90
|
-
/** Array of user types
|
|
139
|
+
/** Array of user types */
|
|
91
140
|
userType?: string[];
|
|
92
141
|
/** Array of values to match against (custom condition) */
|
|
93
142
|
values?: string[];
|
|
@@ -219,12 +268,12 @@ export interface FeatureFlagConditionsDto {
|
|
|
219
268
|
export type FeatureFlagControllerCreateData = FeatureFlag;
|
|
220
269
|
export type FeatureFlagControllerDeleteData = any;
|
|
221
270
|
export type FeatureFlagControllerFindAllData = FeatureFlag[];
|
|
222
|
-
export type FeatureFlagControllerFindAllSdkData = FeatureFlag[];
|
|
223
|
-
export interface FeatureFlagControllerFindAllSdkParams {
|
|
224
|
-
environments: string;
|
|
225
|
-
}
|
|
226
271
|
export type FeatureFlagControllerToggleData = FeatureFlag;
|
|
227
272
|
export type FeatureFlagControllerUpdateData = any;
|
|
273
|
+
export type FeatureFlagSdkControllerFindAllSdkData = FeatureFlag[];
|
|
274
|
+
export interface FeatureFlagSdkControllerFindAllSdkParams {
|
|
275
|
+
environments: string;
|
|
276
|
+
}
|
|
228
277
|
export type FeedbackControllerSubmitData = any;
|
|
229
278
|
export interface ForgotPasswordDto {
|
|
230
279
|
/**
|
|
@@ -394,8 +443,6 @@ export type UsersControllerGetProfileData = any;
|
|
|
394
443
|
export type UsersControllerInviteData = any;
|
|
395
444
|
export type UsersControllerResendInvitationData = any;
|
|
396
445
|
export type UsersControllerUpdateProfileData = any;
|
|
397
|
-
export type UsersControllerUpdateProjectsData = any;
|
|
398
|
-
export type UsersControllerUpdateRoleData = any;
|
|
399
446
|
export type UsersControllerUpdateUserData = any;
|
|
400
447
|
export declare namespace Api {
|
|
401
448
|
/**
|
|
@@ -428,20 +475,35 @@ export declare namespace Api {
|
|
|
428
475
|
type RequestHeaders = {};
|
|
429
476
|
type ResponseBody = any;
|
|
430
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* No description
|
|
480
|
+
* @tags auth
|
|
481
|
+
* @name AuthControllerGoogleAuthCallbackApi
|
|
482
|
+
* @summary Google auth callback API endpoint
|
|
483
|
+
* @request POST:/api/auth/google/callback-api
|
|
484
|
+
* @response `200` `AuthControllerGoogleAuthCallbackApiData` Returns authentication result as JSON
|
|
485
|
+
*/
|
|
486
|
+
namespace AuthControllerGoogleAuthCallbackApi {
|
|
487
|
+
type RequestParams = {};
|
|
488
|
+
type RequestQuery = {};
|
|
489
|
+
type RequestBody = never;
|
|
490
|
+
type RequestHeaders = {};
|
|
491
|
+
type ResponseBody = AuthControllerGoogleAuthCallbackApiData;
|
|
492
|
+
}
|
|
431
493
|
/**
|
|
432
494
|
* No description
|
|
433
495
|
* @tags auth
|
|
434
496
|
* @name AuthControllerGoogleAuthRedirect
|
|
435
497
|
* @summary Google auth callback
|
|
436
498
|
* @request GET:/api/auth/google/callback
|
|
437
|
-
* @response `
|
|
499
|
+
* @response `302` `void` Redirects to frontend with authentication result
|
|
438
500
|
*/
|
|
439
501
|
namespace AuthControllerGoogleAuthRedirect {
|
|
440
502
|
type RequestParams = {};
|
|
441
503
|
type RequestQuery = {};
|
|
442
504
|
type RequestBody = never;
|
|
443
505
|
type RequestHeaders = {};
|
|
444
|
-
type ResponseBody =
|
|
506
|
+
type ResponseBody = any;
|
|
445
507
|
}
|
|
446
508
|
/**
|
|
447
509
|
* No description
|
|
@@ -539,6 +601,38 @@ export declare namespace Api {
|
|
|
539
601
|
type RequestHeaders = {};
|
|
540
602
|
type ResponseBody = UsersControllerInviteData;
|
|
541
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* No description
|
|
606
|
+
* @tags users
|
|
607
|
+
* @name UsersControllerGetProfile
|
|
608
|
+
* @summary Get current user profile
|
|
609
|
+
* @request GET:/api/users/profile
|
|
610
|
+
* @secure
|
|
611
|
+
* @response `200` `UsersControllerGetProfileData`
|
|
612
|
+
*/
|
|
613
|
+
namespace UsersControllerGetProfile {
|
|
614
|
+
type RequestParams = {};
|
|
615
|
+
type RequestQuery = {};
|
|
616
|
+
type RequestBody = never;
|
|
617
|
+
type RequestHeaders = {};
|
|
618
|
+
type ResponseBody = UsersControllerGetProfileData;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* No description
|
|
622
|
+
* @tags users
|
|
623
|
+
* @name UsersControllerUpdateProfile
|
|
624
|
+
* @summary Update current user profile
|
|
625
|
+
* @request PATCH:/api/users/profile
|
|
626
|
+
* @secure
|
|
627
|
+
* @response `200` `UsersControllerUpdateProfileData`
|
|
628
|
+
*/
|
|
629
|
+
namespace UsersControllerUpdateProfile {
|
|
630
|
+
type RequestParams = {};
|
|
631
|
+
type RequestQuery = {};
|
|
632
|
+
type RequestBody = UpdateUserProfileDto;
|
|
633
|
+
type RequestHeaders = {};
|
|
634
|
+
type ResponseBody = UsersControllerUpdateProfileData;
|
|
635
|
+
}
|
|
542
636
|
/**
|
|
543
637
|
* No description
|
|
544
638
|
* @tags users
|
|
@@ -581,91 +675,114 @@ export declare namespace Api {
|
|
|
581
675
|
/**
|
|
582
676
|
* No description
|
|
583
677
|
* @tags users
|
|
584
|
-
* @name
|
|
585
|
-
* @summary
|
|
586
|
-
* @request
|
|
587
|
-
* @deprecated
|
|
678
|
+
* @name UsersControllerResendInvitation
|
|
679
|
+
* @summary Resend invitation to pending user
|
|
680
|
+
* @request POST:/api/users/{id}/resend-invitation
|
|
588
681
|
* @secure
|
|
589
|
-
* @response `200` `
|
|
682
|
+
* @response `200` `UsersControllerResendInvitationData` Invitation resent successfully
|
|
683
|
+
* @response `403` `void` Insufficient permissions
|
|
590
684
|
*/
|
|
591
|
-
namespace
|
|
685
|
+
namespace UsersControllerResendInvitation {
|
|
592
686
|
type RequestParams = {
|
|
593
687
|
id: string;
|
|
594
688
|
};
|
|
595
689
|
type RequestQuery = {};
|
|
596
690
|
type RequestBody = never;
|
|
597
691
|
type RequestHeaders = {};
|
|
598
|
-
type ResponseBody =
|
|
692
|
+
type ResponseBody = UsersControllerResendInvitationData;
|
|
599
693
|
}
|
|
600
694
|
/**
|
|
601
695
|
* No description
|
|
602
|
-
* @tags
|
|
603
|
-
* @name
|
|
604
|
-
* @summary
|
|
605
|
-
* @request
|
|
606
|
-
* @deprecated
|
|
696
|
+
* @tags activity-logs
|
|
697
|
+
* @name ActivityLogControllerGetOrganizationActivities
|
|
698
|
+
* @summary Get organization activities
|
|
699
|
+
* @request GET:/api/activity-logs
|
|
607
700
|
* @secure
|
|
608
|
-
* @response `200` `
|
|
701
|
+
* @response `200` `ActivityLogControllerGetOrganizationActivitiesData` Returns activity logs with pagination
|
|
609
702
|
*/
|
|
610
|
-
namespace
|
|
611
|
-
type RequestParams = {
|
|
612
|
-
|
|
703
|
+
namespace ActivityLogControllerGetOrganizationActivities {
|
|
704
|
+
type RequestParams = {};
|
|
705
|
+
type RequestQuery = {
|
|
706
|
+
/** @example 50 */
|
|
707
|
+
limit?: number;
|
|
708
|
+
/** @example 0 */
|
|
709
|
+
skip?: number;
|
|
710
|
+
projectId?: string;
|
|
711
|
+
entityType?: "feature_flag" | "project";
|
|
712
|
+
action?: "feature_flag.created" | "feature_flag.updated" | "feature_flag.toggled" | "feature_flag.deleted" | "project.created" | "project.updated" | "project.member_added" | "project.member_removed" | "project.member_role_changed" | "project.deleted";
|
|
613
713
|
};
|
|
614
|
-
type RequestQuery = {};
|
|
615
714
|
type RequestBody = never;
|
|
616
|
-
type RequestHeaders = {
|
|
617
|
-
|
|
715
|
+
type RequestHeaders = {
|
|
716
|
+
"x-organization-id": string;
|
|
717
|
+
};
|
|
718
|
+
type ResponseBody = ActivityLogControllerGetOrganizationActivitiesData;
|
|
618
719
|
}
|
|
619
720
|
/**
|
|
620
721
|
* No description
|
|
621
|
-
* @tags
|
|
622
|
-
* @name
|
|
623
|
-
* @summary
|
|
624
|
-
* @request
|
|
722
|
+
* @tags activity-logs
|
|
723
|
+
* @name ActivityLogControllerGetProjectActivities
|
|
724
|
+
* @summary Get activities for a specific project
|
|
725
|
+
* @request GET:/api/activity-logs/project/{projectId}
|
|
625
726
|
* @secure
|
|
626
|
-
* @response `200` `
|
|
627
|
-
* @response `403` `void` Insufficient permissions
|
|
727
|
+
* @response `200` `ActivityLogControllerGetProjectActivitiesData` Returns project activity logs
|
|
628
728
|
*/
|
|
629
|
-
namespace
|
|
729
|
+
namespace ActivityLogControllerGetProjectActivities {
|
|
630
730
|
type RequestParams = {
|
|
631
|
-
|
|
731
|
+
/** Project ID */
|
|
732
|
+
projectId: string;
|
|
733
|
+
};
|
|
734
|
+
type RequestQuery = {
|
|
735
|
+
/** @example 50 */
|
|
736
|
+
limit?: number;
|
|
632
737
|
};
|
|
633
|
-
type RequestQuery = {};
|
|
634
738
|
type RequestBody = never;
|
|
635
739
|
type RequestHeaders = {};
|
|
636
|
-
type ResponseBody =
|
|
740
|
+
type ResponseBody = ActivityLogControllerGetProjectActivitiesData;
|
|
637
741
|
}
|
|
638
742
|
/**
|
|
639
743
|
* No description
|
|
640
|
-
* @tags
|
|
641
|
-
* @name
|
|
642
|
-
* @summary Get
|
|
643
|
-
* @request GET:/api/
|
|
744
|
+
* @tags activity-logs
|
|
745
|
+
* @name ActivityLogControllerGetFeatureFlagActivities
|
|
746
|
+
* @summary Get activities for a specific feature flag
|
|
747
|
+
* @request GET:/api/activity-logs/feature-flag/{flagId}
|
|
644
748
|
* @secure
|
|
645
|
-
* @response `200` `
|
|
749
|
+
* @response `200` `ActivityLogControllerGetFeatureFlagActivitiesData` Returns feature flag activity history
|
|
646
750
|
*/
|
|
647
|
-
namespace
|
|
648
|
-
type RequestParams = {
|
|
649
|
-
|
|
751
|
+
namespace ActivityLogControllerGetFeatureFlagActivities {
|
|
752
|
+
type RequestParams = {
|
|
753
|
+
/** Feature Flag ID */
|
|
754
|
+
flagId: string;
|
|
755
|
+
};
|
|
756
|
+
type RequestQuery = {
|
|
757
|
+
/** @example 20 */
|
|
758
|
+
limit?: number;
|
|
759
|
+
};
|
|
650
760
|
type RequestBody = never;
|
|
651
761
|
type RequestHeaders = {};
|
|
652
|
-
type ResponseBody =
|
|
762
|
+
type ResponseBody = ActivityLogControllerGetFeatureFlagActivitiesData;
|
|
653
763
|
}
|
|
654
764
|
/**
|
|
655
765
|
* No description
|
|
656
|
-
* @tags
|
|
657
|
-
* @name
|
|
658
|
-
* @summary
|
|
659
|
-
* @request
|
|
766
|
+
* @tags activity-logs
|
|
767
|
+
* @name ActivityLogControllerGetEntityActivities
|
|
768
|
+
* @summary Get activities for a specific entity
|
|
769
|
+
* @request GET:/api/activity-logs/entity/{entityType}/{entityId}
|
|
660
770
|
* @secure
|
|
661
|
-
* @response `200` `
|
|
771
|
+
* @response `200` `ActivityLogControllerGetEntityActivitiesData` Returns entity activity history
|
|
662
772
|
*/
|
|
663
|
-
namespace
|
|
664
|
-
type RequestParams = {
|
|
665
|
-
|
|
666
|
-
|
|
773
|
+
namespace ActivityLogControllerGetEntityActivities {
|
|
774
|
+
type RequestParams = {
|
|
775
|
+
entityType: "feature_flag" | "project";
|
|
776
|
+
/** Entity ID */
|
|
777
|
+
entityId: string;
|
|
778
|
+
};
|
|
779
|
+
type RequestQuery = {
|
|
780
|
+
/** @example 20 */
|
|
781
|
+
limit?: number;
|
|
782
|
+
};
|
|
783
|
+
type RequestBody = never;
|
|
667
784
|
type RequestHeaders = {};
|
|
668
|
-
type ResponseBody =
|
|
785
|
+
type ResponseBody = ActivityLogControllerGetEntityActivitiesData;
|
|
669
786
|
}
|
|
670
787
|
/**
|
|
671
788
|
* No description
|
|
@@ -924,13 +1041,13 @@ export declare namespace Api {
|
|
|
924
1041
|
}
|
|
925
1042
|
/**
|
|
926
1043
|
* No description
|
|
927
|
-
* @tags feature-flags
|
|
928
|
-
* @name
|
|
1044
|
+
* @tags feature-flags-sdk
|
|
1045
|
+
* @name FeatureFlagSdkControllerFindAllSdk
|
|
929
1046
|
* @summary Get all feature flags for SDK
|
|
930
1047
|
* @request GET:/api/feature-flags/sdk
|
|
931
|
-
* @response `200` `
|
|
1048
|
+
* @response `200` `FeatureFlagSdkControllerFindAllSdkData` Returns all feature flags
|
|
932
1049
|
*/
|
|
933
|
-
namespace
|
|
1050
|
+
namespace FeatureFlagSdkControllerFindAllSdk {
|
|
934
1051
|
type RequestParams = {};
|
|
935
1052
|
type RequestQuery = {
|
|
936
1053
|
environments: string;
|
|
@@ -940,7 +1057,7 @@ export declare namespace Api {
|
|
|
940
1057
|
/** API Key for SDK authentication */
|
|
941
1058
|
"x-api-key": string;
|
|
942
1059
|
};
|
|
943
|
-
type ResponseBody =
|
|
1060
|
+
type ResponseBody = FeatureFlagSdkControllerFindAllSdkData;
|
|
944
1061
|
}
|
|
945
1062
|
/**
|
|
946
1063
|
* No description
|
|
@@ -1293,7 +1410,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1293
1410
|
* @request POST:/api/auth/login
|
|
1294
1411
|
* @response `200` `AuthControllerLoginData` Returns JWT token and user information
|
|
1295
1412
|
*/
|
|
1296
|
-
authControllerLogin: (data: LoginDto, params?: RequestParams) => Promise<AxiosResponse<AuthResponseDto, any>>;
|
|
1413
|
+
authControllerLogin: (data: LoginDto, params?: RequestParams) => Promise<AxiosResponse<AuthResponseDto, any, {}>>;
|
|
1297
1414
|
/**
|
|
1298
1415
|
* No description
|
|
1299
1416
|
*
|
|
@@ -1303,7 +1420,17 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1303
1420
|
* @request GET:/api/auth/google
|
|
1304
1421
|
* @response `302` `void` Redirects to Google login page
|
|
1305
1422
|
*/
|
|
1306
|
-
authControllerGoogleAuth: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1423
|
+
authControllerGoogleAuth: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1424
|
+
/**
|
|
1425
|
+
* No description
|
|
1426
|
+
*
|
|
1427
|
+
* @tags auth
|
|
1428
|
+
* @name AuthControllerGoogleAuthCallbackApi
|
|
1429
|
+
* @summary Google auth callback API endpoint
|
|
1430
|
+
* @request POST:/api/auth/google/callback-api
|
|
1431
|
+
* @response `200` `AuthControllerGoogleAuthCallbackApiData` Returns authentication result as JSON
|
|
1432
|
+
*/
|
|
1433
|
+
authControllerGoogleAuthCallbackApi: (params?: RequestParams) => Promise<AxiosResponse<AuthResponseDto, any, {}>>;
|
|
1307
1434
|
/**
|
|
1308
1435
|
* No description
|
|
1309
1436
|
*
|
|
@@ -1311,9 +1438,9 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1311
1438
|
* @name AuthControllerGoogleAuthRedirect
|
|
1312
1439
|
* @summary Google auth callback
|
|
1313
1440
|
* @request GET:/api/auth/google/callback
|
|
1314
|
-
* @response `
|
|
1441
|
+
* @response `302` `void` Redirects to frontend with authentication result
|
|
1315
1442
|
*/
|
|
1316
|
-
authControllerGoogleAuthRedirect: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1443
|
+
authControllerGoogleAuthRedirect: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1317
1444
|
/**
|
|
1318
1445
|
* No description
|
|
1319
1446
|
*
|
|
@@ -1324,7 +1451,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1324
1451
|
* @secure
|
|
1325
1452
|
* @response `200` `AuthControllerGetCurrentUserData` Returns current user information
|
|
1326
1453
|
*/
|
|
1327
|
-
authControllerGetCurrentUser: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1454
|
+
authControllerGetCurrentUser: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1328
1455
|
/**
|
|
1329
1456
|
* No description
|
|
1330
1457
|
*
|
|
@@ -1336,7 +1463,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1336
1463
|
* @response `204` `AuthControllerLogoutData` User logged out successfully
|
|
1337
1464
|
* @response `500` `void` Error logging out
|
|
1338
1465
|
*/
|
|
1339
|
-
authControllerLogout: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1466
|
+
authControllerLogout: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1340
1467
|
/**
|
|
1341
1468
|
* No description
|
|
1342
1469
|
*
|
|
@@ -1346,7 +1473,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1346
1473
|
* @request POST:/api/auth/forgot-password
|
|
1347
1474
|
* @response `200` `AuthControllerForgotPasswordData` Password reset email sent if user exists
|
|
1348
1475
|
*/
|
|
1349
|
-
authControllerForgotPassword: (data: ForgotPasswordDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1476
|
+
authControllerForgotPassword: (data: ForgotPasswordDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1350
1477
|
/**
|
|
1351
1478
|
* No description
|
|
1352
1479
|
*
|
|
@@ -1356,7 +1483,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1356
1483
|
* @request POST:/api/auth/reset-password
|
|
1357
1484
|
* @response `200` `AuthControllerResetPasswordData` Password reset successful
|
|
1358
1485
|
*/
|
|
1359
|
-
authControllerResetPassword: (data: ResetPasswordDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1486
|
+
authControllerResetPassword: (data: ResetPasswordDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1360
1487
|
/**
|
|
1361
1488
|
* No description
|
|
1362
1489
|
*
|
|
@@ -1367,7 +1494,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1367
1494
|
* @secure
|
|
1368
1495
|
* @response `200` `UsersControllerFindAllData` Users retrieved successfully
|
|
1369
1496
|
*/
|
|
1370
|
-
usersControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1497
|
+
usersControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1371
1498
|
/**
|
|
1372
1499
|
* No description
|
|
1373
1500
|
*
|
|
@@ -1379,7 +1506,29 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1379
1506
|
* @response `201` `UsersControllerInviteData` User invited successfully
|
|
1380
1507
|
* @response `403` `void` Insufficient permissions
|
|
1381
1508
|
*/
|
|
1382
|
-
usersControllerInvite: (data: InviteUserDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1509
|
+
usersControllerInvite: (data: InviteUserDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1510
|
+
/**
|
|
1511
|
+
* No description
|
|
1512
|
+
*
|
|
1513
|
+
* @tags users
|
|
1514
|
+
* @name UsersControllerGetProfile
|
|
1515
|
+
* @summary Get current user profile
|
|
1516
|
+
* @request GET:/api/users/profile
|
|
1517
|
+
* @secure
|
|
1518
|
+
* @response `200` `UsersControllerGetProfileData`
|
|
1519
|
+
*/
|
|
1520
|
+
usersControllerGetProfile: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1521
|
+
/**
|
|
1522
|
+
* No description
|
|
1523
|
+
*
|
|
1524
|
+
* @tags users
|
|
1525
|
+
* @name UsersControllerUpdateProfile
|
|
1526
|
+
* @summary Update current user profile
|
|
1527
|
+
* @request PATCH:/api/users/profile
|
|
1528
|
+
* @secure
|
|
1529
|
+
* @response `200` `UsersControllerUpdateProfileData`
|
|
1530
|
+
*/
|
|
1531
|
+
usersControllerUpdateProfile: (data: UpdateUserProfileDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1383
1532
|
/**
|
|
1384
1533
|
* No description
|
|
1385
1534
|
*
|
|
@@ -1392,7 +1541,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1392
1541
|
* @response `403` `void` Insufficient permissions
|
|
1393
1542
|
* @response `404` `void` User not found
|
|
1394
1543
|
*/
|
|
1395
|
-
usersControllerUpdateUser: (id: string, data: UpdateUserDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1544
|
+
usersControllerUpdateUser: (id: string, data: UpdateUserDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1396
1545
|
/**
|
|
1397
1546
|
* No description
|
|
1398
1547
|
*
|
|
@@ -1404,65 +1553,63 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1404
1553
|
* @response `200` `UsersControllerDeleteUserData` User removed successfully
|
|
1405
1554
|
* @response `403` `void` Insufficient permissions - only owners can remove users
|
|
1406
1555
|
*/
|
|
1407
|
-
usersControllerDeleteUser: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1556
|
+
usersControllerDeleteUser: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1408
1557
|
/**
|
|
1409
1558
|
* No description
|
|
1410
1559
|
*
|
|
1411
1560
|
* @tags users
|
|
1412
|
-
* @name
|
|
1413
|
-
* @summary
|
|
1414
|
-
* @request
|
|
1415
|
-
* @deprecated
|
|
1561
|
+
* @name UsersControllerResendInvitation
|
|
1562
|
+
* @summary Resend invitation to pending user
|
|
1563
|
+
* @request POST:/api/users/{id}/resend-invitation
|
|
1416
1564
|
* @secure
|
|
1417
|
-
* @response `200` `
|
|
1565
|
+
* @response `200` `UsersControllerResendInvitationData` Invitation resent successfully
|
|
1566
|
+
* @response `403` `void` Insufficient permissions
|
|
1418
1567
|
*/
|
|
1419
|
-
|
|
1568
|
+
usersControllerResendInvitation: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1420
1569
|
/**
|
|
1421
1570
|
* No description
|
|
1422
1571
|
*
|
|
1423
|
-
* @tags
|
|
1424
|
-
* @name
|
|
1425
|
-
* @summary
|
|
1426
|
-
* @request
|
|
1427
|
-
* @deprecated
|
|
1572
|
+
* @tags activity-logs
|
|
1573
|
+
* @name ActivityLogControllerGetOrganizationActivities
|
|
1574
|
+
* @summary Get organization activities
|
|
1575
|
+
* @request GET:/api/activity-logs
|
|
1428
1576
|
* @secure
|
|
1429
|
-
* @response `200` `
|
|
1577
|
+
* @response `200` `ActivityLogControllerGetOrganizationActivitiesData` Returns activity logs with pagination
|
|
1430
1578
|
*/
|
|
1431
|
-
|
|
1579
|
+
activityLogControllerGetOrganizationActivities: (query: ActivityLogControllerGetOrganizationActivitiesParams, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1432
1580
|
/**
|
|
1433
1581
|
* No description
|
|
1434
1582
|
*
|
|
1435
|
-
* @tags
|
|
1436
|
-
* @name
|
|
1437
|
-
* @summary
|
|
1438
|
-
* @request
|
|
1583
|
+
* @tags activity-logs
|
|
1584
|
+
* @name ActivityLogControllerGetProjectActivities
|
|
1585
|
+
* @summary Get activities for a specific project
|
|
1586
|
+
* @request GET:/api/activity-logs/project/{projectId}
|
|
1439
1587
|
* @secure
|
|
1440
|
-
* @response `200` `
|
|
1441
|
-
* @response `403` `void` Insufficient permissions
|
|
1588
|
+
* @response `200` `ActivityLogControllerGetProjectActivitiesData` Returns project activity logs
|
|
1442
1589
|
*/
|
|
1443
|
-
|
|
1590
|
+
activityLogControllerGetProjectActivities: ({ projectId, ...query }: ActivityLogControllerGetProjectActivitiesParams, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1444
1591
|
/**
|
|
1445
1592
|
* No description
|
|
1446
1593
|
*
|
|
1447
|
-
* @tags
|
|
1448
|
-
* @name
|
|
1449
|
-
* @summary Get
|
|
1450
|
-
* @request GET:/api/
|
|
1594
|
+
* @tags activity-logs
|
|
1595
|
+
* @name ActivityLogControllerGetFeatureFlagActivities
|
|
1596
|
+
* @summary Get activities for a specific feature flag
|
|
1597
|
+
* @request GET:/api/activity-logs/feature-flag/{flagId}
|
|
1451
1598
|
* @secure
|
|
1452
|
-
* @response `200` `
|
|
1599
|
+
* @response `200` `ActivityLogControllerGetFeatureFlagActivitiesData` Returns feature flag activity history
|
|
1453
1600
|
*/
|
|
1454
|
-
|
|
1601
|
+
activityLogControllerGetFeatureFlagActivities: ({ flagId, ...query }: ActivityLogControllerGetFeatureFlagActivitiesParams, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1455
1602
|
/**
|
|
1456
1603
|
* No description
|
|
1457
1604
|
*
|
|
1458
|
-
* @tags
|
|
1459
|
-
* @name
|
|
1460
|
-
* @summary
|
|
1461
|
-
* @request
|
|
1605
|
+
* @tags activity-logs
|
|
1606
|
+
* @name ActivityLogControllerGetEntityActivities
|
|
1607
|
+
* @summary Get activities for a specific entity
|
|
1608
|
+
* @request GET:/api/activity-logs/entity/{entityType}/{entityId}
|
|
1462
1609
|
* @secure
|
|
1463
|
-
* @response `200` `
|
|
1610
|
+
* @response `200` `ActivityLogControllerGetEntityActivitiesData` Returns entity activity history
|
|
1464
1611
|
*/
|
|
1465
|
-
|
|
1612
|
+
activityLogControllerGetEntityActivities: ({ entityType, entityId, ...query }: ActivityLogControllerGetEntityActivitiesParams, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1466
1613
|
/**
|
|
1467
1614
|
* No description
|
|
1468
1615
|
*
|
|
@@ -1473,7 +1620,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1473
1620
|
* @secure
|
|
1474
1621
|
* @response `201` `OrganizationsControllerCreateData`
|
|
1475
1622
|
*/
|
|
1476
|
-
organizationsControllerCreate: (data: CreateOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1623
|
+
organizationsControllerCreate: (data: CreateOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1477
1624
|
/**
|
|
1478
1625
|
* No description
|
|
1479
1626
|
*
|
|
@@ -1483,7 +1630,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1483
1630
|
* @secure
|
|
1484
1631
|
* @response `200` `OrganizationsControllerFindAllData`
|
|
1485
1632
|
*/
|
|
1486
|
-
organizationsControllerFindAll: (query: OrganizationsControllerFindAllParams, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1633
|
+
organizationsControllerFindAll: (query: OrganizationsControllerFindAllParams, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1487
1634
|
/**
|
|
1488
1635
|
* No description
|
|
1489
1636
|
*
|
|
@@ -1494,7 +1641,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1494
1641
|
* @secure
|
|
1495
1642
|
* @response `201` `OrganizationsControllerAddUserData`
|
|
1496
1643
|
*/
|
|
1497
|
-
organizationsControllerAddUser: (id: string, data: AddUserToOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1644
|
+
organizationsControllerAddUser: (id: string, data: AddUserToOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1498
1645
|
/**
|
|
1499
1646
|
* No description
|
|
1500
1647
|
*
|
|
@@ -1505,7 +1652,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1505
1652
|
* @secure
|
|
1506
1653
|
* @response `201` `OrganizationsControllerSwitchOrganizationData`
|
|
1507
1654
|
*/
|
|
1508
|
-
organizationsControllerSwitchOrganization: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1655
|
+
organizationsControllerSwitchOrganization: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1509
1656
|
/**
|
|
1510
1657
|
* No description
|
|
1511
1658
|
*
|
|
@@ -1516,7 +1663,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1516
1663
|
* @secure
|
|
1517
1664
|
* @response `200` `OrganizationsControllerGetDemoRequestsData`
|
|
1518
1665
|
*/
|
|
1519
|
-
organizationsControllerGetDemoRequests: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1666
|
+
organizationsControllerGetDemoRequests: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1520
1667
|
/**
|
|
1521
1668
|
* @description Sets organization status to ACTIVE and optionally activates all users in the organization
|
|
1522
1669
|
*
|
|
@@ -1527,7 +1674,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1527
1674
|
* @secure
|
|
1528
1675
|
* @response `200` `OrganizationsControllerActivateOrganizationData`
|
|
1529
1676
|
*/
|
|
1530
|
-
organizationsControllerActivateOrganization: (id: string, data: ActivateOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1677
|
+
organizationsControllerActivateOrganization: (id: string, data: ActivateOrganizationDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1531
1678
|
/**
|
|
1532
1679
|
* No description
|
|
1533
1680
|
*
|
|
@@ -1535,7 +1682,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1535
1682
|
* @request POST:/api/api-keys
|
|
1536
1683
|
* @response `201` `ApiKeysControllerCreateData`
|
|
1537
1684
|
*/
|
|
1538
|
-
apiKeysControllerCreate: (data: CreateApiKeyDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1685
|
+
apiKeysControllerCreate: (data: CreateApiKeyDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1539
1686
|
/**
|
|
1540
1687
|
* No description
|
|
1541
1688
|
*
|
|
@@ -1543,7 +1690,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1543
1690
|
* @request GET:/api/api-keys
|
|
1544
1691
|
* @response `200` `ApiKeysControllerFindAllData`
|
|
1545
1692
|
*/
|
|
1546
|
-
apiKeysControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1693
|
+
apiKeysControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1547
1694
|
/**
|
|
1548
1695
|
* No description
|
|
1549
1696
|
*
|
|
@@ -1551,7 +1698,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1551
1698
|
* @request PATCH:/api/api-keys/{id}/deactivate
|
|
1552
1699
|
* @response `200` `ApiKeysControllerDeactivateData`
|
|
1553
1700
|
*/
|
|
1554
|
-
apiKeysControllerDeactivate: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1701
|
+
apiKeysControllerDeactivate: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1555
1702
|
/**
|
|
1556
1703
|
* No description
|
|
1557
1704
|
*
|
|
@@ -1562,7 +1709,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1562
1709
|
* @secure
|
|
1563
1710
|
* @response `201` `FeatureFlagControllerCreateData` Feature flag created successfully
|
|
1564
1711
|
*/
|
|
1565
|
-
featureFlagControllerCreate: (data: CreateFeatureFlagDto, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
1712
|
+
featureFlagControllerCreate: (data: CreateFeatureFlagDto, params?: RequestParams) => Promise<AxiosResponse<object, any, {}>>;
|
|
1566
1713
|
/**
|
|
1567
1714
|
* No description
|
|
1568
1715
|
*
|
|
@@ -1573,7 +1720,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1573
1720
|
* @secure
|
|
1574
1721
|
* @response `200` `FeatureFlagControllerFindAllData` Returns all feature flags
|
|
1575
1722
|
*/
|
|
1576
|
-
featureFlagControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<FeatureFlagControllerFindAllData, any>>;
|
|
1723
|
+
featureFlagControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<FeatureFlagControllerFindAllData, any, {}>>;
|
|
1577
1724
|
/**
|
|
1578
1725
|
* No description
|
|
1579
1726
|
*
|
|
@@ -1584,7 +1731,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1584
1731
|
* @secure
|
|
1585
1732
|
* @response `200` `FeatureFlagControllerToggleData` Feature flag toggled successfully
|
|
1586
1733
|
*/
|
|
1587
|
-
featureFlagControllerToggle: (id: string, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
1734
|
+
featureFlagControllerToggle: (id: string, params?: RequestParams) => Promise<AxiosResponse<object, any, {}>>;
|
|
1588
1735
|
/**
|
|
1589
1736
|
* No description
|
|
1590
1737
|
*
|
|
@@ -1595,7 +1742,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1595
1742
|
* @secure
|
|
1596
1743
|
* @response `200` `FeatureFlagControllerUpdateData`
|
|
1597
1744
|
*/
|
|
1598
|
-
featureFlagControllerUpdate: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1745
|
+
featureFlagControllerUpdate: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1599
1746
|
/**
|
|
1600
1747
|
* No description
|
|
1601
1748
|
*
|
|
@@ -1606,17 +1753,17 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1606
1753
|
* @secure
|
|
1607
1754
|
* @response `200` `FeatureFlagControllerDeleteData`
|
|
1608
1755
|
*/
|
|
1609
|
-
featureFlagControllerDelete: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1756
|
+
featureFlagControllerDelete: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1610
1757
|
/**
|
|
1611
1758
|
* No description
|
|
1612
1759
|
*
|
|
1613
|
-
* @tags feature-flags
|
|
1614
|
-
* @name
|
|
1760
|
+
* @tags feature-flags-sdk
|
|
1761
|
+
* @name FeatureFlagSdkControllerFindAllSdk
|
|
1615
1762
|
* @summary Get all feature flags for SDK
|
|
1616
1763
|
* @request GET:/api/feature-flags/sdk
|
|
1617
|
-
* @response `200` `
|
|
1764
|
+
* @response `200` `FeatureFlagSdkControllerFindAllSdkData` Returns all feature flags
|
|
1618
1765
|
*/
|
|
1619
|
-
|
|
1766
|
+
featureFlagSdkControllerFindAllSdk: (query: FeatureFlagSdkControllerFindAllSdkParams, params?: RequestParams) => Promise<AxiosResponse<FeatureFlagSdkControllerFindAllSdkData, any, {}>>;
|
|
1620
1767
|
/**
|
|
1621
1768
|
* No description
|
|
1622
1769
|
*
|
|
@@ -1624,7 +1771,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1624
1771
|
* @request GET:/api/projects
|
|
1625
1772
|
* @response `200` `ProjectsControllerFindAllData`
|
|
1626
1773
|
*/
|
|
1627
|
-
projectsControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1774
|
+
projectsControllerFindAll: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1628
1775
|
/**
|
|
1629
1776
|
* No description
|
|
1630
1777
|
*
|
|
@@ -1632,7 +1779,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1632
1779
|
* @request POST:/api/projects
|
|
1633
1780
|
* @response `201` `ProjectsControllerCreateData`
|
|
1634
1781
|
*/
|
|
1635
|
-
projectsControllerCreate: (data: CreateProjectDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1782
|
+
projectsControllerCreate: (data: CreateProjectDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1636
1783
|
/**
|
|
1637
1784
|
* No description
|
|
1638
1785
|
*
|
|
@@ -1640,7 +1787,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1640
1787
|
* @request PATCH:/api/projects/{id}
|
|
1641
1788
|
* @response `200` `ProjectsControllerUpdateData`
|
|
1642
1789
|
*/
|
|
1643
|
-
projectsControllerUpdate: (id: string, data: UpdateProjectDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1790
|
+
projectsControllerUpdate: (id: string, data: UpdateProjectDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1644
1791
|
/**
|
|
1645
1792
|
* No description
|
|
1646
1793
|
*
|
|
@@ -1648,7 +1795,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1648
1795
|
* @request DELETE:/api/projects/{id}
|
|
1649
1796
|
* @response `200` `ProjectsControllerDeleteData`
|
|
1650
1797
|
*/
|
|
1651
|
-
projectsControllerDelete: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1798
|
+
projectsControllerDelete: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1652
1799
|
/**
|
|
1653
1800
|
* No description
|
|
1654
1801
|
*
|
|
@@ -1656,7 +1803,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1656
1803
|
* @request POST:/api/feedback
|
|
1657
1804
|
* @response `201` `FeedbackControllerSubmitData`
|
|
1658
1805
|
*/
|
|
1659
|
-
feedbackControllerSubmit: (data: SubmitFeedbackDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1806
|
+
feedbackControllerSubmit: (data: SubmitFeedbackDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1660
1807
|
/**
|
|
1661
1808
|
* No description
|
|
1662
1809
|
*
|
|
@@ -1667,7 +1814,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1667
1814
|
* @response `200` `StripeControllerHandleWebhookData` Webhook processed successfully
|
|
1668
1815
|
* @response `400` `void` Bad request or webhook error
|
|
1669
1816
|
*/
|
|
1670
|
-
stripeControllerHandleWebhook: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1817
|
+
stripeControllerHandleWebhook: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1671
1818
|
/**
|
|
1672
1819
|
* No description
|
|
1673
1820
|
*
|
|
@@ -1676,7 +1823,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1676
1823
|
* @request POST:/api/stripe/webhook-debug
|
|
1677
1824
|
* @response `201` `StripeControllerHandleWebhookDebugData`
|
|
1678
1825
|
*/
|
|
1679
|
-
stripeControllerHandleWebhookDebug: (params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1826
|
+
stripeControllerHandleWebhookDebug: (params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1680
1827
|
/**
|
|
1681
1828
|
* No description
|
|
1682
1829
|
*
|
|
@@ -1687,7 +1834,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1687
1834
|
* @response `200` `StripeControllerCreateCheckoutSessionData` Checkout session created successfully
|
|
1688
1835
|
* @response `400` `void` Error creating checkout session
|
|
1689
1836
|
*/
|
|
1690
|
-
stripeControllerCreateCheckoutSession: (data: CreateCheckoutSessionDto, params?: RequestParams) => Promise<AxiosResponse<CheckoutSessionResponseDto, any>>;
|
|
1837
|
+
stripeControllerCreateCheckoutSession: (data: CreateCheckoutSessionDto, params?: RequestParams) => Promise<AxiosResponse<CheckoutSessionResponseDto, any, {}>>;
|
|
1691
1838
|
/**
|
|
1692
1839
|
* No description
|
|
1693
1840
|
*
|
|
@@ -1698,7 +1845,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1698
1845
|
* @response `200` `StripeControllerCreateCheckoutSessionByPlanData` Checkout session created successfully
|
|
1699
1846
|
* @response `400` `void` Error creating checkout session
|
|
1700
1847
|
*/
|
|
1701
|
-
stripeControllerCreateCheckoutSessionByPlan: (data: CreateCheckoutSessionByPlanDto, params?: RequestParams) => Promise<AxiosResponse<CheckoutSessionResponseDto, any>>;
|
|
1848
|
+
stripeControllerCreateCheckoutSessionByPlan: (data: CreateCheckoutSessionByPlanDto, params?: RequestParams) => Promise<AxiosResponse<CheckoutSessionResponseDto, any, {}>>;
|
|
1702
1849
|
/**
|
|
1703
1850
|
* No description
|
|
1704
1851
|
*
|
|
@@ -1709,7 +1856,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1709
1856
|
* @response `200` `StripeControllerGetProductsData` Products retrieved successfully
|
|
1710
1857
|
* @response `400` `void` Error fetching products
|
|
1711
1858
|
*/
|
|
1712
|
-
stripeControllerGetProducts: (query: StripeControllerGetProductsParams, params?: RequestParams) => Promise<AxiosResponse<StripeProductsResponseDto, any>>;
|
|
1859
|
+
stripeControllerGetProducts: (query: StripeControllerGetProductsParams, params?: RequestParams) => Promise<AxiosResponse<StripeProductsResponseDto, any, {}>>;
|
|
1713
1860
|
/**
|
|
1714
1861
|
* No description
|
|
1715
1862
|
*
|
|
@@ -1719,7 +1866,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1719
1866
|
* @request GET:/api/stripe/environment
|
|
1720
1867
|
* @response `200` `StripeControllerGetEnvironmentData` Environment information
|
|
1721
1868
|
*/
|
|
1722
|
-
stripeControllerGetEnvironment: (params?: RequestParams) => Promise<AxiosResponse<StripeEnvironmentResponseDto, any>>;
|
|
1869
|
+
stripeControllerGetEnvironment: (params?: RequestParams) => Promise<AxiosResponse<StripeEnvironmentResponseDto, any, {}>>;
|
|
1723
1870
|
/**
|
|
1724
1871
|
* No description
|
|
1725
1872
|
*
|
|
@@ -1730,7 +1877,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1730
1877
|
* @response `200` `StripeControllerCreatePaymentIntentData` Payment intent created successfully
|
|
1731
1878
|
* @response `400` `void` Error creating payment intent
|
|
1732
1879
|
*/
|
|
1733
|
-
stripeControllerCreatePaymentIntent: (data: CreatePaymentIntentDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1880
|
+
stripeControllerCreatePaymentIntent: (data: CreatePaymentIntentDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1734
1881
|
/**
|
|
1735
1882
|
* No description
|
|
1736
1883
|
*
|
|
@@ -1741,7 +1888,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1741
1888
|
* @response `200` `StripeControllerGetSubscriptionData` Subscription retrieved successfully
|
|
1742
1889
|
* @response `404` `void` Subscription not found
|
|
1743
1890
|
*/
|
|
1744
|
-
stripeControllerGetSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1891
|
+
stripeControllerGetSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1745
1892
|
/**
|
|
1746
1893
|
* No description
|
|
1747
1894
|
*
|
|
@@ -1752,7 +1899,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1752
1899
|
* @response `200` `StripeControllerUpdateSubscriptionData` Subscription updated successfully
|
|
1753
1900
|
* @response `404` `void` Subscription not found
|
|
1754
1901
|
*/
|
|
1755
|
-
stripeControllerUpdateSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1902
|
+
stripeControllerUpdateSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1756
1903
|
/**
|
|
1757
1904
|
* No description
|
|
1758
1905
|
*
|
|
@@ -1763,7 +1910,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1763
1910
|
* @response `200` `StripeControllerGetCustomerSubscriptionsData` Customer subscriptions retrieved successfully
|
|
1764
1911
|
* @response `404` `void` Customer not found
|
|
1765
1912
|
*/
|
|
1766
|
-
stripeControllerGetCustomerSubscriptions: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1913
|
+
stripeControllerGetCustomerSubscriptions: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1767
1914
|
/**
|
|
1768
1915
|
* No description
|
|
1769
1916
|
*
|
|
@@ -1774,7 +1921,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1774
1921
|
* @response `200` `StripeControllerCancelSubscriptionData` Subscription canceled successfully
|
|
1775
1922
|
* @response `404` `void` Subscription not found
|
|
1776
1923
|
*/
|
|
1777
|
-
stripeControllerCancelSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1924
|
+
stripeControllerCancelSubscription: (id: string, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1778
1925
|
/**
|
|
1779
1926
|
* No description
|
|
1780
1927
|
*
|
|
@@ -1784,7 +1931,7 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1784
1931
|
* @request POST:/api/onboarding/request-demo
|
|
1785
1932
|
* @response `201` `OnboardingControllerRequestDemoData`
|
|
1786
1933
|
*/
|
|
1787
|
-
onboardingControllerRequestDemo: (data: DemoRequestDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1934
|
+
onboardingControllerRequestDemo: (data: DemoRequestDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1788
1935
|
/**
|
|
1789
1936
|
* No description
|
|
1790
1937
|
*
|
|
@@ -1793,6 +1940,6 @@ export declare class Api<SecurityDataType extends unknown> {
|
|
|
1793
1940
|
* @request POST:/api/onboarding/accept-invitation
|
|
1794
1941
|
* @response `201` `OnboardingControllerAcceptInvitationData`
|
|
1795
1942
|
*/
|
|
1796
|
-
onboardingControllerAcceptInvitation: (data: AcceptInvitationDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
1943
|
+
onboardingControllerAcceptInvitation: (data: AcceptInvitationDto, params?: RequestParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
1797
1944
|
};
|
|
1798
1945
|
}
|
|
@@ -133,6 +133,20 @@ class Api {
|
|
|
133
133
|
method: "GET",
|
|
134
134
|
...params,
|
|
135
135
|
}),
|
|
136
|
+
/**
|
|
137
|
+
* No description
|
|
138
|
+
*
|
|
139
|
+
* @tags auth
|
|
140
|
+
* @name AuthControllerGoogleAuthCallbackApi
|
|
141
|
+
* @summary Google auth callback API endpoint
|
|
142
|
+
* @request POST:/api/auth/google/callback-api
|
|
143
|
+
* @response `200` `AuthControllerGoogleAuthCallbackApiData` Returns authentication result as JSON
|
|
144
|
+
*/
|
|
145
|
+
authControllerGoogleAuthCallbackApi: (params = {}) => this.http.request({
|
|
146
|
+
path: `/api/auth/google/callback-api`,
|
|
147
|
+
method: "POST",
|
|
148
|
+
...params,
|
|
149
|
+
}),
|
|
136
150
|
/**
|
|
137
151
|
* No description
|
|
138
152
|
*
|
|
@@ -140,7 +154,7 @@ class Api {
|
|
|
140
154
|
* @name AuthControllerGoogleAuthRedirect
|
|
141
155
|
* @summary Google auth callback
|
|
142
156
|
* @request GET:/api/auth/google/callback
|
|
143
|
-
* @response `
|
|
157
|
+
* @response `302` `void` Redirects to frontend with authentication result
|
|
144
158
|
*/
|
|
145
159
|
authControllerGoogleAuthRedirect: (params = {}) => this.http.request({
|
|
146
160
|
path: `/api/auth/google/callback`,
|
|
@@ -247,6 +261,40 @@ class Api {
|
|
|
247
261
|
type: ContentType.Json,
|
|
248
262
|
...params,
|
|
249
263
|
}),
|
|
264
|
+
/**
|
|
265
|
+
* No description
|
|
266
|
+
*
|
|
267
|
+
* @tags users
|
|
268
|
+
* @name UsersControllerGetProfile
|
|
269
|
+
* @summary Get current user profile
|
|
270
|
+
* @request GET:/api/users/profile
|
|
271
|
+
* @secure
|
|
272
|
+
* @response `200` `UsersControllerGetProfileData`
|
|
273
|
+
*/
|
|
274
|
+
usersControllerGetProfile: (params = {}) => this.http.request({
|
|
275
|
+
path: `/api/users/profile`,
|
|
276
|
+
method: "GET",
|
|
277
|
+
secure: true,
|
|
278
|
+
...params,
|
|
279
|
+
}),
|
|
280
|
+
/**
|
|
281
|
+
* No description
|
|
282
|
+
*
|
|
283
|
+
* @tags users
|
|
284
|
+
* @name UsersControllerUpdateProfile
|
|
285
|
+
* @summary Update current user profile
|
|
286
|
+
* @request PATCH:/api/users/profile
|
|
287
|
+
* @secure
|
|
288
|
+
* @response `200` `UsersControllerUpdateProfileData`
|
|
289
|
+
*/
|
|
290
|
+
usersControllerUpdateProfile: (data, params = {}) => this.http.request({
|
|
291
|
+
path: `/api/users/profile`,
|
|
292
|
+
method: "PATCH",
|
|
293
|
+
body: data,
|
|
294
|
+
secure: true,
|
|
295
|
+
type: ContentType.Json,
|
|
296
|
+
...params,
|
|
297
|
+
}),
|
|
250
298
|
/**
|
|
251
299
|
* No description
|
|
252
300
|
*
|
|
@@ -288,85 +336,85 @@ class Api {
|
|
|
288
336
|
* No description
|
|
289
337
|
*
|
|
290
338
|
* @tags users
|
|
291
|
-
* @name
|
|
292
|
-
* @summary
|
|
293
|
-
* @request
|
|
294
|
-
* @deprecated
|
|
339
|
+
* @name UsersControllerResendInvitation
|
|
340
|
+
* @summary Resend invitation to pending user
|
|
341
|
+
* @request POST:/api/users/{id}/resend-invitation
|
|
295
342
|
* @secure
|
|
296
|
-
* @response `200` `
|
|
343
|
+
* @response `200` `UsersControllerResendInvitationData` Invitation resent successfully
|
|
344
|
+
* @response `403` `void` Insufficient permissions
|
|
297
345
|
*/
|
|
298
|
-
|
|
299
|
-
path: `/api/users/${id}/
|
|
300
|
-
method: "
|
|
346
|
+
usersControllerResendInvitation: (id, params = {}) => this.http.request({
|
|
347
|
+
path: `/api/users/${id}/resend-invitation`,
|
|
348
|
+
method: "POST",
|
|
301
349
|
secure: true,
|
|
302
350
|
...params,
|
|
303
351
|
}),
|
|
304
352
|
/**
|
|
305
353
|
* No description
|
|
306
354
|
*
|
|
307
|
-
* @tags
|
|
308
|
-
* @name
|
|
309
|
-
* @summary
|
|
310
|
-
* @request
|
|
311
|
-
* @deprecated
|
|
355
|
+
* @tags activity-logs
|
|
356
|
+
* @name ActivityLogControllerGetOrganizationActivities
|
|
357
|
+
* @summary Get organization activities
|
|
358
|
+
* @request GET:/api/activity-logs
|
|
312
359
|
* @secure
|
|
313
|
-
* @response `200` `
|
|
360
|
+
* @response `200` `ActivityLogControllerGetOrganizationActivitiesData` Returns activity logs with pagination
|
|
314
361
|
*/
|
|
315
|
-
|
|
316
|
-
path: `/api/
|
|
317
|
-
method: "
|
|
362
|
+
activityLogControllerGetOrganizationActivities: (query, params = {}) => this.http.request({
|
|
363
|
+
path: `/api/activity-logs`,
|
|
364
|
+
method: "GET",
|
|
365
|
+
query: query,
|
|
318
366
|
secure: true,
|
|
319
367
|
...params,
|
|
320
368
|
}),
|
|
321
369
|
/**
|
|
322
370
|
* No description
|
|
323
371
|
*
|
|
324
|
-
* @tags
|
|
325
|
-
* @name
|
|
326
|
-
* @summary
|
|
327
|
-
* @request
|
|
372
|
+
* @tags activity-logs
|
|
373
|
+
* @name ActivityLogControllerGetProjectActivities
|
|
374
|
+
* @summary Get activities for a specific project
|
|
375
|
+
* @request GET:/api/activity-logs/project/{projectId}
|
|
328
376
|
* @secure
|
|
329
|
-
* @response `200` `
|
|
330
|
-
* @response `403` `void` Insufficient permissions
|
|
377
|
+
* @response `200` `ActivityLogControllerGetProjectActivitiesData` Returns project activity logs
|
|
331
378
|
*/
|
|
332
|
-
|
|
333
|
-
path: `/api/
|
|
334
|
-
method: "
|
|
379
|
+
activityLogControllerGetProjectActivities: ({ projectId, ...query }, params = {}) => this.http.request({
|
|
380
|
+
path: `/api/activity-logs/project/${projectId}`,
|
|
381
|
+
method: "GET",
|
|
382
|
+
query: query,
|
|
335
383
|
secure: true,
|
|
336
384
|
...params,
|
|
337
385
|
}),
|
|
338
386
|
/**
|
|
339
387
|
* No description
|
|
340
388
|
*
|
|
341
|
-
* @tags
|
|
342
|
-
* @name
|
|
343
|
-
* @summary Get
|
|
344
|
-
* @request GET:/api/
|
|
389
|
+
* @tags activity-logs
|
|
390
|
+
* @name ActivityLogControllerGetFeatureFlagActivities
|
|
391
|
+
* @summary Get activities for a specific feature flag
|
|
392
|
+
* @request GET:/api/activity-logs/feature-flag/{flagId}
|
|
345
393
|
* @secure
|
|
346
|
-
* @response `200` `
|
|
394
|
+
* @response `200` `ActivityLogControllerGetFeatureFlagActivitiesData` Returns feature flag activity history
|
|
347
395
|
*/
|
|
348
|
-
|
|
349
|
-
path: `/api/
|
|
396
|
+
activityLogControllerGetFeatureFlagActivities: ({ flagId, ...query }, params = {}) => this.http.request({
|
|
397
|
+
path: `/api/activity-logs/feature-flag/${flagId}`,
|
|
350
398
|
method: "GET",
|
|
399
|
+
query: query,
|
|
351
400
|
secure: true,
|
|
352
401
|
...params,
|
|
353
402
|
}),
|
|
354
403
|
/**
|
|
355
404
|
* No description
|
|
356
405
|
*
|
|
357
|
-
* @tags
|
|
358
|
-
* @name
|
|
359
|
-
* @summary
|
|
360
|
-
* @request
|
|
406
|
+
* @tags activity-logs
|
|
407
|
+
* @name ActivityLogControllerGetEntityActivities
|
|
408
|
+
* @summary Get activities for a specific entity
|
|
409
|
+
* @request GET:/api/activity-logs/entity/{entityType}/{entityId}
|
|
361
410
|
* @secure
|
|
362
|
-
* @response `200` `
|
|
411
|
+
* @response `200` `ActivityLogControllerGetEntityActivitiesData` Returns entity activity history
|
|
363
412
|
*/
|
|
364
|
-
|
|
365
|
-
path: `/api/
|
|
366
|
-
method: "
|
|
367
|
-
|
|
413
|
+
activityLogControllerGetEntityActivities: ({ entityType, entityId, ...query }, params = {}) => this.http.request({
|
|
414
|
+
path: `/api/activity-logs/entity/${entityType}/${entityId}`,
|
|
415
|
+
method: "GET",
|
|
416
|
+
query: query,
|
|
368
417
|
secure: true,
|
|
369
|
-
type: ContentType.Json,
|
|
370
418
|
...params,
|
|
371
419
|
}),
|
|
372
420
|
/**
|
|
@@ -594,13 +642,13 @@ class Api {
|
|
|
594
642
|
/**
|
|
595
643
|
* No description
|
|
596
644
|
*
|
|
597
|
-
* @tags feature-flags
|
|
598
|
-
* @name
|
|
645
|
+
* @tags feature-flags-sdk
|
|
646
|
+
* @name FeatureFlagSdkControllerFindAllSdk
|
|
599
647
|
* @summary Get all feature flags for SDK
|
|
600
648
|
* @request GET:/api/feature-flags/sdk
|
|
601
|
-
* @response `200` `
|
|
649
|
+
* @response `200` `FeatureFlagSdkControllerFindAllSdkData` Returns all feature flags
|
|
602
650
|
*/
|
|
603
|
-
|
|
651
|
+
featureFlagSdkControllerFindAllSdk: (query, params = {}) => this.http.request({
|
|
604
652
|
path: `/api/feature-flags/sdk`,
|
|
605
653
|
method: "GET",
|
|
606
654
|
query: query,
|