@rustrak/client 0.23.0 → 0.25.0
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 +29 -13
- package/dist/generated/sdk.gen.cjs +285 -22
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +24 -1
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +24 -1
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +284 -24
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +310 -26
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +310 -26
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +313 -71
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +273 -69
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export type AcceptInvitationResponse = {
|
|
|
9
9
|
signed_in: boolean;
|
|
10
10
|
user: UserResponse;
|
|
11
11
|
};
|
|
12
|
+
export type Action = 'read' | 'create' | 'update' | 'delete';
|
|
12
13
|
export type ActivityEntry = {
|
|
13
14
|
created_at: string;
|
|
14
15
|
data: string;
|
|
@@ -142,6 +143,10 @@ export type AssembleResponse = {
|
|
|
142
143
|
missingChunks: Array<string>;
|
|
143
144
|
state: string;
|
|
144
145
|
};
|
|
146
|
+
export type AssignmentInput = {
|
|
147
|
+
project_id?: number | null;
|
|
148
|
+
role_id: number;
|
|
149
|
+
};
|
|
145
150
|
export type AttachmentBytes = unknown;
|
|
146
151
|
export type AttachmentInfo = {
|
|
147
152
|
content_type: string;
|
|
@@ -157,15 +162,22 @@ export type AuthResponse = {
|
|
|
157
162
|
export type AuthTokenCreatedResponse = {
|
|
158
163
|
created_at: string;
|
|
159
164
|
description: string | null;
|
|
165
|
+
expires_at: string | null;
|
|
160
166
|
id: number;
|
|
167
|
+
permissions: Array<Permission> | null;
|
|
168
|
+
project_ids: Array<number> | null;
|
|
161
169
|
token: string;
|
|
162
170
|
};
|
|
163
171
|
export type AuthTokenResponse = {
|
|
164
172
|
created_at: string;
|
|
165
173
|
description: string | null;
|
|
174
|
+
expires_at: string | null;
|
|
166
175
|
id: number;
|
|
167
176
|
last_used_at: string | null;
|
|
177
|
+
permissions: Array<Permission> | null;
|
|
178
|
+
project_ids: Array<number> | null;
|
|
168
179
|
token_prefix: string;
|
|
180
|
+
user_id: number | null;
|
|
169
181
|
};
|
|
170
182
|
export type AuthorizationDecision = AuthorizationRequest & {
|
|
171
183
|
approve: boolean;
|
|
@@ -206,6 +218,15 @@ export type BulkUpdateIssues = {
|
|
|
206
218
|
export type BulkUpdateResponse = {
|
|
207
219
|
updated: number;
|
|
208
220
|
};
|
|
221
|
+
export type Catalog = {
|
|
222
|
+
resources: Array<CatalogResource>;
|
|
223
|
+
};
|
|
224
|
+
export type CatalogResource = {
|
|
225
|
+
actions: Array<Action>;
|
|
226
|
+
key: string;
|
|
227
|
+
module: string;
|
|
228
|
+
scope: Scope;
|
|
229
|
+
};
|
|
209
230
|
export type ChangePasswordRequest = {
|
|
210
231
|
current_password: string;
|
|
211
232
|
new_password: string;
|
|
@@ -313,6 +334,9 @@ export type CreateAlertRule = {
|
|
|
313
334
|
};
|
|
314
335
|
export type CreateAuthToken = {
|
|
315
336
|
description?: string | null;
|
|
337
|
+
expires_at?: string | null;
|
|
338
|
+
permissions?: Array<Permission> | null;
|
|
339
|
+
project_ids?: Array<number> | null;
|
|
316
340
|
};
|
|
317
341
|
export type CreateGitHubIssue = {
|
|
318
342
|
assignee?: string | null;
|
|
@@ -322,7 +346,10 @@ export type CreateGitHubIssue = {
|
|
|
322
346
|
};
|
|
323
347
|
export type CreateInvitation = {
|
|
324
348
|
email: string;
|
|
349
|
+
project_id?: number | null;
|
|
325
350
|
role: UserRole;
|
|
351
|
+
role_id?: number | null;
|
|
352
|
+
send_email?: boolean;
|
|
326
353
|
};
|
|
327
354
|
export type CreateMonitor = {
|
|
328
355
|
config: MonitorConfigInput;
|
|
@@ -367,6 +394,9 @@ export type DifAssembleFile = {
|
|
|
367
394
|
export type DifUploadBody = {
|
|
368
395
|
[key: string]: unknown;
|
|
369
396
|
};
|
|
397
|
+
export type EmailStatusResponse = {
|
|
398
|
+
available: boolean;
|
|
399
|
+
};
|
|
370
400
|
export type ErrorDetail = {
|
|
371
401
|
fields?: Array<FieldError>;
|
|
372
402
|
incident_id?: string;
|
|
@@ -493,10 +523,14 @@ export type InvitationInfoResponse = {
|
|
|
493
523
|
export type InvitationResponse = {
|
|
494
524
|
created_at: string;
|
|
495
525
|
email: string;
|
|
526
|
+
email_sent_at: string | null;
|
|
496
527
|
expires_at: string;
|
|
528
|
+
id: string;
|
|
529
|
+
project_id: number | null;
|
|
497
530
|
role: UserRole;
|
|
531
|
+
role_id: number | null;
|
|
498
532
|
status: string;
|
|
499
|
-
token: string;
|
|
533
|
+
token: string | null;
|
|
500
534
|
};
|
|
501
535
|
export type IssueAggregates = {
|
|
502
536
|
tags: Array<TagSummary>;
|
|
@@ -628,6 +662,19 @@ export type McpStatus = {
|
|
|
628
662
|
enabled: boolean;
|
|
629
663
|
url: string | null;
|
|
630
664
|
};
|
|
665
|
+
export type MemberCandidate = {
|
|
666
|
+
email: string;
|
|
667
|
+
id: number;
|
|
668
|
+
};
|
|
669
|
+
export type MemberCandidates = {
|
|
670
|
+
roles: Array<RoleRef>;
|
|
671
|
+
users: Array<MemberCandidate>;
|
|
672
|
+
};
|
|
673
|
+
export type MemberRole = {
|
|
674
|
+
id: number;
|
|
675
|
+
inherited: boolean;
|
|
676
|
+
name: string;
|
|
677
|
+
};
|
|
631
678
|
export type MetricDelta = {
|
|
632
679
|
current: number;
|
|
633
680
|
previous: number | null;
|
|
@@ -683,6 +730,12 @@ export type MonitorStatsBucket = {
|
|
|
683
730
|
ok: number;
|
|
684
731
|
timeout: number;
|
|
685
732
|
};
|
|
733
|
+
export type MyAccess = {
|
|
734
|
+
all_projects: Array<Permission>;
|
|
735
|
+
instance: Array<Permission>;
|
|
736
|
+
is_owner: boolean;
|
|
737
|
+
projects: Array<ProjectPermissions>;
|
|
738
|
+
};
|
|
686
739
|
export type OAuthGrant = {
|
|
687
740
|
client_id: string;
|
|
688
741
|
client_name: string;
|
|
@@ -695,6 +748,14 @@ export type OrgDetails = {
|
|
|
695
748
|
name: string;
|
|
696
749
|
slug: string;
|
|
697
750
|
};
|
|
751
|
+
export type Permission = {
|
|
752
|
+
action: Action;
|
|
753
|
+
resource: Resource;
|
|
754
|
+
};
|
|
755
|
+
export type PersonalAccess = {
|
|
756
|
+
permissions: Array<Permission>;
|
|
757
|
+
project_ids?: Array<number> | null;
|
|
758
|
+
};
|
|
698
759
|
export type PreviewSchedule = {
|
|
699
760
|
schedule: Schedule;
|
|
700
761
|
timezone?: string | null;
|
|
@@ -722,18 +783,14 @@ export type ProjectListStats = {
|
|
|
722
783
|
trend: Array<number>;
|
|
723
784
|
};
|
|
724
785
|
export type ProjectMember = {
|
|
725
|
-
created_at: string;
|
|
726
|
-
id: number;
|
|
727
|
-
project_id: number;
|
|
728
|
-
role: ProjectRole;
|
|
729
|
-
user_id: number;
|
|
730
|
-
};
|
|
731
|
-
export type ProjectMemberResponse = {
|
|
732
|
-
created_at: string;
|
|
733
786
|
email: string;
|
|
734
|
-
|
|
787
|
+
roles: Array<MemberRole>;
|
|
735
788
|
user_id: number;
|
|
736
789
|
};
|
|
790
|
+
export type ProjectPermissions = {
|
|
791
|
+
permissions: Array<Permission>;
|
|
792
|
+
project_id: number;
|
|
793
|
+
};
|
|
737
794
|
export type ProjectRepository = {
|
|
738
795
|
auto_create_conditions: {
|
|
739
796
|
[key: string]: unknown;
|
|
@@ -753,7 +810,7 @@ export type ProjectResponse = {
|
|
|
753
810
|
created_at: string;
|
|
754
811
|
digested_event_count: number;
|
|
755
812
|
disabled_products: Array<Product>;
|
|
756
|
-
dsn: string;
|
|
813
|
+
dsn: string | null;
|
|
757
814
|
id: number;
|
|
758
815
|
name: string;
|
|
759
816
|
platform: string | null;
|
|
@@ -761,7 +818,7 @@ export type ProjectResponse = {
|
|
|
761
818
|
rate_limit_per_hour: number | null;
|
|
762
819
|
rate_limit_per_minute: number | null;
|
|
763
820
|
rate_limited_event_count: number;
|
|
764
|
-
sentry_key: string;
|
|
821
|
+
sentry_key: string | null;
|
|
765
822
|
slug: string;
|
|
766
823
|
stats?: ProjectListStats | null;
|
|
767
824
|
stored_event_count: number;
|
|
@@ -773,7 +830,6 @@ export type ProjectRetention = {
|
|
|
773
830
|
project_id: number;
|
|
774
831
|
transactions_days: number | null;
|
|
775
832
|
};
|
|
776
|
-
export type ProjectRole = 'viewer' | 'editor' | 'admin';
|
|
777
833
|
export type ProjectStatsSummary = {
|
|
778
834
|
events: MetricDelta;
|
|
779
835
|
new_issues: MetricDelta;
|
|
@@ -849,6 +905,7 @@ export type RepoCommit = {
|
|
|
849
905
|
sha: string;
|
|
850
906
|
url: string;
|
|
851
907
|
};
|
|
908
|
+
export type Resource = 'projects' | 'users' | 'invitations' | 'roles' | 'api-tokens' | 'integrations' | 'github-app' | 'storage' | 'mcp' | 'telemetry' | 'issues' | 'performance' | 'logs' | 'sessions' | 'releases' | 'source-maps' | 'alert-rules' | 'monitors' | 'project' | 'client-keys' | 'project-members' | 'project-github';
|
|
852
909
|
export type RetentionResponse = {
|
|
853
910
|
last_run: RetentionRun | null;
|
|
854
911
|
next_run_at: string | null;
|
|
@@ -873,6 +930,32 @@ export type RetentionWindows = {
|
|
|
873
930
|
logs_days: number | null;
|
|
874
931
|
transactions_days: number | null;
|
|
875
932
|
};
|
|
933
|
+
export type Role = {
|
|
934
|
+
assignment_count: number;
|
|
935
|
+
created_at: string;
|
|
936
|
+
description: string;
|
|
937
|
+
id: number;
|
|
938
|
+
name: string;
|
|
939
|
+
permissions: Array<Permission>;
|
|
940
|
+
};
|
|
941
|
+
export type RoleAssignment = {
|
|
942
|
+
created_at: string;
|
|
943
|
+
id: number;
|
|
944
|
+
is_personal: boolean;
|
|
945
|
+
project_id: number | null;
|
|
946
|
+
role_id: number;
|
|
947
|
+
role_name: string;
|
|
948
|
+
user_id: number;
|
|
949
|
+
};
|
|
950
|
+
export type RoleInput = {
|
|
951
|
+
description?: string;
|
|
952
|
+
name: string;
|
|
953
|
+
permissions: Array<Permission>;
|
|
954
|
+
};
|
|
955
|
+
export type RoleRef = {
|
|
956
|
+
id: number;
|
|
957
|
+
name: string;
|
|
958
|
+
};
|
|
876
959
|
export type Schedule = {
|
|
877
960
|
type: 'crontab';
|
|
878
961
|
value: string;
|
|
@@ -884,6 +967,7 @@ export type Schedule = {
|
|
|
884
967
|
export type SchedulePreview = {
|
|
885
968
|
next_runs: Array<string>;
|
|
886
969
|
};
|
|
970
|
+
export type Scope = 'instance' | 'project';
|
|
887
971
|
export type SeenResponse = {
|
|
888
972
|
has_seen: boolean;
|
|
889
973
|
};
|
|
@@ -1006,6 +1090,14 @@ export type SessionTimeseriesPoint = {
|
|
|
1006
1090
|
crashed: number;
|
|
1007
1091
|
total: number;
|
|
1008
1092
|
};
|
|
1093
|
+
export type SetAccess = {
|
|
1094
|
+
assignments: Array<AssignmentInput>;
|
|
1095
|
+
personal?: PersonalAccess | null;
|
|
1096
|
+
};
|
|
1097
|
+
export type SetProjectMember = {
|
|
1098
|
+
role_ids: Array<number>;
|
|
1099
|
+
user_id: number;
|
|
1100
|
+
};
|
|
1009
1101
|
export type SortOrder = 'asc' | 'desc';
|
|
1010
1102
|
export type SourceMapFile = {
|
|
1011
1103
|
dateUploaded: string;
|
|
@@ -1239,9 +1331,9 @@ export type UpdateRelease = {
|
|
|
1239
1331
|
export type UpdateUserRole = {
|
|
1240
1332
|
role: UserRole;
|
|
1241
1333
|
};
|
|
1242
|
-
export type
|
|
1243
|
-
|
|
1244
|
-
|
|
1334
|
+
export type UserAccess = {
|
|
1335
|
+
assignments: Array<RoleAssignment>;
|
|
1336
|
+
personal_permissions: Array<Permission>;
|
|
1245
1337
|
};
|
|
1246
1338
|
export type UserReport = {
|
|
1247
1339
|
comments: string;
|
|
@@ -1395,6 +1487,7 @@ export type SourceMapsChunkUploadData = {
|
|
|
1395
1487
|
export type SourceMapsChunkUploadErrors = {
|
|
1396
1488
|
400: ErrorResponse;
|
|
1397
1489
|
401: ErrorResponse;
|
|
1490
|
+
403: ErrorResponse;
|
|
1398
1491
|
};
|
|
1399
1492
|
export type SourceMapsChunkUploadError = SourceMapsChunkUploadErrors[keyof SourceMapsChunkUploadErrors];
|
|
1400
1493
|
export type SourceMapsChunkUploadResponses = {
|
|
@@ -1581,6 +1674,34 @@ export type SentrySubmitUserFeedbackResponses = {
|
|
|
1581
1674
|
200: SentryUserReport;
|
|
1582
1675
|
};
|
|
1583
1676
|
export type SentrySubmitUserFeedbackResponse = SentrySubmitUserFeedbackResponses[keyof SentrySubmitUserFeedbackResponses];
|
|
1677
|
+
export type AccessCatalogData = {
|
|
1678
|
+
body?: never;
|
|
1679
|
+
path?: never;
|
|
1680
|
+
query?: never;
|
|
1681
|
+
url: '/api/access/catalog';
|
|
1682
|
+
};
|
|
1683
|
+
export type AccessCatalogErrors = {
|
|
1684
|
+
401: ErrorResponse;
|
|
1685
|
+
};
|
|
1686
|
+
export type AccessCatalogError = AccessCatalogErrors[keyof AccessCatalogErrors];
|
|
1687
|
+
export type AccessCatalogResponses = {
|
|
1688
|
+
200: Catalog;
|
|
1689
|
+
};
|
|
1690
|
+
export type AccessCatalogResponse = AccessCatalogResponses[keyof AccessCatalogResponses];
|
|
1691
|
+
export type AccessMeData = {
|
|
1692
|
+
body?: never;
|
|
1693
|
+
path?: never;
|
|
1694
|
+
query?: never;
|
|
1695
|
+
url: '/api/access/me';
|
|
1696
|
+
};
|
|
1697
|
+
export type AccessMeErrors = {
|
|
1698
|
+
401: ErrorResponse;
|
|
1699
|
+
};
|
|
1700
|
+
export type AccessMeError = AccessMeErrors[keyof AccessMeErrors];
|
|
1701
|
+
export type AccessMeResponses = {
|
|
1702
|
+
200: MyAccess;
|
|
1703
|
+
};
|
|
1704
|
+
export type AccessMeResponse = AccessMeResponses[keyof AccessMeResponses];
|
|
1584
1705
|
export type GithubDisconnectData = {
|
|
1585
1706
|
body?: never;
|
|
1586
1707
|
path?: never;
|
|
@@ -1746,6 +1867,7 @@ export type AlertChannelsListData = {
|
|
|
1746
1867
|
};
|
|
1747
1868
|
export type AlertChannelsListErrors = {
|
|
1748
1869
|
401: ErrorResponse;
|
|
1870
|
+
403: ErrorResponse;
|
|
1749
1871
|
};
|
|
1750
1872
|
export type AlertChannelsListError = AlertChannelsListErrors[keyof AlertChannelsListErrors];
|
|
1751
1873
|
export type AlertChannelsListResponses = {
|
|
@@ -1880,13 +2002,29 @@ export type InvitationsCreateResponses = {
|
|
|
1880
2002
|
201: InvitationResponse;
|
|
1881
2003
|
};
|
|
1882
2004
|
export type InvitationsCreateResponse = InvitationsCreateResponses[keyof InvitationsCreateResponses];
|
|
2005
|
+
export type InvitationsEmailStatusData = {
|
|
2006
|
+
body?: never;
|
|
2007
|
+
path?: never;
|
|
2008
|
+
query?: never;
|
|
2009
|
+
url: '/api/invitations/email-status';
|
|
2010
|
+
};
|
|
2011
|
+
export type InvitationsEmailStatusErrors = {
|
|
2012
|
+
401: ErrorResponse;
|
|
2013
|
+
403: ErrorResponse;
|
|
2014
|
+
500: ErrorResponse;
|
|
2015
|
+
};
|
|
2016
|
+
export type InvitationsEmailStatusError = InvitationsEmailStatusErrors[keyof InvitationsEmailStatusErrors];
|
|
2017
|
+
export type InvitationsEmailStatusResponses = {
|
|
2018
|
+
200: EmailStatusResponse;
|
|
2019
|
+
};
|
|
2020
|
+
export type InvitationsEmailStatusResponse = InvitationsEmailStatusResponses[keyof InvitationsEmailStatusResponses];
|
|
1883
2021
|
export type InvitationsRevokeData = {
|
|
1884
2022
|
body?: never;
|
|
1885
2023
|
path: {
|
|
1886
|
-
|
|
2024
|
+
id: string;
|
|
1887
2025
|
};
|
|
1888
2026
|
query?: never;
|
|
1889
|
-
url: '/api/invitations/{
|
|
2027
|
+
url: '/api/invitations/{id}';
|
|
1890
2028
|
};
|
|
1891
2029
|
export type InvitationsRevokeErrors = {
|
|
1892
2030
|
401: ErrorResponse;
|
|
@@ -1898,6 +2036,26 @@ export type InvitationsRevokeResponses = {
|
|
|
1898
2036
|
204: void;
|
|
1899
2037
|
};
|
|
1900
2038
|
export type InvitationsRevokeResponse = InvitationsRevokeResponses[keyof InvitationsRevokeResponses];
|
|
2039
|
+
export type InvitationsResendData = {
|
|
2040
|
+
body?: never;
|
|
2041
|
+
path: {
|
|
2042
|
+
id: string;
|
|
2043
|
+
};
|
|
2044
|
+
query?: never;
|
|
2045
|
+
url: '/api/invitations/{id}/resend';
|
|
2046
|
+
};
|
|
2047
|
+
export type InvitationsResendErrors = {
|
|
2048
|
+
400: ErrorResponse;
|
|
2049
|
+
401: ErrorResponse;
|
|
2050
|
+
403: ErrorResponse;
|
|
2051
|
+
404: ErrorResponse;
|
|
2052
|
+
500: ErrorResponse;
|
|
2053
|
+
};
|
|
2054
|
+
export type InvitationsResendError = InvitationsResendErrors[keyof InvitationsResendErrors];
|
|
2055
|
+
export type InvitationsResendResponses = {
|
|
2056
|
+
200: InvitationResponse;
|
|
2057
|
+
};
|
|
2058
|
+
export type InvitationsResendResponse = InvitationsResendResponses[keyof InvitationsResendResponses];
|
|
1901
2059
|
export type OauthGetAuthorizationData = {
|
|
1902
2060
|
body?: never;
|
|
1903
2061
|
path?: never;
|
|
@@ -1988,7 +2146,7 @@ export type ProjectsListResponses = {
|
|
|
1988
2146
|
created_at: string;
|
|
1989
2147
|
digested_event_count: number;
|
|
1990
2148
|
disabled_products: Array<Product>;
|
|
1991
|
-
dsn: string;
|
|
2149
|
+
dsn: string | null;
|
|
1992
2150
|
id: number;
|
|
1993
2151
|
name: string;
|
|
1994
2152
|
platform: string | null;
|
|
@@ -1996,7 +2154,7 @@ export type ProjectsListResponses = {
|
|
|
1996
2154
|
rate_limit_per_hour: number | null;
|
|
1997
2155
|
rate_limit_per_minute: number | null;
|
|
1998
2156
|
rate_limited_event_count: number;
|
|
1999
|
-
sentry_key: string;
|
|
2157
|
+
sentry_key: string | null;
|
|
2000
2158
|
slug: string;
|
|
2001
2159
|
stats?: ProjectListStats | null;
|
|
2002
2160
|
stored_event_count: number;
|
|
@@ -2017,6 +2175,7 @@ export type ProjectsCreateData = {
|
|
|
2017
2175
|
};
|
|
2018
2176
|
export type ProjectsCreateErrors = {
|
|
2019
2177
|
401: ErrorResponse;
|
|
2178
|
+
403: ErrorResponse;
|
|
2020
2179
|
409: ErrorResponse;
|
|
2021
2180
|
};
|
|
2022
2181
|
export type ProjectsCreateError = ProjectsCreateErrors[keyof ProjectsCreateErrors];
|
|
@@ -3308,11 +3467,11 @@ export type MembersListErrors = {
|
|
|
3308
3467
|
};
|
|
3309
3468
|
export type MembersListError = MembersListErrors[keyof MembersListErrors];
|
|
3310
3469
|
export type MembersListResponses = {
|
|
3311
|
-
200: Array<
|
|
3470
|
+
200: Array<ProjectMember>;
|
|
3312
3471
|
};
|
|
3313
3472
|
export type MembersListResponse = MembersListResponses[keyof MembersListResponses];
|
|
3314
3473
|
export type MembersUpsertData = {
|
|
3315
|
-
body:
|
|
3474
|
+
body: SetProjectMember;
|
|
3316
3475
|
path: {
|
|
3317
3476
|
project_id: number;
|
|
3318
3477
|
};
|
|
@@ -3324,13 +3483,30 @@ export type MembersUpsertErrors = {
|
|
|
3324
3483
|
401: ErrorResponse;
|
|
3325
3484
|
403: ErrorResponse;
|
|
3326
3485
|
404: ErrorResponse;
|
|
3327
|
-
409: ErrorResponse;
|
|
3328
3486
|
};
|
|
3329
3487
|
export type MembersUpsertError = MembersUpsertErrors[keyof MembersUpsertErrors];
|
|
3330
3488
|
export type MembersUpsertResponses = {
|
|
3331
|
-
200: ProjectMember
|
|
3489
|
+
200: Array<ProjectMember>;
|
|
3332
3490
|
};
|
|
3333
3491
|
export type MembersUpsertResponse = MembersUpsertResponses[keyof MembersUpsertResponses];
|
|
3492
|
+
export type MembersCandidatesData = {
|
|
3493
|
+
body?: never;
|
|
3494
|
+
path: {
|
|
3495
|
+
project_id: number;
|
|
3496
|
+
};
|
|
3497
|
+
query?: never;
|
|
3498
|
+
url: '/api/projects/{project_id}/members/candidates';
|
|
3499
|
+
};
|
|
3500
|
+
export type MembersCandidatesErrors = {
|
|
3501
|
+
401: ErrorResponse;
|
|
3502
|
+
403: ErrorResponse;
|
|
3503
|
+
404: ErrorResponse;
|
|
3504
|
+
};
|
|
3505
|
+
export type MembersCandidatesError = MembersCandidatesErrors[keyof MembersCandidatesErrors];
|
|
3506
|
+
export type MembersCandidatesResponses = {
|
|
3507
|
+
200: MemberCandidates;
|
|
3508
|
+
};
|
|
3509
|
+
export type MembersCandidatesResponse = MembersCandidatesResponses[keyof MembersCandidatesResponses];
|
|
3334
3510
|
export type MembersRemoveData = {
|
|
3335
3511
|
body?: never;
|
|
3336
3512
|
path: {
|
|
@@ -3344,7 +3520,6 @@ export type MembersRemoveErrors = {
|
|
|
3344
3520
|
401: ErrorResponse;
|
|
3345
3521
|
403: ErrorResponse;
|
|
3346
3522
|
404: ErrorResponse;
|
|
3347
|
-
409: ErrorResponse;
|
|
3348
3523
|
};
|
|
3349
3524
|
export type MembersRemoveError = MembersRemoveErrors[keyof MembersRemoveErrors];
|
|
3350
3525
|
export type MembersRemoveResponses = {
|
|
@@ -3963,6 +4138,77 @@ export type ProjectsGetRateLimitsResponses = {
|
|
|
3963
4138
|
200: RateLimitsResponse;
|
|
3964
4139
|
};
|
|
3965
4140
|
export type ProjectsGetRateLimitsResponse = ProjectsGetRateLimitsResponses[keyof ProjectsGetRateLimitsResponses];
|
|
4141
|
+
export type RolesListData = {
|
|
4142
|
+
body?: never;
|
|
4143
|
+
path?: never;
|
|
4144
|
+
query?: never;
|
|
4145
|
+
url: '/api/roles';
|
|
4146
|
+
};
|
|
4147
|
+
export type RolesListErrors = {
|
|
4148
|
+
401: ErrorResponse;
|
|
4149
|
+
403: ErrorResponse;
|
|
4150
|
+
};
|
|
4151
|
+
export type RolesListError = RolesListErrors[keyof RolesListErrors];
|
|
4152
|
+
export type RolesListResponses = {
|
|
4153
|
+
200: Array<Role>;
|
|
4154
|
+
};
|
|
4155
|
+
export type RolesListResponse = RolesListResponses[keyof RolesListResponses];
|
|
4156
|
+
export type RolesCreateData = {
|
|
4157
|
+
body: RoleInput;
|
|
4158
|
+
path?: never;
|
|
4159
|
+
query?: never;
|
|
4160
|
+
url: '/api/roles';
|
|
4161
|
+
};
|
|
4162
|
+
export type RolesCreateErrors = {
|
|
4163
|
+
400: ErrorResponse;
|
|
4164
|
+
401: ErrorResponse;
|
|
4165
|
+
403: ErrorResponse;
|
|
4166
|
+
409: ErrorResponse;
|
|
4167
|
+
};
|
|
4168
|
+
export type RolesCreateError = RolesCreateErrors[keyof RolesCreateErrors];
|
|
4169
|
+
export type RolesCreateResponses = {
|
|
4170
|
+
201: Role;
|
|
4171
|
+
};
|
|
4172
|
+
export type RolesCreateResponse = RolesCreateResponses[keyof RolesCreateResponses];
|
|
4173
|
+
export type RolesDeleteData = {
|
|
4174
|
+
body?: never;
|
|
4175
|
+
path: {
|
|
4176
|
+
id: number;
|
|
4177
|
+
};
|
|
4178
|
+
query?: never;
|
|
4179
|
+
url: '/api/roles/{id}';
|
|
4180
|
+
};
|
|
4181
|
+
export type RolesDeleteErrors = {
|
|
4182
|
+
401: ErrorResponse;
|
|
4183
|
+
403: ErrorResponse;
|
|
4184
|
+
404: ErrorResponse;
|
|
4185
|
+
409: ErrorResponse;
|
|
4186
|
+
};
|
|
4187
|
+
export type RolesDeleteError = RolesDeleteErrors[keyof RolesDeleteErrors];
|
|
4188
|
+
export type RolesDeleteResponses = {
|
|
4189
|
+
204: void;
|
|
4190
|
+
};
|
|
4191
|
+
export type RolesDeleteResponse = RolesDeleteResponses[keyof RolesDeleteResponses];
|
|
4192
|
+
export type RolesUpdateData = {
|
|
4193
|
+
body: RoleInput;
|
|
4194
|
+
path: {
|
|
4195
|
+
id: number;
|
|
4196
|
+
};
|
|
4197
|
+
query?: never;
|
|
4198
|
+
url: '/api/roles/{id}';
|
|
4199
|
+
};
|
|
4200
|
+
export type RolesUpdateErrors = {
|
|
4201
|
+
400: ErrorResponse;
|
|
4202
|
+
401: ErrorResponse;
|
|
4203
|
+
403: ErrorResponse;
|
|
4204
|
+
404: ErrorResponse;
|
|
4205
|
+
409: ErrorResponse;
|
|
4206
|
+
};
|
|
4207
|
+
export type RolesUpdateError = RolesUpdateErrors[keyof RolesUpdateErrors];
|
|
4208
|
+
export type RolesUpdateResponses = {
|
|
4209
|
+
200: Role;
|
|
4210
|
+
};
|
|
4211
|
+
export type RolesUpdateResponse = RolesUpdateResponses[keyof RolesUpdateResponses];
|
|
3966
4212
|
export type SchedulesPreviewData = {
|
|
3967
4213
|
body: PreviewSchedule;
|
|
3968
4214
|
path?: never;
|
|
@@ -4302,6 +4548,7 @@ export type TokensListData = {
|
|
|
4302
4548
|
};
|
|
4303
4549
|
export type TokensListErrors = {
|
|
4304
4550
|
401: ErrorResponse;
|
|
4551
|
+
403: ErrorResponse;
|
|
4305
4552
|
};
|
|
4306
4553
|
export type TokensListError = TokensListErrors[keyof TokensListErrors];
|
|
4307
4554
|
export type TokensListResponses = {
|
|
@@ -4316,6 +4563,7 @@ export type TokensCreateData = {
|
|
|
4316
4563
|
};
|
|
4317
4564
|
export type TokensCreateErrors = {
|
|
4318
4565
|
401: ErrorResponse;
|
|
4566
|
+
403: ErrorResponse;
|
|
4319
4567
|
};
|
|
4320
4568
|
export type TokensCreateError = TokensCreateErrors[keyof TokensCreateErrors];
|
|
4321
4569
|
export type TokensCreateResponses = {
|
|
@@ -4355,9 +4603,45 @@ export type TokensGetErrors = {
|
|
|
4355
4603
|
};
|
|
4356
4604
|
export type TokensGetError = TokensGetErrors[keyof TokensGetErrors];
|
|
4357
4605
|
export type TokensGetResponses = {
|
|
4358
|
-
200:
|
|
4606
|
+
200: AuthTokenResponse;
|
|
4359
4607
|
};
|
|
4360
4608
|
export type TokensGetResponse = TokensGetResponses[keyof TokensGetResponses];
|
|
4609
|
+
export type UsersAssignmentsData = {
|
|
4610
|
+
body?: never;
|
|
4611
|
+
path: {
|
|
4612
|
+
id: number;
|
|
4613
|
+
};
|
|
4614
|
+
query?: never;
|
|
4615
|
+
url: '/api/users/{id}/assignments';
|
|
4616
|
+
};
|
|
4617
|
+
export type UsersAssignmentsErrors = {
|
|
4618
|
+
401: ErrorResponse;
|
|
4619
|
+
403: ErrorResponse;
|
|
4620
|
+
};
|
|
4621
|
+
export type UsersAssignmentsError = UsersAssignmentsErrors[keyof UsersAssignmentsErrors];
|
|
4622
|
+
export type UsersAssignmentsResponses = {
|
|
4623
|
+
200: UserAccess;
|
|
4624
|
+
};
|
|
4625
|
+
export type UsersAssignmentsResponse = UsersAssignmentsResponses[keyof UsersAssignmentsResponses];
|
|
4626
|
+
export type UsersSetAssignmentsData = {
|
|
4627
|
+
body: SetAccess;
|
|
4628
|
+
path: {
|
|
4629
|
+
id: number;
|
|
4630
|
+
};
|
|
4631
|
+
query?: never;
|
|
4632
|
+
url: '/api/users/{id}/assignments';
|
|
4633
|
+
};
|
|
4634
|
+
export type UsersSetAssignmentsErrors = {
|
|
4635
|
+
400: ErrorResponse;
|
|
4636
|
+
401: ErrorResponse;
|
|
4637
|
+
403: ErrorResponse;
|
|
4638
|
+
404: ErrorResponse;
|
|
4639
|
+
};
|
|
4640
|
+
export type UsersSetAssignmentsError = UsersSetAssignmentsErrors[keyof UsersSetAssignmentsErrors];
|
|
4641
|
+
export type UsersSetAssignmentsResponses = {
|
|
4642
|
+
200: UserAccess;
|
|
4643
|
+
};
|
|
4644
|
+
export type UsersSetAssignmentsResponse = UsersSetAssignmentsResponses[keyof UsersSetAssignmentsResponses];
|
|
4361
4645
|
export type AuthAcceptInvitationData = {
|
|
4362
4646
|
body: AcceptInvitation;
|
|
4363
4647
|
path?: never;
|